@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,239 @@
|
|
|
1
|
+
import { BuilderInfo, ExtendedComponentSchema } from 'formiojs';
|
|
2
|
+
import { FormioCustomComponentInfo, FormioCustomElement } from '../elements.common';
|
|
3
|
+
export declare function createCustomFormioComponent(customComponentOptions: FormioCustomComponentInfo): {
|
|
4
|
+
new (component: ExtendedComponentSchema, options: any, data: any): {
|
|
5
|
+
id: string;
|
|
6
|
+
type: string;
|
|
7
|
+
_customAngularElement: FormioCustomElement;
|
|
8
|
+
readonly defaultSchema: ExtendedComponentSchema<any>;
|
|
9
|
+
readonly emptyValue: any;
|
|
10
|
+
component: ExtendedComponentSchema;
|
|
11
|
+
elementInfo(): import("formiojs").ElementInfo;
|
|
12
|
+
readonly inputInfo: {
|
|
13
|
+
type: string;
|
|
14
|
+
component: ExtendedComponentSchema<any>;
|
|
15
|
+
changeEvent: string;
|
|
16
|
+
attr: any;
|
|
17
|
+
content: string;
|
|
18
|
+
id: any;
|
|
19
|
+
};
|
|
20
|
+
renderElement(value: any, index: number): any;
|
|
21
|
+
attach(element: HTMLElement): any;
|
|
22
|
+
useWrapper(): boolean;
|
|
23
|
+
readonly defaultValue: any;
|
|
24
|
+
readonly maskOptions: {
|
|
25
|
+
label: any;
|
|
26
|
+
value: any;
|
|
27
|
+
}[];
|
|
28
|
+
readonly isMultipleMasksField: boolean;
|
|
29
|
+
getMaskByName(maskName: string): any;
|
|
30
|
+
setInputMask(input: any, inputMask: any): any;
|
|
31
|
+
getMaskOptions(): {
|
|
32
|
+
label: any;
|
|
33
|
+
value: any;
|
|
34
|
+
}[];
|
|
35
|
+
readonly remainingWords: number;
|
|
36
|
+
setCounter(type: string, element: any, count: number, max: number): void;
|
|
37
|
+
updateValueAt(value: any, flags: any, index: string | number): void;
|
|
38
|
+
getValueAt(index: string | number): any;
|
|
39
|
+
updateValue(value: any, flags: any, index: string | number): any;
|
|
40
|
+
attachElement(element: any, index: string | number): void;
|
|
41
|
+
readonly widget: any;
|
|
42
|
+
createWidget(index: string | number): any;
|
|
43
|
+
addFocusBlurEvents(element: any): void;
|
|
44
|
+
dataValue: any;
|
|
45
|
+
readonly addAnother: any;
|
|
46
|
+
renderRow(value: any, index: any): any;
|
|
47
|
+
onSelectMaskHandler(event: any): void;
|
|
48
|
+
tryAttachMultipleMasksInput(): boolean;
|
|
49
|
+
updateMask(input: any, mask: any): void;
|
|
50
|
+
addNewValue(value: any): void;
|
|
51
|
+
addValue(): void;
|
|
52
|
+
render(element: any): any;
|
|
53
|
+
originalComponent: any;
|
|
54
|
+
refs: Object;
|
|
55
|
+
attached: boolean;
|
|
56
|
+
rendered: boolean;
|
|
57
|
+
data: Object;
|
|
58
|
+
error: string;
|
|
59
|
+
tooltip: string;
|
|
60
|
+
row: any;
|
|
61
|
+
pristine: boolean;
|
|
62
|
+
parent: any;
|
|
63
|
+
root: any;
|
|
64
|
+
lastChanged: any;
|
|
65
|
+
triggerRedraw: Function;
|
|
66
|
+
tooltips: any[];
|
|
67
|
+
invalid: boolean;
|
|
68
|
+
isBuilt: boolean;
|
|
69
|
+
readonly ready: any;
|
|
70
|
+
readonly labelInfo: any;
|
|
71
|
+
init(): void;
|
|
72
|
+
destroy(): void;
|
|
73
|
+
readonly shouldDisabled: any;
|
|
74
|
+
readonly isInputComponent: boolean;
|
|
75
|
+
readonly hasInput: boolean;
|
|
76
|
+
readonly key: any;
|
|
77
|
+
parentVisible: any;
|
|
78
|
+
parentDisabled: any;
|
|
79
|
+
visible: any;
|
|
80
|
+
currentForm: any;
|
|
81
|
+
readonly fullMode: boolean;
|
|
82
|
+
readonly builderMode: boolean;
|
|
83
|
+
getModifiedSchema(schema: ExtendedComponentSchema<any>, defaultSchema: import("formiojs").ComponentSchema<any>, recursion: boolean): ExtendedComponentSchema<any>;
|
|
84
|
+
readonly schema: ExtendedComponentSchema<any>;
|
|
85
|
+
t(text: string, params?: Object): any;
|
|
86
|
+
labelIsHidden(): boolean;
|
|
87
|
+
readonly transform: any;
|
|
88
|
+
getTemplate(names: any, modes: any): any;
|
|
89
|
+
checkTemplate(templates: any, names: any, modes: any): any;
|
|
90
|
+
checkTemplateMode(templatesByName: any, modes: any): any;
|
|
91
|
+
renderTemplate(name: any, data: any, modeOption?: any[]): any;
|
|
92
|
+
sanitize(dirty: string): any;
|
|
93
|
+
renderString(template: any, data: any): HTMLElement;
|
|
94
|
+
performInputMapping(input: any): any;
|
|
95
|
+
getBrowserLanguage(): string;
|
|
96
|
+
beforeNext(): any;
|
|
97
|
+
beforePage(): any;
|
|
98
|
+
beforeSubmit(): any;
|
|
99
|
+
readonly submissionTimezone: any;
|
|
100
|
+
readonly canDisable: boolean;
|
|
101
|
+
loadRefs(element: any, refs: any): any;
|
|
102
|
+
build(element: any): any;
|
|
103
|
+
addShortcut(element: any, shortcut: any): void;
|
|
104
|
+
removeShortcut(element: any, shortcut: any): void;
|
|
105
|
+
detach(): void;
|
|
106
|
+
attachRefreshEvent(refreshData: any): void;
|
|
107
|
+
attachRefreshOn(): void;
|
|
108
|
+
refresh(value: any): void;
|
|
109
|
+
inContext(component: any): boolean;
|
|
110
|
+
readonly viewOnly: any;
|
|
111
|
+
createViewOnlyElement(): HTMLElement;
|
|
112
|
+
readonly defaultViewOnlyValue: "-";
|
|
113
|
+
getValueAsString(value: any): string;
|
|
114
|
+
getView(value: any): string;
|
|
115
|
+
updateItems(...args: any[]): void;
|
|
116
|
+
createModal(): HTMLElement;
|
|
117
|
+
readonly className: string;
|
|
118
|
+
readonly customStyle: string;
|
|
119
|
+
getElement(): HTMLElement;
|
|
120
|
+
evalContext(additional: any): any;
|
|
121
|
+
setPristine(pristine: boolean): void;
|
|
122
|
+
removeValue(index: number): void;
|
|
123
|
+
iconClass(name: any, spinning: any): any;
|
|
124
|
+
readonly name: string;
|
|
125
|
+
readonly errorLabel: string;
|
|
126
|
+
errorMessage(type: any): any;
|
|
127
|
+
setContent(element: any, content: any): boolean;
|
|
128
|
+
redraw(): any;
|
|
129
|
+
rebuild(): any;
|
|
130
|
+
removeEventListeners(): void;
|
|
131
|
+
hasClass(element: any, className: string): any;
|
|
132
|
+
addClass(element: any, className: string): any;
|
|
133
|
+
removeClass(element: any, className: string): any;
|
|
134
|
+
hasCondition(): boolean;
|
|
135
|
+
conditionallyVisible(data: any): boolean;
|
|
136
|
+
checkCondition(row: any, data: Object): boolean;
|
|
137
|
+
checkConditions(data: any): any;
|
|
138
|
+
readonly logic: any[];
|
|
139
|
+
fieldLogic(data: any): any;
|
|
140
|
+
applyActions(actions: any[], result: any, data: any, newComponent: any): boolean;
|
|
141
|
+
addInputError(message: any, dirty: boolean): void;
|
|
142
|
+
clearOnHide(show: boolean): void;
|
|
143
|
+
onChange(flags: Object, fromRoot: boolean): void;
|
|
144
|
+
readonly wysiwygDefault: {
|
|
145
|
+
theme: string;
|
|
146
|
+
placeholder: any;
|
|
147
|
+
modules: {
|
|
148
|
+
clipboard: {
|
|
149
|
+
matchVisual: boolean;
|
|
150
|
+
};
|
|
151
|
+
toolbar: any[];
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
addCKE(element: any, settings: Object, onChange: (input: any) => any): any;
|
|
155
|
+
addQuill(element: any, settings: Object, onChange: (input: any) => any): any;
|
|
156
|
+
addAce(element: any, settings: Object, onChange: (input: any) => any): any;
|
|
157
|
+
hasValue(data: Object): boolean;
|
|
158
|
+
readonly rootValue: any;
|
|
159
|
+
readonly rootPristine: any;
|
|
160
|
+
splice(index: string | number): void;
|
|
161
|
+
deleteValue(): void;
|
|
162
|
+
getValue(): any;
|
|
163
|
+
setValue(value: any, flags: any): boolean;
|
|
164
|
+
setValueAt(index: number, value: any, flags: any): void;
|
|
165
|
+
readonly hasSetValue: boolean;
|
|
166
|
+
restoreValue(): void;
|
|
167
|
+
normalizeValue(value: any): any;
|
|
168
|
+
getIcon(name: any, content: any, styles: any, ref?: string): any;
|
|
169
|
+
resetValue(): void;
|
|
170
|
+
hasChanged(before: any, after: any): boolean;
|
|
171
|
+
updateOnChange(flags: any, changed: any): boolean;
|
|
172
|
+
calculateValue(data: Object, flags: any): boolean;
|
|
173
|
+
label: any;
|
|
174
|
+
getRoot(): import("formiojs/types/components/_classes/component/component").Component;
|
|
175
|
+
invalidMessage(data: any, dirty: boolean, ignoreCondition?: boolean): any;
|
|
176
|
+
isValid(data: any, dirty: boolean): boolean;
|
|
177
|
+
checkValidity(data: any, dirty: any, rowData: any): boolean;
|
|
178
|
+
readonly validationValue: any;
|
|
179
|
+
isEmpty(value: any): boolean;
|
|
180
|
+
validateMultiple(): boolean;
|
|
181
|
+
readonly errors: any[];
|
|
182
|
+
setCustomValidity(message: any, dirty: any): void;
|
|
183
|
+
shouldSkipValidation(data: any, dirty: any, rowData: any): boolean;
|
|
184
|
+
whenReady(): any;
|
|
185
|
+
readonly dataReady: any;
|
|
186
|
+
asString(value: any): string;
|
|
187
|
+
disabled: boolean;
|
|
188
|
+
setDisabled(element: any, disabled: any): void;
|
|
189
|
+
setLoading(element: any, loading: any): void;
|
|
190
|
+
selectOptions(select: any, tag: any, options: any, defaultValue: any): void;
|
|
191
|
+
setSelectValue(select: any, value: any): void;
|
|
192
|
+
clear(): any;
|
|
193
|
+
append(element: HTMLElement): void;
|
|
194
|
+
prepend(element: HTMLElement): void;
|
|
195
|
+
removeChild(element: HTMLElement): void;
|
|
196
|
+
attachLogic(): void;
|
|
197
|
+
autofocus(): void;
|
|
198
|
+
focus(): void;
|
|
199
|
+
readonly shouldDisable: boolean;
|
|
200
|
+
readonly info: import("formiojs").ElementInfo;
|
|
201
|
+
element: any;
|
|
202
|
+
validators: (keyof import("formiojs").ValidateOptions)[];
|
|
203
|
+
calculatedValue: any;
|
|
204
|
+
options: any;
|
|
205
|
+
labelElement: any;
|
|
206
|
+
eventHandlers: any[];
|
|
207
|
+
i18next: any;
|
|
208
|
+
events: import("formiojs/types/eventEmitter").EventEmitter;
|
|
209
|
+
defaultMask: any;
|
|
210
|
+
inputMasks: any[];
|
|
211
|
+
on(event: string, cb: Function, internal: boolean, once?: boolean): any;
|
|
212
|
+
once(event: string, cb: Function, internal: boolean): any;
|
|
213
|
+
onAny(cb: Function): any;
|
|
214
|
+
off(event: string): void;
|
|
215
|
+
emit(event: string, data: Object): void;
|
|
216
|
+
addEventListener(obj: HTMLElement, type: string, func: Function, persistent?: boolean): any;
|
|
217
|
+
removeEventListener(obj: Object, type: any): any;
|
|
218
|
+
removeAllEvents(includeExternal: boolean): void;
|
|
219
|
+
appendTo(element: HTMLElement, container: HTMLElement): any;
|
|
220
|
+
prependTo(element: HTMLElement, container: HTMLElement): any;
|
|
221
|
+
removeChildFrom(element: HTMLElement, container: HTMLElement): any;
|
|
222
|
+
ce(type: string, attr?: Object, children?: string | HTMLElement | (string | HTMLElement)[]): HTMLElement;
|
|
223
|
+
appendChild(element: any, child: any): any;
|
|
224
|
+
maskPlaceholder(mask: HTMLElement): string;
|
|
225
|
+
text(text: string): Text;
|
|
226
|
+
attr(element: HTMLElement, attr: Object): void;
|
|
227
|
+
empty(element: HTMLElement): void;
|
|
228
|
+
interpolate(string: any, data: any): any;
|
|
229
|
+
evaluate(func: any, args: any, ret: any, tokenize?: any): any;
|
|
230
|
+
hook(...args: any[]): any;
|
|
231
|
+
};
|
|
232
|
+
editForm: () => {
|
|
233
|
+
components: ExtendedComponentSchema<any>[];
|
|
234
|
+
};
|
|
235
|
+
schema(): ExtendedComponentSchema<any>;
|
|
236
|
+
readonly builderInfo: BuilderInfo;
|
|
237
|
+
tableView(value: any, options: any): void;
|
|
238
|
+
};
|
|
239
|
+
//# sourceMappingURL=create-custom-component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-custom-component.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/src/custom-component/create-custom-component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAc,uBAAuB,EAAwB,MAAM,UAAU,CAAC;AAClG,OAAO,EAAE,yBAAyB,EAAE,mBAAmB,EAAe,MAAM,oBAAoB,CAAC;AAMjG,wBAAgB,2BAA2B,CAAC,sBAAsB,EAAE,yBAAyB;oBAiC3D,uBAAuB,WAAW,GAAG,QAAQ,GAAG;;;+BA5BvD,mBAAmB;;;mBA4BZ,uBAAuB;;;;;;;;;;6BAgChC,GAAG,SAAS,MAAM;wBASvB,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0F9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-tags.service.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/src/custom-component/custom-tags.service.ts"],"names":[],"mappings":"AAEA,qBACa,iBAAiB;IAC5B,IAAI,EAAE,MAAM,EAAE,CAAM;IAEpB,YAAY,CAAC,GAAG,EAAE,MAAM;CAGzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-tags.service.ngfactory.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/src/custom-component/custom-tags.service.ngfactory.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Injector, Type } from '@angular/core';
|
|
2
|
+
import { FormioCustomComponentInfo } from '../elements.common';
|
|
3
|
+
export declare function registerCustomTag(tag: string, injector: Injector): void;
|
|
4
|
+
export declare function registerCustomTags(tags: string[], injector: Injector): void;
|
|
5
|
+
export declare function registerCustomFormioComponent(options: FormioCustomComponentInfo, angularComponent: Type<any>, injector: Injector): void;
|
|
6
|
+
export declare function registerCustomFormioComponentWithClass(options: FormioCustomComponentInfo, angularComponent: Type<any>, formioClass: any, injector: Injector): void;
|
|
7
|
+
//# sourceMappingURL=register-custom-component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register-custom-component.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/src/custom-component/register-custom-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAG/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAI/D,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAEvE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAE3E;AAED,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,yBAAyB,EAClC,gBAAgB,EAAE,IAAI,CAAC,GAAG,CAAC,EAC3B,QAAQ,EAAE,QAAQ,GACjB,IAAI,CAON;AAED,wBAAgB,sCAAsC,CACpD,OAAO,EAAE,yBAAyB,EAClC,gBAAgB,EAAE,IAAI,CAAC,GAAG,CAAC,EAC3B,WAAW,EAAE,GAAG,EAChB,QAAQ,EAAE,QAAQ,GACjB,IAAI,CAON"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ExtendedComponentSchema, BuilderInfo, ValidateOptions } from 'formiojs';
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import { NgElement, WithProperties } from '@angular/elements';
|
|
4
|
+
export interface FormioCustomComponentInfo extends BuilderInfo {
|
|
5
|
+
type: string;
|
|
6
|
+
selector: string;
|
|
7
|
+
emptyValue?: any;
|
|
8
|
+
extraValidators?: (keyof ValidateOptions)[];
|
|
9
|
+
fieldOptions?: string[];
|
|
10
|
+
template?: string;
|
|
11
|
+
changeEvent?: string;
|
|
12
|
+
editForm?: () => {
|
|
13
|
+
components: ExtendedComponentSchema[];
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export declare type FormioCustomElement = NgElement & WithProperties<{
|
|
17
|
+
value: any;
|
|
18
|
+
} & ExtendedComponentSchema>;
|
|
19
|
+
export interface FormioEvent {
|
|
20
|
+
eventName: string;
|
|
21
|
+
data?: {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export interface FormioCustomComponent<T> {
|
|
26
|
+
value: T;
|
|
27
|
+
valueChange: EventEmitter<T>;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
formioEvent?: EventEmitter<FormioEvent>;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=elements.common.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elements.common.d.ts","sourceRoot":"","sources":["../../projects/angular-formio/src/elements.common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAG9D,MAAM,WAAW,yBAA0B,SAAQ,WAAW;IAC5D,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,eAAe,CAAC,EAAE,CAAC,MAAM,eAAe,CAAC,EAAE,CAAC;IAC5C,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM;QAAE,UAAU,EAAE,uBAAuB,EAAE,CAAA;KAAE,CAAC;CAC5D;AAED,oBAAY,mBAAmB,GAAG,SAAS,GAAG,cAAc,CAAC;IAAE,KAAK,EAAE,GAAG,CAAA;CAAE,GAAG,uBAAuB,CAAC,CAAC;AAEvG,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE;QACL,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;CACH;AAED,MAAM,WAAW,qBAAqB,CAAC,CAAC;IACtC,KAAK,EAAE,CAAC,CAAC;IACT,WAAW,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;IAC7B,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;CACzC"}
|