@ibiz/model-core 0.1.38 → 0.1.40

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:固定 }
@@ -1,3 +1,5 @@
1
+ import { IAppBICube } from './iapp-bicube';
2
+ import { IAppBIReport } from './iapp-bireport';
1
3
  import { IModelObject } from '../../imodel-object';
2
4
  /**
3
5
  *
@@ -8,17 +10,17 @@ export interface IAppBIScheme extends IModelObject {
8
10
  /**
9
11
  * 智能立方体集合
10
12
  *
11
- * @type {string[]}
13
+ * @type {IAppBICube[]}
12
14
  * 来源 getPSAppBICubes
13
15
  */
14
- appBICubeIds?: string[];
16
+ appBICubes?: IAppBICube[];
15
17
  /**
16
18
  * 智能报表集合
17
19
  *
18
- * @type {string[]}
20
+ * @type {IAppBIReport[]}
19
21
  * 来源 getPSAppBIReports
20
22
  */
21
- appBIReportIds?: string[];
23
+ appBIReports?: IAppBIReport[];
22
24
  /**
23
25
  * 智能报表唯一标记
24
26
  * @type {string}
@@ -1,4 +1,3 @@
1
- import { IAppBICube } from '../bi/iapp-bicube';
2
1
  import { IAppBIReport } from '../bi/iapp-bireport';
3
2
  import { IAppDEReportItem } from './iapp-dereport-item';
4
3
  import { ILayoutPanel } from '../../control/panel/ilayout-panel';
@@ -9,20 +8,6 @@ import { IDEReport } from '../../dataentity/report/idereport';
9
8
  * @interface IAppDEReport
10
9
  */
