@mtna/web-form-angular 1.0.6-SNAPSHOT.20 → 1.0.6-SNAPSHOT.23
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/mtna-web-form-angular.umd.js +1466 -644
- package/bundles/mtna-web-form-angular.umd.js.map +1 -1
- package/esm2015/lib/components/form-item-impl/date/date.component.js +6 -29
- package/esm2015/lib/components/form-item-impl/date/date.module.js +2 -5
- package/esm2015/lib/components/form-item-impl/year-quarter/year-quarter.component.js +1 -1
- package/esm2015/lib/components/form-item-injector/form-item-injector.component.js +43 -2
- package/esm2015/lib/components/template-item-impl/date/year-quarter-item/year-quarter-item.component.js +105 -12
- package/esm2015/lib/components/template-item-impl/date/year-quarter-range-item/year-quarter-range-item.component.js +11 -2
- package/esm2015/lib/components/template-item-impl/date-item/date-item.component.js +3 -27
- package/esm2015/lib/components/template-item-impl/date-item/date-item.module.js +2 -5
- package/esm2015/lib/components/template-item-impl/decimal-answer-item/decimal-answer-item.component.js +4 -4
- package/esm2015/lib/components/template-item-impl/decimal-answer-item/decimal-answer-item.module.js +15 -8
- package/esm2015/lib/components/template-item-impl/template-display-viewer/template-display-viewer.component.js +25 -4
- package/esm2015/lib/components/template-item-impl/template-item/template-item.component.js +7 -3
- package/esm2015/lib/components/template-item-impl/template-item-injector/template-item-injector.component.js +49 -4
- package/esm2015/lib/components/template-item-impl/template-section/template-section.component.js +1 -1
- package/esm2015/lib/models/design/design-constants/index.js +2 -0
- package/esm2015/lib/models/design/design-constants/template-design-constants.model.js +54 -0
- package/esm2015/lib/models/design/design-mapper/bulleted-list-item-template-mapper.js +2 -2
- package/esm2015/lib/models/design/design-mapper/date-item-template-mapper.js +10 -18
- package/esm2015/lib/models/design/design-mapper/dropdown-item-template-mapper.js +1 -12
- package/esm2015/lib/models/design/design-mapper/file-upload-item-template-mapper.js +4 -8
- package/esm2015/lib/models/design/design-mapper/i18n-text-response-item-template-mapper.js +2 -2
- package/esm2015/lib/models/design/design-mapper/mapper-classes.model.js +35 -26
- package/esm2015/lib/models/design/design-mapper/mapping-logic-core.js +23 -5
- package/esm2015/lib/models/design/design-mapper/multiple-choice-item-template-mapper.js +1 -11
- package/esm2015/lib/models/design/design-mapper/numbered-list-item-template-mapper.js +2 -2
- package/esm2015/lib/models/design/design-mapper/numeric-response-item-template-mapper.js +2 -2
- package/esm2015/lib/models/design/design-mapper/offset-date-range-template-mapper.js +11 -9
- package/esm2015/lib/models/design/design-mapper/option-group-item-mapper.js +27 -10
- package/esm2015/lib/models/design/design-mapper/option-item-mapper.js +4 -3
- package/esm2015/lib/models/design/design-mapper/option-selector-mapper.js +17 -5
- package/esm2015/lib/models/design/design-mapper/repeatable-item-template-mapper.js +2 -2
- package/esm2015/lib/models/design/design-mapper/template-item-group-mapper.js +48 -13
- package/esm2015/lib/models/design/design-mapper/template-item-mapper.js +47 -33
- package/esm2015/lib/models/design/design-mapper/template-mapper.js +7 -5
- package/esm2015/lib/models/design/design-mapper/template-section-mapper.js +14 -12
- package/esm2015/lib/models/design/design-mapper/text-item-template-mapper.js +2 -2
- package/esm2015/lib/models/design/design-mapper/text-response-item-template-mapper.js +2 -2
- package/esm2015/lib/models/design/design-mapper/time-item-template-mapper.js +2 -2
- package/esm2015/lib/models/design/design-mapper/title-item-template-mapper.js +18 -9
- package/esm2015/lib/models/design/design-mapper/year-quarter-range-template-mapper.js +27 -7
- package/esm2015/lib/models/design/design-properties/engagement-property-type.model.js +2 -0
- package/esm2015/lib/models/design/design-properties/enumeration-value-functions/date-format.js +29 -0
- package/esm2015/lib/models/design/design-properties/enumeration-value-functions/index.js +4 -0
- package/esm2015/lib/models/design/design-properties/enumeration-value-functions/layout.js +14 -0
- package/esm2015/lib/models/design/design-properties/enumeration-value-functions/quarter-range.js +20 -0
- package/esm2015/lib/models/design/design-properties/enumerations/date-display-format-enumeration.model.js +38 -0
- package/esm2015/lib/models/design/design-properties/enumerations/index.js +4 -0
- package/esm2015/lib/models/design/design-properties/enumerations/layout-enumeration.model.js +11 -0
- package/esm2015/lib/models/design/design-properties/enumerations/quarter-range-enumeration.model.js +24 -0
- package/esm2015/lib/models/design/design-properties/properties/date-format.model.js +14 -0
- package/esm2015/lib/models/design/design-properties/properties/index.js +4 -0
- package/esm2015/lib/models/design/design-properties/properties/layout.model.js +14 -0
- package/esm2015/lib/models/design/design-properties/properties/quarter-range.model.js +23 -0
- package/esm2015/lib/models/design/index.js +4 -3
- package/esm2015/lib/models/design/potential-designs.model.js +24 -2
- package/esm2015/lib/models/design/unavailable-template-item-name-map.model.js +27 -0
- package/esm2015/lib/models/i18n-constants.model.js +58 -12
- package/esm2015/lib/pipes/get-form-control-error.pipe.js +1 -1
- package/esm2015/lib/pipes/get-i18n-string-value-from-locale.pipe.js +2 -2
- package/esm2015/lib/pipes/instance-of-template-item.pipe.js +3 -3
- package/esm2015/lib/services/api.service.js +58 -28
- package/esm2015/lib/services/ui.service.js +2 -2
- package/esm2015/lib/state/design/template-design.facade.js +124 -45
- package/esm2015/lib/state/form/template-form.effects.js +30 -18
- package/esm2015/lib/utilities/enum-property-handlers-util.js +14 -0
- package/esm2015/lib/utilities/form-option-design-util.js +5 -5
- package/esm2015/lib/utilities/get-design-properties.util.js +8 -0
- package/esm2015/lib/utilities/index.js +7 -1
- package/esm2015/lib/utilities/is-template-util.js +68 -0
- package/esm2015/lib/utilities/item-to-design-base.util.js +25 -0
- package/esm2015/lib/utilities/merge-template-util.js +1 -2
- package/esm2015/lib/utilities/model-map-util.js +27 -0
- package/esm2015/lib/utilities/new-base-designs.util.js +5 -4
- package/esm2015/lib/utilities/serializer-util.js +2 -50
- package/esm2015/lib/utilities/template-design-core-util.js +8 -7
- package/esm2015/lib/utilities/template-design-util.js +7 -74
- package/esm2015/lib/utilities/to-design-util.js +24 -0
- package/esm2015/lib/utilities/validator-functions-util.js +59 -0
- package/fesm2015/mtna-web-form-angular.js +1169 -476
- package/fesm2015/mtna-web-form-angular.js.map +1 -1
- package/lib/components/form-item-impl/date/date.component.d.ts +2 -8
- package/lib/components/form-item-injector/form-item-injector.component.d.ts +1 -0
- package/lib/components/template-item-impl/date/year-quarter-item/year-quarter-item.component.d.ts +20 -2
- package/lib/components/template-item-impl/date/year-quarter-range-item/year-quarter-range-item.component.d.ts +4 -0
- package/lib/components/template-item-impl/date-item/date-item.component.d.ts +1 -8
- package/lib/components/template-item-impl/decimal-answer-item/decimal-answer-item.module.d.ts +7 -5
- package/lib/components/template-item-impl/template-display-viewer/template-display-viewer.component.d.ts +4 -2
- package/lib/components/template-item-impl/template-item/template-item.component.d.ts +1 -0
- package/lib/components/template-item-impl/template-item-injector/template-item-injector.component.d.ts +1 -0
- package/lib/components/template-item-impl/template-section/template-section.component.d.ts +1 -1
- package/lib/models/design/design-constants/index.d.ts +1 -0
- package/lib/models/design/{template-design-constants.model.d.ts → design-constants/template-design-constants.model.d.ts} +8 -2
- package/lib/models/design/design-mapper/dropdown-item-template-mapper.d.ts +0 -1
- package/lib/models/design/design-mapper/mapping-logic-core.d.ts +23 -4
- package/lib/models/design/design-mapper/option-selector-mapper.d.ts +1 -0
- package/lib/models/design/design-mapper/template-item-group-mapper.d.ts +1 -0
- package/lib/models/design/design-mapper/template-item-mapper.d.ts +2 -2
- package/lib/models/design/design-mapper/title-item-template-mapper.d.ts +1 -0
- package/lib/models/design/design-properties/engagement-property-type.model.d.ts +14 -0
- package/lib/models/design/design-properties/enumeration-value-functions/date-format.d.ts +2 -0
- package/lib/models/design/design-properties/enumeration-value-functions/index.d.ts +3 -0
- package/lib/models/design/design-properties/enumeration-value-functions/layout.d.ts +3 -0
- package/lib/models/design/design-properties/enumeration-value-functions/quarter-range.d.ts +2 -0
- package/lib/models/design/{enumerations/date-enumeration.model.d.ts → design-properties/enumerations/date-display-format-enumeration.model.d.ts} +2 -1
- package/lib/models/design/design-properties/enumerations/index.d.ts +3 -0
- package/lib/models/design/design-properties/enumerations/layout-enumeration.model.d.ts +4 -0
- package/lib/models/design/design-properties/enumerations/quarter-range-enumeration.model.d.ts +6 -0
- package/lib/models/design/design-properties/properties/date-format.model.d.ts +2 -0
- package/lib/models/design/design-properties/properties/index.d.ts +3 -0
- package/lib/models/design/design-properties/properties/layout.model.d.ts +2 -0
- package/lib/models/design/design-properties/properties/quarter-range.model.d.ts +3 -0
- package/lib/models/design/index.d.ts +3 -2
- package/lib/models/design/unavailable-template-item-name-map.model.d.ts +1 -0
- package/lib/models/i18n-constants.model.d.ts +56 -10
- package/lib/pipes/get-form-control-error.pipe.d.ts +2 -2
- package/lib/pipes/get-i18n-string-value-from-locale.pipe.d.ts +1 -1
- package/lib/services/api.service.d.ts +52 -18
- package/lib/services/ui.service.d.ts +2 -2
- package/lib/state/design/template-design.facade.d.ts +26 -0
- package/lib/state/form/template-form.effects.d.ts +0 -6
- package/lib/utilities/enum-property-handlers-util.d.ts +4 -0
- package/lib/utilities/form-option-design-util.d.ts +2 -2
- package/lib/utilities/get-design-properties.util.d.ts +3 -0
- package/lib/utilities/index.d.ts +6 -0
- package/lib/utilities/is-template-util.d.ts +5 -0
- package/lib/utilities/item-to-design-base.util.d.ts +5 -0
- package/lib/utilities/model-map-util.d.ts +2 -0
- package/lib/utilities/template-design-core-util.d.ts +4 -4
- package/lib/utilities/template-design-util.d.ts +4 -7
- package/lib/utilities/to-design-util.d.ts +4 -0
- package/lib/utilities/validator-functions-util.d.ts +12 -0
- package/package.json +2 -2
- package/esm2015/lib/models/design/enumerations/date-enumeration.model.js +0 -33
- package/esm2015/lib/models/design/enumerations/index.js +0 -2
- package/esm2015/lib/models/design/template-design-constants.model.js +0 -48
- package/lib/models/design/enumerations/index.d.ts +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpClient, HttpResponse } from '@angular/common/http';
|
|
2
|
-
import { Form,
|
|
2
|
+
import { Form, FormItemImpl, Template } from '@mtna/web-form-ts';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { BaseUrlService, MtnaApiConfig, MtnaLogger } from '@mtna/core-angular';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -10,35 +10,69 @@ export declare class MtnaWfApiService extends BaseUrlService {
|
|
|
10
10
|
API_URL: string;
|
|
11
11
|
FORM_URL: string;
|
|
12
12
|
TEMPLATE_URL: string;
|
|
13
|
-
NEW_TEMPLATE_URL: string;
|
|
14
|
-
NEW_SECTION_URL: string;
|
|
15
|
-
ITEMS_URL: string;
|
|
16
|
-
ITEM_INSTANCE_URL: string;
|
|
17
|
-
TEMPLATE_SAVE_URL: string;
|
|
18
|
-
TEMPLATE_DELETE_URL: string;
|
|
19
|
-
ALL_TEMPLATES_URL: string;
|
|
20
13
|
constructor(apiConfig: MtnaApiConfig, http: HttpClient, logger: MtnaLogger);
|
|
21
14
|
/**
|
|
22
15
|
* Download a web form
|
|
23
16
|
* @param form the web form pojo to download
|
|
24
17
|
* @returns Full HttlReponse with the Blob as the body
|
|
25
18
|
*/
|
|
26
|
-
downloadForm(form:
|
|
19
|
+
downloadForm(form: Form): Observable<HttpResponse<Blob>>;
|
|
27
20
|
/**
|
|
28
21
|
* Returns a new repeatable FormItem
|
|
29
22
|
* @param formInstanceId template ID of the mtna form
|
|
30
23
|
* @param itemId repeatableTemplateId of the requesting RepeatableItem
|
|
31
24
|
*/
|
|
32
25
|
getRepeatableItem(templateId: string, itemTemplateId: string): Observable<FormItemImpl<unknown>>;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
26
|
+
/**
|
|
27
|
+
* Get all of the user's currently defined {@link Template}s.
|
|
28
|
+
*
|
|
29
|
+
* @return the {@link Template}s that the user has access to.
|
|
30
|
+
*/
|
|
31
|
+
getTemplates(): Observable<Template[]>;
|
|
32
|
+
/**
|
|
33
|
+
* Creates a new Template
|
|
34
|
+
*
|
|
35
|
+
* @return the newly created template
|
|
36
|
+
*/
|
|
37
|
+
createTemplate(): Observable<Template>;
|
|
38
|
+
/**
|
|
39
|
+
* Get the specified {@link Template}.
|
|
40
|
+
*
|
|
41
|
+
* @param id the ID of the {@link Template} to retrieve
|
|
42
|
+
* @return the specified template.
|
|
43
|
+
*/
|
|
44
|
+
getTemplate(id: string): Observable<Template>;
|
|
45
|
+
/**
|
|
46
|
+
* Updates the specified {@link Template} with the values provided in the
|
|
47
|
+
* {@link Template} POJO. This will not update child items, only the properties
|
|
48
|
+
* at the template level.
|
|
49
|
+
*
|
|
50
|
+
* @param id the ID of the {@link Template} to update
|
|
51
|
+
* @param template the {@link Template} POJO to use to update the persisted
|
|
52
|
+
* resource
|
|
53
|
+
* @return the updated {@link Template}
|
|
54
|
+
*/
|
|
55
|
+
updateTemplate(id: string, template: Template): Observable<Template>;
|
|
56
|
+
/**
|
|
57
|
+
* Deletes the specified {@link Template}
|
|
58
|
+
*
|
|
59
|
+
* @param id the ID of the {@link Template} to delete
|
|
60
|
+
*/
|
|
61
|
+
deleteTemplate(id: string): Observable<void>;
|
|
62
|
+
/**
|
|
63
|
+
* Creates a new {@link Template} by copying an existing {@link Template}.
|
|
64
|
+
*
|
|
65
|
+
* @param id the ID of the {@link Template} to clone
|
|
66
|
+
* @return the newly cloned {@link Template}
|
|
67
|
+
*/
|
|
68
|
+
copyTemplate(id: string): Observable<Template>;
|
|
69
|
+
/**
|
|
70
|
+
* Gets a {@link Form} instance of the specified {@link Template}.
|
|
71
|
+
*
|
|
72
|
+
* @param id the ID of the {@link Template} to preview
|
|
73
|
+
* @return a form created from the template
|
|
74
|
+
*/
|
|
75
|
+
previewTemplate(id: string): Observable<Form>;
|
|
42
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtnaWfApiService, never>;
|
|
43
77
|
static ɵprov: i0.ɵɵInjectableDeclaration<MtnaWfApiService>;
|
|
44
78
|
}
|
|
@@ -2,7 +2,7 @@ import { InjectionToken } from '@angular/core';
|
|
|
2
2
|
import { ValidationErrors } from '@angular/forms';
|
|
3
3
|
import { MatDialog } from '@angular/material/dialog';
|
|
4
4
|
import { AnnotatableNumberMap } from '@mtna/pojo-social-angular';
|
|
5
|
-
import { FormItemImpl } from '@mtna/web-form-ts';
|
|
5
|
+
import { FormItemImpl, TemplateItemImpl } from '@mtna/web-form-ts';
|
|
6
6
|
import { MtnaWfFormItemComponent } from '../components/form-item/form-item.component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/** Registry of custom error messages for a specific form item. A custom error can also
|
|
@@ -42,7 +42,7 @@ export declare class MtnaWfUIService {
|
|
|
42
42
|
* @param item FormItem to pass to ValidationErrors that are functions. For instance,
|
|
43
43
|
* this is useful for 'min' & 'max' value limits to display more helpful messages
|
|
44
44
|
*/
|
|
45
|
-
getError(errorId: string, item?: FormItemImpl<unknown>): string;
|
|
45
|
+
getError(errorId: string, item?: FormItemImpl<unknown> | TemplateItemImpl): string;
|
|
46
46
|
/**
|
|
47
47
|
* Get a registered component by intance id.
|
|
48
48
|
* @param id the instanceId
|
|
@@ -13,7 +13,31 @@ export declare class TemplateDesignFacade extends DesignFacade<Template | Templa
|
|
|
13
13
|
modifiedModelSubscription: Subscription;
|
|
14
14
|
systemLocalesSubscription: Subscription;
|
|
15
15
|
languageIds$: BehaviorSubject<string[]>;
|
|
16
|
+
/**
|
|
17
|
+
* The property names in the design updates that should trigger a design update on transition to ensure that the references and design
|
|
18
|
+
* are updated to reflect any changes to these properties.
|
|
19
|
+
*/
|
|
20
|
+
transitionUpdatePropNames: string[];
|
|
21
|
+
/**
|
|
22
|
+
* The section names in the design updates that should trigger a design update on transition to ensure that the references and design
|
|
23
|
+
* are updated to reflect any changes to properties.
|
|
24
|
+
*/
|
|
25
|
+
transitionUpdateSectionNames: string[];
|
|
26
|
+
/**
|
|
27
|
+
* Need to remove the following modelDesignProperties from the designMap when indexing the designs for the references
|
|
28
|
+
* because they are used for the display and description of the template and template items, so they should not be
|
|
29
|
+
* included as potential reference designs for the conditionals section or the option item sections.
|
|
30
|
+
*/
|
|
31
|
+
referencePropertyNameExclusions: string[];
|
|
32
|
+
/**
|
|
33
|
+
* Need to remove the following itemIds from the modelMap when indexing the models for the references because they are used
|
|
34
|
+
* for the title and should not be included as potential reference designs for the conditionals section. We don't need to include
|
|
35
|
+
* the acknowledgement template here because the getModelMap function does not index the TemplateSection attached to the
|
|
36
|
+
* acknowledgementTemplate property.
|
|
37
|
+
*/
|
|
38
|
+
itemIdExclusionsForReferences: never[];
|
|
16
39
|
constructor(localeId: string, templateFormFacade: TemplateFormFacade, i18nFacade: MtnaI18nFacade);
|
|
40
|
+
initialize(model: Template | TemplateItem | FormOptionSelector<Option<unknown>>): void;
|
|
17
41
|
close(): void;
|
|
18
42
|
canDesign(something: unknown): something is Template | TemplateItem | FormOptionSelector<Option<unknown>>;
|
|
19
43
|
fromDesign(design: Design): Template | TemplateItem | FormOptionSelector<Option<unknown>>;
|
|
@@ -23,9 +47,11 @@ export declare class TemplateDesignFacade extends DesignFacade<Template | Templa
|
|
|
23
47
|
setModifiedModel(designUpdate: DesignUpdate | undefined): void;
|
|
24
48
|
getDesignDisplay(design: Design): string;
|
|
25
49
|
indexModelDesignProperties(design: Design): void;
|
|
50
|
+
updateModelReferences(model: Template | TemplateItem | FormOptionSelector<Option<unknown>>): void;
|
|
26
51
|
setDesignDisabled(disabled: boolean): void;
|
|
27
52
|
setContextSelected(context: Context | undefined): void;
|
|
28
53
|
setFocusedDesignId(focusedDesignId: string | undefined, focusType: 'SET_FOCUS' | 'CLEAR_FOCUS' | 'MAINTAIN_FOCUS'): void;
|
|
54
|
+
transitionDesign(): void;
|
|
29
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateDesignFacade, never>;
|
|
30
56
|
static ɵprov: i0.ɵɵInjectableDeclaration<TemplateDesignFacade>;
|
|
31
57
|
}
|
|
@@ -11,12 +11,6 @@ export declare class TemplateFormEffects {
|
|
|
11
11
|
private errorService;
|
|
12
12
|
private store;
|
|
13
13
|
private router;
|
|
14
|
-
getTemplateInstance$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Template Form / API] Get Template Instance Failure"> | ({
|
|
15
|
-
form: import("@mtna/web-form-ts").Form;
|
|
16
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Template Form / API] Get Template Instance Success">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
17
|
-
getTemplateItemInstance$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Template Form / API] Get Template Item Instance Failure"> | ({
|
|
18
|
-
formItem: import("@mtna/web-form-ts").FormItem;
|
|
19
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Template Form / API] Get Template Item Instance Success">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
20
14
|
constructor(actions$: Actions, mtnaWfApiService: MtnaWfApiService, errorService: MtnaErrorService, store: Store<TemplateFormState>, router: Router);
|
|
21
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateFormEffects, never>;
|
|
22
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<TemplateFormEffects>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FormOptionSelector, Option, TemplateItem } from '@mtna/web-form-ts';
|
|
2
2
|
import { MtnaLanguageId } from '@mtna/core-i18n-angular';
|
|
3
|
-
import { Context, Design, DesignBase, DesignProperty, ReferenceDesignValue } from '@mtna/designer-ts';
|
|
3
|
+
import { Context, Design, DesignBase, DesignProperty, ReferenceDesignParams, ReferenceDesignValue } from '@mtna/designer-ts';
|
|
4
4
|
export declare function getNewFormOptionSelector(designBase: DesignBase): FormOptionSelector<Option<unknown>>;
|
|
5
5
|
export declare function optionSelectorToDesign<O extends Option<unknown>>(formOptionSelector: FormOptionSelector<O>, languageId: MtnaLanguageId, optionTemplateMap: Record<string, TemplateItem>, references: Record<string, ReferenceDesignValue>, parent?: DesignBase, context?: Context): Design;
|
|
6
6
|
export declare function designToOptionSelector<O extends Option<unknown>>(design: Design, context?: Context): FormOptionSelector<O>;
|
|
7
7
|
export declare function getOptionSelectorPotentialDesigns(design: Design, property: DesignProperty): DesignBase[];
|
|
8
8
|
export declare function instanceOfFormOptionSelector(something: unknown): something is FormOptionSelector<Option<unknown>>;
|
|
9
|
-
export declare function getOptionsAndTemplateMap<O extends Option<unknown>>(design: Design, mapperType: 'optionGroupItem' | 'optionItem', toTemplateItemFn: (design: Design, context?: Context) => TemplateItem, context?: Context): {
|
|
9
|
+
export declare function getOptionsAndTemplateMap<O extends Option<unknown>>(design: Design, mapperType: 'optionGroupItem' | 'optionItem', toTemplateItemFn: (design: Design, context?: Context, customParams?: ReferenceDesignParams) => TemplateItem, context?: Context, customParams?: ReferenceDesignParams): {
|
|
10
10
|
options: FormOptionSelector<O>[];
|
|
11
11
|
optionTemplateMap: Record<string, TemplateItem>;
|
|
12
12
|
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DesignProperty } from '@mtna/designer-ts';
|
|
2
|
+
import { EnumEngagementPropertyType } from '../models/design/design-properties/engagement-property-type.model';
|
|
3
|
+
export declare function getEnumDesignProperty<T extends any>(propertyType: EnumEngagementPropertyType, model: T | undefined): DesignProperty;
|
package/lib/utilities/index.d.ts
CHANGED
|
@@ -9,8 +9,14 @@ export * from './find-form-item';
|
|
|
9
9
|
export * from './flatten-steps';
|
|
10
10
|
export * from './form-step.util';
|
|
11
11
|
export * from './generate-form-steps';
|
|
12
|
+
export * from './get-design-properties.util';
|
|
12
13
|
export * from './get-item-class-suffix';
|
|
13
14
|
export * from './is-form-control';
|
|
14
15
|
export * from './is-form-group';
|
|
16
|
+
export * from './is-template-util';
|
|
17
|
+
export * from './item-to-design-base.util';
|
|
15
18
|
export * from './merge-template-util';
|
|
19
|
+
export * from './model-map-util';
|
|
20
|
+
export * from './to-design-util';
|
|
16
21
|
export * from './update-step-status';
|
|
22
|
+
export * from './validator-functions-util';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DesignBase } from '@mtna/designer-ts';
|
|
2
|
+
import { TemplateItem } from '@mtna/web-form-ts';
|
|
3
|
+
export declare function isTemplateDesign(design: DesignBase): boolean;
|
|
4
|
+
export declare function isTemplateItemDesign(design: DesignBase): boolean;
|
|
5
|
+
export declare function isTemplateItem(something: unknown): something is TemplateItem;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TemplateItem } from '@mtna/web-form-ts';
|
|
2
|
+
import { MtnaLanguageId } from '@mtna/core-i18n-angular';
|
|
3
|
+
import { DesignBase } from '@mtna/designer-ts';
|
|
4
|
+
export declare function getTypeDisplay(itemId: string): string;
|
|
5
|
+
export declare function itemToDesignBase(model: TemplateItem, languageId: MtnaLanguageId): DesignBase;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Context, Design, DesignBase, DesignProperty } from '@mtna/designer-ts';
|
|
1
|
+
import { Context, Design, DesignBase, DesignProperty, ReferenceDesignParams } from '@mtna/designer-ts';
|
|
2
2
|
import { TemplateItem } from '@mtna/web-form-ts';
|
|
3
3
|
import { MtnaLanguageId } from '@mtna/core-i18n-angular';
|
|
4
4
|
export declare function getNewTemplateItem(designBase: DesignBase, languageId: MtnaLanguageId, languageIds: string[]): TemplateItem;
|
|
5
|
-
export declare function toTemplateItem(design: Design, context?: Context): TemplateItem;
|
|
5
|
+
export declare function toTemplateItem(design: Design, context?: Context, customParams?: ReferenceDesignParams): TemplateItem;
|
|
6
6
|
export declare function getTemplateItemPotentialDesigns(design: Design, property: DesignProperty): DesignBase[];
|
|
7
|
-
export declare function itemToDesign(item: TemplateItem, languageId: MtnaLanguageId, parent?: DesignBase, context?: Context): Design;
|
|
8
|
-
export declare function getTemplateItems(design: Design, sectionId: string, propertyIds: string[], context?: Context): {
|
|
7
|
+
export declare function itemToDesign(item: TemplateItem, languageId: MtnaLanguageId, parent?: DesignBase, context?: Context, customParams?: ReferenceDesignParams): Design;
|
|
8
|
+
export declare function getTemplateItems(design: Design, sectionId: string, propertyIds: string[], context?: Context, customParams?: ReferenceDesignParams): {
|
|
9
9
|
[key: string]: TemplateItem[];
|
|
10
10
|
};
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import { Template
|
|
2
|
-
import { Context, Design, DesignBase, DesignProperty } from '@mtna/designer-ts';
|
|
1
|
+
import { Template } from '@mtna/web-form-ts';
|
|
2
|
+
import { Context, Design, DesignBase, DesignProperty, ReferenceDesignParams } from '@mtna/designer-ts';
|
|
3
3
|
import { MtnaLanguageId } from '@mtna/core-i18n-angular';
|
|
4
4
|
export declare function getNewTemplate(designBase: DesignBase): Template;
|
|
5
5
|
export declare function initializeDesign(designBase: DesignBase): Design;
|
|
6
|
-
export declare function isTemplateDesign(design: DesignBase): boolean;
|
|
7
|
-
export declare function isTemplateItemDesign(design: DesignBase): boolean;
|
|
8
|
-
export declare function isTemplateItem(something: unknown): something is TemplateItem;
|
|
9
6
|
export declare function getTemplatePotentialDesigns(design: Design, property: DesignProperty): DesignBase[];
|
|
10
|
-
export declare function templateToDesign(template: Template, languageId: MtnaLanguageId, context?: Context): Design;
|
|
11
|
-
export declare function toTemplate(design: Design, context?: Context): Template;
|
|
7
|
+
export declare function templateToDesign(template: Template, languageId: MtnaLanguageId, context?: Context, customParams?: ReferenceDesignParams): Design;
|
|
8
|
+
export declare function toTemplate(design: Design, context?: Context, customParams?: ReferenceDesignParams): Template;
|
|
12
9
|
export declare function getText(properties: {
|
|
13
10
|
[p: string]: any;
|
|
14
11
|
}, key: string, i18n: boolean, languageId: MtnaLanguageId, fallback?: string): string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { FormOptionSelector, Option, Template, TemplateItem } from '@mtna/web-form-ts';
|
|
2
|
+
import { Context, Design, ReferenceDesignValue } from '@mtna/designer-ts';
|
|
3
|
+
import { MtnaLanguageId } from '@mtna/core-i18n-angular';
|
|
4
|
+
export declare function getModelToDesign(model: Template | TemplateItem | FormOptionSelector<Option<unknown>>, languageId: MtnaLanguageId, contextSelected: Context | undefined, references: Record<string, ReferenceDesignValue>): Design;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ValidatorFn } from '@angular/forms';
|
|
2
|
+
export declare function wholeNumberPattern(): ValidatorFn;
|
|
3
|
+
export declare function numericalValueCheck(): ValidatorFn;
|
|
4
|
+
export declare function positiveNumberPattern(): ValidatorFn;
|
|
5
|
+
/**
|
|
6
|
+
* This works as a combination of the angular 'min'/'max' Validators. Using the built-in validators
|
|
7
|
+
* appears to take precedence over custom validators, regardless of order in the array. Using this function
|
|
8
|
+
* ensures validators set before this one maintain priority. For instance, the input value failing numerical validation
|
|
9
|
+
* is more important than the value being within min-max range.
|
|
10
|
+
*/
|
|
11
|
+
export declare function numValueLimit(type: 'min' | 'max', limit: number): ValidatorFn;
|
|
12
|
+
export declare function isEmptyString(value: unknown): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mtna/web-form-angular",
|
|
3
|
-
"version": "1.0.6-SNAPSHOT.
|
|
3
|
+
"version": "1.0.6-SNAPSHOT.23",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://bitbucket.org/mtnaus/web-form-angular"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@mtna/pojo-social-angular": "^1.0.0",
|
|
28
28
|
"@mtna/pojo-social-ts": "^1.0.0",
|
|
29
29
|
"@mtna/search-manager-angular": "^1.0.0",
|
|
30
|
-
"@mtna/web-form-ts": "1.0.4-SNAPSHOT.
|
|
30
|
+
"@mtna/web-form-ts": "1.0.4-SNAPSHOT.17",
|
|
31
31
|
"@ngrx/effects": "~12.5.0",
|
|
32
32
|
"@ngrx/store": "~12.5.0",
|
|
33
33
|
"moment": "^2.29.3",
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export const SLASHED_DATE_DISPLAY_VALUE = {
|
|
2
|
-
value: 'MM/DD/YYYY',
|
|
3
|
-
display: 'MM/DD/YYYY',
|
|
4
|
-
};
|
|
5
|
-
export const DASHED_DATE_DISPLAY_VALUE = {
|
|
6
|
-
value: 'MM-DD-YYYY',
|
|
7
|
-
display: 'MM-DD-YYYY',
|
|
8
|
-
};
|
|
9
|
-
export const LONG_DATE_DISPLAY_VALUE = {
|
|
10
|
-
value: 'MMMM D, YYYY',
|
|
11
|
-
display: 'MMMM D, YYYY',
|
|
12
|
-
};
|
|
13
|
-
export const EURO_LONG_DATE_DISPLAY_VALUE = {
|
|
14
|
-
value: 'D MMMM YYYY',
|
|
15
|
-
display: 'D MMMM YYYY',
|
|
16
|
-
};
|
|
17
|
-
export const DOTTED_DATE_DISPLAY_VALUE = {
|
|
18
|
-
value: 'DD.MM.YYYY',
|
|
19
|
-
display: 'DD.MM.YYYY',
|
|
20
|
-
};
|
|
21
|
-
export const ISO_8601_DATE_DISPLAY_VALUE = {
|
|
22
|
-
value: 'YYYY-MM-DD',
|
|
23
|
-
display: 'YYYY-MM-DD',
|
|
24
|
-
};
|
|
25
|
-
export const DATE_ENUM_VALUES = [
|
|
26
|
-
ISO_8601_DATE_DISPLAY_VALUE,
|
|
27
|
-
LONG_DATE_DISPLAY_VALUE,
|
|
28
|
-
EURO_LONG_DATE_DISPLAY_VALUE,
|
|
29
|
-
SLASHED_DATE_DISPLAY_VALUE,
|
|
30
|
-
DASHED_DATE_DISPLAY_VALUE,
|
|
31
|
-
DOTTED_DATE_DISPLAY_VALUE,
|
|
32
|
-
];
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS1lbnVtZXJhdGlvbi5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3dlYi1mb3JtLWFuZ3VsYXIvc3JjL2xpYi9tb2RlbHMvZGVzaWduL2VudW1lcmF0aW9ucy9kYXRlLWVudW1lcmF0aW9uLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sQ0FBQyx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FRFRF9EQVRFX0RJU1BMQVlfVkFMVUUsXG5dO1xuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './date-enumeration.model';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy93ZWItZm9ybS1hbmd1bGFyL3NyYy9saWIvbW9kZWxzL2Rlc2lnbi9lbnVtZXJhdGlvbnMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywwQkFBMEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZGF0ZS1lbnVtZXJhdGlvbi5tb2RlbCc7XG4iXX0=
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
export const prop_option_enabled_items = 'enabledItems';
|
|
2
|
-
export const prop_option_disabled_items = 'disabledItems';
|
|
3
|
-
export const prop_option_template = 'optionTemplate';
|
|
4
|
-
export const prop_item_acknowledgement = 'acknowledgement'; // maps to FormOptionSelector.acknowledgement property
|
|
5
|
-
export const prop_item_additional_text = 'additionalText'; // maps to RepeatableItemTemplate.additionalText property
|
|
6
|
-
export const prop_item_annotation_enabled = 'annotationEnabled';
|
|
7
|
-
export const prop_item_code_option = 'codeOption'; // maps to TemplateOptionItem.codeOption property
|
|
8
|
-
export const prop_item_description = 'description';
|
|
9
|
-
export const prop_item_descriptive_text = 'descriptiveText'; // maps to templateItem.descriptiveText property
|
|
10
|
-
export const prop_item_download_allowed = 'downloadAllowed'; // maps to FileUploadItemTemplate.downloadAllowed property
|
|
11
|
-
export const prop_item_exclude_print = 'excludePrint'; // maps to templateItem.excludeFromPrint
|
|
12
|
-
export const prop_item_file_type_id = 'fileTypeId'; // maps to FileUploadItemTemplate.fileTypeId property
|
|
13
|
-
export const prop_item_format = 'format'; // maps to DateItemTemplate.format property
|
|
14
|
-
export const prop_item_format_time = 'format'; // maps to TimeItemTemplate.format property
|
|
15
|
-
export const prop_item_full_width = 'fullWidth'; // maps to RepeatableItemTemplate.fullWidth
|
|
16
|
-
export const prop_item_help = 'help';
|
|
17
|
-
export const prop_item_item = 'item'; // maps to RepeatableItemTemplate.item
|
|
18
|
-
export const prop_item_items = 'items'; // maps to templateItemGroup.items
|
|
19
|
-
export const prop_item_layout = 'layout'; // maps to templateItemGroup.layout
|
|
20
|
-
export const prop_item_min_occurrences = 'minOccurences'; // maps to RepeatableItemTemplate.minOccurances
|
|
21
|
-
export const prop_item_max_occurrences = 'maxOccurences'; // maps to RepeatableItemTemplate.maxOccurances
|
|
22
|
-
export const prop_item_label = 'label'; // maps to templateItem.label on a number of items
|
|
23
|
-
export const prop_item_min_char = 'minChar'; // maps to short/paragraph AnswerItem.minCharCount
|
|
24
|
-
export const prop_item_max_char = 'maxChar'; // maps to short/paragraph AnswerItem.maxCharCount
|
|
25
|
-
export const prop_item_min_value = 'minValue'; // maps to wholeNumber/decimal AnswerItem.minValue
|
|
26
|
-
export const prop_item_max_value = 'maxValue'; // maps to wholeNumber/decimal AnswerItem.maxValue
|
|
27
|
-
export const prop_item_min_selections = 'minSelections'; // maps to CheckboxItemTemplate.minSelections
|
|
28
|
-
export const prop_item_max_selections = 'maxSelections'; // maps to CheckboxItemTemplate.maxSelections
|
|
29
|
-
export const prop_item_name = 'name'; // maps to templateItem.name
|
|
30
|
-
export const prop_item_option = 'option'; // maps to TemplateOptionItem.option
|
|
31
|
-
export const prop_item_options = 'options';
|
|
32
|
-
export const prop_item_option_subsets = 'optionSubsets'; // maps to CheckboxItemTemplate.optionSubsets
|
|
33
|
-
export const prop_item_option_template_map = 'optionTemplateMap'; // maps to CheckboxItemTemplate.optionTemplateMap
|
|
34
|
-
export const prop_item_preset_value = 'presetValue'; // maps to DateItemTemplate.presetValue
|
|
35
|
-
export const prop_item_positive_only = 'positiveOnly'; // maps to wholeNumber/decimal AnswerItem.positiveOnly
|
|
36
|
-
export const prop_item_question_text = 'questionText'; // maps to templateItem.questionText
|
|
37
|
-
export const prop_item_range_limits = 'rangeLimits'; // maps to OffsetDateRangeTemplate.rangeLimits
|
|
38
|
-
export const prop_item_repeatable_item_template_id = 'repeatableItemTemplateId'; // maps to RepeatableItemTemplate.repeatableItemTemplateId
|
|
39
|
-
export const prop_item_required = 'required'; // maps to templateItem.required
|
|
40
|
-
export const prop_item_starting_instances = 'startingInstances'; // maps to RepeatableItemTemplate.startingInstances
|
|
41
|
-
export const prop_item_text = 'text'; // maps to TextItemTemplate.value
|
|
42
|
-
export const prop_item_title = 'title'; // maps to templateSection.title
|
|
43
|
-
export const prop_item_value = 'value'; // maps to TitleItem.value
|
|
44
|
-
export const prop_item_values = 'values'; // maps to BulletedListItemTemplate.values
|
|
45
|
-
export const prop_template_descriptive_text = 'template-descriptive-text'; // maps to template.descriptiveText property
|
|
46
|
-
export const prop_template_items = 'items'; // maps to template.items property
|
|
47
|
-
export const prop_template_title = 'title'; // maps to template.title property
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVtcGxhdGUtZGVzaWduLWNvbnN0YW50cy5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3dlYi1mb3JtLWFuZ3VsYXIvc3JjL2xpYi9tb2RlbHMvZGVzaWduL3RlbXBsYXRlLWRlc2lnbi1jb25zdGFudHMubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0seUJBQXlCLEdBQUcsY0FBYyxDQUFDO0FBQ3hELE1BQU0sQ0FBQyxNQUFNLDBCQUEwQixHQUFHLGVBQWUsQ0FBQztBQUUxRCxNQUFNLENBQUMsTUFBTSxvQkFBb0IsR0FBRyxnQkF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