@gct-paas/render 0.1.4-dev.10 → 0.1.4-dev.11

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.
@@ -62,7 +62,7 @@ export declare class Events<TContext extends Context = Context> {
62
62
  * @param fun
63
63
  * @returns
64
64
  */
65
- getReadyByFun(fun: FunctionType): Promise<undefined>;
65
+ getReadyByFun(fun?: FunctionType): Promise<undefined>;
66
66
  /**
67
67
  * 流程处理
68
68
  * @param processDateValue
@@ -11,9 +11,9 @@ import { transformData, transformSourceData } from '../utils/model-transformer.m
11
11
  import '../utils/expression/index.mjs';
12
12
  import 'qs';
13
13
  import { BizService, $httpBizService, $request } from './bizServiceRequest.mjs';
14
+ import { globalLoading } from './utils/globalLoading.mjs';
14
15
  import { ProcessAppRovedData } from './utils/processRovedInfo.mjs';
15
16
  import { Globals } from './utils/runGlobalByPage.mjs';
16
- import { globalLoading } from './utils/globalLoading.mjs';
17
17
 
18
18
  class Events {
19
19
  context;
@@ -1,5 +1,5 @@
1
- import { LowCodeWidget } from '@gct-paas/schema';
2
- export declare function useStyle(widget: LowCodeWidget.BasicSchema): {
1
+ import { LowCodeWidget, RuntimeModal } from '@gct-paas/schema';
2
+ export declare function useStyle(widget: LowCodeWidget.BasicSchema | RuntimeModal): {
3
3
  wrapperStyle: IObject;
4
4
  wStyle: IObject;
5
5
  labelFont: IObject;
@@ -1,7 +1,8 @@
1
1
  import { propsToStyle, generateWrapperStyle, extractFontStyle } from '@gct-paas/schema';
2
2
 
3
3
  function useStyle(widget) {
4
- const { style = {}, ignoringStyle = [] } = widget || {};
4
+ const { style = {} } = widget || {};
5
+ const ignoringStyle = "ignoringStyle" in widget ? widget.ignoringStyle ?? [] : [];
5
6
  const wStyle = propsToStyle(style);
6
7
  const wrapperStyle = generateWrapperStyle(style, ignoringStyle);
7
8
  const labelFont = extractFontStyle(style.labelFont);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/render",
3
- "version": "0.1.4-dev.10",
3
+ "version": "0.1.4-dev.11",
4
4
  "type": "module",
5
5
  "description": "paas 平台网页端底包",
6
6
  "main": "dist/index.min.cjs",
@@ -45,11 +45,11 @@
45
45
  "publish:npm": "npm run build && npm publish --access public --registry=https://registry.npmjs.org/"
46
46
  },
47
47
  "dependencies": {
48
- "@gct-paas/api": "0.1.0-dev.8",
49
- "@gct-paas/core": "0.1.4-dev.10",
50
- "@gct-paas/core-web": "0.1.4-dev.10",
51
- "@gct-paas/schema": "0.1.4-dev.10",
52
- "@gct-paas/scss": "0.1.4-dev.10",
48
+ "@gct-paas/api": "^0.1.1",
49
+ "@gct-paas/core": "0.1.4-dev.11",
50
+ "@gct-paas/core-web": "0.1.4-dev.11",
51
+ "@gct-paas/schema": "0.1.4-dev.11",
52
+ "@gct-paas/scss": "0.1.4-dev.11",
53
53
  "@vueuse/core": "^14.1.0",
54
54
  "axios": "^1.13.2",
55
55
  "bignumber.js": "^10.0.2",
@@ -62,11 +62,11 @@
62
62
  "vue": "^3.5.29"
63
63
  },
64
64
  "devDependencies": {
65
- "@gct-paas/build": "^0.1.5-dev.8",
65
+ "@gct-paas/build": "^0.1.5-dev.9",
66
66
  "@types/escodegen": "^0.0.10",
67
67
  "@types/estraverse": "^5.1.7",
68
68
  "@types/estree": "^1.0.8",
69
69
  "@types/qs": "^6.14.0"
70
70
  },
71
- "gitHead": "e707c6d6332e7e83a3d5df97b37f619065d8ea39"
71
+ "gitHead": "6b0fd87c1a7799aa228f40b160e53a7358c25186"
72
72
  }