11
10
  export interface IAppDEReport extends IDEReport {
12
- /**
13
- * 应用智能报表立方体(运行时内联)
14
- *
15
- * @type {IAppBICube}
16
- * 来源 getInlinePSAppBICube
17
- */
18
- inlineAppBICube?: IAppBICube;
19
- /**
20
- * 应用智能报表(运行时内联)
21
- *
22
- * @type {IAppBIReport}
23
- * 来源 getInlinePSAppBIReport
24
- */
25
- inlineAppBIReport?: IAppBIReport;
26
11
  /**
27
12
  * 应用智能报表立方体
28
13
  *
@@ -33,10 +18,10 @@ export interface IAppDEReport extends IDEReport {
33
18
  /**
34
19
  * 应用智能报表
35
20
  *
36
- * @type {string}
21
+ * @type {IAppBIReport}
37
22
  * 来源 getPSAppBIReport
38
23
  */
39
- appBIReportId?: string;
24
+ appBIReport?: IAppBIReport;
40
25
  /**
41
26
  * 应用智能报表体系
42
27
  *
@@ -8,6 +8,14 @@ import { ILayoutContainer } from '../layout/ilayout-container';
8
8
  * @interface IDashboard
9
9
  */
10
10
  export interface IDashboard extends IAjaxControl, IControlContainer, IDashboardContainer, ILayoutContainer {
11
+ /**
12
+ * 看板定制模式
13
+ * @description 值模式 [部件自定义模式] {0:禁用、 1:启用、 2:启用(支持扩展) }
14
+ * @type {( number | 0 | 1 | 2)}
15
+ * @default 0
16
+ * 来源 getCustomizeMode
17
+ */
18
+ customizeMode?: number | 0 | 1 | 2;
11
19
  /**
12
20
  * 应用动态看板功能
13
21
  *
@@ -65,11 +65,11 @@ export interface IDBPortletPart extends IControl, IAjaxControl, IControlContaine
65
65
  uiactionGroup?: IUIActionGroup;
66
66
  /**
67
67
  * 门户部件类型
68
- * @description 值模式 [云平台门户部件类型(全部)] {LIST:实体列表、 CHART:实体图表、 VIEW:系统视图、 HTML:网页部件、 TOOLBAR:工具栏、 ACTIONBAR:操作栏、 CUSTOM:自定义、 APPMENU:快捷菜单栏、 CONTAINER:布局容器、 RAWITEM:直接内容 }
69
- * @type {( string | 'LIST' | 'CHART' | 'VIEW' | 'HTML' | 'TOOLBAR' | 'ACTIONBAR' | 'CUSTOM' | 'APPMENU' | 'CONTAINER' | 'RAWITEM')}
68
+ * @description 值模式 [云平台门户部件类型(全部)] {LIST:实体列表、 CHART:实体图表、 VIEW:系统视图、 REPORT:实体报表、 HTML:网页部件、 TOOLBAR:工具栏、 ACTIONBAR:操作栏、 CUSTOM:自定义、 APPMENU:快捷菜单栏、 CONTAINER:布局容器、 RAWITEM:直接内容 }
69
+ * @type {( string | 'LIST' | 'CHART' | 'VIEW' | 'REPORT' | 'HTML' | 'TOOLBAR' | 'ACTIONBAR' | 'CUSTOM' | 'APPMENU' | 'CONTAINER' | 'RAWITEM')}
70
70
  * 来源 getPortletType
71
71
  */
72
- portletType?: string | 'LIST' | 'CHART' | 'VIEW' | 'HTML' | 'TOOLBAR' | 'ACTIONBAR' | 'CUSTOM' | 'APPMENU' | 'CONTAINER' | 'RAWITEM';
72
+ portletType?: string | 'LIST' | 'CHART' | 'VIEW' | 'REPORT' | 'HTML' | 'TOOLBAR' | 'ACTIONBAR' | 'CUSTOM' | 'APPMENU' | 'CONTAINER' | 'RAWITEM';
73
73
  /**
74
74
  * 抬头
75
75
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz/model-core",
3
- "version": "0.1.38",
3
+ "version": "0.1.40",
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
  * 放置类型
@@ -1,3 +1,5 @@
1
+ import { IAppBICube } from './iapp-bicube';
2
+ import { IAppBIReport } from './iapp-bireport';
1
3
  import { IModelObject } from '../../imodel-object';
2
4
 
3
5
  /**
@@ -9,18 +11,18 @@ export interface IAppBIScheme extends IModelObject {
9
11
  /**
10
12
  * 智能立方体集合
11
13
  *
12
- * @type {string[]}
14
+ * @type {IAppBICube[]}
13
15
  * 来源 getPSAppBICubes
14
16
  */
15
- appBICubeIds?: string[];
17
+ appBICubes?: IAppBICube[];
16
18
 
17
19
  /**
18
20
  * 智能报表集合
19
21
  *
20
- * @type {string[]}
22
+ * @type {IAppBIReport[]}
21
23
  * 来源 getPSAppBIReports
22
24
  */
23
- appBIReportIds?: string[];
25
+ appBIReports?: IAppBIReport[];
24
26
 
25
27
  /**
26
28
  * 智能报表唯一标记
@@ -1,4 +1,3 @@
1
- import { IAppBICube } from '../bi/iapp-bicube';
2
1
  import { IAppBIReport } from '../bi/iapp-bireport';
3
2
  import { IAppDEReportItem } from './iapp-dereport-item';
4
3
  import { ILayoutPanel } from '../../control/panel/ilayout-panel';
@@ -10,22 +9,6 @@ import { IDEReport } from '../../dataentity/report/idereport';
10
9
  * @interface IAppDEReport
11
10
  */
12
11
  export interface IAppDEReport extends IDEReport {
13
- /**
14
- * 应用智能报表立方体(运行时内联)
15
- *
16
- * @type {IAppBICube}
17
- * 来源 getInlinePSAppBICube
18
- */
19
- inlineAppBICube?: IAppBICube;
20
-
21
- /**
22
- * 应用智能报表(运行时内联)
23
- *
24
- * @type {IAppBIReport}
25
- * 来源 getInlinePSAppBIReport
26
- */
27
- inlineAppBIReport?: IAppBIReport;
28
-
29
12
  /**
30
13
  * 应用智能报表立方体
31
14
  *
@@ -37,10 +20,10 @@ export interface IAppDEReport extends IDEReport {
37
20
  /**
38
21
  * 应用智能报表
39
22
  *
40
- * @type {string}
23
+ * @type {IAppBIReport}
41
24
  * 来源 getPSAppBIReport
42
25
  */
43
- appBIReportId?: string;
26
+ appBIReport?: IAppBIReport;
44
27
 
45
28
  /**
46
29
  * 应用智能报表体系
@@ -13,6 +13,15 @@ export interface IDashboard
13
13
  IControlContainer,
14
14
  IDashboardContainer,
15
15
  ILayoutContainer {
16
+ /**
17
+ * 看板定制模式
18
+ * @description 值模式 [部件自定义模式] {0:禁用、 1:启用、 2:启用(支持扩展) }
19
+ * @type {( number | 0 | 1 | 2)}
20
+ * @default 0
21
+ * 来源 getCustomizeMode
22
+ */
23
+ customizeMode?: number | 0 | 1 | 2;
24
+
16
25
  /**
17
26
  * 应用动态看板功能
18
27
  *
@@ -78,8 +78,8 @@ export interface IDBPortletPart
78
78
 
79
79
  /**
80
80
  * 门户部件类型
81
- * @description 值模式 [云平台门户部件类型(全部)] {LIST:实体列表、 CHART:实体图表、 VIEW:系统视图、 HTML:网页部件、 TOOLBAR:工具栏、 ACTIONBAR:操作栏、 CUSTOM:自定义、 APPMENU:快捷菜单栏、 CONTAINER:布局容器、 RAWITEM:直接内容 }
82
- * @type {( string | 'LIST' | 'CHART' | 'VIEW' | 'HTML' | 'TOOLBAR' | 'ACTIONBAR' | 'CUSTOM' | 'APPMENU' | 'CONTAINER' | 'RAWITEM')}
81
+ * @description 值模式 [云平台门户部件类型(全部)] {LIST:实体列表、 CHART:实体图表、 VIEW:系统视图、 REPORT:实体报表、 HTML:网页部件、 TOOLBAR:工具栏、 ACTIONBAR:操作栏、 CUSTOM:自定义、 APPMENU:快捷菜单栏、 CONTAINER:布局容器、 RAWITEM:直接内容 }
82
+ * @type {( string | 'LIST' | 'CHART' | 'VIEW' | 'REPORT' | 'HTML' | 'TOOLBAR' | 'ACTIONBAR' | 'CUSTOM' | 'APPMENU' | 'CONTAINER' | 'RAWITEM')}
83
83
  * 来源 getPortletType
84
84
  */
85
85
  portletType?:
@@ -87,6 +87,7 @@ export interface IDBPortletPart
87
87
  | 'LIST'
88
88
  | 'CHART'
89
89
  | 'VIEW'
90
+ | 'REPORT'
90
91
  | 'HTML'
91
92
  | 'TOOLBAR'
92
93
  | 'ACTIONBAR'