@nocobase/client 0.18.0-alpha.1 → 0.18.0-alpha.9
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/Plugin.d.ts +2 -0
- package/es/application/schema-initializer/context/index.d.ts +1 -1
- package/es/block-provider/hooks/index.d.ts +4 -2
- package/es/block-provider/index.d.ts +0 -1
- package/es/collection-manager/templates/index.d.ts +0 -1
- package/es/index.mjs +4258 -6012
- package/es/schema-component/antd/index.d.ts +1 -1
- package/es/schema-initializer/buttons/index.d.ts +0 -2
- package/es/schema-initializer/index.d.ts +2 -3
- package/es/schema-initializer/items/index.d.ts +0 -2
- package/es/schema-initializer/utils.d.ts +0 -57
- package/es/schema-settings/SchemaSettings.d.ts +1 -1
- package/es/variables/types.d.ts +4 -1
- package/lib/index.js +4256 -6010
- package/lib/locale/en_US.js +1 -0
- package/lib/locale/zh-CN.js +1 -0
- package/package.json +5 -8
- package/es/block-provider/CalendarBlockProvider.d.ts +0 -9
- package/es/collection-manager/templates/calendar.d.ts +0 -2
- package/es/schema-component/antd/calendar/Calendar.Designer.d.ts +0 -2
- package/es/schema-component/antd/calendar/Calendar.d.ts +0 -5
- package/es/schema-component/antd/calendar/DeleteEvent.d.ts +0 -3
- package/es/schema-component/antd/calendar/Event.d.ts +0 -2
- package/es/schema-component/antd/calendar/Nav.d.ts +0 -2
- package/es/schema-component/antd/calendar/Title.d.ts +0 -2
- package/es/schema-component/antd/calendar/Today.d.ts +0 -2
- package/es/schema-component/antd/calendar/ViewSelect.d.ts +0 -2
- package/es/schema-component/antd/calendar/components/Header.d.ts +0 -11
- package/es/schema-component/antd/calendar/context.d.ts +0 -6
- package/es/schema-component/antd/calendar/global.style.d.ts +0 -3
- package/es/schema-component/antd/calendar/index.d.ts +0 -2
- package/es/schema-component/antd/calendar/style.d.ts +0 -2
- package/es/schema-component/antd/calendar/utils.d.ts +0 -9
- package/es/schema-initializer/buttons/CalendarActionInitializers.d.ts +0 -2
- package/es/schema-initializer/buttons/CalendarFormActionInitializers.d.ts +0 -2
- package/es/schema-initializer/items/CalendarBlockInitializer.d.ts +0 -2
- package/es/schema-initializer/items/RecordAssociationCalendarBlockInitializer.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TFuncKey, TOptions } from 'i18next';
|
|
1
2
|
import type { Application } from './Application';
|
|
2
3
|
export declare class Plugin<T = any> {
|
|
3
4
|
protected options: T;
|
|
@@ -12,4 +13,5 @@ export declare class Plugin<T = any> {
|
|
|
12
13
|
afterAdd(): Promise<void>;
|
|
13
14
|
beforeLoad(): Promise<void>;
|
|
14
15
|
load(): Promise<void>;
|
|
16
|
+
t(text: TFuncKey | TFuncKey[], options?: TOptions): import("i18next").TFunctionDetailedResult<object>;
|
|
15
17
|
}
|
|
@@ -12,5 +12,5 @@ export declare const useSchemaInitializer: () => {
|
|
|
12
12
|
visible?: boolean;
|
|
13
13
|
setVisible?: (v: boolean) => void;
|
|
14
14
|
};
|
|
15
|
-
export declare const SchemaInitializerItemContext: React.Context<Omit<SchemaInitializerItemType, "
|
|
15
|
+
export declare const SchemaInitializerItemContext: React.Context<Omit<SchemaInitializerItemType, "sort" | "type" | "component" | "Component" | "componentProps" | "checkChildrenLength" | "useChildren" | "useVisible">>;
|
|
16
16
|
export declare const useSchemaInitializerItem: <T = any>() => T;
|
|
@@ -111,6 +111,8 @@ export declare const useAssociationFilterBlockProps: () => {
|
|
|
111
111
|
};
|
|
112
112
|
export declare function getAssociationPath(str: any): any;
|
|
113
113
|
export declare const useAssociationNames: () => {
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
getAssociationAppends: () => {
|
|
115
|
+
appends: any[];
|
|
116
|
+
updateAssociationValues: any[];
|
|
117
|
+
};
|
|
116
118
|
};
|