@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 "@angular/core";
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: "<ng-content></ng-content>", isInline: true });
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: "ax-data-source",
40
- template: "<ng-content></ng-content>"
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YXNvdXJjZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvc3JjL2xpYi9kYXRhLXNvdXJjZS9kYXRhc291cmNlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFnQixZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzdFLE9BQU8sRUFBNEMsMEJBQTBCLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFFcEcsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLHNCQUFzQixDQUFDOztBQUduRCxNQUFNLE9BQU8seUJBQTBCLFNBQVEsV0FBdUM7Q0FHckY7QUFPRCxNQUFNLE9BQU8scUJBQXFCO0lBRTlCLGNBQWMsR0FBNEMsSUFBSSxZQUFZLEVBQTZCLENBQUM7SUFDeEcsWUFBWSxHQUE4QixJQUFJLFlBQVksRUFBZSxDQUFDO0lBRzFFLFdBQVcsQ0FBbUQ7SUFHOUQsTUFBTSxDQUFNO0lBRVosS0FBSyxDQUFDLE1BQThCO1FBQ2hDLElBQUksQ0FBQyxZQUFZLENBQUMsSUFBSSxDQUFDLEVBQUUsU0FBUyxFQUFFLElBQUksRUFBRSxDQUFDLENBQUM7UUFDNUMsSUFBSSxJQUFJLENBQUMsV0FBVyxFQUFFO1lBQ2xCLElBQUksTUFBTSxLQUFLLElBQUksRUFBRTtnQkFDakIsTUFBTSxHQUFHLElBQUksQ0FBQyxNQUFNLEtBQUssU0FBUyxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQy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ICAgICAgICBpZiAodGhpcy5wcm92aWRlRGF0YSkge1xuICAgICAgICAgICAgaWYgKHBhcmFtcyA9PT0gbnVsbCkge1xuICAgICAgICAgICAgICAgIHBhcmFtcyA9IHRoaXMucGFyYW1zID09PSB1bmRlZmluZWQgPyBudWxsIDogdGhpcy5wYXJhbXM7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHBhcmFtcy5leHRyYSA9IHRoaXMucGFyYW1zO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAvL1xuICAgICAgICAgICAgdGhpcy5wcm92aWRlRGF0YShwYXJhbXMpLnRoZW4oX2RhdGEgPT4ge1xuICAgICAgICAgICAgICAgIGNvbnN0IGRhdGE6IEFYRGF0YVNvdXJjZVJlY2VpdmVkUmVzdWx0ID0gbmV3IEFYRGF0YVNvdXJjZVJlY2VpdmVkUmVzdWx0KCk7XG4gICAgICAgICAgICAgICAgZGF0YS5yZXN1bHQgPSBfZGF0YTtcbiAgICAgICAgICAgICAgICBkYXRhLnJlcXVlc3RJZCA9IHBhcmFtcyA9PSBudWxsID8gbnVsbCA6IHBhcmFtcy5yZXF1ZXN0SWQ7XG4gICAgICAgICAgICAgICAgdGhpcy5vbkRhdGFSZWNlaXZlZC5lbWl0KHtcbiAgICAgICAgICAgICAgICAgICAgY29tcG9uZW50OiB0aGlzLFxuICAgICAgICAgICAgICAgICAgICBkYXRhOiBkYXRhXG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfVxuICAgIH1cblxufVxuIl19
47
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YXNvdXJjZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvc3JjL2xpYi9kYXRhLXNvdXJjZS9kYXRhc291cmNlLmNvbXBvbmVudC50c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ZXcgQVhEYXRhU291cmNlUmVjZWl2ZWRSZXN1bHQoKTtcbiAgICAgICAgZGF0YS5yZXN1bHQgPSBfZGF0YTtcbiAgICAgICAgZGF0YS5yZXF1ZXN0SWQgPSBwYXJhbXMgPT0gbnVsbCA/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: "<ng-content></ng-content>", isInline: true });
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: "ax-data-source",
2670
- template: "<ng-content></ng-content>"
2669
+ selector: 'ax-data-source',
2670
+ template: '<ng-content></ng-content>',
2671
2671
  }]
2672
2672
  }], propDecorators: { provideData: [{
2673
2673
  type: Input