@byteluck-fe/runtime-engine 2.0.20 → 2.0.21

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.
@@ -21834,7 +21834,7 @@ class pl extends kn {
21834
21834
  return i;
21835
21835
  });
21836
21836
  let a = "";
21837
- return t && (a = t.props.caption), a = this.engine?.externalParams?.data?.content?.i18n?.local[this.engine?.externalParams?.formKey]?.name ?? this.engine?.externalParams?.data?.name, a;
21837
+ return t && (a = t.props.caption), a = this.engine?.externalParams?.data?.content?.i18n?.local?.[this.engine?.externalParams?.formKey]?.name ?? this.engine?.externalParams?.data?.name, a;
21838
21838
  };
21839
21839
  getTitleOfDefault = (e, t, a) => {
21840
21840
  const n = this.engine.externalParams.formType;
@@ -24678,12 +24678,12 @@ const pw = {
24678
24678
  );
24679
24679
  f = v.initTenant(f, !0, c), i.commit("setTenant", f.data);
24680
24680
  const g = window.localStorage.getItem("locale") || "";
24681
- let P = "runtime,engine,ok-wc-desktop,approval-widgets-desktop";
24682
- if (Ze() || (P = "runtime,engine,ok-wc-mobile,approval-widgets-mobile"), await Wu({
24681
+ let P = "LRT,CMD,CGS,CWD,CAD";
24682
+ if (Ze() || (P = "LRT,CMD,CGS,CWM,CAM"), await Wu({
24683
24683
  locale: g,
24684
24684
  projects: P,
24685
24685
  isPc: Ze(),
24686
- mainProject: "runtime",
24686
+ mainProject: "LRT",
24687
24687
  urlPrefix: window.baitedaBasePath,
24688
24688
  codeOutJson: n
24689
24689
  }), d)
@@ -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: string;
@@ -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>;
@@ -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 function 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;
@@ -7,7 +7,6 @@ import * as ModelDrivenEngine from '@byteluck-fe/model-driven-engine';
7
7
  import * as GlobalShared from '@byteluck-fe/global-shared';
8
8
  import * as CustomControlSdkMain from '@byteluck-fe/custom-control-sdk/main';
9
9
  import * as CustomControlSdkMainRuntime from '@byteluck-fe/custom-control-sdk/runtime';
10
- import * as i18n from '@byteluck-fe/locale-message';
11
10
  import * as vue from 'vue';
12
11
  import * as vant from 'vant';
13
12
  import * as Antd from 'ant-design-vue';
@@ -25,7 +24,7 @@ export declare function globalModules(isPc: boolean): {
25
24
  '@byteluck-fe/custom-control-sdk/runtime': typeof CustomControlSdkMainRuntime;
26
25
  '@byteluck-fe/global-shared': typeof GlobalShared;
27
26
  '@byteluck/global-shared': typeof GlobalShared;
28
- '@byteluck-fe/locale-message': typeof i18n;
27
+ '@byteluck-fe/locale-message': any;
29
28
  } & ({
30
29
  'ant-design-vue': typeof Antd;
31
30
  vant: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/runtime-engine",
3
- "version": "2.0.20",
3
+ "version": "2.0.21",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/runtime-engine.js",