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,53 +1,53 @@
|
|
|
1
|
-
import { Component, Input, 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
|
-
import * as i2 from "@angular/common";
|
|
6
|
-
import * as i3 from "../../ngt-svg/ngt-svg.component";
|
|
7
|
-
import * as i4 from "../../ngt-helper/ngt-helper.component";
|
|
8
|
-
export class NgtPortletHeaderComponent {
|
|
9
|
-
constructor(injector, ngtStylizableDirective) {
|
|
10
|
-
this.injector = injector;
|
|
11
|
-
this.ngtStylizableDirective = ngtStylizableDirective;
|
|
12
|
-
this.caption = '';
|
|
13
|
-
this.icon = '';
|
|
14
|
-
this.helperTitle = '';
|
|
15
|
-
this.helperText = '';
|
|
16
|
-
this.helperIconColor = '';
|
|
17
|
-
if (this.ngtStylizableDirective) {
|
|
18
|
-
this.ngtStyle = this.ngtStylizableDirective.getNgtStylizableService();
|
|
19
|
-
}
|
|
20
|
-
else {
|
|
21
|
-
this.ngtStyle = new NgtStylizableService();
|
|
22
|
-
}
|
|
23
|
-
this.ngtStyle.load(this.injector, 'NgtPortletHeader', {
|
|
24
|
-
h: 'h-auto',
|
|
25
|
-
w: 'w-auto',
|
|
26
|
-
text: 'text-xl',
|
|
27
|
-
fontCase: '',
|
|
28
|
-
border: 'border-b',
|
|
29
|
-
color: {}
|
|
30
|
-
}, ['NgtPortletStyle']);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
NgtPortletHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
34
|
-
NgtPortletHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
36
|
-
type: Component,
|
|
37
|
-
args: [{ selector: 'ngt-portlet-header', template: "<div class='leading-loose {{ ngtStyle.compile([\"h\", \"color.text\", \"color.bg\", \"border\", \"text\", \"fontCase\"]) }}'>\n <div class=\"flex flex-wrap md:flex-nowrap h-full relative px-3 md:px-8 py-2\">\n <div *ngIf=\"caption || icon\" class=\"flex md:whitespace-nowrap items-center gap-2\">\n <ngt-svg [src]=\"icon\" class=\"text-xl\" *ngIf=\"icon\"></ngt-svg>\n <div class=\"flex font-medium self-center gap-1\">\n {{ caption }}\n\n <ngt-helper *ngIf=\"helperText\" [helpTitle]=\"helperTitle\" class=\"mt-1\"\n [iconColor]=\"helperIconColor\">\n {{ helperText }}\n </ngt-helper>\n </div>\n </div>\n\n <div [hidden]='!leftHeader?.children[0]?.children?.length'\n class=\"self-center {{ ngtStyle.compile(['position', 'w']) }}\" #leftHeader>\n <ng-content select=\"[left-header]\"></ng-content>\n </div>\n\n <div [hidden]='!header?.children[0]?.children?.length'\n class=\"self-center {{ ngtStyle.compile(['position', 'w']) }}\" #header>\n <ng-content select=\"[header]\"></ng-content>\n </div>\n\n <div class=\"{{ !rightHeader?.children[0]?.children?.length ? 'hidden' : 'flex justify-end ml-auto self-center' }} {{ ngtStyle.compile(['position', 'w']) }}\"\n #rightHeader>\n <ng-content select=\"[right-header]\"></ng-content>\n </div>\n </div>\n</div>\n" }]
|
|
38
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.NgtStylizableDirective, decorators: [{
|
|
39
|
-
type: Self
|
|
40
|
-
}, {
|
|
41
|
-
type: Optional
|
|
42
|
-
}] }]; }, propDecorators: { caption: [{
|
|
43
|
-
type: Input
|
|
44
|
-
}], icon: [{
|
|
45
|
-
type: Input
|
|
46
|
-
}], helperTitle: [{
|
|
47
|
-
type: Input
|
|
48
|
-
}], helperText: [{
|
|
49
|
-
type: Input
|
|
50
|
-
}], helperIconColor: [{
|
|
51
|
-
type: Input
|
|
52
|
-
}] } });
|
|
53
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Input, 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
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "../../ngt-svg/ngt-svg.component";
|
|
7
|
+
import * as i4 from "../../ngt-helper/ngt-helper.component";
|
|
8
|
+
export class NgtPortletHeaderComponent {
|
|
9
|
+
constructor(injector, ngtStylizableDirective) {
|
|
10
|
+
this.injector = injector;
|
|
11
|
+
this.ngtStylizableDirective = ngtStylizableDirective;
|
|
12
|
+
this.caption = '';
|
|
13
|
+
this.icon = '';
|
|
14
|
+
this.helperTitle = '';
|
|
15
|
+
this.helperText = '';
|
|
16
|
+
this.helperIconColor = '';
|
|
17
|
+
if (this.ngtStylizableDirective) {
|
|
18
|
+
this.ngtStyle = this.ngtStylizableDirective.getNgtStylizableService();
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
this.ngtStyle = new NgtStylizableService();
|
|
22
|
+
}
|
|
23
|
+
this.ngtStyle.load(this.injector, 'NgtPortletHeader', {
|
|
24
|
+
h: 'h-auto',
|
|
25
|
+
w: 'w-auto',
|
|
26
|
+
text: 'text-xl',
|
|
27
|
+
fontCase: '',
|
|
28
|
+
border: 'border-b',
|
|
29
|
+
color: {}
|
|
30
|
+
}, ['NgtPortletStyle']);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
NgtPortletHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPortletHeaderComponent, deps: [{ token: i0.Injector }, { token: i1.NgtStylizableDirective, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
+
NgtPortletHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: NgtPortletHeaderComponent, selector: "ngt-portlet-header", inputs: { caption: "caption", icon: "icon", helperTitle: "helperTitle", helperText: "helperText", helperIconColor: "helperIconColor" }, ngImport: i0, template: "<div class='leading-loose {{ ngtStyle.compile([\"h\", \"color.text\", \"color.bg\", \"border\", \"text\", \"fontCase\"]) }}'>\r\n <div class=\"flex flex-wrap md:flex-nowrap h-full relative px-3 md:px-8 py-2\">\r\n <div *ngIf=\"caption || icon\" class=\"flex md:whitespace-nowrap items-center gap-2\">\r\n <ngt-svg [src]=\"icon\" class=\"text-xl\" *ngIf=\"icon\"></ngt-svg>\r\n <div class=\"flex font-medium self-center gap-1\">\r\n {{ caption }}\r\n\r\n <ngt-helper *ngIf=\"helperText\" [helpTitle]=\"helperTitle\" class=\"mt-1\"\r\n [iconColor]=\"helperIconColor\">\r\n {{ helperText }}\r\n </ngt-helper>\r\n </div>\r\n </div>\r\n\r\n <div [hidden]='!leftHeader?.children[0]?.children?.length'\r\n class=\"self-center {{ ngtStyle.compile(['position', 'w']) }}\" #leftHeader>\r\n <ng-content select=\"[left-header]\"></ng-content>\r\n </div>\r\n\r\n <div [hidden]='!header?.children[0]?.children?.length'\r\n class=\"self-center {{ ngtStyle.compile(['position', 'w']) }}\" #header>\r\n <ng-content select=\"[header]\"></ng-content>\r\n </div>\r\n\r\n <div class=\"{{ !rightHeader?.children[0]?.children?.length ? 'hidden' : 'flex justify-end ml-auto self-center' }} {{ ngtStyle.compile(['position', 'w']) }}\"\r\n #rightHeader>\r\n <ng-content select=\"[right-header]\"></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.NgtSvgComponent, selector: "ngt-svg", inputs: ["src", "class"] }, { kind: "component", type: i4.NgtHelperComponent, selector: "ngt-helper", inputs: ["helpTextColor", "helpText", "helpTitle", "icon", "iconSize", "iconColor", "iconTitle", "tooltipSize", "autoXReverse", "helperReverseYPosition"] }] });
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPortletHeaderComponent, decorators: [{
|
|
36
|
+
type: Component,
|
|
37
|
+
args: [{ selector: 'ngt-portlet-header', template: "<div class='leading-loose {{ ngtStyle.compile([\"h\", \"color.text\", \"color.bg\", \"border\", \"text\", \"fontCase\"]) }}'>\r\n <div class=\"flex flex-wrap md:flex-nowrap h-full relative px-3 md:px-8 py-2\">\r\n <div *ngIf=\"caption || icon\" class=\"flex md:whitespace-nowrap items-center gap-2\">\r\n <ngt-svg [src]=\"icon\" class=\"text-xl\" *ngIf=\"icon\"></ngt-svg>\r\n <div class=\"flex font-medium self-center gap-1\">\r\n {{ caption }}\r\n\r\n <ngt-helper *ngIf=\"helperText\" [helpTitle]=\"helperTitle\" class=\"mt-1\"\r\n [iconColor]=\"helperIconColor\">\r\n {{ helperText }}\r\n </ngt-helper>\r\n </div>\r\n </div>\r\n\r\n <div [hidden]='!leftHeader?.children[0]?.children?.length'\r\n class=\"self-center {{ ngtStyle.compile(['position', 'w']) }}\" #leftHeader>\r\n <ng-content select=\"[left-header]\"></ng-content>\r\n </div>\r\n\r\n <div [hidden]='!header?.children[0]?.children?.length'\r\n class=\"self-center {{ ngtStyle.compile(['position', 'w']) }}\" #header>\r\n <ng-content select=\"[header]\"></ng-content>\r\n </div>\r\n\r\n <div class=\"{{ !rightHeader?.children[0]?.children?.length ? 'hidden' : 'flex justify-end ml-auto self-center' }} {{ ngtStyle.compile(['position', 'w']) }}\"\r\n #rightHeader>\r\n <ng-content select=\"[right-header]\"></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
38
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.NgtStylizableDirective, decorators: [{
|
|
39
|
+
type: Self
|
|
40
|
+
}, {
|
|
41
|
+
type: Optional
|
|
42
|
+
}] }]; }, propDecorators: { caption: [{
|
|
43
|
+
type: Input
|
|
44
|
+
}], icon: [{
|
|
45
|
+
type: Input
|
|
46
|
+
}], helperTitle: [{
|
|
47
|
+
type: Input
|
|
48
|
+
}], helperText: [{
|
|
49
|
+
type: Input
|
|
50
|
+
}], helperIconColor: [{
|
|
51
|
+
type: Input
|
|
52
|
+
}] } });
|
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0LXBvcnRsZXQtaGVhZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXRhaWx3aW5kL3NyYy9jb21wb25lbnRzL25ndC1wb3J0bGV0L25ndC1wb3J0bGV0LWhlYWRlci9uZ3QtcG9ydGxldC1oZWFkZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctdGFpbHdpbmQvc3JjL2NvbXBvbmVudHMvbmd0LXBvcnRsZXQvbmd0LXBvcnRsZXQtaGVhZGVyL25ndC1wb3J0bGV0LWhlYWRlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFZLEtBQUssRUFBRSxRQUFRLEVBQUUsSUFBSSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRzNFLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHlEQUF5RCxDQUFDOzs7Ozs7QUFNL0YsTUFBTSxPQUFPLHlCQUF5QjtJQVNsQyxZQUNZLFFBQWtCLEVBQ0Usc0JBQThDO1FBRGxFLGFBQVEsR0FBUixRQUFRLENBQVU7UUFDRSwyQkFBc0IsR0FBdEIsc0JBQXNCLENBQXdCO1FBVjlELFlBQU8sR0FBVyxFQUFFLENBQUM7UUFDckIsU0FBSSxHQUFXLEVBQUUsQ0FBQztRQUNsQixnQkFBVyxHQUFXLEVBQUUsQ0F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NvbXBpbGUoWydwb3NpdGlvbicsICd3J10pIH19XCIgI2hlYWRlcj5cclxuICAgICAgICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW2hlYWRlcl1cIj48L25nLWNvbnRlbnQ+XHJcbiAgICAgICAgPC9kaXY+XHJcblxyXG4gICAgICAgIDxkaXYgY2xhc3M9XCJ7eyAhcmlnaHRIZWFkZXI/LmNoaWxkcmVuWzBdPy5jaGlsZHJlbj8ubGVuZ3RoID8gJ2hpZGRlbicgOiAnZmxleCBqdXN0aWZ5LWVuZCBtbC1hdXRvIHNlbGYtY2VudGVyJyB9fSB7eyBuZ3RTdHlsZS5jb21waWxlKFsncG9zaXRpb24nLCAndyddKSB9fVwiXHJcbiAgICAgICAgICAgICNyaWdodEhlYWRlcj5cclxuICAgICAgICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW3JpZ2h0LWhlYWRlcl1cIj48L25nLWNvbnRlbnQ+XHJcbiAgICAgICAgPC9kaXY+XHJcbiAgICA8L2Rpdj5cclxuPC9kaXY+XHJcbiJdfQ==
|
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
import { animate, state, style, transition, trigger } from '@angular/animations';
|
|
2
|
-
import { Component, Input, Optional, Self } from '@angular/core';
|
|
3
|
-
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../../directives/ngt-stylizable/ngt-stylizable.directive";
|
|
6
|
-
import * as i2 from "@angular/common";
|
|
7
|
-
import * as i3 from "./ngt-portlet-header/ngt-portlet-header.component";
|
|
8
|
-
import * as i4 from "./ngt-portlet-body/ngt-portlet-body.component";
|
|
9
|
-
import * as i5 from "./ngt-portlet-footer/ngt-portlet-footer.component";
|
|
10
|
-
export class NgtPortletComponent {
|
|
11
|
-
constructor(injector, ngtStylizableDirective) {
|
|
12
|
-
this.injector = injector;
|
|
13
|
-
this.ngtStylizableDirective = ngtStylizableDirective;
|
|
14
|
-
this.icon = null;
|
|
15
|
-
this.customLayout = false;
|
|
16
|
-
this.withFooter = false;
|
|
17
|
-
this.withBody = true;
|
|
18
|
-
this.helpTitle = '';
|
|
19
|
-
this.helpText = '';
|
|
20
|
-
this.helpIconColor = '';
|
|
21
|
-
if (this.ngtStylizableDirective) {
|
|
22
|
-
this.ngtStyle = this.ngtStylizableDirective.getNgtStylizableService();
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
this.ngtStyle = new NgtStylizableService();
|
|
26
|
-
}
|
|
27
|
-
this.ngtStyle.load(this.injector, 'NgtPortlet', {
|
|
28
|
-
h: 'h-auto',
|
|
29
|
-
shadow: 'shadow',
|
|
30
|
-
color: {}
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
NgtPortletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
35
|
-
NgtPortletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.
|
|
36
|
-
trigger('fadeUp', [
|
|
37
|
-
state('void', style({ transform: 'translateY(20px)', opacity: 0 })),
|
|
38
|
-
transition(':enter', [
|
|
39
|
-
animate(500)
|
|
40
|
-
])
|
|
41
|
-
])
|
|
42
|
-
] });
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
44
|
-
type: Component,
|
|
45
|
-
args: [{ selector: 'ngt-portlet', animations: [
|
|
46
|
-
trigger('fadeUp', [
|
|
47
|
-
state('void', style({ transform: 'translateY(20px)', opacity: 0 })),
|
|
48
|
-
transition(':enter', [
|
|
49
|
-
animate(500)
|
|
50
|
-
])
|
|
51
|
-
])
|
|
52
|
-
], template: "<section class='flex'>\n <div class=\"w-full {{ ngtStyle.compile(['h', 'color.bg', 'color.text', 'p', 'px', 'py', 'pl', 'pr', 'pt', 'pb', 'm', 'mx', 'my', 'ml', 'mr', 'mt', 'mb', 'shadow']) }}\"\n @fadeUp>\n <!--Header-->\n <div *ngIf=\"!customLayout\">\n <ngt-portlet-header [icon]='icon' [caption]='caption' [helperText]=\"helpText\" [helperTitle]=\"helpTitle\"\n [helperIconColor]=\"helpIconColor\">\n <div right-header>\n <ng-content select='[right-header]'></ng-content>\n </div>\n <div left-header>\n <ng-content select='[left-header]'></ng-content>\n </div>\n <div header>\n <ng-content select='[header]'></ng-content>\n </div>\n </ngt-portlet-header>\n </div>\n\n <!--Body-->\n <ng-container *ngIf=\"!customLayout && withBody\">\n <ngt-portlet-body>\n <ng-content select='[body]'></ng-content>\n </ngt-portlet-body>\n </ng-container>\n\n <!--Footer-->\n <ng-container *ngIf=\"!customLayout && withFooter\">\n <ngt-portlet-footer>\n <div right-footer>\n <ng-content select='[right-footer]'></ng-content>\n </div>\n <div left-footer>\n <ng-content select='[left-footer]'></ng-content>\n </div>\n <div footer>\n <ng-content select='[footer]'></ng-content>\n </div>\n </ngt-portlet-footer>\n </ng-container>\n\n <ng-content></ng-content>\n </div>\n</section>" }]
|
|
53
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.NgtStylizableDirective, decorators: [{
|
|
54
|
-
type: Self
|
|
55
|
-
}, {
|
|
56
|
-
type: Optional
|
|
57
|
-
}] }]; }, propDecorators: { caption: [{
|
|
58
|
-
type: Input
|
|
59
|
-
}], icon: [{
|
|
60
|
-
type: Input
|
|
61
|
-
}], customLayout: [{
|
|
62
|
-
type: Input
|
|
63
|
-
}], withFooter: [{
|
|
64
|
-
type: Input
|
|
65
|
-
}], withBody: [{
|
|
66
|
-
type: Input
|
|
67
|
-
}], helpTitle: [{
|
|
68
|
-
type: Input
|
|
69
|
-
}], helpText: [{
|
|
70
|
-
type: Input
|
|
71
|
-
}], helpIconColor: [{
|
|
72
|
-
type: Input
|
|
73
|
-
}] } });
|
|
74
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { animate, state, style, transition, trigger } from '@angular/animations';
|
|
2
|
+
import { Component, Input, Optional, Self } from '@angular/core';
|
|
3
|
+
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../directives/ngt-stylizable/ngt-stylizable.directive";
|
|
6
|
+
import * as i2 from "@angular/common";
|
|
7
|
+
import * as i3 from "./ngt-portlet-header/ngt-portlet-header.component";
|
|
8
|
+
import * as i4 from "./ngt-portlet-body/ngt-portlet-body.component";
|
|
9
|
+
import * as i5 from "./ngt-portlet-footer/ngt-portlet-footer.component";
|
|
10
|
+
export class NgtPortletComponent {
|
|
11
|
+
constructor(injector, ngtStylizableDirective) {
|
|
12
|
+
this.injector = injector;
|
|
13
|
+
this.ngtStylizableDirective = ngtStylizableDirective;
|
|
14
|
+
this.icon = null;
|
|
15
|
+
this.customLayout = false;
|
|
16
|
+
this.withFooter = false;
|
|
17
|
+
this.withBody = true;
|
|
18
|
+
this.helpTitle = '';
|
|
19
|
+
this.helpText = '';
|
|
20
|
+
this.helpIconColor = '';
|
|
21
|
+
if (this.ngtStylizableDirective) {
|
|
22
|
+
this.ngtStyle = this.ngtStylizableDirective.getNgtStylizableService();
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
this.ngtStyle = new NgtStylizableService();
|
|
26
|
+
}
|
|
27
|
+
this.ngtStyle.load(this.injector, 'NgtPortlet', {
|
|
28
|
+
h: 'h-auto',
|
|
29
|
+
shadow: 'shadow',
|
|
30
|
+
color: {}
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
NgtPortletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPortletComponent, deps: [{ token: i0.Injector }, { token: i1.NgtStylizableDirective, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
+
NgtPortletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: NgtPortletComponent, selector: "ngt-portlet", inputs: { caption: "caption", icon: "icon", customLayout: "customLayout", withFooter: "withFooter", withBody: "withBody", helpTitle: "helpTitle", helpText: "helpText", helpIconColor: "helpIconColor" }, ngImport: i0, template: "<section class='flex'>\r\n <div class=\"w-full {{ ngtStyle.compile(['h', 'color.bg', 'color.text', 'p', 'px', 'py', 'pl', 'pr', 'pt', 'pb', 'm', 'mx', 'my', 'ml', 'mr', 'mt', 'mb', 'shadow']) }}\"\r\n @fadeUp>\r\n <!--Header-->\r\n <div *ngIf=\"!customLayout\">\r\n <ngt-portlet-header [icon]='icon' [caption]='caption' [helperText]=\"helpText\" [helperTitle]=\"helpTitle\"\r\n [helperIconColor]=\"helpIconColor\">\r\n <div right-header>\r\n <ng-content select='[right-header]'></ng-content>\r\n </div>\r\n <div left-header>\r\n <ng-content select='[left-header]'></ng-content>\r\n </div>\r\n <div header>\r\n <ng-content select='[header]'></ng-content>\r\n </div>\r\n </ngt-portlet-header>\r\n </div>\r\n\r\n <!--Body-->\r\n <ng-container *ngIf=\"!customLayout && withBody\">\r\n <ngt-portlet-body>\r\n <ng-content select='[body]'></ng-content>\r\n </ngt-portlet-body>\r\n </ng-container>\r\n\r\n <!--Footer-->\r\n <ng-container *ngIf=\"!customLayout && withFooter\">\r\n <ngt-portlet-footer>\r\n <div right-footer>\r\n <ng-content select='[right-footer]'></ng-content>\r\n </div>\r\n <div left-footer>\r\n <ng-content select='[left-footer]'></ng-content>\r\n </div>\r\n <div footer>\r\n <ng-content select='[footer]'></ng-content>\r\n </div>\r\n </ngt-portlet-footer>\r\n </ng-container>\r\n\r\n <ng-content></ng-content>\r\n </div>\r\n</section>", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.NgtPortletHeaderComponent, selector: "ngt-portlet-header", inputs: ["caption", "icon", "helperTitle", "helperText", "helperIconColor"] }, { kind: "component", type: i4.NgtPortletBodyComponent, selector: "ngt-portlet-body" }, { kind: "component", type: i5.NgtPortletFooterComponent, selector: "ngt-portlet-footer" }], animations: [
|
|
36
|
+
trigger('fadeUp', [
|
|
37
|
+
state('void', style({ transform: 'translateY(20px)', opacity: 0 })),
|
|
38
|
+
transition(':enter', [
|
|
39
|
+
animate(500)
|
|
40
|
+
])
|
|
41
|
+
])
|
|
42
|
+
] });
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPortletComponent, decorators: [{
|
|
44
|
+
type: Component,
|
|
45
|
+
args: [{ selector: 'ngt-portlet', animations: [
|
|
46
|
+
trigger('fadeUp', [
|
|
47
|
+
state('void', style({ transform: 'translateY(20px)', opacity: 0 })),
|
|
48
|
+
transition(':enter', [
|
|
49
|
+
animate(500)
|
|
50
|
+
])
|
|
51
|
+
])
|
|
52
|
+
], template: "<section class='flex'>\r\n <div class=\"w-full {{ ngtStyle.compile(['h', 'color.bg', 'color.text', 'p', 'px', 'py', 'pl', 'pr', 'pt', 'pb', 'm', 'mx', 'my', 'ml', 'mr', 'mt', 'mb', 'shadow']) }}\"\r\n @fadeUp>\r\n <!--Header-->\r\n <div *ngIf=\"!customLayout\">\r\n <ngt-portlet-header [icon]='icon' [caption]='caption' [helperText]=\"helpText\" [helperTitle]=\"helpTitle\"\r\n [helperIconColor]=\"helpIconColor\">\r\n <div right-header>\r\n <ng-content select='[right-header]'></ng-content>\r\n </div>\r\n <div left-header>\r\n <ng-content select='[left-header]'></ng-content>\r\n </div>\r\n <div header>\r\n <ng-content select='[header]'></ng-content>\r\n </div>\r\n </ngt-portlet-header>\r\n </div>\r\n\r\n <!--Body-->\r\n <ng-container *ngIf=\"!customLayout && withBody\">\r\n <ngt-portlet-body>\r\n <ng-content select='[body]'></ng-content>\r\n </ngt-portlet-body>\r\n </ng-container>\r\n\r\n <!--Footer-->\r\n <ng-container *ngIf=\"!customLayout && withFooter\">\r\n <ngt-portlet-footer>\r\n <div right-footer>\r\n <ng-content select='[right-footer]'></ng-content>\r\n </div>\r\n <div left-footer>\r\n <ng-content select='[left-footer]'></ng-content>\r\n </div>\r\n <div footer>\r\n <ng-content select='[footer]'></ng-content>\r\n </div>\r\n </ngt-portlet-footer>\r\n </ng-container>\r\n\r\n <ng-content></ng-content>\r\n </div>\r\n</section>" }]
|
|
53
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.NgtStylizableDirective, decorators: [{
|
|
54
|
+
type: Self
|
|
55
|
+
}, {
|
|
56
|
+
type: Optional
|
|
57
|
+
}] }]; }, propDecorators: { caption: [{
|
|
58
|
+
type: Input
|
|
59
|
+
}], icon: [{
|
|
60
|
+
type: Input
|
|
61
|
+
}], customLayout: [{
|
|
62
|
+
type: Input
|
|
63
|
+
}], withFooter: [{
|
|
64
|
+
type: Input
|
|
65
|
+
}], withBody: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}], helpTitle: [{
|
|
68
|
+
type: Input
|
|
69
|
+
}], helpText: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}], helpIconColor: [{
|
|
72
|
+
type: Input
|
|
73
|
+
}] } });
|
|
74
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0LXBvcnRsZXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctdGFpbHdpbmQvc3JjL2NvbXBvbmVudHMvbmd0LXBvcnRsZXQvbmd0LXBvcnRsZXQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctdGFpbHdpbmQvc3JjL2NvbXBvbmVudHMvbmd0LXBvcnRsZXQvbmd0LXBvcnRsZXQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxLQUFLLEVBQUUsS0FBSyx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jb2xvcjoge31cclxuICAgICAgICB9KTtcclxuICAgIH1cclxufVxyXG4iLCI8c2VjdGlvbiBjbGFzcz0nZmxleCc+XHJcbiAgICA8ZGl2IGNsYXNzPVwidy1mdWxsIHt7IG5ndFN0eWxlLmNvbXBpbGUoWydoJywgJ2NvbG9yLmJnJywgJ2NvbG9yLnRleHQnLCAncCcsICdweCcsICdweScsICdwbCcsICdwcicsICdwdCcsICdwYicsICdtJywgJ214JywgJ215JywgJ21sJywgJ21yJywgJ210JywgJ21iJywgJ3NoYWRvdyddKSB9fVwiXHJcbiAgICAgICAgQGZhZGVVcD5cclxuICAgICAgICA8IS0tSGVhZGVyLS0+XHJcbiAgICAgICAgPGRpdiAqbmdJZj1cIiFjdXN0b21MYXlvdXRcIj5cclxuICAgICAgICAgICAgPG5ndC1wb3J0bGV0LWhlYWRlciBbaWNvbl09J2ljb24nIFtjYXB0aW9uXT0nY2FwdGlvbicgW2hlbHBlclRleHRdPVwiaGVscFRleHRcIiBbaGVscGVyVGl0bGVdPVwiaGVscFRpdGxlXCJcclxuICAgICAgICAgICAgICAgIFtoZWxwZXJJY29uQ29sb3JdPVwiaGVscEljb25Db2xvclwiPlxyXG4gICAgICAgICAgICAgICAgPGRpdiByaWdodC1oZWFkZXI+XHJcbiAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PSdbcmlnaHQtaGVhZGVyXSc+PC9uZy1jb250ZW50PlxyXG4gICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICA8ZGl2IGxlZnQtaGVhZGVyPlxyXG4gICAgICAgICAgICAgICAgICAgIDxuZy1jb250ZW50IHNlbGVjdD0nW2xlZnQtaGVhZGVyXSc+PC9uZy1jb250ZW50PlxyXG4gICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICA8ZGl2IGhlYWRlcj5cclxuICAgICAgICAgICAgICAgICAgICA8bmctY29udGVudCBzZWxlY3Q9J1toZWFkZXJdJz48L25nLWNvbnRlbnQ+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgPC9uZ3QtcG9ydGxldC1oZWFkZXI+XHJcbiAgICAgICAgPC9kaXY+XHJcblxyXG4gICAgICAgIDwhLS1Cb2R5LS0+XHJcbiAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cIiFjdXN0b21MYXlvdXQgJiYgd2l0aEJvZHlcIj5cclxuICAgICAgICAgICAgPG5ndC1wb3J0bGV0LWJvZHk+XHJcbiAgICAgICAgICAgICAgICA8bmctY29udGVudCBzZWxlY3Q9J1tib2R5XSc+PC9uZy1jb250ZW50PlxyXG4gICAgICAgICAgICA8L25ndC1wb3J0bGV0LWJvZHk+XHJcbiAgICAgICAgPC9uZy1jb250YWluZXI+XHJcblxyXG4gICAgICAgIDwhLS1Gb290ZXItLT5cclxuICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwiIWN1c3RvbUxheW91dCAmJiB3aXRoRm9vdGVyXCI+XHJcbiAgICAgICAgICAgIDxuZ3QtcG9ydGxldC1mb290ZXI+XHJcbiAgICAgICAgICAgICAgICA8ZGl2IHJpZ2h0LWZvb3Rlcj5cclxuICAgICAgICAgICAgICAgICAgICA8bmctY29udGVudCBzZWxlY3Q9J1tyaWdodC1mb290ZXJdJz48L25nLWNvbnRlbnQ+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgIDxkaXYgbGVmdC1mb290ZXI+XHJcbiAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PSdbbGVmdC1mb290ZXJdJz48L25nLWNvbnRlbnQ+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgIDxkaXYgZm9vdGVyPlxyXG4gICAgICAgICAgICAgICAgICAgIDxuZy1jb250ZW50IHNlbGVjdD0nW2Zvb3Rlcl0nPjwvbmctY29udGVudD5cclxuICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICA8L25ndC1wb3J0bGV0LWZvb3Rlcj5cclxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cclxuXHJcbiAgICAgICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxyXG4gICAgPC9kaXY+XHJcbjwvc2VjdGlvbj4iXX0=
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { NgtHelperModule } from '../ngt-helper/ngt-helper.module';
|
|
4
|
-
import { NgtSvgModule } from '../ngt-svg/ngt-svg.module';
|
|
5
|
-
import { NgtPortletBodyComponent } from './ngt-portlet-body/ngt-portlet-body.component';
|
|
6
|
-
import { NgtPortletFooterComponent } from './ngt-portlet-footer/ngt-portlet-footer.component';
|
|
7
|
-
import { NgtPortletHeaderComponent } from './ngt-portlet-header/ngt-portlet-header.component';
|
|
8
|
-
import { NgtPortletComponent } from './ngt-portlet.component';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export class NgtPortletModule {
|
|
11
|
-
}
|
|
12
|
-
NgtPortletModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13
|
-
NgtPortletModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.
|
|
14
|
-
NgtPortletHeaderComponent,
|
|
15
|
-
NgtPortletBodyComponent,
|
|
16
|
-
NgtPortletFooterComponent], imports: [CommonModule,
|
|
17
|
-
NgtSvgModule,
|
|
18
|
-
NgtHelperModule], exports: [NgtPortletComponent,
|
|
19
|
-
NgtPortletHeaderComponent,
|
|
20
|
-
NgtPortletBodyComponent,
|
|
21
|
-
NgtPortletFooterComponent] });
|
|
22
|
-
NgtPortletModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.
|
|
23
|
-
NgtSvgModule,
|
|
24
|
-
NgtHelperModule] });
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
26
|
-
type: NgModule,
|
|
27
|
-
args: [{
|
|
28
|
-
declarations: [
|
|
29
|
-
NgtPortletComponent,
|
|
30
|
-
NgtPortletHeaderComponent,
|
|
31
|
-
NgtPortletBodyComponent,
|
|
32
|
-
NgtPortletFooterComponent
|
|
33
|
-
],
|
|
34
|
-
exports: [
|
|
35
|
-
NgtPortletComponent,
|
|
36
|
-
NgtPortletHeaderComponent,
|
|
37
|
-
NgtPortletBodyComponent,
|
|
38
|
-
NgtPortletFooterComponent
|
|
39
|
-
],
|
|
40
|
-
imports: [
|
|
41
|
-
CommonModule,
|
|
42
|
-
NgtSvgModule,
|
|
43
|
-
NgtHelperModule
|
|
44
|
-
]
|
|
45
|
-
}]
|
|
46
|
-
}] });
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { NgtHelperModule } from '../ngt-helper/ngt-helper.module';
|
|
4
|
+
import { NgtSvgModule } from '../ngt-svg/ngt-svg.module';
|
|
5
|
+
import { NgtPortletBodyComponent } from './ngt-portlet-body/ngt-portlet-body.component';
|
|
6
|
+
import { NgtPortletFooterComponent } from './ngt-portlet-footer/ngt-portlet-footer.component';
|
|
7
|
+
import { NgtPortletHeaderComponent } from './ngt-portlet-header/ngt-portlet-header.component';
|
|
8
|
+
import { NgtPortletComponent } from './ngt-portlet.component';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export class NgtPortletModule {
|
|
11
|
+
}
|
|
12
|
+
NgtPortletModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPortletModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
+
NgtPortletModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.8", ngImport: i0, type: NgtPortletModule, declarations: [NgtPortletComponent,
|
|
14
|
+
NgtPortletHeaderComponent,
|
|
15
|
+
NgtPortletBodyComponent,
|
|
16
|
+
NgtPortletFooterComponent], imports: [CommonModule,
|
|
17
|
+
NgtSvgModule,
|
|
18
|
+
NgtHelperModule], exports: [NgtPortletComponent,
|
|
19
|
+
NgtPortletHeaderComponent,
|
|
20
|
+
NgtPortletBodyComponent,
|
|
21
|
+
NgtPortletFooterComponent] });
|
|
22
|
+
NgtPortletModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPortletModule, imports: [CommonModule,
|
|
23
|
+
NgtSvgModule,
|
|
24
|
+
NgtHelperModule] });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPortletModule, decorators: [{
|
|
26
|
+
type: NgModule,
|
|
27
|
+
args: [{
|
|
28
|
+
declarations: [
|
|
29
|
+
NgtPortletComponent,
|
|
30
|
+
NgtPortletHeaderComponent,
|
|
31
|
+
NgtPortletBodyComponent,
|
|
32
|
+
NgtPortletFooterComponent
|
|
33
|
+
],
|
|
34
|
+
exports: [
|
|
35
|
+
NgtPortletComponent,
|
|
36
|
+
NgtPortletHeaderComponent,
|
|
37
|
+
NgtPortletBodyComponent,
|
|
38
|
+
NgtPortletFooterComponent
|
|
39
|
+
],
|
|
40
|
+
imports: [
|
|
41
|
+
CommonModule,
|
|
42
|
+
NgtSvgModule,
|
|
43
|
+
NgtHelperModule
|
|
44
|
+
]
|
|
45
|
+
}]
|
|
46
|
+
}] });
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0LXBvcnRsZXQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctdGFpbHdpbmQvc3JjL2Nv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xcclxuICAgICAgICBOZ3RQb3J0bGV0SGVhZGVyQ29tcG9uZW50LFxyXG4gICAgICAgIE5ndFBvcnRsZXRCb2R5Q29tcG9uZW50LFxyXG4gICAgICAgIE5ndFBvcnRsZXRGb290ZXJDb21wb25lbnRcclxuICAgIF0sXHJcbiAgICBleHBvcnRzOiBbXHJcbiAgICAgICAgTmd0UG9ydGxldENvbXBvbmVudCxcclxuICAgICAgICBOZ3RQb3J0bGV0SGVhZGVyQ29tcG9uZW50LFxyXG4gICAgICAgIE5ndFBvcnRsZXRCb2R5Q29tcG9uZW50LFxyXG4gICAgICAgIE5ndFBvcnRsZXRGb290ZXJDb21wb25lbnRcclxuICAgIF0sXHJcbiAgICBpbXBvcnRzOiBbXHJcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgICAgIE5ndFN2Z01vZHVsZSxcclxuICAgICAgICBOZ3RIZWxwZXJNb2R1bGVcclxuICAgIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIE5ndFBvcnRsZXRNb2R1bGUgeyB9XHJcbiJdfQ==
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { Component, EventEmitter, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class NgtRadioButtonContainerComponent {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.onActiveRadioButtonChange = new EventEmitter();
|
|
6
|
-
}
|
|
7
|
-
setActiveRadioButton(activeRadioButton) {
|
|
8
|
-
this.onActiveRadioButtonChange.emit(activeRadioButton);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
NgtRadioButtonContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
12
|
-
NgtRadioButtonContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
14
|
-
type: Component,
|
|
15
|
-
args: [{ selector: '[ngt-radio-button-container]', template: "<ng-content></ng-content>" }]
|
|
16
|
-
}], propDecorators: { onActiveRadioButtonChange: [{
|
|
17
|
-
type: Output
|
|
18
|
-
}] } });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, EventEmitter, Output } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class NgtRadioButtonContainerComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.onActiveRadioButtonChange = new EventEmitter();
|
|
6
|
+
}
|
|
7
|
+
setActiveRadioButton(activeRadioButton) {
|
|
8
|
+
this.onActiveRadioButtonChange.emit(activeRadioButton);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
NgtRadioButtonContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtRadioButtonContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
+
NgtRadioButtonContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: NgtRadioButtonContainerComponent, selector: "[ngt-radio-button-container]", outputs: { onActiveRadioButtonChange: "onActiveRadioButtonChange" }, ngImport: i0, template: "<ng-content></ng-content>" });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtRadioButtonContainerComponent, decorators: [{
|
|
14
|
+
type: Component,
|
|
15
|
+
args: [{ selector: '[ngt-radio-button-container]', template: "<ng-content></ng-content>" }]
|
|
16
|
+
}], propDecorators: { onActiveRadioButtonChange: [{
|
|
17
|
+
type: Output
|
|
18
|
+
}] } });
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0LXJhZGlvLWJ1dHRvbi1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJ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