@cauca-911/datagrid 20.0.13 → 20.0.14
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/fesm2022/cauca-911-datagrid.mjs +78 -219
- package/fesm2022/cauca-911-datagrid.mjs.map +1 -1
- package/index.d.ts +4 -72
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,35 +1,15 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnDestroy, OnInit, EventEmitter, AfterContentInit, OnChanges, QueryList, SimpleChanges, TemplateRef, ModelSignal, InputSignal, Provider, EnvironmentProviders } from '@angular/core';
|
|
3
|
-
import * as i7 from '@angular/material/table';
|
|
4
3
|
import { MatTable, MatColumnDef, MatCellDef, MatHeaderCellDef, MatFooterCellDef, MatHeaderRowDef, MatFooterRowDef, MatRowDef, MatNoDataRow, MatTableDataSource } from '@angular/material/table';
|
|
5
|
-
import * as i15 from '@angular/cdk/drag-drop';
|
|
6
4
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
7
|
-
import * as i8 from '@angular/material/paginator';
|
|
8
5
|
import { MatPaginator } from '@angular/material/paginator';
|
|
9
|
-
import * as i13 from '@angular/forms';
|
|
10
6
|
import { FormControl } from '@angular/forms';
|
|
11
7
|
import { Subject, BehaviorSubject, Observable } from 'rxjs';
|
|
12
|
-
import * as i9 from '@angular/material/sort';
|
|
13
8
|
import { MatSort } from '@angular/material/sort';
|
|
14
9
|
import { TranslateService } from '@ngx-translate/core';
|
|
15
10
|
import { ODataDataSource, ODataFilter } from 'odata-data-source';
|
|
16
|
-
import
|
|
17
|
-
import { TranslateService as TranslateService$1, CaucaCoreService } from '@cauca-911/core';
|
|
11
|
+
import { TranslateService as TranslateService$1 } from '@cauca-911/core';
|
|
18
12
|
import { HttpClient } from '@angular/common/http';
|
|
19
|
-
import * as i2 from '@fortawesome/angular-fontawesome';
|
|
20
|
-
import * as i3 from '@angular/common';
|
|
21
|
-
import * as i5 from '@angular/material/form-field';
|
|
22
|
-
import * as i6 from '@angular/material/input';
|
|
23
|
-
import * as i10 from '@angular/material/icon';
|
|
24
|
-
import * as i11 from '@angular/material/button';
|
|
25
|
-
import * as i12 from '@angular/material/progress-spinner';
|
|
26
|
-
import * as i14 from '@angular/router';
|
|
27
|
-
import * as i16 from '@cauca-911/material';
|
|
28
|
-
import * as i17 from '@angular/material/menu';
|
|
29
|
-
import * as i18 from '@angular/cdk/overlay';
|
|
30
|
-
import * as i19 from '@angular/material/card';
|
|
31
|
-
import * as i20 from '@angular/material/checkbox';
|
|
32
|
-
import * as i21 from '@angular/material/tooltip';
|
|
33
13
|
|
|
34
14
|
declare class DataGridRowDropEvent {
|
|
35
15
|
item: unknown;
|
|
@@ -262,7 +242,7 @@ declare class OdataGridComponent extends BaseDataGridComponent implements OnChan
|
|
|
262
242
|
rowDetailTemplate: TemplateRef<any>;
|
|
263
243
|
paginator: MatPaginator;
|
|
264
244
|
private readonly baseUrl;
|
|
265
|
-
constructor(translateService: TranslateService$1, preferenceService: PreferenceService,
|
|
245
|
+
constructor(translateService: TranslateService$1, preferenceService: PreferenceService, listing: OdataListingService);
|
|
266
246
|
ngOnDestroy(): void;
|
|
267
247
|
refreshData(): void;
|
|
268
248
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -277,7 +257,7 @@ declare class OdataGridComponent extends BaseDataGridComponent implements OnChan
|
|
|
277
257
|
protected onColumnsChanged(columns: string[]): void;
|
|
278
258
|
protected showColumnsWhenTableOptionsIsFalse(): void;
|
|
279
259
|
static ɵfac: i0.ɵɵFactoryDeclaration<OdataGridComponent, never>;
|
|
280
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OdataGridComponent, "cauca-odata-grid", never, { "showTableHeader": { "alias": "showTableHeader"; "required": false; "isSignal": true; }; "baseSort": { "alias": "baseSort"; "required": false; }; "filterPredicate": { "alias": "filterPredicate"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "selectedRowId": { "alias": "selectedRowId"; "required": false; }; "idField": { "alias": "idField"; "required": false; }; "showRefreshButton": { "alias": "showRefreshButton"; "required": false; }; }, { "itemClick": "itemClick"; "refreshRequested": "refreshRequested"; }, ["rowDetailTemplate"], ["[filterRow]", "[customHeader]", "[customFilter]", "*"],
|
|
260
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OdataGridComponent, "cauca-odata-grid", never, { "showTableHeader": { "alias": "showTableHeader"; "required": false; "isSignal": true; }; "baseSort": { "alias": "baseSort"; "required": false; }; "filterPredicate": { "alias": "filterPredicate"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "selectedRowId": { "alias": "selectedRowId"; "required": false; }; "idField": { "alias": "idField"; "required": false; }; "showRefreshButton": { "alias": "showRefreshButton"; "required": false; }; }, { "itemClick": "itemClick"; "refreshRequested": "refreshRequested"; }, ["rowDetailTemplate"], ["[filterRow]", "[customHeader]", "[customFilter]", "*"], true, never>;
|
|
281
261
|
}
|
|
282
262
|
|
|
283
263
|
declare class ColorDataGridColumnComponent extends BaseGridColumnComponent implements OnDestroy, OnInit {
|
|
@@ -416,52 +396,4 @@ declare class TranslationGridColumnComponent extends BaseGridColumnComponent imp
|
|
|
416
396
|
|
|
417
397
|
declare function provideCaucaGrid(): (Provider | EnvironmentProviders);
|
|
418
398
|
|
|
419
|
-
|
|
420
|
-
buttonLabel: i0.InputSignal<string>;
|
|
421
|
-
buttonIcon: i0.InputSignal<string>;
|
|
422
|
-
color: i0.InputSignal<string>;
|
|
423
|
-
isActive: i0.WritableSignal<boolean>;
|
|
424
|
-
toggle(): void;
|
|
425
|
-
close(): void;
|
|
426
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonPopoverComponent, never>;
|
|
427
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonPopoverComponent, "cauca-button-popover", never, { "buttonLabel": { "alias": "buttonLabel"; "required": false; "isSignal": true; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
declare class DataGridTableOptionsComponent implements OnInit {
|
|
431
|
-
private readonly preferenceService;
|
|
432
|
-
gridName: string;
|
|
433
|
-
showColumnViewer: boolean;
|
|
434
|
-
densityChanged: EventEmitter<Density>;
|
|
435
|
-
allColumns: QueryList<BaseGridColumnComponent>;
|
|
436
|
-
columnsChanged: EventEmitter<string[]>;
|
|
437
|
-
columnViewer: ButtonPopoverComponent;
|
|
438
|
-
columnsSearch: string;
|
|
439
|
-
get density(): typeof Density;
|
|
440
|
-
get columns(): BaseGridColumnComponent[];
|
|
441
|
-
get currentDensityIcon(): string;
|
|
442
|
-
constructor(preferenceService: PreferenceService);
|
|
443
|
-
ngOnInit(): void;
|
|
444
|
-
closeColumnViewer(): void;
|
|
445
|
-
changeDensity(newDensity: Density): void;
|
|
446
|
-
onColumnsChanged(): void;
|
|
447
|
-
resetColumns(): void;
|
|
448
|
-
private selectOnlyUserColumns;
|
|
449
|
-
private selectAllColumns;
|
|
450
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DataGridTableOptionsComponent, never>;
|
|
451
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataGridTableOptionsComponent, "cauca-data-grid-table-options", never, { "gridName": { "alias": "gridName"; "required": true; }; "showColumnViewer": { "alias": "showColumnViewer"; "required": false; }; "allColumns": { "alias": "allColumns"; "required": false; }; }, { "densityChanged": "densityChanged"; "columnsChanged": "columnsChanged"; }, never, ["[customFilter]"], true, never>;
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
declare class DataGridProgressSpinerComponent {
|
|
455
|
-
isLoading: i0.InputSignal<boolean>;
|
|
456
|
-
useBackground: i0.InputSignal<boolean>;
|
|
457
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DataGridProgressSpinerComponent, never>;
|
|
458
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataGridProgressSpinerComponent, "cauca-data-grid-progress-spiner", never, { "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "useBackground": { "alias": "useBackground"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
declare class ODataGridModule {
|
|
462
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ODataGridModule, never>;
|
|
463
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ODataGridModule, [typeof OdataGridComponent], [typeof i2.FontAwesomeModule, typeof i3.CommonModule, typeof i4.CaucaCoreForChildModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.MatTableModule, typeof i8.MatPaginatorModule, typeof i9.MatSortModule, typeof i10.MatIconModule, typeof i11.MatButtonModule, typeof i12.MatProgressSpinnerModule, typeof i13.ReactiveFormsModule, typeof i14.RouterModule, typeof i15.DragDropModule, typeof i16.IconComponent, typeof i17.MatMenuModule, typeof i18.OverlayModule, typeof i19.MatCardModule, typeof i20.MatCheckboxModule, typeof i13.FormsModule, typeof i21.MatTooltipModule, typeof i16.BasicButtonComponent, typeof i16.IconButtonComponent, typeof i16.StrokedButtonComponent, typeof i16.RaisedButtonComponent, typeof i16.MenuItemComponent, typeof DataGridHeaderComponent, typeof DataGridTableOptionsComponent, typeof DataGridProgressSpinerComponent], [typeof OdataGridComponent]>;
|
|
464
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ODataGridModule>;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
export { BaseGridColumnComponent, ColorDataGridColumnComponent, DataGridCheckColumnComponent, DataGridColumnComponent, DataGridCommandIconColumnComponent, DataGridCommandsColumnComponent, DataGridComponent, DataGridIconColumnComponent, DataGridMenuColumnComponent, DateGridColumnComponent, ODataGridModule, OdataGridComponent, SortableDataGridCheckColumnComponent, SortableDataGridColumnComponent, TranslationGridColumnComponent, provideCaucaGrid };
|
|
399
|
+
export { BaseGridColumnComponent, ColorDataGridColumnComponent, DataGridCheckColumnComponent, DataGridColumnComponent, DataGridCommandIconColumnComponent, DataGridCommandsColumnComponent, DataGridComponent, DataGridIconColumnComponent, DataGridMenuColumnComponent, DateGridColumnComponent, OdataGridComponent, SortableDataGridCheckColumnComponent, SortableDataGridColumnComponent, TranslationGridColumnComponent, provideCaucaGrid };
|