@nocobase/client 1.5.6 → 1.5.8

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.
@@ -8,6 +8,7 @@
8
8
  */
9
9
  import React from 'react';
10
10
  import { RemoteSelectProps } from '../remote-select';
11
+ export declare const AssociationFieldAddNewer: (props: any) => React.JSX.Element;
11
12
  export type AssociationSelectProps<P = any> = RemoteSelectProps<P> & {
12
13
  addMode?: 'quickAdd' | 'modalAdd';
13
14
  action?: string;
@@ -20,8 +20,9 @@ declare const VariablesProvider: {
20
20
  };
21
21
  export default VariablesProvider;
22
22
  /**
23
- * 去除关系字段中的中间表字段。
24
- * 如果在创建新记录的时候,存在关系字段的中间表字段,提交的时候会报错,所以需要去除。
23
+ * Remove `through collection fields` from association fields.
24
+ * If `through collection fields` exist in association fields when creating new records,
25
+ * it will cause errors during submission, so they need to be removed.
25
26
  * @param value
26
27
  * @param associationField
27
28
  * @returns
@@ -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
+ export declare const cacheLazyLoadedValues: (variableCtx: Record<string, any>, variablePath: string, value: any) => void;
10
+ export declare const getCachedLazyLoadedValues: (variableCtx: Record<string, any>, variablePath: string) => any;