@nocobase/client 1.6.0-beta.15 → 1.6.0-beta.17
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/Application.d.ts +3 -1
- package/es/collection-manager/interfaces/properties/index.d.ts +3 -0
- package/es/collection-manager/interfaces/time.d.ts +0 -11
- package/es/hoc/withTooltipComponent.d.ts +10 -0
- package/es/index.css +1 -1
- package/es/index.d.ts +2 -4
- package/es/index.mjs +35200 -34524
- 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/nocobase-buildin-plugin/index.d.ts +2 -0
- 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/schema-component/antd/action/zIndexContext.d.ts +1 -0
- package/es/schema-component/antd/menu/Menu.d.ts +3 -2
- 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-initializer/items/DataBlockInitializer.d.ts +1 -0
- package/es/schema-settings/GeneralSchemaDesigner.d.ts +5 -0
- package/es/schema-settings/SchemaSettingsTimeFormat.d.ts +13 -0
- package/lib/index.css +1 -1
- package/lib/index.js +369 -393
- 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/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 +3 -1
- package/lib/locale/zh-TW.js +3 -1
- package/package.json +6 -6
|
@@ -15,7 +15,7 @@ import { PluginSettingOptions, PluginSettingsManager } from './PluginSettingsMan
|
|
|
15
15
|
import { ComponentTypeAndString, RouterManager, RouterOptions } from './RouterManager';
|
|
16
16
|
import { WebSocketClient, WebSocketClientOptions } from './WebSocketClient';
|
|
17
17
|
import { SchemaInitializer, SchemaInitializerManager } from './schema-initializer';
|
|
18
|
-
import { SchemaSettings,
|
|
18
|
+
import { SchemaSettings, SchemaSettingsItemType, SchemaSettingsManager } from './schema-settings';
|
|
19
19
|
import { CollectionFieldInterfaceComponentOption } from '../data-source/collection-field-interface/CollectionFieldInterface';
|
|
20
20
|
import { DataSourceManager, type DataSourceManagerOptions } from '../data-source/data-source/DataSourceManager';
|
|
21
21
|
import type { CollectionFieldInterfaceFactory } from '../data-source';
|
|
@@ -73,6 +73,7 @@ export declare class Application {
|
|
|
73
73
|
schemaSettingsManager: SchemaSettingsManager;
|
|
74
74
|
dataSourceManager: DataSourceManager;
|
|
75
75
|
name: string;
|
|
76
|
+
favicon: string;
|
|
76
77
|
globalVars: Record<string, any>;
|
|
77
78
|
jsonLogic: JsonLogic;
|
|
78
79
|
loading: boolean;
|
|
@@ -84,6 +85,7 @@ export declare class Application {
|
|
|
84
85
|
get pm(): PluginManager;
|
|
85
86
|
get disableAcl(): boolean;
|
|
86
87
|
get isWsAuthorized(): boolean;
|
|
88
|
+
updateFavicon(favicon?: string): void;
|
|
87
89
|
setWsAuthorized(authorized: boolean): void;
|
|
88
90
|
constructor(options?: ApplicationOptions);
|
|
89
91
|
private initListeners;
|
|
@@ -86,6 +86,9 @@ export declare const reverseFieldProperties: Record<string, ISchema>;
|
|
|
86
86
|
export declare const dateTimeProps: {
|
|
87
87
|
[key: string]: ISchema;
|
|
88
88
|
};
|
|
89
|
+
export declare const timeProps: {
|
|
90
|
+
[key: string]: ISchema;
|
|
91
|
+
};
|
|
89
92
|
export declare const dataSource: ISchema;
|
|
90
93
|
export declare const defaultProps: {
|
|
91
94
|
'uiSchema.title': {
|
|
@@ -24,17 +24,6 @@ export declare class TimeFieldInterface extends CollectionFieldInterface {
|
|
|
24
24
|
availableTypes: string[];
|
|
25
25
|
hasDefaultValue: boolean;
|
|
26
26
|
properties: {
|
|
27
|
-
'uiSchema.x-component-props.format': {
|
|
28
|
-
type: string;
|
|
29
|
-
title: string;
|
|
30
|
-
'x-component': string;
|
|
31
|
-
'x-decorator': string;
|
|
32
|
-
default: string;
|
|
33
|
-
enum: {
|
|
34
|
-
label: string;
|
|
35
|
-
value: string;
|
|
36
|
-
}[];
|
|
37
|
-
};
|
|
38
27
|
'uiSchema.title': {
|
|
39
28
|
type: string;
|
|
40
29
|
title: 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
|
+
import React from 'react';
|
|
10
|
+
export declare const withTooltipComponent: (Component: React.FC) => (props: any) => React.JSX.Element;
|
package/es/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"}
|
package/es/index.d.ts
CHANGED
|
@@ -64,14 +64,12 @@ export * from './modules/blocks/data-blocks/table';
|
|
|
64
64
|
export * from './modules/blocks/data-blocks/table-selector';
|
|
65
65
|
export * from './modules/blocks/index';
|
|
66
66
|
export * from './modules/blocks/useParentRecordCommon';
|
|
67
|
-
export {
|
|
68
|
-
export { getLinkMenuSchema } from './modules/menu/LinkMenuItem';
|
|
69
|
-
export { getPageMenuSchema } from './modules/menu/PageMenuItem';
|
|
67
|
+
export { getPageMenuSchema, useInsertPageSchema } from './modules/menu/PageMenuItem';
|
|
70
68
|
export { OpenModeProvider, useOpenModeContext } from './modules/popup/OpenModeProvider';
|
|
71
69
|
export { PopupContextProvider } from './modules/popup/PopupContextProvider';
|
|
72
70
|
export { usePopupUtils } from './modules/popup/usePopupUtils';
|
|
73
71
|
export { VariablePopupRecordProvider } from './modules/variable/variablesProvider/VariablePopupRecordProvider';
|
|
74
|
-
export { useCurrentPopupRecord } from './modules/variable/variablesProvider/VariablePopupRecordProvider';
|
|
75
72
|
export { showFileName } from './modules/fields/component/FileManager/fileManagerComponentFieldSettings';
|
|
73
|
+
export { useCurrentPopupRecord } from './modules/variable/variablesProvider/VariablePopupRecordProvider';
|
|
76
74
|
export { languageCodes } from './locale';
|
|
77
75
|
export { CollectionFieldUISchemaProvider, IsInNocoBaseRecursionFieldContext, NocoBaseRecursionField, RefreshComponentProvider, useRefreshFieldSchema, } from './formily/NocoBaseRecursionField';
|