@ibiz-template/runtime 0.1.3 → 0.1.6
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/dist/index.esm.js +90 -19
- package/dist/index.system.min.js +1 -1
- package/dist/index.system.min.js.map +1 -1
- package/out/controller/common/control/control.controller.js +1 -1
- package/out/engine/md-view.engine.d.ts +2 -0
- package/out/engine/md-view.engine.d.ts.map +1 -1
- package/out/engine/md-view.engine.js +3 -2
- package/out/interface/controller/common/i-nav-view-msg/i-nav-view-msg.d.ts +45 -0
- package/out/interface/controller/common/i-nav-view-msg/i-nav-view-msg.d.ts.map +1 -0
- package/out/interface/controller/common/i-nav-view-msg/i-nav-view-msg.js +1 -0
- package/out/interface/controller/common/index.d.ts +1 -0
- package/out/interface/controller/common/index.d.ts.map +1 -1
- package/out/interface/controller/common/index.js +1 -0
- package/out/interface/controller/controller/control/i-calendar-exp-bar.controller.d.ts +15 -0
- package/out/interface/controller/controller/control/i-calendar-exp-bar.controller.d.ts.map +1 -0
- package/out/interface/controller/controller/control/i-calendar-exp-bar.controller.js +1 -0
- package/out/interface/controller/controller/control/i-calendar.controller.d.ts +24 -0
- package/out/interface/controller/controller/control/i-calendar.controller.d.ts.map +1 -0
- package/out/interface/controller/controller/control/i-calendar.controller.js +1 -0
- package/out/interface/controller/controller/control/i-exp-bar-control.controller.d.ts +11 -0
- package/out/interface/controller/controller/control/i-exp-bar-control.controller.d.ts.map +1 -1
- package/out/interface/controller/controller/control/i-tree-exp-bar.controller.d.ts +0 -11
- package/out/interface/controller/controller/control/i-tree-exp-bar.controller.d.ts.map +1 -1
- package/out/interface/controller/controller/control/index.d.ts +2 -0
- package/out/interface/controller/controller/control/index.d.ts.map +1 -1
- package/out/interface/controller/controller/control/index.js +2 -0
- package/out/interface/controller/controller/control/panel-item/i-panel-item-nav-pos.controller.d.ts +1 -46
- package/out/interface/controller/controller/control/panel-item/i-panel-item-nav-pos.controller.d.ts.map +1 -1
- package/out/interface/controller/event/argument/control-trigger.event.d.ts +33 -0
- package/out/interface/controller/event/argument/control-trigger.event.d.ts.map +1 -0
- package/out/interface/controller/event/argument/control-trigger.event.js +1 -0
- package/out/interface/controller/event/argument/index.d.ts +2 -0
- package/out/interface/controller/event/argument/index.d.ts.map +1 -1
- package/out/interface/controller/event/argument/nav-view-change.event.d.ts +20 -0
- package/out/interface/controller/event/argument/nav-view-change.event.d.ts.map +1 -0
- package/out/interface/controller/event/argument/nav-view-change.event.js +1 -0
- package/out/interface/controller/event/control/i-calendar-exp-bar.event.d.ts +11 -0
- package/out/interface/controller/event/control/i-calendar-exp-bar.event.d.ts.map +1 -0
- package/out/interface/controller/event/control/i-calendar-exp-bar.event.js +1 -0
- package/out/interface/controller/event/control/i-calendar.event.d.ts +11 -0
- package/out/interface/controller/event/control/i-calendar.event.d.ts.map +1 -0
- package/out/interface/controller/event/control/i-calendar.event.js +1 -0
- package/out/interface/controller/event/control/i-exp-bar-control.event.d.ts +11 -0
- package/out/interface/controller/event/control/i-exp-bar-control.event.d.ts.map +1 -1
- package/out/interface/controller/event/control/i-panel.event.d.ts +15 -1
- package/out/interface/controller/event/control/i-panel.event.d.ts.map +1 -1
- package/out/interface/controller/event/control/i-tab-exp-panel.event.d.ts +11 -0
- package/out/interface/controller/event/control/i-tab-exp-panel.event.d.ts.map +1 -1
- package/out/interface/controller/event/control/i-tree.event.d.ts +19 -1
- package/out/interface/controller/event/control/i-tree.event.d.ts.map +1 -1
- package/out/interface/controller/event/control/index.d.ts +2 -0
- package/out/interface/controller/event/control/index.d.ts.map +1 -1
- package/out/interface/controller/event/control/index.js +2 -0
- package/out/interface/controller/event/view/i-calendar-exp-view.event.d.ts +11 -0
- package/out/interface/controller/event/view/i-calendar-exp-view.event.d.ts.map +1 -0
- package/out/interface/controller/event/view/i-calendar-exp-view.event.js +1 -0
- package/out/interface/controller/event/view/i-calendar-view.event.d.ts +12 -0
- package/out/interface/controller/event/view/i-calendar-view.event.d.ts.map +1 -0
- package/out/interface/controller/event/view/i-calendar-view.event.js +1 -0
- package/out/interface/controller/event/view/index.d.ts +2 -0
- package/out/interface/controller/event/view/index.d.ts.map +1 -1
- package/out/interface/controller/event/view/index.js +2 -0
- package/out/interface/controller/state/control/i-calendar-exp-bar.state.d.ts +11 -0
- package/out/interface/controller/state/control/i-calendar-exp-bar.state.d.ts.map +1 -0
- package/out/interface/controller/state/control/i-calendar-exp-bar.state.js +1 -0
- package/out/interface/controller/state/control/i-calendar.state.d.ts +162 -0
- package/out/interface/controller/state/control/i-calendar.state.d.ts.map +1 -0
- package/out/interface/controller/state/control/i-calendar.state.js +1 -0
- package/out/interface/controller/state/control/i-tree.state.d.ts +9 -2
- package/out/interface/controller/state/control/i-tree.state.d.ts.map +1 -1
- package/out/interface/controller/state/control/index.d.ts +2 -0
- package/out/interface/controller/state/control/index.d.ts.map +1 -1
- package/out/interface/controller/state/control/index.js +2 -0
- package/out/interface/controller/state/view/i-calendar-exp-view.state.d.ts +11 -0
- package/out/interface/controller/state/view/i-calendar-exp-view.state.d.ts.map +1 -0
- package/out/interface/controller/state/view/i-calendar-exp-view.state.js +1 -0
- package/out/interface/controller/state/view/i-calendar-view.state.d.ts +11 -0
- package/out/interface/controller/state/view/i-calendar-view.state.d.ts.map +1 -0
- package/out/interface/controller/state/view/i-calendar-view.state.js +1 -0
- package/out/interface/controller/state/view/index.d.ts +2 -0
- package/out/interface/controller/state/view/index.d.ts.map +1 -1
- package/out/interface/controller/state/view/index.js +2 -0
- package/out/interface/controller/work-flow/wf-link.d.ts +4 -4
- package/out/service/dto/method.dto.d.ts.map +1 -1
- package/out/service/dto/method.dto.js +9 -1
- package/out/service/vo/calendar-item-data/calendar-item-data.d.ts +30 -0
- package/out/service/vo/calendar-item-data/calendar-item-data.d.ts.map +1 -0
- package/out/service/vo/calendar-item-data/calendar-item-data.js +76 -0
- package/out/service/vo/calendar-item-data/index.d.ts +2 -0
- package/out/service/vo/calendar-item-data/index.d.ts.map +1 -0
- package/out/service/vo/calendar-item-data/index.js +1 -0
- package/out/service/vo/index.d.ts +1 -0
- package/out/service/vo/index.d.ts.map +1 -1
- package/out/service/vo/index.js +1 -0
- package/out/utils/wf-helper/wf-helper.js +2 -2
- package/package.json +6 -6
- package/src/controller/common/control/control.controller.ts +1 -1
- package/src/engine/md-view.engine.ts +5 -2
- package/src/interface/controller/common/i-nav-view-msg/i-nav-view-msg.ts +48 -0
- package/src/interface/controller/common/index.ts +1 -0
- package/src/interface/controller/controller/control/i-calendar-exp-bar.controller.ts +19 -0
- package/src/interface/controller/controller/control/i-calendar.controller.ts +25 -0
- package/src/interface/controller/controller/control/i-exp-bar-control.controller.ts +12 -0
- package/src/interface/controller/controller/control/i-tree-exp-bar.controller.ts +1 -13
- package/src/interface/controller/controller/control/index.ts +2 -0
- package/src/interface/controller/controller/control/panel-item/i-panel-item-nav-pos.controller.ts +1 -52
- package/src/interface/controller/event/argument/control-trigger.event.ts +35 -0
- package/src/interface/controller/event/argument/index.ts +2 -0
- package/src/interface/controller/event/argument/nav-view-change.event.ts +20 -0
- package/src/interface/controller/event/control/i-calendar-exp-bar.event.ts +10 -0
- package/src/interface/controller/event/control/i-calendar.event.ts +11 -0
- package/src/interface/controller/event/control/i-exp-bar-control.event.ts +13 -1
- package/src/interface/controller/event/control/i-panel.event.ts +15 -1
- package/src/interface/controller/event/control/i-tab-exp-panel.event.ts +13 -1
- package/src/interface/controller/event/control/i-tree.event.ts +14 -1
- package/src/interface/controller/event/control/index.ts +2 -0
- package/src/interface/controller/event/view/i-calendar-exp-view.event.ts +11 -0
- package/src/interface/controller/event/view/i-calendar-view.event.ts +12 -0
- package/src/interface/controller/event/view/index.ts +2 -0
- package/src/interface/controller/state/control/i-calendar-exp-bar.state.ts +10 -0
- package/src/interface/controller/state/control/i-calendar.state.ts +172 -0
- package/src/interface/controller/state/control/i-tree.state.ts +10 -2
- package/src/interface/controller/state/control/index.ts +2 -0
- package/src/interface/controller/state/view/i-calendar-exp-view.state.ts +10 -0
- package/src/interface/controller/state/view/i-calendar-view.state.ts +10 -0
- package/src/interface/controller/state/view/index.ts +2 -0
- package/src/interface/controller/work-flow/wf-link.ts +4 -4
- package/src/service/dto/method.dto.ts +8 -1
- package/src/service/vo/calendar-item-data/calendar-item-data.ts +94 -0
- package/src/service/vo/calendar-item-data/index.ts +1 -0
- package/src/service/vo/index.ts +1 -0
- package/src/utils/wf-helper/wf-helper.ts +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-calendar-view.event.d.ts","sourceRoot":"","sources":["../../../../../src/interface/controller/event/view/i-calendar-view.event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD;;;;;;;;GAQG;AACH,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -33,4 +33,6 @@ export * from './i-wf-step-trace-view.event';
|
|
|
33
33
|
export * from './i-portal-view.event';
|
|
34
34
|
export * from './i-app-portal-view.event';
|
|
35
35
|
export * from './i-de-portal-view.event';
|
|
36
|
+
export * from './i-calendar-view.event';
|
|
37
|
+
export * from './i-calendar-exp-view.event';
|
|
36
38
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/controller/event/view/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/controller/event/view/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC"}
|
|
@@ -33,3 +33,5 @@ export * from './i-wf-step-trace-view.event';
|
|
|
33
33
|
export * from './i-portal-view.event';
|
|
34
34
|
export * from './i-app-portal-view.event';
|
|
35
35
|
export * from './i-de-portal-view.event';
|
|
36
|
+
export * from './i-calendar-view.event';
|
|
37
|
+
export * from './i-calendar-exp-view.event';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IExpBarControlState } from './i-exp-bar-control.state';
|
|
2
|
+
/**
|
|
3
|
+
* 日历导航栏部件状态
|
|
4
|
+
* @author zk
|
|
5
|
+
* @export
|
|
6
|
+
* @interface ICalendarExpBarState
|
|
7
|
+
* @extends {IExpBarControlState}
|
|
8
|
+
*/
|
|
9
|
+
export interface ICalendarExpBarState extends IExpBarControlState {
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=i-calendar-exp-bar.state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-calendar-exp-bar.state.d.ts","sourceRoot":"","sources":["../../../../../src/interface/controller/state/control/i-calendar-exp-bar.state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE;;;;;;GAMG;AACH,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { IMDControlState } from './i-md-control.state';
|
|
2
|
+
/**
|
|
3
|
+
* 日历部件状态
|
|
4
|
+
* @author zk
|
|
5
|
+
* @date 2023-05-22 02:18:43
|
|
6
|
+
* @export
|
|
7
|
+
* @interface ICalendarState
|
|
8
|
+
* @extends {IMDControlState}
|
|
9
|
+
*/
|
|
10
|
+
export interface ICalendarState extends IMDControlState {
|
|
11
|
+
/**
|
|
12
|
+
* 多数据部件数据集合
|
|
13
|
+
* @author lxm
|
|
14
|
+
* @date 2022-08-17 19:08:11
|
|
15
|
+
* @type {IData[]}
|
|
16
|
+
*/
|
|
17
|
+
items: ICalendarItemData[];
|
|
18
|
+
/**
|
|
19
|
+
* 选中的日期
|
|
20
|
+
*
|
|
21
|
+
* @author zk
|
|
22
|
+
* @date 2023-08-08 07:08:39
|
|
23
|
+
* @type {Date}
|
|
24
|
+
* @memberof ICalendarState
|
|
25
|
+
*/
|
|
26
|
+
selectedDate: Date;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* 日历项数据
|
|
30
|
+
*
|
|
31
|
+
* @author zk
|
|
32
|
+
* @date 2023-08-08 01:08:52
|
|
33
|
+
* @export
|
|
34
|
+
* @interface ICalendarItemData
|
|
35
|
+
*/
|
|
36
|
+
export interface ICalendarItemData {
|
|
37
|
+
/**
|
|
38
|
+
* 背景色
|
|
39
|
+
*
|
|
40
|
+
* @author zk
|
|
41
|
+
* @date 2023-08-08 01:08:17
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ICalendarItemData
|
|
44
|
+
*/
|
|
45
|
+
bkColor: string;
|
|
46
|
+
/**
|
|
47
|
+
* 开始时间
|
|
48
|
+
*
|
|
49
|
+
* @date 2023-08-08 01:08:46
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ICalendarItemData
|
|
52
|
+
*/
|
|
53
|
+
beginTime: string;
|
|
54
|
+
/**
|
|
55
|
+
* 颜色
|
|
56
|
+
*
|
|
57
|
+
* @date 2023-08-08 01:08:46
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof ICalendarItemData
|
|
60
|
+
*/
|
|
61
|
+
color: string;
|
|
62
|
+
/**
|
|
63
|
+
* 内容
|
|
64
|
+
*
|
|
65
|
+
* @date 2023-08-08 01:08:46
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof ICalendarItemData
|
|
68
|
+
*/
|
|
69
|
+
content: string;
|
|
70
|
+
/**
|
|
71
|
+
* 结束时间
|
|
72
|
+
*
|
|
73
|
+
* @date 2023-08-08 01:08:46
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof ICalendarItemData
|
|
76
|
+
*/
|
|
77
|
+
endTime: string;
|
|
78
|
+
/**
|
|
79
|
+
* 图标
|
|
80
|
+
*
|
|
81
|
+
* @date 2023-08-08 01:08:46
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof ICalendarItemData
|
|
84
|
+
*/
|
|
85
|
+
icon: string;
|
|
86
|
+
/**
|
|
87
|
+
* id标识
|
|
88
|
+
*
|
|
89
|
+
* @date 2023-08-08 01:08:46
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof ICalendarItemData
|
|
92
|
+
*/
|
|
93
|
+
id: string;
|
|
94
|
+
/**
|
|
95
|
+
* 级别
|
|
96
|
+
*
|
|
97
|
+
* @date 2023-08-08 01:08:46
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof ICalendarItemData
|
|
100
|
+
*/
|
|
101
|
+
level: string;
|
|
102
|
+
/**
|
|
103
|
+
* 标记2
|
|
104
|
+
*
|
|
105
|
+
* @date 2023-08-08 01:08:46
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof ICalendarItemData
|
|
108
|
+
*/
|
|
109
|
+
tag2: string;
|
|
110
|
+
/**
|
|
111
|
+
* 标记1
|
|
112
|
+
*
|
|
113
|
+
* @date 2023-08-08 01:08:46
|
|
114
|
+
* @type {string}
|
|
115
|
+
* @memberof ICalendarItemData
|
|
116
|
+
*/
|
|
117
|
+
tag: string;
|
|
118
|
+
/**
|
|
119
|
+
* 文本
|
|
120
|
+
*
|
|
121
|
+
* @date 2023-08-08 01:08:46
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof ICalendarItemData
|
|
124
|
+
*/
|
|
125
|
+
text: string;
|
|
126
|
+
/**
|
|
127
|
+
* 提示
|
|
128
|
+
*
|
|
129
|
+
* @date 2023-08-08 01:08:46
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof ICalendarItemData
|
|
132
|
+
*/
|
|
133
|
+
tips: string;
|
|
134
|
+
/**
|
|
135
|
+
* 实体数据
|
|
136
|
+
*
|
|
137
|
+
* @author zk
|
|
138
|
+
* @date 2023-08-08 01:08:12
|
|
139
|
+
* @type {IData}
|
|
140
|
+
* @memberof ICalendarItemData
|
|
141
|
+
*/
|
|
142
|
+
deData: IData;
|
|
143
|
+
/**
|
|
144
|
+
* 日历项名称
|
|
145
|
+
*
|
|
146
|
+
* @author zk
|
|
147
|
+
* @date 2023-08-08 01:08:12
|
|
148
|
+
* @type {IData}
|
|
149
|
+
* @memberof ICalendarItemData
|
|
150
|
+
*/
|
|
151
|
+
itemType: string;
|
|
152
|
+
/**
|
|
153
|
+
* 导航标识
|
|
154
|
+
*
|
|
155
|
+
* @author zk
|
|
156
|
+
* @date 2023-08-08 04:08:25
|
|
157
|
+
* @type {string}
|
|
158
|
+
* @memberof ICalendarItemData
|
|
159
|
+
*/
|
|
160
|
+
navId: string;
|
|
161
|
+
}
|
|
162
|
+
//# sourceMappingURL=i-calendar.state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-calendar.state.d.ts","sourceRoot":"","sources":["../../../../../src/interface/controller/state/control/i-calendar.state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;;;;;;GAOG;AAEH,MAAM,WAAW,cAAe,SAAQ,eAAe;IACrD;;;;;OAKG;IACH,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAE3B;;;;;;;OAOG;IACH,YAAY,EAAE,IAAI,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;;;;OAOG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;;;OAMG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;OAMG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;OAMG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;;;OAOG;IACH,MAAM,EAAE,KAAK,CAAC;IAEd;;;;;;;OAOG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;;;;OAOG;IACH,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -15,9 +15,9 @@ export interface ITreeState extends IMDControlState {
|
|
|
15
15
|
* @type {ITreeNodeData}
|
|
16
16
|
* @memberof TreeState
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
rootNodes: ITreeNodeData[];
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* 外部提供的默认展开的节点集合
|
|
21
21
|
*
|
|
22
22
|
* @author zk
|
|
23
23
|
* @date 2023-07-10 08:07:25
|
|
@@ -25,6 +25,13 @@ export interface ITreeState extends IMDControlState {
|
|
|
25
25
|
* @memberof ITreeState
|
|
26
26
|
*/
|
|
27
27
|
defaultExpandedKeys: string[];
|
|
28
|
+
/**
|
|
29
|
+
* 实际默认展开节点集合
|
|
30
|
+
* @author lxm
|
|
31
|
+
* @date 2023-08-09 05:06:56
|
|
32
|
+
* @type {string[]}
|
|
33
|
+
*/
|
|
34
|
+
expandedKeys: string[];
|
|
28
35
|
/**
|
|
29
36
|
* 右键上下文菜单状态
|
|
30
37
|
* @author lxm
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-tree.state.d.ts","sourceRoot":"","sources":["../../../../../src/interface/controller/state/control/i-tree.state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;;;;;;GAOG;AACH,MAAM,WAAW,UAAW,SAAQ,eAAe;IACjD;;;;;OAKG;IACH,
|
|
1
|
+
{"version":3,"file":"i-tree.state.d.ts","sourceRoot":"","sources":["../../../../../src/interface/controller/state/control/i-tree.state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;;;;;;GAOG;AACH,MAAM,WAAW,UAAW,SAAQ,eAAe;IACjD;;;;;OAKG;IACH,SAAS,EAAE,aAAa,EAAE,CAAC;IAE3B;;;;;;;OAOG;IACH,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAE9B;;;;;OAKG;IACH,YAAY,EAAE,MAAM,EAAE,CAAC;IAEvB;;;;;OAKG;IACH,YAAY,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,qBAAqB,CAAA;KAAE,CAAC;CACtD;AAED;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;;OAKG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;;;OAMG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;OAKG;IACH,IAAI,EAAE,OAAO,CAAC;IAEd;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;IAE3B;;;;;OAKG;IACH,MAAM,CAAC,EAAE,aAAa,CAAC;IAEvB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC;IAEf;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CAGvB"}
|
|
@@ -26,4 +26,6 @@ export * from './i-chart.state';
|
|
|
26
26
|
export * from './i-drbar.state';
|
|
27
27
|
export * from './i-drtab.state';
|
|
28
28
|
export * from './i-dashboard.state';
|
|
29
|
+
export * from './i-calendar.state';
|
|
30
|
+
export * from './i-calendar-exp-bar.state';
|
|
29
31
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/controller/state/control/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,YAAY,EACV,eAAe,EACf,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/controller/state/control/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,YAAY,EACV,eAAe,EACf,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IExpViewState } from './i-exp-view.state';
|
|
2
|
+
/**
|
|
3
|
+
* 日历导航视图UI状态
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @class ICalendarExpViewState
|
|
7
|
+
* @extends {IExpViewState}
|
|
8
|
+
*/
|
|
9
|
+
export interface ICalendarExpViewState extends IExpViewState {
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=i-calendar-exp-view.state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-calendar-exp-view.state.d.ts","sourceRoot":"","sources":["../../../../../src/interface/controller/state/view/i-calendar-exp-view.state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD;;;;;;GAMG;AACH,MAAM,WAAW,qBAAsB,SAAQ,aAAa;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IMDViewState } from './i-md-view.state';
|
|
2
|
+
/**
|
|
3
|
+
* 日历视图UI状态
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @class ICalendarViewState
|
|
7
|
+
* @extends {IMDViewState}
|
|
8
|
+
*/
|
|
9
|
+
export interface ICalendarViewState extends IMDViewState {
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=i-calendar-view.state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-calendar-view.state.d.ts","sourceRoot":"","sources":["../../../../../src/interface/controller/state/view/i-calendar-view.state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD;;;;;;GAMG;AACH,MAAM,WAAW,kBAAmB,SAAQ,YAAY;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -33,4 +33,6 @@ export * from './i-portal-view.state';
|
|
|
33
33
|
export * from './i-app-portal-view.state';
|
|
34
34
|
export * from './i-de-portal-view.state';
|
|
35
35
|
export * from './i-panel-view.state';
|
|
36
|
+
export * from './i-calendar-view.state';
|
|
37
|
+
export * from './i-calendar-exp-view.state';
|
|
36
38
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/controller/state/view/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/controller/state/view/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC"}
|
|
@@ -21,28 +21,28 @@ export interface WFLink {
|
|
|
21
21
|
* @date 2023-06-20 03:30:20
|
|
22
22
|
* @type {string}
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
sequenceflowview: string;
|
|
25
25
|
/**
|
|
26
26
|
* pc端流程操作表单
|
|
27
27
|
* @author lxm
|
|
28
28
|
* @date 2023-06-20 03:30:21
|
|
29
29
|
* @type {string}
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
sequenceflowform: string;
|
|
32
32
|
/**
|
|
33
33
|
* 移动端流程操作视图
|
|
34
34
|
* @author lxm
|
|
35
35
|
* @date 2023-06-20 03:31:45
|
|
36
36
|
* @type {string}
|
|
37
37
|
*/
|
|
38
|
-
|
|
38
|
+
sequenceflowmobview: string;
|
|
39
39
|
/**
|
|
40
40
|
* 移动端流程操作表单
|
|
41
41
|
* @author lxm
|
|
42
42
|
* @date 2023-06-20 03:31:43
|
|
43
43
|
* @type {string}
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
sequenceflowmobform: string;
|
|
46
46
|
/**
|
|
47
47
|
* 流程ID
|
|
48
48
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"method.dto.d.ts","sourceRoot":"","sources":["../../../src/service/dto/method.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"method.dto.d.ts","sourceRoot":"","sources":["../../../src/service/dto/method.dto.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,cAAc,EACd,eAAe,EACf,oBAAoB,EACrB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAGnE;;;;;;;GAOG;AACH,qBAAa,SAAS;IAYlB,SAAS,CAAC,MAAM,EAAE,cAAc;IAChC,SAAS,CAAC,GAAG,CAAC;IAZhB,SAAS,CAAC,GAAG,CAAC,EAAE,WAAW,CAAC;IAE5B,SAAS,CAAC,MAAM,EAAG,oBAAoB,EAAE,CAAC;IAE1C,SAAS,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,CAAa;IAErD,IAAI,WAAW,IAAI,OAAO,CAEzB;gBAGW,MAAM,EAAE,cAAc,EACtB,GAAG,CAAC,6BAAiB;IAUjC;;;;;;;;OAQG;IACG,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;IA8CxD;;;;;;;;OAQG;IACG,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC;IA2BrE;;;;;;;;OAQG;cACa,WAAW,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,SAAS,CAAC;CAgB7E"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/* eslint-disable no-await-in-loop */
|
|
2
|
+
import { clone } from 'ramda';
|
|
1
3
|
import { isNilOrEmpty } from 'qx-util';
|
|
2
4
|
import { ModelError } from '@ibiz-template/core';
|
|
3
5
|
import { AppDataEntity } from '../app-data-entity/app-data-entity';
|
|
@@ -37,18 +39,22 @@ export class MethodDto {
|
|
|
37
39
|
*/
|
|
38
40
|
async get(context, data) {
|
|
39
41
|
const params = {};
|
|
42
|
+
// 拷贝数据
|
|
43
|
+
const copyData = clone(data);
|
|
40
44
|
for (let i = 0; i < this.fields.length; i++) {
|
|
41
45
|
const field = this.fields[i];
|
|
42
46
|
const key = field.codeName.toLowerCase();
|
|
43
47
|
switch (field.type) {
|
|
44
48
|
case 'SIMPLE': {
|
|
45
|
-
const val =
|
|
49
|
+
const val = copyData[key];
|
|
46
50
|
if (isNilOrEmpty(val)) {
|
|
47
51
|
params[key] = null;
|
|
48
52
|
}
|
|
49
53
|
else {
|
|
50
54
|
params[key] = val;
|
|
51
55
|
}
|
|
56
|
+
// 取值后删除
|
|
57
|
+
delete copyData[key];
|
|
52
58
|
break;
|
|
53
59
|
}
|
|
54
60
|
case 'DTOS': {
|
|
@@ -68,6 +74,8 @@ export class MethodDto {
|
|
|
68
74
|
throw new ModelError(field, `未支持的应用实体方法输入属性类型: ${field.type}`);
|
|
69
75
|
}
|
|
70
76
|
}
|
|
77
|
+
// 合并剩余参数
|
|
78
|
+
Object.assign(params, copyData);
|
|
71
79
|
return params;
|
|
72
80
|
}
|
|
73
81
|
/**
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ISysCalendarItem } from '@ibiz/model-core';
|
|
2
|
+
import { ICalendarItemData } from '../../../interface';
|
|
3
|
+
/**
|
|
4
|
+
* 日历项数据
|
|
5
|
+
*
|
|
6
|
+
* @export
|
|
7
|
+
* @class CalendarItemData
|
|
8
|
+
* @implements {ICalendarItemData}
|
|
9
|
+
*/
|
|
10
|
+
export declare class CalendarItemData implements ICalendarItemData {
|
|
11
|
+
private model;
|
|
12
|
+
private data;
|
|
13
|
+
constructor(model: ISysCalendarItem, data: IData);
|
|
14
|
+
get deData(): IData;
|
|
15
|
+
get navId(): string;
|
|
16
|
+
get itemType(): string;
|
|
17
|
+
get bkColor(): string;
|
|
18
|
+
get beginTime(): string;
|
|
19
|
+
get color(): string;
|
|
20
|
+
get content(): string;
|
|
21
|
+
get endTime(): string;
|
|
22
|
+
get icon(): string;
|
|
23
|
+
get id(): string;
|
|
24
|
+
get level(): string;
|
|
25
|
+
get tag2(): string;
|
|
26
|
+
get tag(): string;
|
|
27
|
+
get text(): string;
|
|
28
|
+
get tips(): string;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=calendar-item-data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar-item-data.d.ts","sourceRoot":"","sources":["../../../../src/service/vo/calendar-item-data/calendar-item-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD;;;;;;GAMG;AACH,qBAAa,gBAAiB,YAAW,iBAAiB;IAEtD,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,IAAI;gBADJ,KAAK,EAAE,gBAAgB,EACvB,IAAI,EAAE,KAAK;IAGrB,IAAI,MAAM,IAAI,KAAK,CAElB;IAED,IAAI,KAAK,IAAI,MAAM,CAElB;IAED,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED,IAAI,OAAO,IAAI,MAAM,CAKpB;IAED,IAAI,SAAS,IAAI,MAAM,CAGtB;IAED,IAAI,KAAK,IAAI,MAAM,CAKlB;IAED,IAAI,OAAO,IAAI,MAAM,CAGpB;IAED,IAAI,OAAO,IAAI,MAAM,CAGpB;IAED,IAAI,IAAI,IAAI,MAAM,CAGjB;IAED,IAAI,EAAE,IAAI,MAAM,CAKf;IAED,IAAI,KAAK,IAAI,MAAM,CAGlB;IAED,IAAI,IAAI,IAAI,MAAM,CAGjB;IAED,IAAI,GAAG,IAAI,MAAM,CAGhB;IAED,IAAI,IAAI,IAAI,MAAM,CAGjB;IAED,IAAI,IAAI,IAAI,MAAM,CAGjB;CACF"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 日历项数据
|
|
3
|
+
*
|
|
4
|
+
* @export
|
|
5
|
+
* @class CalendarItemData
|
|
6
|
+
* @implements {ICalendarItemData}
|
|
7
|
+
*/
|
|
8
|
+
export class CalendarItemData {
|
|
9
|
+
constructor(model, data) {
|
|
10
|
+
this.model = model;
|
|
11
|
+
this.data = data;
|
|
12
|
+
}
|
|
13
|
+
get deData() {
|
|
14
|
+
return this.data;
|
|
15
|
+
}
|
|
16
|
+
get navId() {
|
|
17
|
+
return `${this.itemType}@${this.id}`;
|
|
18
|
+
}
|
|
19
|
+
get itemType() {
|
|
20
|
+
return this.model.itemType;
|
|
21
|
+
}
|
|
22
|
+
get bkColor() {
|
|
23
|
+
const fieldName = this.model.bkcolorAppDEFieldId;
|
|
24
|
+
return fieldName && this.data[fieldName]
|
|
25
|
+
? this.data[fieldName]
|
|
26
|
+
: this.model.bkcolor;
|
|
27
|
+
}
|
|
28
|
+
get beginTime() {
|
|
29
|
+
const fieldName = this.model.beginTimeAppDEFieldId;
|
|
30
|
+
return fieldName ? this.data[fieldName] : undefined;
|
|
31
|
+
}
|
|
32
|
+
get color() {
|
|
33
|
+
const fieldName = this.model.colorAppDEFieldId;
|
|
34
|
+
return fieldName && this.data[fieldName]
|
|
35
|
+
? this.data[fieldName]
|
|
36
|
+
: this.model.color;
|
|
37
|
+
}
|
|
38
|
+
get content() {
|
|
39
|
+
const fieldName = this.model.contentAppDEFieldId;
|
|
40
|
+
return fieldName ? this.data[fieldName] : undefined;
|
|
41
|
+
}
|
|
42
|
+
get endTime() {
|
|
43
|
+
const fieldName = this.model.endTimeAppDEFieldId;
|
|
44
|
+
return fieldName ? this.data[fieldName] : undefined;
|
|
45
|
+
}
|
|
46
|
+
get icon() {
|
|
47
|
+
const fieldName = this.model.iconAppDEFieldId;
|
|
48
|
+
return fieldName ? this.data[fieldName] : undefined;
|
|
49
|
+
}
|
|
50
|
+
get id() {
|
|
51
|
+
const fieldName = this.model.idAppDEFieldId;
|
|
52
|
+
return fieldName && this.data[fieldName]
|
|
53
|
+
? this.data[fieldName]
|
|
54
|
+
: this.data.srfkey;
|
|
55
|
+
}
|
|
56
|
+
get level() {
|
|
57
|
+
const fieldName = this.model.levelAppDEFieldId;
|
|
58
|
+
return fieldName ? this.data[fieldName] : undefined;
|
|
59
|
+
}
|
|
60
|
+
get tag2() {
|
|
61
|
+
const fieldName = this.model.tag2AppDEFieldId;
|
|
62
|
+
return fieldName ? this.data[fieldName] : undefined;
|
|
63
|
+
}
|
|
64
|
+
get tag() {
|
|
65
|
+
const fieldName = this.model.tagAppDEFieldId;
|
|
66
|
+
return fieldName ? this.data[fieldName] : undefined;
|
|
67
|
+
}
|
|
68
|
+
get text() {
|
|
69
|
+
const fieldName = this.model.textAppDEFieldId;
|
|
70
|
+
return fieldName ? this.data[fieldName] : undefined;
|
|
71
|
+
}
|
|
72
|
+
get tips() {
|
|
73
|
+
const fieldName = this.model.tipsAppDEFieldId;
|
|
74
|
+
return fieldName ? this.data[fieldName] : undefined;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/service/vo/calendar-item-data/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './calendar-item-data';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/service/vo/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/service/vo/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC"}
|
package/out/service/vo/index.js
CHANGED
|
@@ -23,11 +23,11 @@ export function getWFContext(data) {
|
|
|
23
23
|
*/
|
|
24
24
|
export function getWFSubmitViewId(view, link) {
|
|
25
25
|
var _a;
|
|
26
|
-
const { type,
|
|
26
|
+
const { type, sequenceflowview, sequenceflowmobview } = link;
|
|
27
27
|
const appViewRefs = ((_a = view.viewLayoutPanel) === null || _a === void 0 ? void 0 : _a.appViewRefs) || view.appViewRefs;
|
|
28
28
|
const key = type
|
|
29
29
|
? `WFUTILACTION@${type.toUpperCase()}`
|
|
30
|
-
: `WFACTION@${ibiz.env.isMob ?
|
|
30
|
+
: `WFACTION@${ibiz.env.isMob ? sequenceflowmobview : sequenceflowview}`;
|
|
31
31
|
const submitViewRef = appViewRefs.find(viewRef => {
|
|
32
32
|
return viewRef.name === key;
|
|
33
33
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiz-template/runtime",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "控制器包",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "out/index.js",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"build:rollup": "rollup -c",
|
|
22
22
|
"lint": "eslint 'src/**/*.ts'",
|
|
23
23
|
"lint:fix": "eslint --fix 'src/**/*.ts'",
|
|
24
|
-
"publish:next": "npm run build && npm publish --access public --tag=next",
|
|
25
|
-
"publish:dev": "npm run build && npm publish --access public --tag=dev",
|
|
26
|
-
"publish:beta": "npm run build && npm publish --access public --tag=beta",
|
|
24
|
+
"publish:next": "npm run build && npm publish --access public --tag=next --registry=http://npm.zhr.icu:4873/",
|
|
25
|
+
"publish:dev": "npm run build && npm publish --access public --tag=dev --registry=http://npm.zhr.icu:4873/",
|
|
26
|
+
"publish:beta": "npm run build && npm publish --access public --tag=beta --registry=http://npm.zhr.icu:4873/",
|
|
27
27
|
"publish:npm": "npm run build && npm publish --access public --registry=https://registry.npmjs.org/"
|
|
28
28
|
},
|
|
29
29
|
"author": "chitanda",
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@ibiz-template/core": "^0.1.
|
|
32
|
+
"@ibiz-template/core": "^0.1.6",
|
|
33
33
|
"@ibiz/model-core": "^0.0.14",
|
|
34
34
|
"@types/path-browserify": "^1.0.0",
|
|
35
35
|
"@types/qs": "^6.9.7",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"qx-util": "^0.4.8",
|
|
54
54
|
"ramda": "^0.29.0"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "b140871c2a8700d063b3a6380f0eef5c02768822"
|
|
57
57
|
}
|
|
@@ -192,11 +192,14 @@ export class MDViewEngine extends ViewEngineBase {
|
|
|
192
192
|
protected async openData(args: {
|
|
193
193
|
data: IData[];
|
|
194
194
|
event?: MouseEvent;
|
|
195
|
+
context?: IContext;
|
|
196
|
+
params?: IParams;
|
|
195
197
|
}): Promise<void> {
|
|
196
198
|
const { data, event } = args;
|
|
197
199
|
|
|
198
200
|
// 添加选中数据的主键
|
|
199
|
-
const context = this.view.context.clone();
|
|
201
|
+
const context = (args.context || this.view.context).clone();
|
|
202
|
+
const params = args.params || this.view.params;
|
|
200
203
|
const deName =
|
|
201
204
|
data[0].srfdecodename?.toLowerCase() ||
|
|
202
205
|
calcDeCodeNameById(this.xdataControl.model.appDataEntityId!);
|
|
@@ -204,7 +207,7 @@ export class MDViewEngine extends ViewEngineBase {
|
|
|
204
207
|
|
|
205
208
|
const result = await this.view.scheduler?.triggerCustom('opendata', {
|
|
206
209
|
context,
|
|
207
|
-
params
|
|
210
|
+
params,
|
|
208
211
|
data,
|
|
209
212
|
event,
|
|
210
213
|
view: this.view,
|