@mtna/web-form-angular 1.0.6-SNAPSHOT.1 → 1.0.6-SNAPSHOT.3
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 +78 -64
- package/bundles/mtna-web-form-angular.umd.js.map +1 -1
- package/esm2015/lib/components/form-item-impl/checkbox/checkbox.component.js +7 -7
- package/esm2015/lib/components/item-header/item-header.component.js +2 -2
- package/esm2015/lib/components/step-card/step-card.component.js +9 -3
- 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 +1 -2
- package/esm2015/lib/models/design/design-mapper/numbered-list-item-template-mapper.js +1 -2
- package/esm2015/lib/models/design/design-mapper/option-selector-mapper.js +1 -1
- package/esm2015/lib/pipes/sanitize-html.pipe.js +11 -2
- package/esm2015/lib/services/api.service.js +2 -2
- package/esm2015/lib/utilities/template-design-util.js +6 -6
- package/fesm2015/mtna-web-form-angular.js +58 -45
- package/fesm2015/mtna-web-form-angular.js.map +1 -1
- package/lib/components/step-card/step-card.component.d.ts +1 -0
- package/lib/pipes/sanitize-html.pipe.d.ts +7 -1
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@ 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;
|
|
13
14
|
get step(): FormStep | null | undefined;
|
|
14
15
|
set step(step: FormStep | null | undefined);
|
|
15
16
|
private _step;
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Sanitize the HTML string and optionally add a required field indicator.
|
|
6
|
+
* @param v The HTML string to sanitize.
|
|
7
|
+
* @param required Whether to append a required field indicator to the HTML string.
|
|
8
|
+
* @returns A SafeHtml object that can be safely rendered in the template.
|
|
9
|
+
*/
|
|
4
10
|
export declare class MtnaWfSanitizeHtmlPipe implements PipeTransform {
|
|
5
11
|
private _sanitizer;
|
|
6
12
|
constructor(_sanitizer: DomSanitizer);
|
|
7
|
-
transform(v: string | null | undefined): SafeHtml;
|
|
13
|
+
transform(v: string | null | undefined, required?: boolean): SafeHtml;
|
|
8
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtnaWfSanitizeHtmlPipe, never>;
|
|
9
15
|
static ɵpipe: i0.ɵɵPipeDeclaration<MtnaWfSanitizeHtmlPipe, "mtnaWfSanitizeHtml">;
|
|
10
16
|
}
|