@neoprototype/neop-ui-lib 1.1.1 → 1.1.2

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.
Files changed (46) hide show
  1. package/fesm2022/neoprototype-neop-ui-lib.mjs +98 -98
  2. package/fesm2022/neoprototype-neop-ui-lib.mjs.map +1 -1
  3. package/package.json +3 -3
  4. package/types/neoprototype-neop-ui-lib.d.ts +904 -0
  5. package/index.d.ts +0 -5
  6. package/lib/components/basic/basic.module.d.ts +0 -12
  7. package/lib/components/basic/np-action-bar/np-action-bar.component.d.ts +0 -56
  8. package/lib/components/basic/np-alert/np-alert.component.d.ts +0 -32
  9. package/lib/components/basic/np-breadcrumb/np-breadcrumb.component.d.ts +0 -32
  10. package/lib/components/basic/np-button/np-button.component.d.ts +0 -18
  11. package/lib/components/basic/np-checkbox/np-checkbox.component.d.ts +0 -19
  12. package/lib/components/basic/np-dropdowns/np-dropdowns.component.d.ts +0 -33
  13. package/lib/components/basic/np-input-field/np-input-field.component.d.ts +0 -48
  14. package/lib/components/basic/np-input-textera/np-input-textera.component.d.ts +0 -26
  15. package/lib/components/basic/np-loading-indicator/np-loading-indicator.component.d.ts +0 -7
  16. package/lib/components/basic/np-modal/np-modal.component.d.ts +0 -34
  17. package/lib/components/basic/np-pagination/np-pagination.component.d.ts +0 -38
  18. package/lib/components/basic/np-progress-bar/np-progress-bar.component.d.ts +0 -7
  19. package/lib/components/basic/np-resize/np-resize.component.d.ts +0 -27
  20. package/lib/components/basic/np-scrollbar/np-scrollbar.component.d.ts +0 -14
  21. package/lib/components/basic/np-select/np-select.component.d.ts +0 -29
  22. package/lib/components/basic/np-slider/np-slider.component.d.ts +0 -16
  23. package/lib/components/basic/np-tab/np-tab.component.d.ts +0 -35
  24. package/lib/components/basic/np-table/np-table.component.d.ts +0 -113
  25. package/lib/components/basic/np-toggle/np-toggle.component.d.ts +0 -15
  26. package/lib/components/basic/np-tooltip/np-tooltip.component.d.ts +0 -18
  27. package/lib/components/basic/np-tree/np-tree.component.d.ts +0 -48
  28. package/lib/components/basic/np-typography/np-typography.component.d.ts +0 -15
  29. package/lib/components/modal/confirm-template/confirm-template.component.d.ts +0 -32
  30. package/lib/components/modal/np-dialog/np-dialog.component.d.ts +0 -10
  31. package/lib/components/neop-component.module.d.ts +0 -7
  32. package/lib/config/form-error-config.d.ts +0 -3
  33. package/lib/enum/basic/breadcrumb.enum.d.ts +0 -5
  34. package/lib/enum/np-breadcrumb.enum.d.ts +0 -4
  35. package/lib/interfaces/default.interface.d.ts +0 -5
  36. package/lib/interfaces/dictionary-item.interface.d.ts +0 -10
  37. package/lib/interfaces/np-tab.interface.d.ts +0 -5
  38. package/lib/interfaces/np-table.interface.d.ts +0 -15
  39. package/lib/interfaces/np-tree.interface.d.ts +0 -29
  40. package/lib/interfaces/np.actions.d.ts +0 -8
  41. package/lib/models/default.mode.d.ts +0 -68
  42. package/lib/services/np-alert.service.d.ts +0 -29
  43. package/lib/services/np-dialog.service.d.ts +0 -11
  44. package/lib/services/test.service.d.ts +0 -8
  45. package/lib/services/theme.service.d.ts +0 -9
  46. package/public-api.d.ts +0 -38
