@byteluck-fe/runtime-engine 2.0.25 → 2.0.27

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.
@@ -100,6 +100,10 @@ export interface UpdateLogItem {
100
100
  * 操作时间
101
101
  * */
102
102
  operation_time: string;
103
+ /**
104
+ * 操作时间戳
105
+ * */
106
+ operation_timestamp: number;
103
107
  /**
104
108
  * 操作事件集
105
109
  * */
@@ -108,3 +112,4 @@ export interface UpdateLogItem {
108
112
  export declare type UpdateLogList = UpdateLogItem[];
109
113
  export declare const getDay: (value: string) => string;
110
114
  export declare const getTime: (value: string) => string;
115
+ export declare const timestampFormat: (stamp: number) => string;
@@ -3,12 +3,12 @@ import { ControlPropertyInstance, ControlRuntimeInstance } from '@byteluck-fe/mo
3
3
  import { Engine } from '@byteluck-fe/model-driven-engine';
4
4
 
5
5
  export default function useDataPagination<T = any>(list: Ref<T[]> | ComputedRef<T[]>, pageSize: number, instance: ControlRuntimeInstance<'subtable'>, instanceProps: ShallowRef<ControlPropertyInstance<'subtable'>>, context: Ref<Engine> | undefined, pageChangeCallBack?: (current: number, pageSize: number) => void): {
6
+ setFirstPage: () => Promise<void>;
6
7
  setLastPage: (isDelete?: boolean) => Promise<void>;
7
8
  setPagination: () => number;
8
9
  setCurrentPage: (page: number) => Promise<void>;
9
10
  getTotal: ComputedRef<number>;
10
11
  setPageSize: (pageSize: number) => void;
11
- getEndCurrentPageIndex: ComputedRef<number>;
12
12
  getPaginationList: ComputedRef<T[]>;
13
13
  serverPagination: ComputedRef<boolean>;
14
14
  spinning: Ref<boolean>;
@@ -22,4 +22,5 @@ export declare class ExpressionBasePlugin implements Plugin {
22
22
  getDatasourceValue(paths: string[], caller?: string | null): string | any[];
23
23
  getFormVariables(keys: string[]): any;
24
24
  private GET_CONTEXT_PARAM;
25
+ getLocaleText(key: string, rowNumber: number): any;
25
26
  }
@@ -62,6 +62,7 @@ export declare class ExpressionPlugin extends ExpressionBasePlugin {
62
62
  resetParseResult(controlId: string, prevParseResult: any, propertyKey: string): any;
63
63
  runnerExpressionAndUpdateBeforeSubTableInsert(controlId: string): void;
64
64
  registerDatasourceFunctions(): void;
65
+ getLocaleText(key: string, rowNumber: number): any;
65
66
  registerSystemVariables(): void;
66
67
  getFormControlValue(controlIds: string[]): any;
67
68
  getFormControlValueOfEventListener(controlIds: string[]): any;
@@ -11,6 +11,7 @@ import * as i18n from '@byteluck-fe/locale-message';
11
11
  import * as vue from 'vue';
12
12
  import * as vant from 'vant';
13
13
  import * as Antd from 'ant-design-vue';
14
+ import * as ModelDrivenShared from '@byteluck-fe/model-driven-shared';
14
15
  export declare function globalModules(isPc: boolean): {
15
16
  vue: typeof vue;
16
17
  '@byteluck-fe/model-driven-core-all': typeof ModelDrivenCoreAll;
@@ -26,6 +27,7 @@ export declare function globalModules(isPc: boolean): {
26
27
  '@byteluck-fe/global-shared': typeof GlobalShared;
27
28
  '@byteluck/global-shared': typeof GlobalShared;
28
29
  '@byteluck-fe/locale-message': typeof i18n;
30
+ '@byteluck-fe/model-driven-shared': typeof ModelDrivenShared;
29
31
  } & ({
30
32
  'ant-design-vue': typeof Antd;
31
33
  vant: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/runtime-engine",
3
- "version": "2.0.25",
3
+ "version": "2.0.27",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/runtime-engine.js",