@nocobase/plugin-mobile 1.6.10 → 1.7.0-alpha.10
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/dist/client/MobileComponentsProvider.d.ts +10 -0
- package/dist/client/adaptor-of-desktop/ActionDrawer.d.ts +9 -0
- package/dist/client/adaptor-of-desktop/FilterAction.d.ts +1 -1
- package/dist/client/index.d.ts +1 -0
- package/dist/client/index.js +1 -1
- package/dist/client/pages/dynamic-page/MobilePage.d.ts +48 -0
- package/dist/client/pages/dynamic-page/components/MobileDatePicker.d.ts +8 -2
- package/dist/client/pages/dynamic-page/content/MobilePageContentContainer.d.ts +1 -0
- package/dist/externalVersion.js +14 -12
- package/dist/locale/nl-NL.json +35 -0
- package/dist/server/plugin.js +4 -4
- package/package.json +2 -2
|
@@ -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 { FC } from 'react';
|
|
10
|
+
export declare const MobileComponentsProvider: FC;
|
|
@@ -6,6 +6,15 @@
|
|
|
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
|
+
import { FC, ReactNode } from 'react';
|
|
10
|
+
export interface MobilePopupProps {
|
|
11
|
+
title?: string;
|
|
12
|
+
visible: boolean;
|
|
13
|
+
minHeight?: number | string;
|
|
14
|
+
onClose: () => void;
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
}
|
|
17
|
+
export declare const MobilePopup: FC<MobilePopupProps>;
|
|
9
18
|
export declare const ActionDrawerUsedInMobile: any;
|
|
10
19
|
/**
|
|
11
20
|
* adapt Action.Drawer to mobile
|
|
@@ -13,7 +13,7 @@ export declare const FilterAction: React.FunctionComponent<any>;
|
|
|
13
13
|
*/
|
|
14
14
|
export declare const useToAdaptFilterActionToMobile: () => void;
|
|
15
15
|
/**
|
|
16
|
-
* 之所以不直接在 mobile-container 中设置 transform
|
|
16
|
+
* 之所以不直接在 mobile-container 中设置 transform,是因为会影响到子页面区块的拖拽功能。
|
|
17
17
|
* @param visible
|
|
18
18
|
* @returns
|
|
19
19
|
*/
|
package/dist/client/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
import { Plugin, RouterManager } from '@nocobase/client';
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import './js-bridge';
|
|
12
|
+
export { MobilePopup } from './adaptor-of-desktop/ActionDrawer';
|
|
12
13
|
export * from './desktop-mode';
|
|
13
14
|
export * from './mobile';
|
|
14
15
|
export * from './mobile-layout';
|