package/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@neoprototype/neop-ui-lib" />
5
- export * from './public-api';
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "./np-checkbox/np-checkbox.component";
4
- import * as i3 from "./np-input-field/np-input-field.component";
5
- import * as i4 from "./np-button/np-button.component";
6
- import * as i5 from "./np-typography/np-typography.component";
7
- import * as i6 from "./np-input-textera/np-input-textera.component";
8
- export declare class BasicModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<BasicModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<BasicModule, never, [typeof i1.CommonModule, typeof i2.NpCheckboxComponent, typeof i3.NpInputFieldComponent, typeof i4.NpButtonComponent, typeof i5.NpTypographyComponent, typeof i6.NpInputTexteraComponent], [typeof i2.NpCheckboxComponent, typeof i3.NpInputFieldComponent, typeof i4.NpButtonComponent, typeof i5.NpTypographyComponent, typeof i6.NpInputTexteraComponent]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<BasicModule>;
12
- }
@@ -1,56 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import { INpAction } from '../../../interfaces/np.actions';
3
- import * as i0 from "@angular/core";
4
- export declare class NpActionBarComponent {
5
- actions: INpAction[];
6
- data: any;
7
- notCompressMin: number;
8
- isNotResponsive: boolean;
9
- triggerBtn: ElementRef;
10
- resizeContainer: ElementRef;
11
- scrollWrapper: ElementRef;
12
- unCompressedActions: INpAction[];
13
- unCompressedActions2: INpAction[];
14
- compressedActions: INpAction[];
15
- isMoreOpen: boolean;
16
- dropdownStyles: {
17
- top: string;
18
- left: string;
19
- };
20
- countIcon: number;
21
- countResize: number;
22
- canPrevious: boolean;
23
- canNext: boolean;
24
- isOverflowing: boolean;
25
- isPreviousDisable: boolean;
26
- isNextDisable: boolean;
27
- isReturn: boolean;
28
- valueStart: number;
29
- isCheckValue: boolean;
30
- scrollMaxWidth: number | null;
31
- totalActionWidth: number;
32
- lastResizeWidth: number;
33
- isResize: boolean;
34
- iconWidth: number;
35
- visibleIcons: number;
36
- private resizeStack;
37
- private resizeObserver;
38
- ngOnInit(): void;
39
- ngAfterViewInit(): void;
40
- private setupResizeObserver;
41
- ngOnDestroy(): void;
42
- private splitActions;
43
- trigger(action: INpAction): void;
44
- showMoreActions(): void;
45
- onClickOutside(event: MouseEvent): void;
46
- onWindowScroll(): void;
47
- onResize(): void;
48
- private updateScrollState;
49
- updateBtnScroll(): void;
50
- private attachScrollListener;
51
- scrollLeft(): void;
52
- scrollRight(): void;
53
- getScrollStep(): number;
54
- static ɵfac: i0.ɵɵFactoryDeclaration<NpActionBarComponent, never>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<NpActionBarComponent, "np-action-bar", never, { "actions": { "alias": "actions"; "required": false; }; "data": { "alias": "data"; "required": false; }; "notCompressMin": { "alias": "notCompressMin"; "required": false; }; "isNotResponsive": { "alias": "isNotResponsive"; "required": false; }; }, {}, never, never, true, never>;
56
- }
@@ -1,32 +0,0 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
2
- import { NpAlertService } from '../../../services/np-alert.service';
3
- import * as i0 from "@angular/core";
4
- export declare class NpAlertComponent {
5
- private el;
6
- private renderer;
7
- private _alertService;
8
- type: 'notification' | 'toast';
9
- state: 'success' | 'info' | 'warning' | 'error';
10
- description: string;
11
- title?: string;
12
- message?: string;
13
- autoHideDelay: number;
14
- autoHide: boolean;
15
- isFromService: boolean;
16
- isMessageVisible: boolean;
17
- opacity: number;
18
- padding: string;
19
- constructor(el: ElementRef, renderer: Renderer2, _alertService: NpAlertService);
20
- ngOnInit(): void;
21
- startFadeOut(): void;
22
- closeAlert(): void;
23
- removeSelf(): void;
24
- showMessege(): void;
25
- getIcon(): string;
26
- getIconNotification(): {
27
- icon: string;
28
- color: string;
29
- };
30
- static ɵfac: i0.ɵɵFactoryDeclaration<NpAlertComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<NpAlertComponent, "np-alert", never, { "type": { "alias": "type"; "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>;
32
- }
@@ -1,32 +0,0 @@
1
- import { AfterViewInit, OnInit } from '@angular/core';
2
- import { ActivatedRoute, Router } from '@angular/router';
3
- import { ETypeNpBreadcrumb } from '../../../enum/basic/breadcrumb.enum';
4
- import * as i0 from "@angular/core";
5
- interface INpBreadcrumb {
6
- label: string;
7
- url: string;
8
- }
9
- export declare class NpBreadcrumbComponent implements OnInit, AfterViewInit {
10
- private _Router;
11
- private _ActivatedRoute;
12
- npType: string;
13
- isBorder: boolean;
14
- iconBreakDown: string;
15
- isBgLast: boolean;
16
- isGetFromUrl: boolean;
17
- isShowExpand: boolean;
18
- breadcrumbs: INpBreadcrumb[] | any;
19
- isExpanded: boolean;
20
- ETypeNpBreadcrumb: typeof ETypeNpBreadcrumb;
21
- idBreadcrum: string;
22
- constructor(_Router: Router, _ActivatedRoute: ActivatedRoute);
23
- ngOnInit(): Promise<void>;
24
- ngAfterViewInit(): void;
25
- getBreadcrumbs(): Promise<void>;
26
- private createBreadcrumbs;
27
- onRedirect(item: INpBreadcrumb | null): void;
28
- onExpand(): void;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<NpBreadcrumbComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<NpBreadcrumbComponent, "np-breadcrumb", never, { "npType": { "alias": "npType"; "required": false; }; "isBorder": { "alias": "isBorder"; "required": false; }; "iconBreakDown": { "alias": "iconBreakDown"; "required": false; }; "isBgLast": { "alias": "isBgLast"; "required": false; }; "isGetFromUrl": { "alias": "isGetFromUrl"; "required": false; }; "isShowExpand": { "alias": "isShowExpand"; "required": false; }; "breadcrumbs": { "alias": "breadcrumbs"; "required": false; }; }, {}, never, never, true, never>;
31
- }
32
- export {};
@@ -1,18 +0,0 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NpButtonComponent {
4
- private renderer;
5
- container: ElementRef;
6
- npType: string;
7
- npSize: string;
8
- className: string;
9
- isLoading: boolean;
10
- disabled: boolean;
11
- _ngContent: Element | null;
12
- set ngContent(value: Element);
13
- constructor(renderer: Renderer2);
14
- updateContent(): void;
15
- onClick(e: any): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<NpButtonComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<NpButtonComponent, "np-button", never, { "npType": { "alias": "npType"; "required": false; }; "npSize": { "alias": "npSize"; "required": false; }; "className": { "alias": "className"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "ngContent": { "alias": "ngContent"; "required": false; }; }, {}, never, ["*"], true, never>;
18
- }
@@ -1,19 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class NpCheckboxComponent {
5
- _input: FormControl;
6
- set input(value: FormControl | undefined | boolean);
7
- type: string;
8
- size: string;
9
- npType: string;
10
- isDisabled: boolean;
11
- groupName: string;
12
- label?: string;
13
- description?: string;
14
- isIndeterminate: boolean;
15
- valueChange: EventEmitter<boolean>;
16
- onChange(event: any): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<NpCheckboxComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<NpCheckboxComponent, "np-checkbox", never, { "input": { "alias": "input"; "required": false; }; "type": { "alias": "type"; "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>;
19
- }
@@ -1,33 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
3
- import { NpDictionaryItem } from '../../../interfaces/dictionary-item.interface';
4
- import * as i0 from "@angular/core";
5
- export declare enum NpMode {
6
- DEFAULT = "default",
7
- MULTIPLE = "multiple",
8
- TAGS = "tags"
9
- }
10
- export declare class NpDropdownsComponent {
11
- npType: string;
12
- npSize: string;
13
- className: string;
14
- value: string;
15
- useSearch: boolean;
16
- alwaysOpen: boolean;
17
- placement: 'bottomLeft' | 'bottomCenter' | 'bottomRight' | 'topLeft' | 'topCenter' | 'topRight';
18
- list: NpDictionaryItem[] | any;
19
- valueChange: EventEmitter<NpDictionaryItem>;
20
- visible: boolean;
21
- searchControl: FormControl<string | null>;
22
- originalList: NpDictionaryItem[];
23
- filteredList: NpDictionaryItem[];
24
- selectedItem: NpDictionaryItem | null;
25
- ngOnInit(): void;
26
- clickMe(): void;
27
- change(value: boolean): void;
28
- onSelectItem(item: NpDictionaryItem): void;
29
- onRightIconClick(): void;
30
- filterList(search: string): void;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<NpDropdownsComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<NpDropdownsComponent, "np-dropdowns", never, { "npType": { "alias": "npType"; "required": false; }; "npSize": { "alias": "npSize"; "required": false; }; "className": { "alias": "className"; "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>;
33
- }
@@ -1,48 +0,0 @@
1
- import { DecimalPipe } from '@angular/common';
2
- import { ElementRef, EventEmitter } from '@angular/core';
3
- import { FormControl } from '@angular/forms';
4
- import { FormErrorMap } from '../../../config/form-error-config';
5
- import * as i0 from "@angular/core";
6
- export declare class NpInputFieldComponent {
7
- private decimalPipe;
8
- private defaultErrorMap?;
9
- constructor(decimalPipe: DecimalPipe, defaultErrorMap?: FormErrorMap | undefined);
10
- inputRef: ElementRef<HTMLInputElement>;
11
- size: string;
12
- label?: string;
13
- placeholder?: string;
14
- iconLeft?: string;
15
- iconRight?: string;
16
- hint?: string;
17
- errorMap?: FormErrorMap;
18
- disabled: boolean;
19
- limitValue?: number;
20
- functionHandler?: Function;
21
- submitted: boolean;
22
- digitsInfo: string;
23
- locale: string;
24
- formatDate: string;
25
- inputType: string;
26
- passwordVisible: boolean;
27
- _input: FormControl;
28
- _type: 'password' | 'text' | 'number' | 'string' | 'date' | 'function';
29
- set input(value: FormControl | undefined);
30
- set type(value: typeof this._type);
31
- get type(): typeof this._type;
32
- valueChange: EventEmitter<string | number>;
33
- iconLeftClick: EventEmitter<void>;
34
- iconRightClick: EventEmitter<void>;
35
- blur: EventEmitter<FocusEvent>;
36
- onChangeValue(): void;
37
- updateInputType(): void;
38
- togglePassword(): void;
39
- get computedStatus(): string | undefined;
40
- get errorMessageFromInput(): string | null;
41
- handleKeyPress(event: KeyboardEvent): void;
42
- onInputChange(event: Event): void;
43
- onBlur(event?: FocusEvent): void;
44
- handleIconLeftClick(): void;
45
- handleIconRightClick(): void;
46
- static ɵfac: i0.ɵɵFactoryDeclaration<NpInputFieldComponent, [null, { optional: true; }]>;
47
- 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; }; "type": { "alias": "type"; "required": false; }; }, { "valueChange": "valueChange"; "iconLeftClick": "iconLeftClick"; "iconRightClick": "iconRightClick"; "blur": "blur"; }, never, never, true, never>;
48
- }
@@ -1,26 +0,0 @@
1
- import { FormControl } from '@angular/forms';
2
- import { FormErrorMap } from '../../../config/form-error-config';
3
- import * as i0 from "@angular/core";
4
- export declare class NpInputTexteraComponent {
5
- private defaultErrorMap?;
6
- constructor(defaultErrorMap?: FormErrorMap | undefined);
7
- label: string;
8
- placeholder?: string;
9
- hint?: string;
10
- disabled: boolean;
11
- value?: string;
12
- limitValue?: number;
13
- submitted: boolean;
14
- rowSize: {
15
- minRows: number;
16
- maxRows: number;
17
- };
18
- _input: FormControl;
19
- currentLength: number;
20
- set input(value: FormControl | undefined);
21
- onTextareaInput(event: Event): void;
22
- get computedStatus(): string | undefined;
23
- get errorMessageFromInput(): string | null;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<NpInputTexteraComponent, [{ optional: true; }]>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<NpInputTexteraComponent, "np-input-textera", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "limitValue": { "alias": "limitValue"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "rowSize": { "alias": "rowSize"; "required": false; }; "input": { "alias": "input"; "required": false; }; }, {}, never, never, true, never>;
26
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class NpLoadingIndicatorComponent {
3
- npType: string;
4
- npSize: string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<NpLoadingIndicatorComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<NpLoadingIndicatorComponent, "np-loading-indicator", never, { "npType": { "alias": "npType"; "required": false; }; "npSize": { "alias": "npSize"; "required": false; }; }, {}, never, never, true, never>;
7
- }
@@ -1,34 +0,0 @@
1
- import { EventEmitter, TemplateRef } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class NpModalComponent {
5
- modalButton: string | TemplateRef<any>;
6
- modalTitle: string | TemplateRef<any>;
7
- modalDescriptions: string | TemplateRef<any>;
8
- modalType: 'confirmation' | 'notification';
9
- modalState: 'error' | 'warning' | 'success' | 'default';
10
- useIcon: boolean;
11
- useCheckBox: boolean;
12
- cancelText: string;
13
- okText: string;
14
- modalContent?: TemplateRef<any>;
15
- modalFooter?: TemplateRef<any>;
16
- loadingOK: boolean;
17
- ok: EventEmitter<void>;
18
- cancel: EventEmitter<void>;
19
- checkbox: EventEmitter<{
20
- checkboxValue: boolean;
21
- }>;
22
- isVisible: boolean;
23
- isOkLoading: boolean;
24
- modalWidth: number;
25
- checkboxControl: FormControl<boolean | null>;
26
- ngOnInit(): void;
27
- isTemplate(value: any): value is TemplateRef<any>;
28
- get iconPath(): string;
29
- showModal(): void;
30
- handleOk(): void;
31
- handleCancel(): void;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<NpModalComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<NpModalComponent, "np-modal", never, { "modalButton": { "alias": "modalButton"; "required": false; }; "modalTitle": { "alias": "modalTitle"; "required": false; }; "modalDescriptions": { "alias": "modalDescriptions"; "required": false; }; "modalType": { "alias": "modalType"; "required": false; }; "modalState": { "alias": "modalState"; "required": false; }; "useIcon": { "alias": "useIcon"; "required": false; }; "useCheckBox": { "alias": "useCheckBox"; "required": false; }; "cancelText": { "alias": "cancelText"; "required": false; }; "okText": { "alias": "okText"; "required": false; }; "modalContent": { "alias": "modalContent"; "required": false; }; "modalFooter": { "alias": "modalFooter"; "required": false; }; "loadingOK": { "alias": "loadingOK"; "required": false; }; }, { "ok": "ok"; "cancel": "cancel"; "checkbox": "checkbox"; }, never, never, true, never>;
34
- }
@@ -1,38 +0,0 @@
1
- import { ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NpPaginationComponent implements OnChanges, OnInit {
4
- type: 'basic' | 'outlined' | 'text' | 'simple' | 'full';
5
- totalItems: number;
6
- pageSize: number[];
7
- isReverse: boolean;
8
- pageSizeChange: EventEmitter<number>;
9
- pageTotal: number;
10
- private _pageSizeValue;
11
- private _pageIndex;
12
- isDropdownOpenMap: {
13
- [key: string]: boolean;
14
- };
15
- get pageIndex(): number;
16
- set pageIndex(value: number);
17
- get pageSizeOptions(): number;
18
- set pageSizeOptions(value: number);
19
- pageIndexChange: EventEmitter<number>;
20
- triggerRef: ElementRef;
21
- ngOnInit(): void;
22
- ngOnChanges(changes: SimpleChanges): void;
23
- calculatePageTotal(): void;
24
- onPageSizeChange(newSize: string): void;
25
- dropdownStyleMap: {
26
- [key: string]: any;
27
- };
28
- toggleDropdownByType(type: string): void;
29
- onSelectPageSize(size: number): void;
30
- getDisplayedPages(): (number | string)[];
31
- prevPage(): void;
32
- nextPage(): void;
33
- changePage(newPage: number | string): void;
34
- onDocumentClick(event: MouseEvent): void;
35
- onWindowScroll(): void;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<NpPaginationComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<NpPaginationComponent, "np-pagination", never, { "type": { "alias": "type"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "isReverse": { "alias": "isReverse"; "required": false; }; "pageIndex": { "alias": "pageIndex"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; }, { "pageSizeChange": "pageSizeChange"; "pageIndexChange": "pageIndexChange"; }, never, never, true, never>;
38
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class NpProgressBarComponent {
3
- type: string;
4
- percent: number;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<NpProgressBarComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<NpProgressBarComponent, "np-progress-bar", never, { "type": { "alias": "type"; "required": false; }; "percent": { "alias": "percent"; "required": false; }; }, {}, never, never, true, never>;
7
- }
@@ -1,27 +0,0 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
2
- import { NzIconService } from 'ng-zorro-antd/icon';
3
- import { NzResizeDirection, NzResizeEvent } from 'ng-zorro-antd/resizable';
4
- import * as i0 from "@angular/core";
5
- export declare class NpResizeComponent {
6
- private renderer;
7
- private iconService;
8
- container: ElementRef;
9
- constructor(renderer: Renderer2, iconService: NzIconService);
10
- width: number;
11
- height: number;
12
- maxWidth?: number;
13
- maxHeight?: number;
14
- minWidth?: number;
15
- minHeight?: number;
16
- directions: NzResizeDirection[];
17
- isDisable: boolean;
18
- id: number;
19
- resizeDirection: NzResizeDirection | null;
20
- _ngContent: Element | null;
21
- ngZorroIconLiteral: string;
22
- set ngContent(value: Element);
23
- onResize({ width, height, direction }: NzResizeEvent): void;
24
- updateContent(): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<NpResizeComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<NpResizeComponent, "np-resize", never, { "width": { "alias": "width"; "required": true; }; "height": { "alias": "height"; "required": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "directions": { "alias": "directions"; "required": false; }; "isDisable": { "alias": "isDisable"; "required": false; }; "ngContent": { "alias": "ngContent"; "required": false; }; }, {}, never, ["*"], true, never>;
27
- }
@@ -1,14 +0,0 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NpScrollbarComponent {
4
- private renderer;
5
- container: ElementRef;
6
- width?: string;
7
- height?: string;
8
- _ngContent: Element | null;
9
- set ngContent(value: Element);
10
- constructor(renderer: Renderer2);
11
- updateContent(): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<NpScrollbarComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<NpScrollbarComponent, "np-scrollbar", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "ngContent": { "alias": "ngContent"; "required": false; }; }, {}, never, ["*"], true, never>;
14
- }
@@ -1,29 +0,0 @@
1
- import { EventEmitter, TemplateRef } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
3
- import { NpDictionaryItem } from '../../../interfaces/dictionary-item.interface';
4
- import * as i0 from "@angular/core";
5
- export declare enum NpInputMode {
6
- DEFAULT = "default",
7
- MULTIPLE = "multiple",
8
- TAGS = "tags"
9
- }
10
- export declare class NpSelectComponent {
11
- npType: string;
12
- className: string;
13
- label?: string;
14
- hint?: string;
15
- placeHolder: string;
16
- labelTemplate?: TemplateRef<any>;
17
- valueTemplate?: TemplateRef<any>;
18
- isAllowClear: boolean;
19
- iconPrefixClass?: string;
20
- mode: 'multiple' | 'tags' | 'default';
21
- listItem: NpDictionaryItem[] | any;
22
- NpMode: typeof NpInputMode;
23
- _input: FormControl;
24
- set input(value: FormControl | undefined);
25
- valueChange: EventEmitter<string>;
26
- onChangeValue(): void;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<NpSelectComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<NpSelectComponent, "np-select", never, { "npType": { "alias": "npType"; "required": false; }; "className": { "alias": "className"; "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>;
29
- }
@@ -1,16 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NpSliderComponent {
4
- private _values;
5
- get values(): number[];
6
- set values(val: number[]);
7
- min?: number;
8
- max?: number;
9
- step: number;
10
- tooltipVisible: 'always' | 'never' | 'default';
11
- isDisabled: boolean;
12
- isFloating: boolean;
13
- valuesChange: EventEmitter<number[]>;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<NpSliderComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<NpSliderComponent, "np-slider", never, { "values": { "alias": "values"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "tooltipVisible": { "alias": "tooltipVisible"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isFloating": { "alias": "isFloating"; "required": false; }; }, { "valuesChange": "valuesChange"; }, never, never, true, never>;
16
- }
@@ -1,35 +0,0 @@
1
- import { ElementRef, EventEmitter, OnInit, QueryList } from '@angular/core';
2
- import { ActivatedRoute, Router } from '@angular/router';
3
- import { INpTab } from '../../../interfaces/np-tab.interface';
4
- import * as i0 from "@angular/core";
5
- export declare class NpTabComponent implements OnInit {
6
- private _Router;
7
- private _ActivatedRoute;
8
- headerWrapperRef: ElementRef;
9
- scrollContainerRef: ElementRef;
10
- tabItemRefs: QueryList<ElementRef>;
11
- tabs: INpTab[];
12
- className: string;
13
- subClassName: string;
14
- tabActive: string;
15
- isLink: boolean;
16
- npStyle: 'button' | 'underline';
17
- npDirection: 'horizontal' | 'vertical';
18
- minWidthItem?: string;
19
- onChange: EventEmitter<INpTab>;
20
- indexActive: number;
21
- scrollLeftButton: boolean;
22
- scrollRightButton: boolean;
23
- constructor(_Router: Router, _ActivatedRoute: ActivatedRoute);
24
- ngOnInit(): void;
25
- setTabActiveDefault(): void;
26
- onChangeTab(tab: INpTab, index: number): void;
27
- updateScrollButtons: () => void;
28
- scrollLeft(): void;
29
- scrollRight(): void;
30
- ngAfterViewInit(): void;
31
- ngOnDestroy(): void;
32
- onResize(): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<NpTabComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<NpTabComponent, "np-tab", never, { "tabs": { "alias": "tabs"; "required": false; }; "className": { "alias": "className"; "required": false; }; "subClassName": { "alias": "subClassName"; "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>;
35
- }
@@ -1,113 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, QueryList } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
3
- import { INpTableColumn } from '../../../interfaces/np-table.interface';
4
- import { Subscription } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- export declare class NpTableComponent {
7
- private cdr;
8
- constructor(cdr: ChangeDetectorRef);
9
- selectAllSub?: Subscription;
10
- selectAllFc: FormControl<boolean | null>;
11
- isIndeterminateAll: boolean;
12
- currentPage: number;
13
- _pageSize: number[];
14
- currentPageSize: number;
15
- paginationWidth: string;
16
- isAtStart: boolean;
17
- isAtEnd: boolean;
18
- _dataSource: any[];
19
- sortKey: string | null;
20
- sortDirection: 'asc' | 'desc' | null;
21
- originalDataSource: any[];
22
- activeFilterKey: string | null;
23
- searchKeyword: {
24
- [key: string]: string;
25
- };
26
- searchControls: {
27
- [key: string]: FormControl;
28
- };
29
- selectedFilters: {
30
- [key: string]: Set<any>;
31
- };
32
- syncColumns: boolean;
33
- syncRows: boolean;
34
- filterIcons: QueryList<ElementRef>;
35
- dropdownPositionMap: {
36
- [key: string]: any;
37
- };
38
- headerTable: ElementRef;
39
- bodyTable: ElementRef;
40
- tableContainer: ElementRef;
41
- tableMiddle: ElementRef;
42
- tableLeft: ElementRef;
43
- tableRight: ElementRef;
44
- private isSyncingLeftScroll;
45
- private isSyncingMiddleScroll;
46
- private isSyncingRightScroll;
47
- private scrollListeners;
48
- _columns: INpTableColumn[];
49
- set columns(value: INpTableColumn[]);
50
- get columns(): INpTableColumn[];
51
- selectableType: 'checkbox' | 'radio' | null;
52
- isSortable: boolean;
53
- isFilterable: boolean;
54
- isDeleteable: boolean;
55
- isUsePagination: boolean;
56
- paginationType: 'basic' | 'outlined' | 'text' | 'simple' | 'full';
57
- state: 'error' | 'loading' | 'normal';
58
- className: string;
59
- classNameLeft: string;
60
- classNameRight: string;
61
- scrollColumnsRange: [number, number] | null;
62
- scrollWidth: string;
63
- scrollHeight: string;
64
- isReverse: boolean;
65
- showVerticalDivider: boolean;
66
- deleteSelectedRows: EventEmitter<any[]>;
67
- sortChange: EventEmitter<{
68
- key: string;
69
- direction: "asc" | "desc" | null;
70
- }>;
71
- filterChange: EventEmitter<{
72
- [key: string]: string[];
73
- }>;
74
- rowChecked: EventEmitter<{
75
- row: any;
76
- checked: boolean;
77
- }>;
78
- set dataSource(value: any[]);
79
- set pageSize(value: number[]);
80
- get pageSize(): number[];
81
- ngAfterViewInit(): void;
82
- ngOnInit(): void;
83
- get fixedLeftColumns(): INpTableColumn[];
84
- get scrollableColumns(): INpTableColumn[];
85
- get fixedRightColumns(): INpTableColumn[];
86
- private bindSelectAllListener;
87
- get filteredData(): any[];
88
- get pagedData(): any[];
89
- onPageChange(newPage: number): void;
90
- onPageSizeChange(newSize: number): void;
91
- onSortColumn(column: INpTableColumn): void;
92
- onChangeSelectColumn($event: boolean): void;
93
- ngOnDestroy(): void;
94
- get selectedCount(): number;
95
- onDeleteSelected(): void;
96
- onRefresh(): void;
97
- onContactSupport(): void;
98
- toggleFilter(key: string): void;
99
- shouldShowFilterCheck(colKey: string): boolean;
100
- getDistinctFilteredValues(colKey: string): any[];
101
- getFilteredColumnValues(colKey: string): any[];
102
- isChecked(colKey: string, value: any): FormControl;
103
- onToggleFilter(colKey: string, value: any, checked: boolean): void;
104
- onClearFilter(colKey: string): void;
105
- private setupScrollSync;
106
- private updatePaginationWidth;
107
- private syncRowHeight;
108
- onClickOutside(event: MouseEvent): void;
109
- onScrollCloseFilter(): void;
110
- onResize(): void;
111
- static ɵfac: i0.ɵɵFactoryDeclaration<NpTableComponent, never>;
112
- static ɵcmp: i0.ɵɵComponentDeclaration<NpTableComponent, "np-table", never, { "columns": { "alias": "columns"; "required": false; }; "selectableType": { "alias": "selectableType"; "required": false; }; "isSortable": { "alias": "isSortable"; "required": false; }; "isFilterable": { "alias": "isFilterable"; "required": false; }; "isDeleteable": { "alias": "isDeleteable"; "required": false; }; "isUsePagination": { "alias": "isUsePagination"; "required": false; }; "paginationType": { "alias": "paginationType"; "required": false; }; "state": { "alias": "state"; "required": false; }; "className": { "alias": "className"; "required": false; }; "classNameLeft": { "alias": "classNameLeft"; "required": false; }; "classNameRight": { "alias": "classNameRight"; "required": false; }; "scrollColumnsRange": { "alias": "scrollColumnsRange"; "required": false; }; "scrollWidth": { "alias": "scrollWidth"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "isReverse": { "alias": "isReverse"; "required": false; }; "showVerticalDivider": { "alias": "showVerticalDivider"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; }, { "deleteSelectedRows": "deleteSelectedRows"; "sortChange": "sortChange"; "filterChange": "filterChange"; "rowChecked": "rowChecked"; }, never, never, true, never>;
113
- }