@nocobase/client 1.7.0-beta.3 → 1.7.0-beta.31

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 (114) hide show
  1. package/.dumirc.ts +4 -0
  2. package/es/acl/ACLProvider.d.ts +1 -0
  3. package/es/application/Application.d.ts +3 -1
  4. package/es/application/RouterManager.d.ts +3 -0
  5. package/es/application/components/defaultComponents.d.ts +3 -1
  6. package/es/application/hooks/index.d.ts +1 -0
  7. package/es/application/hooks/useGlobalVariable.d.ts +1 -0
  8. package/es/application/schema-initializer/components/SchemaInitializerItemSearchFields.d.ts +1 -1
  9. package/es/block-provider/hooks/index.d.ts +4 -0
  10. package/es/collection-manager/interfaces/input.d.ts +6 -0
  11. package/es/collection-manager/interfaces/password.d.ts +18 -0
  12. package/es/collection-manager/interfaces/properties/operators.d.ts +3 -10
  13. package/es/collection-manager/interfaces/radioGroup.d.ts +3 -10
  14. package/es/collection-manager/interfaces/select.d.ts +3 -10
  15. package/es/collection-manager/interfaces/textarea.d.ts +7 -0
  16. package/es/collection-manager/mixins/InheritanceCollectionMixin.d.ts +6 -0
  17. package/es/{variables/utils/cacheLazyLoadedValues.d.ts → common/AppNotFound.d.ts} +2 -2
  18. package/es/common/SelectWithTitle.d.ts +1 -1
  19. package/es/common/getVariableValue.d.ts +9 -0
  20. package/es/common/index.d.ts +2 -0
  21. package/es/data-source/data-source/DataSourceManagerProvider.d.ts +1 -1
  22. package/es/filter-provider/FilterProvider.d.ts +6 -0
  23. package/es/filter-provider/highlightBlock.d.ts +9 -0
  24. package/es/formily/NocoBaseRecursionField.d.ts +1 -0
  25. package/es/global-theme/type.d.ts +3 -0
  26. package/es/i18n/constant.d.ts +10 -0
  27. package/es/i18n/index.d.ts +1 -0
  28. package/es/index.d.ts +1 -0
  29. package/es/index.mjs +52927 -51055
  30. package/es/modules/actions/link/useURLAndHTMLSchema.d.ts +1 -1
  31. package/es/modules/actions/view-edit-popup/customizePopupActionSettings.d.ts +0 -8
  32. package/es/modules/blocks/BlockLinkageRuleProvider.d.ts +9 -0
  33. package/es/modules/blocks/data-blocks/grid-card/hooks/useGridCardBlockDecoratorProps.d.ts +2 -0
  34. package/es/modules/blocks/data-blocks/list/hooks/useListBlockDecoratorProps.d.ts +1 -0
  35. package/es/modules/blocks/data-blocks/table/createTableBlockUISchema.d.ts +0 -1
  36. package/es/modules/blocks/data-blocks/table/hooks/useTableBlockDecoratorProps.d.ts +1 -0
  37. package/es/modules/blocks/utils.d.ts +10 -0
  38. package/es/modules/fields/component/FileManager/fileManagerComponentFieldSettings.d.ts +8 -0
  39. package/es/modules/fields/component/Picker/recordPickerComponentFieldSettings.d.ts +1 -0
  40. package/es/modules/fields/component/Select/selectComponentFieldSettings.d.ts +2 -0
  41. package/es/nocobase-buildin-plugin/index.d.ts +0 -2
  42. package/es/route-switch/antd/admin-layout/index.d.ts +5 -0
  43. package/es/schema-component/antd/action/Action.Designer.d.ts +1 -0
  44. package/es/schema-component/antd/action/Action.Modal.d.ts +1 -0
  45. package/es/schema-component/antd/action/hooks/useGetAfterSuccessVariablesOptions.d.ts +13 -0
  46. package/es/schema-component/antd/action/index.d.ts +1 -0
  47. package/es/schema-component/antd/action/types.d.ts +2 -0
  48. package/es/schema-component/antd/action/utils.d.ts +3 -1
  49. package/es/schema-component/antd/cascader/Cascader.d.ts +20 -1
  50. package/es/schema-component/antd/date-picker/DatePicker.d.ts +6 -12
  51. package/es/schema-component/antd/expand-action/Expand.Action.d.ts +1 -1
  52. package/es/schema-component/antd/index.d.ts +1 -0
  53. package/es/schema-component/antd/input/Input.d.ts +4 -1
  54. package/es/schema-component/antd/linkageFilter/DynamicComponent.d.ts +36 -0
  55. package/es/schema-component/antd/linkageFilter/FilterGroup.d.ts +10 -0
  56. package/es/schema-component/antd/linkageFilter/FilterItems.d.ts +10 -0
  57. package/es/schema-component/antd/linkageFilter/LinkageFilter.d.ts +9 -0
  58. package/es/schema-component/antd/linkageFilter/LinkageFilterItem.d.ts +10 -0
  59. package/es/schema-component/antd/linkageFilter/context.d.ts +27 -0
  60. package/es/schema-component/antd/linkageFilter/index.d.ts +9 -0
  61. package/es/schema-component/antd/linkageFilter/useOperators.d.ts +13 -0
  62. package/es/schema-component/antd/linkageFilter/useValues.d.ts +25 -0
  63. package/es/schema-component/antd/list/index.d.ts +1 -0
  64. package/es/schema-component/antd/page/AllDataBlocksProvider.d.ts +17 -0
  65. package/es/schema-component/antd/page/PopupSettingsProvider.d.ts +2 -1
  66. package/es/schema-component/antd/page/index.d.ts +1 -0
  67. package/es/schema-component/antd/remote-select/RemoteSelect.d.ts +2 -0
  68. package/es/schema-component/antd/time-picker/TimePicker.d.ts +1 -1
  69. package/es/schema-component/antd/upload/index.d.ts +1 -1
  70. package/es/schema-component/antd/upload/shared.d.ts +0 -1
  71. package/es/schema-component/antd/variable/Input.d.ts +2 -0
  72. package/es/schema-component/antd/variable/TextArea.d.ts +14 -1
  73. package/es/schema-component/antd/variable/Variable.d.ts +1 -1
  74. package/es/schema-component/common/utils/uitls.d.ts +2 -5
  75. package/es/schema-component/core/DesignableSwitch.d.ts +4 -2
  76. package/es/schema-component/core/SchemaComponent.d.ts +1 -0
  77. package/es/schema-initializer/components/CreateRecordAction.d.ts +1 -1
  78. package/es/schema-initializer/components/assigned-field/AssignedField.d.ts +2 -1
  79. package/es/schema-initializer/hooks/useTemplateBlockNotifier.d.ts +14 -0
  80. package/es/schema-initializer/index.d.ts +1 -1
  81. package/es/schema-initializer/utils.d.ts +2 -22
  82. package/es/schema-settings/LinkageRules/LinkageRuleAction.d.ts +0 -1
  83. package/es/schema-settings/LinkageRules/LinkageRuleActionGroup.d.ts +1 -1
  84. package/es/schema-settings/LinkageRules/bindLinkageRulesToFiled.d.ts +10 -1
  85. package/es/schema-settings/LinkageRules/components/BlockLinkageRuleAction.d.ts +10 -0
  86. package/es/schema-settings/LinkageRules/components/FieldStyleLinkageRuleAction.d.ts +10 -0
  87. package/es/schema-settings/LinkageRules/type.d.ts +7 -2
  88. package/es/schema-settings/SchemaSettings.d.ts +4 -0
  89. package/es/schema-settings/VariableInput/VariableInput.d.ts +4 -0
  90. package/es/schema-settings/VariableInput/hooks/index.d.ts +1 -0
  91. package/es/schema-settings/VariableInput/hooks/useBaseVariable.d.ts +3 -1
  92. package/es/schema-settings/VariableInput/hooks/useContextAssociationFields.d.ts +2 -2
  93. package/es/schema-settings/VariableInput/hooks/useDateVariable.d.ts +114 -2
  94. package/es/schema-settings/VariableInput/hooks/useRoleVariable.d.ts +1 -1
  95. package/es/schema-settings/VariableInput/hooks/useVariableOptions.d.ts +35 -0
  96. package/es/schema-settings/index.d.ts +2 -0
  97. package/es/user/CurrentUserProvider.d.ts +1 -0
  98. package/es/user/CurrentUserSettingsMenuProvider.d.ts +1 -1
  99. package/lib/index.js +575 -503
  100. package/lib/locale/de-DE.js +9 -2
  101. package/lib/locale/en-US.js +12 -2
  102. package/lib/locale/es-ES.js +12 -2
  103. package/lib/locale/fr-FR.js +12 -2
  104. package/lib/locale/it-IT.js +277 -47
  105. package/lib/locale/ja-JP.js +12 -2
  106. package/lib/locale/ko-KR.js +12 -2
  107. package/lib/locale/nl-NL.js +256 -54
  108. package/lib/locale/pt-BR.js +12 -2
  109. package/lib/locale/ru-RU.js +12 -2
  110. package/lib/locale/tr-TR.js +12 -2
  111. package/lib/locale/uk-UA.js +12 -2
  112. package/lib/locale/zh-CN.js +37 -3
  113. package/lib/locale/zh-TW.js +12 -2
  114. package/package.json +7 -7
