@ibiz/model-core 0.0.17 → 0.0.19

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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,20 @@
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.0.19] - 2023-10-10
11
+
12
+ ### Added
13
+
14
+ - markdown、text-area 支持自填模式、导航参数相关
15
+ - 实体逻辑新增 DECISION 类型
16
+ - 界面逻辑新增 DECISION 类型
17
+
18
+ ## [0.0.18] - 2023-09-20
19
+
20
+ ### Added
21
+
22
+ - IAppPortlet 补充控件接口
23
+
10
24
  ## [0.0.17] - 2023-09-18
11
25
 
12
26
  ### Added
@@ -1,4 +1,5 @@
1
1
  import { IAppPortletCat } from './iapp-portlet-cat';
2
+ import { IControl } from '../../control/icontrol';
2
3
  import { IModelObject } from '../../imodel-object';
3
4
  /**
4
5
  *
@@ -26,6 +27,13 @@ export interface IAppPortlet extends IModelObject {
26
27
  * 来源 getPSAppPortletCat
27
28
  */
28
29
  appPortletCat?: IAppPortletCat;
30
+ /**
31
+ * 控件对象
32
+ *
33
+ * @type {IControl}
34
+ * 来源 getPSControl
35
+ */
36
+ control?: IControl;
29
37
  /**
30
38
  * 支持应用全局数据看板
31
39
  * @type {boolean}
@@ -15,12 +15,12 @@ export interface IAppViewMsg extends IModelObject {
15
15
  codeName?: string;
16
16
  /**
17
17
  * 动态模式
18
- * @description 值模式 [是否] {1:是、 0:否 }
19
- * @type {( number | 1 | 0)}
18
+ * @description 值模式 [视图消息动态模式] {0:静态内容、 1:实体数据集 }
19
+ * @type {( number | 0 | 1)}
20
20
  * @default 0
21
21
  * 来源 getDynamicMode
22
22
  */
23
- dynamicMode?: number | 1 | 0;
23
+ dynamicMode?: number | 0 | 1;
24
24
  /**
25
25
  * 显示消息
26
26
  * @type {string}
@@ -1,3 +1,4 @@
1
+ import { INavigateParamContainer } from '../inavigate-param-container';
1
2
  import { ITextEditor } from './itext-editor';
2
3
  /**
3
4
  *
@@ -5,11 +6,53 @@ import { ITextEditor } from './itext-editor';
5
6
  * @export
6
7
  * @interface IMarkdown
7
8
  */
