ng-tailwind 5.2.4 → 5.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/animations/ngt-angular-animations.d.ts +5 -5
- package/base/ngt-base-ng-model.d.ts +32 -32
- package/components/ngt-action/ngt-action.component.d.ts +30 -30
- package/components/ngt-action/ngt-action.module.d.ts +10 -10
- package/components/ngt-button/ngt-button.component.d.ts +35 -35
- package/components/ngt-button/ngt-button.module.d.ts +10 -10
- package/components/ngt-checkbox/ngt-checkbox.component.d.ts +53 -53
- package/components/ngt-checkbox/ngt-checkbox.module.d.ts +10 -10
- package/components/ngt-content/ngt-content.component.d.ts +12 -12
- package/components/ngt-content/ngt-content.module.d.ts +8 -8
- package/components/ngt-context-menu/ngt-context-menu.component.d.ts +20 -20
- package/components/ngt-context-menu/ngt-context-menu.directive.d.ts +25 -25
- package/components/ngt-context-menu/ngt-context-menu.module.d.ts +10 -10
- package/components/ngt-datatable/ngt-datatable.component.d.ts +125 -125
- package/components/ngt-datatable/ngt-datatable.module.d.ts +25 -25
- package/components/ngt-datatable/ngt-tbody/ngt-tbody.component.d.ts +14 -14
- package/components/ngt-datatable/ngt-td/ngt-td.component.d.ts +14 -14
- package/components/ngt-datatable/ngt-td-check/ngt-td-check.component.d.ts +29 -29
- package/components/ngt-datatable/ngt-th/ngt-th.component.d.ts +55 -55
- package/components/ngt-datatable/ngt-th-check/ngt-th-check.component.d.ts +32 -32
- package/components/ngt-datatable/ngt-thead/ngt-thead.component.d.ts +13 -13
- package/components/ngt-datatable/ngt-tr/ngt-tr.component.d.ts +20 -20
- package/components/ngt-date/ngt-date.component.d.ts +85 -85
- package/components/ngt-date/ngt-date.module.d.ts +13 -13
- package/components/ngt-dropdown/ngt-dropdown-container/ngt-dropdown-container.component.d.ts +8 -8
- package/components/ngt-dropdown/ngt-dropdown.component.d.ts +53 -53
- package/components/ngt-dropdown/ngt-dropdown.module.d.ts +9 -9
- package/components/ngt-dropzone/custom-dropzone-preview/custom-dropzone-preview.component.d.ts +14 -14
- package/components/ngt-dropzone/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component.d.ts +25 -25
- package/components/ngt-dropzone/ngt-dropzone-view/ngt-dropzone-view.component.d.ts +35 -35
- package/components/ngt-dropzone/ngt-dropzone.component.d.ts +95 -95
- package/components/ngt-dropzone/ngt-dropzone.meta.d.ts +27 -27
- package/components/ngt-dropzone/ngt-dropzone.module.d.ts +17 -17
- package/components/ngt-floating-button/ngt-floating-button.component.d.ts +35 -35
- package/components/ngt-floating-button/ngt-floating-button.module.d.ts +10 -10
- package/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.component.d.ts +10 -10
- package/components/ngt-form/ngt-form.component.d.ts +60 -60
- package/components/ngt-form/ngt-form.module.d.ts +9 -9
- package/components/ngt-header-nav/ngt-header-nav.component.d.ts +14 -14
- package/components/ngt-header-nav/ngt-header-nav.module.d.ts +8 -8
- package/components/ngt-helper/ngt-helper.component.d.ts +25 -25
- package/components/ngt-helper/ngt-helper.module.d.ts +10 -10
- package/components/ngt-input/ngt-input.component.d.ts +129 -129
- package/components/ngt-input/ngt-input.module.d.ts +14 -14
- package/components/ngt-modal/ngt-modal-body/ngt-modal-body.component.d.ts +17 -17
- package/components/ngt-modal/ngt-modal-footer/ngt-modal-footer.component.d.ts +12 -12
- package/components/ngt-modal/ngt-modal-header/ngt-modal-header.component.d.ts +15 -15
- package/components/ngt-modal/ngt-modal.component.d.ts +31 -31
- package/components/ngt-modal/ngt-modal.module.d.ts +11 -11
- package/components/ngt-multi-select/ngt-multi-select.component.d.ts +116 -116
- package/components/ngt-multi-select/ngt-multi-select.module.d.ts +15 -15
- package/components/ngt-pagination/ngt-pagination.component.d.ts +43 -43
- package/components/ngt-pagination/ngt-pagination.module.d.ts +12 -12
- package/components/ngt-popover/ngt-popover-tooltip/ngt-popover-tooltip.component.d.ts +21 -21
- package/components/ngt-popover/ngt-popover.component.d.ts +31 -31
- package/components/ngt-popover/ngt-popover.directive.d.ts +31 -31
- package/components/ngt-popover/ngt-popover.module.d.ts +11 -11
- package/components/ngt-portlet/ngt-portlet-body/ngt-portlet-body.component.d.ts +12 -12
- package/components/ngt-portlet/ngt-portlet-footer/ngt-portlet-footer.component.d.ts +12 -12
- package/components/ngt-portlet/ngt-portlet-header/ngt-portlet-header.component.d.ts +18 -18
- package/components/ngt-portlet/ngt-portlet.component.d.ts +20 -20
- package/components/ngt-portlet/ngt-portlet.module.d.ts +13 -13
- package/components/ngt-radio-button/ngt-radio-button-container/ngt-radio-button-container.component.d.ts +9 -9
- package/components/ngt-radio-button/ngt-radio-button.component.d.ts +45 -45
- package/components/ngt-radio-button/ngt-radio-button.module.d.ts +11 -11
- package/components/ngt-section/ngt-section.component.d.ts +38 -38
- package/components/ngt-section/ngt-section.module.d.ts +11 -11
- package/components/ngt-select/ngt-select.component.d.ts +154 -154
- package/components/ngt-select/ngt-select.directive.d.ts +20 -20
- package/components/ngt-select/ngt-select.module.d.ts +16 -16
- package/components/ngt-shining/ngt-shining.component.d.ts +19 -19
- package/components/ngt-shining/ngt-shining.module.d.ts +8 -8
- package/components/ngt-sidenav/ngt-sidenav.component.d.ts +32 -32
- package/components/ngt-sidenav/ngt-sidenav.module.d.ts +8 -8
- package/components/ngt-slider/ngt-slider.component.d.ts +36 -36
- package/components/ngt-slider/ngt-slider.module.d.ts +9 -9
- package/components/ngt-svg/ngt-svg.component.d.ts +13 -13
- package/components/ngt-svg/ngt-svg.module.d.ts +10 -10
- package/components/ngt-tag/ngt-tag.component.d.ts +13 -13
- package/components/ngt-tag/ngt-tag.module.d.ts +9 -9
- package/components/ngt-textarea/ngt-textarea.component.d.ts +49 -49
- package/components/ngt-textarea/ngt-textarea.module.d.ts +13 -13
- package/components/ngt-validation/ngt-validation.component.d.ts +13 -13
- package/components/ngt-validation/ngt-validation.module.d.ts +8 -8
- package/directives/ngt-stylizable/ngt-stylizable.directive.d.ts +70 -68
- package/directives/ngt-stylizable/ngt-stylizable.module.d.ts +8 -8
- package/enums/size.enum.d.ts +8 -8
- package/esm2020/animations/ngt-angular-animations.mjs +34 -34
- package/esm2020/base/ngt-base-ng-model.mjs +90 -90
- package/esm2020/components/ngt-action/ngt-action.component.mjs +96 -96
- package/esm2020/components/ngt-action/ngt-action.module.mjs +28 -28
- package/esm2020/components/ngt-button/ngt-button.component.mjs +142 -142
- package/esm2020/components/ngt-button/ngt-button.module.mjs +28 -28
- package/esm2020/components/ngt-checkbox/ngt-checkbox.component.mjs +192 -192
- package/esm2020/components/ngt-checkbox/ngt-checkbox.module.mjs +28 -28
- package/esm2020/components/ngt-content/ngt-content.component.mjs +32 -32
- package/esm2020/components/ngt-content/ngt-content.module.mjs +20 -20
- package/esm2020/components/ngt-context-menu/ngt-context-menu.component.mjs +25 -25
- package/esm2020/components/ngt-context-menu/ngt-context-menu.directive.mjs +89 -89
- package/esm2020/components/ngt-context-menu/ngt-context-menu.module.mjs +33 -33
- package/esm2020/components/ngt-datatable/ngt-datatable.component.mjs +470 -470
- package/esm2020/components/ngt-datatable/ngt-datatable.module.mjs +99 -99
- package/esm2020/components/ngt-datatable/ngt-tbody/ngt-tbody.component.mjs +57 -57
- package/esm2020/components/ngt-datatable/ngt-td/ngt-td.component.mjs +62 -62
- package/esm2020/components/ngt-datatable/ngt-td-check/ngt-td-check.component.mjs +113 -113
- package/esm2020/components/ngt-datatable/ngt-th/ngt-th.component.mjs +228 -228
- package/esm2020/components/ngt-datatable/ngt-th-check/ngt-th-check.component.mjs +127 -127
- package/esm2020/components/ngt-datatable/ngt-thead/ngt-thead.component.mjs +55 -55
- package/esm2020/components/ngt-datatable/ngt-tr/ngt-tr.component.mjs +86 -86
- package/esm2020/components/ngt-date/ngt-date.component.mjs +435 -435
- package/esm2020/components/ngt-date/ngt-date.module.mjs +40 -40
- package/esm2020/components/ngt-dropdown/ngt-dropdown-container/ngt-dropdown-container.component.mjs +19 -19
- package/esm2020/components/ngt-dropdown/ngt-dropdown.component.mjs +204 -204
- package/esm2020/components/ngt-dropdown/ngt-dropdown.module.mjs +21 -21
- package/esm2020/components/ngt-dropzone/custom-dropzone-preview/custom-dropzone-preview.component.mjs +54 -54
- package/esm2020/components/ngt-dropzone/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component.mjs +66 -66
- package/esm2020/components/ngt-dropzone/ngt-dropzone-view/ngt-dropzone-view.component.mjs +94 -94
- package/esm2020/components/ngt-dropzone/ngt-dropzone.component.mjs +496 -496
- package/esm2020/components/ngt-dropzone/ngt-dropzone.meta.mjs +24 -24
- package/esm2020/components/ngt-dropzone/ngt-dropzone.module.mjs +55 -55
- package/esm2020/components/ngt-floating-button/ngt-floating-button.component.mjs +119 -119
- package/esm2020/components/ngt-floating-button/ngt-floating-button.module.mjs +28 -28
- package/esm2020/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.component.mjs +22 -22
- package/esm2020/components/ngt-form/ngt-form.component.mjs +207 -207
- package/esm2020/components/ngt-form/ngt-form.module.mjs +29 -29
- package/esm2020/components/ngt-header-nav/ngt-header-nav.component.mjs +39 -39
- package/esm2020/components/ngt-header-nav/ngt-header-nav.module.mjs +20 -20
- package/esm2020/components/ngt-helper/ngt-helper.component.mjs +69 -68
- package/esm2020/components/ngt-helper/ngt-helper.module.mjs +28 -28
- package/esm2020/components/ngt-input/ngt-input.component.mjs +844 -844
- package/esm2020/components/ngt-input/ngt-input.module.mjs +47 -47
- package/esm2020/components/ngt-modal/ngt-modal-body/ngt-modal-body.component.mjs +46 -46
- package/esm2020/components/ngt-modal/ngt-modal-footer/ngt-modal-footer.component.mjs +33 -33
- package/esm2020/components/ngt-modal/ngt-modal-header/ngt-modal-header.component.mjs +40 -40
- package/esm2020/components/ngt-modal/ngt-modal.component.mjs +122 -122
- package/esm2020/components/ngt-modal/ngt-modal.module.mjs +39 -39
- package/esm2020/components/ngt-multi-select/ngt-multi-select.component.mjs +503 -503
- package/esm2020/components/ngt-multi-select/ngt-multi-select.module.mjs +52 -52
- package/esm2020/components/ngt-pagination/ngt-pagination.component.mjs +162 -162
- package/esm2020/components/ngt-pagination/ngt-pagination.module.mjs +36 -36
- package/esm2020/components/ngt-popover/ngt-popover-tooltip/ngt-popover-tooltip.component.mjs +58 -58
- package/esm2020/components/ngt-popover/ngt-popover.component.mjs +85 -85
- package/esm2020/components/ngt-popover/ngt-popover.directive.mjs +126 -126
- package/esm2020/components/ngt-popover/ngt-popover.module.mjs +36 -36
- package/esm2020/components/ngt-portlet/ngt-portlet-body/ngt-portlet-body.component.mjs +34 -34
- package/esm2020/components/ngt-portlet/ngt-portlet-footer/ngt-portlet-footer.component.mjs +35 -35
- package/esm2020/components/ngt-portlet/ngt-portlet-header/ngt-portlet-header.component.mjs +57 -57
- package/esm2020/components/ngt-portlet/ngt-portlet.component.mjs +74 -74
- package/esm2020/components/ngt-portlet/ngt-portlet.module.mjs +47 -47
- package/esm2020/components/ngt-radio-button/ngt-radio-button-container/ngt-radio-button-container.component.mjs +19 -19
- package/esm2020/components/ngt-radio-button/ngt-radio-button.component.mjs +153 -153
- package/esm2020/components/ngt-radio-button/ngt-radio-button.module.mjs +29 -29
- package/esm2020/components/ngt-section/ngt-section.component.mjs +151 -151
- package/esm2020/components/ngt-section/ngt-section.module.mjs +32 -32
- package/esm2020/components/ngt-select/ngt-select.component.mjs +670 -670
- package/esm2020/components/ngt-select/ngt-select.directive.mjs +36 -36
- package/esm2020/components/ngt-select/ngt-select.module.mjs +65 -65
- package/esm2020/components/ngt-shining/ngt-shining.component.mjs +40 -40
- package/esm2020/components/ngt-shining/ngt-shining.module.mjs +20 -20
- package/esm2020/components/ngt-sidenav/ngt-sidenav.component.mjs +132 -132
- package/esm2020/components/ngt-sidenav/ngt-sidenav.module.mjs +20 -20
- package/esm2020/components/ngt-slider/ngt-slider.component.mjs +100 -100
- package/esm2020/components/ngt-slider/ngt-slider.module.mjs +24 -24
- package/esm2020/components/ngt-svg/ngt-svg.component.mjs +53 -53
- package/esm2020/components/ngt-svg/ngt-svg.module.mjs +28 -28
- package/esm2020/components/ngt-tag/ngt-tag.component.mjs +37 -37
- package/esm2020/components/ngt-tag/ngt-tag.module.mjs +24 -24
- package/esm2020/components/ngt-textarea/ngt-textarea.component.mjs +238 -238
- package/esm2020/components/ngt-textarea/ngt-textarea.module.mjs +43 -43
- package/esm2020/components/ngt-validation/ngt-validation.component.mjs +26 -26
- package/esm2020/components/ngt-validation/ngt-validation.module.mjs +20 -20
- package/esm2020/directives/ngt-stylizable/ngt-stylizable.directive.mjs +299 -290
- package/esm2020/directives/ngt-stylizable/ngt-stylizable.module.mjs +20 -20
- package/esm2020/enums/size.enum.mjs +11 -11
- package/esm2020/helpers/enum/enum.mjs +7 -7
- package/esm2020/helpers/form/form.mjs +14 -14
- package/esm2020/helpers/input-mask/input-mask.helper.mjs +26 -26
- package/esm2020/helpers/promise/promise-helper.mjs +4 -4
- package/esm2020/helpers/routing/route.mjs +11 -11
- package/esm2020/helpers/uuid.mjs +10 -10
- package/esm2020/ng-tailwind.mjs +4 -4
- package/esm2020/public-api.mjs +127 -127
- package/esm2020/services/http/ngt-attachment-http.service.mjs +3 -3
- package/esm2020/services/http/ngt-http-form.service.mjs +3 -3
- package/esm2020/services/http/ngt-http-resource.service.mjs +3 -3
- package/esm2020/services/http/ngt-http-validation.service.mjs +3 -3
- package/esm2020/services/http/ngt-http.service.mjs +3 -3
- package/esm2020/services/http/ngt-translate.service.mjs +3 -3
- package/esm2020/services/ngt-stylizable/ngt-stylizable.service.mjs +279 -273
- package/esm2020/services/validation/ngt-ability-validation.service.mjs +3 -3
- package/fesm2015/ng-tailwind.mjs +8669 -8653
- package/fesm2015/ng-tailwind.mjs.map +1 -1
- package/fesm2020/ng-tailwind.mjs +8494 -8478
- package/fesm2020/ng-tailwind.mjs.map +1 -1
- package/helpers/enum/enum.d.ts +1 -1
- package/helpers/form/form.d.ts +4 -4
- package/helpers/input-mask/input-mask.helper.d.ts +20 -20
- package/helpers/promise/promise-helper.d.ts +1 -1
- package/helpers/routing/route.d.ts +2 -2
- package/helpers/uuid.d.ts +1 -1
- package/index.d.ts +5 -5
- package/package.json +1 -1
- package/public-api.d.ts +87 -87
- package/services/http/ngt-attachment-http.service.d.ts +9 -9
- package/services/http/ngt-http-form.service.d.ts +5 -5
- package/services/http/ngt-http-resource.service.d.ts +12 -12
- package/services/http/ngt-http-validation.service.d.ts +12 -12
- package/services/http/ngt-http.service.d.ts +27 -27
- package/services/http/ngt-translate.service.d.ts +33 -33
- package/services/ngt-stylizable/ngt-stylizable.service.d.ts +99 -96
- package/services/validation/ngt-ability-validation.service.d.ts +5 -5
|
@@ -1,57 +1,57 @@
|
|
|
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.iconSize = 'text-xl';
|
|
15
|
-
this.helperTitle = '';
|
|
16
|
-
this.helperText = '';
|
|
17
|
-
this.helperIconColor = '';
|
|
18
|
-
if (this.ngtStylizableDirective) {
|
|
19
|
-
this.ngtStyle = this.ngtStylizableDirective.getNgtStylizableService();
|
|
20
|
-
}
|
|
21
|
-
else {
|
|
22
|
-
this.ngtStyle = new NgtStylizableService();
|
|
23
|
-
}
|
|
24
|
-
this.ngtStyle.load(this.injector, 'NgtPortletHeader', {
|
|
25
|
-
h: 'h-auto',
|
|
26
|
-
w: 'w-auto',
|
|
27
|
-
text: 'text-xl',
|
|
28
|
-
font: 'font-medium',
|
|
29
|
-
border: 'border-b',
|
|
30
|
-
px: 'px-4',
|
|
31
|
-
color: {}
|
|
32
|
-
}, ['NgtPortletStyle']);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
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 });
|
|
36
|
-
NgtPortletHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: NgtPortletHeaderComponent, selector: "ngt-portlet-header", inputs: { caption: "caption", icon: "icon", iconSize: "iconSize", helperTitle: "helperTitle", helperText: "helperText", helperIconColor: "helperIconColor" }, ngImport: i0, template: "<div [class]=\"ngtStyle.compile(['h', 'color.text', 'color.bg', 'border', 'text'])\">\
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPortletHeaderComponent, decorators: [{
|
|
38
|
-
type: Component,
|
|
39
|
-
args: [{ selector: 'ngt-portlet-header', template: "<div [class]=\"ngtStyle.compile(['h', 'color.text', 'color.bg', 'border', 'text'])\">\
|
|
40
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.NgtStylizableDirective, decorators: [{
|
|
41
|
-
type: Self
|
|
42
|
-
}, {
|
|
43
|
-
type: Optional
|
|
44
|
-
}] }]; }, propDecorators: { caption: [{
|
|
45
|
-
type: Input
|
|
46
|
-
}], icon: [{
|
|
47
|
-
type: Input
|
|
48
|
-
}], iconSize: [{
|
|
49
|
-
type: Input
|
|
50
|
-
}], helperTitle: [{
|
|
51
|
-
type: Input
|
|
52
|
-
}], helperText: [{
|
|
53
|
-
type: Input
|
|
54
|
-
}], helperIconColor: [{
|
|
55
|
-
type: Input
|
|
56
|
-
}] } });
|
|
57
|
-
//# 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.iconSize = 'text-xl';
|
|
15
|
+
this.helperTitle = '';
|
|
16
|
+
this.helperText = '';
|
|
17
|
+
this.helperIconColor = '';
|
|
18
|
+
if (this.ngtStylizableDirective) {
|
|
19
|
+
this.ngtStyle = this.ngtStylizableDirective.getNgtStylizableService();
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
this.ngtStyle = new NgtStylizableService();
|
|
23
|
+
}
|
|
24
|
+
this.ngtStyle.load(this.injector, 'NgtPortletHeader', {
|
|
25
|
+
h: 'h-auto',
|
|
26
|
+
w: 'w-auto',
|
|
27
|
+
text: 'text-xl',
|
|
28
|
+
font: 'font-medium',
|
|
29
|
+
border: 'border-b',
|
|
30
|
+
px: 'px-4',
|
|
31
|
+
color: {}
|
|
32
|
+
}, ['NgtPortletStyle']);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
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 });
|
|
36
|
+
NgtPortletHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: NgtPortletHeaderComponent, selector: "ngt-portlet-header", inputs: { caption: "caption", icon: "icon", iconSize: "iconSize", helperTitle: "helperTitle", helperText: "helperText", helperIconColor: "helperIconColor" }, ngImport: i0, template: "<div [class]=\"ngtStyle.compile(['h', 'color.text', 'color.bg', 'border', 'text'])\">\n <div class=\"flex flex-wrap md:flex-nowrap h-full relative {{ ngtStyle.compile(['px']) }} py-2\">\n <div *ngIf=\"caption || icon\" class=\"flex md:whitespace-nowrap items-center gap-2\">\n <ngt-svg *ngIf=\"icon\" [src]=\"icon\" [class]=\"iconSize\"></ngt-svg>\n\n <div class=\"flex self-center gap-1 {{ ngtStyle.compile(['font']) }}\">\n {{ caption }}\n\n <ngt-helper *ngIf=\"helperText\" [helpTitle]=\"helperTitle\" class=\"mt-1\" [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>", 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"] }] });
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPortletHeaderComponent, decorators: [{
|
|
38
|
+
type: Component,
|
|
39
|
+
args: [{ selector: 'ngt-portlet-header', template: "<div [class]=\"ngtStyle.compile(['h', 'color.text', 'color.bg', 'border', 'text'])\">\n <div class=\"flex flex-wrap md:flex-nowrap h-full relative {{ ngtStyle.compile(['px']) }} py-2\">\n <div *ngIf=\"caption || icon\" class=\"flex md:whitespace-nowrap items-center gap-2\">\n <ngt-svg *ngIf=\"icon\" [src]=\"icon\" [class]=\"iconSize\"></ngt-svg>\n\n <div class=\"flex self-center gap-1 {{ ngtStyle.compile(['font']) }}\">\n {{ caption }}\n\n <ngt-helper *ngIf=\"helperText\" [helpTitle]=\"helperTitle\" class=\"mt-1\" [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>" }]
|
|
40
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.NgtStylizableDirective, decorators: [{
|
|
41
|
+
type: Self
|
|
42
|
+
}, {
|
|
43
|
+
type: Optional
|
|
44
|
+
}] }]; }, propDecorators: { caption: [{
|
|
45
|
+
type: Input
|
|
46
|
+
}], icon: [{
|
|
47
|
+
type: Input
|
|
48
|
+
}], iconSize: [{
|
|
49
|
+
type: Input
|
|
50
|
+
}], helperTitle: [{
|
|
51
|
+
type: Input
|
|
52
|
+
}], helperText: [{
|
|
53
|
+
type: Input
|
|
54
|
+
}], helperIconColor: [{
|
|
55
|
+
type: Input
|
|
56
|
+
}] } });
|
|
57
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0LXBvcnRsZXQtaGVhZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXRhaWx3aW5kL3NyYy9jb21wb25lbnRzL25ndC1wb3J0bGV0L25ndC1wb3J0bGV0LWhlYWRlci9uZ3QtcG9ydGxldC1oZWFkZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctdGFpbHdpbmQvc3JjL2NvbXBvbmVudHMvbmd0LXBvcnRsZXQvbmd0LXBvcnRsZXQtaGVhZGVyL25ndC1wb3J0bGV0LWhlYWRlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFZLEtBQUssRUFBRSxRQUFRLEVBQUUsSUFBSSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRzNFLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHlEQUF5RCxDQUFDOzs7Ozs7QUFNL0YsTUFBTSxPQUFPLHlCQUF5QjtJQVVsQyxZQUNZLFFBQWtCLEVBQ0Usc0JBQThDO1FBRGxFLGFBQVEsR0FBUixRQUFRLENBQVU7UUFDRSwyQkFBc0IsR0FBdEIsc0JBQXNCLENBQXdCO1FBWDlELFlBQU8sR0FBVyxFQUFFLENBQUM7U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RyZW4/Lmxlbmd0aCdcbiAgICAgICAgICAgIGNsYXNzPVwic2VsZi1jZW50ZXIge3sgbmd0U3R5bGUuY29tcGlsZShbJ3Bvc2l0aW9uJywgJ3cnXSkgfX1cIiAjaGVhZGVyPlxuICAgICAgICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW2hlYWRlcl1cIj48L25nLWNvbnRlbnQ+XG4gICAgICAgIDwvZGl2PlxuXG4gICAgICAgIDxkaXYgY2xhc3M9XCJ7eyAhcmlnaHRIZWFkZXI/LmNoaWxkcmVuWzBdPy5jaGlsZHJlbj8ubGVuZ3RoID8gJ2hpZGRlbicgOiAnZmxleCBqdXN0aWZ5LWVuZCBtbC1hdXRvIHNlbGYtY2VudGVyJyB9fSB7eyBuZ3RTdHlsZS5jb21waWxlKFsncG9zaXRpb24nLCAndyddKSB9fVwiXG4gICAgICAgICAgICAjcmlnaHRIZWFkZXI+XG4gICAgICAgICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJbcmlnaHQtaGVhZGVyXVwiPjwvbmctY29udGVudD5cbiAgICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG48L2Rpdj4iXX0=
|
|
@@ -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.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: "<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']) }}\"\
|
|
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: "<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']) }}\"\
|
|
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: "<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 <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\n <div left-header>\n <ng-content select='[left-header]'></ng-content>\n </div>\n\n <div header>\n <ng-content select='[header]'></ng-content>\n </div>\n </ngt-portlet-header>\n </div>\n\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 <ng-container *ngIf=\"!customLayout && withFooter\">\n <ngt-portlet-footer>\n <div right-footer>\n <ng-content select='[right-footer]'></ng-content>\n </div>\n\n <div left-footer>\n <ng-content select='[left-footer]'></ng-content>\n </div>\n\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>", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.NgtPortletHeaderComponent, selector: "ngt-portlet-header", inputs: ["caption", "icon", "iconSize", "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: "<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 <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\n <div left-header>\n <ng-content select='[left-header]'></ng-content>\n </div>\n\n <div header>\n <ng-content select='[header]'></ng-content>\n </div>\n </ngt-portlet-header>\n </div>\n\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 <ng-container *ngIf=\"!customLayout && withFooter\">\n <ngt-portlet-footer>\n <div right-footer>\n <ng-content select='[right-footer]'></ng-content>\n </div>\n\n <div left-footer>\n <ng-content select='[left-footer]'></ng-content>\n </div>\n\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>" }]
|
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0LXBvcnRsZXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctdGFpbHdpbmQvc3JjL2NvbXBvbmVudHMvbmd0LXBvcnRsZXQvbmd0LXBvcnRsZXQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctdGFpbHdpbmQvc3JjL2NvbXBvbmVudHMvbmd0LXBvcnRsZXQvbmd0LXBvcnRsZXQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLFVBQVUsRUFBRSxPQUFPLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUNqRixPQUFPLEVBQUUsU0FBUyxFQUFZLEtBQUssRUFBRSxRQUFRLEVBQUUsSUFBSSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRzNFLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHNEQUFzRCxDQUFDOzs7Ozs7O0FBYzVGLE1BQU0sT0FBTyxtQkFBbUI7SUFZNUIsWUFDWSxRQUFrQixFQUNFLHNCQUE4QztRQURsRSxhQUFRLEdBQVIsUUFBUSxDQUFVO1FBQ0UsMkJBQXNCLEdBQXRCLHNCQUFzQixDQUF3QjtRQVo5RCxTQUFJ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VscGVySWNvbkNvbG9yXT1cImhlbHBJY29uQ29sb3JcIj5cbiAgICAgICAgICAgIDxkaXYgcmlnaHQtaGVhZGVyPlxuICAgICAgICAgICAgICAgIDxuZy1jb250ZW50IHNlbGVjdD0nW3JpZ2h0LWhlYWRlcl0nPjwvbmctY29udGVudD5cbiAgICAgICAgICAgIDwvZGl2PlxuXG4gICAgICAgICAgICA8ZGl2IGxlZnQtaGVhZGVyPlxuICAgICAgICAgICAgICAgIDxuZy1jb250ZW50IHNlbGVjdD0nW2xlZnQtaGVhZGVyXSc+PC9uZy1jb250ZW50PlxuICAgICAgICAgICAgPC9kaXY+XG5cbiAgICAgICAgICAgIDxkaXYgaGVhZGVyPlxuICAgICAgICAgICAgICAgIDxuZy1jb250ZW50IHNlbGVjdD0nW2hlYWRlcl0nPjwvbmctY29udGVudD5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L25ndC1wb3J0bGV0LWhlYWRlcj5cbiAgICA8L2Rpdj5cblxuICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCIhY3VzdG9tTGF5b3V0ICYmIHdpdGhCb2R5XCI+XG4gICAgICAgIDxuZ3QtcG9ydGxldC1ib2R5PlxuICAgICAgICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PSdbYm9keV0nPjwvbmctY29udGVudD5cbiAgICAgICAgPC9uZ3QtcG9ydGxldC1ib2R5PlxuICAgIDwvbmctY29udGFpbmVyPlxuXG4gICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cIiFjdXN0b21MYXlvdXQgJiYgd2l0aEZvb3RlclwiPlxuICAgICAgICA8bmd0LXBvcnRsZXQtZm9vdGVyPlxuICAgICAgICAgICAgPGRpdiByaWdodC1mb290ZXI+XG4gICAgICAgICAgICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PSdbcmlnaHQtZm9vdGVyXSc+PC9uZy1jb250ZW50PlxuICAgICAgICAgICAgPC9kaXY+XG5cbiAgICAgICAgICAgIDxkaXYgbGVmdC1mb290ZXI+XG4gICAgICAgICAgICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PSdbbGVmdC1mb290ZXJdJz48L25nLWNvbnRlbnQ+XG4gICAgICAgICAgICA8L2Rpdj5cblxuICAgICAgICAgICAgPGRpdiBmb290ZXI+XG4gICAgICAgICAgICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PSdbZm9vdGVyXSc+PC9uZy1jb250ZW50PlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvbmd0LXBvcnRsZXQtZm9vdGVyPlxuICAgIDwvbmctY29udGFpbmVyPlxuXG4gICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuPC9kaXY+Il19
|
|
@@ -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.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,
|
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0LXBvcnRsZXQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctdGFpbHdpbmQvc3JjL2NvbXBvbmVudHMvbmd0LXBvcnRsZXQvbmd0LXBvcnRsZXQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUNsRSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDekQsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sK0NBQStDLENBQUM7QUFDeEYsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sbURBQW1ELENBQUM7QUFDOUYsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sbURBQW1ELENBQUM7QUFDOUYsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0seUJBQXlCLENBQUM7O0FBcUI5RCxNQUFNLE9BQU8sZ0JBQWdCOzs2R0FBaEIsZ0JBQWdCOzhHQUFoQixnQkFBZ0IsaUJBakJyQixtQkFBbUI7UUFDbkIseUJBQXlCO1FBQ3pCLHVCQUF1QjtRQUN2Qix5QkFBeUIsYUFTekIsWUFBWTtRQU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O1xuaW1wb3J0IHsgTmd0UG9ydGxldEhlYWRlckNvbXBvbmVudCB9IGZyb20gJy4vbmd0LXBvcnRsZXQtaGVhZGVyL25ndC1wb3J0bGV0LWhlYWRlci5jb21wb25lbnQnO1xuaW1wb3J0IHsgTmd0UG9ydGxldENvbXBvbmVudCB9IGZyb20gJy4vbmd0LXBvcnRsZXQuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgICBkZWNsYXJhdGlvbnM6IFtcbiAgICAgICAgTmd0UG9ydGxldENvbXBvbmVudCxcbiAgICAgICAgTmd0UG9ydGxldEhlYWRlckNvbXBvbmVudCxcbiAgICAgICAgTmd0UG9ydGxldEJvZHlDb21wb25lbnQsXG4gICAgICAgIE5ndFBvcnRsZXRGb290ZXJDb21wb25lbnRcbiAgICBdLFxuICAgIGV4cG9ydHM6IFtcbiAgICAgICAgTmd0UG9ydGxldENvbXBvbmVudCxcbiAgICAgICAgTmd0UG9ydGxldEhlYWRlckNvbXBvbmVudCxcbiAgICAgICAgTmd0UG9ydGxldEJvZHlDb21wb25lbnQsXG4gICAgICAgIE5ndFBvcnRsZXRGb290ZXJDb21wb25lbnRcbiAgICBdLFxuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxuICAgICAgICBOZ3RTdmdNb2R1bGUsXG4gICAgICAgIE5ndEhlbHBlck1vZHVsZVxuICAgIF1cbn0pXG5leHBvcnQgY2xhc3MgTmd0UG9ydGxldE1vZHVsZSB7IH1cbiJdfQ==
|
|
@@ -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.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,
|
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0LXJhZGlvLWJ1dHRvbi1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctdGFpbHdpbmQvc3JjL2NvbXBvbmVudHMvbmd0LXJhZGlvLWJ1dHRvbi9uZ3QtcmFkaW8tYnV0dG9uLWNvbnRhaW5lci9uZ3QtcmFkaW8tYnV0dG9uLWNvbnRhaW5lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZy10YWlsd2luZC9zcmMvY29tcG9uZW50cy9uZ3QtcmFkaW8tYnV0dG9uL25ndC1yYWRpby1idXR0b24tY29udGFpbmVyL25ndC1yYWRpby1idXR0b24tY29udGFpbmVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFRaEUsTUFBTSxPQUFPLGdDQUFnQztJQUo3QztRQUtxQiw4QkFBeUIsR0FBRyxJQUFJLFlBQVksRUFBRSxDQUFDO0tBS25FO0lBSFUsb0JBQW9CLENBQUMsaUJBQTBDO1FBQ2xFLElBQ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