@byteluck-fe/runtime-engine 2.0.29 → 2.0.31
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 +4451 -4109
- package/dist/src/entry_desktop/controls/rok-reference-list/index.d.ts +3 -0
- package/dist/src/entry_desktop/views/list-application/hooks/useListApplication.d.ts +5 -2
- package/dist/src/plugins/engine/ActionUtilsPlugin.d.ts +1 -1
- package/dist/src/utils/controls/formatColumnData.d.ts +1 -1
- package/dist/src/utils/tools/globalModules.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { RouteLocationNormalizedLoadedGeneric, Router } from 'vue-router';
|
|
1
2
|
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
export declare function useListApplication(store: any, route: RouteLocationNormalizedLoadedGeneric, router: Router, tabsRef: any): {
|
|
5
|
+
hasTab: boolean | "" | null;
|
|
4
6
|
appLauncher: ComputedRef<any>;
|
|
5
7
|
isShowMenu: ComputedRef<boolean>;
|
|
6
8
|
collapsed: ComputedRef<any>;
|
|
@@ -17,6 +19,7 @@ export declare function useListApplication(store: any, route: any, router: any,
|
|
|
17
19
|
}[]>;
|
|
18
20
|
cardBarWidth: Ref<string>;
|
|
19
21
|
selectedKeys: Ref<string[]>;
|
|
22
|
+
isOverflowHidden: ComputedRef<boolean>;
|
|
20
23
|
selectedKeysParent: any;
|
|
21
24
|
clearSelectedKeysParent: () => void;
|
|
22
25
|
rightClick: (item: any, event: any) => void;
|
|
@@ -28,7 +28,7 @@ export declare class ActionUtilsPlugin implements Plugin {
|
|
|
28
28
|
getUserInfo(): any;
|
|
29
29
|
getTenant(): any;
|
|
30
30
|
getLanguage(): string;
|
|
31
|
-
getLocaleText(key: string): any;
|
|
31
|
+
getLocaleText(key: string, engine: any, defaultVal: string): any;
|
|
32
32
|
toast(message: string, type?: ToastOptions['type'], show?: ToastOptions['show']): void;
|
|
33
33
|
confirm(title: string, content: any): Promise<unknown>;
|
|
34
34
|
getHttp(path?: string): FetchService;
|
|
@@ -5,6 +5,6 @@ export declare const formatColumnDate: (fullColumns: any[], data: any, key?: str
|
|
|
5
5
|
export declare const commonCellRenderColumns: string[];
|
|
6
6
|
export declare const listColumnsFormatter: (params: ValueGetterParams, cellValue: any) => any;
|
|
7
7
|
export declare const timestampColumnFormatter: (params: ValueGetterParams | undefined, cellInstance: ControlRuntimeInstance<CONTROL_TYPE.TIMESTAMP_COLUMN>, value: any) => string | undefined;
|
|
8
|
-
export declare const decimalColumnFormatter: (params: ValueGetterParams | undefined, cellInstance: RuntimeControl, value: any) =>
|
|
8
|
+
export declare const decimalColumnFormatter: (params: ValueGetterParams | undefined, cellInstance: RuntimeControl, value: any) => any;
|
|
9
9
|
export declare const varcharColumnFormatter: (params: ValueGetterParams | undefined, cellInstance: ControlRuntimeInstance<CONTROL_TYPE.VARCHAR_COLUMN>, value: any) => string;
|
|
10
10
|
export declare const approvalStatusColumnFormatter: (params: ValueGetterParams | undefined, cellInstance: RuntimeControl, value: any) => string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { default as moment } from 'moment';
|
|
2
2
|
import { default as lodash } from 'lodash';
|
|
3
3
|
import { default as decimal } from 'decimal.js';
|
|
4
|
+
import { default as dayjs } from 'dayjs';
|
|
4
5
|
import { AxiosStatic } from 'axios';
|
|
5
6
|
import * as ModelDrivenCoreAll from '@byteluck-fe/model-driven-core-all';
|
|
6
7
|
import * as ModelDrivenEngine from '@byteluck-fe/model-driven-engine';
|
|
@@ -22,6 +23,7 @@ export declare function globalModules(isPc: boolean): {
|
|
|
22
23
|
lodash: lodash.LoDashStatic;
|
|
23
24
|
axios: AxiosStatic;
|
|
24
25
|
decimal: typeof decimal;
|
|
26
|
+
dayjs: typeof dayjs;
|
|
25
27
|
'@byteluck-fe/custom-control-sdk/main': typeof CustomControlSdkMain;
|
|
26
28
|
'@byteluck-fe/custom-control-sdk/runtime': typeof CustomControlSdkMainRuntime;
|
|
27
29
|
'@byteluck-fe/global-shared': typeof GlobalShared;
|