@byteluck-fe/runtime-engine 7.0.0-beta.24 → 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 +11093 -11437
- 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_mobile/controls/rok-date-picker/hook.d.ts +3 -2
- 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/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;
|
|
@@ -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<{
|
|
@@ -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;
|