ng-tailwind 2.24.310 → 2.24.314
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/bundles/ng-tailwind.umd.js +7318 -7271
- package/bundles/ng-tailwind.umd.js.map +1 -1
- package/components/ngt-action/ngt-action.component.d.ts +13 -13
- package/components/ngt-action/ngt-action.module.d.ts +2 -2
- package/components/ngt-button/ngt-button.component.d.ts +22 -22
- package/components/ngt-button/ngt-button.module.d.ts +2 -2
- package/components/ngt-checkbox/ngt-checkbox.component.d.ts +41 -41
- package/components/ngt-checkbox/ngt-checkbox.module.d.ts +2 -2
- package/components/ngt-content/ngt-content.component.d.ts +9 -9
- package/components/ngt-content/ngt-content.module.d.ts +2 -2
- package/components/ngt-datatable/ngt-datatable.component.d.ts +112 -112
- package/components/ngt-datatable/ngt-datatable.module.d.ts +2 -2
- package/components/ngt-datatable/ngt-tbody/ngt-tbody.component.d.ts +11 -11
- package/components/ngt-datatable/ngt-td/ngt-td.component.d.ts +11 -11
- package/components/ngt-datatable/ngt-td-check/ngt-td-check.component.d.ts +24 -24
- package/components/ngt-datatable/ngt-th/ngt-th.component.d.ts +47 -47
- package/components/ngt-datatable/ngt-th-check/ngt-th-check.component.d.ts +19 -19
- package/components/ngt-datatable/ngt-thead/ngt-thead.component.d.ts +10 -10
- package/components/ngt-datatable/ngt-tr/ngt-tr.component.d.ts +17 -17
- package/components/ngt-date/ngt-date.component.d.ts +71 -71
- package/components/ngt-date/ngt-date.module.d.ts +2 -2
- package/components/ngt-dropdown/ngt-dropdown-container/ngt-dropdown-container.component.d.ts +5 -5
- package/components/ngt-dropdown/ngt-dropdown.component.d.ts +42 -42
- package/components/ngt-dropdown/ngt-dropdown.module.d.ts +2 -2
- package/components/ngt-dropzone/custom-dropzone-preview/custom-dropzone-preview.component.d.ts +11 -11
- package/components/ngt-dropzone/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component.d.ts +12 -12
- package/components/ngt-dropzone/ngt-dropzone-view/ngt-dropzone-view.component.d.ts +21 -21
- package/components/ngt-dropzone/ngt-dropzone.component.d.ts +103 -103
- package/components/ngt-dropzone/ngt-dropzone.module.d.ts +2 -2
- package/components/ngt-floating-button/ngt-floating-button.component.d.ts +32 -32
- package/components/ngt-floating-button/ngt-floating-button.module.d.ts +2 -2
- package/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.component.d.ts +7 -7
- package/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.module.d.ts +2 -2
- package/components/ngt-form/ngt-form.component.d.ts +52 -52
- package/components/ngt-form/ngt-form.module.d.ts +2 -2
- package/components/ngt-header-nav/ngt-header-nav.component.d.ts +11 -11
- package/components/ngt-header-nav/ngt-header-nav.module.d.ts +2 -2
- package/components/ngt-helper/ngt-helper.component.d.ts +15 -10
- package/components/ngt-helper/ngt-helper.module.d.ts +2 -2
- package/components/ngt-input/ngt-input.component.d.ts +92 -92
- package/components/ngt-input/ngt-input.module.d.ts +2 -2
- package/components/ngt-modal/ngt-modal-body/ngt-modal-body.component.d.ts +2 -2
- package/components/ngt-modal/ngt-modal-footer/ngt-modal-footer.component.d.ts +2 -2
- package/components/ngt-modal/ngt-modal-header/ngt-modal-header.component.d.ts +12 -12
- package/components/ngt-modal/ngt-modal.component.d.ts +19 -19
- package/components/ngt-modal/ngt-modal.module.d.ts +2 -2
- package/components/ngt-multi-select/ngt-multi-select.component.d.ts +97 -97
- package/components/ngt-multi-select/ngt-multi-select.module.d.ts +2 -2
- package/components/ngt-pagination/ngt-pagination.component.d.ts +40 -40
- package/components/ngt-pagination/ngt-pagination.module.d.ts +2 -2
- package/components/ngt-portlet/ngt-portlet-body/ngt-portlet-body.component.d.ts +9 -9
- package/components/ngt-portlet/ngt-portlet-footer/ngt-portlet-footer.component.d.ts +9 -9
- package/components/ngt-portlet/ngt-portlet-header/ngt-portlet-header.component.d.ts +14 -14
- package/components/ngt-portlet/ngt-portlet.component.d.ts +17 -17
- package/components/ngt-portlet/ngt-portlet.module.d.ts +2 -2
- package/components/ngt-radio-button/ngt-radio-button-container/ngt-radio-button-container.component.d.ts +6 -6
- package/components/ngt-radio-button/ngt-radio-button.component.d.ts +27 -27
- package/components/ngt-radio-button/ngt-radio-button.module.d.ts +2 -2
- package/components/ngt-section/ngt-section.component.d.ts +23 -23
- package/components/ngt-section/ngt-section.module.d.ts +2 -2
- package/components/ngt-select/ngt-select.component.d.ts +122 -122
- package/components/ngt-select/ngt-select.directive.d.ts +13 -13
- package/components/ngt-select/ngt-select.module.d.ts +2 -2
- package/components/ngt-shining/ngt-shining.component.d.ts +16 -16
- package/components/ngt-shining/ngt-shining.module.d.ts +2 -2
- package/components/ngt-sidenav/ngt-sidenav.component.d.ts +29 -29
- package/components/ngt-sidenav/ngt-sidenav.module.d.ts +2 -2
- package/components/ngt-slider/ngt-slider.component.d.ts +31 -31
- package/components/ngt-slider/ngt-slider.module.d.ts +2 -2
- package/components/ngt-svg/ngt-svg.component.d.ts +10 -10
- package/components/ngt-svg/ngt-svg.module.d.ts +2 -2
- package/components/ngt-tag/ngt-tag.component.d.ts +10 -10
- package/components/ngt-tag/ngt-tag.module.d.ts +2 -2
- package/components/ngt-textarea/ngt-textarea.component.d.ts +46 -46
- package/components/ngt-textarea/ngt-textarea.module.d.ts +2 -2
- package/components/ngt-validation/ngt-validation.component.d.ts +10 -10
- package/components/ngt-validation/ngt-validation.module.d.ts +2 -2
- package/directives/ngt-stylizable/ngt-stylizable.directive.d.ts +65 -63
- package/directives/ngt-stylizable/ngt-stylizable.module.d.ts +2 -2
- package/enums/size.enum.d.ts +8 -8
- package/esm2015/animations/ngt-angular-animations.js +34 -34
- package/esm2015/base/ngt-base-ng-model.js +90 -90
- package/esm2015/components/ngt-action/ngt-action.component.js +49 -49
- package/esm2015/components/ngt-action/ngt-action.module.js +19 -19
- package/esm2015/components/ngt-button/ngt-button.component.js +106 -106
- package/esm2015/components/ngt-button/ngt-button.module.js +19 -19
- package/esm2015/components/ngt-checkbox/ngt-checkbox.component.js +137 -137
- package/esm2015/components/ngt-checkbox/ngt-checkbox.module.js +19 -19
- package/esm2015/components/ngt-content/ngt-content.component.js +33 -33
- package/esm2015/components/ngt-content/ngt-content.module.js +15 -15
- package/esm2015/components/ngt-datatable/ngt-datatable.component.js +400 -400
- package/esm2015/components/ngt-datatable/ngt-datatable.module.js +58 -58
- package/esm2015/components/ngt-datatable/ngt-tbody/ngt-tbody.component.js +58 -60
- package/esm2015/components/ngt-datatable/ngt-td/ngt-td.component.js +63 -63
- package/esm2015/components/ngt-datatable/ngt-td-check/ngt-td-check.component.js +102 -102
- package/esm2015/components/ngt-datatable/ngt-th/ngt-th.component.js +192 -192
- package/esm2015/components/ngt-datatable/ngt-th-check/ngt-th-check.component.js +87 -87
- package/esm2015/components/ngt-datatable/ngt-thead/ngt-thead.component.js +56 -58
- package/esm2015/components/ngt-datatable/ngt-tr/ngt-tr.component.js +76 -76
- package/esm2015/components/ngt-date/ngt-date.component.js +354 -352
- package/esm2015/components/ngt-date/ngt-date.module.js +25 -25
- package/esm2015/components/ngt-dropdown/ngt-dropdown-container/ngt-dropdown-container.component.js +20 -20
- package/esm2015/components/ngt-dropdown/ngt-dropdown.component.js +165 -165
- package/esm2015/components/ngt-dropdown/ngt-dropdown.module.js +16 -16
- package/esm2015/components/ngt-dropzone/custom-dropzone-preview/custom-dropzone-preview.component.js +47 -47
- package/esm2015/components/ngt-dropzone/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component.js +46 -45
- package/esm2015/components/ngt-dropzone/ngt-dropzone-view/ngt-dropzone-view.component.js +67 -67
- package/esm2015/components/ngt-dropzone/ngt-dropzone.component.js +411 -411
- package/esm2015/components/ngt-dropzone/ngt-dropzone.module.js +37 -37
- package/esm2015/components/ngt-floating-button/ngt-floating-button.component.js +94 -94
- package/esm2015/components/ngt-floating-button/ngt-floating-button.module.js +19 -19
- package/esm2015/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.component.js +23 -23
- package/esm2015/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.module.js +15 -15
- package/esm2015/components/ngt-form/ngt-form.component.js +181 -181
- package/esm2015/components/ngt-form/ngt-form.module.js +17 -17
- package/esm2015/components/ngt-header-nav/ngt-header-nav.component.js +38 -38
- package/esm2015/components/ngt-header-nav/ngt-header-nav.module.js +15 -15
- package/esm2015/components/ngt-helper/ngt-helper.component.js +44 -24
- package/esm2015/components/ngt-helper/ngt-helper.module.js +19 -19
- package/esm2015/components/ngt-input/ngt-input.component.js +610 -608
- package/esm2015/components/ngt-input/ngt-input.module.js +28 -28
- package/esm2015/components/ngt-modal/ngt-modal-body/ngt-modal-body.component.js +11 -11
- package/esm2015/components/ngt-modal/ngt-modal-footer/ngt-modal-footer.component.js +11 -11
- package/esm2015/components/ngt-modal/ngt-modal-header/ngt-modal-header.component.js +40 -40
- package/esm2015/components/ngt-modal/ngt-modal.component.js +79 -79
- package/esm2015/components/ngt-modal/ngt-modal.module.js +28 -28
- package/esm2015/components/ngt-multi-select/ngt-multi-select.component.js +392 -392
- package/esm2015/components/ngt-multi-select/ngt-multi-select.module.js +33 -33
- package/esm2015/components/ngt-pagination/ngt-pagination.component.js +172 -172
- package/esm2015/components/ngt-pagination/ngt-pagination.module.js +23 -23
- package/esm2015/components/ngt-portlet/ngt-portlet-body/ngt-portlet-body.component.js +32 -32
- package/esm2015/components/ngt-portlet/ngt-portlet-footer/ngt-portlet-footer.component.js +33 -33
- package/esm2015/components/ngt-portlet/ngt-portlet-header/ngt-portlet-header.component.js +47 -45
- package/esm2015/components/ngt-portlet/ngt-portlet.component.js +58 -58
- package/esm2015/components/ngt-portlet/ngt-portlet.module.js +32 -32
- package/esm2015/components/ngt-radio-button/ngt-radio-button-container/ngt-radio-button-container.component.js +19 -19
- package/esm2015/components/ngt-radio-button/ngt-radio-button.component.js +97 -97
- package/esm2015/components/ngt-radio-button/ngt-radio-button.module.js +18 -18
- package/esm2015/components/ngt-section/ngt-section.component.js +98 -98
- package/esm2015/components/ngt-section/ngt-section.module.js +21 -21
- package/esm2015/components/ngt-select/ngt-select.component.js +467 -465
- package/esm2015/components/ngt-select/ngt-select.directive.js +35 -35
- package/esm2015/components/ngt-select/ngt-select.module.js +40 -40
- package/esm2015/components/ngt-shining/ngt-shining.component.js +41 -41
- package/esm2015/components/ngt-shining/ngt-shining.module.js +15 -15
- package/esm2015/components/ngt-sidenav/ngt-sidenav.component.js +123 -123
- package/esm2015/components/ngt-sidenav/ngt-sidenav.module.js +15 -15
- package/esm2015/components/ngt-slider/ngt-slider.component.js +82 -82
- package/esm2015/components/ngt-slider/ngt-slider.module.js +17 -17
- package/esm2015/components/ngt-svg/ngt-svg.component.js +52 -52
- package/esm2015/components/ngt-svg/ngt-svg.module.js +19 -19
- package/esm2015/components/ngt-tag/ngt-tag.component.js +36 -36
- package/esm2015/components/ngt-tag/ngt-tag.module.js +17 -17
- package/esm2015/components/ngt-textarea/ngt-textarea.component.js +211 -209
- package/esm2015/components/ngt-textarea/ngt-textarea.module.js +24 -24
- package/esm2015/components/ngt-validation/ngt-validation.component.js +24 -24
- package/esm2015/components/ngt-validation/ngt-validation.module.js +15 -15
- package/esm2015/directives/ngt-stylizable/ngt-stylizable.directive.js +227 -220
- package/esm2015/directives/ngt-stylizable/ngt-stylizable.module.js +15 -15
- package/esm2015/enums/size.enum.js +11 -11
- package/esm2015/helpers/enum/enum.js +7 -7
- package/esm2015/helpers/form/form.js +14 -14
- package/esm2015/helpers/routing/route.js +11 -11
- package/esm2015/helpers/uuid.js +10 -10
- package/esm2015/ng-tailwind.js +10 -10
- package/esm2015/public-api.js +117 -117
- package/esm2015/services/http/ngt-attachment-http.service.js +3 -3
- package/esm2015/services/http/ngt-http-form.service.js +3 -3
- package/esm2015/services/http/ngt-http-resource.service.js +3 -3
- package/esm2015/services/http/ngt-http-validation.service.js +4 -4
- package/esm2015/services/http/ngt-http.service.js +3 -3
- package/esm2015/services/http/ngt-translate.service.js +3 -3
- package/esm2015/services/ngt-stylizable/ngt-stylizable.service.js +273 -266
- package/fesm2015/ng-tailwind.js +6404 -6365
- package/fesm2015/ng-tailwind.js.map +1 -1
- package/helpers/enum/enum.d.ts +1 -1
- package/helpers/form/form.d.ts +4 -4
- package/helpers/routing/route.d.ts +2 -2
- package/helpers/uuid.d.ts +1 -1
- package/ng-tailwind.d.ts +10 -10
- package/ng-tailwind.metadata.json +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +80 -80
- 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 +10 -10
- package/services/http/ngt-http.service.d.ts +27 -27
- package/services/http/ngt-translate.service.d.ts +27 -27
- package/services/ngt-stylizable/ngt-stylizable.service.d.ts +96 -93
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
import { Component, Host, Injector, Input, Optional, Renderer2, Self, SkipSelf, ViewChild, } from '@angular/core';
|
|
2
|
-
import { ControlContainer, NgForm } from '@angular/forms';
|
|
3
|
-
import { NgtBaseNgModel, NgtMakeProvider } from '../../base/ngt-base-ng-model';
|
|
4
|
-
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
5
|
-
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
6
|
-
import { NgtFormComponent } from '../ngt-form/ngt-form.component';
|
|
7
|
-
import { NgtRadioButtonContainerComponent } from './ngt-radio-button-container/ngt-radio-button-container.component';
|
|
8
|
-
export class NgtRadioButtonComponent extends NgtBaseNgModel {
|
|
9
|
-
constructor(injector, formContainer, renderer, ngtStylizableDirective, ngtFormComponent, ngtRadioButtonContainer) {
|
|
10
|
-
super();
|
|
11
|
-
this.injector = injector;
|
|
12
|
-
this.formContainer = formContainer;
|
|
13
|
-
this.renderer = renderer;
|
|
14
|
-
this.ngtStylizableDirective = ngtStylizableDirective;
|
|
15
|
-
this.ngtFormComponent = ngtFormComponent;
|
|
16
|
-
this.ngtRadioButtonContainer = ngtRadioButtonContainer;
|
|
17
|
-
this.shining = false;
|
|
18
|
-
this.subscriptions = [];
|
|
19
|
-
if (this.ngtFormComponent) {
|
|
20
|
-
this.shining = this.ngtFormComponent.isShining();
|
|
21
|
-
this.subscriptions.push(this.ngtFormComponent.onShiningChange.subscribe((shining) => {
|
|
22
|
-
this.shining = shining;
|
|
23
|
-
}));
|
|
24
|
-
}
|
|
25
|
-
if (this.ngtRadioButtonContainer) {
|
|
26
|
-
this.subscriptions.push(this.ngtRadioButtonContainer.onActiveRadioButtonChange.subscribe((activeRadioButton) => {
|
|
27
|
-
this.value = (activeRadioButton.name === this.name);
|
|
28
|
-
}));
|
|
29
|
-
}
|
|
30
|
-
if (this.ngtStylizableDirective) {
|
|
31
|
-
this.ngtStyle = this.ngtStylizableDirective.getNgtStylizableService();
|
|
32
|
-
}
|
|
33
|
-
else {
|
|
34
|
-
this.ngtStyle = new NgtStylizableService();
|
|
35
|
-
}
|
|
36
|
-
this.ngtStyle.load(this.injector, 'NgtCheckbox', {
|
|
37
|
-
color: {
|
|
38
|
-
text: 'text-gray-500',
|
|
39
|
-
border: 'border-gray-500',
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
ngAfterViewInit() {
|
|
44
|
-
this.renderer.listen(this.element.nativeElement, 'change', (value) => {
|
|
45
|
-
this.onNativeChange(this.element.nativeElement.checked);
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
ngOnDestroy() {
|
|
49
|
-
this.destroySubscriptions();
|
|
50
|
-
}
|
|
51
|
-
change(value) {
|
|
52
|
-
if (value) {
|
|
53
|
-
this.element.nativeElement.checked = value;
|
|
54
|
-
if (this.ngtRadioButtonContainer) {
|
|
55
|
-
this.ngtRadioButtonContainer.setActiveRadioButton(this);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
onNativeChange(value) {
|
|
60
|
-
this.value = value ? value : !value;
|
|
61
|
-
if (this.ngtRadioButtonContainer) {
|
|
62
|
-
this.ngtRadioButtonContainer.setActiveRadioButton(this);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
destroySubscriptions() {
|
|
66
|
-
this.subscriptions.forEach(subscription => subscription.unsubscribe());
|
|
67
|
-
this.subscriptions = [];
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
NgtRadioButtonComponent.decorators = [
|
|
71
|
-
{ type: Component, args: [{
|
|
72
|
-
selector: 'ngt-radio-button',
|
|
73
|
-
template: "<label class=\"inline-flex items-center cursor-pointer\">\n <input type=\"checkbox\" [name]='name' class=\"hidden\" ([ngModel])='value' #element>\n\n <div class=\"{{ value ? ngtStyle.compile(['color.border', 'color.text']) : 'border-gray-500' }} \n shadow rounded-full border border-gray-400 {{ !shining ? 'flex justify-center items-center' : 'hidden' }}\"\n style=\"width: 19px; height: 19px;\">\n <svg *ngIf=\"value\" class=\"fill-current\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 29.107 29.107\">\n <path\n d=\"M14.554 0C6.561 0 0 6.562 0 14.552c0 7.996 6.561 14.555 14.554 14.555 7.996 0 14.553-6.559 14.553-14.555C29.106 6.562 22.55 0 14.554 0z\" />\n </svg>\n </div>\n\n <span *ngIf='label && !shining' class=\"text-sm ml-2\">{{ label }}</span>\n</label>\n\n<ng-container *ngIf='shining'>\n <div class=\"flex\">\n <ngt-shining class=\"w-16 h-12\"></ngt-shining>\n </div>\n</ng-container>",
|
|
74
|
-
providers: [
|
|
75
|
-
NgtMakeProvider(NgtRadioButtonComponent),
|
|
76
|
-
],
|
|
77
|
-
viewProviders: [
|
|
78
|
-
{ provide: ControlContainer, useExisting: NgForm }
|
|
79
|
-
],
|
|
80
|
-
styles: ["label{margin-bottom:unset!important}"]
|
|
81
|
-
},] }
|
|
82
|
-
];
|
|
83
|
-
NgtRadioButtonComponent.ctorParameters = () => [
|
|
84
|
-
{ type: Injector },
|
|
85
|
-
{ type: ControlContainer, decorators: [{ type: Optional }, { type: Host }] },
|
|
86
|
-
{ type: Renderer2 },
|
|
87
|
-
{ type: NgtStylizableDirective, decorators: [{ type: Self }, { type: Optional }] },
|
|
88
|
-
{ type: NgtFormComponent, decorators: [{ type: Optional }, { type: SkipSelf }] },
|
|
89
|
-
{ type: NgtRadioButtonContainerComponent, decorators: [{ type: Optional }, { type: SkipSelf }] }
|
|
90
|
-
];
|
|
91
|
-
NgtRadioButtonComponent.propDecorators = {
|
|
92
|
-
element: [{ type: ViewChild, args: ['element', { static: true },] }],
|
|
93
|
-
label: [{ type: Input }],
|
|
94
|
-
shining: [{ type: Input }],
|
|
95
|
-
name: [{ type: Input }]
|
|
96
|
-
};
|
|
97
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Host, Injector, Input, Optional, Renderer2, Self, SkipSelf, ViewChild, } from '@angular/core';
|
|
2
|
+
import { ControlContainer, NgForm } from '@angular/forms';
|
|
3
|
+
import { NgtBaseNgModel, NgtMakeProvider } from '../../base/ngt-base-ng-model';
|
|
4
|
+
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
5
|
+
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
6
|
+
import { NgtFormComponent } from '../ngt-form/ngt-form.component';
|
|
7
|
+
import { NgtRadioButtonContainerComponent } from './ngt-radio-button-container/ngt-radio-button-container.component';
|
|
8
|
+
export class NgtRadioButtonComponent extends NgtBaseNgModel {
|
|
9
|
+
constructor(injector, formContainer, renderer, ngtStylizableDirective, ngtFormComponent, ngtRadioButtonContainer) {
|
|
10
|
+
super();
|
|
11
|
+
this.injector = injector;
|
|
12
|
+
this.formContainer = formContainer;
|
|
13
|
+
this.renderer = renderer;
|
|
14
|
+
this.ngtStylizableDirective = ngtStylizableDirective;
|
|
15
|
+
this.ngtFormComponent = ngtFormComponent;
|
|
16
|
+
this.ngtRadioButtonContainer = ngtRadioButtonContainer;
|
|
17
|
+
this.shining = false;
|
|
18
|
+
this.subscriptions = [];
|
|
19
|
+
if (this.ngtFormComponent) {
|
|
20
|
+
this.shining = this.ngtFormComponent.isShining();
|
|
21
|
+
this.subscriptions.push(this.ngtFormComponent.onShiningChange.subscribe((shining) => {
|
|
22
|
+
this.shining = shining;
|
|
23
|
+
}));
|
|
24
|
+
}
|
|
25
|
+
if (this.ngtRadioButtonContainer) {
|
|
26
|
+
this.subscriptions.push(this.ngtRadioButtonContainer.onActiveRadioButtonChange.subscribe((activeRadioButton) => {
|
|
27
|
+
this.value = (activeRadioButton.name === this.name);
|
|
28
|
+
}));
|
|
29
|
+
}
|
|
30
|
+
if (this.ngtStylizableDirective) {
|
|
31
|
+
this.ngtStyle = this.ngtStylizableDirective.getNgtStylizableService();
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
this.ngtStyle = new NgtStylizableService();
|
|
35
|
+
}
|
|
36
|
+
this.ngtStyle.load(this.injector, 'NgtCheckbox', {
|
|
37
|
+
color: {
|
|
38
|
+
text: 'text-gray-500',
|
|
39
|
+
border: 'border-gray-500',
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
ngAfterViewInit() {
|
|
44
|
+
this.renderer.listen(this.element.nativeElement, 'change', (value) => {
|
|
45
|
+
this.onNativeChange(this.element.nativeElement.checked);
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
ngOnDestroy() {
|
|
49
|
+
this.destroySubscriptions();
|
|
50
|
+
}
|
|
51
|
+
change(value) {
|
|
52
|
+
if (value) {
|
|
53
|
+
this.element.nativeElement.checked = value;
|
|
54
|
+
if (this.ngtRadioButtonContainer) {
|
|
55
|
+
this.ngtRadioButtonContainer.setActiveRadioButton(this);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
onNativeChange(value) {
|
|
60
|
+
this.value = value ? value : !value;
|
|
61
|
+
if (this.ngtRadioButtonContainer) {
|
|
62
|
+
this.ngtRadioButtonContainer.setActiveRadioButton(this);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
destroySubscriptions() {
|
|
66
|
+
this.subscriptions.forEach(subscription => subscription.unsubscribe());
|
|
67
|
+
this.subscriptions = [];
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
NgtRadioButtonComponent.decorators = [
|
|
71
|
+
{ type: Component, args: [{
|
|
72
|
+
selector: 'ngt-radio-button',
|
|
73
|
+
template: "<label class=\"inline-flex items-center cursor-pointer\">\r\n <input type=\"checkbox\" [name]='name' class=\"hidden\" ([ngModel])='value' #element>\r\n\r\n <div class=\"{{ value ? ngtStyle.compile(['color.border', 'color.text']) : 'border-gray-500' }} \r\n shadow rounded-full border border-gray-400 {{ !shining ? 'flex justify-center items-center' : 'hidden' }}\"\r\n style=\"width: 19px; height: 19px;\">\r\n <svg *ngIf=\"value\" class=\"fill-current\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 29.107 29.107\">\r\n <path\r\n d=\"M14.554 0C6.561 0 0 6.562 0 14.552c0 7.996 6.561 14.555 14.554 14.555 7.996 0 14.553-6.559 14.553-14.555C29.106 6.562 22.55 0 14.554 0z\" />\r\n </svg>\r\n </div>\r\n\r\n <span *ngIf='label && !shining' class=\"text-sm ml-2\">{{ label }}</span>\r\n</label>\r\n\r\n<ng-container *ngIf='shining'>\r\n <div class=\"flex\">\r\n <ngt-shining class=\"w-16 h-12\"></ngt-shining>\r\n </div>\r\n</ng-container>",
|
|
74
|
+
providers: [
|
|
75
|
+
NgtMakeProvider(NgtRadioButtonComponent),
|
|
76
|
+
],
|
|
77
|
+
viewProviders: [
|
|
78
|
+
{ provide: ControlContainer, useExisting: NgForm }
|
|
79
|
+
],
|
|
80
|
+
styles: ["label{margin-bottom:unset!important}"]
|
|
81
|
+
},] }
|
|
82
|
+
];
|
|
83
|
+
NgtRadioButtonComponent.ctorParameters = () => [
|
|
84
|
+
{ type: Injector },
|
|
85
|
+
{ type: ControlContainer, decorators: [{ type: Optional }, { type: Host }] },
|
|
86
|
+
{ type: Renderer2 },
|
|
87
|
+
{ type: NgtStylizableDirective, decorators: [{ type: Self }, { type: Optional }] },
|
|
88
|
+
{ type: NgtFormComponent, decorators: [{ type: Optional }, { type: SkipSelf }] },
|
|
89
|
+
{ type: NgtRadioButtonContainerComponent, decorators: [{ type: Optional }, { type: SkipSelf }] }
|
|
90
|
+
];
|
|
91
|
+
NgtRadioButtonComponent.propDecorators = {
|
|
92
|
+
element: [{ type: ViewChild, args: ['element', { static: true },] }],
|
|
93
|
+
label: [{ type: Input }],
|
|
94
|
+
shining: [{ type: Input }],
|
|
95
|
+
name: [{ type: Input }]
|
|
96
|
+
};
|
|
97
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0LXJhZGlvLWJ1dHRvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZy10YWlsd2luZC9zcmMvY29tcG9uZW50cy9uZ3QtcmFkaW8tYnV0dG9uL25ndC1yYWRpby1idXR0b24uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFFSCxTQUFTLEVBRVQsSUFBSSxFQUNKLFFBQVEsRUFDUixLQUFLLEVBRUwsUUFBUSxFQUNSLFNBQVMsRUFDVCxJQUFJLEVBQ0osUUFBUSxFQUNSLFNBQVMsR0FDWixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFHMUQsT0FBTyxFQUFFLGNBQWMsRUFBRSxlQUFlLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUMvRSxPQUFPLEVBQUUsc0JBQ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ICAgICAgICAgdGhpcy5zaGluaW5nID0gdGhpcy5uZ3RGb3JtQ29tcG9uZW50LmlzU2hpbmluZygpO1xyXG5cclxuICAgICAgICAgICAgdGhpcy5zdWJzY3JpcHRpb25zLnB1c2goXHJcbiAgICAgICAgICAgICAgICB0aGlzLm5ndEZvcm1Db21wb25lbnQub25TaGluaW5nQ2hhbmdlLnN1YnNjcmliZSgoc2hpbmluZzogYm9vbGVhbikgPT4ge1xyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuc2hpbmluZyA9IHNoaW5pbmc7XHJcbiAgICAgICAgICAgICAgICB9KVxyXG4gICAgICAgICAgICApO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgaWYgKHRoaXMubmd0UmFkaW9CdXR0b25Db250YWluZXIpIHtcclxuICAgICAgICAgICAgdGhpcy5zdWJzY3JpcHRpb25zLnB1c2goXHJcbiAgICAgICAgICAgICAgICB0aGlzLm5ndFJhZGlvQnV0dG9uQ29udGFpbmVyLm9uQWN0aXZlUmFkaW9CdXR0b25DaGFuZ2Uuc3Vic2NyaWJlKChhY3RpdmVSYWRpb0J1dHRvbjogTmd0UmFkaW9CdXR0b25Db21wb25lbnQpID0+IHtcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLnZhbHVlID0gKGFjdGl2ZVJhZGlvQnV0dG9uLm5hbWUgPT09IHRoaXMubmFtZSk7XHJcbiAgICAgICAgICAgICAgICB9KVxyXG4gICAgICAgICAgICApO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgaWYgKHRoaXMubmd0U3R5bGl6YWJsZURpcmVjdGl2ZSkge1xyXG4gICAgICAgICAgICB0aGlzLm5ndFN0eWxlID0gdGhpcy5uZ3RTdHlsaXphYmxlRGlyZWN0aXZlLmdldE5ndFN0eWxpemFibGVTZXJ2aWNlKCk7XHJcbiAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgdGhpcy5uZ3RTdHlsZSA9IG5ldyBOZ3RTdHlsaXphYmxl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XG5cclxuICAgIHB1YmxpYyBvbk5hdGl2ZUNoYW5nZSh2YWx1ZTogYm9vbGVhbikge1xyXG4gICAgICAgIHRoaXMudmFsdWUgPSB2YWx1ZSA/IHZhbHVlIDogIXZhbHVlO1xyXG5cclxuICAgICAgICBpZiAodGhpcy5uZ3RSYWRpb0J1dHRvbkNvbnRhaW5lcikge1xyXG4gICAgICAgICAgICB0aGlzLm5ndFJhZGlvQnV0dG9uQ29udGFpbmVyLnNldEFjdGl2ZVJhZGlvQnV0dG9uKHRoaXMpO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICBwcml2YXRlIGRlc3Ryb3lTdWJzY3JpcHRpb25zKCkge1xyXG4gICAgICAgIHRoaXMuc3Vic2NyaXB0aW9ucy5mb3JFYWNoKHN1YnNjcmlwdGlvbiA9PiBzdWJzY3JpcHRpb24udW5zdWJzY3JpYmUoKSk7XHJcbiAgICAgICAgdGhpcy5zdWJzY3JpcHRpb25zID0gW107XHJcbiAgICB9XHJcbn1cclxuIl19
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { NgtShiningModule } from '../ngt-shining/ngt-shining.module';
|
|
4
|
-
import { NgtRadioButtonContainerComponent } from './ngt-radio-button-container/ngt-radio-button-container.component';
|
|
5
|
-
import { NgtRadioButtonComponent } from './ngt-radio-button.component';
|
|
6
|
-
export class NgtRadioButtonModule {
|
|
7
|
-
}
|
|
8
|
-
NgtRadioButtonModule.decorators = [
|
|
9
|
-
{ type: NgModule, args: [{
|
|
10
|
-
declarations: [NgtRadioButtonComponent, NgtRadioButtonContainerComponent],
|
|
11
|
-
exports: [NgtRadioButtonComponent, NgtRadioButtonContainerComponent],
|
|
12
|
-
imports: [
|
|
13
|
-
CommonModule,
|
|
14
|
-
NgtShiningModule,
|
|
15
|
-
]
|
|
16
|
-
},] }
|
|
17
|
-
];
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { NgtShiningModule } from '../ngt-shining/ngt-shining.module';
|
|
4
|
+
import { NgtRadioButtonContainerComponent } from './ngt-radio-button-container/ngt-radio-button-container.component';
|
|
5
|
+
import { NgtRadioButtonComponent } from './ngt-radio-button.component';
|
|
6
|
+
export class NgtRadioButtonModule {
|
|
7
|
+
}
|
|
8
|
+
NgtRadioButtonModule.decorators = [
|
|
9
|
+
{ type: NgModule, args: [{
|
|
10
|
+
declarations: [NgtRadioButtonComponent, NgtRadioButtonContainerComponent],
|
|
11
|
+
exports: [NgtRadioButtonComponent, NgtRadioButtonContainerComponent],
|
|
12
|
+
imports: [
|
|
13
|
+
CommonModule,
|
|
14
|
+
NgtShiningModule,
|
|
15
|
+
]
|
|
16
|
+
},] }
|
|
17
|
+
];
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0LXJhZGlvLWJ1dHRvbi5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZy10YWlsd2luZC9zcmMvY29tcG9uZW50cy9uZ3QtcmFkaW8tYnV0dG9uL25ndC1yYWRpby1idXR0b24ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLG1DQUFtQyxDQUFDO0FBQ3JFLE9BQU8sRUFBRSxnQ0FBZ0MsRUFBRSxNQUFNLG1FQUFtRSxDQUFDO0FBQ3JILE9BQU8sRUFBRSx1QkFBdUIsRUFBRSx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25Nb2R1bGUsXHJcbiAgICAgICAgTmd0U2hpbmluZ01vZHVsZSxcclxuICAgIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIE5ndFJhZGlvQnV0dG9uTW9kdWxlIHsgfVxyXG4iXX0=
|
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
import { animate, state, style, transition, trigger } from '@angular/animations';
|
|
2
|
-
import { Component, EventEmitter, Injector, Input, Optional, Output, Self } from '@angular/core';
|
|
3
|
-
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
4
|
-
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
5
|
-
export class NgtSectionComponent {
|
|
6
|
-
constructor(injector, ngtStylizableDirective) {
|
|
7
|
-
this.injector = injector;
|
|
8
|
-
this.ngtStylizableDirective = ngtStylizableDirective;
|
|
9
|
-
this.accordion = false;
|
|
10
|
-
this.showSection = true;
|
|
11
|
-
this.helpTitle = '';
|
|
12
|
-
this.helpText = '';
|
|
13
|
-
this.helpIconColor = '';
|
|
14
|
-
this.onToggleSection = new EventEmitter();
|
|
15
|
-
this.ngtCaptionStyle = new NgtStylizableService();
|
|
16
|
-
this.ngtSubtitleStyle = new NgtStylizableService();
|
|
17
|
-
if (this.ngtStylizableDirective) {
|
|
18
|
-
this.ngtSectionStyle = this.ngtStylizableDirective.getNgtStylizableService();
|
|
19
|
-
}
|
|
20
|
-
else {
|
|
21
|
-
this.ngtSectionStyle = new NgtStylizableService();
|
|
22
|
-
}
|
|
23
|
-
this.ngtSectionStyle.load(this.injector, 'NgtSection', {
|
|
24
|
-
h: 'h-12',
|
|
25
|
-
w: 'w-12',
|
|
26
|
-
my: 'my-1',
|
|
27
|
-
pr: 'pr-1',
|
|
28
|
-
px: 'md:px-5',
|
|
29
|
-
color: {
|
|
30
|
-
text: 'text-gray-800'
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
this.ngtCaptionStyle.load(this.injector, 'NgtSectionCaption', {
|
|
34
|
-
text: 'text-sm',
|
|
35
|
-
font: 'font-normal',
|
|
36
|
-
ml: 'ml-2',
|
|
37
|
-
pb: 'pb-2',
|
|
38
|
-
border: 'border-none',
|
|
39
|
-
color: {
|
|
40
|
-
text: 'text-gray-800',
|
|
41
|
-
border: ''
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
this.ngtSubtitleStyle.load(this.injector, 'NgtSectionSubtitle', {
|
|
45
|
-
text: 'text-xs',
|
|
46
|
-
font: 'font-normal',
|
|
47
|
-
border: 'border-none',
|
|
48
|
-
ml: 'ml-2',
|
|
49
|
-
color: {
|
|
50
|
-
text: 'text-gray-500',
|
|
51
|
-
border: ''
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
open() {
|
|
56
|
-
this.showSection = true;
|
|
57
|
-
this.onToggleSection.emit(this.showSection);
|
|
58
|
-
}
|
|
59
|
-
close() {
|
|
60
|
-
this.showSection = false;
|
|
61
|
-
this.onToggleSection.emit(this.showSection);
|
|
62
|
-
}
|
|
63
|
-
toggle() {
|
|
64
|
-
this.showSection = !this.showSection;
|
|
65
|
-
this.onToggleSection.emit(this.showSection);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
NgtSectionComponent.decorators = [
|
|
69
|
-
{ type: Component, args: [{
|
|
70
|
-
selector: 'ngt-section',
|
|
71
|
-
template: "<div class=\"flex mb-6\">\n <ngt-svg *ngIf=\"icon\" [src]='icon'\n class=\"hidden md:block {{ ngtSectionStyle.compile(['color.text', 'h', 'w', 'my', 'pr']) }}\">\n </ngt-svg>\n\n <div\n class=\"w-full pb-4 md:pb-0 border-b-4 md:border-b-0 border-dashed md:border-solid md:border-l {{ accordion && !showSection ? 'flex' : '' }}\">\n <div *ngIf=\"!accordion && caption\" class=\"flex\">\n <span class=\"pl-5 {{ ngtCaptionStyle.compile(['color.text', 'color.border', 'text', 'border', 'font']) }}\">\n {{ caption }}\n </span>\n\n <span *ngIf=\"subtitle\"\n class=\" pt-1 self-center {{ ngtSubtitleStyle.compile(['color.text', 'color.border', 'text', 'border', 'font', 'ml']) }}\">\n {{ subtitle }}\n </span>\n\n <ngt-helper *ngIf=\"helpText\" [helpTitle]=\"helpTitle\" class=\"ml-1 hover:opacity-100 opacity-100\"\n [iconColor]=\"helpIconColor\">\n {{ helpText }}\n </ngt-helper>\n </div>\n\n <ng-container *ngIf=\"accordion\">\n <div class=\"flex flex-wrap items-center px-5 cursor-pointer {{ helpText ? '' : 'hover:opacity-75' }} {{ accordion && showSection ? ngtCaptionStyle.compile(['pb']) : '' }}\"\n (click)='toggle()' style=\"max-width: fit-content;\">\n <div *ngIf=\"!showSection\"\n class=\"flex text-xs {{ ngtCaptionStyle.compile(['color.text', 'color.border', 'border', 'font']) }}\">\n <svg class=\"fill-current\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path d=\"M2.82 4.59l9.18 9.16 9.18 -9.16 2.82 2.82 -12 12 -12 -12 2.82 -2.82z\" />\n </svg>\n </div>\n\n <div *ngIf=\"showSection\"\n class=\"flex text-xs {{ ngtCaptionStyle.compile(['color.text', 'color.border', 'border', 'font']) }}\">\n <svg class=\"fill-current\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path d=\"M2.82 19.41l9.18 -9.16 9.18 9.16 2.82 -2.82 -12 -12 -12 12 2.82 2.82z\" />\n </svg>\n </div>\n\n <span [class]=\"ngtCaptionStyle.compile(['color.text', 'color.border', 'text', 'border', 'font', 'ml'])\">\n {{ caption }}\n </span>\n\n <span *ngIf=\"subtitle\"\n [class]=\"ngtSubtitleStyle.compile(['color.text', 'color.border', 'text', 'border', 'font', 'ml'])\">\n {{ subtitle }}\n </span>\n\n <ngt-helper *ngIf=\"helpText\" [helpTitle]=\"helpTitle\" class=\"ml-1\" [iconColor]=\"helpIconColor\"\n class=\"ml-1 hover:opacity-100 opacity-100\">\n {{ helpText }}\n </ngt-helper>\n </div>\n </ng-container>\n\n <div *ngIf='showSection' class=\"{{ ngtSectionStyle.compile(['px']) }}\" [@enterAnimation]='!showSection'>\n <ng-content></ng-content>\n </div>\n </div>\n</div>",
|
|
72
|
-
animations: [
|
|
73
|
-
trigger('enterAnimation', [
|
|
74
|
-
state('void', style({ transform: 'translateY(-20px)', opacity: 0 })),
|
|
75
|
-
transition(':enter', [
|
|
76
|
-
animate(400)
|
|
77
|
-
])
|
|
78
|
-
]),
|
|
79
|
-
],
|
|
80
|
-
styles: [""]
|
|
81
|
-
},] }
|
|
82
|
-
];
|
|
83
|
-
NgtSectionComponent.ctorParameters = () => [
|
|
84
|
-
{ type: Injector },
|
|
85
|
-
{ type: NgtStylizableDirective, decorators: [{ type: Self }, { type: Optional }] }
|
|
86
|
-
];
|
|
87
|
-
NgtSectionComponent.propDecorators = {
|
|
88
|
-
icon: [{ type: Input }],
|
|
89
|
-
caption: [{ type: Input }],
|
|
90
|
-
subtitle: [{ type: Input }],
|
|
91
|
-
accordion: [{ type: Input }],
|
|
92
|
-
showSection: [{ type: Input }],
|
|
93
|
-
helpTitle: [{ type: Input }],
|
|
94
|
-
helpText: [{ type: Input }],
|
|
95
|
-
helpIconColor: [{ type: Input }],
|
|
96
|
-
onToggleSection: [{ type: Output }]
|
|
97
|
-
};
|
|
98
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { animate, state, style, transition, trigger } from '@angular/animations';
|
|
2
|
+
import { Component, EventEmitter, Injector, Input, Optional, Output, Self } from '@angular/core';
|
|
3
|
+
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
4
|
+
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
5
|
+
export class NgtSectionComponent {
|
|
6
|
+
constructor(injector, ngtStylizableDirective) {
|
|
7
|
+
this.injector = injector;
|
|
8
|
+
this.ngtStylizableDirective = ngtStylizableDirective;
|
|
9
|
+
this.accordion = false;
|
|
10
|
+
this.showSection = true;
|
|
11
|
+
this.helpTitle = '';
|
|
12
|
+
this.helpText = '';
|
|
13
|
+
this.helpIconColor = '';
|
|
14
|
+
this.onToggleSection = new EventEmitter();
|
|
15
|
+
this.ngtCaptionStyle = new NgtStylizableService();
|
|
16
|
+
this.ngtSubtitleStyle = new NgtStylizableService();
|
|
17
|
+
if (this.ngtStylizableDirective) {
|
|
18
|
+
this.ngtSectionStyle = this.ngtStylizableDirective.getNgtStylizableService();
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
this.ngtSectionStyle = new NgtStylizableService();
|
|
22
|
+
}
|
|
23
|
+
this.ngtSectionStyle.load(this.injector, 'NgtSection', {
|
|
24
|
+
h: 'h-12',
|
|
25
|
+
w: 'w-12',
|
|
26
|
+
my: 'my-1',
|
|
27
|
+
pr: 'pr-1',
|
|
28
|
+
px: 'md:px-5',
|
|
29
|
+
color: {
|
|
30
|
+
text: 'text-gray-800'
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
this.ngtCaptionStyle.load(this.injector, 'NgtSectionCaption', {
|
|
34
|
+
text: 'text-sm',
|
|
35
|
+
font: 'font-normal',
|
|
36
|
+
ml: 'ml-2',
|
|
37
|
+
pb: 'pb-2',
|
|
38
|
+
border: 'border-none',
|
|
39
|
+
color: {
|
|
40
|
+
text: 'text-gray-800',
|
|
41
|
+
border: ''
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
this.ngtSubtitleStyle.load(this.injector, 'NgtSectionSubtitle', {
|
|
45
|
+
text: 'text-xs',
|
|
46
|
+
font: 'font-normal',
|
|
47
|
+
border: 'border-none',
|
|
48
|
+
ml: 'ml-2',
|
|
49
|
+
color: {
|
|
50
|
+
text: 'text-gray-500',
|
|
51
|
+
border: ''
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
open() {
|
|
56
|
+
this.showSection = true;
|
|
57
|
+
this.onToggleSection.emit(this.showSection);
|
|
58
|
+
}
|
|
59
|
+
close() {
|
|
60
|
+
this.showSection = false;
|
|
61
|
+
this.onToggleSection.emit(this.showSection);
|
|
62
|
+
}
|
|
63
|
+
toggle() {
|
|
64
|
+
this.showSection = !this.showSection;
|
|
65
|
+
this.onToggleSection.emit(this.showSection);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
NgtSectionComponent.decorators = [
|
|
69
|
+
{ type: Component, args: [{
|
|
70
|
+
selector: 'ngt-section',
|
|
71
|
+
template: "<div class=\"flex mb-6\">\r\n <ngt-svg *ngIf=\"icon\" [src]='icon'\r\n class=\"hidden md:block {{ ngtSectionStyle.compile(['color.text', 'h', 'w', 'my', 'pr']) }}\">\r\n </ngt-svg>\r\n\r\n <div\r\n class=\"w-full pb-4 md:pb-0 border-b-4 md:border-b-0 border-dashed md:border-solid md:border-l {{ accordion && !showSection ? 'flex' : '' }}\">\r\n <div *ngIf=\"!accordion && caption\" class=\"flex\">\r\n <span class=\"pl-5 {{ ngtCaptionStyle.compile(['color.text', 'color.border', 'text', 'border', 'font']) }}\">\r\n {{ caption }}\r\n </span>\r\n\r\n <span *ngIf=\"subtitle\"\r\n class=\" pt-1 self-center {{ ngtSubtitleStyle.compile(['color.text', 'color.border', 'text', 'border', 'font', 'ml']) }}\">\r\n {{ subtitle }}\r\n </span>\r\n\r\n <ngt-helper *ngIf=\"helpText\" [helpTitle]=\"helpTitle\" class=\"ml-1 hover:opacity-100 opacity-100\"\r\n [iconColor]=\"helpIconColor\">\r\n {{ helpText }}\r\n </ngt-helper>\r\n </div>\r\n\r\n <ng-container *ngIf=\"accordion\">\r\n <div class=\"flex flex-wrap items-center px-5 cursor-pointer {{ helpText ? '' : 'hover:opacity-75' }} {{ accordion && showSection ? ngtCaptionStyle.compile(['pb']) : '' }}\"\r\n (click)='toggle()' style=\"max-width: fit-content;\">\r\n <div *ngIf=\"!showSection\"\r\n class=\"flex text-xs {{ ngtCaptionStyle.compile(['color.text', 'color.border', 'border', 'font']) }}\">\r\n <svg class=\"fill-current\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\r\n <path d=\"M2.82 4.59l9.18 9.16 9.18 -9.16 2.82 2.82 -12 12 -12 -12 2.82 -2.82z\" />\r\n </svg>\r\n </div>\r\n\r\n <div *ngIf=\"showSection\"\r\n class=\"flex text-xs {{ ngtCaptionStyle.compile(['color.text', 'color.border', 'border', 'font']) }}\">\r\n <svg class=\"fill-current\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\r\n <path d=\"M2.82 19.41l9.18 -9.16 9.18 9.16 2.82 -2.82 -12 -12 -12 12 2.82 2.82z\" />\r\n </svg>\r\n </div>\r\n\r\n <span [class]=\"ngtCaptionStyle.compile(['color.text', 'color.border', 'text', 'border', 'font', 'ml'])\">\r\n {{ caption }}\r\n </span>\r\n\r\n <span *ngIf=\"subtitle\"\r\n [class]=\"ngtSubtitleStyle.compile(['color.text', 'color.border', 'text', 'border', 'font', 'ml'])\">\r\n {{ subtitle }}\r\n </span>\r\n\r\n <ngt-helper *ngIf=\"helpText\" [helpTitle]=\"helpTitle\" class=\"ml-1\" [iconColor]=\"helpIconColor\"\r\n class=\"ml-1 hover:opacity-100 opacity-100\">\r\n {{ helpText }}\r\n </ngt-helper>\r\n </div>\r\n </ng-container>\r\n\r\n <div *ngIf='showSection' class=\"{{ ngtSectionStyle.compile(['px']) }}\" [@enterAnimation]='!showSection'>\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</div>",
|
|
72
|
+
animations: [
|
|
73
|
+
trigger('enterAnimation', [
|
|
74
|
+
state('void', style({ transform: 'translateY(-20px)', opacity: 0 })),
|
|
75
|
+
transition(':enter', [
|
|
76
|
+
animate(400)
|
|
77
|
+
])
|
|
78
|
+
]),
|
|
79
|
+
],
|
|
80
|
+
styles: [""]
|
|
81
|
+
},] }
|
|
82
|
+
];
|
|
83
|
+
NgtSectionComponent.ctorParameters = () => [
|
|
84
|
+
{ type: Injector },
|
|
85
|
+
{ type: NgtStylizableDirective, decorators: [{ type: Self }, { type: Optional }] }
|
|
86
|
+
];
|
|
87
|
+
NgtSectionComponent.propDecorators = {
|
|
88
|
+
icon: [{ type: Input }],
|
|
89
|
+
caption: [{ type: Input }],
|
|
90
|
+
subtitle: [{ type: Input }],
|
|
91
|
+
accordion: [{ type: Input }],
|
|
92
|
+
showSection: [{ type: Input }],
|
|
93
|
+
helpTitle: [{ type: Input }],
|
|
94
|
+
helpText: [{ type: Input }],
|
|
95
|
+
helpIconColor: [{ type: Input }],
|
|
96
|
+
onToggleSection: [{ type: Output }]
|
|
97
|
+
};
|
|
98
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0LXNlY3Rpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctdGFpbHdpbmQvc3JjL2NvbXBvbmVudHMvbmd0LXNlY3Rpb24vbmd0LXNlY3Rpb24uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxPQUFPLEVBQUUsS0FBSyxFQUFFLEtBQUssRUFBRSxVQUFVLEVBQUUsT0FBTyxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDakYsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsUUFBUSxFQUFFLEtBQUssRUFBRSxRQUFRLEVBQUUsTUFBTSxFQUFFLElBQUksRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUVqRyxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSwwREFBMEQsQ0FBQztBQUNsRyxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxzREFBc0QsQ0FBQztBQWU1RixNQUFNLE9BQU8sbUJBQW1CO0lBZ0I1QixZQUNZLFFBQWtCLEVBQ0Usc0JBQThDO1FBRGxFLGFBQVEsR0FBUixRQUFRLENBQVU7UUFDRSwyQkF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lvbicsIHtcclxuICAgICAgICAgICAgaDogJ2gtMTInLFxyXG4gICAgICAgICAgICB3OiAndy0xMicsXHJcbiAgICAgICAgICAgIG15OiAnbXktMScsXHJcbiAgICAgICAgICAgIHByOiAncHItMScsXHJcbiAgICAgICAgICAgIHB4OiAnbWQ6cHgtNScsXHJcbiAgICAgICAgICAgIGNvbG9yOiB7XHJcbiAgICAgICAgICAgICAgICB0ZXh0OiAndGV4dC1ncmF5LTgwMCdcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH0pO1xyXG5cclxuICAgICAgICB0aGlzLm5ndENhcHRpb25TdHlsZS5sb2FkKHRoaXMuaW5qZWN0b3IsICdOZ3RTZWN0aW9uQ2FwdGlvbicsIHtcclxuICAgICAgICAgICAgdGV4dDogJ3RleHQtc20nLFxyXG4gICAgICAgICAgICBmb250OiAnZm9udC1ub3JtYWwnLFxyXG4gICAgICAgICAgICBtbDogJ21sLTInLFxyXG4gICAgICAgICAgICBwYjogJ3BiLTInLFxyXG4gICAgICAgICAgICBib3JkZXI6ICdib3JkZXItbm9uZScsXHJcbiAgICAgICAgICAgIGNvbG9yOiB7XHJcbiAgICAgICAgICAgICAgICB0ZXh0OiAndGV4dC1ncmF5LTgwMCcsXHJcbiAgICAgICAgICAgICAgICBib3JkZXI6ICcnXHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9KTtcclxuXHJcbiAgICAgICAgdGhpcy5uZ3RTdWJ0aXRsZVN0eWxlLmxvYWQodGhpcy5pbmplY3RvciwgJ05ndFNlY3Rpb25TdWJ0aXRsZScsIHtcclxuICAgICAgICAgICAgdGV4dDogJ3RleHQteHMnLFxyXG4gICAgICAgICAgICBmb250OiAnZm9udC1ub3JtYWwnLFxyXG4gICAgICAgICAgICBib3JkZXI6ICdib3JkZXItbm9uZScsXHJcbiAgICAgICAgICAgIG1sOiAnbWwtMicsXHJcbiAgICAgICAgICAgIGNvbG9yOiB7XHJcbiAgICAgICAgICAgICAgICB0ZXh0OiAndGV4dC1ncmF5LTUwMCcsXHJcbiAgICAgICAgICAgICAgICBib3JkZXI6ICcnXHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9KTtcclxuICAgIH1cclxuXHJcbiAgICBwdWJsaWMgb3BlbigpIHtcclxuICAgICAgICB0aGlzLnNob3dTZWN0aW9uID0gdHJ1ZTtcclxuICAgICAgICB0aGlzLm9uVG9nZ2xlU2VjdGlvbi5lbWl0KHRoaXMuc2hvd1NlY3Rpb24pO1xyXG4gICAgfVxyXG5cclxuICAgIHB1YmxpYyBjbG9zZSgpIHtcclxuICAgICAgICB0aGlzLnNob3dTZWN0aW9uID0gZmFsc2U7XHJcbiAgICAgICAgdGhpcy5vblRvZ2dsZVNlY3Rpb24uZW1pdCh0aGlzLnNob3dTZWN0aW9uKTtcclxuICAgIH1cclxuXHJcbiAgICBwdWJsaWMgdG9nZ2xlKCkge1xyXG4gICAgICAgIHRoaXMuc2hvd1NlY3Rpb24gPSAhdGhpcy5zaG93U2VjdGlvbjtcclxuICAgICAgICB0aGlzLm9uVG9nZ2xlU2VjdGlvbi5lbWl0KHRoaXMuc2hvd1NlY3Rpb24pO1xyXG4gICAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { NgtStylizableModule } from '../../directives/ngt-stylizable/ngt-stylizable.module';
|
|
4
|
-
import { NgtHelperModule } from '../ngt-helper/ngt-helper.module';
|
|
5
|
-
import { NgtSvgModule } from '../ngt-svg/ngt-svg.module';
|
|
6
|
-
import { NgtSectionComponent } from './ngt-section.component';
|
|
7
|
-
export class NgtSectionModule {
|
|
8
|
-
}
|
|
9
|
-
NgtSectionModule.decorators = [
|
|
10
|
-
{ type: NgModule, args: [{
|
|
11
|
-
declarations: [NgtSectionComponent],
|
|
12
|
-
exports: [NgtSectionComponent],
|
|
13
|
-
imports: [
|
|
14
|
-
CommonModule,
|
|
15
|
-
NgtStylizableModule,
|
|
16
|
-
NgtSvgModule,
|
|
17
|
-
NgtHelperModule
|
|
18
|
-
]
|
|
19
|
-
},] }
|
|
20
|
-
];
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { NgtStylizableModule } from '../../directives/ngt-stylizable/ngt-stylizable.module';
|
|
4
|
+
import { NgtHelperModule } from '../ngt-helper/ngt-helper.module';
|
|
5
|
+
import { NgtSvgModule } from '../ngt-svg/ngt-svg.module';
|
|
6
|
+
import { NgtSectionComponent } from './ngt-section.component';
|
|
7
|
+
export class NgtSectionModule {
|
|
8
|
+
}
|
|
9
|
+
NgtSectionModule.decorators = [
|
|
10
|
+
{ type: NgModule, args: [{
|
|
11
|
+
declarations: [NgtSectionComponent],
|
|
12
|
+
exports: [NgtSectionComponent],
|
|
13
|
+
imports: [
|
|
14
|
+
CommonModule,
|
|
15
|
+
NgtStylizableModule,
|
|
16
|
+
NgtSvgModule,
|
|
17
|
+
NgtHelperModule
|
|
18
|
+
]
|
|
19
|
+
},] }
|
|
20
|
+
];
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0LXNlY3Rpb24ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctdGFpbHdpbmQvc3JjL2NvbXBvbmVudHMvbmd0LXNlY3Rpb24vbmd0LXNlY3Rpb24ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQ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