@colijnit/sharedcomponents 260.1.8 → 260.1.10
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/bundles/colijnit-sharedcomponents.umd.js +86 -39
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.d.ts +1 -0
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/colijnit-sharedcomponents.js +2 -1
- package/esm2015/lib/components/form-builder/form-builder-user-form/form-builder-question.component.js +148 -0
- package/esm2015/lib/components/form-builder/form-builder-user-form/form-builder-user-form.component.js +20 -116
- package/esm2015/lib/components/form-builder/form-builder-user-form/form-builder-user-form.module.js +3 -1
- package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
- package/fesm2015/colijnit-sharedcomponents.js +166 -118
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/lib/components/form-builder/form-builder-user-form/form-builder-question.component.d.ts +32 -0
- package/lib/components/form-builder/form-builder-user-form/form-builder-user-form.component.d.ts +0 -6
- package/lib/res/dictionary/dictionaries.d.ts +10 -0
- package/package.json +1 -1
package/lib/components/form-builder/form-builder-user-form/form-builder-question.component.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormQuestionType } from '@colijnit/mainapi/build/enum/form-question.type';
|
|
3
|
+
import { TableName } from '@colijnit/mainapi/build/enum/table-name.enum';
|
|
4
|
+
import { FormQuestion } from '@colijnit/mainapi/build/model/form-question.bo';
|
|
5
|
+
import { FormQuestionAnswer } from '@colijnit/mainapi/build/model/form-question-answer.bo';
|
|
6
|
+
import { FormQuestionResponse } from '@colijnit/mainapi/build/model/form-question-response.bo';
|
|
7
|
+
import { Icon } from '../../../enum/icon.enum';
|
|
8
|
+
import { UserFormMode } from '../../../enum/user-form-mode.enum';
|
|
9
|
+
export declare class FormBuilderQuestionComponent implements OnInit {
|
|
10
|
+
readonly formQuestionType: typeof FormQuestionType;
|
|
11
|
+
readonly TableName: typeof TableName;
|
|
12
|
+
readonly icons: typeof Icon;
|
|
13
|
+
readonly modes: typeof UserFormMode;
|
|
14
|
+
readonly formQuestionTypes: typeof FormQuestionType;
|
|
15
|
+
mode: UserFormMode;
|
|
16
|
+
question: FormQuestion;
|
|
17
|
+
formResponse: FormQuestionResponse[];
|
|
18
|
+
questionIndex: number;
|
|
19
|
+
active: boolean;
|
|
20
|
+
readonly: boolean;
|
|
21
|
+
updateQuestion: EventEmitter<{
|
|
22
|
+
question: any;
|
|
23
|
+
answer?: any;
|
|
24
|
+
}>;
|
|
25
|
+
formResponseChange: EventEmitter<FormQuestionResponse[]>;
|
|
26
|
+
dropDownModel: FormQuestionAnswer;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
changeLovOption(formQuestionResponse: FormQuestionResponse, value: FormQuestionAnswer): void;
|
|
29
|
+
changeFormResponse(questionResponse: FormQuestionResponse): void;
|
|
30
|
+
changeMultipleOption(id: string, formResponse: FormQuestionResponse, add: boolean): void;
|
|
31
|
+
changeTime(formResponse: FormQuestionResponse, time: Date): void;
|
|
32
|
+
}
|
package/lib/components/form-builder/form-builder-user-form/form-builder-user-form.component.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import { Form } from '@colijnit/mainapi/build/model/form.bo';
|
|
|
5
5
|
import { FormResponse } from '@colijnit/mainapi/build/model/form-response.bo';
|
|
6
6
|
import { FormQuestion } from '@colijnit/mainapi/build/model/form-question.bo';
|
|
7
7
|
import { FormQuestionAnswer } from '@colijnit/mainapi/build/model/form-question-answer.bo';
|
|
8
|
-
import { FormQuestionResponse } from '@colijnit/mainapi/build/model/form-question-response.bo';
|
|
9
8
|
import { CoDocument } from '@colijnit/mainapi/build/model/co-document.bo';
|
|
10
9
|
import { BusinessObjectFactory } from '@colijnit/ioneconnector/build/service/business-object-factory';
|
|
11
10
|
import { Icon } from '../../../enum/icon.enum';
|
|
@@ -53,9 +52,6 @@ export declare class FormBuilderUserFormComponent implements OnDestroy {
|
|
|
53
52
|
enabledNextQuestion(question: FormQuestion, answer?: FormQuestionAnswer | number): void;
|
|
54
53
|
onValid(): void;
|
|
55
54
|
handleCancelForm(): Promise<void>;
|
|
56
|
-
changeMultipleOption(id: string, formResponse: FormQuestionResponse, add: boolean): void;
|
|
57
|
-
changeLovOption(formResponse: FormQuestionResponse, value: FormQuestionAnswer): void;
|
|
58
|
-
changeTime(formResponse: FormQuestionResponse, time: Date): void;
|
|
59
55
|
handleDocumentDeleted(doc: CoDocument): void;
|
|
60
56
|
handleDocumentChanged(doc: CoDocument): void;
|
|
61
57
|
handleDocumentsAdded(docs: CoDocument[]): void;
|
|
@@ -65,6 +61,4 @@ export declare class FormBuilderUserFormComponent implements OnDestroy {
|
|
|
65
61
|
private _loadDocs;
|
|
66
62
|
handleDefinitiveChange(definitive: boolean): void;
|
|
67
63
|
commitUserForm(): void;
|
|
68
|
-
lovModel(question: FormQuestion, response: string): FormQuestionAnswer;
|
|
69
|
-
handleOpenFilesUpload(): void;
|
|
70
64
|
}
|
|
@@ -7954,6 +7954,7 @@ export declare class Dictionaries {
|
|
|
7954
7954
|
MESSAGE_DEFAULT_CONTROL_ERROR: string;
|
|
7955
7955
|
MESSAGE_DEFAULT_REPORTS_LOADED: string;
|
|
7956
7956
|
MESSAGE_DELETE_CONFIG: string;
|
|
7957
|
+
DEVIATING_EVEN_WEEKS: string;
|
|
7957
7958
|
DOCUMENT_NUMBER: string;
|
|
7958
7959
|
DOCUMENT_OPTIONS: string;
|
|
7959
7960
|
DOCUMENT_SELECTION: string;
|
|
@@ -9629,6 +9630,7 @@ export declare class Dictionaries {
|
|
|
9629
9630
|
EVENTS: string;
|
|
9630
9631
|
EVENT_NOTIFICATIONS_CREATED: string;
|
|
9631
9632
|
EVEN_WEEKS: string;
|
|
9633
|
+
EVEN_WEEK: string;
|
|
9632
9634
|
EXAMPLE: string;
|
|
9633
9635
|
EXCEEDANCE_CODE: string;
|
|
9634
9636
|
EXCEEDENCE_CODE: string;
|
|
@@ -12180,6 +12182,7 @@ export declare class Dictionaries {
|
|
|
12180
12182
|
OCCUPATIONAL_THERAPY_PERCENTAGE: string;
|
|
12181
12183
|
OCTOBER: string;
|
|
12182
12184
|
ODD_WEEKS: string;
|
|
12185
|
+
ODD_WEEK: string;
|
|
12183
12186
|
OFF: string;
|
|
12184
12187
|
OFFER: string;
|
|
12185
12188
|
OFFER_HISTORY: string;
|
|
@@ -15329,6 +15332,7 @@ export declare class Dictionaries {
|
|
|
15329
15332
|
PLANNINGS: string;
|
|
15330
15333
|
PLANNING_OVERVIEW: string;
|
|
15331
15334
|
PLANNING_PREFERRED_DATE_ENTERED: string;
|
|
15335
|
+
RULE_DESCRIPTION: string;
|
|
15332
15336
|
START_REVIEW_MODE: string;
|
|
15333
15337
|
START_ROUTE: string;
|
|
15334
15338
|
START_SCREEN: string;
|
|
@@ -15449,6 +15453,7 @@ export declare class Dictionaries {
|
|
|
15449
15453
|
USE_TIME_FROM_TIMER: string;
|
|
15450
15454
|
PLANNING_REQUEST: string;
|
|
15451
15455
|
PLANNING_REQUESTED: string;
|
|
15456
|
+
PLANNING_RULE_DETAILS: string;
|
|
15452
15457
|
PLANNING_RULES: string;
|
|
15453
15458
|
PLAN_DAYPARTS: string;
|
|
15454
15459
|
PLAN_DELIVERY: string;
|
|
@@ -26327,6 +26332,7 @@ export declare class Dictionaries {
|
|
|
26327
26332
|
DETAIL_CODE2: string;
|
|
26328
26333
|
DETAIL_CODE: string;
|
|
26329
26334
|
DETAIL_DESCRIPTION: string;
|
|
26335
|
+
DEVIATING_EVEN_WEEKS: string;
|
|
26330
26336
|
DEVELOPMENT: string;
|
|
26331
26337
|
DGA_INSURED: string;
|
|
26332
26338
|
DIAGNOSIS: string;
|
|
@@ -26748,6 +26754,7 @@ export declare class Dictionaries {
|
|
|
26748
26754
|
EVENTS: string;
|
|
26749
26755
|
EVENT_NOTIFICATIONS_CREATED: string;
|
|
26750
26756
|
EVEN_WEEKS: string;
|
|
26757
|
+
EVEN_WEEK: string;
|
|
26751
26758
|
EXAMPLE: string;
|
|
26752
26759
|
EXCEEDANCE_CODE: string;
|
|
26753
26760
|
EXCEEDENCE_CODE: string;
|
|
@@ -28740,6 +28747,7 @@ export declare class Dictionaries {
|
|
|
28740
28747
|
OCCUPATIONAL_THERAPY_PERCENTAGE: string;
|
|
28741
28748
|
OCTOBER: string;
|
|
28742
28749
|
ODD_WEEKS: string;
|
|
28750
|
+
ODD_WEEK: string;
|
|
28743
28751
|
OFF: string;
|
|
28744
28752
|
OFFER: string;
|
|
28745
28753
|
OFFER_HISTORY: string;
|
|
@@ -29271,8 +29279,10 @@ export declare class Dictionaries {
|
|
|
29271
29279
|
PLANNINGS: string;
|
|
29272
29280
|
PLANNING_OVERVIEW: string;
|
|
29273
29281
|
PLANNING_PREFERRED_DATE_ENTERED: string;
|
|
29282
|
+
RULE_DESCRIPTION: string;
|
|
29274
29283
|
PLANNING_REQUEST: string;
|
|
29275
29284
|
PLANNING_REQUESTED: string;
|
|
29285
|
+
PLANNING_RULE_DETAILS: string;
|
|
29276
29286
|
PLANNING_RULES: string;
|
|
29277
29287
|
PLAN_DAYPARTS: string;
|
|
29278
29288
|
PLAN_DELIVERY: string;
|