@nocobase/client 1.6.0-beta.9 → 1.6.1
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/api-client/hooks/useRequest.d.ts +2 -0
- package/es/application/Application.d.ts +7 -2
- package/es/{user/SwitchRole.d.ts → application/hooks/useAclSnippets.d.ts} +3 -1
- package/es/application/hooks/useAppSpin.d.ts +1 -1
- package/es/application/schema-initializer/hooks/useGetSchemaInitializerMenuItems.d.ts +1 -1
- package/es/application/schema-settings/hooks/useSchemaSettingsRender.d.ts +4 -4
- package/es/application/schema-settings/types.d.ts +1 -0
- package/es/collection-manager/hooks/useCollectionManager_deprecated.d.ts +4 -4
- package/es/collection-manager/interfaces/properties/index.d.ts +3 -0
- package/es/collection-manager/interfaces/time.d.ts +0 -11
- package/es/data-source/collection-template/CollectionTemplate.d.ts +1 -1
- package/es/filter-provider/utils.d.ts +1 -1
- package/es/{user/ChangePassword.d.ts → hoc/withTooltipComponent.d.ts} +2 -1
- package/es/hooks/useMenuItem.d.ts +3 -1
- package/es/index.css +1 -1
- package/es/index.d.ts +2 -4
- package/es/index.mjs +35145 -34574
- package/es/lazy-helper/index.d.ts +6 -5
- package/es/modules/blocks/data-blocks/details-multi/DetailsBlockInitializer.d.ts +3 -1
- package/es/modules/blocks/data-blocks/details-single/RecordReadPrettyFormBlockInitializer.d.ts +3 -1
- package/es/modules/blocks/data-blocks/form/FormBlockInitializer.d.ts +8 -2
- package/es/modules/blocks/data-blocks/form/RecordFormBlockInitializer.d.ts +6 -2
- package/es/modules/blocks/data-blocks/table/hooks/useTableBlockProps.d.ts +8 -2
- package/es/modules/fields/component/TimePicker/timePickerComponentFieldSettings.d.ts +10 -0
- package/es/modules/menu/GroupItem.d.ts +0 -16
- package/es/modules/menu/LinkMenuItem.d.ts +0 -20
- package/es/modules/menu/PageMenuItem.d.ts +6 -22
- package/es/modules/popup/PopupContextProvider.d.ts +2 -0
- package/es/nocobase-buildin-plugin/index.d.ts +2 -0
- package/es/{user/EditProfile.d.ts → route-switch/antd/admin-layout/LanguageSettings.d.ts} +2 -1
- package/es/{user/LanguageSettings.d.ts → route-switch/antd/admin-layout/UserCenterButton.d.ts} +3 -1
- package/es/route-switch/antd/admin-layout/convertRoutesToSchema.d.ts +1 -62
- package/es/route-switch/antd/admin-layout/index.d.ts +6 -1
- package/es/route-switch/antd/admin-layout/menuItemSettings.d.ts +21 -0
- package/es/route-switch/antd/admin-layout/userCenterSettings.d.ts +11 -0
- package/es/schema-component/antd/action/hooks.d.ts +1 -1
- package/es/schema-component/antd/action/zIndexContext.d.ts +1 -0
- package/es/schema-component/antd/form-drawer/index.d.ts +36 -0
- package/es/schema-component/antd/form-item/FormItem.Settings.d.ts +57 -1
- package/es/schema-component/antd/index.d.ts +1 -0
- package/es/schema-component/antd/menu/Menu.d.ts +6 -5
- package/es/schema-component/antd/menu/index.d.ts +1 -0
- package/es/schema-component/antd/page/Page.d.ts +1 -0
- package/es/schema-component/antd/page/PageTabDesigner.d.ts +1 -3
- package/es/schema-component/antd/page/pagePopupUtils.d.ts +1 -0
- package/es/schema-component/antd/pagination/index.d.ts +5 -1
- package/es/schema-component/antd/record-picker/util.d.ts +1 -1
- package/es/schema-component/antd/select/ReadPretty.d.ts +5 -1
- package/es/schema-initializer/items/DataBlockInitializer.d.ts +1 -0
- package/es/schema-initializer/items/RecordAssociationBlockInitializer.d.ts +3 -1
- package/es/schema-initializer/items/RecordAssociationDetailsBlockInitializer.d.ts +3 -1
- package/es/schema-initializer/items/RecordAssociationFormBlockInitializer.d.ts +6 -2
- package/es/schema-initializer/items/RecordAssociationGridCardBlockInitializer.d.ts +3 -1
- package/es/schema-initializer/items/RecordAssociationListBlockInitializer.d.ts +3 -1
- package/es/schema-initializer/items/RecordReadPrettyAssociationFormBlockInitializer.d.ts +6 -2
- package/es/schema-settings/DataTemplates/FormDataTemplates.d.ts +3 -1
- package/es/schema-settings/EnableChildCollections/index.d.ts +3 -1
- package/es/schema-settings/GeneralSchemaDesigner.d.ts +5 -0
- package/es/schema-settings/LinkageRules/index.d.ts +5 -1
- package/es/schema-settings/SchemaSettingAccessControl.d.ts +14 -0
- package/es/schema-settings/SchemaSettings.d.ts +1 -0
- package/es/schema-settings/SchemaSettingsTimeFormat.d.ts +13 -0
- package/es/schema-settings/VariableInput/VariableInput.d.ts +3 -1
- package/es/schema-settings/index.d.ts +1 -0
- package/es/user/CurrentUser.d.ts +4 -9
- package/es/user/CurrentUserProvider.d.ts +0 -4
- package/lib/index.css +1 -1
- package/lib/index.js +407 -413
- package/lib/locale/en-US.js +3 -1
- package/lib/locale/es-ES.js +3 -1
- package/lib/locale/fr-FR.js +3 -1
- package/lib/locale/it-IT.js +861 -0
- package/lib/locale/ja-JP.js +3 -1
- package/lib/locale/ko-KR.js +3 -1
- package/lib/locale/pt-BR.js +3 -1
- package/lib/locale/ru-RU.js +3 -1
- package/lib/locale/tr-TR.js +3 -1
- package/lib/locale/uk-UA.js +3 -1
- package/lib/locale/zh-CN.js +4 -2
- package/lib/locale/zh-TW.js +3 -1
- package/package.json +8 -7
|
@@ -9,5 +9,7 @@
|
|
|
9
9
|
import React from 'react';
|
|
10
10
|
export declare const RecordAssociationListBlockInitializer: () => React.JSX.Element;
|
|
11
11
|
export declare function useCreateAssociationListBlock(): {
|
|
12
|
-
createAssociationListBlock: ({ item }:
|
|
12
|
+
createAssociationListBlock: ({ item }: {
|
|
13
|
+
item: any;
|
|
14
|
+
}) => void;
|
|
13
15
|
};
|
|
@@ -12,6 +12,10 @@ import React from 'react';
|
|
|
12
12
|
*/
|
|
13
13
|
export declare const RecordReadPrettyAssociationFormBlockInitializer: () => React.JSX.Element;
|
|
14
14
|
export declare function useCreateAssociationDetailsWithoutPagination(): {
|
|
15
|
-
createAssociationDetailsWithoutPagination: ({ item }:
|
|
16
|
-
|
|
15
|
+
createAssociationDetailsWithoutPagination: ({ item }: {
|
|
16
|
+
item: any;
|
|
17
|
+
}) => void;
|
|
18
|
+
templateWrap: (templateSchema: any, { item }: {
|
|
19
|
+
item: any;
|
|
20
|
+
}) => any;
|
|
17
21
|
};
|
|
@@ -10,5 +10,7 @@ import React from 'react';
|
|
|
10
10
|
export declare const compatibleDataId: (data: any, config?: any) => any;
|
|
11
11
|
export declare const FormDataTemplates: React.FunctionComponent<Omit<{
|
|
12
12
|
children?: React.ReactNode;
|
|
13
|
-
}, string | number | symbol> & Omit<any, "ref"
|
|
13
|
+
}, string | number | symbol> & Omit<any, "ref"> & {
|
|
14
|
+
children?: any;
|
|
15
|
+
}>;
|
|
14
16
|
export declare function getLabel(titleField: any): any;
|
|
@@ -9,4 +9,6 @@
|
|
|
9
9
|
import React from 'react';
|
|
10
10
|
export declare const EnableChildCollections: React.FunctionComponent<Omit<{
|
|
11
11
|
children?: React.ReactNode;
|
|
12
|
-
}, string | number | symbol> & Omit<any, "ref"
|
|
12
|
+
}, string | number | symbol> & Omit<any, "ref"> & {
|
|
13
|
+
children?: any;
|
|
14
|
+
}>;
|
|
@@ -40,6 +40,11 @@ export interface SchemaToolbarProps {
|
|
|
40
40
|
spaceWrapperStyle?: React.CSSProperties;
|
|
41
41
|
spaceClassName?: string;
|
|
42
42
|
spaceStyle?: React.CSSProperties;
|
|
43
|
+
/**
|
|
44
|
+
* The HTML element that listens for mouse enter/leave events.
|
|
45
|
+
* Parent element is used by default.
|
|
46
|
+
*/
|
|
47
|
+
container?: HTMLElement;
|
|
43
48
|
onVisibleChange?: (nextVisible: boolean) => void;
|
|
44
49
|
}
|
|
45
50
|
/**
|
|
@@ -10,4 +10,8 @@ import React from 'react';
|
|
|
10
10
|
export interface Props {
|
|
11
11
|
dynamicComponent: any;
|
|
12
12
|
}
|
|
13
|
-
export declare const FormLinkageRules: React.FunctionComponent<
|
|
13
|
+
export declare const FormLinkageRules: React.FunctionComponent<Omit<{
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
}, "dynamicComponent"> & Props & {
|
|
16
|
+
children?: any;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
import React from 'react';
|
|
10
|
+
export declare function AccessControl(): React.JSX.Element;
|
|
11
|
+
export declare const SchemaSettingAccessControl: {
|
|
12
|
+
name: string;
|
|
13
|
+
Component: typeof AccessControl;
|
|
14
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
import { Schema } from '@formily/react';
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const SchemaSettingsTimeFormat: (props: {
|
|
12
|
+
fieldSchema: Schema;
|
|
13
|
+
}) => React.JSX.Element;
|
|
@@ -94,6 +94,8 @@ export declare function useCompatOldVariables(props: {
|
|
|
94
94
|
noDisabled?: boolean;
|
|
95
95
|
targetFieldSchema?: Schema;
|
|
96
96
|
}): {
|
|
97
|
-
compatOldVariables: (variables: Option[], { value }:
|
|
97
|
+
compatOldVariables: (variables: Option[], { value }: {
|
|
98
|
+
value: any;
|
|
99
|
+
}) => Option[];
|
|
98
100
|
};
|
|
99
101
|
export {};
|
|
@@ -25,6 +25,7 @@ export * from './SchemaSettingsRenderEngine';
|
|
|
25
25
|
export * from './hooks/useGetAriaLabelOfDesigner';
|
|
26
26
|
export * from './hooks/useIsAllowToSetDefaultValue';
|
|
27
27
|
export * from './SchemaSettingsLayoutItem';
|
|
28
|
+
export * from './SchemaSettingAccessControl';
|
|
28
29
|
export { default as useParseDataScopeFilter } from './hooks/useParseDataScopeFilter';
|
|
29
30
|
export * from './isPatternDisabled';
|
|
30
31
|
export { SchemaSettingsPlugin } from './SchemaSettingsPlugin';
|
package/es/user/CurrentUser.d.ts
CHANGED
|
@@ -6,12 +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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export declare const SettingsMenu: React.FC<{
|
|
14
|
-
redirectUrl?: string;
|
|
15
|
-
}>;
|
|
16
|
-
export declare const DropdownVisibleContext: React.Context<any>;
|
|
17
|
-
export declare const CurrentUser: () => React.JSX.Element;
|
|
9
|
+
/// <reference types="react" />
|
|
10
|
+
import { SelectWithTitle } from '../common';
|
|
11
|
+
export declare const SettingsMenuProvider: (props: any) => typeof SelectWithTitle;
|
|
12
|
+
export declare const DropdownVisibleContext: import("react").Context<any>;
|
|
@@ -11,7 +11,3 @@ export declare const CurrentUserContext: React.Context<import("../api-client").U
|
|
|
11
11
|
export declare const useCurrentUserContext: () => import("../api-client").UseRequestResult<any>;
|
|
12
12
|
export declare const useCurrentRoles: () => any;
|
|
13
13
|
export declare const CurrentUserProvider: (props: any) => React.JSX.Element;
|
|
14
|
-
export declare const NavigateToSigninWithRedirect: () => React.JSX.Element;
|
|
15
|
-
export declare const NavigateIfNotSignIn: ({ children }: {
|
|
16
|
-
children: any;
|
|
17
|
-
}) => React.JSX.Element;
|
package/lib/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--colorBgScrollTrack)}::-webkit-scrollbar-thumb{background:var(--colorBgScrollBar);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--colorBgScrollBarHover)}::-webkit-scrollbar-thumb:active{background:var(--colorBgScrollBarActive)}.rc-virtual-list-scrollbar-thumb{background:var(--colorBgScrollBar)!important}.rc-virtual-list-scrollbar-thumb:hover{background:var(--colorBgScrollBarHover)!important}.rc-virtual-list-scrollbar-thumb:active{background:var(--colorBgScrollBarActive)!important}.ant-btn.ant-btn-danger{text-shadow:none;box-shadow:none}.ant-formily-item-label{color:#000000d9;font-weight:600}.ant-table-pagination.ant-pagination{margin-bottom:0!important}.ant-formily-item{font-size:inherit!important}.ant-formily-item-bordered-none .ant-formily-item-feedback-layout-loose{margin-bottom:0!important}.ant-formily-item-control-content-component .ant-tag{white-space:pre-wrap}html body{--adm-font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"}
|
|
1
|
+
::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--colorBgScrollTrack)}::-webkit-scrollbar-thumb{background:var(--colorBgScrollBar);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--colorBgScrollBarHover)}::-webkit-scrollbar-thumb:active{background:var(--colorBgScrollBarActive)}.rc-virtual-list-scrollbar-thumb{background:var(--colorBgScrollBar)!important}.rc-virtual-list-scrollbar-thumb:hover{background:var(--colorBgScrollBarHover)!important}.rc-virtual-list-scrollbar-thumb:active{background:var(--colorBgScrollBarActive)!important}.ant-menu-submenu-popup{-webkit-backdrop-filter:none;backdrop-filter:none}.ant-menu-item.ant-menu-item-only-child.ant-pro-base-menu-horizontal-menu-item:active{background-color:var(--colorBgMenuItemSelected)!important}.ant-btn.ant-btn-danger{text-shadow:none;box-shadow:none}.ant-formily-item-label{color:#000000d9;font-weight:600}.ant-table-pagination.ant-pagination{margin-bottom:0!important}.ant-formily-item{font-size:inherit!important}.ant-formily-item-bordered-none .ant-formily-item-feedback-layout-loose{margin-bottom:0!important}.ant-formily-item-control-content-component .ant-tag{white-space:pre-wrap}html body{--adm-font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"}
|