@ibiz/model-core 0.1.37 → 0.1.39

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.
@@ -6,12 +6,38 @@ import { IModelObject } from '../../imodel-object';
6
6
  */
7
7
  export interface IAppBIReportDimension extends IModelObject {
8
8
  /**
9
- * 应用智能立方体维度
9
+ * 维度公式
10
+ * @type {string}
11
+ * 来源 getDimensionFormula
12
+ */
13
+ dimensionFormula?: string;
14
+ /**
15
+ * 维度标记
16
+ * @type {string}
17
+ * 来源 getDimensionTag
18
+ */
19
+ dimensionTag?: string;
20
+ /**
21
+ * 维度类型
22
+ * @description 值模式 [多维分析维度类别] {COMMON:常规、 CALCULATED:动态计算 }
23
+ * @type {( string | 'COMMON' | 'CALCULATED')}
24
+ * 来源 getDimensionType
25
+ */
26
+ dimensionType?: string | 'COMMON' | 'CALCULATED';
27
+ /**
28
+ * 应用代码表对象
29
+ *
30
+ * @type {string}
31
+ * 来源 getPSAppCodeList
32
+ */
33
+ appCodeListId?: string;
34
+ /**
35
+ * 相关应用属性
10
36
  *
11
37
  * @type {string}
12
- * 来源 getPSAppBICubeDimension
38
+ * 来源 getPSAppDEField
13
39
  */
14
- appBICubeDimensionId?: string;
40
+ appDEFieldId?: string;
15
41
  /**
16
42
  * 放置类型
17
43
  * @description 值模式 [智能报表报表项放置类型] {VISIBLE:默认显示、 INVISIBLE:默认隐藏、 FROZEN:固定 }
@@ -13,12 +13,50 @@ export interface IAppBIReportMeasure extends IModelObject {
13
13
  */
14
14
  aggMode?: string | 'SUM' | 'AVG' | 'MAX' | 'MIN' | 'COUNT' | 'EXISTS' | 'NOTEXISTS' | 'GROUP' | 'USER' | 'USER2' | 'USER3' | 'USER4';
15
15
  /**
16
- * 应用智能立方体指标
16
+ * Json值格式化
17
+ * @type {string}
18
+ * 来源 getJsonFormat
19
+ */
20
+ jsonFormat?: string;
21
+ /**
22
+ * 指标公式
23
+ * @type {string}
24
+ * 来源 getMeasureFormula
25
+ */
26
+ measureFormula?: string;
27
+ /**
28
+ * 指标组
29
+ * @type {string}
30
+ * 来源 getMeasureGroup
31
+ */
32
+ measureGroup?: string;
33
+ /**
34
+ * 指标标记
35
+ * @type {string}
36
+ * 来源 getMeasureTag
37
+ */
38
+ measureTag?: string;
39
+ /**
40
+ * 指标类型
41
+ * @description 值模式 [多维分析指标类别] {COMMON:常规、 CALCULATED:动态计算 }
42
+ * @type {( string | 'COMMON' | 'CALCULATED')}
43
+ * 来源 getMeasureType
44
+ */
45
+ measureType?: string | 'COMMON' | 'CALCULATED';
46
+ /**
47
+ * 应用代码表对象
48
+ *
49
+ * @type {string}
50
+ * 来源 getPSAppCodeList
51
+ */
52
+ appCodeListId?: string;
53
+ /**
54
+ * 相关应用属性
17
55
  *
18
56
  * @type {string}
19
- * 来源 getPSAppBICubeMeasure
57
+ * 来源 getPSAppDEField
20
58
  */
21
- appBICubeMeasureId?: string;
59
+ appDEFieldId?: string;
22
60
  /**
23
61
  * 放置类型
24
62
  * @description 值模式 [智能报表报表项放置类型] {VISIBLE:默认显示、 INVISIBLE:默认隐藏、 FROZEN:固定 }
@@ -38,6 +38,7 @@ export interface IAppPortletCat extends IModelObject {
38
38
  /**
39
39
  * 未分组分类
40
40
  * @type {boolean}
41
+ * @default false
41
42
  * 来源 isUngroup
42
43
  */
43
44
  ungroup?: boolean;
@@ -43,6 +43,7 @@ export interface IAppPortlet extends IModelObject {
43
43
  /**
44
44
  * 支持实体数据看板
45
45
  * @type {boolean}
46
+ * @default false
46
47
  * 来源 isEnableDEDashboard
47
48
  */
48
49
  enableDEDashboard?: boolean;
@@ -1,3 +1,4 @@
1
+ import { IAppBIReport } from '../bi/iapp-bireport';
1
2
  import { IAppDEReportItem } from './iapp-dereport-item';
2
3
  import { ILayoutPanel } from '../../control/panel/ilayout-panel';
3
4
  import { IDEReport } from '../../dataentity/report/idereport';
@@ -17,10 +18,10 @@ export interface IAppDEReport extends IDEReport {
17
18
  /**
18
19
  * 应用智能报表
19
20
  *
20
- * @type {string}
21
+ * @type {IAppBIReport}
21
22
  * 来源 getPSAppBIReport
22
23
  */
23
- appBIReportId?: string;
24
+ appBIReport?: IAppBIReport;
24
25
  /**
25
26
  * 应用智能报表体系
26
27
  *
@@ -17,4 +17,10 @@ export interface ISysCounterRef extends IModelObject {
17
17
  * 来源 getTag
18
18
  */
19
19
  tag?: string;
20
+ /**
21
+ * 计算器唯一标记
22
+ * @type {string}
23
+ * 来源 getUniqueTag
24
+ */
25
+ uniqueTag?: string;
20
26
  }
@@ -5,6 +5,12 @@ import { IEditor } from '../ieditor';
5
5
  * @interface ICodeListEditor
6
6
  */
7
7
  export interface ICodeListEditor extends IEditor {
8
+ /**
9
+ * 快速代码表模型
10
+ * @type {string}
11
+ * 来源 getCodeListModel
12
+ */
13
+ codeListModel?: string;
8
14
  /**
9
15
  * 应用代码表对象
10
16
  *
@@ -9,6 +9,7 @@ export interface IAbsoluteLayoutPos extends ILayoutPos {
9
9
  /**
10
10
  * 下方位置
11
11
  * @type {number}
12
+ * @default 0
12
13
  * 来源 getBottom
13
14
  */
14
15
  bottom?: number;
@@ -22,18 +23,21 @@ export interface IAbsoluteLayoutPos extends ILayoutPos {
22
23
  /**
23
24
  * 左侧位置
24
25
  * @type {number}
26
+ * @default 0
25
27
  * 来源 getLeft
26
28
  */
27
29
  left?: number;
28
30
  /**
29
31
  * 右侧位置
30
32
  * @type {number}
33
+ * @default 0
31
34
  * 来源 getRight
32
35
  */
33
36
  right?: number;
34
37
  /**
35
38
  * 上方位置
36
39
  * @type {number}
40
+ * @default 0
37
41
  * 来源 getTop
38
42
  */
39
43
  top?: number;
@@ -16,18 +16,6 @@ export interface IPanelField extends IPanelItem, IEditorContainer {
16
16
  * 来源 getFieldStates
17
17
  */
18
18
  fieldStates?: number | 1 | 2;
19
- /**
20
- * 标签直接样式
21
- * @type {string}
22
- * 来源 getLabelCssStyle
23
- */
24
- labelCssStyle?: string;
25
- /**
26
- * 标签动态样式表
27
- * @type {string}
28
- * 来源 getLabelDynaClass
29
- */
30
- labelDynaClass?: string;
31
19
  /**
32
20
  * 输出代码表配置模式
33
21
  * @description 值模式 [实体属性界面配置输出代码表配置] {0:无、 1:只输出选择项、 2:输出子项 }
@@ -78,6 +66,7 @@ export interface IPanelField extends IPanelItem, IEditorContainer {
78
66
  /**
79
67
  * 隐藏属性项
80
68
  * @type {boolean}
69
+ * @default false
81
70
  * 来源 isHidden
82
71
  */
83
72
  hidden?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz/model-core",
3
- "version": "0.1.37",
3
+ "version": "0.1.39",
4
4
  "license": "MIT",
5
5
  "description": "动态模型接口",
6
6
  "type": "module",
@@ -7,12 +7,42 @@ import { IModelObject } from '../../imodel-object';
7
7
  */
8
8
  export interface IAppBIReportDimension extends IModelObject {
9
9
  /**
10
- * 应用智能立方体维度
10
+ * 维度公式
11
+ * @type {string}
12
+ * 来源 getDimensionFormula
13
+ */
14
+ dimensionFormula?: string;
15
+
16
+ /**
17
+ * 维度标记
18
+ * @type {string}
19
+ * 来源 getDimensionTag
20
+ */
21
+ dimensionTag?: string;
22
+
23
+ /**
24
+ * 维度类型
25
+ * @description 值模式 [多维分析维度类别] {COMMON:常规、 CALCULATED:动态计算 }
26
+ * @type {( string | 'COMMON' | 'CALCULATED')}
27
+ * 来源 getDimensionType
28
+ */
29
+ dimensionType?: string | 'COMMON' | 'CALCULATED';
30
+
31
+ /**
32
+ * 应用代码表对象
33
+ *
34
+ * @type {string}
35
+ * 来源 getPSAppCodeList
36
+ */
37
+ appCodeListId?: string;
38
+
39
+ /**
40
+ * 相关应用属性
11
41
  *
12
42
  * @type {string}
13
- * 来源 getPSAppBICubeDimension
43
+ * 来源 getPSAppDEField
14
44
  */
15
- appBICubeDimensionId?: string;
45
+ appDEFieldId?: string;
16
46
 
17
47
  /**
18
48
  * 放置类型
@@ -28,12 +28,56 @@ export interface IAppBIReportMeasure extends IModelObject {
28
28
  | 'USER4';
29
29
 
30
30
  /**
31
- * 应用智能立方体指标
31
+ * Json值格式化
32
+ * @type {string}
33
+ * 来源 getJsonFormat
34
+ */
35
+ jsonFormat?: string;
36
+
37
+ /**
38
+ * 指标公式
39
+ * @type {string}
40
+ * 来源 getMeasureFormula
41
+ */
42
+ measureFormula?: string;
43
+
44
+ /**
45
+ * 指标组
46
+ * @type {string}
47
+ * 来源 getMeasureGroup
48
+ */
49
+ measureGroup?: string;
50
+
51
+ /**
52
+ * 指标标记
53
+ * @type {string}
54
+ * 来源 getMeasureTag
55
+ */
56
+ measureTag?: string;
57
+
58
+ /**
59
+ * 指标类型
60
+ * @description 值模式 [多维分析指标类别] {COMMON:常规、 CALCULATED:动态计算 }
61
+ * @type {( string | 'COMMON' | 'CALCULATED')}
62
+ * 来源 getMeasureType
63
+ */
64
+ measureType?: string | 'COMMON' | 'CALCULATED';
65
+
66
+ /**
67
+ * 应用代码表对象
68
+ *
69
+ * @type {string}
70
+ * 来源 getPSAppCodeList
71
+ */
72
+ appCodeListId?: string;
73
+
74
+ /**
75
+ * 相关应用属性
32
76
  *
33
77
  * @type {string}
34
- * 来源 getPSAppBICubeMeasure
78
+ * 来源 getPSAppDEField
35
79
  */
36
- appBICubeMeasureId?: string;
80
+ appDEFieldId?: string;
37
81
 
38
82
  /**
39
83
  * 放置类型
@@ -43,6 +43,7 @@ export interface IAppPortletCat extends IModelObject {
43
43
  /**
44
44
  * 未分组分类
45
45
  * @type {boolean}
46
+ * @default false
46
47
  * 来源 isUngroup
47
48
  */
48
49
  ungroup?: boolean;
@@ -49,6 +49,7 @@ export interface IAppPortlet extends IModelObject {
49
49
  /**
50
50
  * 支持实体数据看板
51
51
  * @type {boolean}
52
+ * @default false
52
53
  * 来源 isEnableDEDashboard
53
54
  */
54
55
  enableDEDashboard?: boolean;
@@ -1,3 +1,4 @@
1
+ import { IAppBIReport } from '../bi/iapp-bireport';
1
2
  import { IAppDEReportItem } from './iapp-dereport-item';
2
3
  import { ILayoutPanel } from '../../control/panel/ilayout-panel';
3
4
  import { IDEReport } from '../../dataentity/report/idereport';
@@ -19,10 +20,10 @@ export interface IAppDEReport extends IDEReport {
19
20
  /**
20
21
  * 应用智能报表
21
22
  *
22
- * @type {string}
23
+ * @type {IAppBIReport}
23
24
  * 来源 getPSAppBIReport
24
25
  */
25
- appBIReportId?: string;
26
+ appBIReport?: IAppBIReport;
26
27
 
27
28
  /**
28
29
  * 应用智能报表体系
@@ -19,4 +19,11 @@ export interface ISysCounterRef extends IModelObject {
19
19
  * 来源 getTag
20
20
  */
21
21
  tag?: string;
22
+
23
+ /**
24
+ * 计算器唯一标记
25
+ * @type {string}
26
+ * 来源 getUniqueTag
27
+ */
28
+ uniqueTag?: string;
22
29
  }
@@ -6,6 +6,13 @@ import { IEditor } from '../ieditor';
6
6
  * @interface ICodeListEditor
7
7
  */
8
8
  export interface ICodeListEditor extends IEditor {
9
+ /**
10
+ * 快速代码表模型
11
+ * @type {string}
12
+ * 来源 getCodeListModel
13
+ */
14
+ codeListModel?: string;
15
+
9
16
  /**
10
17
  * 应用代码表对象
11
18
  *
@@ -10,6 +10,7 @@ export interface IAbsoluteLayoutPos extends ILayoutPos {
10
10
  /**
11
11
  * 下方位置
12
12
  * @type {number}
13
+ * @default 0
13
14
  * 来源 getBottom
14
15
  */
15
16
  bottom?: number;
@@ -25,6 +26,7 @@ export interface IAbsoluteLayoutPos extends ILayoutPos {
25
26
  /**
26
27
  * 左侧位置
27
28
  * @type {number}
29
+ * @default 0
28
30
  * 来源 getLeft
29
31
  */
30
32
  left?: number;
@@ -32,6 +34,7 @@ export interface IAbsoluteLayoutPos extends ILayoutPos {
32
34
  /**
33
35
  * 右侧位置
34
36
  * @type {number}
37
+ * @default 0
35
38
  * 来源 getRight
36
39
  */
37
40
  right?: number;
@@ -39,6 +42,7 @@ export interface IAbsoluteLayoutPos extends ILayoutPos {
39
42
  /**
40
43
  * 上方位置
41
44
  * @type {number}
45
+ * @default 0
42
46
  * 来源 getTop
43
47
  */
44
48
  top?: number;
@@ -18,20 +18,6 @@ export interface IPanelField extends IPanelItem, IEditorContainer {
18
18
  */
19
19
  fieldStates?: number | 1 | 2;
20
20
 
21
- /**
22
- * 标签直接样式
23
- * @type {string}
24
- * 来源 getLabelCssStyle
25
- */
26
- labelCssStyle?: string;
27
-
28
- /**
29
- * 标签动态样式表
30
- * @type {string}
31
- * 来源 getLabelDynaClass
32
- */
33
- labelDynaClass?: string;
34
-
35
21
  /**
36
22
  * 输出代码表配置模式
37
23
  * @description 值模式 [实体属性界面配置输出代码表配置] {0:无、 1:只输出选择项、 2:输出子项 }
@@ -89,6 +75,7 @@ export interface IPanelField extends IPanelItem, IEditorContainer {
89
75
  /**
90
76
  * 隐藏属性项
91
77
  * @type {boolean}
78
+ * @default false
92
79
  * 来源 isHidden
93
80
  */
94
81
  hidden?: boolean;