@mtna/web-form-angular 1.0.6-SNAPSHOT.2 → 1.0.6-SNAPSHOT.20
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 +375 -355
- package/bundles/mtna-web-form-angular.umd.js.map +1 -1
- package/esm2015/lib/components/form/form.component.js +1 -1
- package/esm2015/lib/components/form-item-impl/form-group/form-group.component.js +2 -2
- package/esm2015/lib/components/form-item-impl/form-section/form-section.component.js +2 -2
- package/esm2015/lib/components/form-item-impl/repeatable-item-container/repeatable-item-container.component.js +6 -7
- package/esm2015/lib/components/form-item-impl/repeatable-item-container/repeatable-item-container.module.js +1 -5
- package/esm2015/lib/components/form-item-impl/search/resource-search.component.js +5 -2
- package/esm2015/lib/components/form-item-injector/form-item-injector.component.js +25 -3
- package/esm2015/lib/components/step-card/step-card.component.js +26 -5
- package/esm2015/lib/components/template-item-impl/template-item-component-provider/template-item-injected-components.js +12 -10
- package/esm2015/lib/models/design/design-mapper/bulleted-list-item-template-mapper.js +3 -4
- package/esm2015/lib/models/design/design-mapper/numbered-list-item-template-mapper.js +3 -4
- package/esm2015/lib/models/design/design-mapper/option-selector-mapper.js +1 -1
- package/esm2015/lib/models/form-stepper/index.js +2 -1
- package/esm2015/lib/models/form-stepper/step-constants.model.js +2 -0
- package/esm2015/lib/models/i18n-constants.model.js +7 -1
- package/esm2015/lib/models/index.js +1 -2
- package/esm2015/lib/pipes/index.js +1 -2
- package/esm2015/lib/services/api.service.js +13 -10
- package/esm2015/lib/services/dialog.service.js +6 -1
- package/esm2015/lib/services/form-manager.service.js +5 -3
- package/esm2015/lib/services/template-transformation.service.js +11 -8
- package/esm2015/lib/utilities/template-design-util.js +6 -6
- package/fesm2015/mtna-web-form-angular.js +119 -100
- package/fesm2015/mtna-web-form-angular.js.map +1 -1
- package/lib/components/form-item-impl/repeatable-item-container/repeatable-item-container.module.d.ts +2 -3
- package/lib/components/form-item-injector/form-item-injector.component.d.ts +4 -0
- package/lib/components/step-card/step-card.component.d.ts +4 -0
- package/lib/models/form-stepper/index.d.ts +1 -0
- package/lib/models/form-stepper/step-constants.model.d.ts +1 -0
- package/lib/models/i18n-constants.model.d.ts +6 -0
- package/lib/models/index.d.ts +0 -1
- package/lib/pipes/index.d.ts +0 -1
- package/lib/services/api.service.d.ts +6 -5
- package/lib/services/template-transformation.service.d.ts +5 -4
- package/package.json +1 -1
- package/esm2015/lib/models/api-config.js +0 -3
- package/esm2015/lib/pipes/coerce-form-item.pipe.js +0 -36
- package/lib/models/api-config.d.ts +0 -5
- package/lib/pipes/coerce-form-item.pipe.d.ts +0 -14
|
@@ -8,10 +8,9 @@ import * as i6 from "@mtna/core-angular";
|
|
|
8
8
|
import * as i7 from "@angular/material/button";
|
|
9
9
|
import * as i8 from "@angular/material/icon";
|
|
10
10
|
import * as i9 from "@angular/material/tooltip";
|
|
11
|
-
import * as i10 from "
|
|
12
|
-
import * as i11 from "@angular/material/card";
|
|
11
|
+
import * as i10 from "@angular/material/card";
|
|
13
12
|
export declare class MtnaWfRepeatableItemContainerModule {
|
|
14
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtnaWfRepeatableItemContainerModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MtnaWfRepeatableItemContainerModule, [typeof i1.MtnaWfRepeatableItemContainerComponent], [typeof i2.CommonModule, typeof i3.MtnaWfItemHeaderModule, typeof i4.MtnaWfRepeatableItemModule, typeof i5.MtnaWfFormItemModule, typeof i6.MtnaHighlightModule, typeof i7.MatButtonModule, typeof i8.MatIconModule, typeof i9.MatTooltipModule, typeof i6.MtnaTrackByPropertyPipeModule, typeof i10.
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MtnaWfRepeatableItemContainerModule, [typeof i1.MtnaWfRepeatableItemContainerComponent], [typeof i2.CommonModule, typeof i3.MtnaWfItemHeaderModule, typeof i4.MtnaWfRepeatableItemModule, typeof i5.MtnaWfFormItemModule, typeof i6.MtnaHighlightModule, typeof i7.MatButtonModule, typeof i8.MatIconModule, typeof i9.MatTooltipModule, typeof i6.MtnaTrackByPropertyPipeModule, typeof i10.MatCardModule], [typeof i1.MtnaWfRepeatableItemContainerComponent]>;
|
|
16
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<MtnaWfRepeatableItemContainerModule>;
|
|
17
16
|
}
|
|
@@ -46,8 +46,12 @@ export declare class MtnaWfItemInjector extends MtnaComponentInjector implements
|
|
|
46
46
|
private _step;
|
|
47
47
|
focusedSection: EventEmitter<FormStep>;
|
|
48
48
|
toggleFormItems: EventEmitter<ToggleFormItemsData>;
|
|
49
|
+
private componentRef;
|
|
49
50
|
private wfItemComponent;
|
|
51
|
+
private focusedSectionSubscription;
|
|
52
|
+
private toggleFormItemsSubscription;
|
|
50
53
|
constructor(injector: Injector, cfr: ComponentFactoryResolver, vcr: ViewContainerRef, injectionService: InjectionService);
|
|
54
|
+
reset(): void;
|
|
51
55
|
ngOnInit(): void;
|
|
52
56
|
protected configureComponent(componentRef: ComponentRef<any>): void;
|
|
53
57
|
protected getInjectedComponentKey(): string;
|
|
@@ -10,13 +10,17 @@ declare const _StepCardMixinBase: import("@angular/material/core/common-behavior
|
|
|
10
10
|
};
|
|
11
11
|
export declare class MtnaWfStepCardComponent extends _StepCardMixinBase implements CanColor {
|
|
12
12
|
get active(): boolean;
|
|
13
|
+
handleMouseEnter(event: MouseEvent): void;
|
|
14
|
+
handleMouseLeave(event: MouseEvent): void;
|
|
13
15
|
get step(): FormStep | null | undefined;
|
|
14
16
|
set step(step: FormStep | null | undefined);
|
|
15
17
|
private _step;
|
|
16
18
|
subtitle: string | null | undefined;
|
|
17
19
|
focused: EventEmitter<FormStep>;
|
|
20
|
+
private mouseFocused;
|
|
18
21
|
constructor(elementRef: ElementRef);
|
|
19
22
|
handleFocusChange(event: FocusOrigin): void;
|
|
23
|
+
private emitDeactivate;
|
|
20
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtnaWfStepCardComponent, never>;
|
|
21
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<MtnaWfStepCardComponent, "mtna-wf-step-card", never, { "color": "color"; "step": "step"; "subtitle": "subtitle"; }, { "focused": "focused"; }, never, ["[cardContent]", "[cardActions]"]>;
|
|
22
26
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const deactivateStep = "mtna-web-form-deactivate-step";
|
|
@@ -10,6 +10,7 @@ export declare const i18n_templateItemRequiredInstructions: string;
|
|
|
10
10
|
export declare const i18n_templateItemAnnotation: string;
|
|
11
11
|
export declare const i18n_templateItemAnnotationInstructions: string;
|
|
12
12
|
export declare const i18n_acknowledgement: string;
|
|
13
|
+
export declare const i18n_acknowledgementDialogTitle: string;
|
|
13
14
|
export declare const i18n_acknowledgementInstructions: string;
|
|
14
15
|
export declare const i18n_additionalText: string;
|
|
15
16
|
export declare const i18n_additionalTextInstructions: string;
|
|
@@ -17,6 +18,7 @@ export declare const i18n_annotationEnabled: string;
|
|
|
17
18
|
export declare const i18n_annotationEnabledInstructions: string;
|
|
18
19
|
export declare const i18n_booleanConfiguration: string;
|
|
19
20
|
export declare const i18n_bulletedListConfiguration: string;
|
|
21
|
+
export declare const i18n_bulletedListItemInstructions: string;
|
|
20
22
|
export declare const i18n_checkboxConfiguration: string;
|
|
21
23
|
export declare const i18n_codeOption: string;
|
|
22
24
|
export declare const i18n_codeOptionInstructions: string;
|
|
@@ -82,6 +84,7 @@ export declare const i18n_newTemplate: string;
|
|
|
82
84
|
export declare const i18n_newTemplateItem: string;
|
|
83
85
|
export declare const i18n_numericConfiguration: string;
|
|
84
86
|
export declare const i18n_numberedListConfiguration: string;
|
|
87
|
+
export declare const i18n_numberedListItemInstructions: string;
|
|
85
88
|
export declare const i18n_offsetDateRangeConfiguration: string;
|
|
86
89
|
export declare const i18n_option: string;
|
|
87
90
|
export declare const i18n_optionInstructions: string;
|
|
@@ -108,6 +111,8 @@ export declare const i18n_repeatableItemTemplateId: string;
|
|
|
108
111
|
export declare const i18n_repeatableItemTemplateIdInstructions: string;
|
|
109
112
|
export declare const i18n_required: string;
|
|
110
113
|
export declare const i18n_requiredInstructions: string;
|
|
114
|
+
export declare const i18n_selectAReference: string;
|
|
115
|
+
export declare const i18n_selectAReferenceDialogTitle: string;
|
|
111
116
|
export declare const i18n_settings: string;
|
|
112
117
|
export declare const i18n_startingInstances: string;
|
|
113
118
|
export declare const i18n_startingInstancesInstructions: string;
|
|
@@ -128,6 +133,7 @@ export declare const i18n_value: string;
|
|
|
128
133
|
export declare const i18n_valueInstructions: string;
|
|
129
134
|
export declare const i18n_values: string;
|
|
130
135
|
export declare const i18n_valuesInstructions: string;
|
|
136
|
+
export declare const i18n_verifyAcknowledgementDialogTitle: string;
|
|
131
137
|
export declare const i18n_yearQuarterRangeConfiguration: string;
|
|
132
138
|
export declare const i18n_listValue: string;
|
|
133
139
|
export declare const i18n_newListValue: string;
|
package/lib/models/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * from './date/index';
|
|
2
2
|
export * from './design/index';
|
|
3
3
|
export * from './form-stepper/index';
|
|
4
|
-
export * from './api-config';
|
|
5
4
|
export * from './base-form-item.model';
|
|
6
5
|
export * from './custom-date-format-provider.model';
|
|
7
6
|
export * from './form-item-dialog-data.model';
|
package/lib/pipes/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ export * from './child-step-active.pipe';
|
|
|
2
2
|
export * from './coerce-date-item.pipe';
|
|
3
3
|
export * from './coerce-form-control.pipe';
|
|
4
4
|
export * from './coerce-form-group.pipe';
|
|
5
|
-
export * from './coerce-form-item.pipe';
|
|
6
5
|
export * from './coerce-form-step-group.pipe';
|
|
7
6
|
export * from './coerce-form-step.pipe';
|
|
8
7
|
export * from './date-quarter.pipe';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { HttpClient, HttpResponse } from '@angular/common/http';
|
|
2
2
|
import { Form, Form as WebForm, FormItem, FormItemImpl, Template, TemplateItem, TemplateSectionImpl } from '@mtna/web-form-ts';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import {
|
|
4
|
+
import { BaseUrlService, MtnaApiConfig, MtnaLogger } from '@mtna/core-angular';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class MtnaWfApiService {
|
|
7
|
-
protected apiConfig:
|
|
6
|
+
export declare class MtnaWfApiService extends BaseUrlService {
|
|
7
|
+
protected apiConfig: MtnaApiConfig;
|
|
8
8
|
protected http: HttpClient;
|
|
9
|
+
protected logger: MtnaLogger;
|
|
9
10
|
API_URL: string;
|
|
10
11
|
FORM_URL: string;
|
|
11
12
|
TEMPLATE_URL: string;
|
|
@@ -16,7 +17,7 @@ export declare class MtnaWfApiService {
|
|
|
16
17
|
TEMPLATE_SAVE_URL: string;
|
|
17
18
|
TEMPLATE_DELETE_URL: string;
|
|
18
19
|
ALL_TEMPLATES_URL: string;
|
|
19
|
-
constructor(apiConfig:
|
|
20
|
+
constructor(apiConfig: MtnaApiConfig, http: HttpClient, logger: MtnaLogger);
|
|
20
21
|
/**
|
|
21
22
|
* Download a web form
|
|
22
23
|
* @param form the web form pojo to download
|
|
@@ -28,7 +29,7 @@ export declare class MtnaWfApiService {
|
|
|
28
29
|
* @param formInstanceId template ID of the mtna form
|
|
29
30
|
* @param itemId repeatableTemplateId of the requesting RepeatableItem
|
|
30
31
|
*/
|
|
31
|
-
getRepeatableItem(
|
|
32
|
+
getRepeatableItem(templateId: string, itemTemplateId: string): Observable<FormItemImpl<unknown>>;
|
|
32
33
|
getNewTemplate(): Observable<Template>;
|
|
33
34
|
getAllTemplates(): Observable<Template>;
|
|
34
35
|
getNewSection(): Observable<TemplateSectionImpl>;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { MtnaWfApiConfig } from '../models';
|
|
2
1
|
import { HttpClient } from '@angular/common/http';
|
|
3
2
|
import { Form, FormOptionSelector, Option, Template, TemplateItem } from '@mtna/web-form-ts';
|
|
4
3
|
import { Observable } from 'rxjs';
|
|
4
|
+
import { BaseUrlService, MtnaApiConfig, MtnaLogger } from '@mtna/core-angular';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class MtnaTemplateTransformationService {
|
|
7
|
-
protected apiConfig:
|
|
6
|
+
export declare class MtnaTemplateTransformationService extends BaseUrlService {
|
|
7
|
+
protected apiConfig: MtnaApiConfig;
|
|
8
8
|
protected http: HttpClient;
|
|
9
|
+
protected logger: MtnaLogger;
|
|
9
10
|
API_URL: string;
|
|
10
|
-
constructor(apiConfig:
|
|
11
|
+
constructor(apiConfig: MtnaApiConfig, http: HttpClient, logger: MtnaLogger);
|
|
11
12
|
convertTemplateToForm(request: Template | TemplateItem | FormOptionSelector<Option<unknown>>): Observable<Form | undefined>;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtnaTemplateTransformationService, never>;
|
|
13
14
|
static ɵprov: i0.ɵɵInjectableDeclaration<MtnaTemplateTransformationService>;
|
package/package.json
CHANGED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export const MTNA_WF_API_TOKEN = new InjectionToken('mtnaWfApiConfig');
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLWNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3dlYi1mb3JtLWFuZ3VsYXIvc3JjL2xpYi9tb2RlbHMvYXBpLWNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBTS9DLE1BQU0sQ0FBQyxNQUFNLGlCQUFpQixHQUFHLElBQUksY0FBYyxDQUFrQixpQkFBaUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0aW9uVG9rZW4gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuZXhwb3J0IGludGVyZmFjZSBNdG5hV2ZBcGlDb25maWcge1xuICBiYXNlVXJsOiBzdHJpbmc7XG59XG5cbmV4cG9ydCBjb25zdCBNVE5BX1dGX0FQSV9UT0tFTiA9IG5ldyBJbmplY3Rpb25Ub2tlbjxNdG5hV2ZBcGlDb25maWc+KCdtdG5hV2ZBcGlDb25maWcnKTtcbiJdfQ==
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { NgModule, Pipe } from '@angular/core';
|
|
2
|
-
import { isType } from '@mtna/core-ts';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class MtnaWfCoerceFormItemPipe {
|
|
5
|
-
transform(item) {
|
|
6
|
-
let formItem = undefined;
|
|
7
|
-
if (this.instanceOfFormItem(item)) {
|
|
8
|
-
formItem = item;
|
|
9
|
-
}
|
|
10
|
-
return formItem;
|
|
11
|
-
}
|
|
12
|
-
instanceOfFormItem(something) {
|
|
13
|
-
return isType(something, 'instanceId', 'itemId', 'name', 'required', 'templateId');
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
MtnaWfCoerceFormItemPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MtnaWfCoerceFormItemPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
17
|
-
MtnaWfCoerceFormItemPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MtnaWfCoerceFormItemPipe, name: "coerceFormItem" });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MtnaWfCoerceFormItemPipe, decorators: [{
|
|
19
|
-
type: Pipe,
|
|
20
|
-
args: [{
|
|
21
|
-
name: 'coerceFormItem',
|
|
22
|
-
}]
|
|
23
|
-
}] });
|
|
24
|
-
export class MtnaWfCoerceFormItemPipeModule {
|
|
25
|
-
}
|
|
26
|
-
MtnaWfCoerceFormItemPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MtnaWfCoerceFormItemPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
27
|
-
MtnaWfCoerceFormItemPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MtnaWfCoerceFormItemPipeModule, declarations: [MtnaWfCoerceFormItemPipe], exports: [MtnaWfCoerceFormItemPipe] });
|
|
28
|
-
MtnaWfCoerceFormItemPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MtnaWfCoerceFormItemPipeModule });
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MtnaWfCoerceFormItemPipeModule, decorators: [{
|
|
30
|
-
type: NgModule,
|
|
31
|
-
args: [{
|
|
32
|
-
declarations: [MtnaWfCoerceFormItemPipe],
|
|
33
|
-
exports: [MtnaWfCoerceFormItemPipe],
|
|
34
|
-
}]
|
|
35
|
-
}] });
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29lcmNlLWZvcm0taXRlbS5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvd2ViLWZvcm0tYW5ndWxhci9zcmMvbGliL3BpcGVzL2NvZXJjZS1mb3JtLWl0ZW0ucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7QUFDOUQsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFNdkMsTUFBTSxPQUFPLHdCQUF3QjtJQUNuQyxTQUFTLENBQUMsSUFBYTtRQUNyQixJQUFJLFFBQVEsR0FBRyxTQUFTLENBQUM7UUFDekIsSUFBSSxJQUFJLENBQUMsa0JBQWtCLENBQUMsSUFBSSxDQUFDLEVBQUU7WUFDakMsUUFBUSxHQUFHLElBQUksQ0FBQztTQUNqQjtRQUNELE9BQU8sUUFBUSxDQUFDO0lBQ2xCLENBQUM7SUFFRCxrQkFBa0IsQ0FBQyxTQUFrQjtRQUNuQyxPQUFPLE1BQU0sQ0FBVyxTQUFTLEVBQUUsWUFBWSxFQUFFLFFBQVEsRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLFlBQVksQ0FBQyxDQUFDO0lBQy9GLENBQUM7O3NIQVhVLHdCQUF3QjtvSEFBeEIsd0JBQXdCOzRGQUF4Qix3QkFBd0I7a0JBSHBDLElBQUk7bUJBQUM7b0JBQ0osSUFBSSxFQUFFLGdCQUFnQjtpQkFDdkI7O0FBbUJELE1BQU0sT0FBTyw4QkFBOEI7OzRIQUE5Qiw4QkFBOEI7NkhBQTlCLDhCQUE4QixpQkFsQjlCLHdCQUF3QixhQUF4Qix3QkFBd0I7NkhBa0J4Qiw4QkFBOEI7NEZBQTlCLDhCQUE4QjtrQkFKMUMsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUUsQ0FBQyx3QkFBd0IsQ0FBQztvQkFDeEMsT0FBTyxFQUFFLENBQUMsd0JBQXdCLENBQUM7aUJBQ3BDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUsIFBpcGUsIFBpcGVUcmFuc2Zvcm0gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IGlzVHlwZSB9IGZyb20gJ0BtdG5hL2NvcmUtdHMnO1xuaW1wb3J0IHsgRm9ybUl0ZW0gfSBmcm9tICdAbXRuYS93ZWItZm9ybS10cyc7XG5cbkBQaXBlKHtcbiAgbmFtZTogJ2NvZXJjZUZvcm1JdGVtJyxcbn0pXG5leHBvcnQgY2xhc3MgTXRuYVdmQ29lcmNlRm9ybUl0ZW1QaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG4gIHRyYW5zZm9ybShpdGVtOiB1bmtub3duKTogRm9ybUl0ZW0gfCB1bmRlZmluZWQge1xuICAgIGxldCBmb3JtSXRlbSA9IHVuZGVmaW5lZDtcbiAgICBpZiAodGhpcy5pbnN0YW5jZU9mRm9ybUl0ZW0oaXRlbSkpIHtcbiAgICAgIGZvcm1JdGVtID0gaXRlbTtcbiAgICB9XG4gICAgcmV0dXJuIGZvcm1JdGVtO1xuICB9XG5cbiAgaW5zdGFuY2VPZkZvcm1JdGVtKHNvbWV0aGluZzogdW5rbm93bik6IHNvbWV0aGluZyBpcyBGb3JtSXRlbSB7XG4gICAgcmV0dXJuIGlzVHlwZTxGb3JtSXRlbT4oc29tZXRoaW5nLCAnaW5zdGFuY2VJZCcsICdpdGVtSWQnLCAnbmFtZScsICdyZXF1aXJlZCcsICd0ZW1wbGF0ZUlkJyk7XG4gIH1cbn1cblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbTXRuYVdmQ29lcmNlRm9ybUl0ZW1QaXBlXSxcbiAgZXhwb3J0czogW010bmFXZkNvZXJjZUZvcm1JdGVtUGlwZV0sXG59KVxuZXhwb3J0IGNsYXNzIE10bmFXZkNvZXJjZUZvcm1JdGVtUGlwZU1vZHVsZSB7fVxuIl19
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { FormItem } from '@mtna/web-form-ts';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MtnaWfCoerceFormItemPipe implements PipeTransform {
|
|
5
|
-
transform(item: unknown): FormItem | undefined;
|
|
6
|
-
instanceOfFormItem(something: unknown): something is FormItem;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MtnaWfCoerceFormItemPipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<MtnaWfCoerceFormItemPipe, "coerceFormItem">;
|
|
9
|
-
}
|
|
10
|
-
export declare class MtnaWfCoerceFormItemPipeModule {
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MtnaWfCoerceFormItemPipeModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MtnaWfCoerceFormItemPipeModule, [typeof MtnaWfCoerceFormItemPipe], never, [typeof MtnaWfCoerceFormItemPipe]>;
|
|
13
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MtnaWfCoerceFormItemPipeModule>;
|
|
14
|
-
}
|