@cloudbase/cals 1.0.3-alpha.9 → 1.0.4-alpha.0

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.
Files changed (112) hide show
  1. package/lib/parser/cals/index.d.ts +1 -9
  2. package/lib/parser/cals/index.d.ts.map +1 -1
  3. package/lib/parser/cals/index.js +21 -75
  4. package/lib/parser/cals/utils/block/index.d.ts +0 -0
  5. package/lib/parser/cals/utils/block/index.d.ts.map +1 -1
  6. package/lib/parser/cals/utils/block/index.js +7 -3
  7. package/lib/parser/cals/utils/code/index.d.ts +0 -0
  8. package/lib/parser/cals/utils/code/index.d.ts.map +1 -1
  9. package/lib/parser/cals/utils/code/index.js +18 -12
  10. package/lib/parser/cals/utils/common.d.ts +0 -0
  11. package/lib/parser/cals/utils/common.d.ts.map +0 -0
  12. package/lib/parser/cals/utils/common.js +0 -0
  13. package/lib/parser/cals/utils/runtime.d.ts +0 -0
  14. package/lib/parser/cals/utils/runtime.d.ts.map +1 -1
  15. package/lib/parser/cals/utils/runtime.js +5 -2
  16. package/lib/parser/cals/utils/spinoff/index.d.ts +0 -0
  17. package/lib/parser/cals/utils/spinoff/index.d.ts.map +0 -0
  18. package/lib/parser/cals/utils/spinoff/index.js +0 -0
  19. package/lib/parser/cals/utils/style.d.ts +0 -0
  20. package/lib/parser/cals/utils/style.d.ts.map +1 -1
  21. package/lib/parser/cals/utils/style.js +7 -3
  22. package/lib/parser/cals/utils/template.d.ts +0 -0
  23. package/lib/parser/cals/utils/template.d.ts.map +0 -0
  24. package/lib/parser/cals/utils/template.js +0 -0
  25. package/lib/parser/cals/utils/version/common.d.ts +0 -0
  26. package/lib/parser/cals/utils/version/common.d.ts.map +1 -1
  27. package/lib/parser/cals/utils/version/common.js +16 -33
  28. package/lib/parser/cals/utils/version/config.d.ts +0 -0
  29. package/lib/parser/cals/utils/version/config.d.ts.map +0 -0
  30. package/lib/parser/cals/utils/version/config.js +0 -0
  31. package/lib/parser/cals/utils/version/index.d.ts +0 -0
  32. package/lib/parser/cals/utils/version/index.d.ts.map +0 -0
  33. package/lib/parser/cals/utils/version/index.js +0 -0
  34. package/lib/parser/cals/utils/version/parses.d.ts +0 -0
  35. package/lib/parser/cals/utils/version/parses.d.ts.map +1 -1
  36. package/lib/parser/cals/utils/version/parses.js +18 -36
  37. package/lib/parser/cals/utils/version/utils.d.ts +0 -0
  38. package/lib/parser/cals/utils/version/utils.d.ts.map +0 -0
  39. package/lib/parser/cals/utils/version/utils.js +5 -2
  40. package/lib/parser/expression/index.d.ts +0 -0
  41. package/lib/parser/expression/index.d.ts.map +0 -0
  42. package/lib/parser/expression/index.js +0 -0
  43. package/lib/parser/index.d.ts +0 -0
  44. package/lib/parser/index.d.ts.map +0 -0
  45. package/lib/parser/index.js +0 -0
  46. package/lib/parser/plugins/postcss-rpx2clac.js +2 -2
  47. package/lib/types/basic/app.d.ts +0 -0
  48. package/lib/types/basic/app.d.ts.map +0 -0
  49. package/lib/types/basic/app.js +0 -0
  50. package/lib/types/basic/common.d.ts +1 -1
  51. package/lib/types/basic/common.d.ts.map +1 -1
  52. package/lib/types/basic/common.js +0 -0
  53. package/lib/types/basic/component.d.ts +0 -5
  54. package/lib/types/basic/component.d.ts.map +1 -1
  55. package/lib/types/basic/component.js +0 -0
  56. package/lib/types/basic/datasource.d.ts +0 -0
  57. package/lib/types/basic/datasource.d.ts.map +0 -0
  58. package/lib/types/basic/datasource.js +0 -0
  59. package/lib/types/index.d.ts +1 -2
  60. package/lib/types/index.d.ts.map +1 -1
  61. package/lib/types/index.js +14 -1
  62. package/lib/types/lcds.d.ts +324 -211
  63. package/lib/types/lcds.d.ts.map +1 -1
  64. package/lib/types/lcds.js +0 -0
  65. package/lib/types/platform/app.d.ts +0 -0
  66. package/lib/types/platform/app.d.ts.map +0 -0
  67. package/lib/types/platform/app.js +0 -0
  68. package/lib/types/platform/common.d.ts +1 -11
  69. package/lib/types/platform/common.d.ts.map +1 -1
  70. package/lib/types/platform/common.js +0 -0
  71. package/lib/types/platform/component.d.ts +0 -5
  72. package/lib/types/platform/component.d.ts.map +1 -1
  73. package/lib/types/platform/component.js +0 -0
  74. package/lib/types/platform/datasource.d.ts +0 -0
  75. package/lib/types/platform/datasource.d.ts.map +0 -0
  76. package/lib/types/platform/datasource.js +0 -0
  77. package/lib/types/platform/widget/form.d.ts +0 -0
  78. package/lib/types/platform/widget/form.d.ts.map +0 -0
  79. package/lib/types/platform/widget/form.js +0 -0
  80. package/lib/types/platform/widget/meta.d.ts +0 -0
  81. package/lib/types/platform/widget/meta.d.ts.map +0 -0
  82. package/lib/types/platform/widget/meta.js +0 -0
  83. package/lib/utils/CSSProperty.d.ts +0 -0
  84. package/lib/utils/CSSProperty.d.ts.map +0 -0
  85. package/lib/utils/CSSProperty.js +0 -0
  86. package/lib/utils/build.d.ts +0 -0
  87. package/lib/utils/build.d.ts.map +0 -0
  88. package/lib/utils/build.js +3 -3
  89. package/lib/utils/constant.d.ts +0 -0
  90. package/lib/utils/constant.d.ts.map +0 -0
  91. package/lib/utils/constant.js +0 -0
  92. package/lib/utils/dts/auto-generated.d.ts +1 -1
  93. package/lib/utils/dts/auto-generated.d.ts.map +1 -1
  94. package/lib/utils/dts/auto-generated.js +1227 -35
  95. package/lib/utils/dts/build.js +1 -4
  96. package/lib/utils/dts/index.d.ts +41 -4
  97. package/lib/utils/dts/index.d.ts.map +1 -1
  98. package/lib/utils/dts/index.js +384 -66
  99. package/lib/utils/index.d.ts +0 -0
  100. package/lib/utils/index.d.ts.map +0 -0
  101. package/lib/utils/index.js +0 -0
  102. package/lib/utils/version/migrations/version4.js +2 -2
  103. package/package.json +2 -1
  104. package/lib/parser/constants.d.ts +0 -2
  105. package/lib/parser/constants.d.ts.map +0 -1
  106. package/lib/parser/constants.js +0 -4
  107. package/lib/types/platform/eventFlow.d.ts +0 -20
  108. package/lib/types/platform/eventFlow.d.ts.map +0 -1
  109. package/lib/types/platform/eventFlow.js +0 -2
  110. package/lib/types/platform/query.d.ts +0 -58
  111. package/lib/types/platform/query.d.ts.map +0 -1
  112. package/lib/types/platform/query.js +0 -2
