@byteluck-fe/runtime-engine 7.0.1-beta.8 → 7.0.1-beta.9

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.
@@ -0,0 +1,6 @@
1
+ export type RuntimeLabelLayout = 'horizontal' | 'vertical';
2
+ /**
3
+ * Runtime 历史语义:只有显式 top 使用上下布局,缺失、undefined 及其它值均使用左右布局。
4
+ * 这是已发布历史页面的最终用户行为基准,Designer 应通过公共 catalog 与它对齐。
5
+ */
6
+ export declare function resolveRuntimeLabelLayout(labelPosition: unknown): RuntimeLabelLayout;
@@ -9,7 +9,7 @@ export default function (props: PropsInstanceType<CONTROL_TYPE.SEARCH_DATE_RANGE
9
9
  isDisabled: ComputedRef<boolean>;
10
10
  dateType: ComputedRef<DateType>;
11
11
  formatValue: (value: any) => string[] | "";
12
- labelValue: (val: any) => any;
12
+ labelValue: (val?: any) => any;
13
13
  updateCtrlValue: (val: any) => void;
14
14
  isReadonly: ComputedRef<boolean>;
15
15
  rules: ComputedRef<PropertyRuntimeRules>;
@@ -1,8 +1,6 @@
1
- import { ComputedRef } from 'vue';
1
+ import { MenuContextProps } from '../../../packages/runtime-mobile-controls/src/menuContext';
2
2
 
3
- export interface MenuContextProps {
4
- isShowMenu: ComputedRef<boolean>;
5
- }
3
+ export type { MenuContextProps } from '../../../packages/runtime-mobile-controls/src/menuContext';
6
4
  export declare function createMenuContext(context: MenuContextProps): {
7
5
  state: any;
8
6
  };
@@ -33,6 +33,7 @@ export declare function useApprovalForm(handlerRenderError: (error: {
33
33
  isTodoOrDone: ComputedRef<boolean>;
34
34
  engine: Ref<Engine | undefined>;
35
35
  onEngineInit: (context: Engine) => void;
36
+ resetEngineAfterError: () => void;
36
37
  isEngineMounted: ComputedRef<boolean>;
37
38
  engineState: ComputedRef<any>;
38
39
  onBeforeBtnClick: (clickedBtn: {
@@ -21,5 +21,6 @@ export declare function usePageForm(handlerError: (error: {
21
21
  isVuePage: ComputedRef<boolean>;
22
22
  isFreePage: ComputedRef<boolean>;
23
23
  onEngineInit: (engine: Engine) => void;
24
+ resetEngineAfterError: () => void;
24
25
  isEngineMounted: ComputedRef<boolean>;
25
26
  };
@@ -32,6 +32,7 @@ export declare function useProcessForm(handlerRenderError: (error: {
32
32
  dataCode: ComputedRef<any>;
33
33
  engine: Ref<Engine | undefined>;
34
34
  onEngineInit: (context: Engine) => Promise<void>;
35
+ resetEngineAfterError: () => void;
35
36
  isEngineMounted: ComputedRef<boolean>;
36
37
  engineState: ComputedRef<any>;
37
38
  };
@@ -1,3 +1,4 @@
1
+ export declare function isValidTimestampValue(value: any): boolean;
1
2
  declare const _default: {
2
3
  splitDate(timestamp: any): {
3
4
  y: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/runtime-engine",
3
- "version": "7.0.1-beta.8",
3
+ "version": "7.0.1-beta.9",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/runtime-engine.js",