@nocobase/client 2.0.0-alpha.8 → 2.0.0-alpha.9
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/actions/customVariable.d.ts +9 -0
- package/es/flow/actions/index.d.ts +2 -0
- package/es/flow/actions/refreshTargetBlocks.d.ts +9 -0
- package/es/flow/models/blocks/filter-form/FieldModelSelect.d.ts +10 -0
- package/es/flow/models/blocks/filter-form/FilterFormCustomItemModel.d.ts +13 -0
- package/es/flow/models/blocks/filter-form/SourceCascader.d.ts +10 -0
- package/es/flow/models/blocks/filter-form/fields/FieldComponentProps.d.ts +13 -0
- package/es/flow/models/blocks/filter-form/fields/FilterFormCustomFieldModel.d.ts +35 -0
- package/es/flow/models/blocks/filter-form/fields/date-time/DateTimeFilterFieldModel.d.ts +8 -0
- package/es/flow/models/blocks/filter-form/fields/date-time/index.d.ts +1 -0
- package/es/flow/models/blocks/filter-form/fields/index.d.ts +1 -0
- package/es/flow/models/blocks/filter-form/index.d.ts +1 -0
- package/es/index.mjs +1858 -1112
- package/lib/index-C3fHjsMw-BTweCpKS.js +2023 -0
- package/lib/index.js +73 -73
- package/lib/locale/zh-CN.js +27 -1
- package/package.json +6 -6
- package/lib/index-C3fHjsMw-DpvvwPtU.js +0 -2023
|
@@ -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 customVariable: import("@nocobase/flow-engine").ActionDefinition<import("@nocobase/flow-engine").FlowModel<import("@nocobase/flow-engine").DefaultStructure>, import("@nocobase/flow-engine").FlowContext>;
|
|
@@ -10,6 +10,8 @@ export * from './confirm';
|
|
|
10
10
|
export * from './dataScope';
|
|
11
11
|
export * from './openView';
|
|
12
12
|
export * from './runjs';
|
|
13
|
+
export * from './customVariable';
|
|
14
|
+
export * from './refreshTargetBlocks';
|
|
13
15
|
export { titleField } from './titleField';
|
|
14
16
|
export * from './dateTimeFormat';
|
|
15
17
|
export * from './sortingRules';
|
|
@@ -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 refreshTargetBlocks: import("@nocobase/flow-engine").ActionDefinition<import("@nocobase/flow-engine").FlowModel<import("@nocobase/flow-engine").DefaultStructure>, import("@nocobase/flow-engine").FlowContext>;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 function FieldModelSelect(props: any): React.JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
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 { FlowModel, FlowModelContext, ModelRenderMode } from '@nocobase/flow-engine';
|
|
10
|
+
export declare class FilterFormCustomItemModel extends FlowModel {
|
|
11
|
+
static renderMode: ModelRenderMode;
|
|
12
|
+
static defineChildren(ctx: FlowModelContext): any[];
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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 function SourceCascader(props: any): React.JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
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 FieldComponentProps: React.FC<{
|
|
11
|
+
fieldModel: string;
|
|
12
|
+
source: string[];
|
|
13
|
+
}>;
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
import { FilterFormCustomItemModel } from '../FilterFormCustomItemModel';
|
|
11
|
+
export declare class FilterFormCustomFieldModel extends FilterFormCustomItemModel {
|
|
12
|
+
fieldModelInstance: any;
|
|
13
|
+
operator: string;
|
|
14
|
+
private debouncedDoFilter;
|
|
15
|
+
get defaultTargetUid(): string;
|
|
16
|
+
onInit(options: any): void;
|
|
17
|
+
onUnmount(): void;
|
|
18
|
+
doFilter(): void;
|
|
19
|
+
doReset(): void;
|
|
20
|
+
/**
|
|
21
|
+
* 获取用于显示在筛选条件中的字段值
|
|
22
|
+
* @returns
|
|
23
|
+
*/
|
|
24
|
+
getFilterValue(): any;
|
|
25
|
+
/**
|
|
26
|
+
* 处理回车事件
|
|
27
|
+
* 当用户在输入框中按下回车键时触发筛选
|
|
28
|
+
*/
|
|
29
|
+
handleEnterPress: (event: KeyboardEvent) => void;
|
|
30
|
+
getValueProps(value: any): {
|
|
31
|
+
value: any;
|
|
32
|
+
onKeyDown: any;
|
|
33
|
+
};
|
|
34
|
+
render(): React.JSX.Element;
|
|
35
|
+
}
|
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
import React from 'react';
|
|
2
10
|
import { FilterFormFieldModel } from '../FilterFormFieldModel';
|
|
3
11
|
export declare class DateTimeFilterFieldModel extends FilterFormFieldModel {
|
|
@@ -13,6 +13,7 @@ export * from './FilterFormBlockModel';
|
|
|
13
13
|
export * from './FilterFormCollapseActionModel';
|
|
14
14
|
export * from './FilterFormGridModel';
|
|
15
15
|
export * from './FilterFormItemModel';
|
|
16
|
+
export * from './FilterFormCustomItemModel';
|
|
16
17
|
export * from './FilterFormJSActionModel';
|
|
17
18
|
export * from './FilterFormResetActionModel';
|
|
18
19
|
export * from './FilterFormSubmitActionModel';
|