ng-tailwind 5.2.3 → 5.2.5
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 +20 -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 +70 -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 +66 -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 +69 -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 +299 -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 +279 -273
- package/esm2020/services/validation/ngt-ability-validation.service.mjs +3 -3
- package/fesm2015/ng-tailwind.mjs +8669 -8653
- package/fesm2015/ng-tailwind.mjs.map +1 -1
- package/fesm2020/ng-tailwind.mjs +8494 -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 +99 -96
- package/services/validation/ngt-ability-validation.service.d.ts +5 -5
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { FormsModule } from '@angular/forms';
|
|
4
|
-
import { NgtStylizableModule } from '../../directives/ngt-stylizable/ngt-stylizable.module';
|
|
5
|
-
import { NgtActionModule } from '../ngt-action/ngt-action.module';
|
|
6
|
-
import { NgtSelectModule } from '../ngt-select/ngt-select.module';
|
|
7
|
-
import { NgtPaginationComponent } from './ngt-pagination.component';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export class NgtPaginationModule {
|
|
10
|
-
}
|
|
11
|
-
NgtPaginationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
|
-
NgtPaginationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.8", ngImport: i0, type: NgtPaginationModule, declarations: [NgtPaginationComponent], imports: [CommonModule,
|
|
13
|
-
FormsModule,
|
|
14
|
-
NgtStylizableModule,
|
|
15
|
-
NgtActionModule,
|
|
16
|
-
NgtSelectModule], exports: [NgtPaginationComponent] });
|
|
17
|
-
NgtPaginationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPaginationModule, imports: [CommonModule,
|
|
18
|
-
FormsModule,
|
|
19
|
-
NgtStylizableModule,
|
|
20
|
-
NgtActionModule,
|
|
21
|
-
NgtSelectModule] });
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPaginationModule, decorators: [{
|
|
23
|
-
type: NgModule,
|
|
24
|
-
args: [{
|
|
25
|
-
declarations: [NgtPaginationComponent],
|
|
26
|
-
exports: [NgtPaginationComponent],
|
|
27
|
-
imports: [
|
|
28
|
-
CommonModule,
|
|
29
|
-
FormsModule,
|
|
30
|
-
NgtStylizableModule,
|
|
31
|
-
NgtActionModule,
|
|
32
|
-
NgtSelectModule,
|
|
33
|
-
]
|
|
34
|
-
}]
|
|
35
|
-
}] });
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { FormsModule } from '@angular/forms';
|
|
4
|
+
import { NgtStylizableModule } from '../../directives/ngt-stylizable/ngt-stylizable.module';
|
|
5
|
+
import { NgtActionModule } from '../ngt-action/ngt-action.module';
|
|
6
|
+
import { NgtSelectModule } from '../ngt-select/ngt-select.module';
|
|
7
|
+
import { NgtPaginationComponent } from './ngt-pagination.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export class NgtPaginationModule {
|
|
10
|
+
}
|
|
11
|
+
NgtPaginationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
|
+
NgtPaginationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.8", ngImport: i0, type: NgtPaginationModule, declarations: [NgtPaginationComponent], imports: [CommonModule,
|
|
13
|
+
FormsModule,
|
|
14
|
+
NgtStylizableModule,
|
|
15
|
+
NgtActionModule,
|
|
16
|
+
NgtSelectModule], exports: [NgtPaginationComponent] });
|
|
17
|
+
NgtPaginationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPaginationModule, imports: [CommonModule,
|
|
18
|
+
FormsModule,
|
|
19
|
+
NgtStylizableModule,
|
|
20
|
+
NgtActionModule,
|
|
21
|
+
NgtSelectModule] });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPaginationModule, decorators: [{
|
|
23
|
+
type: NgModule,
|
|
24
|
+
args: [{
|
|
25
|
+
declarations: [NgtPaginationComponent],
|
|
26
|
+
exports: [NgtPaginationComponent],
|
|
27
|
+
imports: [
|
|
28
|
+
CommonModule,
|
|
29
|
+
FormsModule,
|
|
30
|
+
NgtStylizableModule,
|
|
31
|
+
NgtActionModule,
|
|
32
|
+
NgtSelectModule,
|
|
33
|
+
]
|
|
34
|
+
}]
|
|
35
|
+
}] });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0LXBhZ2luYXRpb24ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctdGFpbHdpbmQvc3JjL2NvbXBvbmVudHMvbmd0LXBhZ2luYXRpb24vbmd0LXBhZ2luYXRpb24ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUU3QyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBT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1xuaW1wb3J0IHsgTmd0QWN0aW9uTW9kdWxlIH0gZnJvbSAnLi4vbmd0LWFjdGlvbi9uZ3QtYWN0aW9uLm1vZHVsZSc7XG5pbXBvcnQgeyBOZ3RTZWxlY3RNb2R1bGUgfSBmcm9tICcuLi9uZ3Qtc2VsZWN0L25ndC1zZWxlY3QubW9kdWxlJztcbmltcG9ydCB7IE5ndFBhZ2luYXRpb25Db21wb25lbnQgfSBmcm9tICcuL25ndC1wYWdpbmF0aW9uLmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gICAgZGVjbGFyYXRpb25zOiBbTmd0UGFnaW5hdGlvbkNvbXBvbmVudF0sXG4gICAgZXhwb3J0czogW05ndFBhZ2luYXRpb25Db21wb25lbnRdLFxuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxuICAgICAgICBGb3Jtc01vZHVsZSxcbiAgICAgICAgTmd0U3R5bGl6YWJsZU1vZHVsZSxcbiAgICAgICAgTmd0QWN0aW9uTW9kdWxlLFxuICAgICAgICBOZ3RTZWxlY3RNb2R1bGUsXG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBOZ3RQYWdpbmF0aW9uTW9kdWxlIHsgfVxuIl19
|
package/esm2020/components/ngt-popover/ngt-popover-tooltip/ngt-popover-tooltip.component.mjs
CHANGED
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { animate, state, style, transition, trigger } from '@angular/animations';
|
|
2
|
-
import { Component, EventEmitter, HostListener, Output } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
export class NgtPopoverTooltipComponent {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.onMouseHoverEvent = new EventEmitter();
|
|
8
|
-
this.onMouseLeaveEvent = new EventEmitter();
|
|
9
|
-
this.position = NgtPopoverPosition.DEFAULT;
|
|
10
|
-
this.positionClasses = {
|
|
11
|
-
[NgtPopoverPosition.TOP]: '-mt-10',
|
|
12
|
-
[NgtPopoverPosition.BOTTOM]: '-mb-10',
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
onMouseLeave() {
|
|
16
|
-
this.onMouseLeaveEvent.emit();
|
|
17
|
-
}
|
|
18
|
-
onMouseEnter() {
|
|
19
|
-
this.onMouseHoverEvent.emit();
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
NgtPopoverTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPopoverTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
-
NgtPopoverTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: NgtPopoverTooltipComponent, selector: "ngt-popover-tooltip", outputs: { onMouseHoverEvent: "onMouseHoverEvent", onMouseLeaveEvent: "onMouseLeaveEvent" }, host: { listeners: { "mouseleave": "onMouseLeave()", "mouseenter": "onMouseEnter()" } }, ngImport: i0, template: "<div class=\"bg-white rounded-lg shadow-2xl border border-gray-200 absolute max-w-7xl\"\
|
|
24
|
-
trigger('enterAnimation', [
|
|
25
|
-
state('void', style({ transform: 'translateY(-20px)', opacity: 0 })),
|
|
26
|
-
transition(':enter', [
|
|
27
|
-
animate(200)
|
|
28
|
-
])
|
|
29
|
-
]),
|
|
30
|
-
] });
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPopoverTooltipComponent, decorators: [{
|
|
32
|
-
type: Component,
|
|
33
|
-
args: [{ selector: 'ngt-popover-tooltip', animations: [
|
|
34
|
-
trigger('enterAnimation', [
|
|
35
|
-
state('void', style({ transform: 'translateY(-20px)', opacity: 0 })),
|
|
36
|
-
transition(':enter', [
|
|
37
|
-
animate(200)
|
|
38
|
-
])
|
|
39
|
-
]),
|
|
40
|
-
], template: "<div class=\"bg-white rounded-lg shadow-2xl border border-gray-200 absolute max-w-7xl\"\
|
|
41
|
-
}], propDecorators: { onMouseHoverEvent: [{
|
|
42
|
-
type: Output
|
|
43
|
-
}], onMouseLeaveEvent: [{
|
|
44
|
-
type: Output
|
|
45
|
-
}], onMouseLeave: [{
|
|
46
|
-
type: HostListener,
|
|
47
|
-
args: ['mouseleave']
|
|
48
|
-
}], onMouseEnter: [{
|
|
49
|
-
type: HostListener,
|
|
50
|
-
args: ['mouseenter']
|
|
51
|
-
}] } });
|
|
52
|
-
export var NgtPopoverPosition;
|
|
53
|
-
(function (NgtPopoverPosition) {
|
|
54
|
-
NgtPopoverPosition["DEFAULT"] = "TOP";
|
|
55
|
-
NgtPopoverPosition["TOP"] = "TOP";
|
|
56
|
-
NgtPopoverPosition["BOTTOM"] = "BOTTOM";
|
|
57
|
-
})(NgtPopoverPosition || (NgtPopoverPosition = {}));
|
|
58
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { animate, state, style, transition, trigger } from '@angular/animations';
|
|
2
|
+
import { Component, EventEmitter, HostListener, Output } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
export class NgtPopoverTooltipComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.onMouseHoverEvent = new EventEmitter();
|
|
8
|
+
this.onMouseLeaveEvent = new EventEmitter();
|
|
9
|
+
this.position = NgtPopoverPosition.DEFAULT;
|
|
10
|
+
this.positionClasses = {
|
|
11
|
+
[NgtPopoverPosition.TOP]: '-mt-10',
|
|
12
|
+
[NgtPopoverPosition.BOTTOM]: '-mb-10',
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
onMouseLeave() {
|
|
16
|
+
this.onMouseLeaveEvent.emit();
|
|
17
|
+
}
|
|
18
|
+
onMouseEnter() {
|
|
19
|
+
this.onMouseHoverEvent.emit();
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
NgtPopoverTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPopoverTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
NgtPopoverTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: NgtPopoverTooltipComponent, selector: "ngt-popover-tooltip", outputs: { onMouseHoverEvent: "onMouseHoverEvent", onMouseLeaveEvent: "onMouseLeaveEvent" }, host: { listeners: { "mouseleave": "onMouseLeave()", "mouseenter": "onMouseEnter()" } }, ngImport: i0, template: "<div class=\"bg-white rounded-lg shadow-2xl border border-gray-200 absolute max-w-7xl\"\n [ngClass]=\"positionClasses[position]\" [style.left.px]=\"positionX\" [style.top.px]=\"positionY\"\n style=\"z-index: 999999 !important; width: max-content !important;\"\n (click)=\"$event.stopPropagation()\" @enterAnimation>\n\n <div *ngIf=\"!popoverTemplate; else showTemplate\" class=\"px-2 py-1 text-gray-700 whitespace-nowrap\">\n {{ popover }}\n </div>\n\n <ng-template #showTemplate>\n <ng-container [ngTemplateOutlet]=\"popoverTemplate\"></ng-container>\n </ng-template>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], animations: [
|
|
24
|
+
trigger('enterAnimation', [
|
|
25
|
+
state('void', style({ transform: 'translateY(-20px)', opacity: 0 })),
|
|
26
|
+
transition(':enter', [
|
|
27
|
+
animate(200)
|
|
28
|
+
])
|
|
29
|
+
]),
|
|
30
|
+
] });
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPopoverTooltipComponent, decorators: [{
|
|
32
|
+
type: Component,
|
|
33
|
+
args: [{ selector: 'ngt-popover-tooltip', animations: [
|
|
34
|
+
trigger('enterAnimation', [
|
|
35
|
+
state('void', style({ transform: 'translateY(-20px)', opacity: 0 })),
|
|
36
|
+
transition(':enter', [
|
|
37
|
+
animate(200)
|
|
38
|
+
])
|
|
39
|
+
]),
|
|
40
|
+
], template: "<div class=\"bg-white rounded-lg shadow-2xl border border-gray-200 absolute max-w-7xl\"\n [ngClass]=\"positionClasses[position]\" [style.left.px]=\"positionX\" [style.top.px]=\"positionY\"\n style=\"z-index: 999999 !important; width: max-content !important;\"\n (click)=\"$event.stopPropagation()\" @enterAnimation>\n\n <div *ngIf=\"!popoverTemplate; else showTemplate\" class=\"px-2 py-1 text-gray-700 whitespace-nowrap\">\n {{ popover }}\n </div>\n\n <ng-template #showTemplate>\n <ng-container [ngTemplateOutlet]=\"popoverTemplate\"></ng-container>\n </ng-template>\n</div>\n" }]
|
|
41
|
+
}], propDecorators: { onMouseHoverEvent: [{
|
|
42
|
+
type: Output
|
|
43
|
+
}], onMouseLeaveEvent: [{
|
|
44
|
+
type: Output
|
|
45
|
+
}], onMouseLeave: [{
|
|
46
|
+
type: HostListener,
|
|
47
|
+
args: ['mouseleave']
|
|
48
|
+
}], onMouseEnter: [{
|
|
49
|
+
type: HostListener,
|
|
50
|
+
args: ['mouseenter']
|
|
51
|
+
}] } });
|
|
52
|
+
export var NgtPopoverPosition;
|
|
53
|
+
(function (NgtPopoverPosition) {
|
|
54
|
+
NgtPopoverPosition["DEFAULT"] = "TOP";
|
|
55
|
+
NgtPopoverPosition["TOP"] = "TOP";
|
|
56
|
+
NgtPopoverPosition["BOTTOM"] = "BOTTOM";
|
|
57
|
+
})(NgtPopoverPosition || (NgtPopoverPosition = {}));
|
|
58
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0LXBvcG92ZXItdG9vbHRpcC5jb21wb25lbnQuanMiLCJzb3VyY2VSb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T1cInBvc2l0aW9uWFwiIFtzdHlsZS50b3AucHhdPVwicG9zaXRpb25ZXCJcbiAgICBzdHlsZT1cInotaW5kZXg6IDk5OTk5OSAhaW1wb3J0YW50OyB3aWR0aDogbWF4LWNvbnRlbnQgIWltcG9ydGFudDtcIlxuICAgIChjbGljayk9XCIkZXZlbnQuc3RvcFByb3BhZ2F0aW9uKClcIiBAZW50ZXJBbmltYXRpb24+XG5cbiAgICA8ZGl2ICpuZ0lmPVwiIXBvcG92ZXJUZW1wbGF0ZTsgZWxzZSBzaG93VGVtcGxhdGVcIiBjbGFzcz1cInB4LTIgcHktMSB0ZXh0LWdyYXktNzAwIHdoaXRlc3BhY2Utbm93cmFwXCI+XG4gICAgICAgIHt7IHBvcG92ZXIgfX1cbiAgICA8L2Rpdj5cblxuICAgIDxuZy10ZW1wbGF0ZSAjc2hvd1RlbXBsYXRlPlxuICAgICAgICA8bmctY29udGFpbmVyIFtuZ1RlbXBsYXRlT3V0bGV0XT1cInBvcG92ZXJUZW1wbGF0ZVwiPjwvbmctY29udGFpbmVyPlxuICAgIDwvbmctdGVtcGxhdGU+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Optional, Output, Self, ViewChild } from '@angular/core';
|
|
2
|
-
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../directives/ngt-stylizable/ngt-stylizable.directive";
|
|
5
|
-
import * as i2 from "../../services/http/ngt-translate.service";
|
|
6
|
-
import * as i3 from "@angular/common";
|
|
7
|
-
import * as i4 from "../ngt-dropdown/ngt-dropdown.component";
|
|
8
|
-
export class NgtPopoverComponent {
|
|
9
|
-
constructor(ngtStylizableDirective, ngtTranslateService, injector) {
|
|
10
|
-
this.ngtStylizableDirective = ngtStylizableDirective;
|
|
11
|
-
this.ngtTranslateService = ngtTranslateService;
|
|
12
|
-
this.injector = injector;
|
|
13
|
-
this.openMethod = NgtPopoverOpenMethod.HOVER;
|
|
14
|
-
this.onClick = new EventEmitter();
|
|
15
|
-
this.stylesToCompile = ['h', 'w', 'px', 'py', 'm', 'mx', 'my', 'shadow', 'text', 'border', 'color.border', 'color.bg', 'color.text'];
|
|
16
|
-
if (this.ngtStylizableDirective) {
|
|
17
|
-
this.ngtStyle = this.ngtStylizableDirective.getNgtStylizableService();
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
this.ngtStyle = new NgtStylizableService();
|
|
21
|
-
}
|
|
22
|
-
this.ngtStyle.load(this.injector, 'NgtPopover', {
|
|
23
|
-
text: 'text-sm',
|
|
24
|
-
fontCase: '',
|
|
25
|
-
py: 'py-3',
|
|
26
|
-
px: 'px-2',
|
|
27
|
-
border: 'border',
|
|
28
|
-
color: {
|
|
29
|
-
border: 'border-gray-400',
|
|
30
|
-
text: 'text-black',
|
|
31
|
-
bg: 'bg-white'
|
|
32
|
-
},
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
fireClickEvent() {
|
|
36
|
-
if (this.clickTimeout) {
|
|
37
|
-
clearTimeout(this.clickTimeout);
|
|
38
|
-
}
|
|
39
|
-
this.clickTimeout = setTimeout(() => {
|
|
40
|
-
this.onClick.emit();
|
|
41
|
-
const event = new MouseEvent('click', { bubbles: true });
|
|
42
|
-
event.preventDefault();
|
|
43
|
-
event.stopPropagation();
|
|
44
|
-
this.hostDiv.nativeElement.dispatchEvent(event);
|
|
45
|
-
}, 500);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
NgtPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPopoverComponent, deps: [{ token: i1.NgtStylizableDirective, optional: true, self: true }, { token: i2.NgtTranslateService, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
49
|
-
NgtPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: NgtPopoverComponent, selector: "ngt-popover", inputs: { closeTimeout: "closeTimeout", openMethod: "openMethod", closeOnClick: "closeOnClick", placeOnBottom: "placeOnBottom", placeOnLeft: "placeOnLeft" }, outputs: { onClick: "onClick" }, viewQueries: [{ propertyName: "dropdownRef", first: true, predicate: ["dropdownRef"], descendants: true, static: true }, { propertyName: "hostDiv", first: true, predicate: ["hostDiv"], descendants: true }], ngImport: i0, template: "<ngt-dropdown class=\"flex w-full hover:opacity-100\" [closeOnClick]=\"closeOnClick\" [openMethod]=\"openMethod\"\
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPopoverComponent, decorators: [{
|
|
51
|
-
type: Component,
|
|
52
|
-
args: [{ selector: 'ngt-popover', template: "<ngt-dropdown class=\"flex w-full hover:opacity-100\" [closeOnClick]=\"closeOnClick\" [openMethod]=\"openMethod\"\
|
|
53
|
-
}], ctorParameters: function () { return [{ type: i1.NgtStylizableDirective, decorators: [{
|
|
54
|
-
type: Optional
|
|
55
|
-
}, {
|
|
56
|
-
type: Self
|
|
57
|
-
}] }, { type: i2.NgtTranslateService, decorators: [{
|
|
58
|
-
type: Optional
|
|
59
|
-
}] }, { type: i0.Injector }]; }, propDecorators: { dropdownRef: [{
|
|
60
|
-
type: ViewChild,
|
|
61
|
-
args: ['dropdownRef', { static: true }]
|
|
62
|
-
}], hostDiv: [{
|
|
63
|
-
type: ViewChild,
|
|
64
|
-
args: ['hostDiv']
|
|
65
|
-
}], closeTimeout: [{
|
|
66
|
-
type: Input
|
|
67
|
-
}], openMethod: [{
|
|
68
|
-
type: Input
|
|
69
|
-
}], closeOnClick: [{
|
|
70
|
-
type: Input
|
|
71
|
-
}], placeOnBottom: [{
|
|
72
|
-
type: Input
|
|
73
|
-
}], placeOnLeft: [{
|
|
74
|
-
type: Input
|
|
75
|
-
}], onClick: [{
|
|
76
|
-
type: Output
|
|
77
|
-
}] } });
|
|
78
|
-
export var NgtPopoverOpenMethod;
|
|
79
|
-
(function (NgtPopoverOpenMethod) {
|
|
80
|
-
NgtPopoverOpenMethod["CLICK"] = "CLICK";
|
|
81
|
-
NgtPopoverOpenMethod["POPOVER_CLICK"] = "POPOVER_CLICK";
|
|
82
|
-
NgtPopoverOpenMethod["RIGHT_CLICK"] = "RIGHT_CLICK";
|
|
83
|
-
NgtPopoverOpenMethod["HOVER"] = "HOVER";
|
|
84
|
-
})(NgtPopoverOpenMethod || (NgtPopoverOpenMethod = {}));
|
|
85
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, EventEmitter, Input, Optional, Output, Self, ViewChild } from '@angular/core';
|
|
2
|
+
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../directives/ngt-stylizable/ngt-stylizable.directive";
|
|
5
|
+
import * as i2 from "../../services/http/ngt-translate.service";
|
|
6
|
+
import * as i3 from "@angular/common";
|
|
7
|
+
import * as i4 from "../ngt-dropdown/ngt-dropdown.component";
|
|
8
|
+
export class NgtPopoverComponent {
|
|
9
|
+
constructor(ngtStylizableDirective, ngtTranslateService, injector) {
|
|
10
|
+
this.ngtStylizableDirective = ngtStylizableDirective;
|
|
11
|
+
this.ngtTranslateService = ngtTranslateService;
|
|
12
|
+
this.injector = injector;
|
|
13
|
+
this.openMethod = NgtPopoverOpenMethod.HOVER;
|
|
14
|
+
this.onClick = new EventEmitter();
|
|
15
|
+
this.stylesToCompile = ['h', 'w', 'px', 'py', 'm', 'mx', 'my', 'shadow', 'text', 'border', 'color.border', 'color.bg', 'color.text'];
|
|
16
|
+
if (this.ngtStylizableDirective) {
|
|
17
|
+
this.ngtStyle = this.ngtStylizableDirective.getNgtStylizableService();
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
this.ngtStyle = new NgtStylizableService();
|
|
21
|
+
}
|
|
22
|
+
this.ngtStyle.load(this.injector, 'NgtPopover', {
|
|
23
|
+
text: 'text-sm',
|
|
24
|
+
fontCase: '',
|
|
25
|
+
py: 'py-3',
|
|
26
|
+
px: 'px-2',
|
|
27
|
+
border: 'border',
|
|
28
|
+
color: {
|
|
29
|
+
border: 'border-gray-400',
|
|
30
|
+
text: 'text-black',
|
|
31
|
+
bg: 'bg-white'
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
fireClickEvent() {
|
|
36
|
+
if (this.clickTimeout) {
|
|
37
|
+
clearTimeout(this.clickTimeout);
|
|
38
|
+
}
|
|
39
|
+
this.clickTimeout = setTimeout(() => {
|
|
40
|
+
this.onClick.emit();
|
|
41
|
+
const event = new MouseEvent('click', { bubbles: true });
|
|
42
|
+
event.preventDefault();
|
|
43
|
+
event.stopPropagation();
|
|
44
|
+
this.hostDiv.nativeElement.dispatchEvent(event);
|
|
45
|
+
}, 500);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
NgtPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPopoverComponent, deps: [{ token: i1.NgtStylizableDirective, optional: true, self: true }, { token: i2.NgtTranslateService, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
49
|
+
NgtPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: NgtPopoverComponent, selector: "ngt-popover", inputs: { closeTimeout: "closeTimeout", openMethod: "openMethod", closeOnClick: "closeOnClick", placeOnBottom: "placeOnBottom", placeOnLeft: "placeOnLeft" }, outputs: { onClick: "onClick" }, viewQueries: [{ propertyName: "dropdownRef", first: true, predicate: ["dropdownRef"], descendants: true, static: true }, { propertyName: "hostDiv", first: true, predicate: ["hostDiv"], descendants: true }], ngImport: i0, template: "<ngt-dropdown class=\"flex w-full hover:opacity-100\" [closeOnClick]=\"closeOnClick\" [openMethod]=\"openMethod\"\n [autoYReverse]=\"false\" [reverseXPosition]=\"!placeOnLeft\" [reverseYPosition]=\"!placeOnBottom\"\n [closeTimeout]=\"closeTimeout\" (onHostClick)=\"fireClickEvent()\" #dropdownRef>\n <div #hostDiv host>\n <ng-content></ng-content>\n </div>\n\n <div class=\"bg-gray-100 text-sm rounded-lg hover:opacity-100 text-gray-800 shadow-lg -mb-4\"\n [ngClass]=\"ngtStyle.compile(stylesToCompile)\" container>\n\n <ng-content select=\"[popover-content]\"></ng-content>\n </div>\n</ngt-dropdown>\n", dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i4.NgtDropdownComponent, selector: "ngt-dropdown", inputs: ["scrollable", "autoXReverse", "autoYReverse", "reverseXPosition", "reverseYPosition", "closeOnClick", "closeTimeout", "openMethod"], outputs: ["onToggle", "onHostClick"] }] });
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPopoverComponent, decorators: [{
|
|
51
|
+
type: Component,
|
|
52
|
+
args: [{ selector: 'ngt-popover', template: "<ngt-dropdown class=\"flex w-full hover:opacity-100\" [closeOnClick]=\"closeOnClick\" [openMethod]=\"openMethod\"\n [autoYReverse]=\"false\" [reverseXPosition]=\"!placeOnLeft\" [reverseYPosition]=\"!placeOnBottom\"\n [closeTimeout]=\"closeTimeout\" (onHostClick)=\"fireClickEvent()\" #dropdownRef>\n <div #hostDiv host>\n <ng-content></ng-content>\n </div>\n\n <div class=\"bg-gray-100 text-sm rounded-lg hover:opacity-100 text-gray-800 shadow-lg -mb-4\"\n [ngClass]=\"ngtStyle.compile(stylesToCompile)\" container>\n\n <ng-content select=\"[popover-content]\"></ng-content>\n </div>\n</ngt-dropdown>\n" }]
|
|
53
|
+
}], ctorParameters: function () { return [{ type: i1.NgtStylizableDirective, decorators: [{
|
|
54
|
+
type: Optional
|
|
55
|
+
}, {
|
|
56
|
+
type: Self
|
|
57
|
+
}] }, { type: i2.NgtTranslateService, decorators: [{
|
|
58
|
+
type: Optional
|
|
59
|
+
}] }, { type: i0.Injector }]; }, propDecorators: { dropdownRef: [{
|
|
60
|
+
type: ViewChild,
|
|
61
|
+
args: ['dropdownRef', { static: true }]
|
|
62
|
+
}], hostDiv: [{
|
|
63
|
+
type: ViewChild,
|
|
64
|
+
args: ['hostDiv']
|
|
65
|
+
}], closeTimeout: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}], openMethod: [{
|
|
68
|
+
type: Input
|
|
69
|
+
}], closeOnClick: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}], placeOnBottom: [{
|
|
72
|
+
type: Input
|
|
73
|
+
}], placeOnLeft: [{
|
|
74
|
+
type: Input
|
|
75
|
+
}], onClick: [{
|
|
76
|
+
type: Output
|
|
77
|
+
}] } });
|
|
78
|
+
export var NgtPopoverOpenMethod;
|
|
79
|
+
(function (NgtPopoverOpenMethod) {
|
|
80
|
+
NgtPopoverOpenMethod["CLICK"] = "CLICK";
|
|
81
|
+
NgtPopoverOpenMethod["POPOVER_CLICK"] = "POPOVER_CLICK";
|
|
82
|
+
NgtPopoverOpenMethod["RIGHT_CLICK"] = "RIGHT_CLICK";
|
|
83
|
+
NgtPopoverOpenMethod["HOVER"] = "HOVER";
|
|
84
|
+
})(NgtPopoverOpenMethod || (NgtPopoverOpenMethod = {}));
|
|
85
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0LXBvcG92ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctdGFpbHdpbmQvc3JjL2NvbXBvbmVudHMvbmd0LXBvcG92ZXIvbmd0LXBvcG92ZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctdGFpbHdpbmQvc3JjL2NvbXBvbmVudHMvb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