@formio/angular 5.2.0-rc.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/FormioBaseComponent.d.ts +75 -0
- package/FormioBaseComponent.d.ts.map +1 -0
- package/FormioBaseComponent.ngfactory.d.ts.map +1 -0
- package/README.md +24 -0
- package/auth/auth.component.d.ts +3 -0
- package/auth/auth.component.d.ts.map +1 -0
- package/auth/auth.config.d.ts +60 -0
- package/auth/auth.config.d.ts.map +1 -0
- package/auth/auth.module.d.ts +6 -0
- package/auth/auth.module.d.ts.map +1 -0
- package/auth/auth.routes.d.ts +4 -0
- package/auth/auth.routes.d.ts.map +1 -0
- package/auth/auth.service.d.ts +38 -0
- package/auth/auth.service.d.ts.map +1 -0
- package/auth/formio-angular-auth.d.ts +5 -0
- package/auth/formio-angular-auth.d.ts.map +1 -0
- package/auth/formio-angular-auth.metadata.json +1 -0
- package/auth/index.d.ts +9 -0
- package/auth/index.d.ts.map +1 -0
- package/auth/login/login.component.d.ts +6 -0
- package/auth/login/login.component.d.ts.map +1 -0
- package/auth/package.json +11 -0
- package/auth/public_api.d.ts +2 -0
- package/auth/public_api.d.ts.map +1 -0
- package/auth/register/register.component.d.ts +6 -0
- package/auth/register/register.component.d.ts.map +1 -0
- package/auth/resetpass/resetpass.component.d.ts +6 -0
- package/auth/resetpass/resetpass.component.d.ts.map +1 -0
- package/bundles/formio-angular-auth.umd.js +312 -0
- package/bundles/formio-angular-auth.umd.js.map +1 -0
- package/bundles/formio-angular-grid.umd.js +1010 -0
- package/bundles/formio-angular-grid.umd.js.map +1 -0
- package/bundles/formio-angular-manager.umd.js +1122 -0
- package/bundles/formio-angular-manager.umd.js.map +1 -0
- package/bundles/formio-angular-resource.umd.js +556 -0
- package/bundles/formio-angular-resource.umd.js.map +1 -0
- package/bundles/formio-angular.umd.js +1497 -0
- package/bundles/formio-angular.umd.js.map +1 -0
- package/components/alerts/formio.alerts.component.d.ts +9 -0
- package/components/alerts/formio.alerts.component.d.ts.map +1 -0
- package/components/alerts/formio.alerts.component.ngfactory.d.ts.map +1 -0
- package/components/alerts/formio.alerts.d.ts +12 -0
- package/components/alerts/formio.alerts.d.ts.map +1 -0
- package/components/alerts/parse-html-content.pipe.d.ts +5 -0
- package/components/alerts/parse-html-content.pipe.d.ts.map +1 -0
- package/components/alerts/parse-html-content.pipe.ngfactory.d.ts.map +1 -0
- package/components/formbuilder/formbuilder.component.d.ts +34 -0
- package/components/formbuilder/formbuilder.component.d.ts.map +1 -0
- package/components/formbuilder/formbuilder.component.ngfactory.d.ts.map +1 -0
- package/components/formio/formio.component.d.ts +12 -0
- package/components/formio/formio.component.d.ts.map +1 -0
- package/components/formio/formio.component.ngfactory.d.ts.map +1 -0
- package/components/loader/formio.loader.component.d.ts +4 -0
- package/components/loader/formio.loader.component.d.ts.map +1 -0
- package/components/loader/formio.loader.component.ngfactory.d.ts.map +1 -0
- package/components/loader/formio.loader.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/core.d.ts +14 -0
- package/core.d.ts.map +1 -0
- package/custom-component/create-custom-component.d.ts +239 -0
- package/custom-component/create-custom-component.d.ts.map +1 -0
- package/custom-component/custom-tags.service.d.ts +5 -0
- package/custom-component/custom-tags.service.d.ts.map +1 -0
- package/custom-component/custom-tags.service.ngfactory.d.ts.map +1 -0
- package/custom-component/register-custom-component.d.ts +7 -0
- package/custom-component/register-custom-component.d.ts.map +1 -0
- package/elements.common.d.ts +31 -0
- package/elements.common.d.ts.map +1 -0
- package/esm2015/FormioBaseComponent.js +456 -0
- package/esm2015/auth/auth.component.js +9 -0
- package/esm2015/auth/auth.config.js +12 -0
- package/esm2015/auth/auth.module.js +34 -0
- package/esm2015/auth/auth.routes.js +32 -0
- package/esm2015/auth/auth.service.js +160 -0
- package/esm2015/auth/formio-angular-auth.js +5 -0
- package/esm2015/auth/index.js +9 -0
- package/esm2015/auth/login/login.component.js +16 -0
- package/esm2015/auth/public_api.js +5 -0
- package/esm2015/auth/register/register.component.js +16 -0
- package/esm2015/auth/resetpass/resetpass.component.js +16 -0
- package/esm2015/components/alerts/formio.alerts.component.js +26 -0
- package/esm2015/components/alerts/formio.alerts.js +15 -0
- package/esm2015/components/alerts/parse-html-content.pipe.js +15 -0
- package/esm2015/components/formbuilder/formbuilder.component.js +185 -0
- package/esm2015/components/formio/formio.component.js +39 -0
- package/esm2015/components/loader/formio.loader.component.js +14 -0
- package/esm2015/core.js +14 -0
- package/esm2015/custom-component/create-custom-component.js +130 -0
- package/esm2015/custom-component/custom-tags.service.js +13 -0
- package/esm2015/custom-component/register-custom-component.js +23 -0
- package/esm2015/elements.common.js +2 -0
- package/esm2015/formio-angular.js +7 -0
- package/esm2015/formio-promise.service.js +33 -0
- package/esm2015/formio.common.js +8 -0
- package/esm2015/formio.config.js +11 -0
- package/esm2015/formio.module.js +42 -0
- package/esm2015/formio.service.js +59 -0
- package/esm2015/formio.utils.js +21 -0
- package/esm2015/grid/GridBodyComponent.js +76 -0
- package/esm2015/grid/GridFooterComponent.js +26 -0
- package/esm2015/grid/GridHeaderComponent.js +25 -0
- package/esm2015/grid/form/FormGridBody.component.js +16 -0
- package/esm2015/grid/form/FormGridFooter.component.js +24 -0
- package/esm2015/grid/form/FormGridHeader.component.js +24 -0
- package/esm2015/grid/form/index.js +9 -0
- package/esm2015/grid/form/time-since.pipe.js +33 -0
- package/esm2015/grid/formio-angular-grid.js +6 -0
- package/esm2015/grid/grid.component.js +211 -0
- package/esm2015/grid/grid.module.js +61 -0
- package/esm2015/grid/grid.service.js +16 -0
- package/esm2015/grid/index.js +13 -0
- package/esm2015/grid/public_api.js +5 -0
- package/esm2015/grid/submission/SubmissionGridBody.component.js +40 -0
- package/esm2015/grid/submission/SubmissionGridFooter.component.js +21 -0
- package/esm2015/grid/submission/SubmissionGridHeader.component.js +58 -0
- package/esm2015/grid/submission/index.js +9 -0
- package/esm2015/grid/types/grid-column.js +2 -0
- package/esm2015/grid/types/grid-footer-positions.js +7 -0
- package/esm2015/grid/types/grid-header.js +6 -0
- package/esm2015/index.js +5 -0
- package/esm2015/manager/create/create.component.js +13 -0
- package/esm2015/manager/delete/delete.component.js +42 -0
- package/esm2015/manager/edit/edit.component.js +109 -0
- package/esm2015/manager/form/form.component.js +73 -0
- package/esm2015/manager/form-manager.config.js +12 -0
- package/esm2015/manager/form-manager.module.js +56 -0
- package/esm2015/manager/form-manager.routes.js +74 -0
- package/esm2015/manager/form-manager.service.js +180 -0
- package/esm2015/manager/formio-angular-manager.js +5 -0
- package/esm2015/manager/index/index.component.js +86 -0
- package/esm2015/manager/index.js +16 -0
- package/esm2015/manager/public_api.js +5 -0
- package/esm2015/manager/submission/delete/delete.component.js +32 -0
- package/esm2015/manager/submission/edit/edit.component.js +24 -0
- package/esm2015/manager/submission/index/index.component.js +24 -0
- package/esm2015/manager/submission/submission/submission.component.js +27 -0
- package/esm2015/manager/submission/view/view.component.js +16 -0
- package/esm2015/manager/view/view.component.js +45 -0
- package/esm2015/public-api.js +5 -0
- package/esm2015/resource/create/create.component.js +40 -0
- package/esm2015/resource/delete/delete.component.js +29 -0
- package/esm2015/resource/edit/edit.component.js +39 -0
- package/esm2015/resource/formio-angular-resource.js +5 -0
- package/esm2015/resource/index/index.component.js +65 -0
- package/esm2015/resource/index.js +12 -0
- package/esm2015/resource/public_api.js +5 -0
- package/esm2015/resource/resource.component.js +48 -0
- package/esm2015/resource/resource.config.js +12 -0
- package/esm2015/resource/resource.module.js +44 -0
- package/esm2015/resource/resource.routes.js +42 -0
- package/esm2015/resource/resource.service.js +187 -0
- package/esm2015/resource/resources.service.js +22 -0
- package/esm2015/resource/view/view.component.js +24 -0
- package/esm2015/types/alerts-position.js +8 -0
- package/esm2015/types/formio-metadata.js +2 -0
- package/esm2015/types/formio-submission.js +6 -0
- package/fesm2015/formio-angular-auth.js +285 -0
- package/fesm2015/formio-angular-auth.js.map +1 -0
- package/fesm2015/formio-angular-grid.js +624 -0
- package/fesm2015/formio-angular-grid.js.map +1 -0
- package/fesm2015/formio-angular-manager.js +750 -0
- package/fesm2015/formio-angular-manager.js.map +1 -0
- package/fesm2015/formio-angular-resource.js +515 -0
- package/fesm2015/formio-angular-resource.js.map +1 -0
- package/fesm2015/formio-angular.js +1073 -0
- package/fesm2015/formio-angular.js.map +1 -0
- package/formio-angular.d.ts +7 -0
- package/formio-angular.d.ts.map +1 -0
- package/formio-angular.metadata.json +1 -0
- package/formio-promise.service.d.ts +16 -0
- package/formio-promise.service.d.ts.map +1 -0
- package/formio.common.d.ts +64 -0
- package/formio.common.d.ts.map +1 -0
- package/formio.config.d.ts +7 -0
- package/formio.config.d.ts.map +1 -0
- package/formio.config.ngfactory.d.ts.map +1 -0
- package/formio.module.d.ts +3 -0
- package/formio.module.d.ts.map +1 -0
- package/formio.module.ngfactory.d.ts.map +1 -0
- package/formio.service.d.ts +18 -0
- package/formio.service.d.ts.map +1 -0
- package/formio.utils.d.ts +2 -0
- package/formio.utils.d.ts.map +1 -0
- package/grid/GridBodyComponent.d.ts +32 -0
- package/grid/GridBodyComponent.d.ts.map +1 -0
- package/grid/GridBodyComponent.ngfactory.d.ts.map +1 -0
- package/grid/GridFooterComponent.d.ts +17 -0
- package/grid/GridFooterComponent.d.ts.map +1 -0
- package/grid/GridFooterComponent.ngfactory.d.ts.map +1 -0
- package/grid/GridHeaderComponent.d.ts +13 -0
- package/grid/GridHeaderComponent.d.ts.map +1 -0
- package/grid/GridHeaderComponent.ngfactory.d.ts.map +1 -0
- package/grid/form/FormGridBody.component.d.ts +6 -0
- package/grid/form/FormGridBody.component.d.ts.map +1 -0
- package/grid/form/FormGridBody.component.ngfactory.d.ts.map +1 -0
- package/grid/form/FormGridBody.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/grid/form/FormGridFooter.component.d.ts +7 -0
- package/grid/form/FormGridFooter.component.d.ts.map +1 -0
- package/grid/form/FormGridFooter.component.ngfactory.d.ts.map +1 -0
- package/grid/form/FormGridHeader.component.d.ts +8 -0
- package/grid/form/FormGridHeader.component.d.ts.map +1 -0
- package/grid/form/FormGridHeader.component.ngfactory.d.ts.map +1 -0
- package/grid/form/index.d.ts +10 -0
- package/grid/form/index.d.ts.map +1 -0
- package/grid/form/time-since.pipe.d.ts +5 -0
- package/grid/form/time-since.pipe.d.ts.map +1 -0
- package/grid/form/time-since.pipe.ngfactory.d.ts.map +1 -0
- package/grid/formio-angular-grid.d.ts +6 -0
- package/grid/formio-angular-grid.d.ts.map +1 -0
- package/grid/formio-angular-grid.metadata.json +1 -0
- package/grid/grid.component.d.ts +56 -0
- package/grid/grid.component.d.ts.map +1 -0
- package/grid/grid.component.ngfactory.d.ts.map +1 -0
- package/grid/grid.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/grid/grid.footer.scss.ngstyle.d.ts.map +1 -0
- package/grid/grid.module.d.ts +3 -0
- package/grid/grid.module.d.ts.map +1 -0
- package/grid/grid.module.ngfactory.d.ts.map +1 -0
- package/grid/grid.service.d.ts +7 -0
- package/grid/grid.service.d.ts.map +1 -0
- package/grid/grid.service.ngfactory.d.ts.map +1 -0
- package/grid/index.d.ts +13 -0
- package/grid/index.d.ts.map +1 -0
- package/grid/package.json +11 -0
- package/grid/public_api.d.ts +2 -0
- package/grid/public_api.d.ts.map +1 -0
- package/grid/submission/SubmissionGridBody.component.d.ts +16 -0
- package/grid/submission/SubmissionGridBody.component.d.ts.map +1 -0
- package/grid/submission/SubmissionGridBody.component.ngfactory.d.ts.map +1 -0
- package/grid/submission/SubmissionGridFooter.component.d.ts +7 -0
- package/grid/submission/SubmissionGridFooter.component.d.ts.map +1 -0
- package/grid/submission/SubmissionGridFooter.component.ngfactory.d.ts.map +1 -0
- package/grid/submission/SubmissionGridHeader.component.d.ts +27 -0
- package/grid/submission/SubmissionGridHeader.component.d.ts.map +1 -0
- package/grid/submission/SubmissionGridHeader.component.ngfactory.d.ts.map +1 -0
- package/grid/submission/index.d.ts +10 -0
- package/grid/submission/index.d.ts.map +1 -0
- package/grid/types/grid-column.d.ts +7 -0
- package/grid/types/grid-column.d.ts.map +1 -0
- package/grid/types/grid-footer-positions.d.ts +6 -0
- package/grid/types/grid-footer-positions.d.ts.map +1 -0
- package/grid/types/grid-header.d.ts +13 -0
- package/grid/types/grid-header.d.ts.map +1 -0
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -0
- package/manager/create/create.component.d.ts +6 -0
- package/manager/create/create.component.d.ts.map +1 -0
- package/manager/delete/delete.component.d.ts +15 -0
- package/manager/delete/delete.component.d.ts.map +1 -0
- package/manager/edit/edit.component.d.ts +28 -0
- package/manager/edit/edit.component.d.ts.map +1 -0
- package/manager/form/form.component.d.ts +26 -0
- package/manager/form/form.component.d.ts.map +1 -0
- package/manager/form-manager.config.d.ts +23 -0
- package/manager/form-manager.config.d.ts.map +1 -0
- package/manager/form-manager.module.d.ts +6 -0
- package/manager/form-manager.module.d.ts.map +1 -0
- package/manager/form-manager.routes.d.ts +4 -0
- package/manager/form-manager.routes.d.ts.map +1 -0
- package/manager/form-manager.service.d.ts +35 -0
- package/manager/form-manager.service.d.ts.map +1 -0
- package/manager/formio-angular-manager.d.ts +5 -0
- package/manager/formio-angular-manager.d.ts.map +1 -0
- package/manager/formio-angular-manager.metadata.json +1 -0
- package/manager/index/index.component.d.ts +23 -0
- package/manager/index/index.component.d.ts.map +1 -0
- package/manager/index.d.ts +17 -0
- package/manager/index.d.ts.map +1 -0
- package/manager/package.json +11 -0
- package/manager/public_api.d.ts +2 -0
- package/manager/public_api.d.ts.map +1 -0
- package/manager/submission/delete/delete.component.d.ts +13 -0
- package/manager/submission/delete/delete.component.d.ts.map +1 -0
- package/manager/submission/edit/edit.component.d.ts +10 -0
- package/manager/submission/edit/edit.component.d.ts.map +1 -0
- package/manager/submission/index/index.component.d.ts +10 -0
- package/manager/submission/index/index.component.d.ts.map +1 -0
- package/manager/submission/submission/submission.component.d.ts +12 -0
- package/manager/submission/submission/submission.component.d.ts.map +1 -0
- package/manager/submission/view/view.component.d.ts +6 -0
- package/manager/submission/view/view.component.d.ts.map +1 -0
- package/manager/view/view.component.d.ts +20 -0
- package/manager/view/view.component.d.ts.map +1 -0
- package/package.json +47 -0
- package/public-api.d.ts +2 -0
- package/public-api.d.ts.map +1 -0
- package/resource/create/create.component.d.ts +16 -0
- package/resource/create/create.component.d.ts.map +1 -0
- package/resource/delete/delete.component.d.ts +11 -0
- package/resource/delete/delete.component.d.ts.map +1 -0
- package/resource/edit/edit.component.d.ts +18 -0
- package/resource/edit/edit.component.d.ts.map +1 -0
- package/resource/formio-angular-resource.d.ts +5 -0
- package/resource/formio-angular-resource.d.ts.map +1 -0
- package/resource/formio-angular-resource.metadata.json +1 -0
- package/resource/index/index.component.d.ts +20 -0
- package/resource/index/index.component.d.ts.map +1 -0
- package/resource/index.d.ts +12 -0
- package/resource/index.d.ts.map +1 -0
- package/resource/package.json +11 -0
- package/resource/public_api.d.ts +2 -0
- package/resource/public_api.d.ts.map +1 -0
- package/resource/resource.component.d.ts +19 -0
- package/resource/resource.component.d.ts.map +1 -0
- package/resource/resource.config.d.ts +14 -0
- package/resource/resource.config.d.ts.map +1 -0
- package/resource/resource.module.d.ts +6 -0
- package/resource/resource.module.d.ts.map +1 -0
- package/resource/resource.routes.d.ts +4 -0
- package/resource/resource.routes.d.ts.map +1 -0
- package/resource/resource.service.d.ts +46 -0
- package/resource/resource.service.d.ts.map +1 -0
- package/resource/resources.service.d.ts +13 -0
- package/resource/resources.service.d.ts.map +1 -0
- package/resource/view/view.component.d.ts +13 -0
- package/resource/view/view.component.d.ts.map +1 -0
- package/types/alerts-position.d.ts +7 -0
- package/types/alerts-position.d.ts.map +1 -0
- package/types/formio-metadata.d.ts +11 -0
- package/types/formio-metadata.d.ts.map +1 -0
- package/types/formio-submission.d.ts +19 -0
- package/types/formio-submission.d.ts.map +1 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormioService } from './formio.service';
|
|
3
|
+
import { FormioAlerts } from './components/alerts/formio.alerts';
|
|
4
|
+
import { FormioAppConfig } from './formio.config';
|
|
5
|
+
import { FormioForm, FormioOptions, FormioRefreshValue } from './formio.common';
|
|
6
|
+
import { CustomTagsService } from './custom-component/custom-tags.service';
|
|
7
|
+
import { AlertsPosition } from './types/alerts-position';
|
|
8
|
+
export declare class FormioBaseComponent implements OnInit, OnChanges, OnDestroy {
|
|
9
|
+
ngZone: NgZone;
|
|
10
|
+
config: FormioAppConfig;
|
|
11
|
+
customTags?: CustomTagsService;
|
|
12
|
+
form?: FormioForm;
|
|
13
|
+
submission?: any;
|
|
14
|
+
src?: string;
|
|
15
|
+
url?: string;
|
|
16
|
+
service?: FormioService;
|
|
17
|
+
options?: FormioOptions;
|
|
18
|
+
noeval?: boolean;
|
|
19
|
+
formioOptions?: any;
|
|
20
|
+
renderOptions?: any;
|
|
21
|
+
readOnly?: boolean;
|
|
22
|
+
viewOnly?: boolean;
|
|
23
|
+
hideComponents?: string[];
|
|
24
|
+
refresh?: EventEmitter<FormioRefreshValue>;
|
|
25
|
+
error?: EventEmitter<any>;
|
|
26
|
+
success?: EventEmitter<object>;
|
|
27
|
+
language?: EventEmitter<string>;
|
|
28
|
+
hooks?: any;
|
|
29
|
+
renderer?: any;
|
|
30
|
+
watchSubmissionErrors?: boolean;
|
|
31
|
+
render: EventEmitter<object>;
|
|
32
|
+
customEvent: EventEmitter<object>;
|
|
33
|
+
fileUploadingStatus: EventEmitter<string>;
|
|
34
|
+
submit: EventEmitter<object>;
|
|
35
|
+
prevPage: EventEmitter<object>;
|
|
36
|
+
nextPage: EventEmitter<object>;
|
|
37
|
+
beforeSubmit: EventEmitter<object>;
|
|
38
|
+
change: EventEmitter<object>;
|
|
39
|
+
invalid: EventEmitter<boolean>;
|
|
40
|
+
errorChange: EventEmitter<any>;
|
|
41
|
+
formLoad: EventEmitter<any>;
|
|
42
|
+
submissionLoad: EventEmitter<any>;
|
|
43
|
+
ready: EventEmitter<FormioBaseComponent>;
|
|
44
|
+
formioElement?: ElementRef<any>;
|
|
45
|
+
AlertsPosition: typeof AlertsPosition;
|
|
46
|
+
formio: any;
|
|
47
|
+
initialized: boolean;
|
|
48
|
+
alerts: FormioAlerts;
|
|
49
|
+
formioReady: Promise<any>;
|
|
50
|
+
private formioReadyResolve;
|
|
51
|
+
private submitting;
|
|
52
|
+
private submissionSuccess;
|
|
53
|
+
isLoading: boolean;
|
|
54
|
+
noAlerts: boolean;
|
|
55
|
+
label: string;
|
|
56
|
+
constructor(ngZone: NgZone, config: FormioAppConfig, customTags?: CustomTagsService);
|
|
57
|
+
getRenderer(): any;
|
|
58
|
+
getRendererOptions(): any;
|
|
59
|
+
createRenderer(): any;
|
|
60
|
+
setForm(form: FormioForm): any;
|
|
61
|
+
initialize(): void;
|
|
62
|
+
ngOnInit(): void;
|
|
63
|
+
ngOnDestroy(): void;
|
|
64
|
+
onRefresh(refresh: FormioRefreshValue): void;
|
|
65
|
+
ngOnChanges(changes: any): void;
|
|
66
|
+
onPrevPage(data: any): void;
|
|
67
|
+
onNextPage(data: any): void;
|
|
68
|
+
onSubmit(submission: any, saved: boolean, noemit?: boolean): void;
|
|
69
|
+
onError(err: any): void;
|
|
70
|
+
focusOnComponet(key: any): void;
|
|
71
|
+
submitExecute(submission: object, saved?: boolean): void;
|
|
72
|
+
submitForm(submission: any, saved?: boolean): void;
|
|
73
|
+
onChange(value: any, flags: any, isModified: boolean): void;
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=FormioBaseComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormioBaseComponent.d.ts","sourceRoot":"","sources":["../../projects/angular-formio/src/FormioBaseComponent.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormioBaseComponent.ngfactory.d.ts","sourceRoot":"","sources":["../../projects/angular-formio/src/FormioBaseComponent.ngfactory.ts"],"names":[],"mappings":""}
|
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# AngularFormio
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.1.4.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project angular-formio` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project angular-formio`.
|
|
8
|
+
> Note: Don't forget to add `--project angular-formio` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build angular-formio` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build angular-formio`, go to the dist folder `cd dist/angular-formio` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test angular-formio` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.component.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/auth.component.ts"],"names":[],"mappings":"AACA,qBAGa,mBAAmB;CAAG"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export interface FormioAuthFormConfig {
|
|
2
|
+
path?: string;
|
|
3
|
+
form?: string;
|
|
4
|
+
component?: any;
|
|
5
|
+
}
|
|
6
|
+
export interface FormioAuthRouteConfig {
|
|
7
|
+
auth?: any;
|
|
8
|
+
login?: any;
|
|
9
|
+
register?: any;
|
|
10
|
+
resetpass?: any;
|
|
11
|
+
}
|
|
12
|
+
export declare class FormioAuthConfig {
|
|
13
|
+
component?: any;
|
|
14
|
+
delayAuth?: any;
|
|
15
|
+
login?: FormioAuthFormConfig;
|
|
16
|
+
register?: FormioAuthFormConfig;
|
|
17
|
+
resetpass?: FormioAuthFormConfig;
|
|
18
|
+
oauth?: FormioOAuthConfig;
|
|
19
|
+
}
|
|
20
|
+
export interface FormioOAuthConfig {
|
|
21
|
+
type: FormioOauthType;
|
|
22
|
+
options: FormioOktaConfig | FormioSamlConfig;
|
|
23
|
+
}
|
|
24
|
+
export declare enum FormioOauthType {
|
|
25
|
+
okta = "okta",
|
|
26
|
+
saml = "saml"
|
|
27
|
+
}
|
|
28
|
+
export interface FormioOktaConfig extends OktaConfig {
|
|
29
|
+
formio?: any;
|
|
30
|
+
}
|
|
31
|
+
export interface FormioSamlConfig {
|
|
32
|
+
relay: string;
|
|
33
|
+
}
|
|
34
|
+
export interface OktaConfig {
|
|
35
|
+
url?: string;
|
|
36
|
+
tokenManager?: OktaTokenManagerConfig;
|
|
37
|
+
issuer?: string;
|
|
38
|
+
clientId?: string;
|
|
39
|
+
redirectUri?: string;
|
|
40
|
+
postLogoutRedirectUri?: string;
|
|
41
|
+
pkce?: boolean;
|
|
42
|
+
authorizeUrl?: string;
|
|
43
|
+
userinfoUrl?: string;
|
|
44
|
+
tokenUrl?: string;
|
|
45
|
+
ignoreSignature?: boolean;
|
|
46
|
+
maxClockSkew?: number;
|
|
47
|
+
scopes?: string[];
|
|
48
|
+
httpRequestClient?: Function;
|
|
49
|
+
}
|
|
50
|
+
export interface OktaTokenManagerConfig {
|
|
51
|
+
storage?: string | {
|
|
52
|
+
getItem?: Function;
|
|
53
|
+
setItem?: Function;
|
|
54
|
+
};
|
|
55
|
+
secure?: boolean;
|
|
56
|
+
autoRenew?: boolean;
|
|
57
|
+
expireEarlySeconds?: number;
|
|
58
|
+
storageKey?: string;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=auth.config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.config.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/auth.config.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,GAAG,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,SAAS,CAAC,EAAE,GAAG,CAAC;CACjB;AAED,qBACa,gBAAgB;IAC3B,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,KAAK,CAAC,EAAE,oBAAoB,CAAC;IAC7B,QAAQ,CAAC,EAAE,oBAAoB,CAAC;IAChC,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,KAAK,CAAC,EAAE,iBAAiB,CAAC;CAC3B;AAGD,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,eAAe,CAAC;IACtB,OAAO,EAAE,gBAAgB,GAAG,gBAAgB,CAAC;CAC9C;AAED,oBAAY,eAAe;IACzB,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,MAAM,CAAC,EAAE,GAAG,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf;AAGD,MAAM,WAAW,UAAU;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,sBAAsB,CAAC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,iBAAiB,CAAC,EAAE,QAAQ,CAAC;CAC9B;AAED,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,MAAM,GAAG;QACjB,OAAO,CAAC,EAAE,QAAQ,CAAC;QACnB,OAAO,CAAC,EAAE,QAAQ,CAAC;KACpB,CAAC;IACF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.module.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/auth.module.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAItD,qBAaa,UAAU;IACrB,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,qBAAqB,GAAG,GAAG;IAGnD,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,qBAAqB,GAAG,GAAG;CAGrD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.routes.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/auth.routes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAMtD,wBAAgB,gBAAgB,CAAC,MAAM,CAAC,EAAE,qBAAqB,GAAG,MAAM,CA0BvE"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormioAuthConfig } from './auth.config';
|
|
3
|
+
import { FormioAppConfig } from '@formio/angular';
|
|
4
|
+
export declare class FormioAuthService {
|
|
5
|
+
appConfig: FormioAppConfig;
|
|
6
|
+
config: FormioAuthConfig;
|
|
7
|
+
user: any;
|
|
8
|
+
authenticated: boolean;
|
|
9
|
+
loginForm: string;
|
|
10
|
+
onLogin: EventEmitter<object>;
|
|
11
|
+
onLogout: EventEmitter<object>;
|
|
12
|
+
registerForm: string;
|
|
13
|
+
onRegister: EventEmitter<object>;
|
|
14
|
+
onUser: EventEmitter<object>;
|
|
15
|
+
onError: EventEmitter<any>;
|
|
16
|
+
resetPassForm: string;
|
|
17
|
+
onResetPass: EventEmitter<object>;
|
|
18
|
+
ready: Promise<boolean>;
|
|
19
|
+
readyResolve: any;
|
|
20
|
+
readyReject: any;
|
|
21
|
+
projectReady?: Promise<any>;
|
|
22
|
+
accessReady?: Promise<any>;
|
|
23
|
+
userReady?: Promise<any>;
|
|
24
|
+
formAccess: any;
|
|
25
|
+
submissionAccess: any;
|
|
26
|
+
roles: any;
|
|
27
|
+
is: any;
|
|
28
|
+
constructor(appConfig: FormioAppConfig, config: FormioAuthConfig);
|
|
29
|
+
onLoginSubmit(submission: object): void;
|
|
30
|
+
onRegisterSubmit(submission: object): void;
|
|
31
|
+
onResetPassSubmit(submission: object): void;
|
|
32
|
+
init(): void;
|
|
33
|
+
setUser(user: any): void;
|
|
34
|
+
setUserRoles(): void;
|
|
35
|
+
logoutError(): void;
|
|
36
|
+
logout(): void;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=auth.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.service.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/auth.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAsB,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAIlD,qBACa,iBAAiB;IA6BnB,SAAS,EAAE,eAAe;IAC1B,MAAM,EAAE,gBAAgB;IA7B1B,IAAI,EAAE,GAAG,CAAC;IACV,aAAa,UAAS;IAEtB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC9B,QAAQ,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAE/B,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IACjC,MAAM,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC7B,OAAO,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IAE3B,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAElC,KAAK,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IACxB,YAAY,EAAE,GAAG,CAAC;IAClB,WAAW,EAAE,GAAG,CAAC;IAEjB,YAAY,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IACzB,UAAU,EAAE,GAAG,CAAM;IACrB,gBAAgB,EAAE,GAAG,CAAM;IAC3B,KAAK,EAAE,GAAG,CAAC;IACX,EAAE,EAAE,GAAG,CAAM;gBAGX,SAAS,EAAE,eAAe,EAC1B,MAAM,EAAE,gBAAgB;IA2CjC,aAAa,CAAC,UAAU,EAAE,MAAM;IAKhC,gBAAgB,CAAC,UAAU,EAAE,MAAM;IAKnC,iBAAiB,CAAC,UAAU,EAAE,MAAM;IAIpC,IAAI;IA6DJ,OAAO,CAAC,IAAI,EAAE,GAAG;IAkBjB,YAAY;IAYZ,WAAW;IAOX,MAAM;CAQP"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formio-angular-auth.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/formio-angular-auth.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"FormioAuthConfig":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":15,"character":1}}],"members":{}},"FormioAuthService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":6,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@formio/angular","name":"FormioAppConfig","line":36,"character":22},{"__symbolic":"reference","name":"FormioAuthConfig"}]}],"onLoginSubmit":[{"__symbolic":"method"}],"onRegisterSubmit":[{"__symbolic":"method"}],"onResetPassSubmit":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"setUser":[{"__symbolic":"method"}],"setUserRoles":[{"__symbolic":"method"}],"logoutError":[{"__symbolic":"method"}],"logout":[{"__symbolic":"method"}]}},"FormioAuthComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":1,"character":1},"arguments":[{"template":"<div class=\"card card-primary panel panel-default\">\n <div class=\"card-header panel-heading\">\n <ul class=\"nav nav-tabs card-header-tabs\">\n <li class=\"nav-item\" role=\"presentation\" routerLinkActive=\"active\"><a class=\"nav-link\" routerLink=\"login\" routerLinkActive=\"active\">Login</a></li>\n <li class=\"nav-item\" role=\"presentation\" routerLinkActive=\"active\"><a class=\"nav-link\" routerLink=\"register\" routerLinkActive=\"active\">Register</a></li>\n <li class=\"nav-item\" role=\"presentation\" routerLinkActive=\"active\"><a class=\"nav-link\" routerLink=\"resetpass\" routerLinkActive=\"active\">Reset Password</a></li>\n </ul>\n </div>\n <div class=\"card-body panel-body\">\n <router-outlet></router-outlet>\n </div>\n</div>\n"}]}],"members":{}},"FormioAuthLoginComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"template":"<formio [src]=\"service.loginForm\" (submit)=\"service.onLoginSubmit($event)\"></formio>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FormioAuthService"}]}]}},"FormioAuthRegisterComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"template":"<formio [src]=\"service.registerForm\" (submit)=\"service.onRegisterSubmit($event)\"></formio>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FormioAuthService"}]}]}},"FormioResetPassComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"template":"<formio [src]=\"service.resetPassForm\" (submit)=\"service.onResetPassSubmit($event)\"></formio>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FormioAuthService"}]}]}},"FormioAuthRoutes":{"__symbolic":"function","parameters":["config"],"value":[{"path":"","component":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"auth"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"auth"},"elseExpression":{"__symbolic":"reference","name":"FormioAuthComponent"}},"children":[{"path":"","redirectTo":"login","pathMatch":"full"},{"path":"login","component":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"login"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"login"},"elseExpression":{"__symbolic":"reference","name":"FormioAuthLoginComponent"}}},{"path":"register","component":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"register"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"register"},"elseExpression":{"__symbolic":"reference","name":"FormioAuthRegisterComponent"}}},{"path":"resetpass","component":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"resetpass"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"resetpass"},"elseExpression":{"__symbolic":"reference","name":"FormioResetPassComponent"}}}]}]},"FormioAuth":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":12,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":14,"character":4},{"__symbolic":"reference","module":"@formio/angular","name":"FormioModule","line":15,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":16,"character":4}],"declarations":[{"__symbolic":"reference","name":"FormioAuthComponent"},{"__symbolic":"reference","name":"FormioAuthLoginComponent"},{"__symbolic":"reference","name":"FormioAuthRegisterComponent"},{"__symbolic":"reference","name":"FormioResetPassComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["config"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@formio/angular","name":"extendRouter","line":27,"character":11},"arguments":[{"__symbolic":"reference","name":"FormioAuth"},{"__symbolic":"reference","name":"config"},{"__symbolic":"reference","name":"FormioAuthRoutes"}]}},"forChild":{"__symbolic":"function","parameters":["config"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@formio/angular","name":"extendRouter","line":30,"character":11},"arguments":[{"__symbolic":"reference","name":"FormioAuth"},{"__symbolic":"reference","name":"config"},{"__symbolic":"reference","name":"FormioAuthRoutes"}]}}}}},"origins":{"FormioAuthConfig":"./auth.config","FormioAuthService":"./auth.service","FormioAuthComponent":"./auth.component","FormioAuthLoginComponent":"./login/login.component","FormioAuthRegisterComponent":"./register/register.component","FormioResetPassComponent":"./resetpass/resetpass.component","FormioAuthRoutes":"./auth.routes","FormioAuth":"./auth.module"},"importAs":"@formio/angular/auth"}
|
package/auth/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { FormioAuthConfig } from './auth.config';
|
|
2
|
+
export { FormioAuthService } from './auth.service';
|
|
3
|
+
export { FormioAuthComponent } from './auth.component';
|
|
4
|
+
export { FormioAuthLoginComponent } from './login/login.component';
|
|
5
|
+
export { FormioAuthRegisterComponent } from './register/register.component';
|
|
6
|
+
export { FormioResetPassComponent } from './resetpass/resetpass.component';
|
|
7
|
+
export { FormioAuthRoutes } from './auth.routes';
|
|
8
|
+
export { FormioAuth } from './auth.module';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAO,kBAAkB,CAAC;AACxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"login.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/login/login.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,qBAGa,wBAAwB;IAChB,OAAO,EAAE,iBAAiB;gBAA1B,OAAO,EAAE,iBAAiB;CAC9C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"main": "../bundles/formio-angular-auth.umd.js",
|
|
3
|
+
"module": "../fesm2015/formio-angular-auth.js",
|
|
4
|
+
"es2015": "../fesm2015/formio-angular-auth.js",
|
|
5
|
+
"esm2015": "../esm2015/auth/formio-angular-auth.js",
|
|
6
|
+
"fesm2015": "../fesm2015/formio-angular-auth.js",
|
|
7
|
+
"typings": "formio-angular-auth.d.ts",
|
|
8
|
+
"metadata": "formio-angular-auth.metadata.json",
|
|
9
|
+
"sideEffects": false,
|
|
10
|
+
"name": "@formio/angular/auth"
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public_api.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/public_api.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/register/register.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,qBAGa,2BAA2B;IACnB,OAAO,EAAE,iBAAiB;gBAA1B,OAAO,EAAE,iBAAiB;CAC9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resetpass.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/resetpass/resetpass.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,qBAGa,wBAAwB;IAChB,OAAO,EAAE,iBAAiB;gBAA1B,OAAO,EAAE,iBAAiB;CAC9C"}
|