@byteluck-fe/runtime-engine 7.0.0-beta.25 → 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 +2278 -2260
- 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/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/controls/dateUtils.d.ts +1 -1
- 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
|
@@ -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) => any;
|
|
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) => any[];
|
|
19
19
|
handleDateChange: (val: any) => void;
|
|
20
20
|
handlePanelChange: (val: any[], modeType: any) => void;
|
|
21
21
|
onOpenChange: (visible: boolean) => void;
|
|
@@ -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 {};
|
|
@@ -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) => any;
|
|
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,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';
|