@byteluck-fe/runtime-engine 7.0.0-beta.23 → 7.0.0-beta.24

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.
@@ -0,0 +1,46 @@
1
+ export type SimpleSearchLayoutParams = {
2
+ searchWidth?: number;
3
+ childMinWidth?: number;
4
+ colGap?: number;
5
+ childrenCount: number;
6
+ buttonWidth?: number;
7
+ };
8
+ export type SimpleSearchKeepOneLineLayout = {
9
+ keepOneLineCount?: number;
10
+ buttonColumnSpan: number;
11
+ };
12
+ export type SimpleSearchGridRowsParams = {
13
+ fieldCount: number;
14
+ columnCount?: number;
15
+ buttonColumnSpan?: number;
16
+ };
17
+ export type SimpleSearchGridRows = {
18
+ rowCount: number;
19
+ buttonOnOwnRow: boolean;
20
+ };
21
+ export declare function getSimpleSearchFirstRowFieldCount(params: {
22
+ columnCount?: number;
23
+ buttonColumnSpan?: number;
24
+ fieldCount?: number;
25
+ }): number;
26
+ export declare function getSimpleSearchLayoutOrder(params: {
27
+ fieldCount?: number;
28
+ columnCount?: number;
29
+ buttonColumnSpan?: number;
30
+ }): {
31
+ firstRowFieldCount: number;
32
+ remainingFieldCount: number;
33
+ };
34
+ export declare function getSimpleSearchColumnCount(params: {
35
+ searchWidth?: number;
36
+ childMinWidth?: number;
37
+ colGap?: number;
38
+ }): number;
39
+ export declare function getSimpleSearchButtonColumnSpan(params: {
40
+ buttonWidth?: number;
41
+ childMinWidth?: number;
42
+ colGap?: number;
43
+ columnCount?: number;
44
+ }): number;
45
+ export declare function getSimpleSearchKeepOneLineLayout(params: SimpleSearchLayoutParams): SimpleSearchKeepOneLineLayout;
46
+ export declare function getSimpleSearchGridRows(params: SimpleSearchGridRowsParams): SimpleSearchGridRows;
@@ -3,4 +3,5 @@ import { Ref } from 'vue';
3
3
  export declare function useSearchContainerHeight(params: {
4
4
  props: any;
5
5
  searchRef: Ref<any>;
6
+ buttonColumnSpan?: Ref<number>;
6
7
  }): void;
@@ -16,7 +16,8 @@ export default function (instanceProps: ShallowRef<ControlPropertyInstance<'atta
16
16
  default: __DTS_DEFAULT_0__;
17
17
  portal: __DTS_DEFAULT_1__;
18
18
  baseAuto: __DTS_DEFAULT_2__;
19
- baseInfo: __DTS_DEFAULT_3__;
19
+ baseInfo: __DTS_DEFAULT_2__;
20
+ infoAuto: __DTS_DEFAULT_3__;
20
21
  widgetsAuto: __DTS_DEFAULT_4__;
21
22
  templateAuto: __DTS_DEFAULT_5__;
22
23
  appsCustomAuto: __DTS_DEFAULT_6__;
@@ -26,7 +26,8 @@ export declare function apiInit(): {
26
26
  default: ServiceAuto;
27
27
  portal: PortalServiceAuto;
28
28
  baseAuto: BaseAuto;
29
- baseInfo: infoAuto;
29
+ baseInfo: BaseAuto;
30
+ infoAuto: infoAuto;
30
31
  widgetsAuto: Widgets;
31
32
  templateAuto: template;
32
33
  appsCustomAuto: AppsCustom;
@@ -9,9 +9,15 @@ export default class {
9
9
  http: FetchService;
10
10
  constructor(http: FetchService);
11
11
  /**
12
- * 获取当前登陆人信息
13
- * @method
14
- * @name #GetCurrentUserUserPrivateV1GET
15
- */
12
+ * 只返回用户基本信息,不返回是否是应用管理员、管控台管理员
13
+ * @method
14
+ * @name #GetCurrentUserEmployeePrivateV1POST
15
+ */
16
+ GetCurrentUserEmployeePrivateV1POST(params?: {}): Promise<any>;
17
+ /**
18
+ * 获取当前登陆人信息
19
+ * @method
20
+ * @name #GetCurrentUserUserPrivateV1GET
21
+ */
16
22
  GetCurrentUserUserPrivateV1GET(params?: {}): Promise<any>;
17
23
  }
@@ -11,7 +11,8 @@ declare const api: {
11
11
  default: __DTS_DEFAULT_0__;
12
12
  portal: __DTS_DEFAULT_1__;
13
13
  baseAuto: __DTS_DEFAULT_2__;
14
- baseInfo: __DTS_DEFAULT_3__;
14
+ baseInfo: __DTS_DEFAULT_2__;
15
+ infoAuto: __DTS_DEFAULT_3__;
15
16
  widgetsAuto: __DTS_DEFAULT_4__;
16
17
  templateAuto: __DTS_DEFAULT_5__;
17
18
  appsCustomAuto: __DTS_DEFAULT_6__;
@@ -1 +1 @@
1
- export declare function getCachedCurrentUser(): Promise<typing.PlainResult$CurrentUserInfo$>;
1
+ export declare function getCachedCurrentUser(): Promise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/runtime-engine",
3
- "version": "7.0.0-beta.23",
3
+ "version": "7.0.0-beta.24",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/runtime-engine.js",