@nocobase/client 1.6.4 → 1.7.0-alpha.2
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/acl/ACLProvider.d.ts +1 -0
- package/es/application/RouterManager.d.ts +3 -0
- package/es/application/hooks/index.d.ts +1 -0
- package/es/application/schema-initializer/components/SchemaInitializerItemSearchFields.d.ts +1 -1
- package/es/block-provider/hooks/index.d.ts +2 -0
- package/es/global-theme/type.d.ts +2 -0
- package/es/index.mjs +19513 -19040
- package/es/route-switch/antd/admin-layout/index.d.ts +4 -0
- package/es/schema-component/antd/cascader/Cascader.d.ts +20 -1
- package/es/schema-component/antd/date-picker/DatePicker.d.ts +6 -12
- package/es/schema-component/antd/expand-action/Expand.Action.d.ts +1 -1
- package/es/schema-component/antd/page/PopupSettingsProvider.d.ts +2 -1
- package/es/schema-component/antd/time-picker/TimePicker.d.ts +1 -1
- package/es/schema-initializer/components/CreateRecordAction.d.ts +1 -1
- package/es/schema-initializer/components/DeprecatedTemplateTitle.d.ts +11 -0
- package/es/schema-initializer/hooks/useTemplateBlockNotifier.d.ts +14 -0
- package/es/schema-initializer/index.d.ts +1 -1
- package/es/schema-initializer/utils.d.ts +2 -22
- package/es/schema-settings/LinkageRules/DateScopeComponent.d.ts +10 -0
- package/es/schema-settings/LinkageRules/OptionsComponent.d.ts +19 -0
- package/es/schema-settings/LinkageRules/bindLinkageRulesToFiled.d.ts +2 -1
- package/es/schema-settings/LinkageRules/type.d.ts +3 -1
- package/es/user/CurrentUserSettingsMenuProvider.d.ts +1 -1
- package/lib/index.js +264 -254
- package/lib/locale/en-US.js +5 -1
- package/lib/locale/es-ES.js +5 -1
- package/lib/locale/fr-FR.js +5 -1
- package/lib/locale/it-IT.js +2 -1
- package/lib/locale/ja-JP.js +5 -1
- package/lib/locale/ko-KR.js +5 -1
- package/lib/locale/nl-NL.js +888 -0
- package/lib/locale/pt-BR.js +5 -1
- package/lib/locale/ru-RU.js +5 -1
- package/lib/locale/tr-TR.js +5 -1
- package/lib/locale/uk-UA.js +5 -1
- package/lib/locale/zh-CN.js +7 -1
- package/lib/locale/zh-TW.js +5 -1
- package/package.json +7 -7
package/es/acl/ACLProvider.d.ts
CHANGED
|
@@ -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>;
|
|
@@ -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
|
*/
|
|
@@ -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;
|
|
@@ -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
|
/** 页面左右内边距 */
|