@acorex/components 16.18.25 → 16.18.27
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/form-group/form-group.component.mjs +30 -52
- package/esm2022/lib/property-editor/editors/textarea-editor/textarea.editor.mjs +1 -1
- package/esm2022/lib/selectbox/selectbox.component.mjs +2 -2
- package/esm2022/lib/textarea/textarea.component.mjs +18 -5
- package/esm2022/lib/textbox/textbox.component.mjs +9 -5
- package/fesm2022/acorex-components.mjs +53 -58
- package/fesm2022/acorex-components.mjs.map +1 -1
- package/lib/form-group/form-group.component.d.ts +2 -7
- package/lib/selectbox/selectbox.component.d.ts +1 -1
- package/lib/textarea/textarea.component.d.ts +7 -2
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import { AXConfig } from '@acorex/core';
|
2
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, ElementRef, Input, ViewChild, ViewEncapsulation, afterNextRender, inject, model,
|
2
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, ElementRef, Input, ViewChild, ViewEncapsulation, afterNextRender, inject, model, } from '@angular/core';
|
3
3
|
import { AXBaseComponent, AXValidatableComponent, } from '../base/element.class';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
import * as i1 from "@angular/common";
|
@@ -10,77 +10,55 @@ export class AXFormGroupComponent extends AXBaseComponent {
|
|
10
10
|
component;
|
11
11
|
required = AXConfig.get('form')?.required || false;
|
12
12
|
labelMode = model(AXConfig.get('form')?.labelMode || 'static');
|
13
|
-
isFloatActive = signal(false);
|
14
13
|
#nextRender = afterNextRender(() => {
|
15
|
-
this.required = this.component?.validation?.rules?.some((c) => c.type === 'required');
|
14
|
+
this.required = this.component?.validation?.rules?.some((c) => c.type === 'required' && c.enabled);
|
16
15
|
this.div.nativeElement.classList.add(this.size);
|
17
16
|
if (this.required) {
|
18
17
|
this.div.nativeElement.classList.add('required-state');
|
19
18
|
}
|
20
|
-
|
21
|
-
|
22
|
-
|
19
|
+
if (this.labelMode() === 'static' || this.labelMode() === 'over')
|
20
|
+
return;
|
21
|
+
const convertTypeComponent = this.component;
|
22
|
+
if (convertTypeComponent.value ||
|
23
|
+
convertTypeComponent.selectedItems?.length > 0) {
|
24
|
+
this.labelMode.set('over');
|
25
|
+
}
|
26
|
+
if (convertTypeComponent.componentName === 'selectBox') {
|
23
27
|
const selectBox = this.component;
|
24
28
|
selectBox.selectedItemsChange.subscribe((e) => {
|
25
|
-
if (e.length > 0
|
26
|
-
this.isFloatActive.set(true);
|
29
|
+
if (e.length > 0) {
|
27
30
|
this.labelMode.set('over');
|
28
31
|
}
|
29
32
|
else {
|
30
33
|
this.labelMode.set('float');
|
31
|
-
this.isFloatActive.set(false);
|
32
34
|
}
|
33
35
|
});
|
34
36
|
}
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
37
|
+
else {
|
38
|
+
convertTypeComponent.onValueChanged.subscribe((e) => {
|
39
|
+
if (e.value) {
|
40
|
+
this.labelMode.set('over');
|
41
|
+
}
|
42
|
+
else {
|
43
|
+
this.labelMode.set('float');
|
44
|
+
}
|
45
|
+
});
|
39
46
|
}
|
40
|
-
if (textArea) {
|
41
|
-
textArea
|
42
|
-
textArea.
|
43
|
-
|
47
|
+
if (convertTypeComponent.componentName === 'textArea') {
|
48
|
+
const textArea = this.component;
|
49
|
+
textArea.onFocus.subscribe((e) => {
|
50
|
+
if (!e.target.value) {
|
51
|
+
this.labelMode.set('over');
|
52
|
+
}
|
53
|
+
});
|
44
54
|
}
|
45
|
-
this.checkForValue();
|
46
55
|
});
|
47
|
-
checkForValue() {
|
48
|
-
if ((this.component.value ||
|
49
|
-
this.component.selectedItems?.length > 0) &&
|
50
|
-
this.labelMode() === 'float') {
|
51
|
-
this.labelMode.set('over');
|
52
|
-
this.isFloatActive.set(true);
|
53
|
-
}
|
54
|
-
}
|
55
|
-
handleFocus() {
|
56
|
-
if (this.labelMode() === 'float') {
|
57
|
-
this.isFloatActive.set(true);
|
58
|
-
this.labelMode.set('over');
|
59
|
-
}
|
60
|
-
}
|
61
|
-
handeleBlur() {
|
62
|
-
if ((this.component.value ||
|
63
|
-
this.component.selectedItems?.length > 0) &&
|
64
|
-
this.isFloatActive()) {
|
65
|
-
this.labelMode.set('over');
|
66
|
-
}
|
67
|
-
else if ((!this.component.value ||
|
68
|
-
this.component.selectedItems?.length === 0) &&
|
69
|
-
this.isFloatActive()) {
|
70
|
-
this.labelMode.set('float');
|
71
|
-
this.isFloatActive.set(false);
|
72
|
-
}
|
73
|
-
}
|
74
|
-
ngOnDestroy() {
|
75
|
-
removeEventListener('focus', this.handleFocus);
|
76
|
-
removeEventListener('blur', this.handeleBlur);
|
77
|
-
}
|
78
56
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXFormGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
79
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.0.7", type: AXFormGroupComponent, selector: "ax-form-group", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: false, isRequired: false, transformFunction: null }, labelMode: { classPropertyName: "labelMode", publicName: "labelMode", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { labelMode: "labelModeChange" }, host: { styleAttribute: "width: 100%; display:contents;" }, queries: [{ propertyName: "component", first: true, predicate: AXValidatableComponent, descendants: true }], viewQueries: [{ propertyName: "div", first: true, predicate: ["div"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div
|
57
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.0.7", type: AXFormGroupComponent, selector: "ax-form-group", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: false, isRequired: false, transformFunction: null }, labelMode: { classPropertyName: "labelMode", publicName: "labelMode", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { labelMode: "labelModeChange" }, host: { styleAttribute: "width: 100%; display:contents;" }, queries: [{ propertyName: "component", first: true, predicate: AXValidatableComponent, descendants: true }], viewQueries: [{ propertyName: "div", first: true, predicate: ["div"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n class=\"ax form-group {{ size }} ax-form-group-container {{\n labelMode() !== 'static' && 'ax-margin-form'\n }}\"\n>\n <div class=\"ax-lable-{{ labelMode() }}\">\n <ng-content select=\"ax-label\"></ng-content>\n </div>\n <div\n #div\n class=\"ax form-item {{ size }}\"\n [ngClass]=\"{ 'required-state': required }\"\n >\n <div class=\"ax buttons start-buttons\" #startButtons>\n <ng-content select=\"ax-button[start]\"></ng-content>\n </div>\n <div\n class=\"content {{ labelMode() === 'over' && 'ax-over-apply' }}\"\n #content\n >\n <ng-content></ng-content>\n </div>\n <div class=\"ax buttons end-buttons\" #endButtons>\n <ng-content select=\"ax-button[end]\"></ng-content>\n <ng-content select=\"ax-button\"></ng-content>\n </div>\n </div>\n</div>\n", styles: [".ax-form-group-container{position:relative}.ax-form-group-container .ax-lable-static{position:static}.ax-form-group-container .ax-lable-float{top:50%;transform:translateY(-50%)}.ax-form-group-container .ax-lable-over{top:7%}.ax-form-group-container .ax-lable-over,.ax-form-group-container .ax-lable-float{position:absolute;z-index:999;transition:all .15s ease-in-out;inset-inline-start:.3rem}.ax-form-group-container .ax-lable-over .form-group-label,.ax-form-group-container .ax-lable-float .form-group-label{padding:.1rem .5rem!important;font-size:.7rem!important}.ax-form-group-container .content.ax-over-apply{padding:.8rem 0 0}.ax-form-group-container.ax-margin-form{margin-bottom:.5rem}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
80
58
|
}
|
81
59
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXFormGroupComponent, decorators: [{
|
82
60
|
type: Component,
|
83
|
-
args: [{ selector: 'ax-form-group', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { style: 'width: 100%; display:contents;' }, template: "<div
|
61
|
+
args: [{ selector: 'ax-form-group', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { style: 'width: 100%; display:contents;' }, template: "<div\n class=\"ax form-group {{ size }} ax-form-group-container {{\n labelMode() !== 'static' && 'ax-margin-form'\n }}\"\n>\n <div class=\"ax-lable-{{ labelMode() }}\">\n <ng-content select=\"ax-label\"></ng-content>\n </div>\n <div\n #div\n class=\"ax form-item {{ size }}\"\n [ngClass]=\"{ 'required-state': required }\"\n >\n <div class=\"ax buttons start-buttons\" #startButtons>\n <ng-content select=\"ax-button[start]\"></ng-content>\n </div>\n <div\n class=\"content {{ labelMode() === 'over' && 'ax-over-apply' }}\"\n #content\n >\n <ng-content></ng-content>\n </div>\n <div class=\"ax buttons end-buttons\" #endButtons>\n <ng-content select=\"ax-button[end]\"></ng-content>\n <ng-content select=\"ax-button\"></ng-content>\n </div>\n </div>\n</div>\n", styles: [".ax-form-group-container{position:relative}.ax-form-group-container .ax-lable-static{position:static}.ax-form-group-container .ax-lable-float{top:50%;transform:translateY(-50%)}.ax-form-group-container .ax-lable-over{top:7%}.ax-form-group-container .ax-lable-over,.ax-form-group-container .ax-lable-float{position:absolute;z-index:999;transition:all .15s ease-in-out;inset-inline-start:.3rem}.ax-form-group-container .ax-lable-over .form-group-label,.ax-form-group-container .ax-lable-float .form-group-label{padding:.1rem .5rem!important;font-size:.7rem!important}.ax-form-group-container .content.ax-over-apply{padding:.8rem 0 0}.ax-form-group-container.ax-margin-form{margin-bottom:.5rem}\n"] }]
|
84
62
|
}], propDecorators: { size: [{
|
85
63
|
type: Input
|
86
64
|
}], div: [{
|
@@ -90,4 +68,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
|
|
90
68
|
type: ContentChild,
|
91
69
|
args: [AXValidatableComponent]
|
92
70
|
}] } });
|
93
|
-
//# sourceMappingURL=data:application/json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GVjdD1cImF4LWxhYmVsXCI+PC9uZy1jb250ZW50PlxuICA8L2Rpdj5cbiAgPGRpdlxuICAgICNkaXZcbiAgICBjbGFzcz1cImF4IGZvcm0taXRlbSB7eyBzaXplIH19XCJcbiAgICBbbmdDbGFzc109XCJ7ICdyZXF1aXJlZC1zdGF0ZSc6IHJlcXVpcmVkIH1cIlxuICA+XG4gICAgPGRpdiBjbGFzcz1cImF4IGJ1dHRvbnMgc3RhcnQtYnV0dG9uc1wiICNzdGFydEJ1dHRvbnM+XG4gICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJheC1idXR0b25bc3RhcnRdXCI+PC9uZy1jb250ZW50PlxuICAgIDwvZGl2PlxuICAgIDxkaXZcbiAgICAgIGNsYXNzPVwiY29udGVudCB7eyBsYWJlbE1vZGUoKSA9PT0gJ292ZXInICYmICdheC1vdmVyLWFwcGx5JyB9fVwiXG4gICAgICAjY29udGVudFxuICAgID5cbiAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgICA8L2Rpdj5cbiAgICA8ZGl2IGNsYXNzPVwiYXggYnV0dG9ucyBlbmQtYnV0dG9uc1wiICNlbmRCdXR0b25zPlxuICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtYnV0dG9uW2VuZF1cIj48L25nLWNvbnRlbnQ+XG4gICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJheC1idXR0b25cIj48L25nLWNvbnRlbnQ+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
71
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1ncm91cC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvc3JjL2xpYi9mb3JtLWdyb3VwL2Zvcm0tZ3JvdXAuY29tcG9uZW50LnRzIiwiLi4vLi4vLi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XCI+PC9uZy1jb250ZW50PlxuICA8L2Rpdj5cbiAgPGRpdlxuICAgICNkaXZcbiAgICBjbGFzcz1cImF4IGZvcm0taXRlbSB7eyBzaXplIH19XCJcbiAgICBbbmdDbGFzc109XCJ7ICdyZXF1aXJlZC1zdGF0ZSc6IHJlcXVpcmVkIH1cIlxuICA+XG4gICAgPGRpdiBjbGFzcz1cImF4IGJ1dHRvbnMgc3RhcnQtYnV0dG9uc1wiICNzdGFydEJ1dHRvbnM+XG4gICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJheC1idXR0b25bc3RhcnRdXCI+PC9uZy1jb250ZW50PlxuICAgIDwvZGl2PlxuICAgIDxkaXZcbiAgICAgIGNsYXNzPVwiY29udGVudCB7eyBsYWJlbE1vZGUoKSA9PT0gJ292ZXInICYmICdheC1vdmVyLWFwcGx5JyB9fVwiXG4gICAgICAjY29udGVudFxuICAgID5cbiAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgICA8L2Rpdj5cbiAgICA8ZGl2IGNsYXNzPVwiYXggYnV0dG9ucyBlbmQtYnV0dG9uc1wiICNlbmRCdXR0b25zPlxuICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtYnV0dG9uW2VuZF1cIj48L25nLWNvbnRlbnQ+XG4gICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJheC1idXR0b25cIj48L25nLWNvbnRlbnQ+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
@@ -23,7 +23,7 @@ export class AXTextareaPropertyEditorComponent extends AXProperyEditorComponent
|
|
23
23
|
this.onRenderCompleted.emit();
|
24
24
|
}
|
25
25
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXTextareaPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
26
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXTextareaPropertyEditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "textBox", first: true, predicate: AXTextBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-text-area (onValueChanged)=\"handleValueChange($event)\" [value]=\"value\" \n [readonly]=\"readonly\" \n [allowClear]=\"clearButton\"\n [placeholder]=\"placeholder\"\n [rows]=\"rows\"\n >\n <ax-validation [rules]=\"validation?.rules\">\n </ax-validation>\n</ax-text-area>\n", dependencies: [{ kind: "component", type: i1.AXTextAreaComponent, selector: "ax-text-area", inputs: ["rows", "cols", "maxLength"] }, { kind: "component", type: i2.AXValidationComponent, selector: "ax-validation", inputs: ["rules", "validateOn"], outputs: ["rulesChange", "showMessage"] }] });
|
26
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXTextareaPropertyEditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "textBox", first: true, predicate: AXTextBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-text-area (onValueChanged)=\"handleValueChange($event)\" [value]=\"value\" \n [readonly]=\"readonly\" \n [allowClear]=\"clearButton\"\n [placeholder]=\"placeholder\"\n [rows]=\"rows\"\n >\n <ax-validation [rules]=\"validation?.rules\">\n </ax-validation>\n</ax-text-area>\n", dependencies: [{ kind: "component", type: i1.AXTextAreaComponent, selector: "ax-text-area", inputs: ["rows", "cols", "maxLength"], outputs: ["onBlur", "onFocus"] }, { kind: "component", type: i2.AXValidationComponent, selector: "ax-validation", inputs: ["rules", "validateOn"], outputs: ["rulesChange", "showMessage"] }] });
|
27
27
|
}
|
28
28
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXTextareaPropertyEditorComponent, decorators: [{
|
29
29
|
type: Component,
|