@ibiz/model-core 0.1.25 → 0.1.27

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.
@@ -19,11 +19,11 @@ import { ISysImage } from '../../res/isys-image';
19
19
  export interface IAppView extends IControlContainer {
20
20
  /**
21
21
  * 访问用户模式
22
- * @description 值模式 [视图访问用户] {0:未指定、 2:登录用户、 3:匿名用户及登录用户、 4:登录用户且拥有指定资源能力 }
23
- * @type {( number | 0 | 2 | 3 | 4)}
22
+ * @description 值模式 [视图访问用户] {0:未指定、 1:未登录用户、 2:登录用户、 3:未登录用户及登录用户、 4:登录用户且拥有指定资源能力 }
23
+ * @type {( number | 0 | 1 | 2 | 3 | 4)}
24
24
  * 来源 getAccUserMode
25
25
  */
26
- accUserMode?: number | 0 | 2 | 3 | 4;
26
+ accUserMode?: number | 0 | 1 | 2 | 3 | 4;
27
27
  /**
28
28
  * 访问标识
29
29
  * @type {string}
@@ -54,4 +54,17 @@ export interface IDEDRCtrlItem extends IControlItem, INavigateParamContainer {
54
54
  * 来源 getPSSysImage
55
55
  */
56
56
  sysImage?: ISysImage;
57
+ /**
58
+ * 启用判断实体逻辑
59
+ *
60
+ * @type {string}
61
+ * 来源 getTestPSAppDELogic
62
+ */
63
+ testAppDELogicId?: string;
64
+ /**
65
+ * 启用判断脚本
66
+ * @type {string}
67
+ * 来源 getTestScriptCode
68
+ */
69
+ testScriptCode?: string;
57
70
  }
@@ -1,5 +1,6 @@
1
1
  import { INavigateParamContainer } from '../inavigate-param-container';
2
2
  import { IDEFormDetail } from './ideform-detail';
3
+ import { IUIAction } from '../../view/iuiaction';
3
4
  /**
4
5
  *
5
6
  * 继承父接口类型值[BUTTON]
@@ -20,6 +21,13 @@ export interface IDEFormButton extends IDEFormDetail, INavigateParamContainer {
20
21
  * 来源 getCaptionItemName
21
22
  */
22
23
  captionItemName?: string;
24
+ /**
25
+ * 界面行为(运行时内联)
26
+ *
27
+ * @type {IUIAction}
28
+ * 来源 getInlinePSUIAction
29
+ */
30
+ inlineUIAction?: IUIAction;
23
31
  /**
24
32
  * 调用表单项更新
25
33
  *
@@ -8,11 +8,11 @@ import { ILanguageRes } from '../../res/ilanguage-res';
8
8
  export interface IMenuItem extends IControlItem {
9
9
  /**
10
10
  * 访问用户模式
11
- * @description 值模式 [视图访问用户] {0:未指定、 2:登录用户、 3:匿名用户及登录用户、 4:登录用户且拥有指定资源能力 }
12
- * @type {( number | 0 | 2 | 3 | 4)}
11
+ * @description 值模式 [视图访问用户] {0:未指定、 1:未登录用户、 2:登录用户、 3:未登录用户及登录用户、 4:登录用户且拥有指定资源能力 }
12
+ * @type {( number | 0 | 1 | 2 | 3 | 4)}
13
13
  * 来源 getAccUserMode
14
14
  */
15
- accUserMode?: number | 0 | 2 | 3 | 4;
15
+ accUserMode?: number | 0 | 1 | 2 | 3 | 4;
16
16
  /**
17
17
  * 访问标识
18
18
  * @type {string}
@@ -1,5 +1,6 @@
1
1
  import { IButtonBase } from '../ibutton-base';
2
2
  import { IPanelItem } from './ipanel-item';
3
+ import { IUIAction } from '../../view/iuiaction';
3
4
  /**
4
5
  *
5
6
  * 继承父接口类型值[BUTTON]
@@ -20,6 +21,13 @@ export interface IPanelButton extends IPanelItem, IButtonBase {
20
21
  * 来源 getCaptionItemName
21
22
  */
22
23
  captionItemName?: string;
24
+ /**
25
+ * 界面行为(运行时内联)
26
+ *
27
+ * @type {IUIAction}
28
+ * 来源 getInlinePSUIAction
29
+ */
30
+ inlineUIAction?: IUIAction;
23
31
  /**
24
32
  * 调用界面行为
25
33
  *
@@ -20,12 +20,12 @@ import { ISysImage } from '../../res/isys-image';
20
20
  export interface IDETreeNode extends IControlItem, IControlXDataContainer, IControlMDataContainer, IControlObjectNavigatable {
21
21
  /**
22
22
  * 访问用户模式
23
- * @description 值模式 [视图访问用户] {0:未指定、 2:登录用户、 3:匿名用户及登录用户、 4:登录用户且拥有指定资源能力 }
24
- * @type {( number | 0 | 2 | 3 | 4)}
23
+ * @description 值模式 [视图访问用户] {0:未指定、 1:未登录用户、 2:登录用户、 3:未登录用户及登录用户、 4:登录用户且拥有指定资源能力 }
24
+ * @type {( number | 0 | 1 | 2 | 3 | 4)}
25
25
  * @default 0
26
26
  * 来源 getAccUserMode
27
27
  */
