@mtna/web-form-angular 1.0.5 → 1.0.6-SNAPSHOT.2
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 +39 -35
- 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/template-item-impl/template-display-viewer/template-display-viewer.component.js +2 -3
- package/esm2015/lib/pipes/sanitize-html.pipe.js +11 -2
- package/esm2015/lib/state/form/template-form.facade.js +1 -3
- package/esm2015/lib/utilities/template-design-util.js +1 -5
- package/fesm2015/mtna-web-form-angular.js +23 -20
- package/fesm2015/mtna-web-form-angular.js.map +1 -1
- package/lib/components/template-item-impl/template-display-viewer/template-display-viewer.component.d.ts +1 -1
- package/lib/pipes/sanitize-html.pipe.d.ts +7 -1
- package/package.json +3 -3
|
@@ -9,7 +9,7 @@ export declare class MtnaWfTemplateDisplayViewerComponent {
|
|
|
9
9
|
private templateFormFacade;
|
|
10
10
|
contextSelected$: BehaviorSubject<import("@mtna/designer-ts").Context | undefined>;
|
|
11
11
|
focusedDesignId$: BehaviorSubject<string | undefined>;
|
|
12
|
-
modifiedModel$:
|
|
12
|
+
modifiedModel$: BehaviorSubject<TemplateItem | Template | FormOptionSelector<Option<unknown>> | undefined>;
|
|
13
13
|
previewLanguage$: BehaviorSubject<"en" | "fr" | "de" | "it" | undefined>;
|
|
14
14
|
loading$: import("rxjs").Observable<boolean>;
|
|
15
15
|
templateForm$: import("rxjs").Observable<import("@mtna/web-form-ts").Form | undefined>;
|
|
@@ -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
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mtna/web-form-angular",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6-SNAPSHOT.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://bitbucket.org/mtnaus/web-form-angular"
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"@mtna/core-angular": "^1.0.0",
|
|
22
22
|
"@mtna/core-i18n-angular": "^1.0.0",
|
|
23
23
|
"@mtna/core-i18n-ts": "^1.0.0",
|
|
24
|
-
"@mtna/designer-angular": "1.0.
|
|
25
|
-
"@mtna/designer-ts": "1.0.
|
|
24
|
+
"@mtna/designer-angular": "^1.0.0",
|
|
25
|
+
"@mtna/designer-ts": "^1.0.0",
|
|
26
26
|
"@mtna/file-manager-angular": "^1.0.0",
|
|
27
27
|
"@mtna/pojo-social-angular": "^1.0.0",
|
|
28
28
|
"@mtna/pojo-social-ts": "^1.0.0",
|