@neoprototype/neop-ui-lib 1.1.3 → 1.2.1
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/package.json
CHANGED
|
@@ -8,6 +8,7 @@ import * as i1 from '@angular/common';
|
|
|
8
8
|
import { DecimalPipe } from '@angular/common';
|
|
9
9
|
import { FormControl } from '@angular/forms';
|
|
10
10
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
11
|
+
import { CdkDragDrop, CdkDragStart } from '@angular/cdk/drag-drop';
|
|
11
12
|
import { NzIconService } from 'ng-zorro-antd/icon';
|
|
12
13
|
import { NzResizeDirection, NzResizeEvent } from 'ng-zorro-antd/resizable';
|
|
13
14
|
|
|
@@ -36,7 +37,7 @@ declare class NpDialogService {
|
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
interface AlertData {
|
|
39
|
-
|
|
40
|
+
npType: 'toast' | 'notification';
|
|
40
41
|
state: 'success' | 'info' | 'warning' | 'error';
|
|
41
42
|
title?: string;
|
|
42
43
|
description: string;
|
|
@@ -89,7 +90,7 @@ declare class NpButtonComponent {
|
|
|
89
90
|
container: ElementRef;
|
|
90
91
|
npType: string;
|
|
91
92
|
npSize: string;
|
|
92
|
-
|
|
93
|
+
npClassName: string;
|
|
93
94
|
isLoading: boolean;
|
|
94
95
|
disabled: boolean;
|
|
95
96
|
_ngContent: Element | null;
|
|
@@ -98,13 +99,12 @@ declare class NpButtonComponent {
|
|
|
98
99
|
updateContent(): void;
|
|
99
100
|
onClick(e: any): void;
|
|
100
101
|
static ɵfac: i0.ɵɵFactoryDeclaration<NpButtonComponent, never>;
|
|
101
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NpButtonComponent, "np-button", never, { "npType": { "alias": "npType"; "required": false; }; "npSize": { "alias": "npSize"; "required": false; }; "
|
|
102
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NpButtonComponent, "np-button", never, { "npType": { "alias": "npType"; "required": false; }; "npSize": { "alias": "npSize"; "required": false; }; "npClassName": { "alias": "npClassName"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "ngContent": { "alias": "ngContent"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
102
103
|
}
|
|
103
104
|
|
|
104
105
|
declare class NpCheckboxComponent {
|
|
105
106
|
_input: FormControl;
|
|
106
107
|
set input(value: FormControl | undefined | boolean);
|
|
107
|
-
type: string;
|
|
108
108
|
size: string;
|
|
109
109
|
npType: string;
|
|
110
110
|
isDisabled: boolean;
|
|
@@ -115,7 +115,7 @@ declare class NpCheckboxComponent {
|
|
|
115
115
|
valueChange: EventEmitter<boolean>;
|
|
116
116
|
onChange(event: any): void;
|
|
117
117
|
static ɵfac: i0.ɵɵFactoryDeclaration<NpCheckboxComponent, never>;
|
|
118
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NpCheckboxComponent, "np-checkbox", never, { "input": { "alias": "input"; "required": false; }; "
|
|
118
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NpCheckboxComponent, "np-checkbox", never, { "input": { "alias": "input"; "required": false; }; "size": { "alias": "size"; "required": false; }; "npType": { "alias": "npType"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "groupName": { "alias": "groupName"; "required": false; }; "label": { "alias": "label"; "required": false; }; "description": { "alias": "description"; "required": false; }; "isIndeterminate": { "alias": "isIndeterminate"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
type FormErrorMap = Record<string, string>;
|
|
@@ -145,8 +145,8 @@ declare class NpInputFieldComponent {
|
|
|
145
145
|
_input: FormControl;
|
|
146
146
|
_type: 'password' | 'text' | 'number' | 'string' | 'date' | 'function';
|
|
147
147
|
set input(value: FormControl | undefined);
|
|
148
|
-
set
|
|
149
|
-
get
|
|
148
|
+
set npType(value: typeof this._type);
|
|
149
|
+
get npType(): typeof this._type;
|
|
150
150
|
valueChange: EventEmitter<string | number>;
|
|
151
151
|
iconLeftClick: EventEmitter<void>;
|
|
152
152
|
iconRightClick: EventEmitter<void>;
|
|
@@ -162,7 +162,7 @@ declare class NpInputFieldComponent {
|
|
|
162
162
|
handleIconLeftClick(): void;
|
|
163
163
|
handleIconRightClick(): void;
|
|
164
164
|
static ɵfac: i0.ɵɵFactoryDeclaration<NpInputFieldComponent, [null, { optional: true; }]>;
|
|
165
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NpInputFieldComponent, "np-input-field", never, { "size": { "alias": "size"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "iconRight": { "alias": "iconRight"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "errorMap": { "alias": "errorMap"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "limitValue": { "alias": "limitValue"; "required": false; }; "functionHandler": { "alias": "functionHandler"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "digitsInfo": { "alias": "digitsInfo"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "formatDate": { "alias": "formatDate"; "required": false; }; "input": { "alias": "input"; "required": false; }; "
|
|
165
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NpInputFieldComponent, "np-input-field", never, { "size": { "alias": "size"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "iconRight": { "alias": "iconRight"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "errorMap": { "alias": "errorMap"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "limitValue": { "alias": "limitValue"; "required": false; }; "functionHandler": { "alias": "functionHandler"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "digitsInfo": { "alias": "digitsInfo"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "formatDate": { "alias": "formatDate"; "required": false; }; "input": { "alias": "input"; "required": false; }; "npType": { "alias": "npType"; "required": false; }; }, { "valueChange": "valueChange"; "iconLeftClick": "iconLeftClick"; "iconRightClick": "iconRightClick"; "blur": "blur"; }, never, never, true, never>;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
declare class NpInputTexteraComponent {
|
|
@@ -209,7 +209,7 @@ interface NpDictionaryItem {
|
|
|
209
209
|
nzValue: string;
|
|
210
210
|
nzLabel: string;
|
|
211
211
|
isDisabled?: boolean;
|
|
212
|
-
|
|
212
|
+
npType?: string;
|
|
213
213
|
childrens?: NpDictionaryItem[];
|
|
214
214
|
}
|
|
215
215
|
|
|
@@ -220,7 +220,7 @@ declare enum NpInputMode {
|
|
|
220
220
|
}
|
|
221
221
|
declare class NpSelectComponent {
|
|
222
222
|
npType: string;
|
|
223
|
-
|
|
223
|
+
npClassName: string;
|
|
224
224
|
label?: string;
|
|
225
225
|
hint?: string;
|
|
226
226
|
placeHolder: string;
|
|
@@ -236,7 +236,7 @@ declare class NpSelectComponent {
|
|
|
236
236
|
valueChange: EventEmitter<string>;
|
|
237
237
|
onChangeValue(): void;
|
|
238
238
|
static ɵfac: i0.ɵɵFactoryDeclaration<NpSelectComponent, never>;
|
|
239
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NpSelectComponent, "np-select", never, { "npType": { "alias": "npType"; "required": false; }; "
|
|
239
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NpSelectComponent, "np-select", never, { "npType": { "alias": "npType"; "required": false; }; "npClassName": { "alias": "npClassName"; "required": false; }; "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "placeHolder": { "alias": "placeHolder"; "required": false; }; "labelTemplate": { "alias": "labelTemplate"; "required": false; }; "valueTemplate": { "alias": "valueTemplate"; "required": false; }; "isAllowClear": { "alias": "isAllowClear"; "required": false; }; "iconPrefixClass": { "alias": "iconPrefixClass"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "listItem": { "alias": "listItem"; "required": false; }; "input": { "alias": "input"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
declare enum NpMode {
|
|
@@ -247,7 +247,7 @@ declare enum NpMode {
|
|
|
247
247
|
declare class NpDropdownsComponent {
|
|
248
248
|
npType: string;
|
|
249
249
|
npSize: string;
|
|
250
|
-
|
|
250
|
+
npClassName: string;
|
|
251
251
|
value: string;
|
|
252
252
|
useSearch: boolean;
|
|
253
253
|
alwaysOpen: boolean;
|
|
@@ -266,7 +266,7 @@ declare class NpDropdownsComponent {
|
|
|
266
266
|
onRightIconClick(): void;
|
|
267
267
|
filterList(search: string): void;
|
|
268
268
|
static ɵfac: i0.ɵɵFactoryDeclaration<NpDropdownsComponent, never>;
|
|
269
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NpDropdownsComponent, "np-dropdowns", never, { "npType": { "alias": "npType"; "required": false; }; "npSize": { "alias": "npSize"; "required": false; }; "
|
|
269
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NpDropdownsComponent, "np-dropdowns", never, { "npType": { "alias": "npType"; "required": false; }; "npSize": { "alias": "npSize"; "required": false; }; "npClassName": { "alias": "npClassName"; "required": false; }; "value": { "alias": "value"; "required": false; }; "useSearch": { "alias": "useSearch"; "required": false; }; "alwaysOpen": { "alias": "alwaysOpen"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "list": { "alias": "list"; "required": false; }; }, { "valueChange": "valueChange"; "visible": "visible"; }, never, never, true, never>;
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
interface INpAction {
|
|
@@ -274,7 +274,7 @@ interface INpAction {
|
|
|
274
274
|
classIcon?: string;
|
|
275
275
|
label?: string;
|
|
276
276
|
hidden?: boolean;
|
|
277
|
-
|
|
277
|
+
npClassName?: string;
|
|
278
278
|
onClick?: Function;
|
|
279
279
|
}
|
|
280
280
|
|
|
@@ -284,10 +284,10 @@ interface INpTreeNode {
|
|
|
284
284
|
isSelected?: boolean;
|
|
285
285
|
isChecked?: boolean;
|
|
286
286
|
isIndeterminate?: boolean;
|
|
287
|
-
|
|
287
|
+
npType?: string;
|
|
288
288
|
isActive?: boolean;
|
|
289
289
|
isExpanded?: boolean;
|
|
290
|
-
|
|
290
|
+
npClassName?: string;
|
|
291
291
|
iconCollapsed?: string;
|
|
292
292
|
iconExpanded?: string;
|
|
293
293
|
iconLeaf?: string;
|
|
@@ -316,12 +316,12 @@ interface IFlatTreeNode extends INpTreeNode {
|
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
318
|
declare class NpTreeComponent implements OnInit {
|
|
319
|
-
|
|
319
|
+
npType: 'checkbox' | 'icon' | 'default';
|
|
320
320
|
expandPosition: 'left' | 'right';
|
|
321
321
|
notCompressMin: number;
|
|
322
322
|
isCompactActions: boolean;
|
|
323
323
|
autoHideActions: boolean;
|
|
324
|
-
|
|
324
|
+
npClassName: string;
|
|
325
325
|
_list: INpTreeNode[] | undefined;
|
|
326
326
|
_flattenList: INpTreeNode[] | undefined;
|
|
327
327
|
set list(value: INpTreeNode[] | undefined);
|
|
@@ -348,14 +348,14 @@ declare class NpTreeComponent implements OnInit {
|
|
|
348
348
|
[key: string]: boolean;
|
|
349
349
|
};
|
|
350
350
|
static ɵfac: i0.ɵɵFactoryDeclaration<NpTreeComponent, never>;
|
|
351
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NpTreeComponent, "np-tree", never, { "
|
|
351
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NpTreeComponent, "np-tree", never, { "npType": { "alias": "npType"; "required": false; }; "expandPosition": { "alias": "expandPosition"; "required": false; }; "notCompressMin": { "alias": "notCompressMin"; "required": false; }; "isCompactActions": { "alias": "isCompactActions"; "required": false; }; "autoHideActions": { "alias": "autoHideActions"; "required": false; }; "npClassName": { "alias": "npClassName"; "required": false; }; "list": { "alias": "list"; "required": false; }; "input": { "alias": "input"; "required": false; }; "itemActiveId": { "alias": "itemActiveId"; "required": false; }; "useLine": { "alias": "useLine"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
352
352
|
}
|
|
353
353
|
|
|
354
354
|
declare class NpPaginationComponent implements OnChanges, OnInit {
|
|
355
|
-
|
|
355
|
+
npType: 'basic' | 'outlined' | 'text' | 'simple' | 'full';
|
|
356
356
|
totalItems: number;
|
|
357
357
|
pageSize: number[];
|
|
358
|
-
|
|
358
|
+
npReverse: boolean;
|
|
359
359
|
pageSizeChange: EventEmitter<number>;
|
|
360
360
|
pageTotal: number;
|
|
361
361
|
private _pageSizeValue;
|
|
@@ -376,7 +376,7 @@ declare class NpPaginationComponent implements OnChanges, OnInit {
|
|
|
376
376
|
dropdownStyleMap: {
|
|
377
377
|
[key: string]: any;
|
|
378
378
|
};
|
|
379
|
-
toggleDropdownByType(
|
|
379
|
+
toggleDropdownByType(npType: string): void;
|
|
380
380
|
onSelectPageSize(size: number): void;
|
|
381
381
|
getDisplayedPages(): (number | string)[];
|
|
382
382
|
prevPage(): void;
|
|
@@ -385,7 +385,7 @@ declare class NpPaginationComponent implements OnChanges, OnInit {
|
|
|
385
385
|
onDocumentClick(event: MouseEvent): void;
|
|
386
386
|
onWindowScroll(): void;
|
|
387
387
|
static ɵfac: i0.ɵɵFactoryDeclaration<NpPaginationComponent, never>;
|
|
388
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NpPaginationComponent, "np-pagination", never, { "
|
|
388
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NpPaginationComponent, "np-pagination", never, { "npType": { "alias": "npType"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "npReverse": { "alias": "npReverse"; "required": false; }; "pageIndex": { "alias": "pageIndex"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; }, { "pageSizeChange": "pageSizeChange"; "pageIndexChange": "pageIndexChange"; }, never, never, true, never>;
|
|
389
389
|
}
|
|
390
390
|
|
|
391
391
|
declare class NpScrollbarComponent {
|
|
@@ -405,7 +405,7 @@ declare class NpAlertComponent {
|
|
|
405
405
|
private el;
|
|
406
406
|
private renderer;
|
|
407
407
|
private _alertService;
|
|
408
|
-
|
|
408
|
+
npType: 'notification' | 'toast';
|
|
409
409
|
state: 'success' | 'info' | 'warning' | 'error';
|
|
410
410
|
description: string;
|
|
411
411
|
title?: string;
|
|
@@ -428,12 +428,12 @@ declare class NpAlertComponent {
|
|
|
428
428
|
color: string;
|
|
429
429
|
};
|
|
430
430
|
static ɵfac: i0.ɵɵFactoryDeclaration<NpAlertComponent, never>;
|
|
431
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NpAlertComponent, "np-alert", never, { "
|
|
431
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NpAlertComponent, "np-alert", never, { "npType": { "alias": "npType"; "required": false; }; "state": { "alias": "state"; "required": false; }; "description": { "alias": "description"; "required": false; }; "title": { "alias": "title"; "required": false; }; "message": { "alias": "message"; "required": false; }; "autoHideDelay": { "alias": "autoHideDelay"; "required": false; }; "autoHide": { "alias": "autoHide"; "required": false; }; "isFromService": { "alias": "isFromService"; "required": false; }; }, {}, never, never, true, never>;
|
|
432
432
|
}
|
|
433
433
|
|
|
434
434
|
declare class NpTooltipComponent {
|
|
435
435
|
private renderer;
|
|
436
|
-
|
|
436
|
+
npType: 'primary' | 'secondary';
|
|
437
437
|
text: string;
|
|
438
438
|
descriptions?: string;
|
|
439
439
|
position?: string;
|
|
@@ -445,7 +445,7 @@ declare class NpTooltipComponent {
|
|
|
445
445
|
updateContent(): void;
|
|
446
446
|
get tooltipColor(): string;
|
|
447
447
|
static ɵfac: i0.ɵɵFactoryDeclaration<NpTooltipComponent, never>;
|
|
448
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NpTooltipComponent, "np-tooltip", never, { "
|
|
448
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NpTooltipComponent, "np-tooltip", never, { "npType": { "alias": "npType"; "required": false; }; "text": { "alias": "text"; "required": false; }; "descriptions": { "alias": "descriptions"; "required": false; }; "position": { "alias": "position"; "required": false; }; "tooltipVisible": { "alias": "tooltipVisible"; "required": false; }; "ngContent": { "alias": "ngContent"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
449
449
|
}
|
|
450
450
|
|
|
451
451
|
declare enum ETypeNpBreadcrumb {
|
|
@@ -483,10 +483,10 @@ declare class NpBreadcrumbComponent implements OnInit, AfterViewInit {
|
|
|
483
483
|
}
|
|
484
484
|
|
|
485
485
|
declare class NpProgressBarComponent {
|
|
486
|
-
|
|
486
|
+
npType: string;
|
|
487
487
|
percent: number;
|
|
488
488
|
static ɵfac: i0.ɵɵFactoryDeclaration<NpProgressBarComponent, never>;
|
|
489
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NpProgressBarComponent, "np-progress-bar", never, { "
|
|
489
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NpProgressBarComponent, "np-progress-bar", never, { "npType": { "alias": "npType"; "required": false; }; "percent": { "alias": "percent"; "required": false; }; }, {}, never, never, true, never>;
|
|
490
490
|
}
|
|
491
491
|
|
|
492
492
|
declare class NpSliderComponent {
|
|
@@ -514,7 +514,7 @@ declare class NpLoadingIndicatorComponent {
|
|
|
514
514
|
interface INpTableColumn {
|
|
515
515
|
key: string;
|
|
516
516
|
label: string;
|
|
517
|
-
|
|
517
|
+
npClassName?: string;
|
|
518
518
|
headerTemplate?: TemplateRef<any>;
|
|
519
519
|
template?: TemplateRef<any>;
|
|
520
520
|
sortFn?: (a: any, b: any) => number;
|
|
@@ -524,6 +524,7 @@ interface INpTableColumn {
|
|
|
524
524
|
filterList?: string[];
|
|
525
525
|
filterListAfterSearch?: string[];
|
|
526
526
|
isFilterAPI?: boolean;
|
|
527
|
+
isGroupColumn?: boolean;
|
|
527
528
|
}
|
|
528
529
|
|
|
529
530
|
declare class NpTableComponent {
|
|
@@ -571,21 +572,27 @@ declare class NpTableComponent {
|
|
|
571
572
|
_columns: INpTableColumn[];
|
|
572
573
|
set columns(value: INpTableColumn[]);
|
|
573
574
|
get columns(): INpTableColumn[];
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
575
|
+
set dataSource(value: any[]);
|
|
576
|
+
set pageSize(value: number[]);
|
|
577
|
+
get pageSize(): number[];
|
|
578
|
+
npSelectableType: 'checkbox' | 'radio' | null;
|
|
579
|
+
npSortable: boolean;
|
|
580
|
+
npFilterable: boolean;
|
|
581
|
+
npDeleteable: boolean;
|
|
582
|
+
npShowPagination: boolean;
|
|
583
|
+
npPaginationType: 'basic' | 'outlined' | 'text' | 'simple' | 'full';
|
|
580
584
|
state: 'error' | 'loading' | 'normal';
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
585
|
+
npClassName: string;
|
|
586
|
+
npLeftClass: string;
|
|
587
|
+
npRightClass: string;
|
|
588
|
+
npFixedColumnRange: [number, number] | null;
|
|
589
|
+
npScrollWidth: string;
|
|
590
|
+
npScrollHeight: string;
|
|
591
|
+
npReverse: boolean;
|
|
592
|
+
npBordered: boolean;
|
|
593
|
+
npCustomRowTemplate?: TemplateRef<any>;
|
|
594
|
+
npCustomRowCondition?: (row: any, index: number) => boolean;
|
|
595
|
+
npDraggable: boolean;
|
|
589
596
|
deleteSelectedRows: EventEmitter<any[]>;
|
|
590
597
|
sortChange: EventEmitter<{
|
|
591
598
|
key: string;
|
|
@@ -598,9 +605,7 @@ declare class NpTableComponent {
|
|
|
598
605
|
row: any;
|
|
599
606
|
checked: boolean;
|
|
600
607
|
}>;
|
|
601
|
-
|
|
602
|
-
set pageSize(value: number[]);
|
|
603
|
-
get pageSize(): number[];
|
|
608
|
+
npRowDrop: EventEmitter<any[]>;
|
|
604
609
|
ngAfterViewInit(): void;
|
|
605
610
|
ngOnInit(): void;
|
|
606
611
|
get fixedLeftColumns(): INpTableColumn[];
|
|
@@ -619,12 +624,15 @@ declare class NpTableComponent {
|
|
|
619
624
|
onRefresh(): void;
|
|
620
625
|
onContactSupport(): void;
|
|
621
626
|
toggleFilter(key: string): void;
|
|
627
|
+
onClearSearch(colKey: string): void;
|
|
622
628
|
shouldShowFilterCheck(colKey: string): boolean;
|
|
623
629
|
getDistinctFilteredValues(colKey: string): any[];
|
|
624
630
|
getFilteredColumnValues(colKey: string): any[];
|
|
625
631
|
isChecked(colKey: string, value: any): FormControl;
|
|
626
632
|
onToggleFilter(colKey: string, value: any, checked: boolean): void;
|
|
627
633
|
onClearFilter(colKey: string): void;
|
|
634
|
+
onRowDrop(event: CdkDragDrop<any[]>): void;
|
|
635
|
+
onDragStarted(event: CdkDragStart): void;
|
|
628
636
|
private setupScrollSync;
|
|
629
637
|
private updatePaginationWidth;
|
|
630
638
|
private syncRowHeight;
|
|
@@ -632,7 +640,7 @@ declare class NpTableComponent {
|
|
|
632
640
|
onScrollCloseFilter(): void;
|
|
633
641
|
onResize(): void;
|
|
634
642
|
static ɵfac: i0.ɵɵFactoryDeclaration<NpTableComponent, never>;
|
|
635
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NpTableComponent, "np-table", never, { "columns": { "alias": "columns"; "required": false; }; "
|
|
643
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NpTableComponent, "np-table", never, { "columns": { "alias": "columns"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "npSelectableType": { "alias": "npSelectableType"; "required": false; }; "npSortable": { "alias": "npSortable"; "required": false; }; "npFilterable": { "alias": "npFilterable"; "required": false; }; "npDeleteable": { "alias": "npDeleteable"; "required": false; }; "npShowPagination": { "alias": "npShowPagination"; "required": false; }; "npPaginationType": { "alias": "npPaginationType"; "required": false; }; "state": { "alias": "state"; "required": false; }; "npClassName": { "alias": "npClassName"; "required": false; }; "npLeftClass": { "alias": "npLeftClass"; "required": false; }; "npRightClass": { "alias": "npRightClass"; "required": false; }; "npFixedColumnRange": { "alias": "npFixedColumnRange"; "required": false; }; "npScrollWidth": { "alias": "npScrollWidth"; "required": false; }; "npScrollHeight": { "alias": "npScrollHeight"; "required": false; }; "npReverse": { "alias": "npReverse"; "required": false; }; "npBordered": { "alias": "npBordered"; "required": false; }; "npCustomRowTemplate": { "alias": "npCustomRowTemplate"; "required": false; }; "npCustomRowCondition": { "alias": "npCustomRowCondition"; "required": false; }; "npDraggable": { "alias": "npDraggable"; "required": false; }; }, { "deleteSelectedRows": "deleteSelectedRows"; "sortChange": "sortChange"; "filterChange": "filterChange"; "rowChecked": "rowChecked"; "npRowDrop": "npRowDrop"; }, never, never, true, never>;
|
|
636
644
|
}
|
|
637
645
|
|
|
638
646
|
interface INpTab {
|
|
@@ -649,9 +657,9 @@ declare class NpTabComponent implements OnInit {
|
|
|
649
657
|
scrollContainerRef: ElementRef;
|
|
650
658
|
tabItemRefs: QueryList<ElementRef>;
|
|
651
659
|
tabs: INpTab[];
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
tabActive: string;
|
|
660
|
+
npClassName: string;
|
|
661
|
+
subnpClassName: string;
|
|
662
|
+
tabActive: string | number;
|
|
655
663
|
isLink: boolean;
|
|
656
664
|
npStyle: 'button' | 'underline';
|
|
657
665
|
npDirection: 'horizontal' | 'vertical';
|
|
@@ -668,11 +676,10 @@ declare class NpTabComponent implements OnInit {
|
|
|
668
676
|
updateScrollButtons: () => void;
|
|
669
677
|
scrollLeft(): void;
|
|
670
678
|
scrollRight(): void;
|
|
671
|
-
ngAfterViewInit(): void;
|
|
672
679
|
ngOnDestroy(): void;
|
|
673
680
|
onResize(): void;
|
|
674
681
|
static ɵfac: i0.ɵɵFactoryDeclaration<NpTabComponent, never>;
|
|
675
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NpTabComponent, "np-tab", never, { "tabs": { "alias": "tabs"; "required": false; }; "
|
|
682
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NpTabComponent, "np-tab", never, { "tabs": { "alias": "tabs"; "required": false; }; "npClassName": { "alias": "npClassName"; "required": false; }; "subnpClassName": { "alias": "subnpClassName"; "required": false; }; "tabActive": { "alias": "tabActive"; "required": false; }; "isLink": { "alias": "isLink"; "required": false; }; "npStyle": { "alias": "npStyle"; "required": false; }; "npDirection": { "alias": "npDirection"; "required": false; }; "minWidthItem": { "alias": "minWidthItem"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
|
|
676
683
|
}
|
|
677
684
|
|
|
678
685
|
declare class NpActionBarComponent {
|