package/.dumirc.ts CHANGED
@@ -234,6 +234,10 @@ export default defineConfig({
234
234
  "title": "Filter",
235
235
  "link": "/components/filter"
236
236
  },
237
+ {
238
+ "title": "LinkageFilter",
239
+ "link": "/components/linkage-filter"
240
+ },
237
241
  ]
238
242
  },
239
243
  {
@@ -12,6 +12,7 @@ export declare const ACLContext: React.Context<any>;
12
12
  export declare const ACLProvider: (props: any) => React.JSX.Element;
13
13
  export declare const ACLRolesCheckProvider: (props: any) => React.JSX.Element;
14
14
  export declare const useRoleRecheck: () => () => void;
15
+ export declare const useCurrentRoleMode: () => any;
15
16
  export declare const useACLContext: () => any;
16
17
  export declare const ACLActionParamsContext: React.Context<any>;
17
18
  export declare const ACLCustomContext: React.Context<any>;
@@ -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;
@@ -25,6 +25,7 @@ export type RouterOptions = (HashRouterOptions | BrowserRouterOptions | MemoryRo
25
25
  export type ComponentTypeAndString<T = any> = ComponentType<T> | string;
26
26
  export interface RouteType extends Omit<RouteObject, 'children' | 'Component'> {
27
27
  Component?: ComponentTypeAndString;
28
+ skipAuthCheck?: boolean;
28
29
  }
29
30
  export type RenderComponentType = (Component: ComponentTypeAndString, props?: any) => React.ReactNode;
30
31
  export declare class RouterManager {
@@ -44,6 +45,8 @@ export declare class RouterManager {
44
45
  setType(type: RouterOptions['type']): void;
45
46
  getBasename(): string;
46
47
  setBasename(basename: string): void;
48
+ matchRoutes(pathname: string): import("@remix-run/router").AgnosticRouteMatch<string, RouteType>[];
49
+ isSkippedAuthCheckRoute(pathname: string): boolean;
47
50
  /**
48
51
  * @internal
49
52
  */
@@ -11,7 +11,9 @@ export declare const defaultAppComponents: {
11
11
  AppMain: React.NamedExoticComponent<object>;
12
12
  AppSpin: React.FC;
13
13
  AppError: React.FC<{
14
- error: Error;
14
+ error: Error & {
15
+ title?: string;
16
+ };
15
17
  }>;
16
18
  AppNotFound: React.FC;
17
19
  };
@@ -11,3 +11,4 @@ export * from './useAppSpin';
11
11
  export * from './usePlugin';
12
12
  export * from './useRouter';
13
13
  export * from './useGlobalVariable';
14
+ export * from './useAclSnippets';
@@ -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;
@@ -17,4 +17,4 @@ export declare const useMenuSearch: (props: {
17
17
  showType?: boolean;
18
18
  hideSearch?: boolean;
19
19
  name?: string;
20
- }) => import("antd/es/menu/hooks/useItems").ItemType[];
20
+ }) => import("antd/es/menu/interface").ItemType[];
@@ -85,6 +85,7 @@ export declare const useDetailsPaginationProps: () => {
85
85
  current: any;
86
86
  pageSize: number;
87
87
  showSizeChanger: boolean;
88
+ align: string;
88
89
  onChange(page: any): Promise<void>;
89
90
  style: {
90
91
  marginTop: number;
@@ -102,6 +103,7 @@ export declare const useDetailsPaginationProps: () => {
102
103
  total: any;
103
104
  pageSize: number;
104
105
  showSizeChanger: boolean;
106
+ align: string;
105
107
  onChange(page: any): Promise<void>;
106
108
  style: {
107
109
  marginTop: number;
@@ -131,6 +133,7 @@ export declare const useAssociationFilterBlockProps: () => {
131
133
  run?: undefined;
132
134
  valueKey?: undefined;
133
135
  labelKey?: undefined;
136
+ dataScopeFilter?: undefined;
134
137
  } | {
135
138
  /** 渲染 Collapse 的列表数据 */
136
139
  list: any;
@@ -140,6 +143,7 @@ export declare const useAssociationFilterBlockProps: () => {
140
143
  run: any;
141
144
  valueKey: any;
142
145
  labelKey: any;
146
+ dataScopeFilter: {};
143
147
  };
144
148
  export declare function getAssociationPath(str: any): any;
145
149
  export declare const getAppends: ({ schema, prefix: defaultPrefix, updateAssociationValues, appends, getCollectionJoinField, getCollection, dataSource, }: {
@@ -26,6 +26,12 @@ export declare class InputFieldInterface extends CollectionFieldInterface {
26
26
  availableTypes: string[];
27
27
  hasDefaultValue: boolean;
28
28
  properties: {
29
+ trim: {
30
+ type: string;
31
+ 'x-content': string;
32
+ 'x-decorator': string;
33
+ 'x-component': string;
34
+ };
29
35
  layout: {
30
36
  type: string;
31
37
  title: string;
@@ -89,4 +89,22 @@ export declare class PasswordFieldInterface extends CollectionFieldInterface {
89
89
  };
90
90
  };
91
91
  };
92
+ filterable: {
93
+ operators: ({
94
+ label: string;
95
+ value: string;
96
+ selected: boolean;
97
+ noValue?: undefined;
98
+ } | {
99
+ label: string;
100
+ value: string;
101
+ selected?: undefined;
102
+ noValue?: undefined;
103
+ } | {
104
+ label: string;
105
+ value: string;
106
+ noValue: boolean;
107
+ selected?: undefined;
108
+ })[];
109
+ };
92
110
  }
@@ -133,17 +133,10 @@ export declare const enumType: ({
133
133
  selected: boolean;
134
134
  schema: {
135
135
  'x-component': string;
136
- 'x-component-props'?: undefined;
137
- };
138
- noValue?: undefined;
139
- } | {
140
- label: string;
141
- value: string;
142
- schema: {
143
- 'x-component': string;
144
- 'x-component-props'?: undefined;
136
+ 'x-component-props': {
137
+ mode: any;
138
+ };
145
139
  };
146
- selected?: undefined;
147
140
  noValue?: undefined;
148
141
  } | {
149
142
  label: string;
@@ -106,17 +106,10 @@ export declare class RadioGroupFieldInterface extends CollectionFieldInterface {
106
106
  selected: boolean;
107
107
  schema: {
108
108
  'x-component': string;
109
- 'x-component-props'?: undefined;
110
- };
111
- noValue?: undefined;
112
- } | {
113
- label: string;
114
- value: string;
115
- schema: {
116
- 'x-component': string;
117
- 'x-component-props'?: undefined;
109
+ 'x-component-props': {
110
+ mode: any;
111
+ };
118
112
  };
119
- selected?: undefined;
120
113
  noValue?: undefined;
121
114
  } | {
122
115
  label: string;
@@ -108,17 +108,10 @@ export declare class SelectFieldInterface extends CollectionFieldInterface {
108
108
  selected: boolean;
109
109
  schema: {
110
110
  'x-component': string;
111
- 'x-component-props'?: undefined;
112
- };
113
- noValue?: undefined;
114
- } | {
115
- label: string;
116
- value: string;
117
- schema: {
118
- 'x-component': string;
119
- 'x-component-props'?: undefined;
111
+ 'x-component-props': {
112
+ mode: any;
113
+ };
120
114
  };
121
- selected?: undefined;
122
115
  noValue?: undefined;
123
116
  } | {
124
117
  label: string;
@@ -24,7 +24,14 @@ export declare class TextareaFieldInterface extends CollectionFieldInterface {
24
24
  };
25
25
  availableTypes: string[];
26
26
  hasDefaultValue: boolean;
27
+ titleUsable: boolean;
27
28
  properties: {
29
+ trim: {
30
+ type: string;
31
+ 'x-content': string;
32
+ 'x-decorator': string;
33
+ 'x-component': string;
34
+ };
28
35
  'uiSchema.title': {
29
36
  type: string;
30
37
  title: string;
@@ -25,6 +25,7 @@ export declare class InheritanceCollectionMixin extends Collection {
25
25
  protected parentCollectionFields: Record<string, CollectionFieldOptions[]>;
26
26
  protected allCollectionsInheritChain: string[];
27
27
  protected inheritCollectionsChain: string[];
28
+ protected inheritChain: string[];
28
29
  protected foreignKeyFields: CollectionFieldOptions[];
29
30
  getParentCollectionsName(): string[];
30
31
  getParentCollections(): Collection[];
@@ -36,6 +37,11 @@ export declare class InheritanceCollectionMixin extends Collection {
36
37
  getParentCollectionFields(parentCollectionName: string): CollectionFieldOptions[];
37
38
  getAllCollectionsInheritChain(): string[];
38
39
  getInheritCollectionsChain(): string[];
40
+ /**
41
+ * 获取所有祖先数据表和后代数据表,不包括兄弟表。用于下面这些地方:
42
+ * - 筛选区块链接数据区块时使用
43
+ */
44
+ getInheritChain(): string[];
39
45
  getAllFields(predicate?: GetCollectionFieldPredicate): CollectionFieldOptions[];
40
46
  getForeignKeyFields(): CollectionFieldOptions[];
41
47
  }
@@ -6,5 +6,5 @@
6
6
  * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
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;
9
+ import React from 'react';
10
+ export declare const AppNotFound: () => React.JSX.Element;
@@ -14,4 +14,4 @@ export interface SelectWithTitleProps {
14
14
  fieldNames?: any;
15
15
  onChange?: (...args: any[]) => void;
16
16
  }
17
- export declare function SelectWithTitle({ title, defaultValue, onChange, options, fieldNames }: SelectWithTitleProps): React.JSX.Element;
17
+ export declare function SelectWithTitle({ title, defaultValue, onChange, options, fieldNames, ...others }: SelectWithTitleProps): React.JSX.Element;
@@ -0,0 +1,9 @@
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 getVariableValue: (text: string, scopes: any) => Promise<any>;
@@ -6,5 +6,7 @@
6
6
  * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
+ export * from './AppNotFound';
9
10
  export * from './SelectWithTitle';
10
11
  export * from './useFieldComponentName';
12
+ export * from './getVariableValue';
@@ -16,7 +16,7 @@ export interface DataSourceManagerProviderProps {
16
16
  export declare const DataSourceManagerProvider: FC<DataSourceManagerProviderProps>;
17
17
  export declare function useDataSourceManager(): DataSourceManager;
18
18
  /**
19
- * 获取当前 collection 继承链路上的所有 collection
19
+ * 获取当前 collection 继承链路上的所有 collection(不包括兄弟表)
20
20
  * @returns
21
21
  */
22
22
  export declare function useAllCollectionsInheritChainGetter(): {
@@ -39,6 +39,8 @@ export interface DataBlock {
39
39
  clearFilter: (uid: string) => void;
40
40
  /** 将数据区块的数据置为空 */
41
41
  clearData: () => void;
42
+ /** 清除表格的选中项 */
43
+ clearSelection?: () => void;
42
44
  /** 数据区块表中所有的关系字段 */
43
45
  associatedFields?: CollectionFieldOptions_deprecated[];
44
46
  /** 数据区块表中所有的外键字段 */
@@ -54,6 +56,10 @@ export interface DataBlock {
54
56
  * manual: 只有当点击了筛选按钮,才会请求数据
55
57
  */
56
58
  dataLoadingMode?: 'auto' | 'manual';
59
+ /** 让整个区块悬浮起来 */
60
+ highlightBlock: () => void;
61
+ /** 取消悬浮 */
62
+ unhighlightBlock: () => void;
57
63
  }
58
64
  /**
59
65
  * 主要用于记录当前页面中的数据区块的信息,用于在过滤区块中使用
@@ -0,0 +1,9 @@
1
+ export declare const highlightBlock: (clonedBlockDom: HTMLElement, boxRect: DOMRect) => void;
2
+ export declare const unhighlightBlock: () => void;
3
+ export declare const startScrollEndTracking: (dom: HTMLElement & {
4
+ _prevRect?: DOMRect;
5
+ _timer?: any;
6
+ }, callback: () => void) => void;
7
+ export declare const stopScrollEndTracking: (dom: HTMLElement & {
8
+ _timer?: any;
9
+ }) => void;
@@ -23,6 +23,7 @@ interface INocoBaseRecursionFieldProps extends IRecursionFieldProps {
23
23
  * Whether to use Formily Field class - performance will be reduced but provides better compatibility with Formily
24
24
  */
25
25
  isUseFormilyField?: boolean;
26
+ parentSchema?: Schema;
26
27
  }
27
28
  export declare const RefreshComponentProvider: FC<{
28
29
  refresh: () => void;
@@ -27,6 +27,8 @@ export interface CustomToken extends AliasToken {
27
27
  colorSettings: string;
28
28
  /** 鼠标悬浮时显示的背景色 */
29
29
  colorBgSettingsHover: string;
30
+ /** 鼠标悬浮模板区块时显示的背景色 */
31
+ colorTemplateBgSettingsHover: string;
30
32
  /** 鼠标悬浮时显示的边框色 */
31
33
  colorBorderSettingsHover: string;
32
34
  /** 页面左右内边距 */
@@ -41,6 +43,7 @@ export interface CustomToken extends AliasToken {
41
43
  marginBlock: number;
42
44
  /** 区块的圆角 */
43
45
  borderRadiusBlock: number;
46
+ siderWidth: number;
44
47
  }
45
48
  export interface ThemeConfig extends _ThemeConfig {
46
49
  name?: string;
@@ -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
+ declare const NAMESPACE_UI_SCHEMA = "ui-schema-storage";
10
+ export { NAMESPACE_UI_SCHEMA };
@@ -7,3 +7,4 @@
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
9
  export * from './i18n';
10
+ export * from './constant';
package/es/index.d.ts CHANGED
@@ -71,5 +71,6 @@ export { usePopupUtils } from './modules/popup/usePopupUtils';
71
71
  export { VariablePopupRecordProvider } from './modules/variable/variablesProvider/VariablePopupRecordProvider';
72
72
  export { showFileName } from './modules/fields/component/FileManager/fileManagerComponentFieldSettings';
73
73
  export { useCurrentPopupRecord } from './modules/variable/variablesProvider/VariablePopupRecordProvider';
74
+ export { fileSizeSetting } from './modules/fields/component/FileManager/fileManagerComponentFieldSettings';
74
75
  export { languageCodes } from './locale';
75
76
  export { CollectionFieldUISchemaProvider, IsInNocoBaseRecursionFieldContext, NocoBaseRecursionField, RefreshComponentProvider, useRefreshFieldSchema, } from './formily/NocoBaseRecursionField';