@@ -1,20 +0,0 @@
1
- import { IPlatformListener } from './common';
2
- export interface IEventFlow {
3
- /**
4
- * 流程id
5
- */
6
- id: string;
7
- /**
8
- * 流程中文名
9
- */
10
- label?: string;
11
- /**
12
- * 流程描述
13
- */
14
- description?: string;
15
- /**
16
- * 流程响应节点
17
- */
18
- listeners: IPlatformListener[];
19
- }
20
- //# sourceMappingURL=eventFlow.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eventFlow.d.ts","sourceRoot":"","sources":["../../../src/types/platform/eventFlow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,iBAAiB,EAAE,CAAC;CAChC"}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,58 +0,0 @@
1
- import { IPlatformListener } from './common';
2
- /**
3
- * query基类描述
4
- */
5
- interface IQueryBase {
6
- /**
7
- * 必填, 唯一标识
8
- */
9
- id: string;
10
- /**
11
- * 必填, code区的英文标识
12
- */
13
- name: string;
14
- /**
15
- * 选填, code区的中文标识
16
- */
17
- label?: string;
18
- /** 子类型 内置数据模型model 连接器类型apis sql语句类型*/
19
- type: 'model' | 'apis' | 'sql';
20
- /**
21
- * 选填, 额外描述
22
- */
23
- description?: '';
24
- /**
25
- * 必选, 触发时机 自动指当前事件因change等事件自动触发 手动指被其他事件带着触发
26
- */
27
- trigger: 'auto' | 'manual';
28
- /**
29
- * 选填 如果设定了多个监听器需要此逻辑运行
30
- */
31
- listeners?: IPlatformListener[];
32
- }
33
- /**
34
- * 数据源类型查询时定义
35
- */
36
- export interface IDataSourceQuery extends IQueryBase {
37
- /**
38
- * 必填, 绑定的数据源名称/当前已创建的sql标志
39
- */
40
- dataSourceName: string;
41
- /**
42
- * 变量初始化的方法, 集合/单条记录类型变量需有该方法
43
- */
44
- method: IQueryMethod;
45
- }
46
- /**
47
- * 数据源类型查询时 调用方法内部定义
48
- */
49
- interface IQueryMethod {
50
- /** 数据源的方法名称 */
51
- name: string;
52
- /** 如果是sql语句 此处为sql语句模版id */
53
- sqlTemplateId?: string;
54
- /** 方法入参 */
55
- params?: object;
56
- }
57
- export {};
58
- //# sourceMappingURL=query.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../src/types/platform/query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C;;GAEG;AACH,UAAU,UAAU;IAClB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,0CAA0C;IAC1C,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;IAE/B;;OAEG;IACH,WAAW,CAAC,EAAE,EAAE,CAAC;IAEjB;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,QAAQ,CAAC;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,iBAAiB,EAAE,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,MAAM,EAAE,YAAY,CAAC;CACtB;AAED;;GAEG;AACH,UAAU,YAAY;IACpB,eAAe;IACf,IAAI,EAAE,MAAM,CAAC;IACb,4BAA4B;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW;IACX,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });