@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.
Files changed (37) hide show
  1. package/es/application/Plugin.d.ts +2 -0
  2. package/es/application/schema-initializer/context/index.d.ts +1 -1
  3. package/es/block-provider/hooks/index.d.ts +4 -2
  4. package/es/block-provider/index.d.ts +0 -1
  5. package/es/collection-manager/templates/index.d.ts +0 -1
  6. package/es/index.mjs +4258 -6012
  7. package/es/schema-component/antd/index.d.ts +1 -1
  8. package/es/schema-initializer/buttons/index.d.ts +0 -2
  9. package/es/schema-initializer/index.d.ts +2 -3
  10. package/es/schema-initializer/items/index.d.ts +0 -2
  11. package/es/schema-initializer/utils.d.ts +0 -57
  12. package/es/schema-settings/SchemaSettings.d.ts +1 -1
  13. package/es/variables/types.d.ts +4 -1
  14. package/lib/index.js +4256 -6010
  15. package/lib/locale/en_US.js +1 -0
  16. package/lib/locale/zh-CN.js +1 -0
  17. package/package.json +5 -8
  18. package/es/block-provider/CalendarBlockProvider.d.ts +0 -9
  19. package/es/collection-manager/templates/calendar.d.ts +0 -2
  20. package/es/schema-component/antd/calendar/Calendar.Designer.d.ts +0 -2
  21. package/es/schema-component/antd/calendar/Calendar.d.ts +0 -5
  22. package/es/schema-component/antd/calendar/DeleteEvent.d.ts +0 -3
  23. package/es/schema-component/antd/calendar/Event.d.ts +0 -2
  24. package/es/schema-component/antd/calendar/Nav.d.ts +0 -2
  25. package/es/schema-component/antd/calendar/Title.d.ts +0 -2
  26. package/es/schema-component/antd/calendar/Today.d.ts +0 -2
  27. package/es/schema-component/antd/calendar/ViewSelect.d.ts +0 -2
  28. package/es/schema-component/antd/calendar/components/Header.d.ts +0 -11
  29. package/es/schema-component/antd/calendar/context.d.ts +0 -6
  30. package/es/schema-component/antd/calendar/global.style.d.ts +0 -3
  31. package/es/schema-component/antd/calendar/index.d.ts +0 -2
  32. package/es/schema-component/antd/calendar/style.d.ts +0 -2
  33. package/es/schema-component/antd/calendar/utils.d.ts +0 -9
  34. package/es/schema-initializer/buttons/CalendarActionInitializers.d.ts +0 -2
  35. package/es/schema-initializer/buttons/CalendarFormActionInitializers.d.ts +0 -2
  36. package/es/schema-initializer/items/CalendarBlockInitializer.d.ts +0 -2
  37. 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, "type" | "component" | "sort" | "Component" | "componentProps" | "checkChildrenLength" | "useChildren" | "useVisible">>;
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
- appends: any[];
115
- updateAssociationValues: any[];
114
+ getAssociationAppends: () => {
115
+ appends: any[];
116
+ updateAssociationValues: any[];
117
+ };
116
118
  };
@@ -1,6 +1,5 @@
1
1
  export * from './BlockProvider';
2
2
  export * from './BlockSchemaComponentProvider';
3
- export * from './CalendarBlockProvider';
4
3
  export * from './FilterFormBlockProvider';
5
4
  export * from './FormBlockProvider';
6
5
  export * from './SharedFilterProvider';
@@ -1,4 +1,3 @@
1
- export * from './calendar';
2
1
  export * from './general';
3
2
  export * from './tree';
4
3
  export * from './expression';