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,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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Sc7XHJcbmltcG9ydCB7IE5ndEFjdGlvbk1vZHVsZSB9IGZyb20gJy4uL25ndC1hY3Rpb24vbmd0LWFjdGlvbi5tb2R1bGUnO1xyXG5pbXBvcnQgeyBOZ3RTZWxlY3RNb2R1bGUgfSBmcm9tICcuLi9uZ3Qtc2VsZWN0L25ndC1zZWxlY3QubW9kdWxlJztcclxuaW1wb3J0IHsgTmd0UGFnaW5hdGlvbkNvbXBvbmVudCB9IGZyb20gJy4vbmd0LXBhZ2luYXRpb24uY29tcG9uZW50JztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgICBkZWNsYXJhdGlvbnM6IFtOZ3RQYWdpbmF0aW9uQ29tcG9uZW50XSxcclxuICAgIGV4cG9ydHM6IFtOZ3RQYWdpbmF0aW9uQ29tcG9uZW50XSxcclxuICAgIGltcG9ydHM6IFtcclxuICAgICAgICBDb21tb25Nb2R1bGUsXHJcbiAgICAgICAgRm9ybXNNb2R1bGUsXHJcbiAgICAgICAgTmd0U3R5bGl6YWJsZU1vZHVsZSxcclxuICAgICAgICBOZ3RBY3Rpb25Nb2R1bGUsXHJcbiAgICAgICAgTmd0U2VsZWN0TW9kdWxlLFxyXG4gICAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgTmd0UGFnaW5hdGlvbk1vZHVsZSB7IH1cclxuIl19
|
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\"\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,
|
|
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\"\r\n [ngClass]=\"positionClasses[position]\" [style.left.px]=\"positionX\" [style.top.px]=\"positionY\"\r\n style=\"z-index: 999999 !important; width: max-content !important;\"\r\n (click)=\"$event.stopPropagation()\" @enterAnimation>\r\n\r\n <div *ngIf=\"!popoverTemplate; else showTemplate\" class=\"px-2 py-1 text-gray-700 whitespace-nowrap\">\r\n {{ popover }}\r\n </div>\r\n\r\n <ng-template #showTemplate>\r\n <ng-container [ngTemplateOutlet]=\"popoverTemplate\"></ng-container>\r\n </ng-template>\r\n</div>\r\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\"\r\n [ngClass]=\"positionClasses[position]\" [style.left.px]=\"positionX\" [style.top.px]=\"positionY\"\r\n style=\"z-index: 999999 !important; width: max-content !important;\"\r\n (click)=\"$event.stopPropagation()\" @enterAnimation>\r\n\r\n <div *ngIf=\"!popoverTemplate; else showTemplate\" class=\"px-2 py-1 text-gray-700 whitespace-nowrap\">\r\n {{ popover }}\r\n </div>\r\n\r\n <ng-template #showTemplate>\r\n <ng-container [ngTemplateOutlet]=\"popoverTemplate\"></ng-container>\r\n </ng-template>\r\n</div>\r\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0LXBvcG92ZXItdG9vbHRpcC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZy10YWlsd2luZC9zcmMvY29tcG9uZW50cy9uZ3QtcG9wb3Zlci9uZ3QtcG9wb3Zlci10b29sdGlwL25ndC1wb3BvdmVyLXRvb2x0aXAuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctdGFpbHdpbmQ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WNvbnRlbnQgIWltcG9ydGFudDtcIlxyXG4gICAgKGNsaWNrKT1cIiRldmVudC5zdG9wUHJvcGFnYXRpb24oKVwiIEBlbnRlckFuaW1hdGlvbj5cclxuXHJcbiAgICA8ZGl2ICpuZ0lmPVwiIXBvcG92ZXJUZW1wbGF0ZTsgZWxzZSBzaG93VGVtcGxhdGVcIiBjbGFzcz1cInB4LTIgcHktMSB0ZXh0LWdyYXktNzAwIHdoaXRlc3BhY2Utbm93cmFwXCI+XHJcbiAgICAgICAge3sgcG9wb3ZlciB9fVxyXG4gICAgPC9kaXY+XHJcblxyXG4gICAgPG5nLXRlbXBsYXRlICNzaG93VGVtcGxhdGU+XHJcbiAgICAgICAgPG5nLWNvbnRhaW5lciBbbmdUZW1wbGF0ZU91dGxldF09XCJwb3BvdmVyVGVtcGxhdGVcIj48L25nLWNvbnRhaW5lcj5cclxuICAgIDwvbmctdGVtcGxhdGU+XHJcbjwvZGl2PlxyXG4iXX0=
|
|
@@ -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\"\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,
|
|
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\"\r\n [autoYReverse]=\"false\" [reverseXPosition]=\"!placeOnLeft\" [reverseYPosition]=\"!placeOnBottom\"\r\n [closeTimeout]=\"closeTimeout\" (onHostClick)=\"fireClickEvent()\" #dropdownRef>\r\n <div #hostDiv host>\r\n <ng-content></ng-content>\r\n </div>\r\n\r\n <div class=\"bg-gray-100 text-sm rounded-lg hover:opacity-100 text-gray-800 shadow-lg -mb-4\"\r\n [ngClass]=\"ngtStyle.compile(stylesToCompile)\" container>\r\n\r\n <ng-content select=\"[popover-content]\"></ng-content>\r\n </div>\r\n</ngt-dropdown>\r\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\"\r\n [autoYReverse]=\"false\" [reverseXPosition]=\"!placeOnLeft\" [reverseYPosition]=\"!placeOnBottom\"\r\n [closeTimeout]=\"closeTimeout\" (onHostClick)=\"fireClickEvent()\" #dropdownRef>\r\n <div #hostDiv host>\r\n <ng-content></ng-content>\r\n </div>\r\n\r\n <div class=\"bg-gray-100 text-sm rounded-lg hover:opacity-100 text-gray-800 shadow-lg -mb-4\"\r\n [ngClass]=\"ngtStyle.compile(stylesToCompile)\" container>\r\n\r\n <ng-content select=\"[popover-content]\"></ng-content>\r\n </div>\r\n</ngt-dropdown>\r\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0LXBvcG92ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctdGFpbHdpbmQvc3JjL2NvbXBvbmVudHMvbmd0LXBvcG92ZXIvbmd0LXBvcG92ZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctdGFpbHdpbmQvc3JjL2NvbXBvbmVudHMvbmd0LXBvcG92ZXIvbmd0LXBvcG92ZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxZQUFZLEVBQVksS0FBSyxFQUFFLFFBQVEsRUFBRSxNQUFNLEVBQUUsSUFBSSxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUl4SCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxzREFBc0QsQ0FBQzs7Ozs7O0FBTzVGLE1BQU0sT0FBTyxtQkFBbUI7SUFtQjVCLFlBRVcsc0JBQThDL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