@acorex/components 18.4.3 → 18.4.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,12 +20,3 @@ export interface AXActionSheetConfig {
20
20
  items?: AXActionSheetItem[];
21
21
  content?: AXActionSheetContentType;
22
22
  }
23
- export interface AXActionSheetData {
24
- title: string;
25
- subTitle?: string;
26
- closeButton?: boolean;
27
- header: boolean;
28
- data: unknown;
29
- content?: AXActionSheetContentType;
30
- items?: AXActionSheetItem[];
31
- }
@@ -2,17 +2,17 @@ import { AXComponentCloseEvent, MXBaseComponent } from '@acorex/components/commo
2
2
  import { DialogRef } from '@angular/cdk/dialog';
3
3
  import { CdkPortalOutletAttachedRef, Portal } from '@angular/cdk/portal';
4
4
  import { OnInit } from '@angular/core';
5
- import { AXActionSheetData, AXActionSheetItem } from './action-sheet.class';
5
+ import { AXActionSheetConfig, AXActionSheetItem } from './action-sheet.class';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class AXActionSheetComponent extends MXBaseComponent implements OnInit {
8
- protected data: AXActionSheetData;
8
+ protected data: AXActionSheetConfig;
9
9
  private dialogRef;
10
10
  protected _selectedPortal: Portal<any>;
11
11
  private _componentRef;
12
12
  /**
13
13
  * @ignore
14
14
  */
15
- constructor(data: AXActionSheetData, dialogRef: DialogRef<AXComponentCloseEvent>);
15
+ constructor(data: AXActionSheetConfig, dialogRef: DialogRef<AXComponentCloseEvent>);
16
16
  ngOnInit(): void;
17
17
  protected onKeydownHandler(): void;
18
18
  _handleAttched(ref: CdkPortalOutletAttachedRef): void;
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLXNoZWV0LmNsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2FjdGlvbi1zaGVldC9zcmMvbGliL2FjdGlvbi1zaGVldC5jbGFzcy50cyJdLCJuYW1lc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B7XG4gIHRpdGxlPzogc3RyaW5nO1xuICBzdWJUaXRsZT86IHN0cmluZztcbiAgY2xvc2VCdXR0b24/OiBib29sZWFuO1xuICBoZWFkZXI/OiBib29sZWFuO1xuICBkYXRhPzogdW5rbm93bjtcbiAgY2xvc2VPbkJhY2tkcm9wQ2xpY2s/OiBib29sZWFuO1xuICBpdGVtcz86IEFYQWN0aW9uU2hlZXRJdGVtW107XG4gIGNvbnRlbnQ/OiBBWEFjdGlvblNoZWV0Q29udGVudFR5cGU7XG59XG4iXX0=
@@ -95,4 +95,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
95
95
  type: HostListener,
96
96
  args: ['keydown.escape']
97
97
  }] } });
98
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLXNoZWV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9hY3Rpb24tc2hlZXQvc3JjL2xpYi9hY3Rpb24tc2hlZXQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2FjdGlvbi1zaGVldC9zcmMvbGliL2FjdGlvbi1zaGVldC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsbUJBQW1CLEVBQXlCLG9CQUFvQixFQUFFLGVBQWUsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzlILE9BQU8sRUFBRSxXQUFXLEVBQUUsU0FBUyxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDN0QsT0FBTyxFQUE4QixlQUFlLEVBQVUsY0FBYyxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDMUcsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBRVQsWUFB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
1
  import { AXDataSource, MXBaseComponent, convertArrayToDataSource } from '@acorex/components/common';
2
2
  import { EventEmitter, Injectable, Input, Output, signal } from '@angular/core';
3
+ import _ from 'lodash';
3
4
  import * as i0 from "@angular/core";
4
5
  export class AXBaseDataTable extends MXBaseComponent {
5
6
  constructor() {
@@ -16,7 +17,7 @@ export class AXBaseDataTable extends MXBaseComponent {
16
17
  this.selectedRowsChange.emit(v);
17
18
  }
18
19
  selectRows(...rows) {
19
- this.selectedRows = [...this.selectedRows, ...rows];
20
+ this.selectedRows = _.uniq(this.selectedRows.concat(rows));
20
21
  }
21
22
  unSelectRows(...rows) {
22
23
  this.selectedRows = this.selectedRows.filter((c) => !rows.includes(c));
@@ -33,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
33
34
  }], selectedRows: [{
34
35
  type: Input
35
36
  }] } });
36
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1kYXRhLXRhYmxlLmNsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2RhdGEtdGFibGUvc3JjL2xpYi9iYXNlLWRhdGEtdGFibGUuY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBVyxlQUFlLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUM3RyxPQUFPLEVBQUUsWUFBWSxFQUFFLFVBQVUsRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFrQixNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBaUJoRyxNQUFNLE9BQWdCLGVBQWdCLFNBQVEsZUFBZTtJQUQ3RDs7UUFFVyxlQUFVLEdBQTBCLHdCQUF3QixDQUFDLEVBQUUsQ0FBQyxDQUFDO1FBRzFF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