@byteluck-fe/runtime-engine 7.0.0-beta.24 → 7.0.0-beta.26
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 +11140 -11466
- package/dist/src/entry_desktop/controls/components/subtable-ag-grid/hooks/useAgGrid.d.ts +2 -0
- package/dist/src/entry_mobile/controls/rok-date-picker/hook.d.ts +3 -2
- package/dist/src/plugins/engine/ActionUtilsPlugin.d.ts +1 -0
- package/dist/src/plugins/engine/DataViewPlugin.d.ts +2 -2
- package/dist/src/plugins/engine/EventListenerPlugin/type.d.ts +2 -1
- package/dist/src/utils/closeGuard.d.mts +4 -0
- 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/core/customVariables.d.ts +4 -0
- package/dist/src/utils/core/index.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: () => {
|
|
@@ -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<{
|
|
@@ -35,13 +35,13 @@ export declare class DataViewPlugin implements Plugin {
|
|
|
35
35
|
handlerFormSubmit(payload: EventPayload & {
|
|
36
36
|
instance: ControlRuntimeInstance<'data-view'>;
|
|
37
37
|
isSubmit?: any;
|
|
38
|
-
}): Promise<
|
|
38
|
+
}): Promise<typing.PlainResult$OptResDto$ | undefined>;
|
|
39
39
|
private onBeforeSubmit;
|
|
40
40
|
private onBeforeSubmitFormatParams;
|
|
41
41
|
private onAfterSubmit;
|
|
42
42
|
resetIsShow(): void;
|
|
43
43
|
onClickHandle(payload: Required<EventPayload> & {
|
|
44
44
|
instance: ControlRuntimeInstance<'data-view'>;
|
|
45
|
-
}): Promise<
|
|
45
|
+
}): Promise<typing.PlainResult$OptResDto$ | undefined>;
|
|
46
46
|
}
|
|
47
47
|
export {};
|
|
@@ -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;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const CUSTOM_VARIABLE_RIGHT_VALUE_TYPE = "custom-variable";
|
|
2
|
+
export type CustomVariables = Record<string, unknown>;
|
|
3
|
+
export declare function normalizeCustomVariables<T extends Record<string, any>>(params: T): T;
|
|
4
|
+
export declare function hasCustomVariables(params?: Record<string, any> | null): any;
|
|
@@ -3,6 +3,7 @@ export * from './cacheRequest';
|
|
|
3
3
|
export * from './setFormData';
|
|
4
4
|
export * from './setSubtableData';
|
|
5
5
|
export * from './buildFiltersToDataSetValues';
|
|
6
|
+
export * from './customVariables';
|
|
6
7
|
export * from './math';
|
|
7
8
|
export { default as vueApp } from './vueApp';
|
|
8
9
|
export { default as Mitt } from './tinyMitt';
|