@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.
@@ -17,4 +17,3 @@ export declare const linkageAction: ({ operator, field, condition, variables, lo
17
17
  localVariables: VariableOption[];
18
18
  }) => Promise<any>;
19
19
  export declare const setInitialActionState: (field: any) => void;
20
- export declare const antdDrawerZIndex = 100;
@@ -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: (currentPopupUid: string) => void;
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 = "//img.alicdn.com/tfs/TB10.R4r3mTBuNjy1XbXXaMrVXa-200-200.png";
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;