@colijnit/sharedcomponents 260.1.7 → 260.1.9
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 +82 -31
- 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 +151 -0
- package/esm2015/lib/components/form-builder/form-builder-user-form/form-builder-user-form.component.js +19 -107
- package/esm2015/lib/components/form-builder/form-builder-user-form/form-builder-user-form.module.js +3 -1
- package/esm2015/lib/enum/icon.enum.js +1 -1
- package/esm2015/lib/model/icon-svg.js +1 -1
- package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
- package/fesm2015/colijnit-sharedcomponents.js +169 -109
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/lib/components/form-builder/form-builder-user-form/form-builder-question.component.d.ts +28 -0
- package/lib/components/form-builder/form-builder-user-form/form-builder-user-form.component.d.ts +0 -5
- package/lib/res/dictionary/dictionaries.d.ts +12 -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,28 @@
|
|
|
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
|
+
export declare class FormBuilderQuestionComponent implements OnInit {
|
|
9
|
+
readonly formQuestionType: typeof FormQuestionType;
|
|
10
|
+
readonly TableName: typeof TableName;
|
|
11
|
+
readonly icons: typeof Icon;
|
|
12
|
+
question: FormQuestion;
|
|
13
|
+
formResponse: FormQuestionResponse[];
|
|
14
|
+
questionIndex: number;
|
|
15
|
+
active: boolean;
|
|
16
|
+
readonly: boolean;
|
|
17
|
+
updateQuestion: EventEmitter<{
|
|
18
|
+
question: any;
|
|
19
|
+
answer?: any;
|
|
20
|
+
}>;
|
|
21
|
+
formResponseChange: EventEmitter<FormQuestionResponse[]>;
|
|
22
|
+
dropDownModel: FormQuestionAnswer;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
changeLovOption(formQuestionResponse: FormQuestionResponse, value: FormQuestionAnswer): void;
|
|
25
|
+
changeFormResponse(questionResponse: FormQuestionResponse): void;
|
|
26
|
+
changeMultipleOption(id: string, formResponse: FormQuestionResponse, add: boolean): void;
|
|
27
|
+
changeTime(formResponse: FormQuestionResponse, time: Date): void;
|
|
28
|
+
}
|
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,5 +61,4 @@ export declare class FormBuilderUserFormComponent implements OnDestroy {
|
|
|
65
61
|
private _loadDocs;
|
|
66
62
|
handleDefinitiveChange(definitive: boolean): void;
|
|
67
63
|
commitUserForm(): void;
|
|
68
|
-
handleOpenFilesUpload(): void;
|
|
69
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;
|
|
@@ -9171,6 +9172,7 @@ export declare class Dictionaries {
|
|
|
9171
9172
|
HIDE: string;
|
|
9172
9173
|
HIDE_DETAILS: string;
|
|
9173
9174
|
HIDE_FULLY_INVOICED: string;
|
|
9175
|
+
HIDE_OPTION_IN_FULL_CONFIGURATION: string;
|
|
9174
9176
|
HIDE_OUTSTANDING_ENTRIES: string;
|
|
9175
9177
|
HIDE_SOFT_KEYBOARD: string;
|
|
9176
9178
|
HISTORICALLY_PRINTED: string;
|
|
@@ -9628,6 +9630,7 @@ export declare class Dictionaries {
|
|
|
9628
9630
|
EVENTS: string;
|
|
9629
9631
|
EVENT_NOTIFICATIONS_CREATED: string;
|
|
9630
9632
|
EVEN_WEEKS: string;
|
|
9633
|
+
EVEN_WEEK: string;
|
|
9631
9634
|
EXAMPLE: string;
|
|
9632
9635
|
EXCEEDANCE_CODE: string;
|
|
9633
9636
|
EXCEEDENCE_CODE: string;
|
|
@@ -12179,6 +12182,7 @@ export declare class Dictionaries {
|
|
|
12179
12182
|
OCCUPATIONAL_THERAPY_PERCENTAGE: string;
|
|
12180
12183
|
OCTOBER: string;
|
|
12181
12184
|
ODD_WEEKS: string;
|
|
12185
|
+
ODD_WEEK: string;
|
|
12182
12186
|
OFF: string;
|
|
12183
12187
|
OFFER: string;
|
|
12184
12188
|
OFFER_HISTORY: string;
|
|
@@ -15328,6 +15332,7 @@ export declare class Dictionaries {
|
|
|
15328
15332
|
PLANNINGS: string;
|
|
15329
15333
|
PLANNING_OVERVIEW: string;
|
|
15330
15334
|
PLANNING_PREFERRED_DATE_ENTERED: string;
|
|
15335
|
+
RULE_DESCRIPTION: string;
|
|
15331
15336
|
START_REVIEW_MODE: string;
|
|
15332
15337
|
START_ROUTE: string;
|
|
15333
15338
|
START_SCREEN: string;
|
|
@@ -15448,6 +15453,7 @@ export declare class Dictionaries {
|
|
|
15448
15453
|
USE_TIME_FROM_TIMER: string;
|
|
15449
15454
|
PLANNING_REQUEST: string;
|
|
15450
15455
|
PLANNING_REQUESTED: string;
|
|
15456
|
+
PLANNING_RULE_DETAILS: string;
|
|
15451
15457
|
PLANNING_RULES: string;
|
|
15452
15458
|
PLAN_DAYPARTS: string;
|
|
15453
15459
|
PLAN_DELIVERY: string;
|
|
@@ -26326,6 +26332,7 @@ export declare class Dictionaries {
|
|
|
26326
26332
|
DETAIL_CODE2: string;
|
|
26327
26333
|
DETAIL_CODE: string;
|
|
26328
26334
|
DETAIL_DESCRIPTION: string;
|
|
26335
|
+
DEVIATING_EVEN_WEEKS: string;
|
|
26329
26336
|
DEVELOPMENT: string;
|
|
26330
26337
|
DGA_INSURED: string;
|
|
26331
26338
|
DIAGNOSIS: string;
|
|
@@ -26747,6 +26754,7 @@ export declare class Dictionaries {
|
|
|
26747
26754
|
EVENTS: string;
|
|
26748
26755
|
EVENT_NOTIFICATIONS_CREATED: string;
|
|
26749
26756
|
EVEN_WEEKS: string;
|
|
26757
|
+
EVEN_WEEK: string;
|
|
26750
26758
|
EXAMPLE: string;
|
|
26751
26759
|
EXCEEDANCE_CODE: string;
|
|
26752
26760
|
EXCEEDENCE_CODE: string;
|
|
@@ -27246,6 +27254,7 @@ export declare class Dictionaries {
|
|
|
27246
27254
|
HIDE: string;
|
|
27247
27255
|
HIDE_DETAILS: string;
|
|
27248
27256
|
HIDE_FULLY_INVOICED: string;
|
|
27257
|
+
HIDE_OPTION_IN_FULL_CONFIGURATION: string;
|
|
27249
27258
|
HIDE_OUTSTANDING_ENTRIES: string;
|
|
27250
27259
|
HIDE_SOFT_KEYBOARD: string;
|
|
27251
27260
|
HISTORICALLY_PRINTED: string;
|
|
@@ -28738,6 +28747,7 @@ export declare class Dictionaries {
|
|
|
28738
28747
|
OCCUPATIONAL_THERAPY_PERCENTAGE: string;
|
|
28739
28748
|
OCTOBER: string;
|
|
28740
28749
|
ODD_WEEKS: string;
|
|
28750
|
+
ODD_WEEK: string;
|
|
28741
28751
|
OFF: string;
|
|
28742
28752
|
OFFER: string;
|
|
28743
28753
|
OFFER_HISTORY: string;
|
|
@@ -29269,8 +29279,10 @@ export declare class Dictionaries {
|
|
|
29269
29279
|
PLANNINGS: string;
|
|
29270
29280
|
PLANNING_OVERVIEW: string;
|
|
29271
29281
|
PLANNING_PREFERRED_DATE_ENTERED: string;
|
|
29282
|
+
RULE_DESCRIPTION: string;
|
|
29272
29283
|
PLANNING_REQUEST: string;
|
|
29273
29284
|
PLANNING_REQUESTED: string;
|
|
29285
|
+
PLANNING_RULE_DETAILS: string;
|
|
29274
29286
|
PLANNING_RULES: string;
|
|
29275
29287
|
PLAN_DAYPARTS: string;
|
|
29276
29288
|
PLAN_DELIVERY: string;
|