@byteluck-fe/runtime-engine 1.4.0 → 1.6.0
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/src/entry_mobile/hooks/index.d.ts +1 -1
- package/dist/src/hooks/components/listEngineModal/useListEngineModal.d.ts +1 -1
- package/dist/src/hooks/components/useLayout.d.ts +1 -1
- package/dist/src/hooks/controls/listOrganizationSelection/useOrganizationSelection.d.ts +1 -1
- package/dist/src/hooks/controls/listSelectButton/useListSelectButton.d.ts +1 -1
- package/dist/src/hooks/controls/simpleSearch/useSimpleSearch.d.ts +1 -1
- package/dist/src/hooks/views/useApprovalForm.d.ts +1 -1
- package/dist/src/hooks/views/useProcessForm.d.ts +1 -1
- package/dist/src/plugins/engine/DisplayPlugin.d.ts +1 -1
- package/dist/src/plugins/engine/ExpressionPlugin.d.ts +1 -1
- package/dist/src/plugins/engine/JurisdictionPlugin.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from './useHistory';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref, ComputedRef } from 'vue';
|
|
2
|
-
import { SelectStateType } from '
|
|
2
|
+
import { SelectStateType } from './useListSelection';
|
|
3
3
|
import { Engine } from '@byteluck-fe/model-driven-engine';
|
|
4
4
|
interface ListEngineModalProps {
|
|
5
5
|
visible: boolean;
|
|
@@ -7,7 +7,7 @@ export declare function useLayout(instance: RuntimeLayoutControl, params?: {
|
|
|
7
7
|
}): {
|
|
8
8
|
isHide: ComputedRef<boolean>;
|
|
9
9
|
context: Ref<Engine> | undefined;
|
|
10
|
-
getState: (id: string, rowIndex?: number | undefined) =>
|
|
10
|
+
getState: (id: string, rowIndex?: number | undefined) => any;
|
|
11
11
|
getDisplay: (control: any, rowIndex?: number | undefined) => any;
|
|
12
12
|
children: ShallowRef<never[]> | ShallowRef<RuntimeControl[]>;
|
|
13
13
|
allChildren: ShallowRef<RuntimeControl[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
import { SelectStateType } from '
|
|
2
|
+
import { SelectStateType } from '../../components';
|
|
3
3
|
import { ControlRuntimeInstance } from '@byteluck-fe/model-driven-core-all';
|
|
4
4
|
import { Engine } from '@byteluck-fe/model-driven-engine';
|
|
5
5
|
/**
|
|
@@ -4,7 +4,7 @@ import { ControlRuntimeInstance } from '@byteluck-fe/model-driven-core-all';
|
|
|
4
4
|
import { Engine } from '@byteluck-fe/model-driven-engine';
|
|
5
5
|
import { ISearchType } from '../../../types/controls/simple-search';
|
|
6
6
|
export default function useOperate(instance: ControlRuntimeInstance<'simple-search'>, emit: EmitType, formModel: ComputedRef<Record<string, any>>, context?: Engine): {
|
|
7
|
-
handleFormData: () => Promise<false | ISearchType[]
|
|
7
|
+
handleFormData: () => Promise<false | ISearchType[]>;
|
|
8
8
|
rules: ShallowRef<Rules | undefined>;
|
|
9
9
|
formRef: Ref<any>;
|
|
10
10
|
gridTableId: Ref<string>;
|
|
@@ -30,7 +30,7 @@ export declare function useApprovalForm(handlerRenderError: (error: {
|
|
|
30
30
|
engine: Ref<Engine | undefined>;
|
|
31
31
|
onEngineInit: (context: Engine) => void;
|
|
32
32
|
isEngineMounted: ComputedRef<boolean>;
|
|
33
|
-
engineState: ComputedRef<
|
|
33
|
+
engineState: ComputedRef<any>;
|
|
34
34
|
onBeforeBtnClick: (clickedBtn: {
|
|
35
35
|
command_id: string;
|
|
36
36
|
command_type: string;
|
|
@@ -29,5 +29,5 @@ export declare function useProcessForm(handlerRenderError: (error: {
|
|
|
29
29
|
engine: Ref<Engine | undefined>;
|
|
30
30
|
onEngineInit: (context: Engine) => void;
|
|
31
31
|
isEngineMounted: ComputedRef<boolean>;
|
|
32
|
-
engineState: ComputedRef<
|
|
32
|
+
engineState: ComputedRef<any>;
|
|
33
33
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Engine, Plugin } from '@byteluck-fe/model-driven-engine';
|
|
2
|
-
import { DisplayItem } from '
|
|
2
|
+
import { DisplayItem } from './constant';
|
|
3
3
|
export declare class DisplayPlugin implements Plugin {
|
|
4
4
|
pluginName: string;
|
|
5
5
|
private config;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Engine } from '@byteluck-fe/model-driven-engine';
|
|
2
2
|
import { ExpressionItem } from '@byteluck/expression-parser';
|
|
3
|
-
import { DataSource } from '
|
|
3
|
+
import { DataSource } from './DataSourceManagePlugin';
|
|
4
4
|
import { ExpressionBasePlugin } from './ExpressionBasePlugin';
|
|
5
5
|
interface FX {
|
|
6
6
|
[controlId: string]: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Engine, Plugin } from '@byteluck-fe/model-driven-engine';
|
|
2
|
-
import { DisplayItem } from '
|
|
2
|
+
import { DisplayItem } from './constant';
|
|
3
3
|
export declare class JurisdictionPlugin implements Plugin {
|
|
4
4
|
pluginName: string;
|
|
5
5
|
private engine;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/runtime-engine",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/runtime-engine.js",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"build:vite": "vite build",
|
|
13
13
|
"lint": "vue-cli-service lint",
|
|
14
14
|
"release:patch": "vite build && standard-version --release-as patch",
|
|
15
|
-
"release:minor": "vite build
|
|
16
|
-
"release:major": "vite build
|
|
15
|
+
"release:minor": "vite build && standard-version --release-as minor",
|
|
16
|
+
"release:major": "vite build && standard-version --release-as major"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"dist"
|