@5minds/processcube_engine_sdk 7.2.0-develop-b39155-mbeukek6 → 7.2.0-develop-c892cc-mbq8ejo9
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/DataModels/FlowNodeInstance/UserTaskInstance.d.ts +39 -4
- package/dist/ProcessModel/Model/Activities/UserTask.d.ts +90 -5
- package/dist/ProcessModel/ViewModel/Activities/UserTaskViewModel.d.ts +2 -0
- package/dist/commonjs/DataModels/FlowNodeInstance/UserTaskInstance.js +31 -3
- package/dist/commonjs/DataModels/FlowNodeInstance/UserTaskInstance.js.map +1 -1
- package/dist/commonjs/ProcessModel/Model/Activities/UserTask.js +30 -0
- package/dist/commonjs/ProcessModel/Model/Activities/UserTask.js.map +1 -1
- package/dist/commonjs/ProcessModel/ProcessModelParser/Parser/FlowNodeParsers/ActivityParsers/UserTaskParser.js +12 -0
- package/dist/commonjs/ProcessModel/ProcessModelParser/Parser/FlowNodeParsers/ActivityParsers/UserTaskParser.js.map +1 -1
- package/dist/commonjs/ProcessModel/ViewModel/Activities/UserTaskViewModel.js +4 -0
- package/dist/commonjs/ProcessModel/ViewModel/Activities/UserTaskViewModel.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Model } from '../../ProcessModel/index';
|
|
1
2
|
import { FlowNodeInstance } from '../FlowNodeInstance';
|
|
2
3
|
/**
|
|
3
4
|
* Describes a suspended UserTask.
|
|
@@ -70,9 +71,15 @@ export type UserTaskFormField = {
|
|
|
70
71
|
label: string;
|
|
71
72
|
defaultValue?: string | number | boolean | object;
|
|
72
73
|
/**
|
|
73
|
-
* The
|
|
74
|
+
* Custom Configuration values for a form field. The content depends on the type of the Form Field.
|
|
74
75
|
*/
|
|
75
76
|
customForm?: string;
|
|
77
|
+
/**
|
|
78
|
+
* JSON formatted Custom Configuration values for a form field. The content depends on the type of the Form Field.
|
|
79
|
+
*
|
|
80
|
+
* Will be empty, if the configuration is not a valid JSON.
|
|
81
|
+
*/
|
|
82
|
+
parsedCustomForm?: Model.Activities.FormFieldCustomForm;
|
|
76
83
|
/**
|
|
77
84
|
* Optional: If the FormField is an enumeration,
|
|
78
85
|
* this will contain the values for that enumeration.
|
|
@@ -83,12 +90,40 @@ export type UserTaskFormField = {
|
|
|
83
90
|
* Determines the type of a UserTasks FormField.
|
|
84
91
|
*/
|
|
85
92
|
export declare enum UserTaskFormFieldType {
|
|
93
|
+
/**
|
|
94
|
+
* @deprecated Use "integer" instead.
|
|
95
|
+
*/
|
|
96
|
+
long = "long",
|
|
97
|
+
/**
|
|
98
|
+
* @deprecated Use "text" instead.
|
|
99
|
+
*/
|
|
100
|
+
string = "string",
|
|
86
101
|
boolean = "boolean",
|
|
102
|
+
text = "string",
|
|
103
|
+
integer = "long",
|
|
104
|
+
number = "number",
|
|
87
105
|
date = "date",
|
|
88
106
|
enum = "enum",
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
107
|
+
header = "header",
|
|
108
|
+
paragraph = "paragraph",
|
|
109
|
+
confirm = "confirm",
|
|
110
|
+
color = "color",
|
|
111
|
+
datetimeLocal = "datetime-local",
|
|
112
|
+
email = "email",
|
|
113
|
+
file = "file",
|
|
114
|
+
hidden = "hidden",
|
|
115
|
+
month = "month",
|
|
116
|
+
password = "password",
|
|
117
|
+
range = "range",
|
|
118
|
+
tel = "tel",
|
|
119
|
+
time = "time",
|
|
120
|
+
url = "url",
|
|
121
|
+
week = "week",
|
|
122
|
+
checkbox = "checkbox",
|
|
123
|
+
radio = "radio",
|
|
124
|
+
select = "select",
|
|
125
|
+
textarea = "textarea",
|
|
126
|
+
custom = "custom"
|
|
92
127
|
}
|
|
93
128
|
/**
|
|
94
129
|
* If a UserTasks FormField is an enumeration, this will contain information
|
|
@@ -38,9 +38,8 @@ export type UserTaskFormField = {
|
|
|
38
38
|
label: string;
|
|
39
39
|
/**
|
|
40
40
|
* The type of the FormField.
|
|
41
|
-
* Can be virtually anything; string, boolean, number, or enum.
|
|
42
41
|
*/
|
|
43
|
-
type:
|
|
42
|
+
type: UserTaskFormFieldType;
|
|
44
43
|
/**
|
|
45
44
|
* The default value of the FormField.
|
|
46
45
|
*/
|
|
@@ -51,15 +50,101 @@ export type UserTaskFormField = {
|
|
|
51
50
|
*/
|
|
52
51
|
enumValues?: Array<FormFieldEnumValue>;
|
|
53
52
|
/**
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
53
|
+
* Stringified Configuration values for a form field. The content depends on the type of the Form Field.
|
|
54
|
+
*
|
|
55
|
+
* **NOTE:** In older versions that still use the legacy portal, this will contain an URI to a Custom Form.
|
|
57
56
|
*/
|
|
58
57
|
customForm?: string;
|
|
58
|
+
/**
|
|
59
|
+
* JSON formatted Custom Configuration values for a form field. The content depends on the type of the Form Field.
|
|
60
|
+
*
|
|
61
|
+
* Will be empty, if the configuration is not a valid JSON.
|
|
62
|
+
*/
|
|
63
|
+
parsedCustomForm?: FormFieldCustomForm;
|
|
64
|
+
};
|
|
65
|
+
export declare enum UserTaskFormFieldType {
|
|
66
|
+
text = "string",
|
|
67
|
+
integer = "long",
|
|
68
|
+
number = "number",
|
|
69
|
+
boolean = "boolean",
|
|
70
|
+
date = "date",
|
|
71
|
+
enum = "enum",
|
|
72
|
+
header = "header",
|
|
73
|
+
paragraph = "paragraph",
|
|
74
|
+
confirm = "confirm",
|
|
75
|
+
color = "color",
|
|
76
|
+
datetimeLocal = "datetime-local",
|
|
77
|
+
email = "email",
|
|
78
|
+
file = "file",
|
|
79
|
+
hidden = "hidden",
|
|
80
|
+
month = "month",
|
|
81
|
+
password = "password",
|
|
82
|
+
range = "range",
|
|
83
|
+
tel = "tel",
|
|
84
|
+
time = "time",
|
|
85
|
+
url = "url",
|
|
86
|
+
week = "week",
|
|
87
|
+
checkbox = "checkbox",
|
|
88
|
+
radio = "radio",
|
|
89
|
+
select = "select",
|
|
90
|
+
textarea = "textarea",
|
|
91
|
+
custom = "custom"
|
|
92
|
+
}
|
|
93
|
+
export type FormFieldCustomForm = FormFieldCustomFormCommonProperties | FormFieldCustomForm_Confirm | FormFieldCustomForm_Number | FormFieldCustomForm_Header | FormFieldCustomForm_Checkbox | FormFieldCustomForm_Radio | FormFieldCustomForm_Range | FormFieldCustomForm_Select | FormFieldCustomForm_Text;
|
|
94
|
+
export type FormFieldCustomFormCommonProperties = {
|
|
95
|
+
type: UserTaskFormFieldType;
|
|
96
|
+
placeholder?: string;
|
|
97
|
+
customProperties?: Array<FormFieldCustomProperty>;
|
|
98
|
+
validation?: string;
|
|
99
|
+
hint?: string;
|
|
100
|
+
};
|
|
101
|
+
export type FormFieldCustomForm_Confirm = FormFieldCustomFormCommonProperties & {
|
|
102
|
+
type: UserTaskFormFieldType.confirm;
|
|
103
|
+
confirmButtonText?: string;
|
|
104
|
+
declineButtonText?: string;
|
|
105
|
+
};
|
|
106
|
+
export type FormFieldCustomForm_Number = FormFieldCustomFormCommonProperties & {
|
|
107
|
+
type: UserTaskFormFieldType.number;
|
|
108
|
+
step?: number | string;
|
|
109
|
+
};
|
|
110
|
+
export type FormFieldCustomForm_Header = FormFieldCustomFormCommonProperties & {
|
|
111
|
+
type: UserTaskFormFieldType.header;
|
|
112
|
+
style?: string;
|
|
113
|
+
};
|
|
114
|
+
export type FormFieldCustomForm_Range = FormFieldCustomFormCommonProperties & {
|
|
115
|
+
type: UserTaskFormFieldType.range;
|
|
116
|
+
step?: number;
|
|
117
|
+
max?: number;
|
|
118
|
+
min?: number;
|
|
119
|
+
};
|
|
120
|
+
export type FormFieldCustomForm_Checkbox = FormFieldCustomFormCommonProperties & {
|
|
121
|
+
type: UserTaskFormFieldType.checkbox;
|
|
122
|
+
entries?: Array<Record<'key', string> & Record<'value', string>>;
|
|
123
|
+
};
|
|
124
|
+
export type FormFieldCustomForm_Radio = FormFieldCustomFormCommonProperties & {
|
|
125
|
+
type: UserTaskFormFieldType.radio;
|
|
126
|
+
entries?: Array<Record<'key', string> & Record<'value', string>>;
|
|
127
|
+
};
|
|
128
|
+
export type FormFieldCustomForm_Select = FormFieldCustomFormCommonProperties & {
|
|
129
|
+
type: UserTaskFormFieldType.select;
|
|
130
|
+
entries?: Array<Record<'key', string> & Record<'value', string>>;
|
|
131
|
+
};
|
|
132
|
+
export type FormFieldCustomForm_Text = FormFieldCustomFormCommonProperties & {
|
|
133
|
+
type: UserTaskFormFieldType.text;
|
|
134
|
+
/**
|
|
135
|
+
* @deprecated For backwardscompatibilty only. Multiline Textfields are now modeled as Textarea.
|
|
136
|
+
*/
|
|
137
|
+
multiline?: boolean;
|
|
138
|
+
};
|
|
139
|
+
export type FormFieldCustomProperty = {
|
|
140
|
+
name: string;
|
|
141
|
+
value: string;
|
|
59
142
|
};
|
|
60
143
|
/**
|
|
61
144
|
* Used in combination with 'enum' type UserTask FormFields,
|
|
62
145
|
* this describes a single enum value of that FormField.
|
|
146
|
+
*
|
|
147
|
+
* @deprecated No longer supported.
|
|
63
148
|
*/
|
|
64
149
|
export type FormFieldEnumValue = {
|
|
65
150
|
id: string;
|
|
@@ -6,11 +6,39 @@ exports.UserTaskFormFieldType = void 0;
|
|
|
6
6
|
*/
|
|
7
7
|
var UserTaskFormFieldType;
|
|
8
8
|
(function (UserTaskFormFieldType) {
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Use "integer" instead.
|
|
11
|
+
*/
|
|
12
|
+
UserTaskFormFieldType["long"] = "long";
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Use "text" instead.
|
|
15
|
+
*/
|
|
16
|
+
UserTaskFormFieldType["string"] = "string";
|
|
9
17
|
UserTaskFormFieldType["boolean"] = "boolean";
|
|
18
|
+
UserTaskFormFieldType["text"] = "string";
|
|
19
|
+
UserTaskFormFieldType["integer"] = "long";
|
|
20
|
+
UserTaskFormFieldType["number"] = "number";
|
|
10
21
|
UserTaskFormFieldType["date"] = "date";
|
|
11
22
|
UserTaskFormFieldType["enum"] = "enum";
|
|
12
|
-
UserTaskFormFieldType["
|
|
13
|
-
UserTaskFormFieldType["
|
|
14
|
-
UserTaskFormFieldType["
|
|
23
|
+
UserTaskFormFieldType["header"] = "header";
|
|
24
|
+
UserTaskFormFieldType["paragraph"] = "paragraph";
|
|
25
|
+
UserTaskFormFieldType["confirm"] = "confirm";
|
|
26
|
+
UserTaskFormFieldType["color"] = "color";
|
|
27
|
+
UserTaskFormFieldType["datetimeLocal"] = "datetime-local";
|
|
28
|
+
UserTaskFormFieldType["email"] = "email";
|
|
29
|
+
UserTaskFormFieldType["file"] = "file";
|
|
30
|
+
UserTaskFormFieldType["hidden"] = "hidden";
|
|
31
|
+
UserTaskFormFieldType["month"] = "month";
|
|
32
|
+
UserTaskFormFieldType["password"] = "password";
|
|
33
|
+
UserTaskFormFieldType["range"] = "range";
|
|
34
|
+
UserTaskFormFieldType["tel"] = "tel";
|
|
35
|
+
UserTaskFormFieldType["time"] = "time";
|
|
36
|
+
UserTaskFormFieldType["url"] = "url";
|
|
37
|
+
UserTaskFormFieldType["week"] = "week";
|
|
38
|
+
UserTaskFormFieldType["checkbox"] = "checkbox";
|
|
39
|
+
UserTaskFormFieldType["radio"] = "radio";
|
|
40
|
+
UserTaskFormFieldType["select"] = "select";
|
|
41
|
+
UserTaskFormFieldType["textarea"] = "textarea";
|
|
42
|
+
UserTaskFormFieldType["custom"] = "custom";
|
|
15
43
|
})(UserTaskFormFieldType || (exports.UserTaskFormFieldType = UserTaskFormFieldType = {}));
|
|
16
44
|
//# sourceMappingURL=UserTaskInstance.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserTaskInstance.js","sourceRoot":"","sources":["../../../../src/DataModels/FlowNodeInstance/UserTaskInstance.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"UserTaskInstance.js","sourceRoot":"","sources":["../../../../src/DataModels/FlowNodeInstance/UserTaskInstance.ts"],"names":[],"mappings":";;;AAoGA;;GAEG;AACH,IAAY,qBAoCX;AApCD,WAAY,qBAAqB;IAC/B;;OAEG;IACH,sCAAa,CAAA;IACb;;OAEG;IACH,0CAAiB,CAAA;IAEjB,4CAAmB,CAAA;IACnB,wCAAe,CAAA;IACf,yCAAgB,CAAA;IAChB,0CAAiB,CAAA;IACjB,sCAAa,CAAA;IACb,sCAAa,CAAA;IACb,0CAAiB,CAAA;IACjB,gDAAuB,CAAA;IACvB,4CAAmB,CAAA;IACnB,wCAAe,CAAA;IACf,yDAAgC,CAAA;IAChC,wCAAe,CAAA;IACf,sCAAa,CAAA;IACb,0CAAiB,CAAA;IACjB,wCAAe,CAAA;IACf,8CAAqB,CAAA;IACrB,wCAAe,CAAA;IACf,oCAAW,CAAA;IACX,sCAAa,CAAA;IACb,oCAAW,CAAA;IACX,sCAAa,CAAA;IACb,8CAAqB,CAAA;IACrB,wCAAe,CAAA;IACf,0CAAiB,CAAA;IACjB,8CAAqB,CAAA;IACrB,0CAAiB,CAAA;AACnB,CAAC,EApCW,qBAAqB,qCAArB,qBAAqB,QAoChC"}
|
|
@@ -1,3 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserTaskFormFieldType = void 0;
|
|
4
|
+
var UserTaskFormFieldType;
|
|
5
|
+
(function (UserTaskFormFieldType) {
|
|
6
|
+
UserTaskFormFieldType["text"] = "string";
|
|
7
|
+
UserTaskFormFieldType["integer"] = "long";
|
|
8
|
+
UserTaskFormFieldType["number"] = "number";
|
|
9
|
+
UserTaskFormFieldType["boolean"] = "boolean";
|
|
10
|
+
UserTaskFormFieldType["date"] = "date";
|
|
11
|
+
UserTaskFormFieldType["enum"] = "enum";
|
|
12
|
+
UserTaskFormFieldType["header"] = "header";
|
|
13
|
+
UserTaskFormFieldType["paragraph"] = "paragraph";
|
|
14
|
+
UserTaskFormFieldType["confirm"] = "confirm";
|
|
15
|
+
UserTaskFormFieldType["color"] = "color";
|
|
16
|
+
UserTaskFormFieldType["datetimeLocal"] = "datetime-local";
|
|
17
|
+
UserTaskFormFieldType["email"] = "email";
|
|
18
|
+
UserTaskFormFieldType["file"] = "file";
|
|
19
|
+
UserTaskFormFieldType["hidden"] = "hidden";
|
|
20
|
+
UserTaskFormFieldType["month"] = "month";
|
|
21
|
+
UserTaskFormFieldType["password"] = "password";
|
|
22
|
+
UserTaskFormFieldType["range"] = "range";
|
|
23
|
+
UserTaskFormFieldType["tel"] = "tel";
|
|
24
|
+
UserTaskFormFieldType["time"] = "time";
|
|
25
|
+
UserTaskFormFieldType["url"] = "url";
|
|
26
|
+
UserTaskFormFieldType["week"] = "week";
|
|
27
|
+
UserTaskFormFieldType["checkbox"] = "checkbox";
|
|
28
|
+
UserTaskFormFieldType["radio"] = "radio";
|
|
29
|
+
UserTaskFormFieldType["select"] = "select";
|
|
30
|
+
UserTaskFormFieldType["textarea"] = "textarea";
|
|
31
|
+
UserTaskFormFieldType["custom"] = "custom";
|
|
32
|
+
})(UserTaskFormFieldType || (exports.UserTaskFormFieldType = UserTaskFormFieldType = {}));
|
|
3
33
|
//# sourceMappingURL=UserTask.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserTask.js","sourceRoot":"","sources":["../../../../../src/ProcessModel/Model/Activities/UserTask.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"UserTask.js","sourceRoot":"","sources":["../../../../../src/ProcessModel/Model/Activities/UserTask.ts"],"names":[],"mappings":";;;AAyEA,IAAY,qBA2BX;AA3BD,WAAY,qBAAqB;IAC/B,wCAAe,CAAA;IACf,yCAAgB,CAAA;IAChB,0CAAiB,CAAA;IACjB,4CAAmB,CAAA;IACnB,sCAAa,CAAA;IACb,sCAAa,CAAA;IACb,0CAAiB,CAAA;IACjB,gDAAuB,CAAA;IACvB,4CAAmB,CAAA;IACnB,wCAAe,CAAA;IACf,yDAAgC,CAAA;IAChC,wCAAe,CAAA;IACf,sCAAa,CAAA;IACb,0CAAiB,CAAA;IACjB,wCAAe,CAAA;IACf,8CAAqB,CAAA;IACrB,wCAAe,CAAA;IACf,oCAAW,CAAA;IACX,sCAAa,CAAA;IACb,oCAAW,CAAA;IACX,sCAAa,CAAA;IACb,8CAAqB,CAAA;IACrB,wCAAe,CAAA;IACf,0CAAiB,CAAA;IACjB,8CAAqB,CAAA;IACrB,0CAAiB,CAAA;AACnB,CAAC,EA3BW,qBAAqB,qCAArB,qBAAqB,QA2BhC"}
|
|
@@ -64,12 +64,24 @@ function parseFormFields(userTaskRaw) {
|
|
|
64
64
|
return formFieldsRaw.map(parseFormField);
|
|
65
65
|
}
|
|
66
66
|
function parseFormField(formFieldRaw) {
|
|
67
|
+
const tryParseCustomForm = (customFormString) => {
|
|
68
|
+
try {
|
|
69
|
+
if (!customFormString || customFormString.trim().length === 0) {
|
|
70
|
+
return undefined;
|
|
71
|
+
}
|
|
72
|
+
return JSON.parse(customFormString);
|
|
73
|
+
}
|
|
74
|
+
catch {
|
|
75
|
+
return undefined;
|
|
76
|
+
}
|
|
77
|
+
};
|
|
67
78
|
const formField = {
|
|
68
79
|
id: formFieldRaw.id,
|
|
69
80
|
label: formFieldRaw.label,
|
|
70
81
|
type: formFieldRaw.type,
|
|
71
82
|
defaultValue: formFieldRaw.defaultValue,
|
|
72
83
|
customForm: formFieldRaw.customForm,
|
|
84
|
+
parsedCustomForm: tryParseCustomForm(formFieldRaw.customForm),
|
|
73
85
|
};
|
|
74
86
|
if (formField.type === 'enum') {
|
|
75
87
|
const rawValues = (0, TypeFactory_1.getModelPropertyAsArray)(formFieldRaw, index_1.BpmnTags.CamundaProperty.Value);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserTaskParser.js","sourceRoot":"","sources":["../../../../../../../src/ProcessModel/ProcessModelParser/Parser/FlowNodeParsers/ActivityParsers/UserTaskParser.ts"],"names":[],"mappings":";;;;;AAUA,wCAwBC;AAlCD,kDAA0B;AAC1B,uFAA0E;AAE1E,mDAAoE;AACpE,sDAA+D;AAC/D,uDAA2D;AAC3D,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AAC;AAC/B,CAAC;AAED,SAAS,wBAAwB,CAAC,QAAmC;IACnE,QAAQ,CAAC,UAAU,GAAG,IAAA,4DAAkC,EAAC,YAAY,EAAE,QAAQ,CAAC,iBAAiB,CAAC,0BAA0B,CAAC,EAAE,KAAK,CAAC;AACvI,CAAC;AAED,SAAS,yBAAyB,CAAC,QAAmC;IACpE,QAAQ,CAAC,WAAW,GAAG,IAAA,4DAAkC,EAAC,aAAa,EAAE,QAAQ,CAAC,iBAAiB,CAAC,0BAA0B,CAAC,EAAE,KAAK,CAAC;AACzI,CAAC;AAED,SAAS,6BAA6B,CAAC,QAAmC;IACxE,QAAQ,CAAC,eAAe,GAAG,IAAA,4DAAkC,EAAC,iBAAiB,EAAE,QAAQ,CAAC,iBAAiB,CAAC,0BAA0B,CAAC,EAAE,KAAK,CAAC;AACjJ,CAAC;AAED,SAAS,6BAA6B,CAAC,QAAmC;IACxE,QAAQ,CAAC,mBAAmB,GAAG,IAAA,4DAAkC,EAAC,sBAAsB,EAAE,QAAQ,CAAC,iBAAiB,CAAC,0BAA0B,CAAC,EAAE,KAAK,CAAC;AAC1J,CAAC"}
|
|
@@ -23,12 +23,16 @@ class UserTaskFormFieldViewModel {
|
|
|
23
23
|
type;
|
|
24
24
|
defaultValue;
|
|
25
25
|
index;
|
|
26
|
+
customForm;
|
|
27
|
+
parsedCustomForm;
|
|
26
28
|
constructor(userTaskFormField, index) {
|
|
27
29
|
this.id = userTaskFormField.id;
|
|
28
30
|
this.label = userTaskFormField.label;
|
|
29
31
|
this.type = userTaskFormField.type;
|
|
30
32
|
this.defaultValue = userTaskFormField.defaultValue;
|
|
31
33
|
this.index = index;
|
|
34
|
+
this.customForm = userTaskFormField.customForm;
|
|
35
|
+
this.parsedCustomForm = userTaskFormField.parsedCustomForm;
|
|
32
36
|
}
|
|
33
37
|
}
|
|
34
38
|
exports.UserTaskFormFieldViewModel = UserTaskFormFieldViewModel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserTaskViewModel.js","sourceRoot":"","sources":["../../../../../src/ProcessModel/ViewModel/Activities/UserTaskViewModel.ts"],"names":[],"mappings":";;;AAEA,2DAAwD;AAExD,MAAa,iBAAkB,SAAQ,qCAAiB;IAC/C,mBAAmB,CAAU;IAC7B,UAAU,CAAU;IACpB,UAAU,CAAwD;IAEzE,YAAY,QAAkB,EAAE,YAA8B;QAC5D,KAAK,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;QAE9B,IAAI,CAAC,mBAAmB,GAAG,QAAQ,CAAC,mBAAmB,CAAC;QACxD,IAAI,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC;QACtC,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;QAErB,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,KAAK,EAAE,EAAE;YAC/C,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC,GAAG,IAAI,0BAA0B,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;QACnF,CAAC,CAAC,CAAC;IACL,CAAC;CACF;AAhBD,8CAgBC;AAED,MAAa,0BAA0B;IAC9B,EAAE,CAAS;IACX,KAAK,CAAS;IACd,IAAI,CAAS;IACb,YAAY,CAAS;IACrB,KAAK,CAAS;
|
|
1
|
+
{"version":3,"file":"UserTaskViewModel.js","sourceRoot":"","sources":["../../../../../src/ProcessModel/ViewModel/Activities/UserTaskViewModel.ts"],"names":[],"mappings":";;;AAEA,2DAAwD;AAExD,MAAa,iBAAkB,SAAQ,qCAAiB;IAC/C,mBAAmB,CAAU;IAC7B,UAAU,CAAU;IACpB,UAAU,CAAwD;IAEzE,YAAY,QAAkB,EAAE,YAA8B;QAC5D,KAAK,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;QAE9B,IAAI,CAAC,mBAAmB,GAAG,QAAQ,CAAC,mBAAmB,CAAC;QACxD,IAAI,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC;Q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