@byteluck-fe/runtime-engine 2.0.1 → 2.0.3

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.
@@ -1,5 +1,5 @@
1
1
  export declare const IMPORT_REPEAT_NAME_SEPARATOR = "#@#";
2
2
  export declare const SubTableTaskPaths: {
3
- title: string;
3
+ title: any;
4
4
  path: string;
5
5
  }[];
@@ -1,9 +1,9 @@
1
1
  export declare const AdressTypeName: Readonly<{
2
- country: string;
3
- province: string;
4
- abroadProvince: string;
5
- city: string;
6
- district: string;
2
+ country: any;
3
+ province: any;
4
+ abroadProvince: any;
5
+ city: any;
6
+ district: any;
7
7
  }>;
8
8
  export declare const SubAdressType: Readonly<{
9
9
  country: "province";
@@ -1,4 +1,4 @@
1
1
  export declare const taskPaths: {
2
- title: string;
2
+ title: any;
3
3
  path: string;
4
4
  }[];
@@ -19,8 +19,8 @@ export declare const useNonePage: (params: {
19
19
  isNoNext: ComputedRef<boolean>;
20
20
  pageConfig: ComputedRef<(typing.FormDataPageRequest$List$PageListDataQuery$$_1 & typing.NoCountSizeDto) | undefined>;
21
21
  cantPrev: ComputedRef<boolean>;
22
- selectedText: ComputedRef<string>;
23
- checkSelectedText: ComputedRef<string>;
22
+ selectedText: ComputedRef<any>;
23
+ checkSelectedText: ComputedRef<any>;
24
24
  gotoPageOfNoCount: (type: string) => void;
25
25
  cantNext: ComputedRef<boolean>;
26
26
  pageInputGetPopupContainer: (triggerNode: any) => any;
@@ -4,6 +4,6 @@ declare let showVirtualOrg: boolean;
4
4
  declare let showExternalOrg: boolean;
5
5
  declare let currentOrgType: OrganizeType;
6
6
  declare let currentDepartmentOrgType: DepartmentType;
7
- declare function newOrgText(): string;
7
+ declare function newOrgText(): any;
8
8
  declare function isOpenNewOrg(): any;
9
9
  export { showVirtualOrg, showExternalOrg, currentOrgType, currentDepartmentOrgType, newOrgText, isOpenNewOrg, };
@@ -11,8 +11,8 @@ export declare function useListApplication(store: any, route: any, router: any,
11
11
  isOpen: Ref<boolean>;
12
12
  eventVal: Ref<{}>;
13
13
  menusData: ComputedRef<{
14
- label: string;
15
- tip: string;
14
+ label: any;
15
+ tip: any;
16
16
  click: () => void;
17
17
  }[]>;
18
18
  cardBarWidth: Ref<string>;
@@ -5,7 +5,7 @@ import { PropsInstanceType } from '../../../constant';
5
5
  export default function (props: PropsInstanceType<CONTROL_TYPE.DEPARTMENT>, instanceProps: ShallowRef<ControlPropertyInstance<CONTROL_TYPE.DEPARTMENT>>): {
6
6
  pageStatus: ComputedRef<PAGE_STATUS>;
7
7
  multiple: ComputedRef<boolean>;
8
- placeholder: ComputedRef<string>;
8
+ placeholder: ComputedRef<any>;
9
9
  isDisabled: ComputedRef<boolean>;
10
10
  showType: ComputedRef<"default" | "tree">;
11
11
  showPersonSearch: Ref<boolean>;
@@ -8,7 +8,7 @@ export default function (props: PropsInstanceType<CONTROL_TYPE.DEPARTMENT2>, get
8
8
  }>, instanceProps: ShallowRef<ControlPropertyInstance<CONTROL_TYPE.DEPARTMENT2>>): {
9
9
  pageStatus: ComputedRef<PAGE_STATUS>;
10
10
  multiple: ComputedRef<boolean>;
11
- placeholder: ComputedRef<string>;
11
+ placeholder: ComputedRef<any>;
12
12
  isDisabled: ComputedRef<boolean>;
13
13
  showType: ComputedRef<"default" | "tree">;
14
14
  showPersonSearch: Ref<boolean>;
@@ -8,7 +8,7 @@ export default function (props: PropsInstanceType<CONTROL_TYPE.ORGANIZATION_SELE
8
8
  }>, instanceProps: ShallowRef<ControlPropertyInstance<CONTROL_TYPE.ORGANIZATION_SELECTION>>): {
9
9
  pageStatus: ComputedRef<PAGE_STATUS>;
10
10
  multiple: ComputedRef<boolean>;
11
- placeholder: ComputedRef<string>;
11
+ placeholder: ComputedRef<any>;
12
12
  isDisabled: ComputedRef<boolean>;
13
13
  showType: ComputedRef<"default" | "tree">;
14
14
  showPersonSearch: Ref<boolean>;
@@ -13,5 +13,5 @@ export default function useDataPagination<T = any>(list: Ref<T[]> | ComputedRef<
13
13
  serverPagination: ComputedRef<boolean>;
14
14
  spinning: Ref<boolean>;
15
15
  setSpinning: (flag: boolean) => void;
16
- showTotal: (total: number) => string;
16
+ showTotal: (total: number) => any;
17
17
  };
@@ -5,8 +5,8 @@ import { PropsInstanceType } from '../../../constant';
5
5
  export declare const useElectronicSignature: (props: PropsInstanceType<CONTROL_TYPE.ELECTRONIC_SIGNATURE>, errorToast: (message: string) => void) => {
6
6
  queryStatus: () => void;
7
7
  signStatus: Ref<{
8
- name: string;
9
- tips: string;
8
+ name: any;
9
+ tips: any;
10
10
  type: string;
11
11
  status: string;
12
12
  }>;
@@ -15,9 +15,9 @@ export declare const useElectronicSignature: (props: PropsInstanceType<CONTROL_T
15
15
  staHover: () => Promise<void>;
16
16
  signMemberLists: Ref<any>;
17
17
  memberSignSta: {
18
- Pending: string;
19
- Completed: string;
20
- Rejected: string;
18
+ Pending: any;
19
+ Completed: any;
20
+ Rejected: any;
21
21
  };
22
22
  loading: Ref<boolean>;
23
23
  mobileShowPopup: Ref<boolean>;
@@ -1,13 +1,13 @@
1
1
  export declare const messageMap: {
2
2
  form: {
3
- saveAs: string;
4
- save: string;
3
+ saveAs: any;
4
+ save: any;
5
5
  };
6
6
  process: {
7
- saveAs: string;
8
- save: string;
7
+ saveAs: any;
8
+ save: any;
9
9
  };
10
10
  opertaion: {
11
- button: string;
11
+ button: any;
12
12
  };
13
13
  };
@@ -1,37 +1,37 @@
1
1
  export declare const dataRangeSettingList: () => ({
2
- label: string;
2
+ label: any;
3
3
  value: string;
4
4
  col: number;
5
5
  time: number[];
6
6
  exclude: string[];
7
7
  } | {
8
- label: string;
8
+ label: any;
9
9
  value: string;
10
10
  col: number;
11
11
  time: number[];
12
12
  exclude?: undefined;
13
13
  })[];
14
14
  export declare const datePickerSettingList: () => ({
15
- label: string;
15
+ label: any;
16
16
  value: string;
17
17
  col: number;
18
18
  time: number;
19
19
  exclude: string[];
20
20
  } | {
21
- label: string;
21
+ label: any;
22
22
  value: string;
23
23
  col: number;
24
24
  time: number;
25
25
  exclude?: undefined;
26
26
  })[];
27
27
  export declare const searchDateRangeSettingList: () => ({
28
- label: string;
28
+ label: any;
29
29
  value: string;
30
30
  col: number;
31
31
  time: number[];
32
32
  exclude: string[];
33
33
  } | {
34
- label: string;
34
+ label: any;
35
35
  value: string;
36
36
  col: number;
37
37
  time: number[];
@@ -1 +1 @@
1
- export declare function formatDecimal(decimal: any, micrometer: boolean, precision: number): string;
1
+ export declare function formatDecimal(decimal: any, micrometer: boolean, precision: number): any;
@@ -1,25 +1,36 @@
1
+ import { default as moment } from 'moment';
2
+ import { default as lodash } from 'lodash';
3
+ import { default as decimal } from 'decimal.js';
4
+ import { default as vant } from 'vant';
5
+ import { AxiosStatic } from 'axios';
1
6
  /// <reference types="@/types/driven" />
2
7
  import * as ModelDrivenCoreAll from '@byteluck-fe/model-driven-core-all';
3
8
  import * as ModelDrivenEngine from '@byteluck-fe/model-driven-engine';
4
9
  import * as GlobalShared from '@byteluck-fe/global-shared';
10
+ import * as CustomControlSdkMain from '@byteluck-fe/custom-control-sdk/main';
11
+ import * as CustomControlSdkMainRuntime from '@byteluck-fe/custom-control-sdk/runtime';
12
+ import * as vue from 'vue';
5
13
  export declare function globalModules(isPc: boolean): {
6
- vue: any;
14
+ vue: typeof vue;
7
15
  '@byteluck-fe/model-driven-core-all': typeof ModelDrivenCoreAll;
8
16
  '@byteluck/model-driven-core-all': typeof ModelDrivenCoreAll;
9
17
  '@byteluck-fe/model-driven-engine': typeof ModelDrivenEngine;
10
18
  '@byteluck/model-driven-engine': typeof ModelDrivenEngine;
11
- moment: any;
12
- lodash: any;
13
- axios: any;
14
- decimal: any;
15
- '@byteluck-fe/custom-control-sdk/main': any;
16
- '@byteluck-fe/custom-control-sdk/runtime': any;
19
+ moment: typeof moment;
20
+ lodash: lodash.LoDashStatic;
21
+ axios: AxiosStatic;
22
+ decimal: typeof decimal;
23
+ '@byteluck-fe/custom-control-sdk/main': typeof CustomControlSdkMain;
24
+ '@byteluck-fe/custom-control-sdk/runtime': typeof CustomControlSdkMainRuntime;
17
25
  '@byteluck-fe/global-shared': typeof GlobalShared;
18
26
  '@byteluck/global-shared': typeof GlobalShared;
19
27
  } & ({
20
- 'ant-design-vue': any;
28
+ 'ant-design-vue': {
29
+ version: string;
30
+ install: (app: vue.App<any>) => vue.App<any>;
31
+ };
21
32
  vant: {};
22
33
  } | {
23
34
  'ant-design-vue': {};
24
- vant: any;
35
+ vant: typeof vant;
25
36
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/runtime-engine",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/runtime-engine.js",