@formio/angular 6.0.0 → 7.0.0
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/esm2022/FormioBaseComponent.mjs +7 -8
- package/esm2022/auth/auth.component.mjs +5 -6
- package/esm2022/auth/auth.config.mjs +5 -6
- package/esm2022/auth/auth.module.mjs +6 -7
- package/esm2022/auth/auth.service.mjs +6 -7
- package/esm2022/auth/login/login.component.mjs +6 -7
- package/esm2022/auth/register/register.component.mjs +6 -7
- package/esm2022/auth/resetpass/resetpass.component.mjs +6 -7
- package/esm2022/components/alerts/formio.alerts.component.mjs +5 -6
- package/esm2022/components/alerts/parse-html-content.pipe.mjs +5 -6
- package/esm2022/components/formbuilder/formbuilder.component.mjs +9 -9
- package/esm2022/components/formio/formio.component.mjs +9 -9
- package/esm2022/components/formioreport/formioreport.component.mjs +7 -7
- package/esm2022/components/loader/formio.loader.component.mjs +5 -6
- package/esm2022/custom-tags.service.mjs +5 -6
- package/esm2022/formio.config.mjs +7 -8
- package/esm2022/formio.module.mjs +6 -7
- package/esm2022/grid/GridBodyComponent.mjs +6 -7
- package/esm2022/grid/GridFooterComponent.mjs +6 -7
- package/esm2022/grid/GridHeaderComponent.mjs +6 -7
- package/esm2022/grid/form/FormGridBody.component.mjs +5 -6
- package/esm2022/grid/form/FormGridFooter.component.mjs +6 -7
- package/esm2022/grid/form/FormGridHeader.component.mjs +5 -6
- package/esm2022/grid/form/time-since.pipe.mjs +5 -6
- package/esm2022/grid/grid.component.mjs +6 -7
- package/esm2022/grid/grid.module.mjs +6 -7
- package/esm2022/grid/grid.service.mjs +6 -7
- package/esm2022/grid/submission/SubmissionGridBody.component.mjs +5 -6
- package/esm2022/grid/submission/SubmissionGridFooter.component.mjs +6 -7
- package/esm2022/grid/submission/SubmissionGridHeader.component.mjs +5 -6
- package/esm2022/manager/create/create.component.mjs +5 -6
- package/esm2022/manager/delete/delete.component.mjs +6 -7
- package/esm2022/manager/edit/edit.component.mjs +6 -7
- package/esm2022/manager/form/form.component.mjs +6 -7
- package/esm2022/manager/form-manager.config.mjs +5 -6
- package/esm2022/manager/form-manager.module.mjs +6 -7
- package/esm2022/manager/form-manager.service.mjs +6 -7
- package/esm2022/manager/index/index.component.mjs +6 -7
- package/esm2022/manager/submission/delete/delete.component.mjs +6 -7
- package/esm2022/manager/submission/edit/edit.component.mjs +6 -7
- package/esm2022/manager/submission/index/index.component.mjs +6 -7
- package/esm2022/manager/submission/submission/submission.component.mjs +6 -7
- package/esm2022/manager/submission/view/view.component.mjs +6 -7
- package/esm2022/manager/view/view.component.mjs +6 -7
- package/esm2022/resource/create/create.component.mjs +6 -7
- package/esm2022/resource/delete/delete.component.mjs +6 -7
- package/esm2022/resource/edit/edit.component.mjs +6 -7
- package/esm2022/resource/index/index.component.mjs +6 -7
- package/esm2022/resource/resource.component.mjs +6 -7
- package/esm2022/resource/resource.config.mjs +5 -6
- package/esm2022/resource/resource.module.mjs +6 -7
- package/esm2022/resource/resource.service.mjs +7 -8
- package/esm2022/resource/resources.service.mjs +6 -7
- package/esm2022/resource/view/view.component.mjs +6 -7
- package/fesm2022/formio-angular-auth.mjs +26 -26
- package/fesm2022/formio-angular-auth.mjs.map +1 -1
- package/fesm2022/formio-angular-grid.mjs +48 -48
- package/fesm2022/formio-angular-grid.mjs.map +1 -1
- package/fesm2022/formio-angular-manager.mjs +54 -54
- package/fesm2022/formio-angular-manager.mjs.map +1 -1
- package/fesm2022/formio-angular-resource.mjs +40 -40
- package/fesm2022/formio-angular-resource.mjs.map +1 -1
- package/fesm2022/formio-angular.mjs +46 -43
- package/fesm2022/formio-angular.mjs.map +1 -1
- package/package.json +10 -10
|
@@ -2,17 +2,16 @@ import { Component } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "../auth.service";
|
|
4
4
|
import * as i2 from "@formio/angular";
|
|
5
|
-
class FormioResetPassComponent {
|
|
5
|
+
export class FormioResetPassComponent {
|
|
6
6
|
service;
|
|
7
7
|
constructor(service) {
|
|
8
8
|
this.service = service;
|
|
9
9
|
}
|
|
10
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FormioResetPassComponent, deps: [{ token: i1.FormioAuthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: FormioResetPassComponent, selector: "ng-component", ngImport: i0, template: "<formio [src]=\"service.resetPassForm\" (submit)=\"service.onResetPassSubmit($event)\"></formio>\n", dependencies: [{ kind: "component", type: i2.FormioComponent, selector: "formio" }] });
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormioResetPassComponent, decorators: [{
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FormioResetPassComponent, decorators: [{
|
|
15
14
|
type: Component,
|
|
16
15
|
args: [{ template: "<formio [src]=\"service.resetPassForm\" (submit)=\"service.onResetPassSubmit($event)\"></formio>\n" }]
|
|
17
|
-
}], ctorParameters:
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
16
|
+
}], ctorParameters: () => [{ type: i1.FormioAuthService }] });
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzZXRwYXNzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2F1dGgvc3JjL3Jlc2V0cGFzcy9yZXNldHBhc3MuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vYXV0aC9zcmMvcmVzZXRwYXNzL3Jlc2V0cGFzcy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7O0FBSzFDLE1BQU0sT0FBTyx3QkFBd0I7SUFDaEI7SUFBbkIsWUFBbUIsT0FBMEI7UUFBMUIsWUFBTyxHQUFQLE9BQU8sQ0FBbUI7SUFBRyxDQUFDO3VHQUR0Qyx3QkFBd0I7MkZBQXhCLHdCQUF3QixvRENMckMsb0dBQ0E7OzJGRElhLHdCQUF3QjtrQkFIcEMsU0FBUyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgRm9ybWlvQXV0aFNlcnZpY2UgfSBmcm9tICcuLi9hdXRoLnNlcnZpY2UnO1xuQENvbXBvbmVudCh7XG4gIHRlbXBsYXRlVXJsOiAnLi9yZXNldHBhc3MuY29tcG9uZW50Lmh0bWwnXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1pb1Jlc2V0UGFzc0NvbXBvbmVudCB7XG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBzZXJ2aWNlOiBGb3JtaW9BdXRoU2VydmljZSkge31cbn1cbiIsIjxmb3JtaW8gW3NyY109XCJzZXJ2aWNlLnJlc2V0UGFzc0Zvcm1cIiAoc3VibWl0KT1cInNlcnZpY2Uub25SZXNldFBhc3NTdWJtaXQoJGV2ZW50KVwiPjwvZm9ybWlvPlxuIl19
|
|
@@ -3,7 +3,7 @@ import { FormioAlerts } from './formio.alerts';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@angular/common";
|
|
5
5
|
import * as i2 from "./parse-html-content.pipe";
|
|
6
|
-
class FormioAlertsComponent {
|
|
6
|
+
export class FormioAlertsComponent {
|
|
7
7
|
alerts;
|
|
8
8
|
focusComponent = new EventEmitter();
|
|
9
9
|
ngOnInit() {
|
|
@@ -14,11 +14,10 @@ class FormioAlertsComponent {
|
|
|
14
14
|
getComponent(event, alert) {
|
|
15
15
|
this.focusComponent.emit(alert.component.key);
|
|
16
16
|
}
|
|
17
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
18
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FormioAlertsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: FormioAlertsComponent, selector: "formio-alerts", inputs: { alerts: "alerts" }, outputs: { focusComponent: "focusComponent" }, ngImport: i0, template: "<div *ngFor=\"let alert of alerts.alerts\" class=\"alert alert-{{ alert.type }}\" role=\"alert\" (click)=\"getComponent($event, alert)\">\n {{alert.message | parseHtmlContent}}\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: i2.ParseHtmlContentPipe, name: "parseHtmlContent" }] });
|
|
19
19
|
}
|
|
20
|
-
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormioAlertsComponent, decorators: [{
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FormioAlertsComponent, decorators: [{
|
|
22
21
|
type: Component,
|
|
23
22
|
args: [{ selector: 'formio-alerts', template: "<div *ngFor=\"let alert of alerts.alerts\" class=\"alert alert-{{ alert.type }}\" role=\"alert\" (click)=\"getComponent($event, alert)\">\n {{alert.message | parseHtmlContent}}\n</div>\n" }]
|
|
24
23
|
}], propDecorators: { alerts: [{
|
|
@@ -26,4 +25,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
26
25
|
}], focusComponent: [{
|
|
27
26
|
type: Output
|
|
28
27
|
}] } });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWlvLmFsZXJ0cy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9zcmMvY29tcG9uZW50cy9hbGVydHMvZm9ybWlvLmFsZXJ0cy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9zcmMvY29tcG9uZW50cy9hbGVydHMvZm9ybWlvLmFsZXJ0cy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQzdFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQzs7OztBQU0vQyxNQUFNLE9BQU8scUJBQXFCO0lBQ3ZCLE1BQU0sQ0FBZTtJQUNwQixjQUFjLEdBQUcsSUFBSSxZQUFZLEVBQVUsQ0FBQztJQUN0RCxRQUFRO1FBQ04sSUFBSSxDQUFDLElBQUksQ0FBQyxNQUFNLEVBQUU7WUFDaEIsSUFBSSxDQUFDLE1BQU0sR0FBRyxJQUFJLFlBQVksRUFBRSxDQUFDO1NBQ2xDO0lBQ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25lbnQua2V5KTtcbiAgfVxufVxuIiwiPGRpdiAqbmdGb3I9XCJsZXQgYWxlcnQgb2YgYWxlcnRzLmFsZXJ0c1wiIGNsYXNzPVwiYWxlcnQgYWxlcnQte3sgYWxlcnQudHlwZSB9fVwiIHJvbGU9XCJhbGVydFwiIChjbGljayk9XCJnZXRDb21wb25lbnQoJGV2ZW50LCBhbGVydClcIj5cbiAge3thbGVydC5tZXNzYWdlIHwgcGFyc2VIdG1sQ29udGVudH19XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Pipe } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
class ParseHtmlContentPipe {
|
|
3
|
+
export class ParseHtmlContentPipe {
|
|
4
4
|
/*
|
|
5
5
|
Some messages that are come from formiojs have hex codes. So the main aim of this pipe is transform this messages to html.
|
|
6
6
|
And then render in template.
|
|
@@ -9,12 +9,11 @@ class ParseHtmlContentPipe {
|
|
|
9
9
|
const parsedContent = new DOMParser().parseFromString(content, 'text/html').body.childNodes[0];
|
|
10
10
|
return parsedContent?.textContent;
|
|
11
11
|
}
|
|
12
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
12
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ParseHtmlContentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
13
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: ParseHtmlContentPipe, name: "parseHtmlContent", pure: false });
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ParseHtmlContentPipe, decorators: [{
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ParseHtmlContentPipe, decorators: [{
|
|
17
16
|
type: Pipe,
|
|
18
17
|
args: [{ name: 'parseHtmlContent', pure: false }]
|
|
19
18
|
}] });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyc2UtaHRtbC1jb250ZW50LnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9zcmMvY29tcG9uZW50cy9hbGVydHMvcGFyc2UtaHRtbC1jb250ZW50LnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7O0FBR3BELE1BQU0sT0FBTyxvQkFBb0I7SUFFL0I7OztNQUdFO0lBQ0YsU0FBUyxDQUFDLE9BQU87UUFDZixNQUFNLGFBQWEsR0FBRyxJQUFJLFNBQVMsRUFBRSxDQUFDLGVBQWUsQ0FBQyxPQUFPLEVBQUUsV0FBVyxDQUFDLENBQUMsSUFBSSxDQUFDLFVBQVUsQ0FBQyxDQUFDLENBQUMsQ0FBQztRQUUvRixPQUFPLGFBQWEsRUFBRSxXQUFXLENBQUM7SUFDcEMsQ0FBQzt1R0FWVSxvQkFBb0I7cUdBQXBCLG9CQUFvQjs7MkZBQXBCLG9CQUFvQjtrQkFEaEMsSUFBSTttQkFBQyxFQUFFLElBQUksRUFBRSxrQkFBa0IsRUFBRSxJQUFJLEVBQUUsS0FBSyxFQUFFIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGlwZSwgUGlwZVRyYW5zZm9ybSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AUGlwZSh7IG5hbWU6ICdwYXJzZUh0bW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