@nocobase/client 2.0.0-beta.6 → 2.0.0-beta.7
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/index.d.ts +1 -0
- package/es/flow/actions/linkageRulesRefresh.d.ts +9 -0
- package/es/flow/index.d.ts +1 -0
- package/es/flow/models/base/AssociationFieldGroupModel.d.ts +1 -1
- package/es/flow/models/base/GridModel.d.ts +6 -0
- package/es/flow/utils/dispatchEventDeep.d.ts +1 -2
- package/es/index.mjs +1219 -1069
- package/es/user/CurrentUserProvider.d.ts +1 -1
- package/lib/{index-C3fHjsMw-DCR-LeE8.js → index-C3fHjsMw-DskQCehl.js} +158 -158
- package/lib/index.js +17 -17
- package/package.json +6 -6
|
@@ -29,6 +29,7 @@ export * from './aclCheckRefresh';
|
|
|
29
29
|
export * from './pattern';
|
|
30
30
|
export * from './validation';
|
|
31
31
|
export * from './columnFixed';
|
|
32
|
+
export * from './linkageRulesRefresh';
|
|
32
33
|
export { fieldLinkageRules, subFormFieldLinkageRules, detailsFieldLinkageRules, linkageSetDetailsFieldProps, actionLinkageRules, blockLinkageRules, linkageSetBlockProps, linkageSetActionProps, linkageSetFieldProps, subFormLinkageSetFieldProps, linkageAssignField, linkageRunjs, subFormLinkageAssignField, } from './linkageRules';
|
|
33
34
|
export { displayFieldComponent } from './displayFieldComponent';
|
|
34
35
|
export * from './overflowMode';
|
|
@@ -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 linkageRulesRefresh: import("@nocobase/flow-engine").ActionDefinition<import("@nocobase/flow-engine").FlowModel<import("@nocobase/flow-engine").DefaultStructure>, import("@nocobase/flow-engine").FlowContext>;
|
package/es/flow/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare class PluginFlowEngine extends Plugin {
|
|
|
13
13
|
export * from './components/filter';
|
|
14
14
|
export * from './components/code-editor';
|
|
15
15
|
export * from './components/TextAreaWithContextSelector';
|
|
16
|
+
export * from './components/SkeletonFallback';
|
|
16
17
|
export * from './FlowModelRepository';
|
|
17
18
|
export * from './FlowPage';
|
|
18
19
|
export * from './models';
|
|
@@ -33,6 +33,12 @@ export declare class GridModel<T extends {
|
|
|
33
33
|
private readonly itemExtraToolbarItems;
|
|
34
34
|
private dragState?;
|
|
35
35
|
private _memoItemFlowSettings?;
|
|
36
|
+
protected deriveRowOrder(rows: Record<string, string[][]>, provided?: string[]): string[];
|
|
37
|
+
normalizeRowsWithOrder(rows: Record<string, string[][]>, provided?: string[]): {
|
|
38
|
+
rows: Record<string, string[][]>;
|
|
39
|
+
rowOrder: string[];
|
|
40
|
+
};
|
|
41
|
+
orderSizesByRowOrder(sizes: Record<string, number[]>, rowOrder: string[]): Record<string, number[]>;
|
|
36
42
|
private getItemFlowSettings;
|
|
37
43
|
onMount(): void;
|
|
38
44
|
saveGridLayout(layout?: GridLayoutData): void;
|
|
@@ -10,8 +10,7 @@ import { FlowModel } from '@nocobase/flow-engine';
|
|
|
10
10
|
import type { DispatchEventOptions } from '@nocobase/flow-engine';
|
|
11
11
|
/**
|
|
12
12
|
* 递归向子模型(及其 forks)分发指定事件。
|
|
13
|
-
* -
|
|
14
|
-
* - 用于类似分页切换等“只需要刷新子层状态”的场景(例如 `paginationChange`)
|
|
13
|
+
* - 默认包含自身(用于类似分页切换等“整棵树状态刷新”的场景,例如 `paginationChange`)
|
|
15
14
|
*/
|
|
16
15
|
export declare function dispatchEventDeep(root: FlowModel, eventName: string, inputArgs?: Record<string, any>, options?: {
|
|
17
16
|
debounce?: boolean;
|