@nocobase/client 2.0.0-alpha.23 → 2.0.0-alpha.25
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/flow/common/Liquid.d.ts +1 -1
- package/es/flow/common/Markdown/Display.d.ts +1 -2
- package/es/flow/components/code-editor/types.d.ts +2 -0
- package/es/flow/models/actions/UpdateRecordActionModel.d.ts +6 -0
- package/es/flow/models/blocks/filter-form/fields/FilterFormCustomFieldModel.d.ts +2 -1
- package/es/index.mjs +583 -495
- package/es/schema-component/antd/upload/shared.d.ts +1 -1
- package/lib/{index-C3fHjsMw-CigSKcgm.js → index-C3fHjsMw-D0PdUBrX.js} +118 -112
- package/lib/index.js +120 -114
- package/package.json +6 -6
|
@@ -6,5 +6,4 @@
|
|
|
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
|
-
|
|
10
|
-
export declare const Display: (props: any) => string | React.JSX.Element;
|
|
9
|
+
export declare const Display: (props: any) => any;
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { ComponentType } from 'react';
|
|
10
10
|
import { SnippetEntry } from './runjsCompletions';
|
|
11
|
+
import { RunLog } from './hooks/useCodeRunner';
|
|
11
12
|
/**
|
|
12
13
|
* Shared types for CodeEditor components
|
|
13
14
|
*/
|
|
@@ -16,6 +17,7 @@ export interface EditorRef {
|
|
|
16
17
|
read(): string;
|
|
17
18
|
buttonGroupHeight?: number;
|
|
18
19
|
snippetEntries: SnippetEntry[];
|
|
20
|
+
logs: RunLog[];
|
|
19
21
|
}
|
|
20
22
|
export type CodeEditorExtra = ComponentType<{
|
|
21
23
|
name?: string;
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
9
|
import { ButtonProps } from 'antd';
|
|
10
|
+
import { AxiosRequestConfig } from 'axios';
|
|
10
11
|
import { ActionModel } from '../base/ActionModel';
|
|
11
12
|
import { AssignFormModel } from '../blocks/assign-form/AssignFormModel';
|
|
12
13
|
export declare class UpdateRecordActionModel extends ActionModel<{
|
|
@@ -18,4 +19,9 @@ export declare class UpdateRecordActionModel extends ActionModel<{
|
|
|
18
19
|
assignFormUid?: string;
|
|
19
20
|
defaultProps: ButtonProps;
|
|
20
21
|
getAclActionName(): string;
|
|
22
|
+
/**
|
|
23
|
+
* 简化设置保存请求配置的方式
|
|
24
|
+
* @param requestConfig
|
|
25
|
+
*/
|
|
26
|
+
setSaveRequestConfig(requestConfig?: AxiosRequestConfig): void;
|
|
21
27
|
}
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
import React from 'react';
|
|
10
10
|
import { FilterFormCustomItemModel } from '../FilterFormCustomItemModel';
|
|
11
11
|
export declare class FilterFormCustomFieldModel extends FilterFormCustomItemModel {
|
|
12
|
-
|
|
12
|
+
customFieldModelInstance: any;
|
|
13
|
+
customFieldProps: any;
|
|
13
14
|
operator: string;
|
|
14
15
|
private debouncedDoFilter;
|
|
15
16
|
get defaultTargetUid(): string;
|