@ibiz/model-core 0.1.61 → 0.1.63

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.
@@ -1,10 +1,10 @@
1
- import { IModelObject } from '../../imodel-object';
1
+ import { IDEMapAction } from '../../dataentity/datamap/idemap-action';
2
2
  /**
3
3
  *
4
4
  * @export
5
5
  * @interface IAppDEMapAction
6
6
  */
7
- export interface IAppDEMapAction extends IModelObject {
7
+ export interface IAppDEMapAction extends IDEMapAction {
8
8
  /**
9
9
  * 目标应用实体行为
10
10
  *
@@ -1,10 +1,10 @@
1
- import { IModelObject } from '../../imodel-object';
1
+ import { IDEMapDataSet } from '../../dataentity/datamap/idemap-data-set';
2
2
  /**
3
3
  *
4
4
  * @export
5
5
  * @interface IAppDEMapDataSet
6
6
  */
7
- export interface IAppDEMapDataSet extends IModelObject {
7
+ export interface IAppDEMapDataSet extends IDEMapDataSet {
8
8
  /**
9
9
  * 目标应用实体数据集
10
10
  *
@@ -1,10 +1,10 @@
1
- import { IModelObject } from '../../imodel-object';
1
+ import { IDEMapField } from '../../dataentity/datamap/idemap-field';
2
2
  /**
3
3
  *
4
4
  * @export
5
5
  * @interface IAppDEMapField
6
6
  */
7
- export interface IAppDEMapField extends IModelObject {
7
+ export interface IAppDEMapField extends IDEMapField {
8
8
  /**
9
9
  * 目标应用实体属性
10
10
  *
@@ -1,10 +1,10 @@
1
- import { IModelObject } from '../../imodel-object';
1
+ import { IDEMap } from '../../dataentity/datamap/idemap';
2
2
  /**
3
3
  *
4
4
  * @export
5
5
  * @interface IAppDEMap
6
6
  */
7
- export interface IAppDEMap extends IModelObject {
7
+ export interface IAppDEMap extends IDEMap {
8
8
  /**
9
9
  * 目标应用实体
10
10
  *
@@ -22,6 +22,20 @@ export interface IDEToolbarItem extends IControlItem {
22
22
  * 来源 getCaption
23
23
  */
24
24
  caption?: string;
25
+ /**
26
+ * 计数器标识
27
+ * @type {string}
28
+ * 来源 getCounterId
29
+ */
30
+ counterId?: string;
31
+ /**
32
+ * 计数器模式
33
+ * @description 值模式 [树节点计数器类型] {0:默认、 1:0 值时隐藏 }
34
+ * @type {( number | 0 | 1)}
35
+ * @default 0
36
+ * 来源 getCounterMode
37
+ */
38
+ counterMode?: number | 0 | 1;
25
39
  /**
26
40
  * 项直接样式
27
41
  * @type {string}
@@ -0,0 +1,7 @@
1
+ import { IModelObject } from '../../imodel-object';
2
+ /**
3
+ *
4
+ * @export
5
+ * @interface IDEMapAction
6
+ */
7
+ export type IDEMapAction = IModelObject;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ import { IModelObject } from '../../imodel-object';
2
+ /**
3
+ *
4
+ * @export
5
+ * @interface IDEMapDataSet
6
+ */
7
+ export type IDEMapDataSet = IModelObject;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,39 @@
1
+ import { IModelObject } from '../../imodel-object';
2
+ /**
3
+ *
4
+ * @export
5
+ * @interface IDEMapField
6
+ */
7
+ export interface IDEMapField extends IModelObject {
8
+ /**
9
+ * 目标属性名称
10
+ * @type {string}
11
+ * 来源 getDstFieldName
12
+ */
13
+ dstFieldName?: string;
14
+ /**
15
+ * 表达式
16
+ * @type {string}
17
+ * 来源 getExpression
18
+ */
19
+ expression?: string;
20
+ /**
21
+ * 映射类型
22
+ * @description 值模式 [实体映射属性源值类型] {FIELD:属性等价、 VALUE:直接值到目标属性、 EXPRESSION:计算值到目标属性、 VALUE_SRC:直接值到源属性、 EXPRESSION_SRC:计算值到源属性 }
23
+ * @type {( string | 'FIELD' | 'VALUE' | 'EXPRESSION' | 'VALUE_SRC' | 'EXPRESSION_SRC')}
24
+ * 来源 getMapType
25
+ */
26
+ mapType?: string | 'FIELD' | 'VALUE' | 'EXPRESSION' | 'VALUE_SRC' | 'EXPRESSION_SRC';
27
+ /**
28
+ * 直接值
29
+ * @type {string}
30
+ * 来源 getRawValue
31
+ */
32
+ rawValue?: string;
33
+ /**
34
+ * 源属性名称
35
+ * @type {string}
36
+ * 来源 getSrcFieldName
37
+ */
38
+ srcFieldName?: string;
39
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,27 @@
1
+ import { IModelObject } from '../../imodel-object';
2
+ /**
3
+ *
4
+ * @export
5
+ * @interface IDEMap
6
+ */
7
+ export interface IDEMap extends IModelObject {
8
+ /**
9
+ * 代码标识
10
+ * @type {string}
11
+ * 来源 getCodeName
12
+ */
13
+ codeName?: string;
14
+ /**
15
+ * 逻辑名称
16
+ * @type {string}
17
+ * 来源 getLogicName
18
+ */
19
+ logicName?: string;
20
+ /**
21
+ * 启用
22
+ * @type {boolean}
23
+ * @default true
24
+ * 来源 isValid
25
+ */
26
+ valid?: boolean;
27
+ }
@@ -0,0 +1 @@
1
+ export {};
package/out/exports.d.ts CHANGED
@@ -647,6 +647,10 @@ export { IDEDataExport } from './dataentity/dataexport/idedata-export';
647
647
  export { IDEDataExportItem } from './dataentity/dataexport/idedata-export-item';
648
648
  export { IDEDataImport } from './dataentity/dataimport/idedata-import';
649
649
  export { IDEDataImportItem } from './dataentity/dataimport/idedata-import-item';
650
+ export { IDEMap } from './dataentity/datamap/idemap';
651
+ export { IDEMapAction } from './dataentity/datamap/idemap-action';
652
+ export { IDEMapDataSet } from './dataentity/datamap/idemap-data-set';
653
+ export { IDEMapField } from './dataentity/datamap/idemap-field';
650
654
  export { IDEAppendParamLogic } from './dataentity/logic/ideappend-param-logic';
651
655
  export { IDEBeginLogic } from './dataentity/logic/idebegin-logic';
652
656
  export { IDEBindParamLogic } from './dataentity/logic/idebind-param-logic';
@@ -54,6 +54,12 @@ export interface IUIAction extends INavigateParamContainer {
54
54
  * 来源 getConfirmMsg
55
55
  */
56
56
  confirmMsg?: string;
57
+ /**
58
+ * 计数项标识
59
+ * @type {string}
60
+ * 来源 getCounterId
61
+ */
62
+ counterId?: string;
57
63
  /**
58
64
  * 数据访问权限
59
65
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz/model-core",
3
- "version": "0.1.61",
3
+ "version": "0.1.63",
4
4
  "license": "MIT",
5
5
  "description": "动态模型接口",
6
6
  "type": "module",
@@ -1,11 +1,11 @@
1
- import { IModelObject } from '../../imodel-object';
1
+ import { IDEMapAction } from '../../dataentity/datamap/idemap-action';
2
2
 
3
3
  /**
4
4
  *
5
5
  * @export
6
6
  * @interface IAppDEMapAction
7
7
  */
8
- export interface IAppDEMapAction extends IModelObject {
8
+ export interface IAppDEMapAction extends IDEMapAction {
9
9
  /**
10
10
  * 目标应用实体行为
11
11
  *
@@ -1,11 +1,11 @@
1
- import { IModelObject } from '../../imodel-object';
1
+ import { IDEMapDataSet } from '../../dataentity/datamap/idemap-data-set';
2
2
 
3
3
  /**
4
4
  *
5
5
  * @export
6
6
  * @interface IAppDEMapDataSet
7
7
  */
8
- export interface IAppDEMapDataSet extends IModelObject {
8
+ export interface IAppDEMapDataSet extends IDEMapDataSet {
9
9
  /**
10
10
  * 目标应用实体数据集
11
11
  *
@@ -1,11 +1,11 @@
1
- import { IModelObject } from '../../imodel-object';
1
+ import { IDEMapField } from '../../dataentity/datamap/idemap-field';
2
2
 
3
3
  /**
4
4
  *
5
5
  * @export
6
6
  * @interface IAppDEMapField
7
7
  */
8
- export interface IAppDEMapField extends IModelObject {
8
+ export interface IAppDEMapField extends IDEMapField {
9
9
  /**
10
10
  * 目标应用实体属性
11
11
  *
@@ -1,11 +1,11 @@
1
- import { IModelObject } from '../../imodel-object';
1
+ import { IDEMap } from '../../dataentity/datamap/idemap';
2
2
 
3
3
  /**
4
4
  *
5
5
  * @export
6
6
  * @interface IAppDEMap
7
7
  */
8
- export interface IAppDEMap extends IModelObject {
8
+ export interface IAppDEMap extends IDEMap {
9
9
  /**
10
10
  * 目标应用实体
11
11
  *
@@ -25,6 +25,22 @@ export interface IDEToolbarItem extends IControlItem {
25
25
  */
26
26
  caption?: string;
27
27
 
28
+ /**
29
+ * 计数器标识
30
+ * @type {string}
31
+ * 来源 getCounterId
32
+ */
33
+ counterId?: string;
34
+
35
+ /**
36
+ * 计数器模式
37
+ * @description 值模式 [树节点计数器类型] {0:默认、 1:0 值时隐藏 }
38
+ * @type {( number | 0 | 1)}
39
+ * @default 0
40
+ * 来源 getCounterMode
41
+ */
42
+ counterMode?: number | 0 | 1;
43
+
28
44
  /**
29
45
  * 项直接样式
30
46
  * @type {string}
@@ -0,0 +1,8 @@
1
+ import { IModelObject } from '../../imodel-object';
2
+
3
+ /**
4
+ *
5
+ * @export
6
+ * @interface IDEMapAction
7
+ */
8
+ export type IDEMapAction = IModelObject;
@@ -0,0 +1,8 @@
1
+ import { IModelObject } from '../../imodel-object';
2
+
3
+ /**
4
+ *
5
+ * @export
6
+ * @interface IDEMapDataSet
7
+ */
8
+ export type IDEMapDataSet = IModelObject;
@@ -0,0 +1,50 @@
1
+ import { IModelObject } from '../../imodel-object';
2
+
3
+ /**
4
+ *
5
+ * @export
6
+ * @interface IDEMapField
7
+ */
8
+ export interface IDEMapField extends IModelObject {
9
+ /**
10
+ * 目标属性名称
11
+ * @type {string}
12
+ * 来源 getDstFieldName
13
+ */
14
+ dstFieldName?: string;
15
+
16
+ /**
17
+ * 表达式
18
+ * @type {string}
19
+ * 来源 getExpression
20
+ */
21
+ expression?: string;
22
+
23
+ /**
24
+ * 映射类型
25
+ * @description 值模式 [实体映射属性源值类型] {FIELD:属性等价、 VALUE:直接值到目标属性、 EXPRESSION:计算值到目标属性、 VALUE_SRC:直接值到源属性、 EXPRESSION_SRC:计算值到源属性 }
26
+ * @type {( string | 'FIELD' | 'VALUE' | 'EXPRESSION' | 'VALUE_SRC' | 'EXPRESSION_SRC')}
27
+ * 来源 getMapType
28
+ */
29
+ mapType?:
30
+ | string
31
+ | 'FIELD'
32
+ | 'VALUE'
33
+ | 'EXPRESSION'
34
+ | 'VALUE_SRC'
35
+ | 'EXPRESSION_SRC';
36
+
37
+ /**
38
+ * 直接值
39
+ * @type {string}
40
+ * 来源 getRawValue
41
+ */
42
+ rawValue?: string;
43
+
44
+ /**
45
+ * 源属性名称
46
+ * @type {string}
47
+ * 来源 getSrcFieldName
48
+ */
49
+ srcFieldName?: string;
50
+ }
@@ -0,0 +1,30 @@
1
+ import { IModelObject } from '../../imodel-object';
2
+
3
+ /**
4
+ *
5
+ * @export
6
+ * @interface IDEMap
7
+ */
8
+ export interface IDEMap extends IModelObject {
9
+ /**
10
+ * 代码标识
11
+ * @type {string}
12
+ * 来源 getCodeName
13
+ */
14
+ codeName?: string;
15
+
16
+ /**
17
+ * 逻辑名称
18
+ * @type {string}
19
+ * 来源 getLogicName
20
+ */
21
+ logicName?: string;
22
+
23
+ /**
24
+ * 启用
25
+ * @type {boolean}
26
+ * @default true
27
+ * 来源 isValid
28
+ */
29
+ valid?: boolean;
30
+ }
package/src/exports.ts CHANGED
@@ -647,6 +647,10 @@ export { IDEDataExport } from './dataentity/dataexport/idedata-export';
647
647
  export { IDEDataExportItem } from './dataentity/dataexport/idedata-export-item';
648
648
  export { IDEDataImport } from './dataentity/dataimport/idedata-import';
649
649
  export { IDEDataImportItem } from './dataentity/dataimport/idedata-import-item';
650
+ export { IDEMap } from './dataentity/datamap/idemap';
651
+ export { IDEMapAction } from './dataentity/datamap/idemap-action';
652
+ export { IDEMapDataSet } from './dataentity/datamap/idemap-data-set';
653
+ export { IDEMapField } from './dataentity/datamap/idemap-field';
650
654
  export { IDEAppendParamLogic } from './dataentity/logic/ideappend-param-logic';
651
655
  export { IDEBeginLogic } from './dataentity/logic/idebegin-logic';
652
656
  export { IDEBindParamLogic } from './dataentity/logic/idebind-param-logic';
@@ -68,6 +68,13 @@ export interface IUIAction extends INavigateParamContainer {
68
68
  */
69
69
  confirmMsg?: string;
70
70
 
71
+ /**
72
+ * 计数项标识
73
+ * @type {string}
74
+ * 来源 getCounterId
75
+ */
76
+ counterId?: string;
77
+
71
78
  /**
72
79
  * 数据访问权限
73
80
  * @type {string}