ng-tailwind 5.2.0 → 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 -5
- 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 -11
- 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 +8657 -8632
- package/fesm2015/ng-tailwind.mjs.map +1 -1
- package/fesm2020/ng-tailwind.mjs +8482 -8459
- 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,154 +1,154 @@
|
|
|
1
|
-
import { ChangeDetectorRef, DoCheck, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
-
import { ControlContainer } from '@angular/forms';
|
|
3
|
-
import { NgOption, NgSelectComponent } from '@ng-select/ng-select';
|
|
4
|
-
import { Observable, Subject } from 'rxjs';
|
|
5
|
-
import { NgtBaseNgModel } from '../../base/ngt-base-ng-model';
|
|
6
|
-
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
7
|
-
import { NgtHttpService } from '../../services/http/ngt-http.service';
|
|
8
|
-
import { NgtTranslateService } from '../../services/http/ngt-translate.service';
|
|
9
|
-
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
10
|
-
import { NgtFormComponent } from '../ngt-form/ngt-form.component';
|
|
11
|
-
import { NgtSectionComponent } from '../ngt-section/ngt-section.component';
|
|
12
|
-
import { NgtModalComponent } from '../ngt-modal/ngt-modal.component';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
export declare class NgtSelectComponent extends NgtBaseNgModel implements OnChanges, OnDestroy, OnInit, DoCheck {
|
|
15
|
-
ngtStylizableDirective: NgtStylizableDirective;
|
|
16
|
-
formContainer: ControlContainer;
|
|
17
|
-
ngtTranslateService: NgtTranslateService;
|
|
18
|
-
private injector;
|
|
19
|
-
private ngtHttp;
|
|
20
|
-
private changeDetector;
|
|
21
|
-
private ngtForm;
|
|
22
|
-
private ngtSection;
|
|
23
|
-
private ngtModal;
|
|
24
|
-
ngSelectComponent: NgSelectComponent;
|
|
25
|
-
ngtOptionTemplate: TemplateRef<any>;
|
|
26
|
-
ngtOptionSelectedTemplate: TemplateRef<any>;
|
|
27
|
-
ngtSelectHeaderTemplate: TemplateRef<any>;
|
|
28
|
-
/** Visual */
|
|
29
|
-
label: string;
|
|
30
|
-
labelIcon: string;
|
|
31
|
-
labelIconColor: string;
|
|
32
|
-
helpTitle: string;
|
|
33
|
-
helpText: string;
|
|
34
|
-
helpTextColor: string;
|
|
35
|
-
shining: boolean;
|
|
36
|
-
loading: boolean;
|
|
37
|
-
loadingText: string;
|
|
38
|
-
notFoundText: string;
|
|
39
|
-
dropdownPosition: string;
|
|
40
|
-
typeToSearchText: string;
|
|
41
|
-
clearAllTooltip: string;
|
|
42
|
-
placeholder: string;
|
|
43
|
-
createText: string;
|
|
44
|
-
labelForId: string;
|
|
45
|
-
dropdownPanelMinHeight: NgtSelectDropdownPanelHeight;
|
|
46
|
-
helperReverseYPosition: boolean;
|
|
47
|
-
helperAutoXReverse: boolean;
|
|
48
|
-
/** Behavior */
|
|
49
|
-
name: string;
|
|
50
|
-
autoLoad: boolean;
|
|
51
|
-
allowCreate: boolean | Promise<any> | Function;
|
|
52
|
-
allowOriginalItemsUnselect: boolean;
|
|
53
|
-
isDisabled: boolean;
|
|
54
|
-
isReadonly: boolean;
|
|
55
|
-
remoteResource: any;
|
|
56
|
-
hideSelected: boolean;
|
|
57
|
-
bindLabel: string;
|
|
58
|
-
bindValue: string;
|
|
59
|
-
items: Array<any> | Observable<any>;
|
|
60
|
-
inputAttrs: {
|
|
61
|
-
[key: string]: string;
|
|
62
|
-
};
|
|
63
|
-
closeOnSelect: boolean;
|
|
64
|
-
clearable: boolean;
|
|
65
|
-
groupBy: string | Function;
|
|
66
|
-
maxSelectedItems: number;
|
|
67
|
-
multiple: boolean;
|
|
68
|
-
searchable: boolean;
|
|
69
|
-
clearSearchOnAdd: boolean;
|
|
70
|
-
virtualScroll: boolean;
|
|
71
|
-
tabIndex: number;
|
|
72
|
-
typeahead: Subject<any>;
|
|
73
|
-
guessCompareWith: boolean;
|
|
74
|
-
autoSelectUniqueOption: boolean;
|
|
75
|
-
groupValue: (groupKey: string, cildren: any[]) => Object;
|
|
76
|
-
trackBy: (item: any) => any;
|
|
77
|
-
sortSelectedItemsFn: (a: any, b: any) => any;
|
|
78
|
-
isAllowedToRemoveFn: (a: any) => boolean;
|
|
79
|
-
/** Validation */
|
|
80
|
-
isRequired: boolean;
|
|
81
|
-
onLoadRemoteResource: EventEmitter<any>;
|
|
82
|
-
onSelectedItemRemove: EventEmitter<any>;
|
|
83
|
-
onClear: EventEmitter<void>;
|
|
84
|
-
onClose: EventEmitter<void>;
|
|
85
|
-
nativeName: string;
|
|
86
|
-
ngtStyle: NgtStylizableService;
|
|
87
|
-
ngSelectItems: any;
|
|
88
|
-
nativeValue: any;
|
|
89
|
-
componentReady: boolean;
|
|
90
|
-
wasClicked: boolean;
|
|
91
|
-
private ngSearchObserver;
|
|
92
|
-
private originalPerPage;
|
|
93
|
-
private subscriptions;
|
|
94
|
-
private originalItems;
|
|
95
|
-
private currentState;
|
|
96
|
-
private searchTimeout;
|
|
97
|
-
private hadFirstItemsLoad;
|
|
98
|
-
constructor(ngtStylizableDirective: NgtStylizableDirective, formContainer: ControlContainer, ngtTranslateService: NgtTranslateService, injector: Injector, ngtHttp: NgtHttpService, changeDetector: ChangeDetectorRef, ngtForm: NgtFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent);
|
|
99
|
-
compareWith: (a: any, b: any) => boolean;
|
|
100
|
-
ngOnInit(): void;
|
|
101
|
-
ngAfterViewInit(): void;
|
|
102
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
103
|
-
ngDoCheck(): void;
|
|
104
|
-
ngOnDestroy(): void;
|
|
105
|
-
onOpen(): void;
|
|
106
|
-
removeItem(event: Event, item: any): void;
|
|
107
|
-
refresh(): void;
|
|
108
|
-
reset(): void;
|
|
109
|
-
setFocus(): void;
|
|
110
|
-
onClearSelect(): void;
|
|
111
|
-
onRemoveSelectedItem(item: NgOption): void;
|
|
112
|
-
getFilterInputValue(): string;
|
|
113
|
-
itemSearchFn: (term: string, item: any) => any;
|
|
114
|
-
search(filters: any): void;
|
|
115
|
-
onNativeChange(value: any): void;
|
|
116
|
-
change(value: any): void;
|
|
117
|
-
onScroll({ end }: {
|
|
118
|
-
end: any;
|
|
119
|
-
}): void;
|
|
120
|
-
hasSelectedValue(): string;
|
|
121
|
-
cantRemoveItem(itemValue: any): boolean;
|
|
122
|
-
getSelectClass(): string;
|
|
123
|
-
disabled(): boolean;
|
|
124
|
-
private calculateDropdownPosition;
|
|
125
|
-
private initNgSelectItems;
|
|
126
|
-
private initComponentValidation;
|
|
127
|
-
private sortSelectedItems;
|
|
128
|
-
private getElementTitle;
|
|
129
|
-
private hasChangesBetweenModels;
|
|
130
|
-
private updateValidations;
|
|
131
|
-
private isRequiredValidator;
|
|
132
|
-
private replaceShowAddTag;
|
|
133
|
-
private bindInnerInputUniqueId;
|
|
134
|
-
private bindCompareWithByResponse;
|
|
135
|
-
private hasTermInFilteredItems;
|
|
136
|
-
private hasTermInSelectedItems;
|
|
137
|
-
private hadPreviousSelection;
|
|
138
|
-
private isColoquentResource;
|
|
139
|
-
private canLoadItems;
|
|
140
|
-
private canAutoSelectUniqueOption;
|
|
141
|
-
private bindSubscriptions;
|
|
142
|
-
private isDisabledByParent;
|
|
143
|
-
private destroySubscriptions;
|
|
144
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtSelectComponent, [{ optional: true; self: true; }, { optional: true; host: true; }, { optional: true; }, null, null, null, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }]>;
|
|
145
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtSelectComponent, "ngt-select", never, { "label": "label"; "labelIcon": "labelIcon"; "labelIconColor": "labelIconColor"; "helpTitle": "helpTitle"; "helpText": "helpText"; "helpTextColor": "helpTextColor"; "shining": "shining"; "loading": "loading"; "loadingText": "loadingText"; "notFoundText": "notFoundText"; "dropdownPosition": "dropdownPosition"; "typeToSearchText": "typeToSearchText"; "clearAllTooltip": "clearAllTooltip"; "placeholder": "placeholder"; "createText": "createText"; "labelForId": "labelForId"; "dropdownPanelMinHeight": "dropdownPanelMinHeight"; "helperReverseYPosition": "helperReverseYPosition"; "helperAutoXReverse": "helperAutoXReverse"; "name": "name"; "autoLoad": "autoLoad"; "allowCreate": "allowCreate"; "allowOriginalItemsUnselect": "allowOriginalItemsUnselect"; "isDisabled": "isDisabled"; "isReadonly": "isReadonly"; "remoteResource": "remoteResource"; "hideSelected": "hideSelected"; "bindLabel": "bindLabel"; "bindValue": "bindValue"; "items": "items"; "inputAttrs": "inputAttrs"; "closeOnSelect": "closeOnSelect"; "clearable": "clearable"; "groupBy": "groupBy"; "maxSelectedItems": "maxSelectedItems"; "multiple": "multiple"; "searchable": "searchable"; "clearSearchOnAdd": "clearSearchOnAdd"; "virtualScroll": "virtualScroll"; "tabIndex": "tabIndex"; "typeahead": "typeahead"; "guessCompareWith": "guessCompareWith"; "autoSelectUniqueOption": "autoSelectUniqueOption"; "groupValue": "groupValue"; "trackBy": "trackBy"; "sortSelectedItemsFn": "sortSelectedItemsFn"; "isAllowedToRemoveFn": "isAllowedToRemoveFn"; "isRequired": "isRequired"; "compareWith": "compareWith"; }, { "onLoadRemoteResource": "onLoadRemoteResource"; "onSelectedItemRemove": "onSelectedItemRemove"; "onClear": "onClear"; "onClose": "onClose"; }, ["ngtOptionTemplate", "ngtOptionSelectedTemplate", "ngtSelectHeaderTemplate"], never, false, never>;
|
|
146
|
-
}
|
|
147
|
-
export declare enum NgtSelectDropdownPanelHeight {
|
|
148
|
-
AUTO = "auto",
|
|
149
|
-
XS = "xs",
|
|
150
|
-
MD = "md",
|
|
151
|
-
SM = "sm",
|
|
152
|
-
LG = "lg",
|
|
153
|
-
XL = "xl"
|
|
154
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, DoCheck, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ControlContainer } from '@angular/forms';
|
|
3
|
+
import { NgOption, NgSelectComponent } from '@ng-select/ng-select';
|
|
4
|
+
import { Observable, Subject } from 'rxjs';
|
|
5
|
+
import { NgtBaseNgModel } from '../../base/ngt-base-ng-model';
|
|
6
|
+
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
7
|
+
import { NgtHttpService } from '../../services/http/ngt-http.service';
|
|
8
|
+
import { NgtTranslateService } from '../../services/http/ngt-translate.service';
|
|
9
|
+
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
10
|
+
import { NgtFormComponent } from '../ngt-form/ngt-form.component';
|
|
11
|
+
import { NgtSectionComponent } from '../ngt-section/ngt-section.component';
|
|
12
|
+
import { NgtModalComponent } from '../ngt-modal/ngt-modal.component';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
export declare class NgtSelectComponent extends NgtBaseNgModel implements OnChanges, OnDestroy, OnInit, DoCheck {
|
|
15
|
+
ngtStylizableDirective: NgtStylizableDirective;
|
|
16
|
+
formContainer: ControlContainer;
|
|
17
|
+
ngtTranslateService: NgtTranslateService;
|
|
18
|
+
private injector;
|
|
19
|
+
private ngtHttp;
|
|
20
|
+
private changeDetector;
|
|
21
|
+
private ngtForm;
|
|
22
|
+
private ngtSection;
|
|
23
|
+
private ngtModal;
|
|
24
|
+
ngSelectComponent: NgSelectComponent;
|
|
25
|
+
ngtOptionTemplate: TemplateRef<any>;
|
|
26
|
+
ngtOptionSelectedTemplate: TemplateRef<any>;
|
|
27
|
+
ngtSelectHeaderTemplate: TemplateRef<any>;
|
|
28
|
+
/** Visual */
|
|
29
|
+
label: string;
|
|
30
|
+
labelIcon: string;
|
|
31
|
+
labelIconColor: string;
|
|
32
|
+
helpTitle: string;
|
|
33
|
+
helpText: string;
|
|
34
|
+
helpTextColor: string;
|
|
35
|
+
shining: boolean;
|
|
36
|
+
loading: boolean;
|
|
37
|
+
loadingText: string;
|
|
38
|
+
notFoundText: string;
|
|
39
|
+
dropdownPosition: string;
|
|
40
|
+
typeToSearchText: string;
|
|
41
|
+
clearAllTooltip: string;
|
|
42
|
+
placeholder: string;
|
|
43
|
+
createText: string;
|
|
44
|
+
labelForId: string;
|
|
45
|
+
dropdownPanelMinHeight: NgtSelectDropdownPanelHeight;
|
|
46
|
+
helperReverseYPosition: boolean;
|
|
47
|
+
helperAutoXReverse: boolean;
|
|
48
|
+
/** Behavior */
|
|
49
|
+
name: string;
|
|
50
|
+
autoLoad: boolean;
|
|
51
|
+
allowCreate: boolean | Promise<any> | Function;
|
|
52
|
+
allowOriginalItemsUnselect: boolean;
|
|
53
|
+
isDisabled: boolean;
|
|
54
|
+
isReadonly: boolean;
|
|
55
|
+
remoteResource: any;
|
|
56
|
+
hideSelected: boolean;
|
|
57
|
+
bindLabel: string;
|
|
58
|
+
bindValue: string;
|
|
59
|
+
items: Array<any> | Observable<any>;
|
|
60
|
+
inputAttrs: {
|
|
61
|
+
[key: string]: string;
|
|
62
|
+
};
|
|
63
|
+
closeOnSelect: boolean;
|
|
64
|
+
clearable: boolean;
|
|
65
|
+
groupBy: string | Function;
|
|
66
|
+
maxSelectedItems: number;
|
|
67
|
+
multiple: boolean;
|
|
68
|
+
searchable: boolean;
|
|
69
|
+
clearSearchOnAdd: boolean;
|
|
70
|
+
virtualScroll: boolean;
|
|
71
|
+
tabIndex: number;
|
|
72
|
+
typeahead: Subject<any>;
|
|
73
|
+
guessCompareWith: boolean;
|
|
74
|
+
autoSelectUniqueOption: boolean;
|
|
75
|
+
groupValue: (groupKey: string, cildren: any[]) => Object;
|
|
76
|
+
trackBy: (item: any) => any;
|
|
77
|
+
sortSelectedItemsFn: (a: any, b: any) => any;
|
|
78
|
+
isAllowedToRemoveFn: (a: any) => boolean;
|
|
79
|
+
/** Validation */
|
|
80
|
+
isRequired: boolean;
|
|
81
|
+
onLoadRemoteResource: EventEmitter<any>;
|
|
82
|
+
onSelectedItemRemove: EventEmitter<any>;
|
|
83
|
+
onClear: EventEmitter<void>;
|
|
84
|
+
onClose: EventEmitter<void>;
|
|
85
|
+
nativeName: string;
|
|
86
|
+
ngtStyle: NgtStylizableService;
|
|
87
|
+
ngSelectItems: any;
|
|
88
|
+
nativeValue: any;
|
|
89
|
+
componentReady: boolean;
|
|
90
|
+
wasClicked: boolean;
|
|
91
|
+
private ngSearchObserver;
|
|
92
|
+
private originalPerPage;
|
|
93
|
+
private subscriptions;
|
|
94
|
+
private originalItems;
|
|
95
|
+
private currentState;
|
|
96
|
+
private searchTimeout;
|
|
97
|
+
private hadFirstItemsLoad;
|
|
98
|
+
constructor(ngtStylizableDirective: NgtStylizableDirective, formContainer: ControlContainer, ngtTranslateService: NgtTranslateService, injector: Injector, ngtHttp: NgtHttpService, changeDetector: ChangeDetectorRef, ngtForm: NgtFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent);
|
|
99
|
+
compareWith: (a: any, b: any) => boolean;
|
|
100
|
+
ngOnInit(): void;
|
|
101
|
+
ngAfterViewInit(): void;
|
|
102
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
103
|
+
ngDoCheck(): void;
|
|
104
|
+
ngOnDestroy(): void;
|
|
105
|
+
onOpen(): void;
|
|
106
|
+
removeItem(event: Event, item: any): void;
|
|
107
|
+
refresh(): void;
|
|
108
|
+
reset(): void;
|
|
109
|
+
setFocus(): void;
|
|
110
|
+
onClearSelect(): void;
|
|
111
|
+
onRemoveSelectedItem(item: NgOption): void;
|
|
112
|
+
getFilterInputValue(): string;
|
|
113
|
+
itemSearchFn: (term: string, item: any) => any;
|
|
114
|
+
search(filters: any): void;
|
|
115
|
+
onNativeChange(value: any): void;
|
|
116
|
+
change(value: any): void;
|
|
117
|
+
onScroll({ end }: {
|
|
118
|
+
end: any;
|
|
119
|
+
}): void;
|
|
120
|
+
hasSelectedValue(): string;
|
|
121
|
+
cantRemoveItem(itemValue: any): boolean;
|
|
122
|
+
getSelectClass(): string;
|
|
123
|
+
disabled(): boolean;
|
|
124
|
+
private calculateDropdownPosition;
|
|
125
|
+
private initNgSelectItems;
|
|
126
|
+
private initComponentValidation;
|
|
127
|
+
private sortSelectedItems;
|
|
128
|
+
private getElementTitle;
|
|
129
|
+
private hasChangesBetweenModels;
|
|
130
|
+
private updateValidations;
|
|
131
|
+
private isRequiredValidator;
|
|
132
|
+
private replaceShowAddTag;
|
|
133
|
+
private bindInnerInputUniqueId;
|
|
134
|
+
private bindCompareWithByResponse;
|
|
135
|
+
private hasTermInFilteredItems;
|
|
136
|
+
private hasTermInSelectedItems;
|
|
137
|
+
private hadPreviousSelection;
|
|
138
|
+
private isColoquentResource;
|
|
139
|
+
private canLoadItems;
|
|
140
|
+
private canAutoSelectUniqueOption;
|
|
141
|
+
private bindSubscriptions;
|
|
142
|
+
private isDisabledByParent;
|
|
143
|
+
private destroySubscriptions;
|
|
144
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtSelectComponent, [{ optional: true; self: true; }, { optional: true; host: true; }, { optional: true; }, null, null, null, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }]>;
|
|
145
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtSelectComponent, "ngt-select", never, { "label": "label"; "labelIcon": "labelIcon"; "labelIconColor": "labelIconColor"; "helpTitle": "helpTitle"; "helpText": "helpText"; "helpTextColor": "helpTextColor"; "shining": "shining"; "loading": "loading"; "loadingText": "loadingText"; "notFoundText": "notFoundText"; "dropdownPosition": "dropdownPosition"; "typeToSearchText": "typeToSearchText"; "clearAllTooltip": "clearAllTooltip"; "placeholder": "placeholder"; "createText": "createText"; "labelForId": "labelForId"; "dropdownPanelMinHeight": "dropdownPanelMinHeight"; "helperReverseYPosition": "helperReverseYPosition"; "helperAutoXReverse": "helperAutoXReverse"; "name": "name"; "autoLoad": "autoLoad"; "allowCreate": "allowCreate"; "allowOriginalItemsUnselect": "allowOriginalItemsUnselect"; "isDisabled": "isDisabled"; "isReadonly": "isReadonly"; "remoteResource": "remoteResource"; "hideSelected": "hideSelected"; "bindLabel": "bindLabel"; "bindValue": "bindValue"; "items": "items"; "inputAttrs": "inputAttrs"; "closeOnSelect": "closeOnSelect"; "clearable": "clearable"; "groupBy": "groupBy"; "maxSelectedItems": "maxSelectedItems"; "multiple": "multiple"; "searchable": "searchable"; "clearSearchOnAdd": "clearSearchOnAdd"; "virtualScroll": "virtualScroll"; "tabIndex": "tabIndex"; "typeahead": "typeahead"; "guessCompareWith": "guessCompareWith"; "autoSelectUniqueOption": "autoSelectUniqueOption"; "groupValue": "groupValue"; "trackBy": "trackBy"; "sortSelectedItemsFn": "sortSelectedItemsFn"; "isAllowedToRemoveFn": "isAllowedToRemoveFn"; "isRequired": "isRequired"; "compareWith": "compareWith"; }, { "onLoadRemoteResource": "onLoadRemoteResource"; "onSelectedItemRemove": "onSelectedItemRemove"; "onClear": "onClear"; "onClose": "onClose"; }, ["ngtOptionTemplate", "ngtOptionSelectedTemplate", "ngtSelectHeaderTemplate"], never, false, never>;
|
|
146
|
+
}
|
|
147
|
+
export declare enum NgtSelectDropdownPanelHeight {
|
|
148
|
+
AUTO = "auto",
|
|
149
|
+
XS = "xs",
|
|
150
|
+
MD = "md",
|
|
151
|
+
SM = "sm",
|
|
152
|
+
LG = "lg",
|
|
153
|
+
XL = "xl"
|
|
154
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NgtSelectOptionTmp {
|
|
4
|
-
template: TemplateRef<any>;
|
|
5
|
-
constructor(template: TemplateRef<any>);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtSelectOptionTmp, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtSelectOptionTmp, "[ngt-select-option]", never, {}, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
9
|
-
export declare class NgtSelectOptionSelectedTmp {
|
|
10
|
-
template: TemplateRef<any>;
|
|
11
|
-
constructor(template: TemplateRef<any>);
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtSelectOptionSelectedTmp, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtSelectOptionSelectedTmp, "[ngt-select-option-selected]", never, {}, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
15
|
-
export declare class NgtSelectHeaderTmp {
|
|
16
|
-
template: TemplateRef<any>;
|
|
17
|
-
constructor(template: TemplateRef<any>);
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtSelectHeaderTmp, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtSelectHeaderTmp, "[ngt-select-header]", never, {}, {}, never, never, false, never>;
|
|
20
|
-
}
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NgtSelectOptionTmp {
|
|
4
|
+
template: TemplateRef<any>;
|
|
5
|
+
constructor(template: TemplateRef<any>);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtSelectOptionTmp, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtSelectOptionTmp, "[ngt-select-option]", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare class NgtSelectOptionSelectedTmp {
|
|
10
|
+
template: TemplateRef<any>;
|
|
11
|
+
constructor(template: TemplateRef<any>);
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtSelectOptionSelectedTmp, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtSelectOptionSelectedTmp, "[ngt-select-option-selected]", never, {}, {}, never, never, false, never>;
|
|
14
|
+
}
|
|
15
|
+
export declare class NgtSelectHeaderTmp {
|
|
16
|
+
template: TemplateRef<any>;
|
|
17
|
+
constructor(template: TemplateRef<any>);
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtSelectHeaderTmp, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtSelectHeaderTmp, "[ngt-select-header]", never, {}, {}, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./ngt-select.component";
|
|
3
|
-
import * as i2 from "./ngt-select.directive";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "@angular/forms";
|
|
6
|
-
import * as i5 from "@ng-select/ng-select";
|
|
7
|
-
import * as i6 from "../ngt-validation/ngt-validation.module";
|
|
8
|
-
import * as i7 from "../ngt-form/ngt-form.module";
|
|
9
|
-
import * as i8 from "../ngt-shining/ngt-shining.module";
|
|
10
|
-
import * as i9 from "../ngt-helper/ngt-helper.module";
|
|
11
|
-
import * as i10 from "../ngt-svg/ngt-svg.module";
|
|
12
|
-
export declare class NgtSelectModule {
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtSelectModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgtSelectModule, [typeof i1.NgtSelectComponent, typeof i2.NgtSelectOptionTmp, typeof i2.NgtSelectOptionSelectedTmp, typeof i2.NgtSelectHeaderTmp], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.NgSelectModule, typeof i6.NgtValidationModule, typeof i7.NgtFormModule, typeof i8.NgtShiningModule, typeof i9.NgtHelperModule, typeof i10.NgtSvgModule], [typeof i1.NgtSelectComponent, typeof i2.NgtSelectOptionTmp, typeof i2.NgtSelectOptionSelectedTmp, typeof i2.NgtSelectHeaderTmp]>;
|
|
15
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NgtSelectModule>;
|
|
16
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ngt-select.component";
|
|
3
|
+
import * as i2 from "./ngt-select.directive";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "@ng-select/ng-select";
|
|
7
|
+
import * as i6 from "../ngt-validation/ngt-validation.module";
|
|
8
|
+
import * as i7 from "../ngt-form/ngt-form.module";
|
|
9
|
+
import * as i8 from "../ngt-shining/ngt-shining.module";
|
|
10
|
+
import * as i9 from "../ngt-helper/ngt-helper.module";
|
|
11
|
+
import * as i10 from "../ngt-svg/ngt-svg.module";
|
|
12
|
+
export declare class NgtSelectModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtSelectModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgtSelectModule, [typeof i1.NgtSelectComponent, typeof i2.NgtSelectOptionTmp, typeof i2.NgtSelectOptionSelectedTmp, typeof i2.NgtSelectHeaderTmp], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.NgSelectModule, typeof i6.NgtValidationModule, typeof i7.NgtFormModule, typeof i8.NgtShiningModule, typeof i9.NgtHelperModule, typeof i10.NgtSvgModule], [typeof i1.NgtSelectComponent, typeof i2.NgtSelectOptionTmp, typeof i2.NgtSelectOptionSelectedTmp, typeof i2.NgtSelectHeaderTmp]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgtSelectModule>;
|
|
16
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
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 NgtShiningComponent {
|
|
6
|
-
private injector;
|
|
7
|
-
private ngtStylizableDirective;
|
|
8
|
-
shiningWidth: NgtShiningWidth;
|
|
9
|
-
ngtStyle: NgtStylizableService;
|
|
10
|
-
constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective);
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtShiningComponent, [null, { optional: true; self: true; }]>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtShiningComponent, "ngt-shining", never, { "shiningWidth": "shiningWidth"; }, {}, never, never, false, never>;
|
|
13
|
-
}
|
|
14
|
-
export declare enum NgtShiningWidth {
|
|
15
|
-
xs = "xs",
|
|
16
|
-
sm = "sm",
|
|
17
|
-
lg = "lg",
|
|
18
|
-
xl = "xl"
|
|
19
|
-
}
|
|
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 NgtShiningComponent {
|
|
6
|
+
private injector;
|
|
7
|
+
private ngtStylizableDirective;
|
|
8
|
+
shiningWidth: NgtShiningWidth;
|
|
9
|
+
ngtStyle: NgtStylizableService;
|
|
10
|
+
constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective);
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtShiningComponent, [null, { optional: true; self: true; }]>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtShiningComponent, "ngt-shining", never, { "shiningWidth": "shiningWidth"; }, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
14
|
+
export declare enum NgtShiningWidth {
|
|
15
|
+
xs = "xs",
|
|
16
|
+
sm = "sm",
|
|
17
|
+
lg = "lg",
|
|
18
|
+
xl = "xl"
|
|
19
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./ngt-shining.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class NgtShiningModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtShiningModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgtShiningModule, [typeof i1.NgtShiningComponent], [typeof i2.CommonModule], [typeof i1.NgtShiningComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NgtShiningModule>;
|
|
8
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ngt-shining.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class NgtShiningModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtShiningModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgtShiningModule, [typeof i1.NgtShiningComponent], [typeof i2.CommonModule], [typeof i1.NgtShiningComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgtShiningModule>;
|
|
8
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, Injector, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
3
|
-
import { Size } from '../../enums/size.enum';
|
|
4
|
-
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NgtSidenavComponent implements AfterViewInit {
|
|
7
|
-
private injector;
|
|
8
|
-
private ngtStyleDirective;
|
|
9
|
-
sideMenuRef: ElementRef;
|
|
10
|
-
containerRef: ElementRef;
|
|
11
|
-
size: Size;
|
|
12
|
-
initVisible: boolean;
|
|
13
|
-
closeMenuOnMobileView: boolean;
|
|
14
|
-
visible: boolean;
|
|
15
|
-
open: boolean;
|
|
16
|
-
isMenuContracted: boolean;
|
|
17
|
-
ngtStyle: NgtStylizableService;
|
|
18
|
-
private screenWidth;
|
|
19
|
-
constructor(injector: Injector, ngtStyleDirective: NgtStylizableDirective);
|
|
20
|
-
bindScreenSize(event?: any): void;
|
|
21
|
-
ngAfterViewInit(): void;
|
|
22
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
-
toggleMenu(): void;
|
|
24
|
-
closeMenu(): void;
|
|
25
|
-
openMenu(): void;
|
|
26
|
-
getNavSize(): "w-full" | "md:w-auto w-4/12" | "md:w-1/12 w-4/12" | "md:w-2/12 w-5/12" | "md:w-4/12 w-6/12" | "md:w-6/12 w-full";
|
|
27
|
-
getContainerSize(): "w-full" | "md:w-6/12 w-full" | "md:w-11/12 w-full" | "md:w-10/12 w-full" | "md:w-8/12 w-full";
|
|
28
|
-
toggleMenuSize(size: Size): void;
|
|
29
|
-
isMobileView(): boolean;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtSidenavComponent, [null, { optional: true; self: true; }]>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtSidenavComponent, "ngt-sidenav", never, { "size": "size"; "initVisible": "initVisible"; "closeMenuOnMobileView": "closeMenuOnMobileView"; }, {}, never, ["[sideMenu]", "*"], false, never>;
|
|
32
|
-
}
|
|
1
|
+
import { AfterViewInit, ElementRef, Injector, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
3
|
+
import { Size } from '../../enums/size.enum';
|
|
4
|
+
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class NgtSidenavComponent implements AfterViewInit {
|
|
7
|
+
private injector;
|
|
8
|
+
private ngtStyleDirective;
|
|
9
|
+
sideMenuRef: ElementRef;
|
|
10
|
+
containerRef: ElementRef;
|
|
11
|
+
size: Size;
|
|
12
|
+
initVisible: boolean;
|
|
13
|
+
closeMenuOnMobileView: boolean;
|
|
14
|
+
visible: boolean;
|
|
15
|
+
open: boolean;
|
|
16
|
+
isMenuContracted: boolean;
|
|
17
|
+
ngtStyle: NgtStylizableService;
|
|
18
|
+
private screenWidth;
|
|
19
|
+
constructor(injector: Injector, ngtStyleDirective: NgtStylizableDirective);
|
|
20
|
+
bindScreenSize(event?: any): void;
|
|
21
|
+
ngAfterViewInit(): void;
|
|
22
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
+
toggleMenu(): void;
|
|
24
|
+
closeMenu(): void;
|
|
25
|
+
openMenu(): void;
|
|
26
|
+
getNavSize(): "w-full" | "md:w-auto w-4/12" | "md:w-1/12 w-4/12" | "md:w-2/12 w-5/12" | "md:w-4/12 w-6/12" | "md:w-6/12 w-full";
|
|
27
|
+
getContainerSize(): "w-full" | "md:w-6/12 w-full" | "md:w-11/12 w-full" | "md:w-10/12 w-full" | "md:w-8/12 w-full";
|
|
28
|
+
toggleMenuSize(size: Size): void;
|
|
29
|
+
isMobileView(): boolean;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtSidenavComponent, [null, { optional: true; self: true; }]>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtSidenavComponent, "ngt-sidenav", never, { "size": "size"; "initVisible": "initVisible"; "closeMenuOnMobileView": "closeMenuOnMobileView"; }, {}, never, ["[sideMenu]", "*"], false, never>;
|
|
32
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./ngt-sidenav.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class NgtSidenavModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtSidenavModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgtSidenavModule, [typeof i1.NgtSidenavComponent], [typeof i2.CommonModule], [typeof i1.NgtSidenavComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NgtSidenavModule>;
|
|
8
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ngt-sidenav.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class NgtSidenavModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtSidenavModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgtSidenavModule, [typeof i1.NgtSidenavComponent], [typeof i2.CommonModule], [typeof i1.NgtSidenavComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgtSidenavModule>;
|
|
8
|
+
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
|
-
import { ControlContainer } from '@angular/forms';
|
|
3
|
-
import { NgtBaseNgModel } from '../../base/ngt-base-ng-model';
|
|
4
|
-
import { NgtFormComponent } from '../ngt-form/ngt-form.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NgtSliderComponent extends NgtBaseNgModel implements AfterViewInit, OnDestroy {
|
|
7
|
-
formContainer: ControlContainer;
|
|
8
|
-
private renderer;
|
|
9
|
-
private ngtFormComponent;
|
|
10
|
-
element: ElementRef;
|
|
11
|
-
display: ElementRef;
|
|
12
|
-
label: string;
|
|
13
|
-
shining: boolean;
|
|
14
|
-
isDisabled: boolean;
|
|
15
|
-
showPercentageSymbol: boolean;
|
|
16
|
-
name: string;
|
|
17
|
-
min: string;
|
|
18
|
-
max: string;
|
|
19
|
-
step: string;
|
|
20
|
-
color: NgtSliderColorSchemeEnum;
|
|
21
|
-
private subscriptions;
|
|
22
|
-
constructor(formContainer: ControlContainer, renderer: Renderer2, ngtFormComponent: NgtFormComponent);
|
|
23
|
-
ngAfterViewInit(): void;
|
|
24
|
-
ngOnDestroy(): void;
|
|
25
|
-
change(value: boolean): void;
|
|
26
|
-
onNativeChange(value: boolean): void;
|
|
27
|
-
private destroySubscriptions;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtSliderComponent, [{ optional: true; host: true; }, null, { optional: true; skipSelf: true; }]>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtSliderComponent, "ngt-slider", never, { "label": "label"; "shining": "shining"; "isDisabled": "isDisabled"; "showPercentageSymbol": "showPercentageSymbol"; "name": "name"; "min": "min"; "max": "max"; "step": "step"; "color": "color"; }, {}, never, never, false, never>;
|
|
30
|
-
}
|
|
31
|
-
export declare enum NgtSliderColorSchemeEnum {
|
|
32
|
-
PRIMARY = "primary",
|
|
33
|
-
SUCCESS = "success",
|
|
34
|
-
WARNING = "warning",
|
|
35
|
-
DANGER = "danger"
|
|
36
|
-
}
|
|
1
|
+
import { AfterViewInit, ElementRef, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
|
+
import { ControlContainer } from '@angular/forms';
|
|
3
|
+
import { NgtBaseNgModel } from '../../base/ngt-base-ng-model';
|
|
4
|
+
import { NgtFormComponent } from '../ngt-form/ngt-form.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class NgtSliderComponent extends NgtBaseNgModel implements AfterViewInit, OnDestroy {
|
|
7
|
+
formContainer: ControlContainer;
|
|
8
|
+
private renderer;
|
|
9
|
+
private ngtFormComponent;
|
|
10
|
+
element: ElementRef;
|
|
11
|
+
display: ElementRef;
|
|
12
|
+
label: string;
|
|
13
|
+
shining: boolean;
|
|
14
|
+
isDisabled: boolean;
|
|
15
|
+
showPercentageSymbol: boolean;
|
|
16
|
+
name: string;
|
|
17
|
+
min: string;
|
|
18
|
+
max: string;
|
|
19
|
+
step: string;
|
|
20
|
+
color: NgtSliderColorSchemeEnum;
|
|
21
|
+
private subscriptions;
|
|
22
|
+
constructor(formContainer: ControlContainer, renderer: Renderer2, ngtFormComponent: NgtFormComponent);
|
|
23
|
+
ngAfterViewInit(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
change(value: boolean): void;
|
|
26
|
+
onNativeChange(value: boolean): void;
|
|
27
|
+
private destroySubscriptions;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtSliderComponent, [{ optional: true; host: true; }, null, { optional: true; skipSelf: true; }]>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtSliderComponent, "ngt-slider", never, { "label": "label"; "shining": "shining"; "isDisabled": "isDisabled"; "showPercentageSymbol": "showPercentageSymbol"; "name": "name"; "min": "min"; "max": "max"; "step": "step"; "color": "color"; }, {}, never, never, false, never>;
|
|
30
|
+
}
|
|
31
|
+
export declare enum NgtSliderColorSchemeEnum {
|
|
32
|
+
PRIMARY = "primary",
|
|
33
|
+
SUCCESS = "success",
|
|
34
|
+
WARNING = "warning",
|
|
35
|
+
DANGER = "danger"
|
|
36
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./ngt-slider.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../ngt-shining/ngt-shining.module";
|
|
5
|
-
export declare class NgtSliderModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtSliderModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgtSliderModule, [typeof i1.NgtSliderComponent], [typeof i2.CommonModule, typeof i3.NgtShiningModule], [typeof i1.NgtSliderComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NgtSliderModule>;
|
|
9
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ngt-slider.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../ngt-shining/ngt-shining.module";
|
|
5
|
+
export declare class NgtSliderModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtSliderModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgtSliderModule, [typeof i1.NgtSliderComponent], [typeof i2.CommonModule, typeof i3.NgtShiningModule], [typeof i1.NgtSliderComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgtSliderModule>;
|
|
9
|
+
}
|