@paperless/angular 0.1.0-alpha.149 → 0.1.0-alpha.150
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/esm2020/lib/base/value-accessor.mjs +4 -4
- package/esm2020/lib/directives/p-pagination.directive.mjs +1 -1
- package/esm2020/lib/directives/p-table-footer.directive.mjs +1 -1
- package/esm2020/lib/directives/p-table-header.directive.mjs +1 -1
- package/esm2020/lib/directives/p-table.directive.mjs +7 -1
- package/fesm2015/paperless-angular.mjs +9 -3
- package/fesm2015/paperless-angular.mjs.map +1 -1
- package/fesm2020/paperless-angular.mjs +9 -3
- package/fesm2020/paperless-angular.mjs.map +1 -1
- package/lib/base/value-accessor.d.ts +3 -3
- package/lib/directives/p-table.directive.d.ts +2 -0
- package/package.json +1 -1
|
@@ -332,15 +332,15 @@ class BaseValueAccessor {
|
|
|
332
332
|
this.onChange(value);
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
|
-
_handleBlurEvent() {
|
|
336
|
-
this.onTouched();
|
|
337
|
-
}
|
|
338
335
|
registerOnChange(fn) {
|
|
339
336
|
this.onChange = fn;
|
|
340
337
|
}
|
|
341
338
|
registerOnTouched(fn) {
|
|
342
339
|
this.onTouched = fn;
|
|
343
340
|
}
|
|
341
|
+
_handleBlurEvent() {
|
|
342
|
+
this.onTouched();
|
|
343
|
+
}
|
|
344
344
|
}
|
|
345
345
|
BaseValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BaseValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
346
346
|
BaseValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: BaseValueAccessor, host: { listeners: { "focusout": "_handleBlurEvent()" } }, ngImport: i0 });
|
|
@@ -556,6 +556,12 @@ class TableDirective extends BaseValueAccessor {
|
|
|
556
556
|
this._setActiveQuickFilter(value.quickFilter);
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
+
registerOnChange(fn) {
|
|
560
|
+
this.onChange = fn;
|
|
561
|
+
}
|
|
562
|
+
registerOnTouched(fn) {
|
|
563
|
+
this.onTouched = fn;
|
|
564
|
+
}
|
|
559
565
|
handleChange(value, type) {
|
|
560
566
|
this.handleChangeEvent({
|
|
561
567
|
...this.lastValue,
|