@wemake4u/form-player-se 1.0.18 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/controls/checklist.mjs +4 -1
- package/esm2022/lib/controls/chipchecklist.mjs +4 -1
- package/esm2022/lib/controls/chipradio.mjs +4 -1
- package/esm2022/lib/controls/control.mjs +6 -27
- package/esm2022/lib/controls/radio.mjs +4 -1
- package/esm2022/lib/controls/select.mjs +4 -1
- package/esm2022/lib/controls/table.mjs +4 -1
- package/esm2022/lib/controls/taglist.mjs +4 -1
- package/esm2022/lib/dialog/dialog.component.mjs +11 -4
- package/esm2022/lib/directives/accordion.directive.mjs +2 -13
- package/esm2022/lib/directives/dropdown.directive.mjs +7 -7
- package/esm2022/lib/directives/grid.directive.mjs +7 -7
- package/esm2022/lib/directives/refresh.directive.mjs +25 -0
- package/esm2022/lib/dynamic-fields/dynamic-fields.component.mjs +46 -19
- package/esm2022/lib/dynamic-form/dynamic-form.component.mjs +72 -48
- package/esm2022/lib/services/dialog.service.mjs +2 -6
- package/esm2022/lib/services/function.service.mjs +9 -6
- package/esm2022/lib/services/grid.service.mjs +61 -5
- package/esm2022/lib/services/programmability.service.mjs +6 -1
- package/esm2022/lib/services/register.service.mjs +60 -19
- package/esm2022/lib/services/weak.service.mjs +1 -11
- package/esm2022/lib/utils/gridCells.mjs +14 -14
- package/esm2022/lib/utils/patchForm.mjs +32 -13
- package/fesm2022/wemake4u-form-player-se.mjs +402 -224
- package/fesm2022/wemake4u-form-player-se.mjs.map +1 -1
- package/lib/controls/checklist.d.ts +1 -0
- package/lib/controls/chipchecklist.d.ts +1 -0
- package/lib/controls/chipradio.d.ts +1 -0
- package/lib/controls/control.d.ts +1 -4
- package/lib/controls/radio.d.ts +1 -0
- package/lib/controls/select.d.ts +1 -0
- package/lib/controls/table.d.ts +1 -0
- package/lib/controls/taglist.d.ts +1 -0
- package/lib/dialog/dialog.component.d.ts +2 -0
- package/lib/directives/refresh.directive.d.ts +10 -0
- package/lib/dynamic-fields/dynamic-fields.component.d.ts +9 -4
- package/lib/dynamic-form/dynamic-form.component.d.ts +11 -5
- package/lib/services/dialog.service.d.ts +3 -1
- package/lib/services/function.service.d.ts +3 -1
- package/lib/services/grid.service.d.ts +3 -0
- package/lib/services/programmability.service.d.ts +1 -0
- package/lib/services/register.service.d.ts +5 -3
- package/lib/utils/patchForm.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class RefreshDirective {
|
|
4
|
+
refresh = null;
|
|
5
|
+
componentRef;
|
|
6
|
+
constructor() {
|
|
7
|
+
}
|
|
8
|
+
ngAfterContentInit() {
|
|
9
|
+
this.componentRef._refresh = this.refresh;
|
|
10
|
+
}
|
|
11
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RefreshDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
12
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: RefreshDirective, isStandalone: true, selector: "[refresh]", inputs: { refresh: "refresh", componentRef: "componentRef" }, ngImport: i0 });
|
|
13
|
+
}
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RefreshDirective, decorators: [{
|
|
15
|
+
type: Directive,
|
|
16
|
+
args: [{
|
|
17
|
+
selector: '[refresh]',
|
|
18
|
+
standalone: true
|
|
19
|
+
}]
|
|
20
|
+
}], ctorParameters: () => [], propDecorators: { refresh: [{
|
|
21
|
+
type: Input
|
|
22
|
+
}], componentRef: [{
|
|
23
|
+
type: Input
|
|
24
|
+
}] } });
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVmcmVzaC5kaX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