@nocobase/client 1.3.27-beta → 1.3.29-beta
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/data-source/data-block/DataBlockProvider.d.ts +1 -0
- package/es/index.mjs +2113 -2097
- package/es/schema-component/antd/action/utils.d.ts +0 -1
- package/es/schema-component/antd/action/zIndexContext.d.ts +11 -0
- package/es/schema-component/antd/page/pagePopupUtils.d.ts +1 -1
- package/es/schema-component/antd/upload/placeholder.d.ts +1 -1
- package/es/schema-initializer/utils.d.ts +2 -2
- package/lib/index.js +69 -69
- package/package.json +5 -5
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
import React from 'react';
|
|
10
|
+
export declare const zIndexContext: React.Context<number>;
|
|
11
|
+
export declare const useZIndexContext: () => number;
|
|
@@ -89,7 +89,7 @@ export declare const usePopupUtils: (options?: {
|
|
|
89
89
|
/**
|
|
90
90
|
* used to close popup by changing the url
|
|
91
91
|
*/
|
|
92
|
-
closePopup: (
|
|
92
|
+
closePopup: () => void;
|
|
93
93
|
savePopupSchemaToSchema: (popupSchema: ISchema, targetSchema: ISchema) => void;
|
|
94
94
|
getPopupSchemaFromSchema: (schema: ISchema) => any;
|
|
95
95
|
context: import("./PagePopups").PopupProps;
|
|
@@ -10,4 +10,4 @@ export declare const UPLOAD_PLACEHOLDER: {
|
|
|
10
10
|
ext: RegExp;
|
|
11
11
|
icon: string;
|
|
12
12
|
}[];
|
|
13
|
-
export declare const UNKNOWN_FILE_ICON = "
|
|
13
|
+
export declare const UNKNOWN_FILE_ICON = "/file-placeholder/unknown-200-200.png";
|
|
@@ -99,8 +99,8 @@ export declare const useFilterInheritsFormItemInitializerFields: (options?: any)
|
|
|
99
99
|
[x: string]: SchemaInitializerItemType[];
|
|
100
100
|
}[];
|
|
101
101
|
export declare const useCustomFormItemInitializerFields: (options?: any) => SchemaInitializerItemType[];
|
|
102
|
-
export declare const findSchema: (schema: Schema, key: string, action: string) => any;
|
|
103
|
-
export declare const useCurrentSchema: (action: string, key: string, find?: (schema: Schema, key: string, action: string) => any, rm?: (schema: any, cb: any) => any) => {
|
|
102
|
+
export declare const findSchema: (schema: Schema, key: string, action: string, name?: string) => any;
|
|
103
|
+
export declare const useCurrentSchema: (action: string, key: string, find?: (schema: Schema, key: string, action: string, name?: string) => any, rm?: (schema: any, cb: any) => any, name?: string) => {
|
|
104
104
|
schema: any;
|
|
105
105
|
exists: boolean;
|
|
106
106
|
remove(): void;
|