@beinformed/ui 1.39.0 → 1.41.0
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 +14 -0
- package/esm/constants/LayoutHintConfig.js +18 -0
- package/esm/constants/LayoutHintConfig.js.map +1 -1
- package/esm/constants/LayoutHints.js +6 -0
- package/esm/constants/LayoutHints.js.map +1 -1
- package/esm/models/attributes/input-constraints/FileSizeConstraint.js +0 -1
- package/esm/models/attributes/input-constraints/FileSizeConstraint.js.map +1 -1
- package/esm/models/content/ContentModel.js +1 -0
- package/esm/models/content/ContentModel.js.map +1 -1
- package/esm/models/content/SubSectionModel.js +5 -1
- package/esm/models/content/SubSectionModel.js.map +1 -1
- package/esm/models/detail/DetailModel.js +22 -3
- package/esm/models/detail/DetailModel.js.map +1 -1
- package/esm/models/href/Href.js +13 -0
- package/esm/models/href/Href.js.map +1 -1
- package/esm/react-client/contextPath.js +0 -2
- package/esm/react-client/contextPath.js.map +1 -1
- package/esm/react-client/rehydrate.js +0 -2
- package/esm/react-client/rehydrate.js.map +1 -1
- package/esm/react-server/contextPath.js +0 -1
- package/esm/react-server/contextPath.js.map +1 -1
- package/lib/constants/LayoutHintConfig.js +18 -0
- package/lib/constants/LayoutHintConfig.js.flow +56 -0
- package/lib/constants/LayoutHintConfig.js.map +1 -1
- package/lib/constants/LayoutHints.js +7 -1
- package/lib/constants/LayoutHints.js.flow +7 -0
- package/lib/constants/LayoutHints.js.map +1 -1
- package/lib/models/attributes/input-constraints/FileSizeConstraint.js +0 -1
- package/lib/models/attributes/input-constraints/FileSizeConstraint.js.map +1 -1
- package/lib/models/content/ContentModel.js +1 -0
- package/lib/models/content/ContentModel.js.flow +1 -0
- package/lib/models/content/ContentModel.js.map +1 -1
- package/lib/models/content/SubSectionModel.js +5 -1
- package/lib/models/content/SubSectionModel.js.flow +3 -2
- package/lib/models/content/SubSectionModel.js.map +1 -1
- package/lib/models/content/__tests__/ContentModel.spec.js.flow +3 -0
- package/lib/models/detail/DetailModel.js +21 -2
- package/lib/models/detail/DetailModel.js.flow +35 -5
- package/lib/models/detail/DetailModel.js.map +1 -1
- package/lib/models/href/Href.js +13 -0
- package/lib/models/href/Href.js.flow +13 -0
- package/lib/models/href/Href.js.map +1 -1
- package/lib/react-client/contextPath.js +0 -1
- package/lib/react-client/contextPath.js.map +1 -1
- package/lib/react-client/rehydrate.js +0 -2
- package/lib/react-client/rehydrate.js.map +1 -1
- package/package.json +17 -17
- package/src/constants/LayoutHintConfig.js +56 -0
- package/src/constants/LayoutHints.js +7 -0
- package/src/models/content/ContentModel.js +1 -0
- package/src/models/content/SubSectionModel.js +3 -2
- package/src/models/content/__tests__/ContentModel.spec.js +3 -0
- package/src/models/detail/DetailModel.js +35 -5
- package/src/models/href/Href.js +13 -0
- package/types/constants/LayoutHintConfig.d.ts +15 -0
- package/types/constants/LayoutHints.d.ts +4 -0
- package/types/models/actions/ActionModel.d.ts +3 -3
- package/types/models/application/ApplicationModel.d.ts +1 -1
- package/types/models/attributes/AttributeCollection.d.ts +1 -1
- package/types/models/attributes/AttributeModel.d.ts +14 -14
- package/types/models/attributes/AttributeSetModel.d.ts +9 -2
- package/types/models/attributes/BooleanAttributeModel.d.ts +1 -1
- package/types/models/attributes/ChoiceAttributeOptionCollection.d.ts +2 -2
- package/types/models/attributes/ChoiceAttributeOptionModel.d.ts +7 -7
- package/types/models/attributes/CompositeAttributeModel.d.ts +1 -1
- package/types/models/attributes/DatetimeAttributeModel.d.ts +1 -1
- package/types/models/attributes/PasswordAttributeModel.d.ts +3 -3
- package/types/models/attributes/StringAttributeModel.d.ts +1 -1
- package/types/models/attributes/UploadAttributeModel.d.ts +3 -3
- package/types/models/attributes/input-constraints/DateBoundaryConstraint.d.ts +1 -1
- package/types/models/attributes/input-constraints/DatetimeFormatConstraint.d.ts +1 -1
- package/types/models/attributes/input-constraints/RangeConstraint.d.ts +1 -1
- package/types/models/attributes/layouthint-rules/DependentAttribute.d.ts +4 -4
- package/types/models/base/BaseCollection.d.ts +1 -1
- package/types/models/base/BaseModel.d.ts +2 -2
- package/types/models/base/ResourceModel.d.ts +2 -2
- package/types/models/caseview/CaseViewModel.d.ts +1 -1
- package/types/models/concepts/BusinessScenarioModel.d.ts +1 -1
- package/types/models/concepts/ConceptDetailModel.d.ts +1 -1
- package/types/models/concepts/ConceptIndexModel.d.ts +1 -1
- package/types/models/concepts/ConceptLinkModel.d.ts +1 -1
- package/types/models/concepts/ConceptRelationModel.d.ts +1 -1
- package/types/models/content/ContentLinkModel.d.ts +3 -3
- package/types/models/content/ContentModel.d.ts +2 -2
- package/types/models/content/ContentTOCModel.d.ts +1 -1
- package/types/models/content/SectionModel.d.ts +1 -1
- package/types/models/detail/DetailModel.d.ts +3 -3
- package/types/models/error/ErrorResponse.d.ts +1 -1
- package/types/models/filters/BaseFilterModel.d.ts +2 -2
- package/types/models/filters/StringFilterModel.d.ts +2 -2
- package/types/models/form/FormModel.d.ts +14 -14
- package/types/models/form/FormObjectModel.d.ts +3 -3
- package/types/models/href/Href.d.ts +13 -6
- package/types/models/href/ListHref.d.ts +4 -4
- package/types/models/links/LinkCollection.d.ts +1 -1
- package/types/models/links/LinkModel.d.ts +4 -4
- package/types/models/list/ListDetailModel.d.ts +2 -2
- package/types/models/list/ListModel.d.ts +3 -3
- package/types/models/paging/PagesizeModel.d.ts +1 -1
- package/types/models/paging/PagingModel.d.ts +1 -1
- package/types/models/panels/GroupingPanelModel.d.ts +1 -1
- package/types/models/sorting/SortOptionModel.d.ts +2 -2
- package/types/models/tab/TabModel.d.ts +1 -1
- package/types/models/taskgroup/TaskGroupModel.d.ts +5 -0
- package/types/models/user/UserServicesModel.d.ts +1 -1
- package/types/modularui/Authenticate.d.ts +1 -1
- package/types/modularui/ModularUIRequest.d.ts +8 -8
- package/types/modularui/ModularUIResponse.d.ts +5 -5
- package/types/utils/datetime/DateTimeUtil.d.ts +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* StringFilterModel can handle string filters with multiple setting
|
|
3
3
|
*/
|
|
4
|
-
export default class StringFilterModel extends
|
|
4
|
+
export default class StringFilterModel extends FilterModel {
|
|
5
5
|
_isValid: boolean;
|
|
6
6
|
_value: string | null;
|
|
7
7
|
_inputvalue: string;
|
|
@@ -27,4 +27,4 @@ export default class StringFilterModel extends BaseFilterModel {
|
|
|
27
27
|
*/
|
|
28
28
|
shouldHandleFormat(): boolean;
|
|
29
29
|
}
|
|
30
|
-
import
|
|
30
|
+
import FilterModel from "./FilterModel";
|
|
@@ -23,31 +23,31 @@ declare class FormModel extends ResourceModel {
|
|
|
23
23
|
_tokens: Array<string>;
|
|
24
24
|
/**
|
|
25
25
|
*/
|
|
26
|
-
set lastUpdate(
|
|
26
|
+
set lastUpdate(lastUpdate: number);
|
|
27
27
|
/**
|
|
28
28
|
*/
|
|
29
29
|
get lastUpdate(): number;
|
|
30
30
|
/**
|
|
31
31
|
*/
|
|
32
|
-
set currentFormObject(
|
|
32
|
+
set currentFormObject(formObject: FormObjectModel);
|
|
33
33
|
/**
|
|
34
34
|
*/
|
|
35
35
|
get currentFormObject(): FormObjectModel;
|
|
36
36
|
/**
|
|
37
37
|
*/
|
|
38
|
-
set endResultFormObjects(
|
|
38
|
+
set endResultFormObjects(endResultFormObjects: FormObjectModel[]);
|
|
39
39
|
/**
|
|
40
40
|
*/
|
|
41
41
|
get endResultFormObjects(): FormObjectModel[];
|
|
42
42
|
/**
|
|
43
43
|
*/
|
|
44
|
-
set parameters(
|
|
44
|
+
set parameters(parameters: Parameter[]);
|
|
45
45
|
/**
|
|
46
46
|
*/
|
|
47
47
|
get parameters(): Parameter[];
|
|
48
48
|
/**
|
|
49
49
|
*/
|
|
50
|
-
set isComplete(
|
|
50
|
+
set isComplete(isComplete: boolean);
|
|
51
51
|
/**
|
|
52
52
|
* Indicates if form is completely entered
|
|
53
53
|
*/
|
|
@@ -98,7 +98,7 @@ declare class FormModel extends ResourceModel {
|
|
|
98
98
|
addFormObject(formObjectModel: FormObjectModel): void;
|
|
99
99
|
/**
|
|
100
100
|
*/
|
|
101
|
-
set completedFormObjects(
|
|
101
|
+
set completedFormObjects(formObjects: FormObjectModel[]);
|
|
102
102
|
/**
|
|
103
103
|
* Completed objects are previously entered questions
|
|
104
104
|
*/
|
|
@@ -116,7 +116,7 @@ declare class FormModel extends ResourceModel {
|
|
|
116
116
|
removeFormObject(formObjectModel: FormObjectModel | null): void;
|
|
117
117
|
/**
|
|
118
118
|
*/
|
|
119
|
-
set previouslyEnteredFormObjects(
|
|
119
|
+
set previouslyEnteredFormObjects(formObjects: FormObjectModel[]);
|
|
120
120
|
/**
|
|
121
121
|
* Previously entered objects are questions that have been entered before,
|
|
122
122
|
* but are currently not applicable for the form.
|
|
@@ -135,7 +135,7 @@ declare class FormModel extends ResourceModel {
|
|
|
135
135
|
getEndResultFormObjects(): Array<FormObjectModel>;
|
|
136
136
|
/**
|
|
137
137
|
*/
|
|
138
|
-
set previousEndResultKeys(
|
|
138
|
+
set previousEndResultKeys(endResultFormObjectKeys: string[]);
|
|
139
139
|
/**
|
|
140
140
|
*/
|
|
141
141
|
get previousEndResultKeys(): string[];
|
|
@@ -159,20 +159,20 @@ declare class FormModel extends ResourceModel {
|
|
|
159
159
|
resetErrors(): void;
|
|
160
160
|
/**
|
|
161
161
|
*/
|
|
162
|
-
set errorCollection(
|
|
162
|
+
set errorCollection(errorCollection: ErrorCollection);
|
|
163
163
|
/**
|
|
164
164
|
*/
|
|
165
165
|
get errorCollection(): ErrorCollection;
|
|
166
166
|
/**
|
|
167
167
|
*/
|
|
168
|
-
set commit(
|
|
168
|
+
set commit(commit: boolean);
|
|
169
169
|
/**
|
|
170
170
|
* Indicates if the form needs to be committed
|
|
171
171
|
*/
|
|
172
172
|
get commit(): boolean;
|
|
173
173
|
/**
|
|
174
174
|
*/
|
|
175
|
-
set isFinished(
|
|
175
|
+
set isFinished(isFinished: boolean);
|
|
176
176
|
/**
|
|
177
177
|
* Inidicates if form is finished: Form is completely entered and committed
|
|
178
178
|
*/
|
|
@@ -210,7 +210,7 @@ declare class FormModel extends ResourceModel {
|
|
|
210
210
|
/**
|
|
211
211
|
* Replaces all tokens with the given collection of tokens
|
|
212
212
|
*/
|
|
213
|
-
set tokens(
|
|
213
|
+
set tokens(tokens: string[]);
|
|
214
214
|
/**
|
|
215
215
|
* Handle form tokens to indicate concurrent form use
|
|
216
216
|
*/
|
|
@@ -260,7 +260,7 @@ declare class FormModel extends ResourceModel {
|
|
|
260
260
|
* Set success information, contains redirect and event data
|
|
261
261
|
* @param success
|
|
262
262
|
*/
|
|
263
|
-
set success(
|
|
263
|
+
set success(success: {
|
|
264
264
|
redirect: string;
|
|
265
265
|
data: Object;
|
|
266
266
|
});
|
|
@@ -313,7 +313,7 @@ declare class FormModel extends ResourceModel {
|
|
|
313
313
|
handleNewFormObject(receivedForm: FormModel): void;
|
|
314
314
|
/**
|
|
315
315
|
*/
|
|
316
|
-
set mergePreviouslyEnteredObjects(
|
|
316
|
+
set mergePreviouslyEnteredObjects(mergePreviouslyEnteredObjects: boolean);
|
|
317
317
|
/**
|
|
318
318
|
* Indicate if a new form object model should be merged with a previousled entered form object model
|
|
319
319
|
* Set this property to false on the form that receives the new form to skip the merge behavior
|
|
@@ -65,7 +65,7 @@ export default class FormObjectModel extends BaseModel {
|
|
|
65
65
|
get isRepeatable(): boolean;
|
|
66
66
|
/**
|
|
67
67
|
*/
|
|
68
|
-
set repeatIndex(
|
|
68
|
+
set repeatIndex(repeatIndex: number);
|
|
69
69
|
/**
|
|
70
70
|
*/
|
|
71
71
|
get repeatIndex(): number;
|
|
@@ -102,7 +102,7 @@ export default class FormObjectModel extends BaseModel {
|
|
|
102
102
|
get buttonLabels(): Object;
|
|
103
103
|
/**
|
|
104
104
|
*/
|
|
105
|
-
set attributeCollection(
|
|
105
|
+
set attributeCollection(attributeCollection: AttributeCollection);
|
|
106
106
|
/**
|
|
107
107
|
* get attribute collection
|
|
108
108
|
*/
|
|
@@ -141,7 +141,7 @@ export default class FormObjectModel extends BaseModel {
|
|
|
141
141
|
get isValid(): boolean;
|
|
142
142
|
/**
|
|
143
143
|
*/
|
|
144
|
-
set dynamicValidationsLoaded(
|
|
144
|
+
set dynamicValidationsLoaded(dynamicValidationsLoaded: boolean);
|
|
145
145
|
/**
|
|
146
146
|
*/
|
|
147
147
|
get dynamicValidationsLoaded(): boolean;
|
|
@@ -32,10 +32,11 @@ declare class Href {
|
|
|
32
32
|
GET: string;
|
|
33
33
|
}>;
|
|
34
34
|
_state: any;
|
|
35
|
+
_referenceHash: number | null;
|
|
35
36
|
/**
|
|
36
37
|
* Set resourctype
|
|
37
38
|
*/
|
|
38
|
-
set resourcetype(
|
|
39
|
+
set resourcetype(resourcetype: string);
|
|
39
40
|
/**
|
|
40
41
|
* Retrieve resourceType
|
|
41
42
|
*/
|
|
@@ -47,7 +48,7 @@ declare class Href {
|
|
|
47
48
|
/**
|
|
48
49
|
* Set the path of the Href, the part before the querystring question mark
|
|
49
50
|
*/
|
|
50
|
-
set path(
|
|
51
|
+
set path(path: string);
|
|
51
52
|
/**
|
|
52
53
|
* Retrieve the path
|
|
53
54
|
*/
|
|
@@ -55,7 +56,7 @@ declare class Href {
|
|
|
55
56
|
/**
|
|
56
57
|
* Replace parameters of Href
|
|
57
58
|
*/
|
|
58
|
-
set parameters(
|
|
59
|
+
set parameters(parameters: Parameter[]);
|
|
59
60
|
/**
|
|
60
61
|
* Retrieve all paremters
|
|
61
62
|
*/
|
|
@@ -63,14 +64,14 @@ declare class Href {
|
|
|
63
64
|
/**
|
|
64
65
|
* Set hash
|
|
65
66
|
*/
|
|
66
|
-
set hash(
|
|
67
|
+
set hash(hash: string);
|
|
67
68
|
/**
|
|
68
69
|
* Retrieve hash
|
|
69
70
|
*/
|
|
70
71
|
get hash(): string;
|
|
71
72
|
/**
|
|
72
73
|
*/
|
|
73
|
-
set state(
|
|
74
|
+
set state(state: any);
|
|
74
75
|
/**
|
|
75
76
|
*/
|
|
76
77
|
get state(): any;
|
|
@@ -110,7 +111,7 @@ declare class Href {
|
|
|
110
111
|
/**
|
|
111
112
|
* Set request method
|
|
112
113
|
*/
|
|
113
|
-
set method(
|
|
114
|
+
set method(method: $Keys<{
|
|
114
115
|
POST: string;
|
|
115
116
|
GET: string;
|
|
116
117
|
}>);
|
|
@@ -171,6 +172,12 @@ declare class Href {
|
|
|
171
172
|
* Indicates if the link is a content link
|
|
172
173
|
*/
|
|
173
174
|
get isContent(): boolean;
|
|
175
|
+
/**
|
|
176
|
+
*/
|
|
177
|
+
getReferenceHash(): number | null;
|
|
178
|
+
/**
|
|
179
|
+
*/
|
|
180
|
+
setReferenceHash(referenceHash: number): void;
|
|
174
181
|
/**
|
|
175
182
|
* Returns a complete url from the Href
|
|
176
183
|
*/
|
|
@@ -24,22 +24,22 @@ export default class ListHref extends Href {
|
|
|
24
24
|
/**
|
|
25
25
|
* Setting the current page
|
|
26
26
|
*/
|
|
27
|
-
set page(
|
|
27
|
+
set page(page: Parameter);
|
|
28
28
|
/**
|
|
29
29
|
*/
|
|
30
30
|
get page(): Parameter;
|
|
31
31
|
/**
|
|
32
32
|
* Setting the page size
|
|
33
33
|
*/
|
|
34
|
-
set pagesize(
|
|
34
|
+
set pagesize(pagesize: number);
|
|
35
35
|
/**
|
|
36
36
|
* Setting the sort value
|
|
37
37
|
*/
|
|
38
|
-
set sort(
|
|
38
|
+
set sort(sort: string);
|
|
39
39
|
/**
|
|
40
40
|
* Add filter parameters to the parameter collection
|
|
41
41
|
*/
|
|
42
|
-
set filterCollection(
|
|
42
|
+
set filterCollection(filters: FilterCollection);
|
|
43
43
|
/**
|
|
44
44
|
* Getting prefix
|
|
45
45
|
*/
|
|
@@ -22,7 +22,7 @@ declare class LinkModel extends BaseModel {
|
|
|
22
22
|
/**
|
|
23
23
|
* Set the href of the Link
|
|
24
24
|
*/
|
|
25
|
-
set href(
|
|
25
|
+
set href(href: Href);
|
|
26
26
|
/**
|
|
27
27
|
* Retrieve the href of the link
|
|
28
28
|
*/
|
|
@@ -58,20 +58,20 @@ declare class LinkModel extends BaseModel {
|
|
|
58
58
|
/**
|
|
59
59
|
* Setter for icon of LinkModel
|
|
60
60
|
*/
|
|
61
|
-
set icon(
|
|
61
|
+
set icon(icon: string);
|
|
62
62
|
/**
|
|
63
63
|
* Retrieve icon of LinkModel
|
|
64
64
|
*/
|
|
65
65
|
get icon(): string;
|
|
66
66
|
/**
|
|
67
67
|
*/
|
|
68
|
-
set targetModel(
|
|
68
|
+
set targetModel(targetModel: Class<ModularUIModel>);
|
|
69
69
|
/**
|
|
70
70
|
*/
|
|
71
71
|
get targetModel(): Class<ModularUIModel>;
|
|
72
72
|
/**
|
|
73
73
|
*/
|
|
74
|
-
set isCacheable(
|
|
74
|
+
set isCacheable(isCacheable: boolean);
|
|
75
75
|
/**
|
|
76
76
|
*/
|
|
77
77
|
get isCacheable(): boolean;
|
|
@@ -10,7 +10,7 @@ export default class ListDetailModel extends DetailModel {
|
|
|
10
10
|
/**
|
|
11
11
|
* Set listitem of this listdetail and transfer listitem actions to listdetail actions
|
|
12
12
|
*/
|
|
13
|
-
set listitem(
|
|
13
|
+
set listitem(listitem: ListItemModel);
|
|
14
14
|
/**
|
|
15
15
|
* Get listitem
|
|
16
16
|
*/
|
|
@@ -21,7 +21,7 @@ export default class ListDetailModel extends DetailModel {
|
|
|
21
21
|
get panelLinks(): LinkCollection;
|
|
22
22
|
/**
|
|
23
23
|
*/
|
|
24
|
-
set contentConfiguration(
|
|
24
|
+
set contentConfiguration(configuration: ContentConfiguration);
|
|
25
25
|
/**
|
|
26
26
|
* Getting the contentConfiguration
|
|
27
27
|
*/
|
|
@@ -14,7 +14,7 @@ export default class ListModel extends ResourceModel {
|
|
|
14
14
|
/**
|
|
15
15
|
* Add detail model to the {ListModel}
|
|
16
16
|
*/
|
|
17
|
-
set detail(
|
|
17
|
+
set detail(detail: ListDetailModel);
|
|
18
18
|
/**
|
|
19
19
|
* Getting the detail
|
|
20
20
|
*/
|
|
@@ -26,7 +26,7 @@ export default class ListModel extends ResourceModel {
|
|
|
26
26
|
/**
|
|
27
27
|
* Set results
|
|
28
28
|
*/
|
|
29
|
-
set listItemCollection(
|
|
29
|
+
set listItemCollection(listItemCollection: ListItemCollection);
|
|
30
30
|
/**
|
|
31
31
|
* Getting the results
|
|
32
32
|
*/
|
|
@@ -73,7 +73,7 @@ export default class ListModel extends ResourceModel {
|
|
|
73
73
|
/**
|
|
74
74
|
* Set filterCollection
|
|
75
75
|
*/
|
|
76
|
-
set filterCollection(
|
|
76
|
+
set filterCollection(filterCollection: FilterCollection);
|
|
77
77
|
/**
|
|
78
78
|
* Getting the filters
|
|
79
79
|
*/
|
|
@@ -20,7 +20,7 @@ export default class GroupingPanelModel extends ResourceModel {
|
|
|
20
20
|
/**
|
|
21
21
|
* Setting the taskgroup panel collection
|
|
22
22
|
*/
|
|
23
|
-
set taskGroupCollection(
|
|
23
|
+
set taskGroupCollection(taskgroups: TaskGroupCollection);
|
|
24
24
|
/**
|
|
25
25
|
* Getting the taskgrouppanels on the tab
|
|
26
26
|
*/
|
|
@@ -12,7 +12,7 @@ declare class SortOptionModel {
|
|
|
12
12
|
_selected: boolean;
|
|
13
13
|
/**
|
|
14
14
|
*/
|
|
15
|
-
set selected(
|
|
15
|
+
set selected(selected: boolean);
|
|
16
16
|
/**
|
|
17
17
|
*/
|
|
18
18
|
get selected(): boolean;
|
|
@@ -33,7 +33,7 @@ declare class SortOptionModel {
|
|
|
33
33
|
get label(): string;
|
|
34
34
|
/**
|
|
35
35
|
*/
|
|
36
|
-
set sortorder(
|
|
36
|
+
set sortorder(sortorder: "desc" | "asc");
|
|
37
37
|
/**
|
|
38
38
|
*/
|
|
39
39
|
get sortorder(): "desc" | "asc";
|
|
@@ -13,7 +13,7 @@ export default class TabModel extends ResourceModel {
|
|
|
13
13
|
/**
|
|
14
14
|
* Setting the taskgroup panel collection
|
|
15
15
|
*/
|
|
16
|
-
set taskGroupCollection(
|
|
16
|
+
set taskGroupCollection(taskgroups: TaskGroupCollection);
|
|
17
17
|
/**
|
|
18
18
|
* Getting the taskgrouppanels on the tab
|
|
19
19
|
*/
|
|
@@ -10,6 +10,11 @@ export default class TaskGroupModel extends ResourceModel {
|
|
|
10
10
|
* Retrieve actions of taskgroup
|
|
11
11
|
*/
|
|
12
12
|
get actionCollection(): ActionCollection;
|
|
13
|
+
/**
|
|
14
|
+
* Indicates if taskgroup has tasks
|
|
15
|
+
* @returns {boolean}
|
|
16
|
+
*/
|
|
17
|
+
hasTasks(): boolean;
|
|
13
18
|
}
|
|
14
19
|
import ResourceModel from "../base/ResourceModel";
|
|
15
20
|
import ActionCollection from "../actions/ActionCollection";
|
|
@@ -22,31 +22,31 @@ declare class ModularUIRequest {
|
|
|
22
22
|
_basePath: string;
|
|
23
23
|
/**
|
|
24
24
|
*/
|
|
25
|
-
set options(
|
|
25
|
+
set options(options: RequestModularUIOptions);
|
|
26
26
|
/**
|
|
27
27
|
*/
|
|
28
28
|
get options(): RequestModularUIOptions;
|
|
29
29
|
/**
|
|
30
30
|
*/
|
|
31
|
-
set href(
|
|
31
|
+
set href(href: Href);
|
|
32
32
|
/**
|
|
33
33
|
*/
|
|
34
34
|
get href(): Href;
|
|
35
35
|
/**
|
|
36
36
|
*/
|
|
37
|
-
set locale(
|
|
37
|
+
set locale(locale: string);
|
|
38
38
|
/**
|
|
39
39
|
*/
|
|
40
40
|
get locale(): string;
|
|
41
41
|
/**
|
|
42
42
|
*/
|
|
43
|
-
set targetModel(
|
|
43
|
+
set targetModel(targetModel: any);
|
|
44
44
|
/**
|
|
45
45
|
*/
|
|
46
46
|
get targetModel(): any;
|
|
47
47
|
/**
|
|
48
48
|
*/
|
|
49
|
-
set method(
|
|
49
|
+
set method(method: $Keys<{
|
|
50
50
|
POST: string;
|
|
51
51
|
GET: string;
|
|
52
52
|
}>);
|
|
@@ -58,7 +58,7 @@ declare class ModularUIRequest {
|
|
|
58
58
|
}>;
|
|
59
59
|
/**
|
|
60
60
|
*/
|
|
61
|
-
set contributionsHref(
|
|
61
|
+
set contributionsHref(contributionsHref: string);
|
|
62
62
|
/**
|
|
63
63
|
*/
|
|
64
64
|
get contributionsHref(): string;
|
|
@@ -73,7 +73,7 @@ declare class ModularUIRequest {
|
|
|
73
73
|
get withChildModels(): boolean;
|
|
74
74
|
/**
|
|
75
75
|
*/
|
|
76
|
-
set forceTargetModel(
|
|
76
|
+
set forceTargetModel(forceTargetModel: boolean);
|
|
77
77
|
/**
|
|
78
78
|
*/
|
|
79
79
|
get forceTargetModel(): boolean;
|
|
@@ -139,7 +139,7 @@ declare class ModularUIRequest {
|
|
|
139
139
|
isHiddenList(name: string, href: string): Promise<string>;
|
|
140
140
|
/**
|
|
141
141
|
*/
|
|
142
|
-
set onProgress(
|
|
142
|
+
set onProgress(progressEvent: ProgressEventHandler);
|
|
143
143
|
/**
|
|
144
144
|
*/
|
|
145
145
|
get onProgress(): ProgressEventHandler;
|
|
@@ -24,31 +24,31 @@ declare class ModularUIResponse {
|
|
|
24
24
|
_parameters: Array<Parameter>;
|
|
25
25
|
/**
|
|
26
26
|
*/
|
|
27
|
-
set locale(
|
|
27
|
+
set locale(locale: string);
|
|
28
28
|
/**
|
|
29
29
|
*/
|
|
30
30
|
get locale(): string;
|
|
31
31
|
/**
|
|
32
32
|
*/
|
|
33
|
-
set key(
|
|
33
|
+
set key(key: string);
|
|
34
34
|
/**
|
|
35
35
|
*/
|
|
36
36
|
get key(): string;
|
|
37
37
|
/**
|
|
38
38
|
*/
|
|
39
|
-
set data(
|
|
39
|
+
set data(data: Object);
|
|
40
40
|
/**
|
|
41
41
|
*/
|
|
42
42
|
get data(): Object;
|
|
43
43
|
/**
|
|
44
44
|
*/
|
|
45
|
-
set contributions(
|
|
45
|
+
set contributions(contributions: Object);
|
|
46
46
|
/**
|
|
47
47
|
*/
|
|
48
48
|
get contributions(): Object;
|
|
49
49
|
/**
|
|
50
50
|
*/
|
|
51
|
-
set parameters(
|
|
51
|
+
set parameters(parameters: Parameter[]);
|
|
52
52
|
/**
|
|
53
53
|
*/
|
|
54
54
|
get parameters(): Parameter[];
|