@nocobase/client 1.8.6 → 1.8.8
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/index.mjs +2117 -2090
- package/es/route-switch/antd/admin-layout/index.d.ts +1 -0
- package/es/route-switch/antd/admin-layout/useDeleteRouteSchema.d.ts +11 -0
- package/es/schema-component/antd/page/pagePopupUtils.d.ts +2 -1
- package/es/schema-settings/VariableInput/hooks/useDateVariable.d.ts +1 -1
- package/lib/index.js +70 -70
- package/lib/locale/zh-CN.js +2 -1
- package/package.json +5 -5
|
@@ -10,6 +10,7 @@ import React, { FC } from 'react';
|
|
|
10
10
|
import { Plugin } from '../../../application/Plugin';
|
|
11
11
|
import { KeepAlive, useKeepAlive } from './KeepAlive';
|
|
12
12
|
import { NocoBaseDesktopRoute, NocoBaseDesktopRouteType } from './convertRoutesToSchema';
|
|
13
|
+
export * from './useDeleteRouteSchema';
|
|
13
14
|
export { KeepAlive, NocoBaseDesktopRouteType, useKeepAlive };
|
|
14
15
|
export declare const NocoBaseRouteContext: React.Context<NocoBaseDesktopRoute>;
|
|
15
16
|
export declare const CurrentRouteProvider: FC<{
|
|
@@ -0,0 +1,11 @@
|
|
|
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 function useDeleteRouteSchema(collectionName?: string): {
|
|
10
|
+
deleteRouteSchema: (schemaUid: string) => Promise<any>;
|
|
11
|
+
};
|
|
@@ -47,8 +47,9 @@ export declare const getStoredPopupContext: (popupUid: string) => PopupContextSt
|
|
|
47
47
|
* will directly retrieve the context information from the cache instead of making an API request.
|
|
48
48
|
* @param popupUid
|
|
49
49
|
* @param params
|
|
50
|
+
* @param isDefault - Determines whether to store the context as a default value in `defaultPopupsContextStorage`
|
|
50
51
|
*/
|
|
51
|
-
export declare const storePopupContext: (popupUid: string, params: PopupContextStorage) => void;
|
|
52
|
+
export declare const storePopupContext: (popupUid: string, params: PopupContextStorage, isDefault?: boolean) => void;
|
|
52
53
|
export declare const deletePopupContext: (popupUid: string) => void;
|
|
53
54
|
export declare const getBlockService: (popupUid: string) => {
|
|
54
55
|
service: any;
|