@byteluck-fe/runtime-engine 7.0.0-beta.23 → 7.0.0-beta.25
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/runtime-engine.js +5970 -5896
- package/dist/src/entry_desktop/controls/components/subtable-ag-grid/hooks/useAgGrid.d.ts +2 -0
- package/dist/src/entry_desktop/controls/rok-list-view-title/rule-filter/sok-advanced-filter/utils/date-picker.d.ts +1 -1
- package/dist/src/entry_desktop/controls/rok-list-view-title/rule-filter/sok-advanced-filter/utils/date-range.d.ts +1 -1
- package/dist/src/entry_desktop/controls/rok-simple-search/layout.d.ts +46 -0
- package/dist/src/entry_desktop/controls/rok-simple-search/useSearchContainerHeight.d.ts +1 -0
- package/dist/src/entry_mobile/controls/rok-attachment/hook-file-base.d.ts +2 -1
- package/dist/src/entry_mobile/controls/rok-date-picker/hook.d.ts +3 -2
- package/dist/src/services/api.d.ts +2 -1
- package/dist/src/services/infoAuto.d.ts +10 -4
- package/dist/src/utils/closeGuard.d.mts +4 -0
- package/dist/src/utils/controls/dateUtils.d.ts +1 -1
- package/dist/src/utils/controls/listViewConfigViews.d.ts +10 -0
- package/dist/src/utils/controls/preview.d.ts +1 -0
- package/dist/src/utils/controls/selectOptions.d.ts +6 -0
- package/dist/src/utils/controls/subtableDealTableColumn.d.ts +2 -0
- package/dist/src/utils/core/crossMessageProcessor.d.ts +1 -0
- package/dist/src/utils/tools/getCachedApplyRender.d.ts +2 -1
- package/dist/src/utils/tools/getCachedCurrentUser.d.ts +1 -1
- package/package.json +1 -1
|
@@ -55,8 +55,10 @@ export default function useAgGrid(props: BasicType, emit: any): {
|
|
|
55
55
|
}>>, {}, {}>;
|
|
56
56
|
};
|
|
57
57
|
} & {
|
|
58
|
+
pagination?: boolean | undefined;
|
|
58
59
|
paginationPageSize?: number | undefined;
|
|
59
60
|
onPaginationChanged?: ((event: any) => void) | undefined;
|
|
61
|
+
singleClickEdit?: boolean | undefined;
|
|
60
62
|
};
|
|
61
63
|
subtableHeight: ComputedRef<string | String>;
|
|
62
64
|
getRowStyle: () => {
|
|
@@ -7,7 +7,7 @@ export default function (props: any, emit: any): {
|
|
|
7
7
|
updateDateValue: (val: string | number | '') => void;
|
|
8
8
|
disabledDate: (current: any) => boolean;
|
|
9
9
|
disabledYear: (year: any) => any;
|
|
10
|
-
formatValue: (value: string | undefined | number) =>
|
|
10
|
+
formatValue: (value: string | undefined | number) => string;
|
|
11
11
|
handleYearChange: (value: any) => void;
|
|
12
12
|
handlePickerClick: () => void;
|
|
13
13
|
handleDateChange: (value: any) => void;
|
|
@@ -15,7 +15,7 @@ export default function (params: {
|
|
|
15
15
|
isOpen: Ref<boolean>;
|
|
16
16
|
labelValue: (val: any) => string;
|
|
17
17
|
handleOpenChange: (status: boolean) => void;
|
|
18
|
-
formatValue: (value: any) =>
|
|
18
|
+
formatValue: (value: any) => string[];
|
|
19
19
|
handleDateChange: (val: any) => void;
|
|
20
20
|
handlePanelChange: (val: any[], modeType: any) => void;
|
|
21
21
|
onOpenChange: (visible: boolean) => void;
|
|
@@ -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;
|
|
@@ -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:
|
|
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__;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { ShallowRef, ComputedRef, Ref } from 'vue';
|
|
2
|
-
import { ControlPropertyInstance, ControlRuntimeInstance, PAGE_STATUS,
|
|
2
|
+
import { ControlPropertyInstance, ControlRuntimeInstance, PAGE_STATUS, PropertyRuntimeRules, LimitDate } from '@byteluck-fe/model-driven-core-all';
|
|
3
3
|
|
|
4
|
+
export declare const parseDatePickerValue: (value: string | undefined | number) => number | undefined;
|
|
4
5
|
export default function (instanceProps: ShallowRef<ControlPropertyInstance<'date-picker'>>, instance: ControlRuntimeInstance<'date-picker'>, value: string | undefined, rowIndex: number | undefined): {
|
|
5
6
|
pageStatus: ComputedRef<PAGE_STATUS>;
|
|
6
7
|
isDisabled: ComputedRef<boolean>;
|
|
7
8
|
placeholder: ComputedRef<any>;
|
|
8
9
|
isEditable: ComputedRef<boolean>;
|
|
9
|
-
dateType: ComputedRef<
|
|
10
|
+
dateType: ComputedRef<"datetime" | "datemin" | "datehour" | "date" | "month" | "year">;
|
|
10
11
|
updateValue: (value: string | number | object | string[] | number[]) => void;
|
|
11
12
|
formatValue: (value: string | undefined | number) => string;
|
|
12
13
|
minDate: Ref<{
|
|
@@ -26,7 +26,8 @@ export declare function apiInit(): {
|
|
|
26
26
|
default: ServiceAuto;
|
|
27
27
|
portal: PortalServiceAuto;
|
|
28
28
|
baseAuto: BaseAuto;
|
|
29
|
-
baseInfo:
|
|
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
|
-
|
|
14
|
-
|
|
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
|
}
|
|
@@ -37,7 +37,7 @@ export declare const searchDateRangeSettingList: () => ({
|
|
|
37
37
|
time: number[];
|
|
38
38
|
exclude?: undefined;
|
|
39
39
|
})[];
|
|
40
|
-
declare const formatDateValue: (value: any) =>
|
|
40
|
+
declare const formatDateValue: (value: any) => string;
|
|
41
41
|
declare const computedDisabledDate: (current: any, limitDateList: any, dateType: 'date' | 'datetime' | 'datemin' | 'datehour' | 'month' | 'year' | string) => any;
|
|
42
42
|
declare const boundaryTime: (value: number | string, type?: string) => string[] | "";
|
|
43
43
|
declare const boundaryRange: (range: any, type: any) => string[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface ListViewConfigView {
|
|
2
|
+
id?: string;
|
|
3
|
+
title?: unknown;
|
|
4
|
+
headers?: unknown[];
|
|
5
|
+
filters?: unknown[];
|
|
6
|
+
isCustom?: boolean;
|
|
7
|
+
[key: string]: unknown;
|
|
8
|
+
}
|
|
9
|
+
export declare function getListViewConfigNavList(systemViews?: ListViewConfigView[], customViews?: ListViewConfigView[]): ListViewConfigView[];
|
|
10
|
+
export declare function getInitialListViewConfigView(defaultViewId: string | undefined, systemViews?: ListViewConfigView[], customViews?: ListViewConfigView[]): ListViewConfigView;
|
|
@@ -32,8 +32,10 @@ export declare const subTableCellRenderColumn: (subtableRow?: ControlRuntimeInst
|
|
|
32
32
|
comRowRecord(): {};
|
|
33
33
|
rowIndex(): any;
|
|
34
34
|
instance(): any;
|
|
35
|
+
popoverOverlayClassName(): string;
|
|
35
36
|
}, {
|
|
36
37
|
getState(): any;
|
|
38
|
+
syncControlValue(): void;
|
|
37
39
|
getValue(): any;
|
|
38
40
|
openVirtuallyModel(params: any): void;
|
|
39
41
|
getPopupContainer(): Element | undefined;
|
|
@@ -5,6 +5,7 @@ type CrossDomainMessageType = {
|
|
|
5
5
|
options: any;
|
|
6
6
|
};
|
|
7
7
|
export declare function tryRefreshOpener(message: CrossDomainMessageType): void;
|
|
8
|
+
export declare function closeProcessCenterFormPageModal(): void;
|
|
8
9
|
export declare function refreshListByPath(listPath: string | undefined, options?: {
|
|
9
10
|
clearSelectedRows?: boolean;
|
|
10
11
|
source?: string;
|
|
@@ -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:
|
|
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<
|
|
1
|
+
export declare function getCachedCurrentUser(): Promise<any>;
|