@rxap/form-system 17.0.1 → 18.0.1
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/CHANGELOG.md +16 -0
- package/README.md +1 -1
- package/esm2022/lib/control-data-source.mjs +3 -3
- package/esm2022/lib/directives/array/for-form-array-items.directive.mjs +3 -3
- package/esm2022/lib/directives/array/form-array-add-item-button.directive.mjs +3 -3
- package/esm2022/lib/directives/array/form-array-item-button.mjs +3 -3
- package/esm2022/lib/directives/array/form-array-item-remove-button.directive.mjs +3 -3
- package/esm2022/lib/directives/array/form-array-item-restore-button.directive.mjs +3 -3
- package/esm2022/lib/directives/array/form-array-removable.directive.mjs +3 -3
- package/esm2022/lib/directives/control-hide-show.directive.mjs +3 -3
- package/esm2022/lib/directives/form-directives.module.mjs +4 -4
- package/esm2022/lib/directives/input-select-options.directive.mjs +3 -3
- package/esm2022/lib/directives/options-from-method.directive.mjs +3 -3
- package/esm2022/lib/directives/options-from-remote-method.directive.mjs +3 -3
- package/esm2022/lib/form-system-control.directive.mjs +3 -3
- package/esm2022/lib/submit-context-form-adapter.factory.mjs +3 -3
- package/esm2022/lib/validators/is-equal-to.mjs +3 -3
- package/esm2022/lib/validators/is-selectable-value.directive.mjs +3 -3
- package/fesm2022/rxap-form-system.mjs +49 -49
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [18.0.1](https://gitlab.com/rxap/packages/compare/@rxap/form-system@18.0.1-dev.0...@rxap/form-system@18.0.1) (2024-05-30)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @rxap/form-system
|
|
9
|
+
|
|
10
|
+
## [18.0.1-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/form-system@17.0.1...@rxap/form-system@18.0.1-dev.0) (2024-05-30)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @rxap/form-system
|
|
13
|
+
|
|
14
|
+
## [17.0.1](https://gitlab.com/rxap/packages/compare/@rxap/form-system@17.0.1...@rxap/form-system@17.0.1) (2024-05-29)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @rxap/form-system
|
|
17
|
+
|
|
18
|
+
## [17.0.1-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/form-system@17.0.1...@rxap/form-system@17.0.1-dev.0) (2024-05-29)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @rxap/form-system
|
|
21
|
+
|
|
6
22
|
## [17.0.1](https://gitlab.com/rxap/packages/compare/@rxap/form-system@17.0.1-dev.0...@rxap/form-system@17.0.1) (2024-05-29)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @rxap/form-system
|
package/README.md
CHANGED
|
@@ -17,5 +17,5 @@ yarn add @rxap/form-system
|
|
|
17
17
|
```
|
|
18
18
|
**Install peer dependencies:**
|
|
19
19
|
```bash
|
|
20
|
-
yarn add @angular/core@^
|
|
20
|
+
yarn add @angular/core@^18.0.1 @angular/forms@^18.0.1 @angular/material@^18.0.0 @angular/router@^18.0.1 @rxap/data-source@^18.0.1 @rxap/definition@^18.0.1 @rxap/forms@^18.0.1 @rxap/mixin@^16.0.4 @rxap/open-api@^18.0.1 @rxap/pattern@^1.1.3 @rxap/reflect-metadata@^1.0.5 @rxap/remote-method@^18.0.1 @rxap/utilities@^16.2.2 rxjs@^7.8.1
|
|
21
21
|
```
|
|
@@ -19,10 +19,10 @@ export class ControlDataSource extends BaseDataSource {
|
|
|
19
19
|
}
|
|
20
20
|
this._data$ = this.control.valueChanges.pipe(startWith(this.control.value), distinctUntilChanged((a, b) => equals(a, b)), shareReplay(1));
|
|
21
21
|
}
|
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
23
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ControlDataSource, deps: [{ token: RXAP_FORM_CONTROL_SOURCE }, { token: RXAP_DATA_SOURCE_METADATA, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
23
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ControlDataSource }); }
|
|
24
24
|
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ControlDataSource, decorators: [{
|
|
26
26
|
type: Injectable
|
|
27
27
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
28
28
|
type: Inject,
|
|
@@ -49,10 +49,10 @@ export class ForFormArrayItemsDirective {
|
|
|
49
49
|
}
|
|
50
50
|
this.cdr.detectChanges();
|
|
51
51
|
}
|
|
52
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
53
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
52
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ForFormArrayItemsDirective, deps: [{ token: i1.ControlContainer, skipSelf: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
53
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: ForFormArrayItemsDirective, isStandalone: true, selector: "[rxapForFormArrayItem]", ngImport: i0 }); }
|
|
54
54
|
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ForFormArrayItemsDirective, decorators: [{
|
|
56
56
|
type: Directive,
|
|
57
57
|
args: [{
|
|
58
58
|
selector: '[rxapForFormArrayItem]',
|
|
@@ -33,10 +33,10 @@ export class FormArrayAddItemButtonDirective {
|
|
|
33
33
|
onClick() {
|
|
34
34
|
this.formArray.insertAt();
|
|
35
35
|
}
|
|
36
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
37
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
36
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormArrayAddItemButtonDirective, deps: [{ token: i1.ControlContainer, optional: true, skipSelf: true }, { token: i2.MatButton, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
37
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: FormArrayAddItemButtonDirective, isStandalone: true, selector: "[rxapFormArrayItemAddButton]", host: { listeners: { "click": "onClick()" }, properties: { "type": "this.type", "disabled": "this.disabled" } }, ngImport: i0 }); }
|
|
38
38
|
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormArrayAddItemButtonDirective, decorators: [{
|
|
40
40
|
type: Directive,
|
|
41
41
|
args: [{
|
|
42
42
|
selector: '[rxapFormArrayItemAddButton]',
|
|
@@ -53,10 +53,10 @@ export class FormArrayItemButton {
|
|
|
53
53
|
this._controlDisabledSubscription?.unsubscribe();
|
|
54
54
|
this._deletedControlValueSubscription?.unsubscribe();
|
|
55
55
|
}
|
|
56
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
57
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
56
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormArrayItemButton, deps: [{ token: i1.ControlContainer, skipSelf: true }, { token: i2.MatButton, optional: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
57
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: FormArrayItemButton, host: { properties: { "type": "this.type", "disabled": "this.disabled" } }, ngImport: i0 }); }
|
|
58
58
|
}
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormArrayItemButton, decorators: [{
|
|
60
60
|
type: Directive
|
|
61
61
|
}], ctorParameters: () => [{ type: i1.ControlContainer, decorators: [{
|
|
62
62
|
type: SkipSelf
|
|
@@ -14,10 +14,10 @@ export class FormArrayItemRemoveButtonDirective extends FormArrayItemButton {
|
|
|
14
14
|
this.renderer.removeStyle(this.elementRef.nativeElement, 'display');
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
18
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormArrayItemRemoveButtonDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
18
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: FormArrayItemRemoveButtonDirective, isStandalone: true, selector: "button[rxapFormArrayItemRemoveButton]", host: { listeners: { "click": "onClick()" } }, usesInheritance: true, ngImport: i0 }); }
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormArrayItemRemoveButtonDirective, decorators: [{
|
|
21
21
|
type: Directive,
|
|
22
22
|
args: [{
|
|
23
23
|
selector: 'button[rxapFormArrayItemRemoveButton]',
|
|
@@ -14,10 +14,10 @@ export class FormArrayItemRestoreButtonDirective extends FormArrayItemButton {
|
|
|
14
14
|
this.renderer.setStyle(this.elementRef.nativeElement, 'display', 'none');
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
18
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormArrayItemRestoreButtonDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
18
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: FormArrayItemRestoreButtonDirective, isStandalone: true, selector: "button[rxapFormArrayItemRestoreButton]", host: { listeners: { "click": "onClick()" } }, usesInheritance: true, ngImport: i0 }); }
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormArrayItemRestoreButtonDirective, decorators: [{
|
|
21
21
|
type: Directive,
|
|
22
22
|
args: [{
|
|
23
23
|
selector: 'button[rxapFormArrayItemRestoreButton]',
|
|
@@ -47,10 +47,10 @@ export class FormArrayRemovableDirective {
|
|
|
47
47
|
ngOnDestroy() {
|
|
48
48
|
this._deletedControlValueSubscription?.unsubscribe();
|
|
49
49
|
}
|
|
50
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
51
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
50
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormArrayRemovableDirective, deps: [{ token: i1.ControlContainer, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
51
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: FormArrayRemovableDirective, isStandalone: true, selector: "[rxapFormArrayRemovable]", ngImport: i0 }); }
|
|
52
52
|
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormArrayRemovableDirective, decorators: [{
|
|
54
54
|
type: Directive,
|
|
55
55
|
args: [{
|
|
56
56
|
selector: '[rxapFormArrayRemovable]',
|
|
@@ -132,8 +132,8 @@ let ControlHideShowDirective = class ControlHideShowDirective {
|
|
|
132
132
|
reset() {
|
|
133
133
|
this.renderer.removeStyle(this.elementRef.nativeElement, 'display');
|
|
134
134
|
}
|
|
135
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
136
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
135
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ControlHideShowDirective, deps: [{ token: Renderer2 }, { token: ElementRef }, { token: ControlContainer, optional: true }, { token: NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
136
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: ControlHideShowDirective, isStandalone: true, selector: "[rxapControlHideShow]", inputs: { controlId: ["rxapControlHideShow", "controlId"] }, ngImport: i0 }); }
|
|
137
137
|
};
|
|
138
138
|
ControlHideShowDirective = __decorate([
|
|
139
139
|
Mixin(ExtractControlFromParentMixin, ExtractFormDefinitionMixin),
|
|
@@ -141,7 +141,7 @@ ControlHideShowDirective = __decorate([
|
|
|
141
141
|
ElementRef, Object, Object])
|
|
142
142
|
], ControlHideShowDirective);
|
|
143
143
|
export { ControlHideShowDirective };
|
|
144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ControlHideShowDirective, decorators: [{
|
|
145
145
|
type: Directive,
|
|
146
146
|
args: [{
|
|
147
147
|
selector: '[rxapControlHideShow]',
|
|
@@ -3,13 +3,13 @@ import { InputSelectOptionsDirective } from './input-select-options.directive';
|
|
|
3
3
|
import { ControlHideShowDirective } from './control-hide-show.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export class FormSystemDirectivesModule {
|
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormSystemDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.1", ngImport: i0, type: FormSystemDirectivesModule, imports: [InputSelectOptionsDirective,
|
|
8
8
|
ControlHideShowDirective], exports: [InputSelectOptionsDirective,
|
|
9
9
|
ControlHideShowDirective] }); }
|
|
10
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormSystemDirectivesModule }); }
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormSystemDirectivesModule, decorators: [{
|
|
13
13
|
type: NgModule,
|
|
14
14
|
args: [{
|
|
15
15
|
exports: [
|
|
@@ -125,8 +125,8 @@ let InputSelectOptionsDirective = class InputSelectOptionsDirective {
|
|
|
125
125
|
}
|
|
126
126
|
this.cdr.detectChanges();
|
|
127
127
|
}
|
|
128
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
129
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
128
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: InputSelectOptionsDirective, deps: [{ token: TemplateRef }, { token: DataSourceLoader }, { token: ViewContainerRef }, { token: INJECTOR }, { token: ChangeDetectorRef }, { token: NgControl, optional: true }, { token: MAT_FORM_FIELD, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
129
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: InputSelectOptionsDirective, isStandalone: true, selector: "[rxapInputSelectOptions]", inputs: { viewer: ["rxapInputSelectOptionsViewer", "viewer"], metadata: ["rxapInputSelectOptionsMetadata", "metadata"], matAutocomplete: ["rxapInputSelectOptionsMatAutocomplete", "matAutocomplete"] }, ngImport: i0 }); }
|
|
130
130
|
};
|
|
131
131
|
InputSelectOptionsDirective = __decorate([
|
|
132
132
|
Mixin(ExtractOptionsDataSourceMixin),
|
|
@@ -137,7 +137,7 @@ InputSelectOptionsDirective = __decorate([
|
|
|
137
137
|
ChangeDetectorRef, Object, Object])
|
|
138
138
|
], InputSelectOptionsDirective);
|
|
139
139
|
export { InputSelectOptionsDirective };
|
|
140
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: InputSelectOptionsDirective, decorators: [{
|
|
141
141
|
type: Directive,
|
|
142
142
|
args: [{
|
|
143
143
|
selector: '[rxapInputSelectOptions]',
|
|
@@ -61,14 +61,14 @@ let OptionsFromMethodDirective = class OptionsFromMethodDirective {
|
|
|
61
61
|
this.options = options.slice();
|
|
62
62
|
this.renderTemplate();
|
|
63
63
|
}
|
|
64
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
65
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
64
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: OptionsFromMethodDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
65
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: OptionsFromMethodDirective, isStandalone: true, selector: "[rxapOptionsFromMethod]", inputs: { parameters: ["rxapOptionsFromMethodParameters", "parameters"], resetOnChange: ["rxapOptionsFromMethodResetOnChange", "resetOnChange"] }, usesOnChanges: true, ngImport: i0 }); }
|
|
66
66
|
};
|
|
67
67
|
OptionsFromMethodDirective = __decorate([
|
|
68
68
|
Mixin(ExtractOptionsMethodMixin)
|
|
69
69
|
], OptionsFromMethodDirective);
|
|
70
70
|
export { OptionsFromMethodDirective };
|
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: OptionsFromMethodDirective, decorators: [{
|
|
72
72
|
type: Directive,
|
|
73
73
|
args: [{
|
|
74
74
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -82,8 +82,8 @@ let OptionsFromRemoteMethodDirective = class OptionsFromRemoteMethodDirective {
|
|
|
82
82
|
}
|
|
83
83
|
this.cdr.detectChanges();
|
|
84
84
|
}
|
|
85
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
86
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
85
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: OptionsFromRemoteMethodDirective, deps: [{ token: NgControl }, { token: TemplateRef }, { token: RemoteMethodLoader }, { token: ViewContainerRef }, { token: INJECTOR }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
86
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: OptionsFromRemoteMethodDirective, isStandalone: true, selector: "[rxapOptionsFromRemoteMethod]", inputs: { parameters: ["rxapOptionsFromRemoteMethodParameters", "parameters"], resetOnChange: ["rxapOptionsFromRemoteMethodResetOnChange", "resetOnChange"], withoutParameters: ["rxapOptionsFromRemoteMethodWithoutParameters", "withoutParameters"] }, usesOnChanges: true, ngImport: i0 }); }
|
|
87
87
|
};
|
|
88
88
|
OptionsFromRemoteMethodDirective = __decorate([
|
|
89
89
|
Mixin(ExtractFormDefinitionMixin, ExtractRemoteMethodsMixin),
|
|
@@ -95,7 +95,7 @@ OptionsFromRemoteMethodDirective = __decorate([
|
|
|
95
95
|
ChangeDetectorRef])
|
|
96
96
|
], OptionsFromRemoteMethodDirective);
|
|
97
97
|
export { OptionsFromRemoteMethodDirective };
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
98
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: OptionsFromRemoteMethodDirective, decorators: [{
|
|
99
99
|
type: Directive,
|
|
100
100
|
args: [{
|
|
101
101
|
selector: '[rxapOptionsFromRemoteMethod]',
|
|
@@ -107,8 +107,8 @@ let FormSystemControlDirective = class FormSystemControlDirective {
|
|
|
107
107
|
}
|
|
108
108
|
return map.get(this.controlId);
|
|
109
109
|
}
|
|
110
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
111
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
110
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormSystemControlDirective, deps: [{ token: ControlContainer }, { token: ComponentFactoryResolver }, { token: ViewContainerRef }, { token: DataSourceLoader }, { token: INJECTOR }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
111
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: FormSystemControlDirective, isStandalone: true, selector: "[rxapFormSystemControl]", inputs: { controlId: "controlId" }, ngImport: i0 }); }
|
|
112
112
|
};
|
|
113
113
|
FormSystemControlDirective = __decorate([
|
|
114
114
|
Mixin(ExtractDataSourcesMixin),
|
|
@@ -119,7 +119,7 @@ FormSystemControlDirective = __decorate([
|
|
|
119
119
|
Injector])
|
|
120
120
|
], FormSystemControlDirective);
|
|
121
121
|
export { FormSystemControlDirective };
|
|
122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormSystemControlDirective, decorators: [{
|
|
123
123
|
type: Directive,
|
|
124
124
|
args: [{
|
|
125
125
|
selector: '[rxapFormSystemControl]',
|
|
@@ -14,10 +14,10 @@ export class SubmitContextFormAdapter extends ProxyRemoteMethod {
|
|
|
14
14
|
requestBody: value,
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
18
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: SubmitContextFormAdapter, deps: [{ token: SUBMIT_CONTEXT_FORM_ADAPTER_METHOD }, { token: RXAP_FORM_CONTEXT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
18
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: SubmitContextFormAdapter }); }
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: SubmitContextFormAdapter, decorators: [{
|
|
21
21
|
type: Injectable
|
|
22
22
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
23
23
|
type: Inject,
|
|
@@ -28,8 +28,8 @@ export class IsEqualToDirective {
|
|
|
28
28
|
registerOnValidatorChange(fn) {
|
|
29
29
|
this._onChange = fn;
|
|
30
30
|
}
|
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
32
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: IsEqualToDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
32
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: IsEqualToDirective, isStandalone: true, selector: "[rxapIsEqualTo]", inputs: { equalTo: ["rxapIsEqualTo", "equalTo"] }, providers: [
|
|
33
33
|
{
|
|
34
34
|
provide: NG_VALIDATORS,
|
|
35
35
|
multi: true,
|
|
@@ -37,7 +37,7 @@ export class IsEqualToDirective {
|
|
|
37
37
|
},
|
|
38
38
|
], ngImport: i0 }); }
|
|
39
39
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: IsEqualToDirective, decorators: [{
|
|
41
41
|
type: Directive,
|
|
42
42
|
args: [{
|
|
43
43
|
selector: '[rxapIsEqualTo]',
|
|
@@ -42,8 +42,8 @@ let IsSelectableValueDirective = class IsSelectableValueDirective {
|
|
|
42
42
|
}
|
|
43
43
|
return null;
|
|
44
44
|
}
|
|
45
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
46
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
45
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: IsSelectableValueDirective, deps: [{ token: DataSourceLoader }, { token: INJECTOR }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
46
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: IsSelectableValueDirective, isStandalone: true, selector: "[rxapIsSelectableValue]", inputs: { viewer: "viewer" }, providers: [
|
|
47
47
|
{
|
|
48
48
|
provide: NG_VALIDATORS,
|
|
49
49
|
multi: true,
|
|
@@ -57,7 +57,7 @@ IsSelectableValueDirective = __decorate([
|
|
|
57
57
|
Injector])
|
|
58
58
|
], IsSelectableValueDirective);
|
|
59
59
|
export { IsSelectableValueDirective };
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: IsSelectableValueDirective, decorators: [{
|
|
61
61
|
type: Directive,
|
|
62
62
|
args: [{
|
|
63
63
|
selector: '[rxapIsSelectableValue]',
|
|
@@ -46,8 +46,8 @@ class IsEqualToDirective {
|
|
|
46
46
|
registerOnValidatorChange(fn) {
|
|
47
47
|
this._onChange = fn;
|
|
48
48
|
}
|
|
49
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
50
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
49
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: IsEqualToDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
50
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: IsEqualToDirective, isStandalone: true, selector: "[rxapIsEqualTo]", inputs: { equalTo: ["rxapIsEqualTo", "equalTo"] }, providers: [
|
|
51
51
|
{
|
|
52
52
|
provide: NG_VALIDATORS,
|
|
53
53
|
multi: true,
|
|
@@ -55,7 +55,7 @@ class IsEqualToDirective {
|
|
|
55
55
|
},
|
|
56
56
|
], ngImport: i0 }); }
|
|
57
57
|
}
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: IsEqualToDirective, decorators: [{
|
|
59
59
|
type: Directive,
|
|
60
60
|
args: [{
|
|
61
61
|
selector: '[rxapIsEqualTo]',
|
|
@@ -224,8 +224,8 @@ let IsSelectableValueDirective = class IsSelectableValueDirective {
|
|
|
224
224
|
}
|
|
225
225
|
return null;
|
|
226
226
|
}
|
|
227
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
228
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
227
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: IsSelectableValueDirective, deps: [{ token: DataSourceLoader }, { token: INJECTOR }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
228
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: IsSelectableValueDirective, isStandalone: true, selector: "[rxapIsSelectableValue]", inputs: { viewer: "viewer" }, providers: [
|
|
229
229
|
{
|
|
230
230
|
provide: NG_VALIDATORS,
|
|
231
231
|
multi: true,
|
|
@@ -238,7 +238,7 @@ IsSelectableValueDirective = __decorate([
|
|
|
238
238
|
__metadata("design:paramtypes", [DataSourceLoader,
|
|
239
239
|
Injector])
|
|
240
240
|
], IsSelectableValueDirective);
|
|
241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: IsSelectableValueDirective, decorators: [{
|
|
242
242
|
type: Directive,
|
|
243
243
|
args: [{
|
|
244
244
|
selector: '[rxapIsSelectableValue]',
|
|
@@ -421,10 +421,10 @@ class ForFormArrayItemsDirective {
|
|
|
421
421
|
}
|
|
422
422
|
this.cdr.detectChanges();
|
|
423
423
|
}
|
|
424
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
425
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
424
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ForFormArrayItemsDirective, deps: [{ token: i1$1.ControlContainer, skipSelf: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
425
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: ForFormArrayItemsDirective, isStandalone: true, selector: "[rxapForFormArrayItem]", ngImport: i0 }); }
|
|
426
426
|
}
|
|
427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ForFormArrayItemsDirective, decorators: [{
|
|
428
428
|
type: Directive,
|
|
429
429
|
args: [{
|
|
430
430
|
selector: '[rxapForFormArrayItem]',
|
|
@@ -461,10 +461,10 @@ class FormArrayAddItemButtonDirective {
|
|
|
461
461
|
onClick() {
|
|
462
462
|
this.formArray.insertAt();
|
|
463
463
|
}
|
|
464
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
465
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
464
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormArrayAddItemButtonDirective, deps: [{ token: i1$1.ControlContainer, optional: true, skipSelf: true }, { token: i2.MatButton, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
465
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: FormArrayAddItemButtonDirective, isStandalone: true, selector: "[rxapFormArrayItemAddButton]", host: { listeners: { "click": "onClick()" }, properties: { "type": "this.type", "disabled": "this.disabled" } }, ngImport: i0 }); }
|
|
466
466
|
}
|
|
467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormArrayAddItemButtonDirective, decorators: [{
|
|
468
468
|
type: Directive,
|
|
469
469
|
args: [{
|
|
470
470
|
selector: '[rxapFormArrayItemAddButton]',
|
|
@@ -534,10 +534,10 @@ class FormArrayItemButton {
|
|
|
534
534
|
this._controlDisabledSubscription?.unsubscribe();
|
|
535
535
|
this._deletedControlValueSubscription?.unsubscribe();
|
|
536
536
|
}
|
|
537
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
538
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
537
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormArrayItemButton, deps: [{ token: i1$1.ControlContainer, skipSelf: true }, { token: i2.MatButton, optional: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
538
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: FormArrayItemButton, host: { properties: { "type": "this.type", "disabled": "this.disabled" } }, ngImport: i0 }); }
|
|
539
539
|
}
|
|
540
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
540
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormArrayItemButton, decorators: [{
|
|
541
541
|
type: Directive
|
|
542
542
|
}], ctorParameters: () => [{ type: i1$1.ControlContainer, decorators: [{
|
|
543
543
|
type: SkipSelf
|
|
@@ -564,10 +564,10 @@ class FormArrayItemRemoveButtonDirective extends FormArrayItemButton {
|
|
|
564
564
|
this.renderer.removeStyle(this.elementRef.nativeElement, 'display');
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
568
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
567
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormArrayItemRemoveButtonDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
568
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: FormArrayItemRemoveButtonDirective, isStandalone: true, selector: "button[rxapFormArrayItemRemoveButton]", host: { listeners: { "click": "onClick()" } }, usesInheritance: true, ngImport: i0 }); }
|
|
569
569
|
}
|
|
570
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
570
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormArrayItemRemoveButtonDirective, decorators: [{
|
|
571
571
|
type: Directive,
|
|
572
572
|
args: [{
|
|
573
573
|
selector: 'button[rxapFormArrayItemRemoveButton]',
|
|
@@ -591,10 +591,10 @@ class FormArrayItemRestoreButtonDirective extends FormArrayItemButton {
|
|
|
591
591
|
this.renderer.setStyle(this.elementRef.nativeElement, 'display', 'none');
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
595
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
594
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormArrayItemRestoreButtonDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
595
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: FormArrayItemRestoreButtonDirective, isStandalone: true, selector: "button[rxapFormArrayItemRestoreButton]", host: { listeners: { "click": "onClick()" } }, usesInheritance: true, ngImport: i0 }); }
|
|
596
596
|
}
|
|
597
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
597
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormArrayItemRestoreButtonDirective, decorators: [{
|
|
598
598
|
type: Directive,
|
|
599
599
|
args: [{
|
|
600
600
|
selector: 'button[rxapFormArrayItemRestoreButton]',
|
|
@@ -648,10 +648,10 @@ class FormArrayRemovableDirective {
|
|
|
648
648
|
ngOnDestroy() {
|
|
649
649
|
this._deletedControlValueSubscription?.unsubscribe();
|
|
650
650
|
}
|
|
651
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
652
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
651
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormArrayRemovableDirective, deps: [{ token: i1$1.ControlContainer, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
652
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: FormArrayRemovableDirective, isStandalone: true, selector: "[rxapFormArrayRemovable]", ngImport: i0 }); }
|
|
653
653
|
}
|
|
654
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
654
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormArrayRemovableDirective, decorators: [{
|
|
655
655
|
type: Directive,
|
|
656
656
|
args: [{
|
|
657
657
|
selector: '[rxapFormArrayRemovable]',
|
|
@@ -783,15 +783,15 @@ let ControlHideShowDirective = class ControlHideShowDirective {
|
|
|
783
783
|
reset() {
|
|
784
784
|
this.renderer.removeStyle(this.elementRef.nativeElement, 'display');
|
|
785
785
|
}
|
|
786
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
787
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
786
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ControlHideShowDirective, deps: [{ token: Renderer2 }, { token: ElementRef }, { token: ControlContainer, optional: true }, { token: NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
787
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: ControlHideShowDirective, isStandalone: true, selector: "[rxapControlHideShow]", inputs: { controlId: ["rxapControlHideShow", "controlId"] }, ngImport: i0 }); }
|
|
788
788
|
};
|
|
789
789
|
ControlHideShowDirective = __decorate([
|
|
790
790
|
Mixin(ExtractControlFromParentMixin, ExtractFormDefinitionMixin),
|
|
791
791
|
__metadata("design:paramtypes", [Renderer2,
|
|
792
792
|
ElementRef, Object, Object])
|
|
793
793
|
], ControlHideShowDirective);
|
|
794
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
794
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ControlHideShowDirective, decorators: [{
|
|
795
795
|
type: Directive,
|
|
796
796
|
args: [{
|
|
797
797
|
selector: '[rxapControlHideShow]',
|
|
@@ -932,8 +932,8 @@ let InputSelectOptionsDirective = class InputSelectOptionsDirective {
|
|
|
932
932
|
}
|
|
933
933
|
this.cdr.detectChanges();
|
|
934
934
|
}
|
|
935
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
936
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
935
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: InputSelectOptionsDirective, deps: [{ token: TemplateRef }, { token: DataSourceLoader }, { token: ViewContainerRef }, { token: INJECTOR }, { token: ChangeDetectorRef }, { token: NgControl, optional: true }, { token: MAT_FORM_FIELD, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
936
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: InputSelectOptionsDirective, isStandalone: true, selector: "[rxapInputSelectOptions]", inputs: { viewer: ["rxapInputSelectOptionsViewer", "viewer"], metadata: ["rxapInputSelectOptionsMetadata", "metadata"], matAutocomplete: ["rxapInputSelectOptionsMatAutocomplete", "matAutocomplete"] }, ngImport: i0 }); }
|
|
937
937
|
};
|
|
938
938
|
InputSelectOptionsDirective = __decorate([
|
|
939
939
|
Mixin(ExtractOptionsDataSourceMixin),
|
|
@@ -943,7 +943,7 @@ InputSelectOptionsDirective = __decorate([
|
|
|
943
943
|
Injector,
|
|
944
944
|
ChangeDetectorRef, Object, Object])
|
|
945
945
|
], InputSelectOptionsDirective);
|
|
946
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
946
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: InputSelectOptionsDirective, decorators: [{
|
|
947
947
|
type: Directive,
|
|
948
948
|
args: [{
|
|
949
949
|
selector: '[rxapInputSelectOptions]',
|
|
@@ -986,13 +986,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
|
|
|
986
986
|
}] } });
|
|
987
987
|
|
|
988
988
|
class FormSystemDirectivesModule {
|
|
989
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
990
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
989
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormSystemDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
990
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.1", ngImport: i0, type: FormSystemDirectivesModule, imports: [InputSelectOptionsDirective,
|
|
991
991
|
ControlHideShowDirective], exports: [InputSelectOptionsDirective,
|
|
992
992
|
ControlHideShowDirective] }); }
|
|
993
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
993
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormSystemDirectivesModule }); }
|
|
994
994
|
}
|
|
995
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
995
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormSystemDirectivesModule, decorators: [{
|
|
996
996
|
type: NgModule,
|
|
997
997
|
args: [{
|
|
998
998
|
exports: [
|
|
@@ -1062,13 +1062,13 @@ let OptionsFromMethodDirective = class OptionsFromMethodDirective {
|
|
|
1062
1062
|
this.options = options.slice();
|
|
1063
1063
|
this.renderTemplate();
|
|
1064
1064
|
}
|
|
1065
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1066
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1065
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: OptionsFromMethodDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1066
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: OptionsFromMethodDirective, isStandalone: true, selector: "[rxapOptionsFromMethod]", inputs: { parameters: ["rxapOptionsFromMethodParameters", "parameters"], resetOnChange: ["rxapOptionsFromMethodResetOnChange", "resetOnChange"] }, usesOnChanges: true, ngImport: i0 }); }
|
|
1067
1067
|
};
|
|
1068
1068
|
OptionsFromMethodDirective = __decorate([
|
|
1069
1069
|
Mixin(ExtractOptionsMethodMixin)
|
|
1070
1070
|
], OptionsFromMethodDirective);
|
|
1071
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1071
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: OptionsFromMethodDirective, decorators: [{
|
|
1072
1072
|
type: Directive,
|
|
1073
1073
|
args: [{
|
|
1074
1074
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -1155,8 +1155,8 @@ let OptionsFromRemoteMethodDirective = class OptionsFromRemoteMethodDirective {
|
|
|
1155
1155
|
}
|
|
1156
1156
|
this.cdr.detectChanges();
|
|
1157
1157
|
}
|
|
1158
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1159
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1158
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: OptionsFromRemoteMethodDirective, deps: [{ token: NgControl }, { token: TemplateRef }, { token: RemoteMethodLoader }, { token: ViewContainerRef }, { token: INJECTOR }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1159
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: OptionsFromRemoteMethodDirective, isStandalone: true, selector: "[rxapOptionsFromRemoteMethod]", inputs: { parameters: ["rxapOptionsFromRemoteMethodParameters", "parameters"], resetOnChange: ["rxapOptionsFromRemoteMethodResetOnChange", "resetOnChange"], withoutParameters: ["rxapOptionsFromRemoteMethodWithoutParameters", "withoutParameters"] }, usesOnChanges: true, ngImport: i0 }); }
|
|
1160
1160
|
};
|
|
1161
1161
|
OptionsFromRemoteMethodDirective = __decorate([
|
|
1162
1162
|
Mixin(ExtractFormDefinitionMixin, ExtractRemoteMethodsMixin),
|
|
@@ -1167,7 +1167,7 @@ OptionsFromRemoteMethodDirective = __decorate([
|
|
|
1167
1167
|
Injector,
|
|
1168
1168
|
ChangeDetectorRef])
|
|
1169
1169
|
], OptionsFromRemoteMethodDirective);
|
|
1170
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: OptionsFromRemoteMethodDirective, decorators: [{
|
|
1171
1171
|
type: Directive,
|
|
1172
1172
|
args: [{
|
|
1173
1173
|
selector: '[rxapOptionsFromRemoteMethod]',
|
|
@@ -1249,10 +1249,10 @@ class ControlDataSource extends BaseDataSource {
|
|
|
1249
1249
|
}
|
|
1250
1250
|
this._data$ = this.control.valueChanges.pipe(startWith$1(this.control.value), distinctUntilChanged$1((a, b) => equals(a, b)), shareReplay(1));
|
|
1251
1251
|
}
|
|
1252
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1253
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1252
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ControlDataSource, deps: [{ token: RXAP_FORM_CONTROL_SOURCE }, { token: RXAP_DATA_SOURCE_METADATA, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1253
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ControlDataSource }); }
|
|
1254
1254
|
}
|
|
1255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ControlDataSource, decorators: [{
|
|
1256
1256
|
type: Injectable
|
|
1257
1257
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1258
1258
|
type: Inject,
|
|
@@ -1367,8 +1367,8 @@ let FormSystemControlDirective = class FormSystemControlDirective {
|
|
|
1367
1367
|
}
|
|
1368
1368
|
return map.get(this.controlId);
|
|
1369
1369
|
}
|
|
1370
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1371
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1370
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormSystemControlDirective, deps: [{ token: ControlContainer }, { token: ComponentFactoryResolver }, { token: ViewContainerRef }, { token: DataSourceLoader }, { token: INJECTOR }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1371
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: FormSystemControlDirective, isStandalone: true, selector: "[rxapFormSystemControl]", inputs: { controlId: "controlId" }, ngImport: i0 }); }
|
|
1372
1372
|
};
|
|
1373
1373
|
FormSystemControlDirective = __decorate([
|
|
1374
1374
|
Mixin(ExtractDataSourcesMixin),
|
|
@@ -1378,7 +1378,7 @@ FormSystemControlDirective = __decorate([
|
|
|
1378
1378
|
DataSourceLoader,
|
|
1379
1379
|
Injector])
|
|
1380
1380
|
], FormSystemControlDirective);
|
|
1381
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1381
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormSystemControlDirective, decorators: [{
|
|
1382
1382
|
type: Directive,
|
|
1383
1383
|
args: [{
|
|
1384
1384
|
selector: '[rxapFormSystemControl]',
|
|
@@ -1416,10 +1416,10 @@ class SubmitContextFormAdapter extends ProxyRemoteMethod {
|
|
|
1416
1416
|
requestBody: value,
|
|
1417
1417
|
};
|
|
1418
1418
|
}
|
|
1419
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1420
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1419
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: SubmitContextFormAdapter, deps: [{ token: SUBMIT_CONTEXT_FORM_ADAPTER_METHOD }, { token: RXAP_FORM_CONTEXT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1420
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: SubmitContextFormAdapter }); }
|
|
1421
1421
|
}
|
|
1422
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1422
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: SubmitContextFormAdapter, decorators: [{
|
|
1423
1423
|
type: Injectable
|
|
1424
1424
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1425
1425
|
type: Inject,
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "18.0.1",
|
|
3
3
|
"name": "@rxap/form-system",
|
|
4
4
|
"license": "GPL-3.0-or-later",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"tslib": "2.6.2"
|
|
7
7
|
},
|
|
8
8
|
"peerDependencies": {
|
|
9
|
-
"@angular/core": "^
|
|
10
|
-
"@angular/forms": "^
|
|
11
|
-
"@angular/material": "^
|
|
12
|
-
"@angular/router": "^
|
|
13
|
-
"@rxap/data-source": "^
|
|
14
|
-
"@rxap/definition": "^
|
|
15
|
-
"@rxap/forms": "^
|
|
9
|
+
"@angular/core": "^18.0.1",
|
|
10
|
+
"@angular/forms": "^18.0.1",
|
|
11
|
+
"@angular/material": "^18.0.0",
|
|
12
|
+
"@angular/router": "^18.0.1",
|
|
13
|
+
"@rxap/data-source": "^18.0.1",
|
|
14
|
+
"@rxap/definition": "^18.0.1",
|
|
15
|
+
"@rxap/forms": "^18.0.1",
|
|
16
16
|
"@rxap/mixin": "^16.0.4",
|
|
17
|
-
"@rxap/open-api": "^
|
|
17
|
+
"@rxap/open-api": "^18.0.1",
|
|
18
18
|
"@rxap/pattern": "^1.1.3",
|
|
19
19
|
"@rxap/reflect-metadata": "^1.0.5",
|
|
20
|
-
"@rxap/remote-method": "^
|
|
20
|
+
"@rxap/remote-method": "^18.0.1",
|
|
21
21
|
"@rxap/utilities": "^16.2.2",
|
|
22
22
|
"rxjs": "^7.8.1"
|
|
23
23
|
},
|
|
@@ -43,27 +43,27 @@
|
|
|
43
43
|
"packageGroup": [
|
|
44
44
|
{
|
|
45
45
|
"package": "@angular/core",
|
|
46
|
-
"version": "
|
|
46
|
+
"version": "18.0.1"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
"package": "@angular/forms",
|
|
50
|
-
"version": "
|
|
50
|
+
"version": "18.0.1"
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
"package": "@angular/material",
|
|
54
|
-
"version": "
|
|
54
|
+
"version": "18.0.0"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"package": "@angular/router",
|
|
58
|
-
"version": "
|
|
58
|
+
"version": "18.0.1"
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
"package": "@rxap/config",
|
|
62
|
-
"version": "
|
|
62
|
+
"version": "18.0.1"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
"package": "@rxap/data-source",
|
|
66
|
-
"version": "
|
|
66
|
+
"version": "18.0.1"
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"package": "@rxap/data-structure-tree",
|
|
@@ -71,19 +71,19 @@
|
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
"package": "@rxap/definition",
|
|
74
|
-
"version": "
|
|
74
|
+
"version": "18.0.1"
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
"package": "@rxap/directives",
|
|
78
|
-
"version": "
|
|
78
|
+
"version": "18.0.1"
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"package": "@rxap/environment",
|
|
82
|
-
"version": "
|
|
82
|
+
"version": "18.0.1"
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
"package": "@rxap/forms",
|
|
86
|
-
"version": "
|
|
86
|
+
"version": "18.0.1"
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"package": "@rxap/mixin",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
"package": "@rxap/open-api",
|
|
98
|
-
"version": "
|
|
98
|
+
"version": "18.0.1"
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
101
|
"package": "@rxap/pattern",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
105
|
"package": "@rxap/plugin-utilities",
|
|
106
|
-
"version": "
|
|
106
|
+
"version": "19.0.1"
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
109
|
"package": "@rxap/reflect-metadata",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
113
|
"package": "@rxap/remote-method",
|
|
114
|
-
"version": "
|
|
114
|
+
"version": "18.0.1"
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
117
|
"package": "@rxap/rxjs",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
121
|
"package": "@rxap/services",
|
|
122
|
-
"version": "
|
|
122
|
+
"version": "18.0.1"
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
"package": "@rxap/utilities",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
},
|
|
132
132
|
{
|
|
133
133
|
"package": "@rxap/workspace-utilities",
|
|
134
|
-
"version": "
|
|
134
|
+
"version": "19.0.1"
|
|
135
135
|
}
|
|
136
136
|
]
|
|
137
137
|
},
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"directory": "packages/angular/form-system"
|
|
146
146
|
},
|
|
147
147
|
"sideEffects": false,
|
|
148
|
-
"gitHead": "
|
|
148
|
+
"gitHead": "a7a136d73b1342f9e6e1ed850f55c4185f1a462c",
|
|
149
149
|
"module": "fesm2022/rxap-form-system.mjs",
|
|
150
150
|
"typings": "index.d.ts",
|
|
151
151
|
"exports": {
|