@ibiz/model-core 0.0.21 → 0.0.23

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,19 @@
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.0.23] - 2023-12-04
11
+
12
+ ### Added
13
+
14
+ - 补表格编辑项重置项名称声明
15
+
16
+ ## [0.0.22] - 2023-11-30
17
+
18
+ ### Added
19
+
20
+ - 实体打印和报表支持插件 sysPFPluginId
21
+ - 应用补充 appSubViewTypeRefs
22
+
10
23
  ## [0.0.20] - 2023-10-31
11
24
 
12
25
  ### Added
@@ -16,6 +16,7 @@ import { IAppViewMsgGroup } from './view/iapp-view-msg-group';
16
16
  import { IAppWF } from './wf/iapp-wf';
17
17
  import { IDEOPPriv } from '../dataentity/priv/ideoppriv';
18
18
  import { IModelObject } from '../imodel-object';
19
+ import { IAppSubViewTypeRef } from '../exports';
19
20
  /**
20
21
  *
21
22
  * @export
@@ -126,6 +127,7 @@ export interface IApplication extends IModelObject {
126
127
  * 来源 getAllPSAppViewMsgs
127
128
  */
128
129
  appViewMsgs?: IAppViewMsg[];
130
+ appSubViewTypeRefs?: IAppSubViewTypeRef[];
129
131
  /**
130
132
  * 应用工作流集合
131
133
  *
@@ -0,0 +1,67 @@
1
+ import { IViewLayoutPanel } from '../../control/panel/iview-layout-panel';
2
+ import { IModelObject } from '../../imodel-object';
3
+ /**
4
+ *
5
+ * @export
6
+ * @interface IAppSubViewTypeRef
7
+ */
8
+ export interface IAppSubViewTypeRef extends IModelObject {
9
+ /**
10
+ * 前端模板插件
11
+ *
12
+ * @type {string}
13
+ * 来源 getPSSysPFPlugin
14
+ */
15
+ sysPFPluginId?: string;
16
+ /**
17
+ * 视图布局面板
18
+ *
19
+ * @type {IViewLayoutPanel}
20
+ * 来源 getPSViewLayoutPanel
21
+ */
22
+ viewLayoutPanel?: IViewLayoutPanel;
23
+ /**
24
+ * 插件代码
25
+ * @type {string}
26
+ * 来源 getPluginCode
27
+ */
28
+ pluginCode?: string;
29
+ /**
30
+ * 引用标记
31
+ * @type {string}
32
+ * 来源 getRefTag
33
+ */
34
+ refTag?: string;
35
+ /**
36
+ * 类型代码
37
+ * @type {string}
38
+ * 来源 getTypeCode
39
+ */
40
+ typeCode?: string;
41
+ /**
42
+ * 视图模型
43
+ * @type {IModel}
44
+ * 来源 getViewModel
45
+ */
46
+ viewModel?: IModel;
47
+ /**
48
+ * 标准视图类型
49
+ * @type {string}
50
+ * 来源 getViewType
51
+ */
52
+ viewType?: string;
53
+ /**
54
+ * 仅扩展界面样式
55
+ * @type {boolean}
56
+ * @default false
57
+ * 来源 isExtendStyleOnly
58
+ */
59
+ extendStyleOnly?: boolean;
60
+ /**
61
+ * 全局默认替换
62
+ * @type {boolean}
63
+ * @default false
64
+ * 来源 isReplaceDefault
65
+ */
66
+ replaceDefault?: boolean;
67
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -119,4 +119,12 @@ export interface IDEGridEditItem extends IEditorContainer {
119
119
  * 来源 isNeedCodeListConfig
120
120
  */
121
121
  needCodeListConfig?: boolean;
122
+ /**
123
+ * 重置项名称
124
+ *
125
+ * @author chitanda
126
+ * @date 2023-12-04 17:12:36
127
+ * @type {string}
128
+ */
129
+ resetItemName?: string;
122
130
  }
@@ -13,17 +13,24 @@ export interface IDEPrint extends IModelObject {
13
13
  codeName?: string;
14
14
  /**
15
15
  * 内容类型
16
- * @description 值模式 [实体报表内容格式] {PDF:PDF、 HTML:HTML、 DOCX:DOCX、 EXCELEXCEL、 JSON:JSON、 XML:XML、 TEXT:TEXT、 USER:用户自定义、 USER2:用户自定义2 }
17
- * @type {( string | 'PDF' | 'HTML' | 'DOCX' | 'EXCEL' | 'JSON' | 'XML' | 'TEXT' | 'USER' | 'USER2')}
16
+ * @description 值模式 [实体报表内容格式] {PDF:PDF、 HTML:HTML、 DOCX:DOCX、 XLSXXLSX、 JSON:JSON、 XML:XML、 TEXT:TEXT、 MARKDOWN:MARKDOWN、 WORD:WORD(过期)、 EXCEL:EXCEL(过期)、 USER:用户自定义、 USER2:用户自定义2 }
17
+ * @type {( string | 'PDF' | 'HTML' | 'DOCX' | 'XLSX' | 'JSON' | 'XML' | 'TEXT' | 'MARKDOWN' | 'WORD' | 'EXCEL' | 'USER' | 'USER2')}
18
18
  * 来源 getContentType
19
19
  */
20
- contentType?: string | 'PDF' | 'HTML' | 'DOCX' | 'EXCEL' | 'JSON' | 'XML' | 'TEXT' | 'USER' | 'USER2';
20
+ contentType?: string | 'PDF' | 'HTML' | 'DOCX' | 'XLSX' | 'JSON' | 'XML' | 'TEXT' | 'MARKDOWN' | 'WORD' | 'EXCEL' | 'USER' | 'USER2';
21
21
  /**
22
22
  * 数据访问标识
23
23
  * @type {string}
24
24
  * 来源 getDataAccessAction
25
25
  */
26
26
  dataAccessAction?: string;
27
+ /**
28
+ * 前端扩展插件
29
+ *
30
+ * @type {string}
31
+ * 来源 getPSSysPFPlugin
32
+ */
33
+ sysPFPluginId?: string;
27
34
  /**
28
35
  * 打印标记
29
36
  * @type {string}
@@ -13,11 +13,18 @@ export interface IDEReport extends IModelObject {
13
13
  codeName?: string;
14
14
  /**
15
15
  * 内容类型
16
- * @description 值模式 [实体报表内容格式] {PDF:PDF、 HTML:HTML、 DOCX:DOCX、 EXCELEXCEL、 JSON:JSON、 XML:XML、 TEXT:TEXT、 USER:用户自定义、 USER2:用户自定义2 }
17
- * @type {( string | 'PDF' | 'HTML' | 'DOCX' | 'EXCEL' | 'JSON' | 'XML' | 'TEXT' | 'USER' | 'USER2')}
16
+ * @description 值模式 [实体报表内容格式] {PDF:PDF、 HTML:HTML、 DOCX:DOCX、 XLSXXLSX、 JSON:JSON、 XML:XML、 TEXT:TEXT、 MARKDOWN:MARKDOWN、 WORD:WORD(过期)、 EXCEL:EXCEL(过期)、 USER:用户自定义、 USER2:用户自定义2 }
17
+ * @type {( string | 'PDF' | 'HTML' | 'DOCX' | 'XLSX' | 'JSON' | 'XML' | 'TEXT' | 'MARKDOWN' | 'WORD' | 'EXCEL' | 'USER' | 'USER2')}
18
18
  * 来源 getContentType
19
19
  */
20
- contentType?: string | 'PDF' | 'HTML' | 'DOCX' | 'EXCEL' | 'JSON' | 'XML' | 'TEXT' | 'USER' | 'USER2';
20
+ contentType?: string | 'PDF' | 'HTML' | 'DOCX' | 'XLSX' | 'JSON' | 'XML' | 'TEXT' | 'MARKDOWN' | 'WORD' | 'EXCEL' | 'USER' | 'USER2';
21
+ /**
22
+ * 前端扩展插件
23
+ *
24
+ * @type {string}
25
+ * 来源 getPSSysPFPlugin
26
+ */
27
+ sysPFPluginId?: string;
21
28
  /**
22
29
  * 报表标记
23
30
  * @type {string}
package/out/exports.d.ts CHANGED
@@ -59,6 +59,7 @@ export { IAppUIOpenDataLogic } from './app/logic/iapp-uiopen-data-logic';
59
59
  export { IMobAppStartPage } from './app/mob/imob-app-start-page';
60
60
  export { IAppMsgTempl } from './app/msg/iapp-msg-templ';
61
61
  export { IAppPFPluginRef } from './app/res/iapp-pfplugin-ref';
62
+ export { IAppSubViewTypeRef } from './app/res/iapp-sub-view-type-ref';
62
63
  export { IAppUITheme } from './app/theme/iapp-uitheme';
63
64
  export { IAppDraftStorageUtil } from './app/util/iapp-draft-storage-util';
64
65
  export { IAppDynaDashboardUtil } from './app/util/iapp-dyna-dashboard-util';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz/model-core",
3
- "version": "0.0.21",
3
+ "version": "0.0.23",
4
4
  "license": "MIT",
5
5
  "description": "动态模型接口",
6
6
  "type": "module",
@@ -16,6 +16,7 @@ import { IAppViewMsgGroup } from './view/iapp-view-msg-group';
16
16
  import { IAppWF } from './wf/iapp-wf';
17
17
  import { IDEOPPriv } from '../dataentity/priv/ideoppriv';
18
18
  import { IModelObject } from '../imodel-object';
19
+ import { IAppSubViewTypeRef } from '../exports';
19
20
 
20
21
  /**
21
22
  *
@@ -142,6 +143,8 @@ export interface IApplication extends IModelObject {
142
143
  */
143
144
  appViewMsgs?: IAppViewMsg[];
144
145
 
146
+ appSubViewTypeRefs?: IAppSubViewTypeRef[];
147
+
145
148
  /**
146
149
  * 应用工作流集合
147
150
  *
@@ -0,0 +1,76 @@
1
+ import { IViewLayoutPanel } from '../../control/panel/iview-layout-panel';
2
+ import { IModelObject } from '../../imodel-object';
3
+
4
+ /**
5
+ *
6
+ * @export
7
+ * @interface IAppSubViewTypeRef
8
+ */
9
+ export interface IAppSubViewTypeRef extends IModelObject {
10
+ /**
11
+ * 前端模板插件
12
+ *
13
+ * @type {string}
14
+ * 来源 getPSSysPFPlugin
15
+ */
16
+ sysPFPluginId?: string;
17
+
18
+ /**
19
+ * 视图布局面板
20
+ *
21
+ * @type {IViewLayoutPanel}
22
+ * 来源 getPSViewLayoutPanel
23
+ */
24
+ viewLayoutPanel?: IViewLayoutPanel;
25
+
26
+ /**
27
+ * 插件代码
28
+ * @type {string}
29
+ * 来源 getPluginCode
30
+ */
31
+ pluginCode?: string;
32
+
33
+ /**
34
+ * 引用标记
35
+ * @type {string}
36
+ * 来源 getRefTag
37
+ */
38
+ refTag?: string;
39
+
40
+ /**
41
+ * 类型代码
42
+ * @type {string}
43
+ * 来源 getTypeCode
44
+ */
45
+ typeCode?: string;
46
+
47
+ /**
48
+ * 视图模型
49
+ * @type {IModel}
50
+ * 来源 getViewModel
51
+ */
52
+ viewModel?: IModel;
53
+
54
+ /**
55
+ * 标准视图类型
56
+ * @type {string}
57
+ * 来源 getViewType
58
+ */
59
+ viewType?: string;
60
+
61
+ /**
62
+ * 仅扩展界面样式
63
+ * @type {boolean}
64
+ * @default false
65
+ * 来源 isExtendStyleOnly
66
+ */
67
+ extendStyleOnly?: boolean;
68
+
69
+ /**
70
+ * 全局默认替换
71
+ * @type {boolean}
72
+ * @default false
73
+ * 来源 isReplaceDefault
74
+ */
75
+ replaceDefault?: boolean;
76
+ }
@@ -156,4 +156,13 @@ export interface IDEGridEditItem extends IEditorContainer {
156
156
  * 来源 isNeedCodeListConfig
157
157
  */
158
158
  needCodeListConfig?: boolean;
159
+
160
+ /**
161
+ * 重置项名称
162
+ *
163
+ * @author chitanda
164
+ * @date 2023-12-04 17:12:36
165
+ * @type {string}
166
+ */
167
+ resetItemName?: string;
159
168
  }
@@ -15,8 +15,8 @@ export interface IDEPrint extends IModelObject {
15
15
 
16
16
  /**
17
17
  * 内容类型
18
- * @description 值模式 [实体报表内容格式] {PDF:PDF、 HTML:HTML、 DOCX:DOCX、 EXCELEXCEL、 JSON:JSON、 XML:XML、 TEXT:TEXT、 USER:用户自定义、 USER2:用户自定义2 }
19
- * @type {( string | 'PDF' | 'HTML' | 'DOCX' | 'EXCEL' | 'JSON' | 'XML' | 'TEXT' | 'USER' | 'USER2')}
18
+ * @description 值模式 [实体报表内容格式] {PDF:PDF、 HTML:HTML、 DOCX:DOCX、 XLSXXLSX、 JSON:JSON、 XML:XML、 TEXT:TEXT、 MARKDOWN:MARKDOWN、 WORD:WORD(过期)、 EXCEL:EXCEL(过期)、 USER:用户自定义、 USER2:用户自定义2 }
19
+ * @type {( string | 'PDF' | 'HTML' | 'DOCX' | 'XLSX' | 'JSON' | 'XML' | 'TEXT' | 'MARKDOWN' | 'WORD' | 'EXCEL' | 'USER' | 'USER2')}
20
20
  * 来源 getContentType
21
21
  */
22
22
  contentType?:
@@ -24,10 +24,13 @@ export interface IDEPrint extends IModelObject {
24
24
  | 'PDF'
25
25
  | 'HTML'
26
26
  | 'DOCX'
27
- | 'EXCEL'
27
+ | 'XLSX'
28
28
  | 'JSON'
29
29
  | 'XML'
30
30
  | 'TEXT'
31
+ | 'MARKDOWN'
32
+ | 'WORD'
33
+ | 'EXCEL'
31
34
  | 'USER'
32
35
  | 'USER2';
33
36
 
@@ -38,6 +41,14 @@ export interface IDEPrint extends IModelObject {
38
41
  */
39
42
  dataAccessAction?: string;
40
43
 
44
+ /**
45
+ * 前端扩展插件
46
+ *
47
+ * @type {string}
48
+ * 来源 getPSSysPFPlugin
49
+ */
50
+ sysPFPluginId?: string;
51
+
41
52
  /**
42
53
  * 打印标记
43
54
  * @type {string}
@@ -15,8 +15,8 @@ export interface IDEReport extends IModelObject {
15
15
 
16
16
  /**
17
17
  * 内容类型
18
- * @description 值模式 [实体报表内容格式] {PDF:PDF、 HTML:HTML、 DOCX:DOCX、 EXCELEXCEL、 JSON:JSON、 XML:XML、 TEXT:TEXT、 USER:用户自定义、 USER2:用户自定义2 }
19
- * @type {( string | 'PDF' | 'HTML' | 'DOCX' | 'EXCEL' | 'JSON' | 'XML' | 'TEXT' | 'USER' | 'USER2')}
18
+ * @description 值模式 [实体报表内容格式] {PDF:PDF、 HTML:HTML、 DOCX:DOCX、 XLSXXLSX、 JSON:JSON、 XML:XML、 TEXT:TEXT、 MARKDOWN:MARKDOWN、 WORD:WORD(过期)、 EXCEL:EXCEL(过期)、 USER:用户自定义、 USER2:用户自定义2 }
19
+ * @type {( string | 'PDF' | 'HTML' | 'DOCX' | 'XLSX' | 'JSON' | 'XML' | 'TEXT' | 'MARKDOWN' | 'WORD' | 'EXCEL' | 'USER' | 'USER2')}
20
20
  * 来源 getContentType
21
21
  */
22
22
  contentType?:
@@ -24,13 +24,24 @@ export interface IDEReport extends IModelObject {
24
24
  | 'PDF'
25
25
  | 'HTML'
26
26
  | 'DOCX'
27
- | 'EXCEL'
27
+ | 'XLSX'
28
28
  | 'JSON'
29
29
  | 'XML'
30
30
  | 'TEXT'
31
+ | 'MARKDOWN'
32
+ | 'WORD'
33
+ | 'EXCEL'
31
34
  | 'USER'
32
35
  | 'USER2';
33
36
 
37
+ /**
38
+ * 前端扩展插件
39
+ *
40
+ * @type {string}
41
+ * 来源 getPSSysPFPlugin
42
+ */
43
+ sysPFPluginId?: string;
44
+
34
45
  /**
35
46
  * 报表标记
36
47
  * @type {string}
package/src/exports.ts CHANGED
@@ -59,6 +59,7 @@ export { IAppUIOpenDataLogic } from './app/logic/iapp-uiopen-data-logic';
59
59
  export { IMobAppStartPage } from './app/mob/imob-app-start-page';
60
60
  export { IAppMsgTempl } from './app/msg/iapp-msg-templ';
61
61
  export { IAppPFPluginRef } from './app/res/iapp-pfplugin-ref';
62
+ export { IAppSubViewTypeRef } from './app/res/iapp-sub-view-type-ref';
62
63
  export { IAppUITheme } from './app/theme/iapp-uitheme';
63
64
  export { IAppDraftStorageUtil } from './app/util/iapp-draft-storage-util';
64
65
  export { IAppDynaDashboardUtil } from './app/util/iapp-dyna-dashboard-util';