@acorex/components 16.0.13 → 16.0.15
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
|
|
1
|
-
import { Component, EventEmitter, Input } from
|
2
|
-
import { AXDataSourceReceivedResult } from './read-param';
|
1
|
+
import { Component, EventEmitter, Input } from '@angular/core';
|
3
2
|
import { AXDataEvent } from '../base/events.class';
|
3
|
+
import { AXDataSourceReceivedResult, } from './read-param';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export class AXDataSourceReceivedEvent extends AXDataEvent {
|
6
6
|
}
|
@@ -19,29 +19,29 @@ export class AXDataSourceComponent {
|
|
19
19
|
params.extra = this.params;
|
20
20
|
}
|
21
21
|
//
|
22
|
-
this.provideData(params).then(_data => {
|
22
|
+
this.provideData(params).then((_data) => {
|
23
23
|
const data = new AXDataSourceReceivedResult();
|
24
24
|
data.result = _data;
|
25
25
|
data.requestId = params == null ? null : params.requestId;
|
26
26
|
this.onDataReceived.emit({
|
27
27
|
component: this,
|
28
|
-
data: data
|
28
|
+
data: data,
|
29
29
|
});
|
30
30
|
});
|
31
31
|
}
|
32
32
|
}
|
33
33
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataSourceComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
34
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXDataSourceComponent, selector: "ax-data-source", inputs: { provideData: "provideData", params: "params" }, ngImport: i0, template:
|
34
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXDataSourceComponent, selector: "ax-data-source", inputs: { provideData: "provideData", params: "params" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
35
35
|
}
|
36
36
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataSourceComponent, decorators: [{
|
37
37
|
type: Component,
|
38
38
|
args: [{
|
39
|
-
selector:
|
40
|
-
template:
|
39
|
+
selector: 'ax-data-source',
|
40
|
+
template: '<ng-content></ng-content>',
|
41
41
|
}]
|
42
42
|
}], propDecorators: { provideData: [{
|
43
43
|
type: Input
|
44
44
|
}], params: [{
|
45
45
|
type: Input
|
46
46
|
}] } });
|
47
|
-
//# sourceMappingURL=data:application/json;base64,
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YXNvdXJjZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvc3JjL2xpYi9kYXRhLXNvdXJjZS9kYXRhc291cmNlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDL0QsT0FBTyxFQUFlLFdBQVcsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ2hFLE9BQU8sRUFFTCwwQkFBMEIsR0FDM0IsTUFBTSxjQUFjLENBQUM7O0FBRXRCLE1BQU0sT0FBTyx5QkFBMEIsU0FBUSxXQUF1QztDQUFHO0FBTXpGLE1BQU0sT0FBTyxxQkFBcUI7SUFDaEMsY0FBYyxHQUNaLElBQUksWUFBWSxFQUE2QixDQUFDO0lBQ2hELFlBQVksR0FBOEIsSUFBSSxZQUFZLEVBQWUsQ0FBQztJQUcxRSxXQUFXLENBQW1EO0lBRzlELE1BQU0sQ0FBTTtJQUVaLEtBQUssQ0FBQyxNQUE4QjtRQUNsQyxJQUFJLENBQUMsWUFBWSxDQUFDLElBQUksQ0FBQyxFQUFFLFNBQVMsRUFBRSxJQUFJLEVBQUUsQ0FBQyxDQUFDO1FBQzVDLElBQUksSUFBSSxDQUFDLFdBQVcsRUFBRTtZQUNwQixJQUFJ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lbnQ6IHRoaXMgfSk7XG4gICAgaWYgKHRoaXMucHJvdmlkZURhdGEpIHtcbiAgICAgIGlmIChwYXJhbXMgPT09IG51bGwpIHtcbiAgICAgICAgcGFyYW1zID0gdGhpcy5wYXJhbXMgPT09IHVuZGVmaW5lZCA/IG51bGwgOiB0aGlzLnBhcmFtcztcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIHBhcmFtcy5leHRyYSA9IHRoaXMucGFyYW1zO1xuICAgICAgfVxuXG4gICAgICAvL1xuICAgICAgdGhpcy5wcm92aWRlRGF0YShwYXJhbXMpLnRoZW4oKF9kYXRhKSA9PiB7XG4gICAgICAgIGNvbnN0IGRhdGE6IEFYRGF0YVNvdXJjZVJlY2VpdmVkUmVzdWx0ID1cbiAgICAgICAgICBuZXcgQVhEYXRhU291cmNlUmVjZWl2ZWRSZXN1bHQoKTtcbiAgICAgICAgZGF0YS5yZXN1bHQgPSBfZGF0YTtcbiAgICAgICAgZGF0YS5yZXF1ZXN0SWQgPSBwYXJhbXMgPT0gbnVsbCA/IG51bGwgOiBwYXJhbXMucmVxdWVzdElkO1xuICAgICAgICB0aGlzLm9uRGF0YVJlY2VpdmVkLmVtaXQoe1xuICAgICAgICAgIGNvbXBvbmVudDogdGhpcyxcbiAgICAgICAgICBkYXRhOiBkYXRhLFxuICAgICAgICB9KTtcbiAgICAgIH0pO1xuICAgIH1cbiAgfVxufVxuIl19
|
@@ -2649,25 +2649,25 @@ class AXDataSourceComponent {
|
|
2649
2649
|
params.extra = this.params;
|
2650
2650
|
}
|
2651
2651
|
//
|
2652
|
-
this.provideData(params).then(_data => {
|
2652
|
+
this.provideData(params).then((_data) => {
|
2653
2653
|
const data = new AXDataSourceReceivedResult();
|
2654
2654
|
data.result = _data;
|
2655
2655
|
data.requestId = params == null ? null : params.requestId;
|
2656
2656
|
this.onDataReceived.emit({
|
2657
2657
|
component: this,
|
2658
|
-
data: data
|
2658
|
+
data: data,
|
2659
2659
|
});
|
2660
2660
|
});
|
2661
2661
|
}
|
2662
2662
|
}
|
2663
2663
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataSourceComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
2664
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXDataSourceComponent, selector: "ax-data-source", inputs: { provideData: "provideData", params: "params" }, ngImport: i0, template:
|
2664
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXDataSourceComponent, selector: "ax-data-source", inputs: { provideData: "provideData", params: "params" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
2665
2665
|
}
|
2666
2666
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataSourceComponent, decorators: [{
|
2667
2667
|
type: Component,
|
2668
2668
|
args: [{
|
2669
|
-
selector:
|
2670
|
-
template:
|
2669
|
+
selector: 'ax-data-source',
|
2670
|
+
template: '<ng-content></ng-content>',
|
2671
2671
|
}]
|
2672
2672
|
}], propDecorators: { provideData: [{
|
2673
2673
|
type: Input
|