@nocobase/client 2.0.36 → 2.0.38

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.
@@ -15,6 +15,19 @@ import type { FormBlockModel } from './FormBlockModel';
15
15
  * - 返回 null 表示无法安全推断,调用方应回退到 `validateFields()` 全量校验。
16
16
  */
17
17
  export declare function getValidationNamePathsExcludingHiddenModels(blockModel: FormBlockModel): NamePath[] | null;
18
+ export declare function shouldSkipSubmitValidation(model: {
19
+ getStepParams?: (flowKey: string, stepKey: string) => {
20
+ skipValidator?: boolean;
21
+ } | undefined;
22
+ } | null | undefined): boolean;
23
+ export declare function validateSubmitForm(options: {
24
+ form?: {
25
+ validateFields?: (nameList?: any) => Promise<any>;
26
+ } | null;
27
+ blockModel?: FormBlockModel | null;
28
+ flowSettingsEnabled?: boolean;
29
+ skipValidator?: boolean;
30
+ }): Promise<void>;
18
31
  /**
19
32
  * 提交前过滤:移除当前表单 block 中被「联动规则隐藏」的字段值(`model.hidden === true`)。
20
33
  *
@@ -8,6 +8,7 @@ export declare class SubTableFieldModel extends AssociationFieldModel {
8
8
  updateAssociation: boolean;
9
9
  setCurrentPage: any;
10
10
  currentPageSize: any;
11
+ getCurrentValue: () => any[];
11
12
  get collection(): any;
12
13
  getColumns(): any;
13
14
  render(): React.JSX.Element;