@nocobase/client 1.7.0-alpha.2 → 1.7.0-alpha.4

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.
@@ -75,6 +75,7 @@ export declare class Application {
75
75
  name: string;
76
76
  favicon: string;
77
77
  globalVars: Record<string, any>;
78
+ globalVarCtxs: Record<string, any>;
78
79
  jsonLogic: JsonLogic;
79
80
  loading: boolean;
80
81
  maintained: boolean;
@@ -128,8 +129,9 @@ export declare class Application {
128
129
  mount(containerOrSelector: Element | ShadowRoot | string): import("react-dom/client").Root;
129
130
  addFieldInterfaces(fieldInterfaceClasses?: CollectionFieldInterfaceFactory[]): void;
130
131
  addFieldInterfaceComponentOption(fieldName: string, componentOption: CollectionFieldInterfaceComponentOption): void;
131
- addGlobalVar(key: string, value: any): void;
132
+ addGlobalVar(key: string, value: any, varCtx?: any): void;
132
133
  getGlobalVar(key: any): any;
134
+ getGlobalVarCtx(key: any): any;
133
135
  addUserCenterSettingsItem(item: SchemaSettingsItemType & {
134
136
  aclSnippet?: string;
135
137
  }): void;
@@ -7,3 +7,4 @@
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
9
  export declare const useGlobalVariable: (key: string) => any;
10
+ export declare const useGlobalVariableCtx: (key: string) => any;
@@ -24,6 +24,7 @@ export declare class TextareaFieldInterface extends CollectionFieldInterface {
24
24
  };
25
25
  availableTypes: string[];
26
26
  hasDefaultValue: boolean;
27
+ titleUsable: boolean;
27
28
  properties: {
28
29
  'uiSchema.title': {
29
30
  type: string;