ng-tailwind 4.1.13 → 4.1.14
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 +16 -16
- package/components/ngt-action/ngt-action.module.d.ts +10 -10
- package/components/ngt-button/ngt-button.component.d.ts +25 -25
- package/components/ngt-button/ngt-button.module.d.ts +10 -10
- package/components/ngt-checkbox/ngt-checkbox.component.d.ts +47 -46
- 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-datatable/ngt-datatable.component.d.ts +117 -117
- package/components/ngt-datatable/ngt-datatable.module.d.ts +24 -24
- 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 +51 -51
- package/components/ngt-datatable/ngt-th-check/ngt-th-check.component.d.ts +22 -22
- 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 +79 -79
- 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 +86 -86
- 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 +55 -55
- 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 +109 -109
- package/components/ngt-input/ngt-input.module.d.ts +14 -14
- package/components/ngt-modal/ngt-modal-body/ngt-modal-body.component.d.ts +5 -5
- package/components/ngt-modal/ngt-modal-footer/ngt-modal-footer.component.d.ts +5 -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 +25 -25
- package/components/ngt-modal/ngt-modal.module.d.ts +11 -11
- package/components/ngt-multi-select/ngt-multi-select.component.d.ts +103 -103
- 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 +15 -15
- package/components/ngt-popover/ngt-popover.component.d.ts +31 -31
- package/components/ngt-popover/ngt-popover.directive.d.ts +27 -27
- 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 +17 -17
- 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 +35 -35
- package/components/ngt-radio-button/ngt-radio-button.module.d.ts +11 -11
- package/components/ngt-section/ngt-section.component.d.ts +29 -29
- package/components/ngt-section/ngt-section.module.d.ts +11 -11
- package/components/ngt-select/ngt-select.component.d.ts +135 -135
- 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 +34 -34
- 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 +54 -54
- package/esm2020/components/ngt-action/ngt-action.module.mjs +28 -28
- package/esm2020/components/ngt-button/ngt-button.component.mjs +115 -115
- package/esm2020/components/ngt-button/ngt-button.module.mjs +28 -28
- package/esm2020/components/ngt-checkbox/ngt-checkbox.component.mjs +177 -175
- 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-datatable/ngt-datatable.component.mjs +431 -431
- package/esm2020/components/ngt-datatable/ngt-datatable.module.mjs +95 -95
- 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 +211 -211
- package/esm2020/components/ngt-datatable/ngt-th-check/ngt-th-check.component.mjs +91 -91
- 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 +418 -418
- 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 +464 -464
- 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 +193 -193
- 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 +722 -722
- package/esm2020/components/ngt-input/ngt-input.module.mjs +47 -47
- package/esm2020/components/ngt-modal/ngt-modal-body/ngt-modal-body.component.mjs +11 -11
- package/esm2020/components/ngt-modal/ngt-modal-footer/ngt-modal-footer.component.mjs +11 -11
- package/esm2020/components/ngt-modal/ngt-modal-header/ngt-modal-header.component.mjs +38 -38
- package/esm2020/components/ngt-modal/ngt-modal.component.mjs +102 -102
- package/esm2020/components/ngt-modal/ngt-modal.module.mjs +39 -39
- package/esm2020/components/ngt-multi-select/ngt-multi-select.component.mjs +446 -446
- 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 +40 -40
- package/esm2020/components/ngt-popover/ngt-popover.component.mjs +85 -85
- package/esm2020/components/ngt-popover/ngt-popover.directive.mjs +105 -105
- 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 +33 -33
- package/esm2020/components/ngt-portlet/ngt-portlet-header/ngt-portlet-header.component.mjs +53 -53
- 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 +125 -125
- package/esm2020/components/ngt-radio-button/ngt-radio-button.module.mjs +29 -29
- package/esm2020/components/ngt-section/ngt-section.component.mjs +119 -119
- package/esm2020/components/ngt-section/ngt-section.module.mjs +32 -32
- package/esm2020/components/ngt-select/ngt-select.component.mjs +552 -552
- 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 +99 -99
- 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 +23 -23
- 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 +121 -121
- 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/fesm2015/ng-tailwind.mjs +7792 -7790
- package/fesm2015/ng-tailwind.mjs.map +1 -1
- package/fesm2020/ng-tailwind.mjs +7655 -7653
- 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 +17 -17
- 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 +83 -83
- package/services/http/ngt-attachment-http.service.d.ts +10 -10
- 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 +11 -11
- package/services/http/ngt-http.service.d.ts +27 -27
- package/services/http/ngt-translate.service.d.ts +29 -29
- package/services/ngt-stylizable/ngt-stylizable.service.d.ts +96 -96
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
import { Component, Optional, Self, SkipSelf } 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 "../ngt-datatable.component";
|
|
6
|
-
import * as i3 from "@angular/forms";
|
|
7
|
-
import * as i4 from "../../ngt-checkbox/ngt-checkbox.component";
|
|
8
|
-
export class NgtThCheckComponent {
|
|
9
|
-
constructor(injector, hostElement, ngtStylizableDirective, ngtDataTable) {
|
|
10
|
-
this.injector = injector;
|
|
11
|
-
this.hostElement = hostElement;
|
|
12
|
-
this.ngtStylizableDirective = ngtStylizableDirective;
|
|
13
|
-
this.ngtDataTable = ngtDataTable;
|
|
14
|
-
this.checked = false;
|
|
15
|
-
this.subscriptions = [];
|
|
16
|
-
this.bindNgtStyle();
|
|
17
|
-
}
|
|
18
|
-
ngAfterContentInit() {
|
|
19
|
-
if (this.ngtDataTable) {
|
|
20
|
-
this.subscriptions.push(this.ngtDataTable.onDataChange.subscribe(() => {
|
|
21
|
-
this.checked = false;
|
|
22
|
-
}));
|
|
23
|
-
this.subscriptions.push(this.ngtDataTable.onClearSelectedElements.subscribe(() => {
|
|
24
|
-
this.checked = false;
|
|
25
|
-
}));
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
ngOnDestroy() {
|
|
29
|
-
this.destroySubscriptions();
|
|
30
|
-
}
|
|
31
|
-
onCheckboxChange(checked) {
|
|
32
|
-
if (this.ngtDataTable) {
|
|
33
|
-
this.ngtDataTable.onToogleAllCheckboxes.emit(checked);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
bindNgtStyle() {
|
|
37
|
-
if (this.ngtStylizableDirective) {
|
|
38
|
-
this.ngtStyle = this.ngtStylizableDirective.getNgtStylizableService();
|
|
39
|
-
}
|
|
40
|
-
else {
|
|
41
|
-
this.ngtStyle = new NgtStylizableService();
|
|
42
|
-
}
|
|
43
|
-
this.ngtStyle.load(this.injector, 'NgtThCheck', {
|
|
44
|
-
py: 'py-4',
|
|
45
|
-
px: 'px-6',
|
|
46
|
-
text: 'text-center',
|
|
47
|
-
border: 'border-b',
|
|
48
|
-
color: {
|
|
49
|
-
border: '',
|
|
50
|
-
bg: 'bg-gray-500',
|
|
51
|
-
text: 'text-white'
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
this.hostElement.nativeElement.classList += this.ngtStyle.compile([
|
|
55
|
-
'h',
|
|
56
|
-
'px',
|
|
57
|
-
'py',
|
|
58
|
-
'pb',
|
|
59
|
-
'pl',
|
|
60
|
-
'pr',
|
|
61
|
-
'pt',
|
|
62
|
-
'mb',
|
|
63
|
-
'ml',
|
|
64
|
-
'mr',
|
|
65
|
-
'mt',
|
|
66
|
-
'border',
|
|
67
|
-
'color.border',
|
|
68
|
-
'color.bg',
|
|
69
|
-
'color.text'
|
|
70
|
-
]);
|
|
71
|
-
}
|
|
72
|
-
destroySubscriptions() {
|
|
73
|
-
this.subscriptions.forEach(subscription => subscription.unsubscribe());
|
|
74
|
-
this.subscriptions = [];
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
NgtThCheckComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
78
|
-
NgtThCheckComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
80
|
-
type: Component,
|
|
81
|
-
args: [{ selector: '[ngt-th-check]', template: "<ngt-checkbox [(ngModel)]='checked' (ngModelChange)='onCheckboxChange($event)'></ngt-checkbox>\n<ng-content></ng-content>" }]
|
|
82
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i1.NgtStylizableDirective, decorators: [{
|
|
83
|
-
type: Self
|
|
84
|
-
}, {
|
|
85
|
-
type: Optional
|
|
86
|
-
}] }, { type: i2.NgtDatatableComponent, decorators: [{
|
|
87
|
-
type: Optional
|
|
88
|
-
}, {
|
|
89
|
-
type: SkipSelf
|
|
90
|
-
}] }]; } });
|
|
91
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Optional, Self, SkipSelf } 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 "../ngt-datatable.component";
|
|
6
|
+
import * as i3 from "@angular/forms";
|
|
7
|
+
import * as i4 from "../../ngt-checkbox/ngt-checkbox.component";
|
|
8
|
+
export class NgtThCheckComponent {
|
|
9
|
+
constructor(injector, hostElement, ngtStylizableDirective, ngtDataTable) {
|
|
10
|
+
this.injector = injector;
|
|
11
|
+
this.hostElement = hostElement;
|
|
12
|
+
this.ngtStylizableDirective = ngtStylizableDirective;
|
|
13
|
+
this.ngtDataTable = ngtDataTable;
|
|
14
|
+
this.checked = false;
|
|
15
|
+
this.subscriptions = [];
|
|
16
|
+
this.bindNgtStyle();
|
|
17
|
+
}
|
|
18
|
+
ngAfterContentInit() {
|
|
19
|
+
if (this.ngtDataTable) {
|
|
20
|
+
this.subscriptions.push(this.ngtDataTable.onDataChange.subscribe(() => {
|
|
21
|
+
this.checked = false;
|
|
22
|
+
}));
|
|
23
|
+
this.subscriptions.push(this.ngtDataTable.onClearSelectedElements.subscribe(() => {
|
|
24
|
+
this.checked = false;
|
|
25
|
+
}));
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
ngOnDestroy() {
|
|
29
|
+
this.destroySubscriptions();
|
|
30
|
+
}
|
|
31
|
+
onCheckboxChange(checked) {
|
|
32
|
+
if (this.ngtDataTable) {
|
|
33
|
+
this.ngtDataTable.onToogleAllCheckboxes.emit(checked);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
bindNgtStyle() {
|
|
37
|
+
if (this.ngtStylizableDirective) {
|
|
38
|
+
this.ngtStyle = this.ngtStylizableDirective.getNgtStylizableService();
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
this.ngtStyle = new NgtStylizableService();
|
|
42
|
+
}
|
|
43
|
+
this.ngtStyle.load(this.injector, 'NgtThCheck', {
|
|
44
|
+
py: 'py-4',
|
|
45
|
+
px: 'px-6',
|
|
46
|
+
text: 'text-center',
|
|
47
|
+
border: 'border-b',
|
|
48
|
+
color: {
|
|
49
|
+
border: '',
|
|
50
|
+
bg: 'bg-gray-500',
|
|
51
|
+
text: 'text-white'
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
this.hostElement.nativeElement.classList += this.ngtStyle.compile([
|
|
55
|
+
'h',
|
|
56
|
+
'px',
|
|
57
|
+
'py',
|
|
58
|
+
'pb',
|
|
59
|
+
'pl',
|
|
60
|
+
'pr',
|
|
61
|
+
'pt',
|
|
62
|
+
'mb',
|
|
63
|
+
'ml',
|
|
64
|
+
'mr',
|
|
65
|
+
'mt',
|
|
66
|
+
'border',
|
|
67
|
+
'color.border',
|
|
68
|
+
'color.bg',
|
|
69
|
+
'color.text'
|
|
70
|
+
]);
|
|
71
|
+
}
|
|
72
|
+
destroySubscriptions() {
|
|
73
|
+
this.subscriptions.forEach(subscription => subscription.unsubscribe());
|
|
74
|
+
this.subscriptions = [];
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
NgtThCheckComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtThCheckComponent, deps: [{ token: i0.Injector }, { token: i0.ElementRef }, { token: i1.NgtStylizableDirective, optional: true, self: true }, { token: i2.NgtDatatableComponent, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
78
|
+
NgtThCheckComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: NgtThCheckComponent, selector: "[ngt-th-check]", ngImport: i0, template: "<ngt-checkbox [(ngModel)]='checked' (ngModelChange)='onCheckboxChange($event)'></ngt-checkbox>\r\n<ng-content></ng-content>", dependencies: [{ kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.NgtCheckboxComponent, selector: "ngt-checkbox", inputs: ["label", "shining", "isDisabled", "isClickDisabled", "name", "mode", "helpTitle", "helpTextColor", "helpText", "helperAutoXReverse"] }] });
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtThCheckComponent, decorators: [{
|
|
80
|
+
type: Component,
|
|
81
|
+
args: [{ selector: '[ngt-th-check]', template: "<ngt-checkbox [(ngModel)]='checked' (ngModelChange)='onCheckboxChange($event)'></ngt-checkbox>\r\n<ng-content></ng-content>" }]
|
|
82
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i1.NgtStylizableDirective, decorators: [{
|
|
83
|
+
type: Self
|
|
84
|
+
}, {
|
|
85
|
+
type: Optional
|
|
86
|
+
}] }, { type: i2.NgtDatatableComponent, decorators: [{
|
|
87
|
+
type: Optional
|
|
88
|
+
}, {
|
|
89
|
+
type: SkipSelf
|
|
90
|
+
}] }]; } });
|
|
91
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0LXRoLWNoZWNrLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXRhaWx3aW5kL3NyYy9jb21wb25lbnRzL25ndC1kYXRhdGFibGUvb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bGUoKTtcclxuICAgIH1cclxuXHJcbiAgICBwdWJsaWMgbmdBZnRlckNvbnRlbnRJbml0KCkge1xyXG4gICAgICAgIGlmICh0aGlzLm5ndERhdGFUYWJsZSkge1xyXG4gICAgICAgICAgICB0aGlzLnN1YnNjcmlwdGlvbnMucHVzaChcclxuICAgICAgICAgICAgICAgIHRoaXMubmd0RGF0YVRhYmxlLm9uRGF0YUNoYW5nZS5zdWJzY3JpYmUoKCkgPT4ge1xyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuY2hlY2tlZCA9IGZhbHNlO1xyXG4gICAgICAgICAgICAgICAgfSlcclxuICAgICAgICAgICAgKTtcclxuXHJcbiAgICAgICAgICAgIHRoaXMuc3Vic2NyaXB0aW9ucy5wdXNoKFxyXG4gICAgICAgICAgICAgICAgdGhpcy5uZ3REYXRhVGFibGUub25DbGVhclNlbGVjdGVkRWxlbWVudHMuc3Vic2NyaWJlKCgpID0+IHtcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmNoZWNrZWQgPSBmYWxzZTtcclxuICAgICAgICAgICAgICAgIH0pXHJcbiAgICAgICAgICAgICk7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIHB1YmxpYyBuZ09uRGVzdHJveSgpIHtcclxuICAgICAgICB0aGlzLmRlc3Ryb3lTdWJzY3JpcHRpb25zKCk7XHJcbiAgICB9XHJcblxyXG4gICAgcHVibGljIG9uQ2hlY2tib3hDaGFuZ2UoY2hlY2tlZDogYm9vbGVhbikge1xyXG4gICAgICAgIGlmICh0aGlzLm5ndERhdGFUYWJsZSkge1xyXG4gICAgICAgICAgICB0aGlzLm5ndERhdGFUYWJsZS5vblRvb2dsZUFsbENoZWNrYm94ZXMuZW1pdChjaGVja2VkKTtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgcHJpdmF0ZSBiaW5kTmd0U3R5bGUoKSB7XHJcbiAgICAgICAgaWYgKHRoaXMubmd0U3R5bGl6YWJsZURpcmVjdGl2ZSkge1xyXG4gICAgICAgICAgICB0aGlzLm5ndFN0eWxlID0gdGhpcy5uZ3RTdHlsaXphYmxlRGlyZWN0aXZlLmdldE5ndFN0eWxpemFibGVTZXJ2aWNlKCk7XHJcbiAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgdGhpcy5uZ3RTdHlsZSA9IG5ldyBOZ3RTdHlsaXphYmxlU2VydmljZSgpO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgdGhpcy5uZ3RTdHlsZS5sb2FkKHRoaXMuaW5qZWN0b3IsICdOZ3RUaENoZWNrJywge1xyXG4gICAgICAgICAgICBweTogJ3B5LTQnLFxyXG4gICAgICAgICAgICBweDogJ3B4LTYnLFxyXG4gICAgICAgICAgICB0ZXh0OiAndGV4dC1jZW50ZXInLFxyXG4gICAgICAgICAgICBib3JkZXI6ICdib3JkZXItYicsXHJcbiAgICAgICAgICAgIGNvbG9yOiB7XHJcbiAgICAgICAgICAgICAgICBib3JkZXI6ICcnLFxyXG4gICAgICAgICAgICAgICAgYmc6ICdiZy1ncmF5LTUwMCcsXHJcbiAgICAgICAgICAgICAgICB0ZXh0OiAndGV4dC13aGl0ZSdcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH0pO1xyXG5cclxuICAgICAgICB0aGlzLmhvc3RFbGVtZW50Lm5hdGl2ZUVsZW1lbnQuY2xhc3NMaXN0ICs9IHRoaXMubmd0U3R5bGUuY29tcGlsZShbXHJcbiAgICAgICAgICAgICdoJyxcclxuICAgICAgICAgICAgJ3B4JyxcclxuICAgICAgICAgICAgJ3B5JyxcclxuICAgICAgICAgICAgJ3BiJyxcclxuICAgICAgICAgICAgJ3BsJyxcclxuICAgICAgICAgICAgJ3ByJyxcclxuICAgICAgICAgICAgJ3B0JyxcclxuICAgICAgICAgICAgJ21iJyxcclxuICAgICAgICAgICAgJ21sJyxcclxuICAgICAgICAgICAgJ21yJyxcclxuICAgICAgICAgICAgJ210JyxcclxuICAgICAgICAgICAgJ2JvcmRlcicsXHJcbiAgICAgICAgICAgICdjb2xvci5ib3JkZXInLFxyXG4gICAgICAgICAgICAnY29sb3IuYmcnLFxyXG4gICAgICAgICAgICAnY29sb3IudGV4dCdcclxuICAgICAgICBdKTtcclxuICAgIH1cclxuXHJcbiAgICBwcml2YXRlIGRlc3Ryb3lTdWJzY3JpcHRpb25zKCkge1xyXG4gICAgICAgIHRoaXMuc3Vic2NyaXB0aW9ucy5mb3JFYWNoKHN1YnNjcmlwdGlvbiA9PiBzdWJzY3JpcHRpb24udW5zdWJzY3JpYmUoKSk7XHJcbiAgICAgICAgdGhpcy5zdWJzY3JpcHRpb25zID0gW107XHJcbiAgICB9XHJcbn1cclxuIiwiPG5ndC1jaGVja2JveCBbKG5nTW9kZWwpXT0nY2hlY2tlZCcgKG5nTW9kZWxDaGFuZ2UpPSdvbkNoZWNrYm94Q2hhbmdlKCRldmVudCknPjwvbmd0LWNoZWNrYm94PlxyXG48bmctY29udGVudD48L25nLWNvbnRlbnQ+Il19
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { Component, Optional, Self } 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
|
-
export class NgtTheadComponent {
|
|
6
|
-
constructor(injector, hostElement, ngtStylizableDirective) {
|
|
7
|
-
this.injector = injector;
|
|
8
|
-
this.hostElement = hostElement;
|
|
9
|
-
this.ngtStylizableDirective = ngtStylizableDirective;
|
|
10
|
-
if (this.ngtStylizableDirective) {
|
|
11
|
-
this.ngtStyle = this.ngtStylizableDirective.getNgtStylizableService();
|
|
12
|
-
}
|
|
13
|
-
else {
|
|
14
|
-
this.ngtStyle = new NgtStylizableService();
|
|
15
|
-
}
|
|
16
|
-
this.ngtStyle.load(this.injector, 'NgtThead', {
|
|
17
|
-
color: {
|
|
18
|
-
bg: 'bg-gray-200',
|
|
19
|
-
text: '',
|
|
20
|
-
border: ''
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
this.hostElement.nativeElement.classList += this.ngtStyle.compile([
|
|
24
|
-
'h',
|
|
25
|
-
'px',
|
|
26
|
-
'py',
|
|
27
|
-
'pb',
|
|
28
|
-
'pl',
|
|
29
|
-
'pr',
|
|
30
|
-
'pt',
|
|
31
|
-
'mb',
|
|
32
|
-
'ml',
|
|
33
|
-
'mr',
|
|
34
|
-
'mt',
|
|
35
|
-
'border',
|
|
36
|
-
'color.bg',
|
|
37
|
-
'color.text',
|
|
38
|
-
'color.border',
|
|
39
|
-
'text',
|
|
40
|
-
'font',
|
|
41
|
-
'rounded'
|
|
42
|
-
]);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
NgtTheadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
46
|
-
NgtTheadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
48
|
-
type: Component,
|
|
49
|
-
args: [{ selector: '[ngt-thead]', template: "<ng-content></ng-content>" }]
|
|
50
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i1.NgtStylizableDirective, decorators: [{
|
|
51
|
-
type: Self
|
|
52
|
-
}, {
|
|
53
|
-
type: Optional
|
|
54
|
-
}] }]; } });
|
|
55
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Optional, Self } 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
|
+
export class NgtTheadComponent {
|
|
6
|
+
constructor(injector, hostElement, ngtStylizableDirective) {
|
|
7
|
+
this.injector = injector;
|
|
8
|
+
this.hostElement = hostElement;
|
|
9
|
+
this.ngtStylizableDirective = ngtStylizableDirective;
|
|
10
|
+
if (this.ngtStylizableDirective) {
|
|
11
|
+
this.ngtStyle = this.ngtStylizableDirective.getNgtStylizableService();
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
this.ngtStyle = new NgtStylizableService();
|
|
15
|
+
}
|
|
16
|
+
this.ngtStyle.load(this.injector, 'NgtThead', {
|
|
17
|
+
color: {
|
|
18
|
+
bg: 'bg-gray-200',
|
|
19
|
+
text: '',
|
|
20
|
+
border: ''
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
this.hostElement.nativeElement.classList += this.ngtStyle.compile([
|
|
24
|
+
'h',
|
|
25
|
+
'px',
|
|
26
|
+
'py',
|
|
27
|
+
'pb',
|
|
28
|
+
'pl',
|
|
29
|
+
'pr',
|
|
30
|
+
'pt',
|
|
31
|
+
'mb',
|
|
32
|
+
'ml',
|
|
33
|
+
'mr',
|
|
34
|
+
'mt',
|
|
35
|
+
'border',
|
|
36
|
+
'color.bg',
|
|
37
|
+
'color.text',
|
|
38
|
+
'color.border',
|
|
39
|
+
'text',
|
|
40
|
+
'font',
|
|
41
|
+
'rounded'
|
|
42
|
+
]);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
NgtTheadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtTheadComponent, deps: [{ token: i0.Injector }, { token: i0.ElementRef }, { token: i1.NgtStylizableDirective, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
+
NgtTheadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: NgtTheadComponent, selector: "[ngt-thead]", ngImport: i0, template: "<ng-content></ng-content>" });
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtTheadComponent, decorators: [{
|
|
48
|
+
type: Component,
|
|
49
|
+
args: [{ selector: '[ngt-thead]', template: "<ng-content></ng-content>" }]
|
|
50
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i1.NgtStylizableDirective, decorators: [{
|
|
51
|
+
type: Self
|
|
52
|
+
}, {
|
|
53
|
+
type: Optional
|
|
54
|
+
}] }]; } });
|
|
55
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0LXRoZWFkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXRhaWx3aW5kL3NyYy9jb21wb25lbnRzL25ndC1kYXRhdGFibGUvbmd0LXRoZWFkL25ndC10aGVhZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZy10YWlsd2luZC9zcmMvY29tcG9uZW50cy9uZ3QtZGF0YXRhYmxlL25ndC10aGVhZC9uZ3QtdGhlYWQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBd0IsUUFBUSxFQUFFLElBQUksRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUdoRixPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx5REFBeUQsQ0FBQzs7O0FBTS9GLE1BQU0sT0FBTyxpQkFBaUI7SUFHMUIsWUFDWSxRQUFrQixFQUNsQixXQUF1QixFQUNILHNCQUE4QztRQUZsRSxhQUFRLEdBQVIsUUFBUSxDQUFVO1FBQ2xCLGdCQUFXLEdBQVgsV0FBVyxDQUFZO1FBQ0gsMkJBQXNCLEdBQXRCLHNCQUFzQixDQUF3QjtRQUUxRSxJQUFJLElBQUksQ0FBQyxzQkFBc0IsRUFBRTt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ICB9XHJcblxyXG4gICAgICAgIHRoaXMubmd0U3R5bGUubG9hZCh0aGlzLmluamVjdG9yLCAnTmd0VGhlYWQnLCB7XHJcbiAgICAgICAgICAgIGNvbG9yOiB7XHJcbiAgICAgICAgICAgICAgICBiZzogJ2JnLWdyYXktMjAwJyxcclxuICAgICAgICAgICAgICAgIHRleHQ6ICcnLFxyXG4gICAgICAgICAgICAgICAgYm9yZGVyOiAnJ1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfSk7XHJcblxyXG4gICAgICAgIHRoaXMuaG9zdEVsZW1lbnQubmF0aXZlRWxlbWVudC5jbGFzc0xpc3QgKz0gdGhpcy5uZ3RTdHlsZS5jb21waWxlKFtcclxuICAgICAgICAgICAgJ2gnLFxyXG4gICAgICAgICAgICAncHgnLFxyXG4gICAgICAgICAgICAncHknLFxyXG4gICAgICAgICAgICAncGInLFxyXG4gICAgICAgICAgICAncGwnLFxyXG4gICAgICAgICAgICAncHInLFxyXG4gICAgICAgICAgICAncHQnLFxyXG4gICAgICAgICAgICAnbWInLFxyXG4gICAgICAgICAgICAnbWwnLFxyXG4gICAgICAgICAgICAnbXInLFxyXG4gICAgICAgICAgICAnbXQnLFxyXG4gICAgICAgICAgICAnYm9yZGVyJyxcclxuICAgICAgICAgICAgJ2NvbG9yLmJnJyxcclxuICAgICAgICAgICAgJ2NvbG9yLnRleHQnLFxyXG4gICAgICAgICAgICAnY29sb3IuYm9yZGVyJyxcclxuICAgICAgICAgICAgJ3RleHQnLFxyXG4gICAgICAgICAgICAnZm9udCcsXHJcbiAgICAgICAgICAgICdyb3VuZGVkJ1xyXG4gICAgICAgIF0pO1xyXG4gICAgfVxyXG59XHJcbiIsIjxuZy1jb250ZW50PjwvbmctY29udGVudD4iXX0=
|
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
import { Component, HostBinding, Input, Optional, Self, SkipSelf, ViewEncapsulation, } 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 "../ngt-thead/ngt-thead.component";
|
|
5
|
-
import * as i2 from "../ngt-tbody/ngt-tbody.component";
|
|
6
|
-
import * as i3 from "../../../directives/ngt-stylizable/ngt-stylizable.directive";
|
|
7
|
-
export class NgtTrComponent {
|
|
8
|
-
constructor(injector, hostElement, ngtThead, ngtTbody, ngtStylizableDirective) {
|
|
9
|
-
this.injector = injector;
|
|
10
|
-
this.hostElement = hostElement;
|
|
11
|
-
this.ngtThead = ngtThead;
|
|
12
|
-
this.ngtTbody = ngtTbody;
|
|
13
|
-
this.ngtStylizableDirective = ngtStylizableDirective;
|
|
14
|
-
if (this.ngtStylizableDirective) {
|
|
15
|
-
this.ngtStyle = this.ngtStylizableDirective.getNgtStylizableService();
|
|
16
|
-
}
|
|
17
|
-
else {
|
|
18
|
-
this.ngtStyle = new NgtStylizableService();
|
|
19
|
-
}
|
|
20
|
-
this.ngtStyle.load(this.injector, 'NgtTr', {
|
|
21
|
-
border: 'border-r border-t md:border-r-0 md:border-t-0',
|
|
22
|
-
color: {
|
|
23
|
-
bg: '',
|
|
24
|
-
text: '',
|
|
25
|
-
border: ''
|
|
26
|
-
}
|
|
27
|
-
}, [this.getInheritanceStyles()]);
|
|
28
|
-
this.hostElement.nativeElement.classList += this.ngtStyle.compile([
|
|
29
|
-
'h',
|
|
30
|
-
'px',
|
|
31
|
-
'py',
|
|
32
|
-
'pb',
|
|
33
|
-
'pl',
|
|
34
|
-
'pr',
|
|
35
|
-
'pt',
|
|
36
|
-
'mb',
|
|
37
|
-
'ml',
|
|
38
|
-
'mr',
|
|
39
|
-
'mt',
|
|
40
|
-
'border',
|
|
41
|
-
'color.bg',
|
|
42
|
-
'color.text',
|
|
43
|
-
'color.border',
|
|
44
|
-
'text',
|
|
45
|
-
'font',
|
|
46
|
-
]);
|
|
47
|
-
}
|
|
48
|
-
getInheritanceStyles() {
|
|
49
|
-
if (this.ngtThead) {
|
|
50
|
-
return 'NgtTheadStyle';
|
|
51
|
-
}
|
|
52
|
-
else if (this.ngtTbody) {
|
|
53
|
-
return 'NgtTbodyStyle';
|
|
54
|
-
}
|
|
55
|
-
return '';
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
NgtTrComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
59
|
-
NgtTrComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
61
|
-
type: Component,
|
|
62
|
-
args: [{ selector: '[ngt-tr]', encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>", styles: [".evenStripped:nth-child(even){background-color:#edf2f7!important}.oddStripped:nth-child(odd){background-color:#edf2f7!important}\n"] }]
|
|
63
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i1.NgtTheadComponent, decorators: [{
|
|
64
|
-
type: SkipSelf
|
|
65
|
-
}, {
|
|
66
|
-
type: Optional
|
|
67
|
-
}] }, { type: i2.NgtTbodyComponent, decorators: [{
|
|
68
|
-
type: SkipSelf
|
|
69
|
-
}, {
|
|
70
|
-
type: Optional
|
|
71
|
-
}] }, { type: i3.NgtStylizableDirective, decorators: [{
|
|
72
|
-
type: Self
|
|
73
|
-
}, {
|
|
74
|
-
type: Optional
|
|
75
|
-
}] }]; }, propDecorators: { evenStripped: [{
|
|
76
|
-
type: HostBinding,
|
|
77
|
-
args: ['class.evenStripped']
|
|
78
|
-
}, {
|
|
79
|
-
type: Input
|
|
80
|
-
}], oddStripped: [{
|
|
81
|
-
type: HostBinding,
|
|
82
|
-
args: ['class.oddStripped']
|
|
83
|
-
}, {
|
|
84
|
-
type: Input
|
|
85
|
-
}] } });
|
|
86
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, HostBinding, Input, Optional, Self, SkipSelf, ViewEncapsulation, } 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 "../ngt-thead/ngt-thead.component";
|
|
5
|
+
import * as i2 from "../ngt-tbody/ngt-tbody.component";
|
|
6
|
+
import * as i3 from "../../../directives/ngt-stylizable/ngt-stylizable.directive";
|
|
7
|
+
export class NgtTrComponent {
|
|
8
|
+
constructor(injector, hostElement, ngtThead, ngtTbody, ngtStylizableDirective) {
|
|
9
|
+
this.injector = injector;
|
|
10
|
+
this.hostElement = hostElement;
|
|
11
|
+
this.ngtThead = ngtThead;
|
|
12
|
+
this.ngtTbody = ngtTbody;
|
|
13
|
+
this.ngtStylizableDirective = ngtStylizableDirective;
|
|
14
|
+
if (this.ngtStylizableDirective) {
|
|
15
|
+
this.ngtStyle = this.ngtStylizableDirective.getNgtStylizableService();
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
this.ngtStyle = new NgtStylizableService();
|
|
19
|
+
}
|
|
20
|
+
this.ngtStyle.load(this.injector, 'NgtTr', {
|
|
21
|
+
border: 'border-r border-t md:border-r-0 md:border-t-0',
|
|
22
|
+
color: {
|
|
23
|
+
bg: '',
|
|
24
|
+
text: '',
|
|
25
|
+
border: ''
|
|
26
|
+
}
|
|
27
|
+
}, [this.getInheritanceStyles()]);
|
|
28
|
+
this.hostElement.nativeElement.classList += this.ngtStyle.compile([
|
|
29
|
+
'h',
|
|
30
|
+
'px',
|
|
31
|
+
'py',
|
|
32
|
+
'pb',
|
|
33
|
+
'pl',
|
|
34
|
+
'pr',
|
|
35
|
+
'pt',
|
|
36
|
+
'mb',
|
|
37
|
+
'ml',
|
|
38
|
+
'mr',
|
|
39
|
+
'mt',
|
|
40
|
+
'border',
|
|
41
|
+
'color.bg',
|
|
42
|
+
'color.text',
|
|
43
|
+
'color.border',
|
|
44
|
+
'text',
|
|
45
|
+
'font',
|
|
46
|
+
]);
|
|
47
|
+
}
|
|
48
|
+
getInheritanceStyles() {
|
|
49
|
+
if (this.ngtThead) {
|
|
50
|
+
return 'NgtTheadStyle';
|
|
51
|
+
}
|
|
52
|
+
else if (this.ngtTbody) {
|
|
53
|
+
return 'NgtTbodyStyle';
|
|
54
|
+
}
|
|
55
|
+
return '';
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
NgtTrComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtTrComponent, deps: [{ token: i0.Injector }, { token: i0.ElementRef }, { token: i1.NgtTheadComponent, optional: true, skipSelf: true }, { token: i2.NgtTbodyComponent, optional: true, skipSelf: true }, { token: i3.NgtStylizableDirective, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
59
|
+
NgtTrComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: NgtTrComponent, selector: "[ngt-tr]", inputs: { evenStripped: "evenStripped", oddStripped: "oddStripped" }, host: { properties: { "class.evenStripped": "this.evenStripped", "class.oddStripped": "this.oddStripped" } }, ngImport: i0, template: "<ng-content></ng-content>", styles: [".evenStripped:nth-child(even){background-color:#edf2f7!important}.oddStripped:nth-child(odd){background-color:#edf2f7!important}\n"], encapsulation: i0.ViewEncapsulation.None });
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtTrComponent, decorators: [{
|
|
61
|
+
type: Component,
|
|
62
|
+
args: [{ selector: '[ngt-tr]', encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>", styles: [".evenStripped:nth-child(even){background-color:#edf2f7!important}.oddStripped:nth-child(odd){background-color:#edf2f7!important}\n"] }]
|
|
63
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i1.NgtTheadComponent, decorators: [{
|
|
64
|
+
type: SkipSelf
|
|
65
|
+
}, {
|
|
66
|
+
type: Optional
|
|
67
|
+
}] }, { type: i2.NgtTbodyComponent, decorators: [{
|
|
68
|
+
type: SkipSelf
|
|
69
|
+
}, {
|
|
70
|
+
type: Optional
|
|
71
|
+
}] }, { type: i3.NgtStylizableDirective, decorators: [{
|
|
72
|
+
type: Self
|
|
73
|
+
}, {
|
|
74
|
+
type: Optional
|
|
75
|
+
}] }]; }, propDecorators: { evenStripped: [{
|
|
76
|
+
type: HostBinding,
|
|
77
|
+
args: ['class.evenStripped']
|
|
78
|
+
}, {
|
|
79
|
+
type: Input
|
|
80
|
+
}], oddStripped: [{
|
|
81
|
+
type: HostBinding,
|
|
82
|
+
args: ['class.oddStripped']
|
|
83
|
+
}, {
|
|
84
|
+
type: Input
|
|
85
|
+
}] } });
|
|
86
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0LXRyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXRhaWx3aW5kL3NyYy9jb21wb25lbnRzL25ndC1kYXRhdGFibGUvbmd0LXRyL25ndC10ci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZy10YWlsd2luZC9zcmMvY29tcG9uZW50cy9uZ3QtZGF0YXRhYmxlL25ndC10ci9uZ3QtdHIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNILFNBQVMsRUFFVCxXQUFXLEVBRVgsS0FBSyxFQUNMLFFBQVEsRUFDUixJQUFJLEVBQ0osUUFBUSxFQUNSLGlCQUFpQixHQUNwQixNQUFNLGVBQWUsQ0FBQztBQUd2QixPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx5REFBeUQsQ0FBQzs7Ozs7QUFVL0YsTUFBTSxPQUFPLGNBQWM7SUFNd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b21waWxlKFtcclxuICAgICAgICAgICAgJ2gnLFxyXG4gICAgICAgICAgICAncHgnLFxyXG4gICAgICAgICAgICAncHknLFxyXG4gICAgICAgICAgICAncGInLFxyXG4gICAgICAgICAgICAncGwnLFxyXG4gICAgICAgICAgICAncHInLFxyXG4gICAgICAgICAgICAncHQnLFxyXG4gICAgICAgICAgICAnbWInLFxyXG4gICAgICAgICAgICAnbWwnLFxyXG4gICAgICAgICAgICAnbXInLFxyXG4gICAgICAgICAgICAnbXQnLFxyXG4gICAgICAgICAgICAnYm9yZGVyJyxcclxuICAgICAgICAgICAgJ2NvbG9yLmJnJyxcclxuICAgICAgICAgICAgJ2NvbG9yLnRleHQnLFxyXG4gICAgICAgICAgICAnY29sb3IuYm9yZGVyJyxcclxuICAgICAgICAgICAgJ3RleHQnLFxyXG4gICAgICAgICAgICAnZm9udCcsXHJcbiAgICAgICAgXSk7XHJcbiAgICB9XHJcblxyXG4gICAgcHJpdmF0ZSBnZXRJbmhlcml0YW5jZVN0eWxlcygpIHtcclxuICAgICAgICBpZiAodGhpcy5uZ3RUaGVhZCkge1xyXG4gICAgICAgICAgICByZXR1cm4gJ05ndFRoZWFkU3R5bGUnO1xyXG4gICAgICAgIH0gZWxzZSBpZiAodGhpcy5uZ3RUYm9keSkge1xyXG4gICAgICAgICAgICByZXR1cm4gJ05ndFRib2R5U3R5bGUnO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgcmV0dXJuICcnO1xyXG4gICAgfVxyXG59XHJcbiIsIjxuZy1jb250ZW50PjwvbmctY29udGVudD4iXX0=
|