28
- accUserMode?: number | 0 | 2 | 3 | 4;
28
+ accUserMode?: number | 0 | 1 | 2 | 3 | 4;
29
29
  /**
30
30
  * 访问标识
31
31
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz/model-core",
3
- "version": "0.1.25",
3
+ "version": "0.1.27",
4
4
  "license": "MIT",
5
5
  "description": "动态模型接口",
6
6
  "type": "module",
@@ -20,11 +20,11 @@ import { ISysImage } from '../../res/isys-image';
20
20
  export interface IAppView extends IControlContainer {
21
21
  /**
22
22
  * 访问用户模式
23
- * @description 值模式 [视图访问用户] {0:未指定、 2:登录用户、 3:匿名用户及登录用户、 4:登录用户且拥有指定资源能力 }
24
- * @type {( number | 0 | 2 | 3 | 4)}
23
+ * @description 值模式 [视图访问用户] {0:未指定、 1:未登录用户、 2:登录用户、 3:未登录用户及登录用户、 4:登录用户且拥有指定资源能力 }
24
+ * @type {( number | 0 | 1 | 2 | 3 | 4)}
25
25
  * 来源 getAccUserMode
26
26
  */
27
- accUserMode?: number | 0 | 2 | 3 | 4;
27
+ accUserMode?: number | 0 | 1 | 2 | 3 | 4;
28
28
 
29
29
  /**
30
30
  * 访问标识
@@ -68,4 +68,19 @@ export interface IDEDRCtrlItem extends IControlItem, INavigateParamContainer {
68
68
  * 来源 getPSSysImage
69
69
  */
70
70
  sysImage?: ISysImage;
71
+
72
+ /**
73
+ * 启用判断实体逻辑
74
+ *
75
+ * @type {string}
76
+ * 来源 getTestPSAppDELogic
77
+ */
78
+ testAppDELogicId?: string;
79
+
80
+ /**
81
+ * 启用判断脚本
82
+ * @type {string}
83
+ * 来源 getTestScriptCode
84
+ */
85
+ testScriptCode?: string;
71
86
  }
@@ -1,5 +1,6 @@
1
1
  import { INavigateParamContainer } from '../inavigate-param-container';
2
2
  import { IDEFormDetail } from './ideform-detail';
3
+ import { IUIAction } from '../../view/iuiaction';
3
4
 
4
5
  /**
5
6
  *
@@ -23,6 +24,14 @@ export interface IDEFormButton extends IDEFormDetail, INavigateParamContainer {
23
24
  */
24
25
  captionItemName?: string;
25
26
 
27
+ /**
28
+ * 界面行为(运行时内联)
29
+ *
30
+ * @type {IUIAction}
31
+ * 来源 getInlinePSUIAction
32
+ */
33
+ inlineUIAction?: IUIAction;
34
+
26
35
  /**
27
36
  * 调用表单项更新
28
37
  *
@@ -9,11 +9,11 @@ import { ILanguageRes } from '../../res/ilanguage-res';
9
9
  export interface IMenuItem extends IControlItem {
10
10
  /**
11
11
  * 访问用户模式
12
- * @description 值模式 [视图访问用户] {0:未指定、 2:登录用户、 3:匿名用户及登录用户、 4:登录用户且拥有指定资源能力 }
13
- * @type {( number | 0 | 2 | 3 | 4)}
12
+ * @description 值模式 [视图访问用户] {0:未指定、 1:未登录用户、 2:登录用户、 3:未登录用户及登录用户、 4:登录用户且拥有指定资源能力 }
13
+ * @type {( number | 0 | 1 | 2 | 3 | 4)}
14
14
  * 来源 getAccUserMode
15
15
  */
16
- accUserMode?: number | 0 | 2 | 3 | 4;
16
+ accUserMode?: number | 0 | 1 | 2 | 3 | 4;
17
17
 
18
18
  /**
19
19
  * 访问标识
@@ -1,5 +1,6 @@
1
1
  import { IButtonBase } from '../ibutton-base';
2
2
  import { IPanelItem } from './ipanel-item';
3
+ import { IUIAction } from '../../view/iuiaction';
3
4
 
4
5
  /**
5
6
  *
@@ -52,6 +53,14 @@ export interface IPanelButton extends IPanelItem, IButtonBase {
52
53
  */
53
54
  captionItemName?: string;
54
55
 
56
+ /**
57
+ * 界面行为(运行时内联)
58
+ *
59
+ * @type {IUIAction}
60
+ * 来源 getInlinePSUIAction
61
+ */
62
+ inlineUIAction?: IUIAction;
63
+
55
64
  /**
56
65
  * 调用界面行为
57
66
  *
@@ -25,12 +25,12 @@ export interface IDETreeNode
25
25
  IControlObjectNavigatable {
26
26
  /**
27
27
  * 访问用户模式
28
- * @description 值模式 [视图访问用户] {0:未指定、 2:登录用户、 3:匿名用户及登录用户、 4:登录用户且拥有指定资源能力 }
29
- * @type {( number | 0 | 2 | 3 | 4)}
28
+ * @description 值模式 [视图访问用户] {0:未指定、 1:未登录用户、 2:登录用户、 3:未登录用户及登录用户、 4:登录用户且拥有指定资源能力 }
29
+ * @type {( number | 0 | 1 | 2 | 3 | 4)}
30
30
  * @default 0
31
31
  * 来源 getAccUserMode
32
32
  */
33
- accUserMode?: number | 0 | 2 | 3 | 4;
33
+ accUserMode?: number | 0 | 1 | 2 | 3 | 4;
34
34
 
35
35
  /**
36
36
  * 访问标识