UNPKG

@rxap/forms

Version:

This package provides a set of tools and directives to simplify working with Angular forms, including reactive forms, custom validators, and form directives for handling loading, submitting, and error states. It offers decorators for defining forms and co

1,834 lines 2.33 MB
{ "id": 0, "name": "@rxap/forms", "variant": "project", "kind": 1, "flags": {}, "children": [ { "id": 929, "name": "MetadataKeys", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { "id": 931, "name": "CONTROL_ASYNC_VALIDATORS", "variant": "declaration", "kind": 16, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/decorators/metadata-keys.ts", "line": 3, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/decorators/metadata-keys.ts#L3" } ], "type": { "type": "literal", "value": "rxap/forms/control-async-validators" } }, { "id": 932, "name": "CONTROL_CHANGES", "variant": "declaration", "kind": 16, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/decorators/metadata-keys.ts", "line": 4, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/decorators/metadata-keys.ts#L4" } ], "type": { "type": "literal", "value": "rxap/forms/control-changes" } }, { "id": 933, "name": "CONTROL_SET_VALUE", "variant": "declaration", "kind": 16, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/decorators/metadata-keys.ts", "line": 5, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/decorators/metadata-keys.ts#L5" } ], "type": { "type": "literal", "value": "rxap/forms/control-set-value" } }, { "id": 930, "name": "CONTROL_VALIDATORS", "variant": "declaration", "kind": 16, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/decorators/metadata-keys.ts", "line": 2, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/decorators/metadata-keys.ts#L2" } ], "type": { "type": "literal", "value": "rxap/forms/control-validators" } }, { "id": 935, "name": "FORM_ARRAY_CONTROLS", "variant": "declaration", "kind": 16, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/decorators/metadata-keys.ts", "line": 7, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/decorators/metadata-keys.ts#L7" } ], "type": { "type": "literal", "value": "rxap/forms/form-array-controls" } }, { "id": 934, "name": "FORM_ARRAY_GROUPS", "variant": "declaration", "kind": 16, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/decorators/metadata-keys.ts", "line": 6, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/decorators/metadata-keys.ts#L6" } ], "type": { "type": "literal", "value": "rxap/forms/form-array-groups" } }, { "id": 937, "name": "FORM_CONTROLS", "variant": "declaration", "kind": 16, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/decorators/metadata-keys.ts", "line": 9, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/decorators/metadata-keys.ts#L9" } ], "type": { "type": "literal", "value": "rxap/forms/form-controls" } }, { "id": 936, "name": "FORM_GROUPS", "variant": "declaration", "kind": 16, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/decorators/metadata-keys.ts", "line": 8, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/decorators/metadata-keys.ts#L8" } ], "type": { "type": "literal", "value": "rxap/forms/form-groups" } } ], "groups": [ { "title": "Enumeration Members", "children": [ 931, 932, 933, 930, 935, 934, 937, 936 ] } ], "sources": [ { "fileName": "packages/angular/forms/src/lib/decorators/metadata-keys.ts", "line": 1, "character": 12, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/decorators/metadata-keys.ts#L1" } ] }, { "id": 1060, "name": "ControlValueAccessor", "variant": "declaration", "kind": 128, "flags": { "isAbstract": true }, "children": [ { "id": 1061, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { "id": 1062, "name": "ControlValueAccessor", "variant": "signature", "kind": 16384, "flags": {}, "typeParameters": [ { "id": 1063, "name": "T", "variant": "typeParam", "kind": 131072, "flags": {}, "default": { "type": "intrinsic", "name": "any" } } ], "type": { "type": "reference", "target": 1060, "typeArguments": [ { "type": "reference", "target": 1063, "name": "T", "package": "@rxap/forms", "qualifiedName": "ControlValueAccessor.T", "refersToTypeParameter": true } ], "name": "ControlValueAccessor", "package": "@rxap/forms" } } ] }, { "id": 1067, "name": "onChange", "variant": "declaration", "kind": 2048, "flags": { "isOptional": true }, "sources": [ { "fileName": "packages/angular/forms/src/lib/control-value-accessor.ts", "line": 7, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/control-value-accessor.ts#L7" } ], "signatures": [ { "id": 1068, "name": "onChange", "variant": "signature", "kind": 4096, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/control-value-accessor.ts", "line": 7, "character": 14, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/control-value-accessor.ts#L7" } ], "parameters": [ { "id": 1069, "name": "value", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "union", "types": [ { "type": "literal", "value": null }, { "type": "reference", "target": 1063, "name": "T", "package": "@rxap/forms", "qualifiedName": "ControlValueAccessor.T", "refersToTypeParameter": true } ] } } ], "type": { "type": "intrinsic", "name": "void" } } ] }, { "id": 1070, "name": "onTouched", "variant": "declaration", "kind": 2048, "flags": { "isOptional": true }, "sources": [ { "fileName": "packages/angular/forms/src/lib/control-value-accessor.ts", "line": 11, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/control-value-accessor.ts#L11" } ], "signatures": [ { "id": 1071, "name": "onTouched", "variant": "signature", "kind": 4096, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/control-value-accessor.ts", "line": 11, "character": 15, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/control-value-accessor.ts#L11" } ], "type": { "type": "intrinsic", "name": "void" } } ] }, { "id": 1072, "name": "registerOnChange", "variant": "declaration", "kind": 2048, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/control-value-accessor.ts", "line": 14, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/control-value-accessor.ts#L14" } ], "signatures": [ { "id": 1073, "name": "registerOnChange", "variant": "signature", "kind": 4096, "flags": {}, "comment": { "summary": [], "blockTags": [ { "tag": "@description", "content": [ { "kind": "text", "text": "Registers a callback function that is called when the control's value\nchanges in the UI.\n\nThis method is called by the forms API on initialization to update the form\nmodel when values propagate from the view to the model.\n\nWhen implementing the " }, { "kind": "code", "text": "`registerOnChange`" }, { "kind": "text", "text": " method in your own value accessor,\nsave the given function so your class calls it at the appropriate time." } ] }, { "tag": "@usageNotes", "content": [ { "kind": "text", "text": "### Store the change function\n\nThe following example stores the provided function as an internal method.\n\n" }, { "kind": "code", "text": "```ts\nregisterOnChange(fn: (_: any) => void): void {\n this._onChange = fn;\n}\n```" }, { "kind": "text", "text": "\n\nWhen the value changes in the UI, call the registered\nfunction to allow the forms API to update itself:\n\n" }, { "kind": "code", "text": "```ts\nhost: {\n '(change)': '_onChange($event.target.value)'\n}\n```" } ] } ] }, "sources": [ { "fileName": "packages/angular/forms/src/lib/control-value-accessor.ts", "line": 14, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/control-value-accessor.ts#L14" } ], "parameters": [ { "id": 1074, "name": "fn", "variant": "param", "kind": 32768, "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "The callback function to register" } ] }, "type": { "type": "reflection", "declaration": { "id": 1075, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/control-value-accessor.ts", "line": 14, "character": 23, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/control-value-accessor.ts#L14" } ], "signatures": [ { "id": 1076, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/control-value-accessor.ts", "line": 14, "character": 23, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/control-value-accessor.ts#L14" } ], "parameters": [ { "id": 1077, "name": "value", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "union", "types": [ { "type": "literal", "value": null }, { "type": "reference", "target": 1063, "name": "T", "package": "@rxap/forms", "qualifiedName": "ControlValueAccessor.T", "refersToTypeParameter": true } ] } } ], "type": { "type": "intrinsic", "name": "void" } } ] } } } ], "type": { "type": "intrinsic", "name": "void" }, "implementationOf": { "type": "reference", "target": -1, "name": "NgControlValueAccessor.registerOnChange" } } ], "implementationOf": { "type": "reference", "target": -1, "name": "NgControlValueAccessor.registerOnChange" } }, { "id": 1078, "name": "registerOnTouched", "variant": "declaration", "kind": 2048, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/control-value-accessor.ts", "line": 18, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/control-value-accessor.ts#L18" } ], "signatures": [ { "id": 1079, "name": "registerOnTouched", "variant": "signature", "kind": 4096, "flags": {}, "comment": { "summary": [], "blockTags": [ { "tag": "@description", "content": [ { "kind": "text", "text": "Registers a callback function that is called by the forms API on initialization\nto update the form model on blur.\n\nWhen implementing " }, { "kind": "code", "text": "`registerOnTouched`" }, { "kind": "text", "text": " in your own value accessor, save the given\nfunction so your class calls it when the control should be considered\nblurred or \"touched\"." } ] }, { "tag": "@usageNotes", "content": [ { "kind": "text", "text": "### Store the callback function\n\nThe following example stores the provided function as an internal method.\n\n" }, { "kind": "code", "text": "```ts\nregisterOnTouched(fn: any): void {\n this._onTouched = fn;\n}\n```" }, { "kind": "text", "text": "\n\nOn blur (or equivalent), your class should call the registered function to allow\nthe forms API to update itself:\n\n" }, { "kind": "code", "text": "```ts\nhost: {\n '(blur)': '_onTouched()'\n}\n```" } ] } ] }, "sources": [ { "fileName": "packages/angular/forms/src/lib/control-value-accessor.ts", "line": 18, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/control-value-accessor.ts#L18" } ], "parameters": [ { "id": 1080, "name": "fn", "variant": "param", "kind": 32768, "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "The callback function to register" } ] }, "type": { "type": "reflection", "declaration": { "id": 1081, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/control-value-accessor.ts", "line": 18, "character": 24, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/control-value-accessor.ts#L18" } ], "signatures": [ { "id": 1082, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/control-value-accessor.ts", "line": 18, "character": 24, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/control-value-accessor.ts#L18" } ], "type": { "type": "intrinsic", "name": "void" } } ] } } } ], "type": { "type": "intrinsic", "name": "void" }, "implementationOf": { "type": "reference", "target": -1, "name": "NgControlValueAccessor.registerOnTouched" } } ], "implementationOf": { "type": "reference", "target": -1, "name": "NgControlValueAccessor.registerOnTouched" } }, { "id": 1083, "name": "setDisabledState", "variant": "declaration", "kind": 2048, "flags": { "isOptional": true }, "sources": [ { "fileName": "packages/angular/forms/src/lib/control-value-accessor.ts", "line": 23, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/control-value-accessor.ts#L23" } ], "signatures": [ { "id": 1084, "name": "setDisabledState", "variant": "signature", "kind": 4096, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/control-value-accessor.ts", "line": 23, "character": 22, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/control-value-accessor.ts#L23" } ], "parameters": [ { "id": 1085, "name": "isDisabled", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "intrinsic", "name": "boolean" } } ], "type": { "type": "intrinsic", "name": "void" }, "implementationOf": { "type": "reference", "target": -1, "name": "NgControlValueAccessor.setDisabledState" } } ], "implementationOf": { "type": "reference", "target": -1, "name": "NgControlValueAccessor.setDisabledState" } }, { "id": 1064, "name": "writeValue", "variant": "declaration", "kind": 2048, "flags": { "isAbstract": true }, "sources": [ { "fileName": "packages/angular/forms/src/lib/control-value-accessor.ts", "line": 4, "character": 11, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/control-value-accessor.ts#L4" } ], "signatures": [ { "id": 1065, "name": "writeValue", "variant": "signature", "kind": 4096, "flags": {}, "comment": { "summary": [], "blockTags": [ { "tag": "@description", "content": [ { "kind": "text", "text": "Writes a new value to the element.\n\nThis method is called by the forms API to write to the view when programmatic\nchanges from model to view are requested." } ] }, { "tag": "@usageNotes", "content": [ { "kind": "text", "text": "### Write a value to the element\n\nThe following example writes a value to the native DOM element.\n\n" }, { "kind": "code", "text": "```ts\nwriteValue(value: any): void {\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\n}\n```" } ] } ] }, "sources": [ { "fileName": "packages/angular/forms/src/lib/control-value-accessor.ts", "line": 4, "character": 11, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/control-value-accessor.ts#L4" } ], "parameters": [ { "id": 1066, "name": "value", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", "target": 1063, "name": "T", "package": "@rxap/forms", "qualifiedName": "ControlValueAccessor.T", "refersToTypeParameter": true } } ], "type": { "type": "intrinsic", "name": "void" }, "implementationOf": { "type": "reference", "target": -1, "name": "NgControlValueAccessor.writeValue" } } ], "implementationOf": { "type": "reference", "target": -1, "name": "NgControlValueAccessor.writeValue" } } ], "groups": [ { "title": "Constructors", "children": [ 1061 ] }, { "title": "Methods", "children": [ 1067, 1070, 1072, 1078, 1083, 1064 ] } ], "sources": [ { "fileName": "packages/angular/forms/src/lib/control-value-accessor.ts", "line": 3, "character": 22, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/control-value-accessor.ts#L3" } ], "typeParameters": [ { "id": 1086, "name": "T", "variant": "typeParam", "kind": 131072, "flags": {}, "default": { "type": "intrinsic", "name": "any" } } ], "implementedTypes": [ { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/forms/index.d.ts", "qualifiedName": "ControlValueAccessor" }, "name": "ControlValueAccessor", "package": "@angular/forms" } ] }, { "id": 1355, "name": "FormArrayControlManager", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { "id": 1356, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/form-builder.ts", "line": 38, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/form-builder.ts#L38" } ], "signatures": [ { "id": 1357, "name": "FormArrayControlManager", "variant": "signature", "kind": 16384, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/form-builder.ts", "line": 38, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/form-builder.ts#L38" } ], "typeParameters": [ { "id": 1358, "name": "T", "variant": "typeParam", "kind": 131072, "flags": {}, "type": { "type": "reference", "target": 2124, "typeArguments": [ { "type": "intrinsic", "name": "any" }, { "type": "intrinsic", "name": "any" }, { "type": "intrinsic", "name": "any" } ], "name": "FormDefinition", "package": "@rxap/forms" } } ], "parameters": [ { "id": 1359, "name": "form", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", "target": 1358, "name": "T", "package": "@rxap/forms", "qualifiedName": "FormArrayControlManager.T", "refersToTypeParameter": true } }, { "id": 1360, "name": "controlId", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "typeOperator", "operator": "keyof", "target": { "type": "reference", "target": 1358, "name": "T", "package": "@rxap/forms", "qualifiedName": "FormArrayControlManager.T", "refersToTypeParameter": true } } } ], "type": { "type": "reference", "target": 1355, "typeArguments": [ { "type": "reference", "target": 1358, "name": "T", "package": "@rxap/forms", "qualifiedName": "FormArrayControlManager.T", "refersToTypeParameter": true } ], "name": "FormArrayControlManager", "package": "@rxap/forms" } } ] }, { "id": 1363, "name": "inserted", "variant": "declaration", "kind": 2048, "flags": { "isPublic": true }, "sources": [ { "fileName": "packages/angular/forms/src/lib/form-builder.ts", "line": 41, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/form-builder.ts#L41" } ], "signatures": [ { "id": 1364, "name": "inserted", "variant": "signature", "kind": 4096, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/form-builder.ts", "line": 41, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/form-builder.ts#L41" } ], "parameters": [ { "id": 1365, "name": "index", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "intrinsic", "name": "number" } }, { "id": 1366, "name": "controlOrDefinition", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "union", "types": [ { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/forms/index.d.ts", "qualifiedName": "AbstractControl" }, "typeArguments": [ { "type": "intrinsic", "name": "any" }, { "type": "intrinsic", "name": "any" } ], "name": "AbstractControl", "package": "@angular/forms" }, { "type": "reference", "target": 2124, "typeArguments": [ { "type": "intrinsic", "name": "any" }, { "type": "intrinsic", "name": "any" }, { "type": "intrinsic", "name": "any" } ], "name": "FormDefinition", "package": "@rxap/forms" } ] } } ], "type": { "type": "intrinsic", "name": "void" } } ] }, { "id": 1367, "name": "removed", "variant": "declaration", "kind": 2048, "flags": { "isPublic": true }, "sources": [ { "fileName": "packages/angular/forms/src/lib/form-builder.ts", "line": 55, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/form-builder.ts#L55" } ], "signatures": [ { "id": 1368, "name": "removed", "variant": "signature", "kind": 4096, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/form-builder.ts", "line": 55, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/form-builder.ts#L55" } ], "parameters": [ { "id": 1369, "name": "index", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "intrinsic", "name": "number" } } ], "type": { "type": "intrinsic", "name": "void" } } ] } ], "groups": [ { "title": "Constructors", "children": [ 1356 ] }, { "title": "Methods", "children": [ 1363, 1367 ] } ], "sources": [ { "fileName": "packages/angular/forms/src/lib/form-builder.ts", "line": 37, "character": 13, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/form-builder.ts#L37" } ], "typeParameters": [ { "id": 1370, "name": "T", "variant": "typeParam", "kind": 131072, "flags": {}, "type": { "type": "reference", "target": 2124, "name": "FormDefinition", "package": "@rxap/forms" } } ] }, { "id": 301, "name": "FormControlErrorDirective", "variant": "declaration", "kind": 128, "flags": {}, "comment": { "summary": [], "blockTags": [ { "tag": "@deprecated", "content": [ { "kind": "text", "text": "removed use the rxapControlError or rxapControlErrors directive" } ] } ] }, "children": [ { "id": 302, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-error.directive.ts", "line": 45, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-error.directive.ts#L45" } ], "signatures": [ { "id": 303, "name": "FormControlErrorDirective", "variant": "signature", "kind": 16384, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-error.directive.ts", "line": 45, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-error.directive.ts#L45" } ], "parameters": [ { "id": 304, "name": "template", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/core/index.d.ts", "qualifiedName": "TemplateRef" }, "typeArguments": [ { "type": "reflection", "declaration": { "id": 305, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { "id": 306, "name": "$implicit", "variant": "declaration", "kind": 1024, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-error.directive.ts", "line": 46, "character": 45, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-error.directive.ts#L46" } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/forms/index.d.ts", "qualifiedName": "ValidationErrors" }, "name": "ValidationErrors", "package": "@angular/forms" } } ], "groups": [ { "title": "Properties", "children": [ 306 ] } ], "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-error.directive.ts", "line": 46, "character": 43, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-error.directive.ts#L46" } ] } } ], "name": "TemplateRef", "package": "@angular/core" } }, { "id": 307, "name": "parent", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/forms/index.d.ts", "qualifiedName": "ControlContainer" }, "name": "ControlContainer", "package": "@angular/forms" } }, { "id": 308, "name": "viewContainerRef", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/core/index.d.ts", "qualifiedName": "ViewContainerRef" }, "name": "ViewContainerRef", "package": "@angular/core" } } ], "type": { "type": "reference", "target": 301, "name": "FormControlErrorDirective", "package": "@rxap/forms" } } ] }, { "id": 310, "name": "errorKey", "variant": "declaration", "kind": 1024, "flags": { "isPublic": true }, "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-error.directive.ts", "line": 41, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-error.directive.ts#L41" } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 309, "name": "name", "variant": "declaration", "kind": 1024, "flags": { "isPublic": true }, "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-error.directive.ts", "line": 34, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-error.directive.ts#L34" } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 319, "name": "ngOnDestroy", "variant": "declaration", "kind": 2048, "flags": { "isPublic": true }, "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-error.directive.ts", "line": 72, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-error.directive.ts#L72" } ], "signatures": [ { "id": 320, "name": "ngOnDestroy", "variant": "signature", "kind": 4096, "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "A callback method that performs custom clean-up, invoked immediately\nbefore a directive, pipe, or service instance is destroyed." } ] }, "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-error.directive.ts", "line": 72, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-error.directive.ts#L72" } ], "type": { "type": "intrinsic", "name": "void" }, "implementationOf": { "type": "reference", "target": -1, "name": "OnDestroy.ngOnDestroy" } } ], "implementationOf": { "type": "reference", "target": -1, "name": "OnDestroy.ngOnDestroy" } }, { "id": 317, "name": "ngOnInit", "variant": "declaration", "kind": 2048, "flags": { "isPublic": true }, "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-error.directive.ts", "line": 52, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-error.directive.ts#L52" } ], "signatures": [ { "id": 318, "name": "ngOnInit", "variant": "signature", "kind": 4096, "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "A callback method that is invoked immediately after the\ndefault change detector has checked the directive's\ndata-bound properties for the first time,\nand before any of the view or content children have been checked.\nIt is invoked only once when the directive is instantiated." } ] }, "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-error.directive.ts", "line": 52, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-error.directive.ts#L52" } ], "type": { "type": "intrinsic", "name": "void" }, "implementationOf": { "type": "reference", "target": -1, "name": "OnInit.ngOnInit" } } ], "implementationOf": { "type": "reference", "target": -1, "name": "OnInit.ngOnInit" } } ], "groups": [ { "title": "Constructors", "children": [ 302 ] }, { "title": "Properties", "children": [ 310, 309 ] }, { "title": "Methods", "children": [ 319, 317 ] } ], "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-error.directive.ts", "line": 27, "character": 13, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-error.directive.ts#L27" } ], "implementedTypes": [ { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/core/index.d.ts", "qualifiedName": "OnInit" }, "name": "OnInit", "package": "@angular/core" }, { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/core/index.d.ts", "qualifiedName": "OnDestroy" }, "name": "OnDestroy", "package": "@angular/core" } ] }, { "id": 321, "name": "FormControlMarkDirtyDirective", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { "id": 322, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-mark-dirty.directive.ts", "line": 14, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-mark-dirty.directive.ts#L14" } ], "signatures": [ { "id": 323, "name": "FormControlMarkDirtyDirective", "variant": "signature", "kind": 16384, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-mark-dirty.directive.ts", "line": 14, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-mark-dirty.directive.ts#L14" } ], "parameters": [ { "id": 324, "name": "parent", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/forms/index.d.ts", "qualifiedName": "ControlContainer" }, "name": "ControlContainer", "package": "@angular/forms" } } ], "type": { "type": "reference", "target": 321, "name": "FormControlMarkDirtyDirective", "package": "@rxap/forms" } } ] }, { "id": 326, "name": "onClick", "variant": "declaration", "kind": 2048, "flags": { "isPublic": true }, "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-mark-dirty.directive.ts", "line": 18, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-mark-dirty.directive.ts#L18" } ], "signatures": [ { "id": 327, "name": "onClick", "variant": "signature", "kind": 4096, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-mark-dirty.directive.ts", "line": 18, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-mark-dirty.directive.ts#L18" } ], "type": { "type": "intrinsic", "name": "void" } } ] } ], "groups": [ { "title": "Constructors", "children": [ 322 ] }, { "title": "Methods", "children": [ 326 ] } ], "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-mark-dirty.directive.ts", "line": 12, "character": 13, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-mark-dirty.directive.ts#L12" } ] }, { "id": 328, "name": "FormControlMarkPristineDirective", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { "id": 329, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-mark-pristine.directive.ts", "line": 14, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-mark-pristine.directive.ts#L14" } ], "signatures": [ { "id": 330, "name": "FormControlMarkPristineDirective", "variant": "signature", "kind": 16384, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-mark-pristine.directive.ts", "line": 14, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-mark-pristine.directive.ts#L14" } ], "parameters": [ { "id": 331, "name": "parent", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/forms/index.d.ts", "qualifiedName": "ControlContainer" }, "name": "ControlContainer", "package": "@angular/forms" } } ], "type": { "type": "reference", "target": 328, "name": "FormControlMarkPristineDirective", "package": "@rxap/forms" } } ] }, { "id": 333, "name": "onClick", "variant": "declaration", "kind": 2048, "flags": { "isPublic": true }, "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-mark-pristine.directive.ts", "line": 18, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-mark-pristine.directive.ts#L18" } ], "signatures": [ { "id": 334, "name": "onClick", "variant": "signature", "kind": 4096, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-mark-pristine.directive.ts", "line": 18, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-mark-pristine.directive.ts#L18" } ], "type": { "type": "intrinsic", "name": "void" } } ] } ], "groups": [ { "title": "Constructors", "children": [ 329 ] }, { "title": "Methods", "children": [ 333 ] } ], "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-mark-pristine.directive.ts", "line": 12, "character": 13, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-mark-pristine.directive.ts#L12" } ] }, { "id": 335, "name": "FormControlMarkTouchedDirective", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { "id": 336, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-mark-touched.directive.ts", "line": 13, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/forms/src/lib/directives/form-control-mark-touched.directive.ts#L13" } ], "signatures": [ { "id": 337, "name": "FormControlMarkTouchedDirective", "variant": "signature", "kind": 16384, "flags": {}, "sources": [ { "fileName": "packages/angular/forms/src/lib/directives/form-control-mark-touched.directive.ts", "line": 13, "character"