ng-tailwind 5.2.1 → 5.2.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.
- package/README.md +24 -24
- package/animations/ngt-angular-animations.d.ts +5 -5
- package/base/ngt-base-ng-model.d.ts +32 -32
- package/components/ngt-action/ngt-action.component.d.ts +30 -30
- package/components/ngt-action/ngt-action.module.d.ts +10 -10
- package/components/ngt-button/ngt-button.component.d.ts +35 -35
- package/components/ngt-button/ngt-button.module.d.ts +10 -10
- package/components/ngt-checkbox/ngt-checkbox.component.d.ts +53 -53
- package/components/ngt-checkbox/ngt-checkbox.module.d.ts +10 -10
- package/components/ngt-content/ngt-content.component.d.ts +12 -12
- package/components/ngt-content/ngt-content.module.d.ts +8 -8
- package/components/ngt-context-menu/ngt-context-menu.component.d.ts +19 -19
- package/components/ngt-context-menu/ngt-context-menu.directive.d.ts +25 -25
- package/components/ngt-context-menu/ngt-context-menu.module.d.ts +10 -10
- package/components/ngt-datatable/ngt-datatable.component.d.ts +125 -125
- package/components/ngt-datatable/ngt-datatable.module.d.ts +25 -25
- package/components/ngt-datatable/ngt-tbody/ngt-tbody.component.d.ts +14 -14
- package/components/ngt-datatable/ngt-td/ngt-td.component.d.ts +14 -14
- package/components/ngt-datatable/ngt-td-check/ngt-td-check.component.d.ts +29 -29
- package/components/ngt-datatable/ngt-th/ngt-th.component.d.ts +55 -55
- package/components/ngt-datatable/ngt-th-check/ngt-th-check.component.d.ts +32 -32
- package/components/ngt-datatable/ngt-thead/ngt-thead.component.d.ts +13 -13
- package/components/ngt-datatable/ngt-tr/ngt-tr.component.d.ts +20 -20
- package/components/ngt-date/ngt-date.component.d.ts +85 -85
- package/components/ngt-date/ngt-date.module.d.ts +13 -13
- package/components/ngt-dropdown/ngt-dropdown-container/ngt-dropdown-container.component.d.ts +8 -8
- package/components/ngt-dropdown/ngt-dropdown.component.d.ts +53 -53
- package/components/ngt-dropdown/ngt-dropdown.module.d.ts +9 -9
- package/components/ngt-dropzone/custom-dropzone-preview/custom-dropzone-preview.component.d.ts +14 -14
- package/components/ngt-dropzone/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component.d.ts +25 -25
- package/components/ngt-dropzone/ngt-dropzone-view/ngt-dropzone-view.component.d.ts +35 -35
- package/components/ngt-dropzone/ngt-dropzone.component.d.ts +95 -95
- package/components/ngt-dropzone/ngt-dropzone.meta.d.ts +27 -27
- package/components/ngt-dropzone/ngt-dropzone.module.d.ts +17 -17
- package/components/ngt-floating-button/ngt-floating-button.component.d.ts +35 -35
- package/components/ngt-floating-button/ngt-floating-button.module.d.ts +10 -10
- package/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.component.d.ts +10 -10
- package/components/ngt-form/ngt-form.component.d.ts +60 -60
- package/components/ngt-form/ngt-form.module.d.ts +9 -9
- package/components/ngt-header-nav/ngt-header-nav.component.d.ts +14 -14
- package/components/ngt-header-nav/ngt-header-nav.module.d.ts +8 -8
- package/components/ngt-helper/ngt-helper.component.d.ts +25 -25
- package/components/ngt-helper/ngt-helper.module.d.ts +10 -10
- package/components/ngt-input/ngt-input.component.d.ts +129 -129
- package/components/ngt-input/ngt-input.module.d.ts +14 -14
- package/components/ngt-modal/ngt-modal-body/ngt-modal-body.component.d.ts +17 -17
- package/components/ngt-modal/ngt-modal-footer/ngt-modal-footer.component.d.ts +12 -12
- package/components/ngt-modal/ngt-modal-header/ngt-modal-header.component.d.ts +15 -15
- package/components/ngt-modal/ngt-modal.component.d.ts +31 -31
- package/components/ngt-modal/ngt-modal.module.d.ts +11 -11
- package/components/ngt-multi-select/ngt-multi-select.component.d.ts +116 -116
- package/components/ngt-multi-select/ngt-multi-select.module.d.ts +15 -15
- package/components/ngt-pagination/ngt-pagination.component.d.ts +43 -43
- package/components/ngt-pagination/ngt-pagination.module.d.ts +12 -12
- package/components/ngt-popover/ngt-popover-tooltip/ngt-popover-tooltip.component.d.ts +21 -21
- package/components/ngt-popover/ngt-popover.component.d.ts +31 -31
- package/components/ngt-popover/ngt-popover.directive.d.ts +31 -31
- package/components/ngt-popover/ngt-popover.module.d.ts +11 -11
- package/components/ngt-portlet/ngt-portlet-body/ngt-portlet-body.component.d.ts +12 -12
- package/components/ngt-portlet/ngt-portlet-footer/ngt-portlet-footer.component.d.ts +12 -12
- package/components/ngt-portlet/ngt-portlet-header/ngt-portlet-header.component.d.ts +18 -18
- package/components/ngt-portlet/ngt-portlet.component.d.ts +20 -20
- package/components/ngt-portlet/ngt-portlet.module.d.ts +13 -13
- package/components/ngt-radio-button/ngt-radio-button-container/ngt-radio-button-container.component.d.ts +9 -9
- package/components/ngt-radio-button/ngt-radio-button.component.d.ts +45 -45
- package/components/ngt-radio-button/ngt-radio-button.module.d.ts +11 -11
- package/components/ngt-section/ngt-section.component.d.ts +38 -38
- package/components/ngt-section/ngt-section.module.d.ts +11 -11
- package/components/ngt-select/ngt-select.component.d.ts +154 -154
- package/components/ngt-select/ngt-select.directive.d.ts +20 -20
- package/components/ngt-select/ngt-select.module.d.ts +16 -16
- package/components/ngt-shining/ngt-shining.component.d.ts +19 -19
- package/components/ngt-shining/ngt-shining.module.d.ts +8 -8
- package/components/ngt-sidenav/ngt-sidenav.component.d.ts +32 -32
- package/components/ngt-sidenav/ngt-sidenav.module.d.ts +8 -8
- package/components/ngt-slider/ngt-slider.component.d.ts +36 -36
- package/components/ngt-slider/ngt-slider.module.d.ts +9 -9
- package/components/ngt-svg/ngt-svg.component.d.ts +13 -13
- package/components/ngt-svg/ngt-svg.module.d.ts +10 -10
- package/components/ngt-tag/ngt-tag.component.d.ts +13 -13
- package/components/ngt-tag/ngt-tag.module.d.ts +9 -9
- package/components/ngt-textarea/ngt-textarea.component.d.ts +49 -49
- package/components/ngt-textarea/ngt-textarea.module.d.ts +13 -13
- package/components/ngt-validation/ngt-validation.component.d.ts +13 -13
- package/components/ngt-validation/ngt-validation.module.d.ts +8 -8
- package/directives/ngt-stylizable/ngt-stylizable.directive.d.ts +68 -68
- package/directives/ngt-stylizable/ngt-stylizable.module.d.ts +8 -8
- package/enums/size.enum.d.ts +8 -8
- package/esm2020/animations/ngt-angular-animations.mjs +34 -34
- package/esm2020/base/ngt-base-ng-model.mjs +90 -90
- package/esm2020/components/ngt-action/ngt-action.component.mjs +96 -96
- package/esm2020/components/ngt-action/ngt-action.module.mjs +28 -28
- package/esm2020/components/ngt-button/ngt-button.component.mjs +142 -142
- package/esm2020/components/ngt-button/ngt-button.module.mjs +28 -28
- package/esm2020/components/ngt-checkbox/ngt-checkbox.component.mjs +192 -192
- package/esm2020/components/ngt-checkbox/ngt-checkbox.module.mjs +28 -28
- package/esm2020/components/ngt-content/ngt-content.component.mjs +32 -32
- package/esm2020/components/ngt-content/ngt-content.module.mjs +20 -20
- package/esm2020/components/ngt-context-menu/ngt-context-menu.component.mjs +25 -25
- package/esm2020/components/ngt-context-menu/ngt-context-menu.directive.mjs +89 -89
- package/esm2020/components/ngt-context-menu/ngt-context-menu.module.mjs +33 -33
- package/esm2020/components/ngt-datatable/ngt-datatable.component.mjs +470 -470
- package/esm2020/components/ngt-datatable/ngt-datatable.module.mjs +99 -99
- package/esm2020/components/ngt-datatable/ngt-tbody/ngt-tbody.component.mjs +57 -57
- package/esm2020/components/ngt-datatable/ngt-td/ngt-td.component.mjs +62 -62
- package/esm2020/components/ngt-datatable/ngt-td-check/ngt-td-check.component.mjs +113 -113
- package/esm2020/components/ngt-datatable/ngt-th/ngt-th.component.mjs +228 -228
- package/esm2020/components/ngt-datatable/ngt-th-check/ngt-th-check.component.mjs +127 -127
- package/esm2020/components/ngt-datatable/ngt-thead/ngt-thead.component.mjs +55 -55
- package/esm2020/components/ngt-datatable/ngt-tr/ngt-tr.component.mjs +86 -86
- package/esm2020/components/ngt-date/ngt-date.component.mjs +435 -435
- package/esm2020/components/ngt-date/ngt-date.module.mjs +40 -40
- package/esm2020/components/ngt-dropdown/ngt-dropdown-container/ngt-dropdown-container.component.mjs +19 -19
- package/esm2020/components/ngt-dropdown/ngt-dropdown.component.mjs +204 -204
- package/esm2020/components/ngt-dropdown/ngt-dropdown.module.mjs +21 -21
- package/esm2020/components/ngt-dropzone/custom-dropzone-preview/custom-dropzone-preview.component.mjs +54 -54
- package/esm2020/components/ngt-dropzone/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component.mjs +69 -66
- package/esm2020/components/ngt-dropzone/ngt-dropzone-view/ngt-dropzone-view.component.mjs +94 -94
- package/esm2020/components/ngt-dropzone/ngt-dropzone.component.mjs +496 -496
- package/esm2020/components/ngt-dropzone/ngt-dropzone.meta.mjs +24 -24
- package/esm2020/components/ngt-dropzone/ngt-dropzone.module.mjs +55 -55
- package/esm2020/components/ngt-floating-button/ngt-floating-button.component.mjs +119 -119
- package/esm2020/components/ngt-floating-button/ngt-floating-button.module.mjs +28 -28
- package/esm2020/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.component.mjs +22 -22
- package/esm2020/components/ngt-form/ngt-form.component.mjs +207 -207
- package/esm2020/components/ngt-form/ngt-form.module.mjs +29 -29
- package/esm2020/components/ngt-header-nav/ngt-header-nav.component.mjs +39 -39
- package/esm2020/components/ngt-header-nav/ngt-header-nav.module.mjs +20 -20
- package/esm2020/components/ngt-helper/ngt-helper.component.mjs +68 -68
- package/esm2020/components/ngt-helper/ngt-helper.module.mjs +28 -28
- package/esm2020/components/ngt-input/ngt-input.component.mjs +844 -844
- package/esm2020/components/ngt-input/ngt-input.module.mjs +47 -47
- package/esm2020/components/ngt-modal/ngt-modal-body/ngt-modal-body.component.mjs +46 -46
- package/esm2020/components/ngt-modal/ngt-modal-footer/ngt-modal-footer.component.mjs +33 -33
- package/esm2020/components/ngt-modal/ngt-modal-header/ngt-modal-header.component.mjs +40 -40
- package/esm2020/components/ngt-modal/ngt-modal.component.mjs +122 -122
- package/esm2020/components/ngt-modal/ngt-modal.module.mjs +39 -39
- package/esm2020/components/ngt-multi-select/ngt-multi-select.component.mjs +503 -503
- package/esm2020/components/ngt-multi-select/ngt-multi-select.module.mjs +52 -52
- package/esm2020/components/ngt-pagination/ngt-pagination.component.mjs +162 -162
- package/esm2020/components/ngt-pagination/ngt-pagination.module.mjs +36 -36
- package/esm2020/components/ngt-popover/ngt-popover-tooltip/ngt-popover-tooltip.component.mjs +58 -58
- package/esm2020/components/ngt-popover/ngt-popover.component.mjs +85 -85
- package/esm2020/components/ngt-popover/ngt-popover.directive.mjs +126 -126
- package/esm2020/components/ngt-popover/ngt-popover.module.mjs +36 -36
- package/esm2020/components/ngt-portlet/ngt-portlet-body/ngt-portlet-body.component.mjs +34 -34
- package/esm2020/components/ngt-portlet/ngt-portlet-footer/ngt-portlet-footer.component.mjs +35 -35
- package/esm2020/components/ngt-portlet/ngt-portlet-header/ngt-portlet-header.component.mjs +57 -57
- package/esm2020/components/ngt-portlet/ngt-portlet.component.mjs +74 -74
- package/esm2020/components/ngt-portlet/ngt-portlet.module.mjs +47 -47
- package/esm2020/components/ngt-radio-button/ngt-radio-button-container/ngt-radio-button-container.component.mjs +19 -19
- package/esm2020/components/ngt-radio-button/ngt-radio-button.component.mjs +153 -153
- package/esm2020/components/ngt-radio-button/ngt-radio-button.module.mjs +29 -29
- package/esm2020/components/ngt-section/ngt-section.component.mjs +151 -151
- package/esm2020/components/ngt-section/ngt-section.module.mjs +32 -32
- package/esm2020/components/ngt-select/ngt-select.component.mjs +670 -670
- package/esm2020/components/ngt-select/ngt-select.directive.mjs +36 -36
- package/esm2020/components/ngt-select/ngt-select.module.mjs +65 -65
- package/esm2020/components/ngt-shining/ngt-shining.component.mjs +40 -40
- package/esm2020/components/ngt-shining/ngt-shining.module.mjs +20 -20
- package/esm2020/components/ngt-sidenav/ngt-sidenav.component.mjs +132 -132
- package/esm2020/components/ngt-sidenav/ngt-sidenav.module.mjs +20 -20
- package/esm2020/components/ngt-slider/ngt-slider.component.mjs +100 -100
- package/esm2020/components/ngt-slider/ngt-slider.module.mjs +24 -24
- package/esm2020/components/ngt-svg/ngt-svg.component.mjs +53 -53
- package/esm2020/components/ngt-svg/ngt-svg.module.mjs +28 -28
- package/esm2020/components/ngt-tag/ngt-tag.component.mjs +37 -37
- package/esm2020/components/ngt-tag/ngt-tag.module.mjs +24 -24
- package/esm2020/components/ngt-textarea/ngt-textarea.component.mjs +238 -238
- package/esm2020/components/ngt-textarea/ngt-textarea.module.mjs +43 -43
- package/esm2020/components/ngt-validation/ngt-validation.component.mjs +26 -26
- package/esm2020/components/ngt-validation/ngt-validation.module.mjs +20 -20
- package/esm2020/directives/ngt-stylizable/ngt-stylizable.directive.mjs +290 -290
- package/esm2020/directives/ngt-stylizable/ngt-stylizable.module.mjs +20 -20
- package/esm2020/enums/size.enum.mjs +11 -11
- package/esm2020/helpers/enum/enum.mjs +7 -7
- package/esm2020/helpers/form/form.mjs +14 -14
- package/esm2020/helpers/input-mask/input-mask.helper.mjs +26 -26
- package/esm2020/helpers/promise/promise-helper.mjs +4 -4
- package/esm2020/helpers/routing/route.mjs +11 -11
- package/esm2020/helpers/uuid.mjs +10 -10
- package/esm2020/ng-tailwind.mjs +4 -4
- package/esm2020/public-api.mjs +127 -127
- package/esm2020/services/http/ngt-attachment-http.service.mjs +3 -3
- package/esm2020/services/http/ngt-http-form.service.mjs +3 -3
- package/esm2020/services/http/ngt-http-resource.service.mjs +3 -3
- package/esm2020/services/http/ngt-http-validation.service.mjs +3 -3
- package/esm2020/services/http/ngt-http.service.mjs +3 -3
- package/esm2020/services/http/ngt-translate.service.mjs +3 -3
- package/esm2020/services/ngt-stylizable/ngt-stylizable.service.mjs +273 -273
- package/esm2020/services/validation/ngt-ability-validation.service.mjs +3 -3
- package/fesm2015/ng-tailwind.mjs +8656 -8653
- package/fesm2015/ng-tailwind.mjs.map +1 -1
- package/fesm2020/ng-tailwind.mjs +8481 -8478
- package/fesm2020/ng-tailwind.mjs.map +1 -1
- package/helpers/enum/enum.d.ts +1 -1
- package/helpers/form/form.d.ts +4 -4
- package/helpers/input-mask/input-mask.helper.d.ts +20 -20
- package/helpers/promise/promise-helper.d.ts +1 -1
- package/helpers/routing/route.d.ts +2 -2
- package/helpers/uuid.d.ts +1 -1
- package/index.d.ts +5 -5
- package/package.json +1 -1
- package/public-api.d.ts +87 -87
- package/services/http/ngt-attachment-http.service.d.ts +9 -9
- package/services/http/ngt-http-form.service.d.ts +5 -5
- package/services/http/ngt-http-resource.service.d.ts +12 -12
- package/services/http/ngt-http-validation.service.d.ts +12 -12
- package/services/http/ngt-http.service.d.ts +27 -27
- package/services/http/ngt-translate.service.d.ts +33 -33
- package/services/ngt-stylizable/ngt-stylizable.service.d.ts +96 -96
- package/services/validation/ngt-ability-validation.service.d.ts +5 -5
|
@@ -1,116 +1,116 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
-
import { ControlContainer } from '@angular/forms';
|
|
3
|
-
import { NgtBaseNgModel } from '../../base/ngt-base-ng-model';
|
|
4
|
-
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
5
|
-
import { NgtHttpService } from '../../services/http/ngt-http.service';
|
|
6
|
-
import { NgtTranslateService } from '../../services/http/ngt-translate.service';
|
|
7
|
-
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
8
|
-
import { NgtFormComponent } from '../ngt-form/ngt-form.component';
|
|
9
|
-
import { NgtInputComponent } from '../ngt-input/ngt-input.component';
|
|
10
|
-
import { NgtSectionComponent } from '../ngt-section/ngt-section.component';
|
|
11
|
-
import { NgtModalComponent } from '../ngt-modal/ngt-modal.component';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
export declare class NgtMultiSelectComponent extends NgtBaseNgModel implements OnInit, OnDestroy, OnChanges {
|
|
14
|
-
private ngtHttpService;
|
|
15
|
-
private injector;
|
|
16
|
-
private changeDetector;
|
|
17
|
-
private ngtForm;
|
|
18
|
-
private ngtSection;
|
|
19
|
-
private ngtModal;
|
|
20
|
-
private ngtStylizableDirective;
|
|
21
|
-
formContainer: ControlContainer;
|
|
22
|
-
ngtTranslateService: NgtTranslateService;
|
|
23
|
-
containerRef: ElementRef;
|
|
24
|
-
inputSearch: NgtInputComponent;
|
|
25
|
-
elementCheckboxTemplate: TemplateRef<any>;
|
|
26
|
-
/** Visual */
|
|
27
|
-
customOptionTemplate: TemplateRef<any>;
|
|
28
|
-
customHeaderTemplate: TemplateRef<any>;
|
|
29
|
-
label: string;
|
|
30
|
-
helpTitle: string;
|
|
31
|
-
helpText: string;
|
|
32
|
-
helpTextColor: string;
|
|
33
|
-
helperReverseYPosition: boolean;
|
|
34
|
-
helperAutoXReverse: boolean;
|
|
35
|
-
shining: boolean;
|
|
36
|
-
loading: boolean;
|
|
37
|
-
/** Behavior */
|
|
38
|
-
bindLabel: string | Function;
|
|
39
|
-
bindSearch: string;
|
|
40
|
-
itemsPerPage: number;
|
|
41
|
-
name: string;
|
|
42
|
-
remoteResource: any;
|
|
43
|
-
items: Array<any>;
|
|
44
|
-
searchable: boolean;
|
|
45
|
-
allowOriginalItemsUnselect: boolean;
|
|
46
|
-
autoSelectUniqueOption: boolean;
|
|
47
|
-
/** Validation */
|
|
48
|
-
isRequired: boolean;
|
|
49
|
-
isDisabled: boolean;
|
|
50
|
-
onDataChange: EventEmitter<Array<NgtSelectContainerSelectableElementInterface>>;
|
|
51
|
-
searchTerm: string;
|
|
52
|
-
searchInputName: string;
|
|
53
|
-
selectAllCheckboxName: string;
|
|
54
|
-
displayOnlySelectedName: string;
|
|
55
|
-
selectedElements: Array<NgtSelectContainerSelectableElementInterface>;
|
|
56
|
-
itemsTotal: number;
|
|
57
|
-
selectAllCheckbox: boolean;
|
|
58
|
-
displayOnlySelected: boolean;
|
|
59
|
-
nativeName: string;
|
|
60
|
-
nativeValue: any;
|
|
61
|
-
ngtStyle: NgtStylizableService;
|
|
62
|
-
selectableElements: Array<NgtSelectContainerSelectableElementInterface>;
|
|
63
|
-
selectableElementsOnSearch: Array<NgtSelectContainerSelectableElementInterface>;
|
|
64
|
-
componentReady: boolean;
|
|
65
|
-
private pagination;
|
|
66
|
-
private subscriptions;
|
|
67
|
-
private inSearch;
|
|
68
|
-
private searchTimeout;
|
|
69
|
-
private previousSearchTerm;
|
|
70
|
-
private becameVisible;
|
|
71
|
-
private selectableResourcesCount;
|
|
72
|
-
private originalItems;
|
|
73
|
-
constructor(ngtHttpService: NgtHttpService, injector: Injector, changeDetector: ChangeDetectorRef, ngtForm: NgtFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent, ngtStylizableDirective: NgtStylizableDirective, formContainer: ControlContainer, ngtTranslateService: NgtTranslateService);
|
|
74
|
-
onScroll(event: any): void;
|
|
75
|
-
ngOnInit(): void;
|
|
76
|
-
ngDoCheck(): void;
|
|
77
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
78
|
-
ngOnDestroy(): void;
|
|
79
|
-
setFocus(): void;
|
|
80
|
-
refresh(itemsPerPage?: number, searchTerm?: string): Promise<void>;
|
|
81
|
-
reset(): void;
|
|
82
|
-
selectAll(): void;
|
|
83
|
-
selectElements(elements: Array<any>): void;
|
|
84
|
-
toggleItem(selectableElement: NgtSelectContainerSelectableElementInterface, event?: Event): void;
|
|
85
|
-
onNativeChange(selectableElement: NgtSelectContainerSelectableElementInterface): void;
|
|
86
|
-
change(selectedElements: Array<any>): void;
|
|
87
|
-
search(term: string): void;
|
|
88
|
-
getSelectableElements(): Array<any>;
|
|
89
|
-
getSelectableElementValue(selectableItem: any): string;
|
|
90
|
-
hasValidationErrors(): boolean;
|
|
91
|
-
canSelectItem(item: NgtSelectContainerSelectableElementInterface): boolean;
|
|
92
|
-
disabled(): boolean;
|
|
93
|
-
private handleElementSelection;
|
|
94
|
-
private loadData;
|
|
95
|
-
private bindSelectableElements;
|
|
96
|
-
private bindSelectedElements;
|
|
97
|
-
private initComponentValidation;
|
|
98
|
-
private updateValidations;
|
|
99
|
-
private isRequiredValidator;
|
|
100
|
-
private findSelectedElement;
|
|
101
|
-
private compareWith;
|
|
102
|
-
private hasChangesBetweenBindings;
|
|
103
|
-
private isSelectedElement;
|
|
104
|
-
private canAutoSelectUniqueOption;
|
|
105
|
-
private isHidden;
|
|
106
|
-
private isColoquentResources;
|
|
107
|
-
private isDisabledByParent;
|
|
108
|
-
private destroySubscriptions;
|
|
109
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtMultiSelectComponent, [null, null, null, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; self: true; }, { optional: true; host: true; }, { optional: true; }]>;
|
|
110
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtMultiSelectComponent, "ngt-multi-select", never, { "customOptionTemplate": "customOptionTemplate"; "customHeaderTemplate": "customHeaderTemplate"; "label": "label"; "helpTitle": "helpTitle"; "helpText": "helpText"; "helpTextColor": "helpTextColor"; "helperReverseYPosition": "helperReverseYPosition"; "helperAutoXReverse": "helperAutoXReverse"; "shining": "shining"; "loading": "loading"; "bindLabel": "bindLabel"; "bindSearch": "bindSearch"; "itemsPerPage": "itemsPerPage"; "name": "name"; "remoteResource": "remoteResource"; "items": "items"; "searchable": "searchable"; "allowOriginalItemsUnselect": "allowOriginalItemsUnselect"; "autoSelectUniqueOption": "autoSelectUniqueOption"; "isRequired": "isRequired"; "isDisabled": "isDisabled"; }, { "onDataChange": "onDataChange"; }, never, never, false, never>;
|
|
111
|
-
}
|
|
112
|
-
export interface NgtSelectContainerSelectableElementInterface {
|
|
113
|
-
uuid: string;
|
|
114
|
-
isSelected: boolean;
|
|
115
|
-
value: any;
|
|
116
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ControlContainer } from '@angular/forms';
|
|
3
|
+
import { NgtBaseNgModel } from '../../base/ngt-base-ng-model';
|
|
4
|
+
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
5
|
+
import { NgtHttpService } from '../../services/http/ngt-http.service';
|
|
6
|
+
import { NgtTranslateService } from '../../services/http/ngt-translate.service';
|
|
7
|
+
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
8
|
+
import { NgtFormComponent } from '../ngt-form/ngt-form.component';
|
|
9
|
+
import { NgtInputComponent } from '../ngt-input/ngt-input.component';
|
|
10
|
+
import { NgtSectionComponent } from '../ngt-section/ngt-section.component';
|
|
11
|
+
import { NgtModalComponent } from '../ngt-modal/ngt-modal.component';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class NgtMultiSelectComponent extends NgtBaseNgModel implements OnInit, OnDestroy, OnChanges {
|
|
14
|
+
private ngtHttpService;
|
|
15
|
+
private injector;
|
|
16
|
+
private changeDetector;
|
|
17
|
+
private ngtForm;
|
|
18
|
+
private ngtSection;
|
|
19
|
+
private ngtModal;
|
|
20
|
+
private ngtStylizableDirective;
|
|
21
|
+
formContainer: ControlContainer;
|
|
22
|
+
ngtTranslateService: NgtTranslateService;
|
|
23
|
+
containerRef: ElementRef;
|
|
24
|
+
inputSearch: NgtInputComponent;
|
|
25
|
+
elementCheckboxTemplate: TemplateRef<any>;
|
|
26
|
+
/** Visual */
|
|
27
|
+
customOptionTemplate: TemplateRef<any>;
|
|
28
|
+
customHeaderTemplate: TemplateRef<any>;
|
|
29
|
+
label: string;
|
|
30
|
+
helpTitle: string;
|
|
31
|
+
helpText: string;
|
|
32
|
+
helpTextColor: string;
|
|
33
|
+
helperReverseYPosition: boolean;
|
|
34
|
+
helperAutoXReverse: boolean;
|
|
35
|
+
shining: boolean;
|
|
36
|
+
loading: boolean;
|
|
37
|
+
/** Behavior */
|
|
38
|
+
bindLabel: string | Function;
|
|
39
|
+
bindSearch: string;
|
|
40
|
+
itemsPerPage: number;
|
|
41
|
+
name: string;
|
|
42
|
+
remoteResource: any;
|
|
43
|
+
items: Array<any>;
|
|
44
|
+
searchable: boolean;
|
|
45
|
+
allowOriginalItemsUnselect: boolean;
|
|
46
|
+
autoSelectUniqueOption: boolean;
|
|
47
|
+
/** Validation */
|
|
48
|
+
isRequired: boolean;
|
|
49
|
+
isDisabled: boolean;
|
|
50
|
+
onDataChange: EventEmitter<Array<NgtSelectContainerSelectableElementInterface>>;
|
|
51
|
+
searchTerm: string;
|
|
52
|
+
searchInputName: string;
|
|
53
|
+
selectAllCheckboxName: string;
|
|
54
|
+
displayOnlySelectedName: string;
|
|
55
|
+
selectedElements: Array<NgtSelectContainerSelectableElementInterface>;
|
|
56
|
+
itemsTotal: number;
|
|
57
|
+
selectAllCheckbox: boolean;
|
|
58
|
+
displayOnlySelected: boolean;
|
|
59
|
+
nativeName: string;
|
|
60
|
+
nativeValue: any;
|
|
61
|
+
ngtStyle: NgtStylizableService;
|
|
62
|
+
selectableElements: Array<NgtSelectContainerSelectableElementInterface>;
|
|
63
|
+
selectableElementsOnSearch: Array<NgtSelectContainerSelectableElementInterface>;
|
|
64
|
+
componentReady: boolean;
|
|
65
|
+
private pagination;
|
|
66
|
+
private subscriptions;
|
|
67
|
+
private inSearch;
|
|
68
|
+
private searchTimeout;
|
|
69
|
+
private previousSearchTerm;
|
|
70
|
+
private becameVisible;
|
|
71
|
+
private selectableResourcesCount;
|
|
72
|
+
private originalItems;
|
|
73
|
+
constructor(ngtHttpService: NgtHttpService, injector: Injector, changeDetector: ChangeDetectorRef, ngtForm: NgtFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent, ngtStylizableDirective: NgtStylizableDirective, formContainer: ControlContainer, ngtTranslateService: NgtTranslateService);
|
|
74
|
+
onScroll(event: any): void;
|
|
75
|
+
ngOnInit(): void;
|
|
76
|
+
ngDoCheck(): void;
|
|
77
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
78
|
+
ngOnDestroy(): void;
|
|
79
|
+
setFocus(): void;
|
|
80
|
+
refresh(itemsPerPage?: number, searchTerm?: string): Promise<void>;
|
|
81
|
+
reset(): void;
|
|
82
|
+
selectAll(): void;
|
|
83
|
+
selectElements(elements: Array<any>): void;
|
|
84
|
+
toggleItem(selectableElement: NgtSelectContainerSelectableElementInterface, event?: Event): void;
|
|
85
|
+
onNativeChange(selectableElement: NgtSelectContainerSelectableElementInterface): void;
|
|
86
|
+
change(selectedElements: Array<any>): void;
|
|
87
|
+
search(term: string): void;
|
|
88
|
+
getSelectableElements(): Array<any>;
|
|
89
|
+
getSelectableElementValue(selectableItem: any): string;
|
|
90
|
+
hasValidationErrors(): boolean;
|
|
91
|
+
canSelectItem(item: NgtSelectContainerSelectableElementInterface): boolean;
|
|
92
|
+
disabled(): boolean;
|
|
93
|
+
private handleElementSelection;
|
|
94
|
+
private loadData;
|
|
95
|
+
private bindSelectableElements;
|
|
96
|
+
private bindSelectedElements;
|
|
97
|
+
private initComponentValidation;
|
|
98
|
+
private updateValidations;
|
|
99
|
+
private isRequiredValidator;
|
|
100
|
+
private findSelectedElement;
|
|
101
|
+
private compareWith;
|
|
102
|
+
private hasChangesBetweenBindings;
|
|
103
|
+
private isSelectedElement;
|
|
104
|
+
private canAutoSelectUniqueOption;
|
|
105
|
+
private isHidden;
|
|
106
|
+
private isColoquentResources;
|
|
107
|
+
private isDisabledByParent;
|
|
108
|
+
private destroySubscriptions;
|
|
109
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtMultiSelectComponent, [null, null, null, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; self: true; }, { optional: true; host: true; }, { optional: true; }]>;
|
|
110
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtMultiSelectComponent, "ngt-multi-select", never, { "customOptionTemplate": "customOptionTemplate"; "customHeaderTemplate": "customHeaderTemplate"; "label": "label"; "helpTitle": "helpTitle"; "helpText": "helpText"; "helpTextColor": "helpTextColor"; "helperReverseYPosition": "helperReverseYPosition"; "helperAutoXReverse": "helperAutoXReverse"; "shining": "shining"; "loading": "loading"; "bindLabel": "bindLabel"; "bindSearch": "bindSearch"; "itemsPerPage": "itemsPerPage"; "name": "name"; "remoteResource": "remoteResource"; "items": "items"; "searchable": "searchable"; "allowOriginalItemsUnselect": "allowOriginalItemsUnselect"; "autoSelectUniqueOption": "autoSelectUniqueOption"; "isRequired": "isRequired"; "isDisabled": "isDisabled"; }, { "onDataChange": "onDataChange"; }, never, never, false, never>;
|
|
111
|
+
}
|
|
112
|
+
export interface NgtSelectContainerSelectableElementInterface {
|
|
113
|
+
uuid: string;
|
|
114
|
+
isSelected: boolean;
|
|
115
|
+
value: any;
|
|
116
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./ngt-multi-select.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/forms";
|
|
5
|
-
import * as i4 from "../ngt-validation/ngt-validation.module";
|
|
6
|
-
import * as i5 from "../ngt-shining/ngt-shining.module";
|
|
7
|
-
import * as i6 from "../ngt-helper/ngt-helper.module";
|
|
8
|
-
import * as i7 from "../ngt-input/ngt-input.module";
|
|
9
|
-
import * as i8 from "../ngt-checkbox/ngt-checkbox.module";
|
|
10
|
-
import * as i9 from "../../directives/ngt-stylizable/ngt-stylizable.module";
|
|
11
|
-
export declare class NgtMultiSelectModule {
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtMultiSelectModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgtMultiSelectModule, [typeof i1.NgtMultiSelectComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.NgtValidationModule, typeof i5.NgtShiningModule, typeof i6.NgtHelperModule, typeof i7.NgtInputModule, typeof i8.NgtCheckboxModule, typeof i9.NgtStylizableModule], [typeof i1.NgtMultiSelectComponent]>;
|
|
14
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NgtMultiSelectModule>;
|
|
15
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ngt-multi-select.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "../ngt-validation/ngt-validation.module";
|
|
6
|
+
import * as i5 from "../ngt-shining/ngt-shining.module";
|
|
7
|
+
import * as i6 from "../ngt-helper/ngt-helper.module";
|
|
8
|
+
import * as i7 from "../ngt-input/ngt-input.module";
|
|
9
|
+
import * as i8 from "../ngt-checkbox/ngt-checkbox.module";
|
|
10
|
+
import * as i9 from "../../directives/ngt-stylizable/ngt-stylizable.module";
|
|
11
|
+
export declare class NgtMultiSelectModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtMultiSelectModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgtMultiSelectModule, [typeof i1.NgtMultiSelectComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.NgtValidationModule, typeof i5.NgtShiningModule, typeof i6.NgtHelperModule, typeof i7.NgtInputModule, typeof i8.NgtCheckboxModule, typeof i9.NgtStylizableModule], [typeof i1.NgtMultiSelectComponent]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgtMultiSelectModule>;
|
|
15
|
+
}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { EventEmitter, Injector } from '@angular/core';
|
|
2
|
-
import { NgtHttpMeta, NgtHttpPagination } from '../../services/http/ngt-http.service';
|
|
3
|
-
import { NgtTranslateService } from '../../services/http/ngt-translate.service';
|
|
4
|
-
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NgtPaginationComponent {
|
|
7
|
-
private injector;
|
|
8
|
-
ngtTranslateService: NgtTranslateService;
|
|
9
|
-
pagesInterval: number;
|
|
10
|
-
onPageChange: EventEmitter<number>;
|
|
11
|
-
onPerPageChange: EventEmitter<number>;
|
|
12
|
-
/** Styles */
|
|
13
|
-
ngtPaginationActivePageButtonStyle: NgtStylizableService;
|
|
14
|
-
ngtPaginationNextPreviousButtonStyle: NgtStylizableService;
|
|
15
|
-
ngtPaginationNextPreviousSectionButtonStyle: NgtStylizableService;
|
|
16
|
-
ngtPaginationFirstLastButtonStyle: NgtStylizableService;
|
|
17
|
-
ngtPaginationPageButtonStyle: NgtStylizableService;
|
|
18
|
-
sectionStartPage: number;
|
|
19
|
-
sectionEndPage: number;
|
|
20
|
-
displayNextSectionButton: boolean;
|
|
21
|
-
displayPreviousSectionButton: boolean;
|
|
22
|
-
displayPagination: boolean;
|
|
23
|
-
pagination: NgtHttpPagination;
|
|
24
|
-
pages: any[];
|
|
25
|
-
registersPerPageOptions: number[];
|
|
26
|
-
currentRegistersPerPage: number;
|
|
27
|
-
constructor(injector: Injector, ngtTranslateService: NgtTranslateService);
|
|
28
|
-
onRegistersPerPageChange(value: any): void;
|
|
29
|
-
goToPage(page: number): Promise<void>;
|
|
30
|
-
goToPreviousPage(): Promise<void>;
|
|
31
|
-
goToNextPage(): Promise<void>;
|
|
32
|
-
goToPreviousSection(): Promise<void>;
|
|
33
|
-
goToNextSection(): Promise<void>;
|
|
34
|
-
goToFirstPage(): Promise<void>;
|
|
35
|
-
goToLastPage(): Promise<void>;
|
|
36
|
-
getCurrentPage(): number;
|
|
37
|
-
getPagination(): NgtHttpPagination;
|
|
38
|
-
proccessPagination(meta: NgtHttpMeta): void;
|
|
39
|
-
resetPagination(): void;
|
|
40
|
-
private bindDisplayedButtonSections;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtPaginationComponent, [null, { optional: true; }]>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtPaginationComponent, "ngt-pagination", never, { "pagesInterval": "pagesInterval"; }, { "onPageChange": "onPageChange"; "onPerPageChange": "onPerPageChange"; }, never, never, false, never>;
|
|
43
|
-
}
|
|
1
|
+
import { EventEmitter, Injector } from '@angular/core';
|
|
2
|
+
import { NgtHttpMeta, NgtHttpPagination } from '../../services/http/ngt-http.service';
|
|
3
|
+
import { NgtTranslateService } from '../../services/http/ngt-translate.service';
|
|
4
|
+
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class NgtPaginationComponent {
|
|
7
|
+
private injector;
|
|
8
|
+
ngtTranslateService: NgtTranslateService;
|
|
9
|
+
pagesInterval: number;
|
|
10
|
+
onPageChange: EventEmitter<number>;
|
|
11
|
+
onPerPageChange: EventEmitter<number>;
|
|
12
|
+
/** Styles */
|
|
13
|
+
ngtPaginationActivePageButtonStyle: NgtStylizableService;
|
|
14
|
+
ngtPaginationNextPreviousButtonStyle: NgtStylizableService;
|
|
15
|
+
ngtPaginationNextPreviousSectionButtonStyle: NgtStylizableService;
|
|
16
|
+
ngtPaginationFirstLastButtonStyle: NgtStylizableService;
|
|
17
|
+
ngtPaginationPageButtonStyle: NgtStylizableService;
|
|
18
|
+
sectionStartPage: number;
|
|
19
|
+
sectionEndPage: number;
|
|
20
|
+
displayNextSectionButton: boolean;
|
|
21
|
+
displayPreviousSectionButton: boolean;
|
|
22
|
+
displayPagination: boolean;
|
|
23
|
+
pagination: NgtHttpPagination;
|
|
24
|
+
pages: any[];
|
|
25
|
+
registersPerPageOptions: number[];
|
|
26
|
+
currentRegistersPerPage: number;
|
|
27
|
+
constructor(injector: Injector, ngtTranslateService: NgtTranslateService);
|
|
28
|
+
onRegistersPerPageChange(value: any): void;
|
|
29
|
+
goToPage(page: number): Promise<void>;
|
|
30
|
+
goToPreviousPage(): Promise<void>;
|
|
31
|
+
goToNextPage(): Promise<void>;
|
|
32
|
+
goToPreviousSection(): Promise<void>;
|
|
33
|
+
goToNextSection(): Promise<void>;
|
|
34
|
+
goToFirstPage(): Promise<void>;
|
|
35
|
+
goToLastPage(): Promise<void>;
|
|
36
|
+
getCurrentPage(): number;
|
|
37
|
+
getPagination(): NgtHttpPagination;
|
|
38
|
+
proccessPagination(meta: NgtHttpMeta): void;
|
|
39
|
+
resetPagination(): void;
|
|
40
|
+
private bindDisplayedButtonSections;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtPaginationComponent, [null, { optional: true; }]>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtPaginationComponent, "ngt-pagination", never, { "pagesInterval": "pagesInterval"; }, { "onPageChange": "onPageChange"; "onPerPageChange": "onPerPageChange"; }, never, never, false, never>;
|
|
43
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./ngt-pagination.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/forms";
|
|
5
|
-
import * as i4 from "../../directives/ngt-stylizable/ngt-stylizable.module";
|
|
6
|
-
import * as i5 from "../ngt-action/ngt-action.module";
|
|
7
|
-
import * as i6 from "../ngt-select/ngt-select.module";
|
|
8
|
-
export declare class NgtPaginationModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtPaginationModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgtPaginationModule, [typeof i1.NgtPaginationComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.NgtStylizableModule, typeof i5.NgtActionModule, typeof i6.NgtSelectModule], [typeof i1.NgtPaginationComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NgtPaginationModule>;
|
|
12
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ngt-pagination.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "../../directives/ngt-stylizable/ngt-stylizable.module";
|
|
6
|
+
import * as i5 from "../ngt-action/ngt-action.module";
|
|
7
|
+
import * as i6 from "../ngt-select/ngt-select.module";
|
|
8
|
+
export declare class NgtPaginationModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtPaginationModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgtPaginationModule, [typeof i1.NgtPaginationComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.NgtStylizableModule, typeof i5.NgtActionModule, typeof i6.NgtSelectModule], [typeof i1.NgtPaginationComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgtPaginationModule>;
|
|
12
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NgtPopoverTooltipComponent {
|
|
4
|
-
onMouseHoverEvent: EventEmitter<void>;
|
|
5
|
-
onMouseLeaveEvent: EventEmitter<void>;
|
|
6
|
-
popover: string;
|
|
7
|
-
popoverTemplate: TemplateRef<any>;
|
|
8
|
-
position: NgtPopoverPosition;
|
|
9
|
-
positionX: number;
|
|
10
|
-
positionY: number;
|
|
11
|
-
positionClasses: any;
|
|
12
|
-
onMouseLeave(): void;
|
|
13
|
-
onMouseEnter(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtPopoverTooltipComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtPopoverTooltipComponent, "ngt-popover-tooltip", never, {}, { "onMouseHoverEvent": "onMouseHoverEvent"; "onMouseLeaveEvent": "onMouseLeaveEvent"; }, never, never, false, never>;
|
|
16
|
-
}
|
|
17
|
-
export declare enum NgtPopoverPosition {
|
|
18
|
-
DEFAULT = "TOP",
|
|
19
|
-
TOP = "TOP",
|
|
20
|
-
BOTTOM = "BOTTOM"
|
|
21
|
-
}
|
|
1
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NgtPopoverTooltipComponent {
|
|
4
|
+
onMouseHoverEvent: EventEmitter<void>;
|
|
5
|
+
onMouseLeaveEvent: EventEmitter<void>;
|
|
6
|
+
popover: string;
|
|
7
|
+
popoverTemplate: TemplateRef<any>;
|
|
8
|
+
position: NgtPopoverPosition;
|
|
9
|
+
positionX: number;
|
|
10
|
+
positionY: number;
|
|
11
|
+
positionClasses: any;
|
|
12
|
+
onMouseLeave(): void;
|
|
13
|
+
onMouseEnter(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtPopoverTooltipComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtPopoverTooltipComponent, "ngt-popover-tooltip", never, {}, { "onMouseHoverEvent": "onMouseHoverEvent"; "onMouseLeaveEvent": "onMouseLeaveEvent"; }, never, never, false, never>;
|
|
16
|
+
}
|
|
17
|
+
export declare enum NgtPopoverPosition {
|
|
18
|
+
DEFAULT = "TOP",
|
|
19
|
+
TOP = "TOP",
|
|
20
|
+
BOTTOM = "BOTTOM"
|
|
21
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, Injector } from '@angular/core';
|
|
2
|
-
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
3
|
-
import { NgtTranslateService } from '../../services/http/ngt-translate.service';
|
|
4
|
-
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NgtPopoverComponent {
|
|
7
|
-
ngtStylizableDirective: NgtStylizableDirective;
|
|
8
|
-
ngtTranslateService: NgtTranslateService;
|
|
9
|
-
private injector;
|
|
10
|
-
dropdownRef: ElementRef;
|
|
11
|
-
hostDiv: ElementRef;
|
|
12
|
-
closeTimeout: number;
|
|
13
|
-
openMethod: string;
|
|
14
|
-
closeOnClick: boolean;
|
|
15
|
-
placeOnBottom: boolean;
|
|
16
|
-
placeOnLeft: boolean;
|
|
17
|
-
onClick: EventEmitter<any>;
|
|
18
|
-
ngtStyle: NgtStylizableService;
|
|
19
|
-
stylesToCompile: Array<string>;
|
|
20
|
-
private clickTimeout;
|
|
21
|
-
constructor(ngtStylizableDirective: NgtStylizableDirective, ngtTranslateService: NgtTranslateService, injector: Injector);
|
|
22
|
-
fireClickEvent(): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtPopoverComponent, [{ optional: true; self: true; }, { optional: true; }, null]>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtPopoverComponent, "ngt-popover", never, { "closeTimeout": "closeTimeout"; "openMethod": "openMethod"; "closeOnClick": "closeOnClick"; "placeOnBottom": "placeOnBottom"; "placeOnLeft": "placeOnLeft"; }, { "onClick": "onClick"; }, never, ["*", "[popover-content]"], false, never>;
|
|
25
|
-
}
|
|
26
|
-
export declare enum NgtPopoverOpenMethod {
|
|
27
|
-
CLICK = "CLICK",
|
|
28
|
-
POPOVER_CLICK = "POPOVER_CLICK",
|
|
29
|
-
RIGHT_CLICK = "RIGHT_CLICK",
|
|
30
|
-
HOVER = "HOVER"
|
|
31
|
-
}
|
|
1
|
+
import { ElementRef, EventEmitter, Injector } from '@angular/core';
|
|
2
|
+
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
3
|
+
import { NgtTranslateService } from '../../services/http/ngt-translate.service';
|
|
4
|
+
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class NgtPopoverComponent {
|
|
7
|
+
ngtStylizableDirective: NgtStylizableDirective;
|
|
8
|
+
ngtTranslateService: NgtTranslateService;
|
|
9
|
+
private injector;
|
|
10
|
+
dropdownRef: ElementRef;
|
|
11
|
+
hostDiv: ElementRef;
|
|
12
|
+
closeTimeout: number;
|
|
13
|
+
openMethod: string;
|
|
14
|
+
closeOnClick: boolean;
|
|
15
|
+
placeOnBottom: boolean;
|
|
16
|
+
placeOnLeft: boolean;
|
|
17
|
+
onClick: EventEmitter<any>;
|
|
18
|
+
ngtStyle: NgtStylizableService;
|
|
19
|
+
stylesToCompile: Array<string>;
|
|
20
|
+
private clickTimeout;
|
|
21
|
+
constructor(ngtStylizableDirective: NgtStylizableDirective, ngtTranslateService: NgtTranslateService, injector: Injector);
|
|
22
|
+
fireClickEvent(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtPopoverComponent, [{ optional: true; self: true; }, { optional: true; }, null]>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtPopoverComponent, "ngt-popover", never, { "closeTimeout": "closeTimeout"; "openMethod": "openMethod"; "closeOnClick": "closeOnClick"; "placeOnBottom": "placeOnBottom"; "placeOnLeft": "placeOnLeft"; }, { "onClick": "onClick"; }, never, ["*", "[popover-content]"], false, never>;
|
|
25
|
+
}
|
|
26
|
+
export declare enum NgtPopoverOpenMethod {
|
|
27
|
+
CLICK = "CLICK",
|
|
28
|
+
POPOVER_CLICK = "POPOVER_CLICK",
|
|
29
|
+
RIGHT_CLICK = "RIGHT_CLICK",
|
|
30
|
+
HOVER = "HOVER"
|
|
31
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { NgtPopoverPosition } from './ngt-popover-tooltip/ngt-popover-tooltip.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NgtPopoverDirective implements OnDestroy {
|
|
5
|
-
private elementRef;
|
|
6
|
-
private viewContainerRef;
|
|
7
|
-
ngtPopoverContent: string;
|
|
8
|
-
ngtPopoverTemplate: TemplateRef<any>;
|
|
9
|
-
ngtPopoverPosition: NgtPopoverPosition;
|
|
10
|
-
dismissDelay: number;
|
|
11
|
-
showDelay: number;
|
|
12
|
-
closeOnClick: boolean;
|
|
13
|
-
openMethod: 'HOVER' | 'CLICK';
|
|
14
|
-
private componentRef;
|
|
15
|
-
private dismissTimeoutInstance;
|
|
16
|
-
private showTimeoutInstance;
|
|
17
|
-
private toolTipMouseHoverSubscription;
|
|
18
|
-
private toolTipMouseLeaveSubscription;
|
|
19
|
-
constructor(elementRef: ElementRef, viewContainerRef: ViewContainerRef);
|
|
20
|
-
onClick(): void;
|
|
21
|
-
onDocumentClick(target: HTMLElement): void;
|
|
22
|
-
onMouseLeave(): void;
|
|
23
|
-
onMouseEnter(): void;
|
|
24
|
-
ngOnDestroy(): void;
|
|
25
|
-
private createPopover;
|
|
26
|
-
private destroy;
|
|
27
|
-
private setupPopoverComponent;
|
|
28
|
-
private bindSubscriptions;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtPopoverDirective, never>;
|
|
30
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtPopoverDirective, "[ngt-popover]", never, { "ngtPopoverContent": "ngtPopoverContent"; "ngtPopoverTemplate": "ngtPopoverTemplate"; "ngtPopoverPosition": "ngtPopoverPosition"; "dismissDelay": "dismissDelay"; "showDelay": "showDelay"; "closeOnClick": "closeOnClick"; "openMethod": "openMethod"; }, {}, never, never, false, never>;
|
|
31
|
-
}
|
|
1
|
+
import { ElementRef, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { NgtPopoverPosition } from './ngt-popover-tooltip/ngt-popover-tooltip.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NgtPopoverDirective implements OnDestroy {
|
|
5
|
+
private elementRef;
|
|
6
|
+
private viewContainerRef;
|
|
7
|
+
ngtPopoverContent: string;
|
|
8
|
+
ngtPopoverTemplate: TemplateRef<any>;
|
|
9
|
+
ngtPopoverPosition: NgtPopoverPosition;
|
|
10
|
+
dismissDelay: number;
|
|
11
|
+
showDelay: number;
|
|
12
|
+
closeOnClick: boolean;
|
|
13
|
+
openMethod: 'HOVER' | 'CLICK';
|
|
14
|
+
private componentRef;
|
|
15
|
+
private dismissTimeoutInstance;
|
|
16
|
+
private showTimeoutInstance;
|
|
17
|
+
private toolTipMouseHoverSubscription;
|
|
18
|
+
private toolTipMouseLeaveSubscription;
|
|
19
|
+
constructor(elementRef: ElementRef, viewContainerRef: ViewContainerRef);
|
|
20
|
+
onClick(): void;
|
|
21
|
+
onDocumentClick(target: HTMLElement): void;
|
|
22
|
+
onMouseLeave(): void;
|
|
23
|
+
onMouseEnter(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
private createPopover;
|
|
26
|
+
private destroy;
|
|
27
|
+
private setupPopoverComponent;
|
|
28
|
+
private bindSubscriptions;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtPopoverDirective, never>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtPopoverDirective, "[ngt-popover]", never, { "ngtPopoverContent": "ngtPopoverContent"; "ngtPopoverTemplate": "ngtPopoverTemplate"; "ngtPopoverPosition": "ngtPopoverPosition"; "dismissDelay": "dismissDelay"; "showDelay": "showDelay"; "closeOnClick": "closeOnClick"; "openMethod": "openMethod"; }, {}, never, never, false, never>;
|
|
31
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./ngt-popover.component";
|
|
3
|
-
import * as i2 from "./ngt-popover-tooltip/ngt-popover-tooltip.component";
|
|
4
|
-
import * as i3 from "./ngt-popover.directive";
|
|
5
|
-
import * as i4 from "@angular/common";
|
|
6
|
-
import * as i5 from "../ngt-dropdown/ngt-dropdown.module";
|
|
7
|
-
export declare class NgtPopoverModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtPopoverModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgtPopoverModule, [typeof i1.NgtPopoverComponent, typeof i2.NgtPopoverTooltipComponent, typeof i3.NgtPopoverDirective], [typeof i4.CommonModule, typeof i5.NgtDropdownModule], [typeof i1.NgtPopoverComponent, typeof i3.NgtPopoverDirective]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NgtPopoverModule>;
|
|
11
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ngt-popover.component";
|
|
3
|
+
import * as i2 from "./ngt-popover-tooltip/ngt-popover-tooltip.component";
|
|
4
|
+
import * as i3 from "./ngt-popover.directive";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "../ngt-dropdown/ngt-dropdown.module";
|
|
7
|
+
export declare class NgtPopoverModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtPopoverModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgtPopoverModule, [typeof i1.NgtPopoverComponent, typeof i2.NgtPopoverTooltipComponent, typeof i3.NgtPopoverDirective], [typeof i4.CommonModule, typeof i5.NgtDropdownModule], [typeof i1.NgtPopoverComponent, typeof i3.NgtPopoverDirective]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgtPopoverModule>;
|
|
11
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { NgtStylizableDirective } from '../../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
3
|
-
import { NgtStylizableService } from '../../../services/ngt-stylizable/ngt-stylizable.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class NgtPortletBodyComponent {
|
|
6
|
-
private injector;
|
|
7
|
-
private ngtStylizableDirective;
|
|
8
|
-
ngtStyle: NgtStylizableService;
|
|
9
|
-
constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective);
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtPortletBodyComponent, [null, { optional: true; self: true; }]>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtPortletBodyComponent, "ngt-portlet-body", never, {}, {}, never, ["*"], false, never>;
|
|
12
|
-
}
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { NgtStylizableDirective } from '../../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
3
|
+
import { NgtStylizableService } from '../../../services/ngt-stylizable/ngt-stylizable.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class NgtPortletBodyComponent {
|
|
6
|
+
private injector;
|
|
7
|
+
private ngtStylizableDirective;
|
|
8
|
+
ngtStyle: NgtStylizableService;
|
|
9
|
+
constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtPortletBodyComponent, [null, { optional: true; self: true; }]>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtPortletBodyComponent, "ngt-portlet-body", never, {}, {}, never, ["*"], false, never>;
|
|
12
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { NgtStylizableDirective } from '../../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
3
|
-
import { NgtStylizableService } from '../../../services/ngt-stylizable/ngt-stylizable.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class NgtPortletFooterComponent {
|
|
6
|
-
private injector;
|
|
7
|
-
private ngtStylizableDirective;
|
|
8
|
-
ngtStyle: NgtStylizableService;
|
|
9
|
-
constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective);
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtPortletFooterComponent, [null, { optional: true; self: true; }]>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtPortletFooterComponent, "ngt-portlet-footer", never, {}, {}, never, ["*", "[left-footer]", "[right-footer]"], false, never>;
|
|
12
|
-
}
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { NgtStylizableDirective } from '../../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
3
|
+
import { NgtStylizableService } from '../../../services/ngt-stylizable/ngt-stylizable.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class NgtPortletFooterComponent {
|
|
6
|
+
private injector;
|
|
7
|
+
private ngtStylizableDirective;
|
|
8
|
+
ngtStyle: NgtStylizableService;
|
|
9
|
+
constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtPortletFooterComponent, [null, { optional: true; self: true; }]>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtPortletFooterComponent, "ngt-portlet-footer", never, {}, {}, never, ["*", "[left-footer]", "[right-footer]"], false, never>;
|
|
12
|
+
}
|