8
- export interface IMarkdown extends ITextEditor {
9
+ export interface IMarkdown extends ITextEditor, INavigateParamContainer {
9
10
  /**
10
11
  * 功能模式[MODE]{EDIT|PREVIEW|SUBFIELD|PREVIEWONLY}
11
12
  * @type {string}
12
13
  * 来源 getMode
13
14
  */
14
15
  mode?: string;
16
+ /**
17
+ * 应用实体自填模式对象
18
+ *
19
+ * @type {string}
20
+ * 来源 getPSAppDEACMode
21
+ */
22
+ appDEACModeId?: string;
23
+ /**
24
+ * 应用实体结果集对象
25
+ *
26
+ * @type {string}
27
+ * 来源 getPSAppDEDataSet
28
+ */
29
+ appDEDataSetId?: string;
30
+ /**
31
+ * 应用实体对象
32
+ *
33
+ * @type {string}
34
+ * 来源 getPSAppDataEntity
35
+ */
36
+ appDataEntityId?: string;
37
+ /**
38
+ * 选择视图
39
+ *
40
+ * @type {string}
41
+ * 来源 getPickupPSAppView
42
+ */
43
+ pickupAppViewId?: string;
44
+ /**
45
+ * 支持自动填充[AC]
46
+ * @type {boolean}
47
+ * @default false
48
+ * 来源 isEnableAC
49
+ */
50
+ enableAC?: boolean;
51
+ /**
52
+ * 支持选择视图[PICKUPVIEW]
53
+ * @type {boolean}
54
+ * @default false
55
+ * 来源 isEnablePickupView
56
+ */
57
+ enablePickupView?: boolean;
15
58
  }
@@ -1,3 +1,4 @@
1
+ import { INavigateParamContainer } from '../inavigate-param-container';
1
2
  import { ITextEditor } from './itext-editor';
2
3
  /**
3
4
  *
@@ -5,4 +6,47 @@ import { ITextEditor } from './itext-editor';
5
6
  * @export
6
7
  * @interface ITextArea
7
8
  */
8
- export type ITextArea = ITextEditor;
9
+ export interface ITextArea extends ITextEditor, INavigateParamContainer {
10
+ /**
11
+ * 应用实体自填模式对象
12
+ *
13
+ * @type {string}
14
+ * 来源 getPSAppDEACMode
15
+ */
16
+ appDEACModeId?: string;
17
+ /**
18
+ * 应用实体结果集对象
19
+ *
20
+ * @type {string}
21
+ * 来源 getPSAppDEDataSet
22
+ */
23
+ appDEDataSetId?: string;
24
+ /**
25
+ * 应用实体对象
26
+ *
27
+ * @type {string}
28
+ * 来源 getPSAppDataEntity
29
+ */
30
+ appDataEntityId?: string;
31
+ /**
32
+ * 选择视图
33
+ *
34
+ * @type {string}
35
+ * 来源 getPickupPSAppView
36
+ */
37
+ pickupAppViewId?: string;
38
+ /**
39
+ * 支持自动填充[AC]
40
+ * @type {boolean}
41
+ * @default false
42
+ * 来源 isEnableAC
43
+ */
44
+ enableAC?: boolean;
45
+ /**
46
+ * 支持选择视图[PICKUPVIEW]
47
+ * @type {boolean}
48
+ * @default false
49
+ * 来源 isEnablePickupView
50
+ */
51
+ enablePickupView?: boolean;
52
+ }
@@ -1,5 +1,6 @@
1
1
  import { IEditor } from '../ieditor';
2
2
  import { IDEGridColumn } from './idegrid-column';
3
+ import { IDEUIActionGroup } from '../../dataentity/uiaction/ideuiaction-group';
3
4
  /**
4
5
  *
5
6
  * 继承父接口类型值[DEFGRIDCOLUMN]
@@ -79,6 +80,13 @@ export interface IDEGridFieldColumn extends IDEGridColumn {
79
80
  * 来源 getPSDEUIAction
80
81
  */
81
82
  deuiactionId?: string;
83
+ /**
84
+ * 界面行为组
85
+ *
86
+ * @type {IDEUIActionGroup}
87
+ * 来源 getPSDEUIActionGroup
88
+ */
89
+ deuiactionGroup?: IDEUIActionGroup;
82
90
  /**
83
91
  * 多项文本分隔符[TEXTSEPARATOR]
84
92
  * @type {string}
@@ -7,6 +7,38 @@ import { IModelObject } from '../../imodel-object';
7
7
  * @interface IDEACMode
8
8
  */
9
9
  export interface IDEACMode extends IModelObject {
10
+ /**
11
+ * 自填标记
12
+ * @type {string}
13
+ * 来源 getACTag
14
+ */
15
+ actag?: string;
16
+ /**
17
+ * 自填标记2
18
+ * @type {string}
19
+ * 来源 getACTag2
20
+ */
21
+ actag2?: string;
22
+ /**
23
+ * 自填标记3
24
+ * @type {string}
25
+ * 来源 getACTag3
26
+ */
27
+ actag3?: string;
28
+ /**
29
+ * 自填标记4
30
+ * @type {string}
31
+ * 来源 getACTag4
32
+ */
33
+ actag4?: string;
34
+ /**
35
+ * 自填类型
36
+ * @description 值模式 [自动填充类型] {AUTOCOMPLETE:自动填充、 CHATCOMPLETION:聊天补全 }
37
+ * @type {( string | 'AUTOCOMPLETE' | 'CHATCOMPLETION')}
38
+ * @default AUTOCOMPLETE
39
+ * 来源 getACType
40
+ */
41
+ actype?: string | 'AUTOCOMPLETE' | 'CHATCOMPLETION';
10
42
  /**
11
43
  * 代码标识
12
44
  * @type {string}
@@ -0,0 +1,8 @@
1
+ import { IDELogicNode } from './idelogic-node';
2
+ /**
3
+ *
4
+ * 继承父接口类型值[DECISION]
5
+ * @export
6
+ * @interface IDEDecisionLogic
7
+ */
8
+ export type IDEDecisionLogic = IDELogicNode;
@@ -0,0 +1 @@
1
+ export {};
@@ -12,6 +12,12 @@ export interface IDERawCodeLogic extends IDELogicNode {
12
12
  * 来源 getCode
13
13
  */
14
14
  code?: string;
15
+ /**
16
+ * 代码类型
17
+ * @type {string}
18
+ * 来源 getCodeType
19
+ */
20
+ codeType?: string;
15
21
  /**
16
22
  * 目标逻辑参数对象
17
23
  *
@@ -0,0 +1,8 @@
1
+ import { IDEUILogicNode } from './ideuilogic-node';
2
+ /**
3
+ *
4
+ * 继承父接口类型值[DECISION]
5
+ * @export
6
+ * @interface IDEUIDecisionLogic
7
+ */
8
+ export type IDEUIDecisionLogic = IDEUILogicNode;
@@ -0,0 +1 @@
1
+ export {};
package/out/exports.d.ts CHANGED
@@ -630,6 +630,7 @@ export { IDEDEDataQueryLogic } from './dataentity/logic/idededata-query-logic';
630
630
  export { IDEDEDataSetLogic } from './dataentity/logic/idededata-set-logic';
631
631
  export { IDEDELogicLogic } from './dataentity/logic/idedelogic-logic';
632
632
  export { IDEDebugParamLogic } from './dataentity/logic/idedebug-param-logic';
633
+ export { IDEDecisionLogic } from './dataentity/logic/idedecision-logic';
633
634
  export { IDEEndLogic } from './dataentity/logic/ideend-logic';
634
635
  export { IDEFLogic } from './dataentity/logic/ideflogic';
635
636
  export { IDEFilterParam2Logic } from './dataentity/logic/idefilter-param2-logic';
@@ -660,6 +661,7 @@ export { IDEUIDEActionLogic } from './dataentity/logic/ideuideaction-logic';
660
661
  export { IDEUIDEDataSetLogic } from './dataentity/logic/ideuidedata-set-logic';
661
662
  export { IDEUIDELogicLogic } from './dataentity/logic/ideuidelogic-logic';
662
663
  export { IDEUIDebugParamLogic } from './dataentity/logic/ideuidebug-param-logic';
664
+ export { IDEUIDecisionLogic } from './dataentity/logic/ideuidecision-logic';
663
665
  export { IDEUIEndLogic } from './dataentity/logic/ideuiend-logic';
664
666
  export { IDEUILogic } from './dataentity/logic/ideuilogic';
665
667
  export { IDEUILogicLink } from './dataentity/logic/ideuilogic-link';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz/model-core",
3
- "version": "0.0.17",
3
+ "version": "0.0.19",
4
4
  "license": "MIT",
5
5
  "description": "动态模型接口",
6
6
  "type": "module",
@@ -1,4 +1,5 @@
1
1
  import { IAppPortletCat } from './iapp-portlet-cat';
2
+ import { IControl } from '../../control/icontrol';
2
3
  import { IModelObject } from '../../imodel-object';
3
4
 
4
5
  /**
@@ -30,6 +31,14 @@ export interface IAppPortlet extends IModelObject {
30
31
  */
31
32
  appPortletCat?: IAppPortletCat;
32
33
 
34
+ /**
35
+ * 控件对象
36
+ *
37
+ * @type {IControl}
38
+ * 来源 getPSControl
39
+ */
40
+ control?: IControl;
41
+
33
42
  /**
34
43
  * 支持应用全局数据看板
35
44
  * @type {boolean}
@@ -17,12 +17,12 @@ export interface IAppViewMsg extends IModelObject {
17
17
 
18
18
  /**
19
19
  * 动态模式
20
- * @description 值模式 [是否] {1:是、 0:否 }
21
- * @type {( number | 1 | 0)}
20
+ * @description 值模式 [视图消息动态模式] {0:静态内容、 1:实体数据集 }
21
+ * @type {( number | 0 | 1)}
22
22
  * @default 0
23
23
  * 来源 getDynamicMode
24
24
  */
25
- dynamicMode?: number | 1 | 0;
25
+ dynamicMode?: number | 0 | 1;
26
26
 
27
27
  /**
28
28
  * 显示消息
@@ -1,3 +1,4 @@
1
+ import { INavigateParamContainer } from '../inavigate-param-container';
1
2
  import { ITextEditor } from './itext-editor';
2
3
 
3
4
  /**
@@ -6,11 +7,59 @@ import { ITextEditor } from './itext-editor';
6
7
  * @export
7
8
  * @interface IMarkdown
8
9
  */
9
- export interface IMarkdown extends ITextEditor {
10
+ export interface IMarkdown extends ITextEditor, INavigateParamContainer {
10
11
  /**
11
12
  * 功能模式[MODE]{EDIT|PREVIEW|SUBFIELD|PREVIEWONLY}
12
13
  * @type {string}
13
14
  * 来源 getMode
14
15
  */
15
16
  mode?: string;
17
+
18
+ /**
19
+ * 应用实体自填模式对象
20
+ *
21
+ * @type {string}
22
+ * 来源 getPSAppDEACMode
23
+ */
24
+ appDEACModeId?: string;
25
+
26
+ /**
27
+ * 应用实体结果集对象
28
+ *
29
+ * @type {string}
30
+ * 来源 getPSAppDEDataSet
31
+ */
32
+ appDEDataSetId?: string;
33
+
34
+ /**
35
+ * 应用实体对象
36
+ *
37
+ * @type {string}
38
+ * 来源 getPSAppDataEntity
39
+ */
40
+ appDataEntityId?: string;
41
+
42
+ /**
43
+ * 选择视图
44
+ *
45
+ * @type {string}
46
+ * 来源 getPickupPSAppView
47
+ */
48
+ pickupAppViewId?: string;
49
+
50
+ /**
51
+ * 支持自动填充[AC]
52
+ * @type {boolean}
53
+ * @default false
54
+ * 来源 isEnableAC
55
+ */
56
+ enableAC?: boolean;
57
+
58
+ /**
59
+ * 支持选择视图[PICKUPVIEW]
60
+ * @type {boolean}
61
+ * @default false
62
+ * 来源 isEnablePickupView
63
+ */
64
+ enablePickupView?: boolean;
16
65
  }
@@ -1,3 +1,4 @@
1
+ import { INavigateParamContainer } from '../inavigate-param-container';
1
2
  import { ITextEditor } from './itext-editor';
2
3
 
3
4
  /**
@@ -6,4 +7,52 @@ import { ITextEditor } from './itext-editor';
6
7
  * @export
7
8
  * @interface ITextArea
8
9
  */
9
- export type ITextArea = ITextEditor;
10
+ export interface ITextArea extends ITextEditor, INavigateParamContainer {
11
+ /**
12
+ * 应用实体自填模式对象
13
+ *
14
+ * @type {string}
15
+ * 来源 getPSAppDEACMode
16
+ */
17
+ appDEACModeId?: string;
18
+
19
+ /**
20
+ * 应用实体结果集对象
21
+ *
22
+ * @type {string}
23
+ * 来源 getPSAppDEDataSet
24
+ */
25
+ appDEDataSetId?: string;
26
+
27
+ /**
28
+ * 应用实体对象
29
+ *
30
+ * @type {string}
31
+ * 来源 getPSAppDataEntity
32
+ */
33
+ appDataEntityId?: string;
34
+
35
+ /**
36
+ * 选择视图
37
+ *
38
+ * @type {string}
39
+ * 来源 getPickupPSAppView
40
+ */
41
+ pickupAppViewId?: string;
42
+
43
+ /**
44
+ * 支持自动填充[AC]
45
+ * @type {boolean}
46
+ * @default false
47
+ * 来源 isEnableAC
48
+ */
49
+ enableAC?: boolean;
50
+
51
+ /**
52
+ * 支持选择视图[PICKUPVIEW]
53
+ * @type {boolean}
54
+ * @default false
55
+ * 来源 isEnablePickupView
56
+ */
57
+ enablePickupView?: boolean;
58
+ }
@@ -1,5 +1,6 @@
1
1
  import { IEditor } from '../ieditor';
2
2
  import { IDEGridColumn } from './idegrid-column';
3
+ import { IDEUIActionGroup } from '../../dataentity/uiaction/ideuiaction-group';
3
4
 
4
5
  /**
5
6
  *
@@ -91,6 +92,14 @@ export interface IDEGridFieldColumn extends IDEGridColumn {
91
92
  */
92
93
  deuiactionId?: string;
93
94
 
95
+ /**
96
+ * 界面行为组
97
+ *
98
+ * @type {IDEUIActionGroup}
99
+ * 来源 getPSDEUIActionGroup
100
+ */
101
+ deuiactionGroup?: IDEUIActionGroup;
102
+
94
103
  /**
95
104
  * 多项文本分隔符[TEXTSEPARATOR]
96
105
  * @type {string}
@@ -8,6 +8,43 @@ import { IModelObject } from '../../imodel-object';
8
8
  * @interface IDEACMode
9
9
  */
10
10
  export interface IDEACMode extends IModelObject {
11
+ /**
12
+ * 自填标记
13
+ * @type {string}
14
+ * 来源 getACTag
15
+ */
16
+ actag?: string;
17
+
18
+ /**
19
+ * 自填标记2
20
+ * @type {string}
21
+ * 来源 getACTag2
22
+ */
23
+ actag2?: string;
24
+
25
+ /**
26
+ * 自填标记3
27
+ * @type {string}
28
+ * 来源 getACTag3
29
+ */
30
+ actag3?: string;
31
+
32
+ /**
33
+ * 自填标记4
34
+ * @type {string}
35
+ * 来源 getACTag4
36
+ */
37
+ actag4?: string;
38
+
39
+ /**
40
+ * 自填类型
41
+ * @description 值模式 [自动填充类型] {AUTOCOMPLETE:自动填充、 CHATCOMPLETION:聊天补全 }
42
+ * @type {( string | 'AUTOCOMPLETE' | 'CHATCOMPLETION')}
43
+ * @default AUTOCOMPLETE
44
+ * 来源 getACType
45
+ */
46
+ actype?: string | 'AUTOCOMPLETE' | 'CHATCOMPLETION';
47
+
11
48
  /**
12
49
  * 代码标识
13
50
  * @type {string}
@@ -0,0 +1,9 @@
1
+ import { IDELogicNode } from './idelogic-node';
2
+
3
+ /**
4
+ *
5
+ * 继承父接口类型值[DECISION]
6
+ * @export
7
+ * @interface IDEDecisionLogic
8
+ */
9
+ export type IDEDecisionLogic = IDELogicNode
@@ -14,6 +14,13 @@ export interface IDERawCodeLogic extends IDELogicNode {
14
14
  */
15
15
  code?: string;
16
16
 
17
+ /**
18
+ * 代码类型
19
+ * @type {string}
20
+ * 来源 getCodeType
21
+ */
22
+ codeType?: string;
23
+
17
24
  /**
18
25
  * 目标逻辑参数对象
19
26
  *
@@ -0,0 +1,9 @@
1
+ import { IDEUILogicNode } from './ideuilogic-node';
2
+
3
+ /**
4
+ *
5
+ * 继承父接口类型值[DECISION]
6
+ * @export
7
+ * @interface IDEUIDecisionLogic
8
+ */
9
+ export type IDEUIDecisionLogic = IDEUILogicNode
package/src/exports.ts CHANGED
@@ -630,6 +630,7 @@ export { IDEDEDataQueryLogic } from './dataentity/logic/idededata-query-logic';
630
630
  export { IDEDEDataSetLogic } from './dataentity/logic/idededata-set-logic';
631
631
  export { IDEDELogicLogic } from './dataentity/logic/idedelogic-logic';
632
632
  export { IDEDebugParamLogic } from './dataentity/logic/idedebug-param-logic';
633
+ export { IDEDecisionLogic } from './dataentity/logic/idedecision-logic';
633
634
  export { IDEEndLogic } from './dataentity/logic/ideend-logic';
634
635
  export { IDEFLogic } from './dataentity/logic/ideflogic';
635
636
  export { IDEFilterParam2Logic } from './dataentity/logic/idefilter-param2-logic';
@@ -660,6 +661,7 @@ export { IDEUIDEActionLogic } from './dataentity/logic/ideuideaction-logic';
660
661
  export { IDEUIDEDataSetLogic } from './dataentity/logic/ideuidedata-set-logic';
661
662
  export { IDEUIDELogicLogic } from './dataentity/logic/ideuidelogic-logic';
662
663
  export { IDEUIDebugParamLogic } from './dataentity/logic/ideuidebug-param-logic';
664
+ export { IDEUIDecisionLogic } from './dataentity/logic/ideuidecision-logic';
663
665
  export { IDEUIEndLogic } from './dataentity/logic/ideuiend-logic';
664
666
  export { IDEUILogic } from './dataentity/logic/ideuilogic';
665
667
  export { IDEUILogicLink } from './dataentity/logic/ideuilogic-link';