@nocobase/client 1.6.0-alpha.25 → 1.6.0-alpha.26
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/application/Application.d.ts +6 -0
- package/es/index.mjs +12346 -12541
- package/es/schema-component/antd/action/Action.Designer.d.ts +0 -1
- package/es/schema-component/antd/action/utils.d.ts +1 -1
- package/es/schema-component/antd/association-field/AssociationSelect.d.ts +1 -0
- package/es/schema-component/common/utils/uitls.d.ts +1 -1
- package/es/schema-initializer/items/ModalActionSchemaInitializerItem.d.ts +10 -0
- package/es/schema-initializer/items/index.d.ts +1 -0
- package/es/schema-settings/LinkageRules/bindLinkageRulesToFiled.d.ts +2 -2
- package/es/schema-settings/LinkageRules/compute-rules.d.ts +1 -1
- package/es/variables/VariablesProvider.d.ts +3 -2
- package/es/variables/utils/cacheLazyLoadedValues.d.ts +10 -0
- package/lib/index.js +99 -99
- package/package.json +5 -5
|
@@ -21,6 +21,10 @@ import { DataSourceManager, type DataSourceManagerOptions } from '../data-source
|
|
|
21
21
|
import type { CollectionFieldInterfaceFactory } from '../data-source';
|
|
22
22
|
import type { Plugin } from './Plugin';
|
|
23
23
|
import type { RequireJS } from './utils/requirejs';
|
|
24
|
+
type JsonLogic = {
|
|
25
|
+
addOperation: (name: string, fn?: any) => void;
|
|
26
|
+
rmOperation: (name: string) => void;
|
|
27
|
+
};
|
|
24
28
|
declare global {
|
|
25
29
|
interface Window {
|
|
26
30
|
define: RequireJS['define'];
|
|
@@ -70,6 +74,7 @@ export declare class Application {
|
|
|
70
74
|
dataSourceManager: DataSourceManager;
|
|
71
75
|
name: string;
|
|
72
76
|
globalVars: Record<string, any>;
|
|
77
|
+
jsonLogic: JsonLogic;
|
|
73
78
|
loading: boolean;
|
|
74
79
|
maintained: boolean;
|
|
75
80
|
maintaining: boolean;
|
|
@@ -124,3 +129,4 @@ export declare class Application {
|
|
|
124
129
|
addGlobalVar(key: string, value: any): void;
|
|
125
130
|
getGlobalVar(key: any): any;
|
|
126
131
|
}
|
|
132
|
+
export {};
|