@seniorsistemas/angular-components 17.9.5 → 17.9.6
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/bundles/seniorsistemas-angular-components.umd.js +371 -136
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +2 -2
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
- package/components/custom-fields/custom-fields.component.d.ts +1 -0
- package/components/dynamic-form/components/dynamic-field/dynamic-field.component.d.ts +0 -1
- package/components/dynamic-form/components/field-label/field-label.component.d.ts +6 -0
- package/components/dynamic-form/components/field-label/field-label.module.d.ts +2 -0
- package/components/dynamic-form/components/fields/autocomplete/autocomplete-field.component.d.ts +7 -0
- package/components/dynamic-form/components/fields/bignumber/bignumber-field.component.d.ts +5 -2
- package/components/dynamic-form/components/fields/calendar/calendar-field.component.d.ts +9 -2
- package/components/dynamic-form/components/fields/chips/chips-field.component.d.ts +7 -1
- package/components/dynamic-form/components/fields/country-phone-picker/country-phone-picker-field.component.d.ts +7 -0
- package/components/dynamic-form/components/fields/currency/currency-field.component.d.ts +6 -3
- package/components/dynamic-form/components/fields/file-upload/file-upload.component.d.ts +10 -0
- package/components/dynamic-form/components/fields/number/number-field.component.d.ts +7 -2
- package/components/dynamic-form/components/fields/password/password-field.component.d.ts +6 -2
- package/components/dynamic-form/components/fields/text/text-field.component.d.ts +6 -2
- package/components/dynamic-form/components/fields/text-area/text-area-field.component.d.ts +5 -0
- package/components/dynamic-form/components/fields/text-area-ia/text-area-ia-field.component.d.ts +2 -1
- package/components/dynamic-form/configurations/fields/field.d.ts +2 -0
- package/components/dynamic-form/configurations/form-field.d.ts +1 -0
- package/components/dynamic-form/dynamic-form.component.d.ts +0 -1
- package/components/dynamic-form/dynamic-form.directive.d.ts +0 -1
- package/components/info-sign/info-sign.directive.d.ts +4 -2
- package/components/tooltip/tooltip.directive.d.ts +1 -0
- package/esm2015/components/custom-fields/custom-fields.component.js +8 -2
- package/esm2015/components/dynamic-form/components/dynamic-field/dynamic-field.component.js +2 -5
- package/esm2015/components/dynamic-form/components/field-label/field-label.component.js +24 -0
- package/esm2015/components/dynamic-form/components/field-label/field-label.module.js +19 -0
- package/esm2015/components/dynamic-form/components/fields/autocomplete/autocomplete-field.component.js +18 -3
- package/esm2015/components/dynamic-form/components/fields/bignumber/bignumber-field.component.js +13 -5
- package/esm2015/components/dynamic-form/components/fields/bignumber/bignumber-field.module.js +3 -1
- package/esm2015/components/dynamic-form/components/fields/boolean/boolean-field.component.js +2 -2
- package/esm2015/components/dynamic-form/components/fields/calendar/calendar-field.component.js +19 -5
- package/esm2015/components/dynamic-form/components/fields/chips/chips-field.component.js +16 -5
- package/esm2015/components/dynamic-form/components/fields/country-phone-picker/country-phone-picker-field.component.js +18 -3
- package/esm2015/components/dynamic-form/components/fields/currency/currency-field.component.js +14 -6
- package/esm2015/components/dynamic-form/components/fields/currency/currency-field.module.js +12 -2
- package/esm2015/components/dynamic-form/components/fields/file-upload/file-upload.component.js +36 -3
- package/esm2015/components/dynamic-form/components/fields/lookup/lookup-field.component.js +2 -2
- package/esm2015/components/dynamic-form/components/fields/number/number-field.component.js +17 -5
- package/esm2015/components/dynamic-form/components/fields/number/number-field.module.js +3 -1
- package/esm2015/components/dynamic-form/components/fields/password/password-field.component.js +14 -4
- package/esm2015/components/dynamic-form/components/fields/password/password-field.module.js +3 -1
- package/esm2015/components/dynamic-form/components/fields/profile-picture/profile-picture-field.component.js +2 -2
- package/esm2015/components/dynamic-form/components/fields/profile-picture/profile-picture-field.module.js +3 -1
- package/esm2015/components/dynamic-form/components/fields/radio-button/radio-button-field.component.js +2 -2
- package/esm2015/components/dynamic-form/components/fields/select/select-field.component.js +2 -2
- package/esm2015/components/dynamic-form/components/fields/slider/slider-field.component.js +2 -2
- package/esm2015/components/dynamic-form/components/fields/text/text-field.component.js +15 -5
- package/esm2015/components/dynamic-form/components/fields/text/text-field.module.js +3 -1
- package/esm2015/components/dynamic-form/components/fields/text-area/text-area-field.component.js +15 -3
- package/esm2015/components/dynamic-form/components/fields/text-area-ia/text-area-ia-field.component.js +6 -3
- package/esm2015/components/dynamic-form/components/grid/row/row.component.js +1 -9
- package/esm2015/components/dynamic-form/configurations/fields/field.js +2 -1
- package/esm2015/components/dynamic-form/configurations/form-field.js +1 -1
- package/esm2015/components/dynamic-form/dynamic-form.component.js +2 -5
- package/esm2015/components/dynamic-form/dynamic-form.directive.js +1 -4
- package/esm2015/components/dynamic-form/dynamic-form.module.js +3 -1
- package/esm2015/components/info-sign/info-sign.directive.js +14 -8
- package/esm2015/components/tooltip/tooltip.directive.js +33 -2
- package/esm2015/seniorsistemas-angular-components.js +76 -73
- package/esm5/components/custom-fields/custom-fields.component.js +9 -2
- package/esm5/components/dynamic-form/components/dynamic-field/dynamic-field.component.js +2 -5
- package/esm5/components/dynamic-form/components/field-label/field-label.component.js +25 -0
- package/esm5/components/dynamic-form/components/field-label/field-label.module.js +22 -0
- package/esm5/components/dynamic-form/components/fields/autocomplete/autocomplete-field.component.js +17 -4
- package/esm5/components/dynamic-form/components/fields/bignumber/bignumber-field.component.js +13 -5
- package/esm5/components/dynamic-form/components/fields/bignumber/bignumber-field.module.js +3 -1
- package/esm5/components/dynamic-form/components/fields/boolean/boolean-field.component.js +2 -2
- package/esm5/components/dynamic-form/components/fields/calendar/calendar-field.component.js +19 -5
- package/esm5/components/dynamic-form/components/fields/chips/chips-field.component.js +16 -5
- package/esm5/components/dynamic-form/components/fields/country-phone-picker/country-phone-picker-field.component.js +17 -4
- package/esm5/components/dynamic-form/components/fields/currency/currency-field.component.js +14 -6
- package/esm5/components/dynamic-form/components/fields/currency/currency-field.module.js +12 -2
- package/esm5/components/dynamic-form/components/fields/file-upload/file-upload.component.js +37 -5
- package/esm5/components/dynamic-form/components/fields/lookup/lookup-field.component.js +2 -2
- package/esm5/components/dynamic-form/components/fields/number/number-field.component.js +17 -5
- package/esm5/components/dynamic-form/components/fields/number/number-field.module.js +3 -1
- package/esm5/components/dynamic-form/components/fields/password/password-field.component.js +14 -4
- package/esm5/components/dynamic-form/components/fields/password/password-field.module.js +3 -1
- package/esm5/components/dynamic-form/components/fields/profile-picture/profile-picture-field.component.js +2 -2
- package/esm5/components/dynamic-form/components/fields/profile-picture/profile-picture-field.module.js +3 -1
- package/esm5/components/dynamic-form/components/fields/radio-button/radio-button-field.component.js +2 -2
- package/esm5/components/dynamic-form/components/fields/select/select-field.component.js +2 -2
- package/esm5/components/dynamic-form/components/fields/slider/slider-field.component.js +2 -2
- package/esm5/components/dynamic-form/components/fields/text/text-field.component.js +15 -5
- package/esm5/components/dynamic-form/components/fields/text/text-field.module.js +3 -1
- package/esm5/components/dynamic-form/components/fields/text-area/text-area-field.component.js +14 -4
- package/esm5/components/dynamic-form/components/fields/text-area-ia/text-area-ia-field.component.js +6 -3
- package/esm5/components/dynamic-form/components/grid/row/row.component.js +2 -2
- package/esm5/components/dynamic-form/configurations/fields/field.js +2 -1
- package/esm5/components/dynamic-form/configurations/form-field.js +1 -1
- package/esm5/components/dynamic-form/dynamic-form.component.js +2 -5
- package/esm5/components/dynamic-form/dynamic-form.directive.js +1 -4
- package/esm5/components/dynamic-form/dynamic-form.module.js +3 -1
- package/esm5/components/info-sign/info-sign.directive.js +14 -8
- package/esm5/components/tooltip/tooltip.directive.js +40 -8
- package/esm5/seniorsistemas-angular-components.js +76 -73
- package/fesm2015/seniorsistemas-angular-components.js +287 -62
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +298 -66
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.d.ts +75 -72
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __decorate, __assign, __extends, __spread, __awaiter, __generator, __param, __values, __rest, __read } from 'tslib';
|
|
2
2
|
import { EventEmitter, Input, Output, Component, ContentChildren, ViewChild, HostListener, forwardRef, NgModule, ɵɵdefineInjectable, Injectable, ElementRef, ApplicationRef, ComponentFactoryResolver, Injector, Renderer2, Directive, KeyValueDiffers, HostBinding, TemplateRef, InjectionToken, Inject, ViewEncapsulation, ViewContainerRef, ChangeDetectorRef, Pipe, ɵɵinject, ContentChild, Optional, ViewChildren } from '@angular/core';
|
|
3
3
|
import { trigger, transition, style as style$7, animate, state, group, query, animateChild } from '@angular/animations';
|
|
4
|
-
import { Subject, of, from, ReplaySubject, throwError, forkJoin } from 'rxjs';
|
|
4
|
+
import { Subject, of, from, ReplaySubject, throwError, fromEvent, forkJoin } from 'rxjs';
|
|
5
5
|
import { takeUntil, tap, map, switchMap, catchError, first, filter, take, delay, debounceTime, repeat, finalize } from 'rxjs/operators';
|
|
6
6
|
import { CommonModule } from '@angular/common';
|
|
7
7
|
import { NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule, FormControl, FormGroup, NG_VALIDATORS, FormBuilder, Validators, FormArray, ControlContainer } from '@angular/forms';
|
|
@@ -495,13 +495,14 @@ var TooltipDirective = /** @class */ (function () {
|
|
|
495
495
|
TooltipDirective.prototype.updateTooltipVisibilityWhenFocusOnInput = function () {
|
|
496
496
|
var _this = this;
|
|
497
497
|
if (this.focusedInputRef) {
|
|
498
|
+
var inputFocus = this.focusedInputRef;
|
|
498
499
|
var icon_1 = this.getIconFromFocusedInput();
|
|
499
500
|
this.renderer.listen(this.focusedInputRef, 'focus', function () {
|
|
500
501
|
if (icon_1 && _this.isMatchingTooltip(icon_1)) {
|
|
501
502
|
_this.createTootipByFocus(icon_1);
|
|
502
503
|
}
|
|
503
504
|
});
|
|
504
|
-
this.renderer.listen(
|
|
505
|
+
this.renderer.listen(inputFocus, 'blur', function () {
|
|
505
506
|
if (icon_1 && _this.isMatchingTooltip(icon_1)) {
|
|
506
507
|
_this.removeTooltip(icon_1);
|
|
507
508
|
_this.destroy();
|
|
@@ -621,6 +622,7 @@ var TooltipDirective = /** @class */ (function () {
|
|
|
621
622
|
* @param icon O ícone do input em focus.
|
|
622
623
|
*/
|
|
623
624
|
TooltipDirective.prototype.createTootipByFocus = function (icon) {
|
|
625
|
+
var _this = this;
|
|
624
626
|
var _a;
|
|
625
627
|
if (this.componentRef === null && ((_a = this.tooltip) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
626
628
|
var domElem = this.getDomElement();
|
|
@@ -628,6 +630,36 @@ var TooltipDirective = /** @class */ (function () {
|
|
|
628
630
|
icon.appendChild(tooltip_1);
|
|
629
631
|
this.setTooltipComponentProperties();
|
|
630
632
|
setTimeout(function () { return tooltip_1.classList.add("tooltip--visible"); }, 0);
|
|
633
|
+
this.renderer.listen(window, 'scroll', function () {
|
|
634
|
+
_this.updateTooltipPosition();
|
|
635
|
+
});
|
|
636
|
+
}
|
|
637
|
+
};
|
|
638
|
+
TooltipDirective.prototype.updateTooltipPosition = function () {
|
|
639
|
+
if (this.componentRef) {
|
|
640
|
+
var _a = this.elementRef.nativeElement.getBoundingClientRect(), left = _a.left, right = _a.right, top_1 = _a.top, bottom = _a.bottom;
|
|
641
|
+
var tooltipWidth = right - left;
|
|
642
|
+
var tooltipHeight = bottom - top_1;
|
|
643
|
+
switch (this.position) {
|
|
644
|
+
case TooltipPosition.Top:
|
|
645
|
+
this.componentRef.instance.left = Math.round(tooltipWidth / 2 + left);
|
|
646
|
+
this.componentRef.instance.top = Math.round(top_1 - 20 - 5);
|
|
647
|
+
break;
|
|
648
|
+
case TooltipPosition.Bottom:
|
|
649
|
+
this.componentRef.instance.left = Math.round(tooltipWidth / 2 + left);
|
|
650
|
+
this.componentRef.instance.top = Math.round(bottom + 20);
|
|
651
|
+
break;
|
|
652
|
+
case TooltipPosition.Left:
|
|
653
|
+
this.componentRef.instance.left = Math.round(left - 20);
|
|
654
|
+
this.componentRef.instance.top = Math.round(top_1 + tooltipHeight / 2 - 5);
|
|
655
|
+
break;
|
|
656
|
+
case TooltipPosition.Right:
|
|
657
|
+
this.componentRef.instance.left = Math.round(right + 20);
|
|
658
|
+
this.componentRef.instance.top = Math.round(top_1 + tooltipHeight / 2 - 5);
|
|
659
|
+
break;
|
|
660
|
+
default:
|
|
661
|
+
break;
|
|
662
|
+
}
|
|
631
663
|
}
|
|
632
664
|
};
|
|
633
665
|
TooltipDirective.prototype.showTooltip = function () {
|
|
@@ -642,8 +674,8 @@ var TooltipDirective = /** @class */ (function () {
|
|
|
642
674
|
if (this.componentRef !== null) {
|
|
643
675
|
this.componentRef.instance.tooltip = this.tooltip;
|
|
644
676
|
this.componentRef.instance.escape = this.escape;
|
|
645
|
-
var _a = this.elementRef.nativeElement.getBoundingClientRect(), left = _a.left, right = _a.right,
|
|
646
|
-
var tooltipHeight = bottom -
|
|
677
|
+
var _a = this.elementRef.nativeElement.getBoundingClientRect(), left = _a.left, right = _a.right, top_2 = _a.top, bottom = _a.bottom;
|
|
678
|
+
var tooltipHeight = bottom - top_2;
|
|
647
679
|
var tooltipWidth = right - left;
|
|
648
680
|
var safeSpace = 150;
|
|
649
681
|
var positioned = false;
|
|
@@ -662,7 +694,7 @@ var TooltipDirective = /** @class */ (function () {
|
|
|
662
694
|
this.position = TooltipPosition.Left;
|
|
663
695
|
break;
|
|
664
696
|
}
|
|
665
|
-
var topShift =
|
|
697
|
+
var topShift = top_2;
|
|
666
698
|
if (topShift <= tooltipHeight + safeSpace) {
|
|
667
699
|
this.position = TooltipPosition.Bottom;
|
|
668
700
|
invalidOptions.push(TooltipPosition.Top);
|
|
@@ -670,7 +702,7 @@ var TooltipDirective = /** @class */ (function () {
|
|
|
670
702
|
break;
|
|
671
703
|
}
|
|
672
704
|
this.componentRef.instance.left = Math.round(tooltipWidth / 2 + left);
|
|
673
|
-
this.componentRef.instance.top = Math.round(
|
|
705
|
+
this.componentRef.instance.top = Math.round(top_2 - margin - anchorSize);
|
|
674
706
|
positioned = true;
|
|
675
707
|
break;
|
|
676
708
|
}
|
|
@@ -703,7 +735,7 @@ var TooltipDirective = /** @class */ (function () {
|
|
|
703
735
|
break;
|
|
704
736
|
}
|
|
705
737
|
this.componentRef.instance.left = Math.round(left - margin);
|
|
706
|
-
this.componentRef.instance.top = Math.round(
|
|
738
|
+
this.componentRef.instance.top = Math.round(top_2 + tooltipHeight / 2 - anchorSize);
|
|
707
739
|
positioned = true;
|
|
708
740
|
break;
|
|
709
741
|
}
|
|
@@ -720,7 +752,7 @@ var TooltipDirective = /** @class */ (function () {
|
|
|
720
752
|
break;
|
|
721
753
|
}
|
|
722
754
|
this.componentRef.instance.left = Math.round(right + margin);
|
|
723
|
-
this.componentRef.instance.top = Math.round(
|
|
755
|
+
this.componentRef.instance.top = Math.round(top_2 + tooltipHeight / 2 - anchorSize);
|
|
724
756
|
positioned = true;
|
|
725
757
|
break;
|
|
726
758
|
}
|
|
@@ -4523,6 +4555,7 @@ var Field = /** @class */ (function () {
|
|
|
4523
4555
|
this.representedBy = config.representedBy;
|
|
4524
4556
|
this.CustomFieldClass = config.CustomFieldClass;
|
|
4525
4557
|
this.CustomFieldComponentClass = config.CustomFieldComponentClass;
|
|
4558
|
+
this.displayTimeInfoSign = config.displayTimeInfoSign;
|
|
4526
4559
|
}
|
|
4527
4560
|
return Field;
|
|
4528
4561
|
}());
|
|
@@ -5893,13 +5926,10 @@ var DynamicFormComponent = /** @class */ (function () {
|
|
|
5893
5926
|
__decorate([
|
|
5894
5927
|
Input()
|
|
5895
5928
|
], DynamicFormComponent.prototype, "errorMessages", void 0);
|
|
5896
|
-
__decorate([
|
|
5897
|
-
Input()
|
|
5898
|
-
], DynamicFormComponent.prototype, "displayTimeInfoSign", void 0);
|
|
5899
5929
|
DynamicFormComponent = __decorate([
|
|
5900
5930
|
Component({
|
|
5901
5931
|
selector: "s-dynamic-form",
|
|
5902
|
-
template: "<div *ngIf=\"configs; else templateFields\">\n <ng-container *ngFor=\"let config of configs\">\n <ng-container\n *sDynamicForm=\"{\n id: id,\n config: config,\n group: form,\n errorMessages: errorMessages\n }\">\n </ng-container>\n </ng-container>\n</div>\n\n<ng-template #templateFields>\n <s-dynamic-field\n [id]=\"id\"\n [fields]=\"fields\"\n [form]=\"form\"\n [errorMessages]=\"errorMessages\"
|
|
5932
|
+
template: "<div *ngIf=\"configs; else templateFields\">\n <ng-container *ngFor=\"let config of configs\">\n <ng-container\n *sDynamicForm=\"{\n id: id,\n config: config,\n group: form,\n errorMessages: errorMessages\n }\">\n </ng-container>\n </ng-container>\n</div>\n\n<ng-template #templateFields>\n <s-dynamic-field\n [id]=\"id\"\n [fields]=\"fields\"\n [form]=\"form\"\n [errorMessages]=\"errorMessages\">\n </s-dynamic-field>\n</ng-template>\n",
|
|
5903
5933
|
encapsulation: ViewEncapsulation.None,
|
|
5904
5934
|
styles: ["label.required:after{content:\" *\";color:#c13018}"]
|
|
5905
5935
|
})
|
|
@@ -6656,7 +6686,18 @@ var InfoSignDirective = /** @class */ (function () {
|
|
|
6656
6686
|
this.componentFactoryResolver = componentFactoryResolver;
|
|
6657
6687
|
this.displayTime = 5000;
|
|
6658
6688
|
}
|
|
6689
|
+
InfoSignDirective.prototype.ngOnChanges = function () {
|
|
6690
|
+
this.createInfoSign();
|
|
6691
|
+
};
|
|
6659
6692
|
InfoSignDirective.prototype.ngOnInit = function () {
|
|
6693
|
+
this.createInfoSign();
|
|
6694
|
+
};
|
|
6695
|
+
InfoSignDirective.prototype.ngOnDestroy = function () {
|
|
6696
|
+
if (this.componentRef) {
|
|
6697
|
+
this.componentRef.destroy();
|
|
6698
|
+
}
|
|
6699
|
+
};
|
|
6700
|
+
InfoSignDirective.prototype.createInfoSign = function () {
|
|
6660
6701
|
if (!this.componentRef && this.sInfoSign) {
|
|
6661
6702
|
this.viewContainer.clear();
|
|
6662
6703
|
var componentFactory = this.componentFactoryResolver.resolveComponentFactory(InfoSignComponent);
|
|
@@ -6674,11 +6715,6 @@ var InfoSignDirective = /** @class */ (function () {
|
|
|
6674
6715
|
this.viewContainer.createEmbeddedView(this.templateRef);
|
|
6675
6716
|
}
|
|
6676
6717
|
};
|
|
6677
|
-
InfoSignDirective.prototype.ngOnDestroy = function () {
|
|
6678
|
-
if (this.componentRef) {
|
|
6679
|
-
this.componentRef.destroy();
|
|
6680
|
-
}
|
|
6681
|
-
};
|
|
6682
6718
|
InfoSignDirective.ctorParameters = function () { return [
|
|
6683
6719
|
{ type: TemplateRef },
|
|
6684
6720
|
{ type: ViewContainerRef },
|
|
@@ -6695,7 +6731,7 @@ var InfoSignDirective = /** @class */ (function () {
|
|
|
6695
6731
|
], InfoSignDirective.prototype, "focusedInputRef", void 0);
|
|
6696
6732
|
InfoSignDirective = __decorate([
|
|
6697
6733
|
Directive({
|
|
6698
|
-
selector: "[sInfoSign]"
|
|
6734
|
+
selector: "[sInfoSign]"
|
|
6699
6735
|
})
|
|
6700
6736
|
], InfoSignDirective);
|
|
6701
6737
|
return InfoSignDirective;
|
|
@@ -9052,8 +9088,21 @@ var TableHeaderCheckboxModule = /** @class */ (function () {
|
|
|
9052
9088
|
}());
|
|
9053
9089
|
|
|
9054
9090
|
var AutocompleteFieldComponent = /** @class */ (function () {
|
|
9055
|
-
function AutocompleteFieldComponent() {
|
|
9091
|
+
function AutocompleteFieldComponent(changeDetectorRef, elementRef) {
|
|
9092
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
9093
|
+
this.elementRef = elementRef;
|
|
9056
9094
|
}
|
|
9095
|
+
AutocompleteFieldComponent.prototype.ngAfterViewInit = function () {
|
|
9096
|
+
this.setInputRef();
|
|
9097
|
+
this.changeDetectorRef.detectChanges();
|
|
9098
|
+
};
|
|
9099
|
+
AutocompleteFieldComponent.prototype.setInputRef = function () {
|
|
9100
|
+
this.inputRef = this.elementRef.nativeElement.querySelector('input');
|
|
9101
|
+
};
|
|
9102
|
+
AutocompleteFieldComponent.ctorParameters = function () { return [
|
|
9103
|
+
{ type: ChangeDetectorRef },
|
|
9104
|
+
{ type: ElementRef }
|
|
9105
|
+
]; };
|
|
9057
9106
|
__decorate([
|
|
9058
9107
|
Input()
|
|
9059
9108
|
], AutocompleteFieldComponent.prototype, "field", void 0);
|
|
@@ -9062,7 +9111,7 @@ var AutocompleteFieldComponent = /** @class */ (function () {
|
|
|
9062
9111
|
], AutocompleteFieldComponent.prototype, "formControl", void 0);
|
|
9063
9112
|
AutocompleteFieldComponent = __decorate([
|
|
9064
9113
|
Component({
|
|
9065
|
-
template: "<div\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\">\n <s-lookup\n [id]=\"(field.id || field.name)\"\n [multiple]=\"field.multiple\"\n [formControl]=\"formControl\"\n [placeholder]=\"field.placeholder\"\n [lookupSuggestions]=\"field.suggestions\"\n [dataKey]=\"field.dataKey\"\n (onLookupRequest)=\"field.onSearch($event)\"\n [lookupDisplayField]=\"field.displayField\"\n [showSearch]=\"false\"\n [lookupAppendTo]=\"field.appendTo\"\n (onSelect)=\"field.onSelect ? field.onSelect($event) : null\"\n (onUnselect)=\"field.onUnselect ? field.onUnselect($event) : null\"\n (onClear)=\"field.onClear ? field.onClear($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [lookupEmptyMessage]=\"field.emptyMessage\">\n </s-lookup>\n</div>\n"
|
|
9114
|
+
template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"></s-field-label>\n \n<div\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\">\n <s-lookup\n [id]=\"(field.id || field.name)\"\n [multiple]=\"field.multiple\"\n [formControl]=\"formControl\"\n [placeholder]=\"field.placeholder\"\n [lookupSuggestions]=\"field.suggestions\"\n [dataKey]=\"field.dataKey\"\n (onLookupRequest)=\"field.onSearch($event)\"\n [lookupDisplayField]=\"field.displayField\"\n [showSearch]=\"false\"\n [lookupAppendTo]=\"field.appendTo\"\n (onSelect)=\"field.onSelect ? field.onSelect($event) : null\"\n (onUnselect)=\"field.onUnselect ? field.onUnselect($event) : null\"\n (onClear)=\"field.onClear ? field.onClear($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [lookupEmptyMessage]=\"field.emptyMessage\">\n </s-lookup>\n</div>\n"
|
|
9066
9115
|
})
|
|
9067
9116
|
], AutocompleteFieldComponent);
|
|
9068
9117
|
return AutocompleteFieldComponent;
|
|
@@ -9082,7 +9131,7 @@ var BooleanFieldComponent = /** @class */ (function () {
|
|
|
9082
9131
|
], BooleanFieldComponent.prototype, "formControl", void 0);
|
|
9083
9132
|
BooleanFieldComponent = __decorate([
|
|
9084
9133
|
Component({
|
|
9085
|
-
template: "<ng-container *ngIf=\"field.verticalAlignment;else horizontalAlignment\">\n <div class=\"ui-g\">\n <div class=\"ui-g-12\">\n <p-radioButton\n [name]=\"field.name\"\n [value]=\"true\"\n [label]=\"field.optionsLabel.true\"\n [formControl]=\"formControl\"\n [inputId]=\"(field.id || field.name) + '-1'\"\n (onClick)=\"field.onClick ? field.onClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\">\n </p-radioButton>\n </div>\n <div class=\"ui-g-12\">\n <p-radioButton\n [name]=\"field.name\"\n [value]=\"false\"\n [label]=\"field.optionsLabel.false\"\n [formControl]=\"formControl\"\n [inputId]=\"(field.id || field.name) + '-2'\"\n (onClick)=\"field.onClick ? field.onClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\">\n </p-radioButton>\n </div>\n <div\n *ngIf=\"!field.showClear && !field.required()\"\n class=\"ui-g-12\">\n <p-radioButton \n [name]=\"field.name\"\n [value]=\"null\"\n [label]=\"field.optionsLabel.empty\"\n [formControl]=\"formControl\"\n [inputId]=\"(field.id || field.name) + '-3'\"\n (onClick)=\"field.onClick ? field.onClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\">\n </p-radioButton> \n </div>\n <div>\n <s-button\n *ngIf=\"field.showClear && !field.required() && !formControl.disabled\"\n [label]=\"field.optionsLabel.clear || 'Clear selection'\"\n (onClick)=\"onClear()\"\n priority=\"link\">\n </s-button>\n </div>\n\n </div>\n</ng-container>\n\n<ng-template #horizontalAlignment>\n <div class=\"ui-g\">\n <p-radioButton\n [name]=\"field.name\"\n [value]=\"true\"\n [label]=\"field.optionsLabel.true\"\n [formControl]=\"formControl\"\n [inputId]=\"(field.id || field.name) + '-1'\"\n (onClick)=\"field.onClick ? field.onClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\">\n </p-radioButton>\n \n <p-radioButton\n [name]=\"field.name\"\n [value]=\"false\"\n [label]=\"field.optionsLabel.false\"\n [formControl]=\"formControl\"\n [inputId]=\"(field.id || field.name) + '-2'\"\n (onClick)=\"field.onClick ? field.onClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\">\n </p-radioButton>\n\n <p-radioButton\n *ngIf=\"!field.showClear && !field.required()\"\n [name]=\"field.name\"\n [value]=\"null\"\n [label]=\"field.optionsLabel.empty\"\n [formControl]=\"formControl\"\n [inputId]=\"(field.id || field.name) + '-3'\"\n (onClick)=\"field.onClick ? field.onClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\">\n </p-radioButton>\n\n <s-button\n *ngIf=\"field.showClear && !field.required() && !formControl.disabled\"\n style=\"margin-left: 40px;\"\n [label]=\"field.optionsLabel.clear || 'Clear selection'\"\n (onClick)=\"onClear()\"\n priority=\"link\">\n </s-button>\n </div>\n</ng-template>\n"
|
|
9134
|
+
template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<ng-container *ngIf=\"field.verticalAlignment;else horizontalAlignment\">\n <div class=\"ui-g\">\n <div class=\"ui-g-12\">\n <p-radioButton\n [name]=\"field.name\"\n [value]=\"true\"\n [label]=\"field.optionsLabel.true\"\n [formControl]=\"formControl\"\n [inputId]=\"(field.id || field.name) + '-1'\"\n (onClick)=\"field.onClick ? field.onClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\">\n </p-radioButton>\n </div>\n <div class=\"ui-g-12\">\n <p-radioButton\n [name]=\"field.name\"\n [value]=\"false\"\n [label]=\"field.optionsLabel.false\"\n [formControl]=\"formControl\"\n [inputId]=\"(field.id || field.name) + '-2'\"\n (onClick)=\"field.onClick ? field.onClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\">\n </p-radioButton>\n </div>\n <div\n *ngIf=\"!field.showClear && !field.required()\"\n class=\"ui-g-12\">\n <p-radioButton \n [name]=\"field.name\"\n [value]=\"null\"\n [label]=\"field.optionsLabel.empty\"\n [formControl]=\"formControl\"\n [inputId]=\"(field.id || field.name) + '-3'\"\n (onClick)=\"field.onClick ? field.onClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\">\n </p-radioButton> \n </div>\n <div>\n <s-button\n *ngIf=\"field.showClear && !field.required() && !formControl.disabled\"\n [label]=\"field.optionsLabel.clear || 'Clear selection'\"\n (onClick)=\"onClear()\"\n priority=\"link\">\n </s-button>\n </div>\n\n </div>\n</ng-container>\n\n<ng-template #horizontalAlignment>\n <div class=\"ui-g\">\n <p-radioButton\n [name]=\"field.name\"\n [value]=\"true\"\n [label]=\"field.optionsLabel.true\"\n [formControl]=\"formControl\"\n [inputId]=\"(field.id || field.name) + '-1'\"\n (onClick)=\"field.onClick ? field.onClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\">\n </p-radioButton>\n \n <p-radioButton\n [name]=\"field.name\"\n [value]=\"false\"\n [label]=\"field.optionsLabel.false\"\n [formControl]=\"formControl\"\n [inputId]=\"(field.id || field.name) + '-2'\"\n (onClick)=\"field.onClick ? field.onClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\">\n </p-radioButton>\n\n <p-radioButton\n *ngIf=\"!field.showClear && !field.required()\"\n [name]=\"field.name\"\n [value]=\"null\"\n [label]=\"field.optionsLabel.empty\"\n [formControl]=\"formControl\"\n [inputId]=\"(field.id || field.name) + '-3'\"\n (onClick)=\"field.onClick ? field.onClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\">\n </p-radioButton>\n\n <s-button\n *ngIf=\"field.showClear && !field.required() && !formControl.disabled\"\n style=\"margin-left: 40px;\"\n [label]=\"field.optionsLabel.clear || 'Clear selection'\"\n (onClick)=\"onClear()\"\n priority=\"link\">\n </s-button>\n </div>\n</ng-template>\n"
|
|
9086
9135
|
})
|
|
9087
9136
|
], BooleanFieldComponent);
|
|
9088
9137
|
return BooleanFieldComponent;
|
|
@@ -9106,8 +9155,10 @@ var BooleanSwitchFieldComponent = /** @class */ (function () {
|
|
|
9106
9155
|
}());
|
|
9107
9156
|
|
|
9108
9157
|
var CalendarFieldComponent = /** @class */ (function () {
|
|
9109
|
-
function CalendarFieldComponent(translateService) {
|
|
9158
|
+
function CalendarFieldComponent(translateService, changeDetectorRef, elementRef) {
|
|
9110
9159
|
this.translateService = translateService;
|
|
9160
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
9161
|
+
this.elementRef = elementRef;
|
|
9111
9162
|
this.locale = {
|
|
9112
9163
|
firstDayOfWeek: 0,
|
|
9113
9164
|
dayNames: [
|
|
@@ -9171,8 +9222,17 @@ var CalendarFieldComponent = /** @class */ (function () {
|
|
|
9171
9222
|
hourFormat: this.translateService.instant("platform.angular_components.hour_format"),
|
|
9172
9223
|
};
|
|
9173
9224
|
}
|
|
9225
|
+
CalendarFieldComponent.prototype.ngAfterViewInit = function () {
|
|
9226
|
+
this.setInputRef();
|
|
9227
|
+
this.changeDetectorRef.detectChanges();
|
|
9228
|
+
};
|
|
9229
|
+
CalendarFieldComponent.prototype.setInputRef = function () {
|
|
9230
|
+
this.inputRef = this.elementRef.nativeElement.querySelector('input');
|
|
9231
|
+
};
|
|
9174
9232
|
CalendarFieldComponent.ctorParameters = function () { return [
|
|
9175
|
-
{ type: TranslateService }
|
|
9233
|
+
{ type: TranslateService },
|
|
9234
|
+
{ type: ChangeDetectorRef },
|
|
9235
|
+
{ type: ElementRef }
|
|
9176
9236
|
]; };
|
|
9177
9237
|
__decorate([
|
|
9178
9238
|
Input()
|
|
@@ -9186,17 +9246,22 @@ var CalendarFieldComponent = /** @class */ (function () {
|
|
|
9186
9246
|
__decorate([
|
|
9187
9247
|
Input()
|
|
9188
9248
|
], CalendarFieldComponent.prototype, "timeOnly", void 0);
|
|
9249
|
+
__decorate([
|
|
9250
|
+
ViewChild('calendar')
|
|
9251
|
+
], CalendarFieldComponent.prototype, "calendar", void 0);
|
|
9189
9252
|
CalendarFieldComponent = __decorate([
|
|
9190
9253
|
Component({
|
|
9191
|
-
template: "<div\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\">\n <!-- Remover as propriedades [showTransitionOptions] e [hideTransitionOptions] quando atualizar para o PrimeNG v10, esses atributos foram\n usados para remover um bug ocasionado pela anima\u00E7\u00E3o do componente p-calendar, bug explicado nas issues: #ERPROM-5534, #ERPROM-8248 e #DSN-1045. -->\n <p-calendar\n #calendar\n sCalendarMask\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [showIcon]=\"true\"\n [timeOnly]=\"timeOnly\"\n [selectionMode]=\"field.selectionMode\"\n [rangeSeparator]=\"field.rangeSeparator\"\n [showTime]=\"showTime\"\n [showSeconds]=\"field.showSeconds\"\n [showOnFocus]=\"field.showOnFocus\"\n [formControl]=\"formControl\"\n [icon]=\"timeOnly ? 'fa fa-clock' : 'fa fa-calendar'\"\n [minDate]=\"field.minDate\"\n [maxDate]=\"field.maxDate\"\n [defaultDate]=\"field.defaultDate\"\n [locale]=\"field.calendarLocaleOptions || locale\"\n [dateFormat]=\"field.calendarLocaleOptions?.dateFormat || 'platform.angular_components.date_format' | translate\"\n [hourFormat]=\"field.calendarLocaleOptions?.hourFormat || 'platform.angular_components.hour_format' | translate\"\n [view]=\"field.view\"\n [placeholder]=\"field.placeholder\"\n inputStyleClass=\"mousetrap\"\n [appendTo]=\"field.appendTo\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event): null\"\n (onSelect)=\"field.onSelect ? field.onSelect($event) : null\"\n (onClose)=\"field.onClose ? field.onClose($event) : null\"\n (onTodayClick)=\"field.onTodayClick ? field.onTodayClick($event) : null\"\n (onClearClick)=\"field.onClearClick ? field.onClearClick($event) : null\"\n (onMonthChange)=\"field.onMonthChange ? field.onMonthChange($event) : null\"\n (onYearChange)=\"field.onYearChange ? field.onYearChange($event) : null\"\n [showTransitionOptions]=\"'0ms'\"\n [hideTransitionOptions]=\"'0ms'\">\n </p-calendar>\n</div>\n"
|
|
9254
|
+
template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"></s-field-label>\n\n<div\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\">\n <!-- Remover as propriedades [showTransitionOptions] e [hideTransitionOptions] quando atualizar para o PrimeNG v10, esses atributos foram\n usados para remover um bug ocasionado pela anima\u00E7\u00E3o do componente p-calendar, bug explicado nas issues: #ERPROM-5534, #ERPROM-8248 e #DSN-1045. -->\n <p-calendar\n #calendar\n sCalendarMask\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [showIcon]=\"true\"\n [timeOnly]=\"timeOnly\"\n [selectionMode]=\"field.selectionMode\"\n [rangeSeparator]=\"field.rangeSeparator\"\n [showTime]=\"showTime\"\n [showSeconds]=\"field.showSeconds\"\n [showOnFocus]=\"field.showOnFocus\"\n [formControl]=\"formControl\"\n [icon]=\"timeOnly ? 'fa fa-clock' : 'fa fa-calendar'\"\n [minDate]=\"field.minDate\"\n [maxDate]=\"field.maxDate\"\n [defaultDate]=\"field.defaultDate\"\n [locale]=\"field.calendarLocaleOptions || locale\"\n [dateFormat]=\"field.calendarLocaleOptions?.dateFormat || 'platform.angular_components.date_format' | translate\"\n [hourFormat]=\"field.calendarLocaleOptions?.hourFormat || 'platform.angular_components.hour_format' | translate\"\n [view]=\"field.view\"\n [placeholder]=\"field.placeholder\"\n inputStyleClass=\"mousetrap\"\n [appendTo]=\"field.appendTo\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event): null\"\n (onSelect)=\"field.onSelect ? field.onSelect($event) : null\"\n (onClose)=\"field.onClose ? field.onClose($event) : null\"\n (onTodayClick)=\"field.onTodayClick ? field.onTodayClick($event) : null\"\n (onClearClick)=\"field.onClearClick ? field.onClearClick($event) : null\"\n (onMonthChange)=\"field.onMonthChange ? field.onMonthChange($event) : null\"\n (onYearChange)=\"field.onYearChange ? field.onYearChange($event) : null\"\n [showTransitionOptions]=\"'0ms'\"\n [hideTransitionOptions]=\"'0ms'\">\n </p-calendar>\n</div>\n"
|
|
9192
9255
|
})
|
|
9193
9256
|
], CalendarFieldComponent);
|
|
9194
9257
|
return CalendarFieldComponent;
|
|
9195
9258
|
}());
|
|
9196
9259
|
|
|
9197
9260
|
var ChipsFieldComponent = /** @class */ (function () {
|
|
9198
|
-
function ChipsFieldComponent(clipboard) {
|
|
9261
|
+
function ChipsFieldComponent(clipboard, changeDetectorRef, elementRef) {
|
|
9199
9262
|
this.clipboard = clipboard;
|
|
9263
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
9264
|
+
this.elementRef = elementRef;
|
|
9200
9265
|
this.feedbackMessageVisible = false;
|
|
9201
9266
|
this.copyButtonVisible = true;
|
|
9202
9267
|
}
|
|
@@ -9216,8 +9281,17 @@ var ChipsFieldComponent = /** @class */ (function () {
|
|
|
9216
9281
|
}
|
|
9217
9282
|
}
|
|
9218
9283
|
};
|
|
9284
|
+
ChipsFieldComponent.prototype.ngAfterViewInit = function () {
|
|
9285
|
+
this.setInputRef();
|
|
9286
|
+
this.changeDetectorRef.detectChanges();
|
|
9287
|
+
};
|
|
9288
|
+
ChipsFieldComponent.prototype.setInputRef = function () {
|
|
9289
|
+
this.inputRef = this.elementRef.nativeElement.querySelector('input');
|
|
9290
|
+
};
|
|
9219
9291
|
ChipsFieldComponent.ctorParameters = function () { return [
|
|
9220
|
-
{ type: Clipboard }
|
|
9292
|
+
{ type: Clipboard },
|
|
9293
|
+
{ type: ChangeDetectorRef },
|
|
9294
|
+
{ type: ElementRef }
|
|
9221
9295
|
]; };
|
|
9222
9296
|
__decorate([
|
|
9223
9297
|
Input()
|
|
@@ -9227,7 +9301,7 @@ var ChipsFieldComponent = /** @class */ (function () {
|
|
|
9227
9301
|
], ChipsFieldComponent.prototype, "formControl", void 0);
|
|
9228
9302
|
ChipsFieldComponent = __decorate([
|
|
9229
9303
|
Component({
|
|
9230
|
-
template: "<div class=\"chips-field-wrapper\">\n <div style=\"width: 100%;\">\n <p-chips\n *ngIf=\"field.keyFilter\"\n [inputId]=\"(field.id || field.name)\"\n [formControl]=\"formControl\"\n [placeholder]=\"field.placeholder\"\n [allowDuplicate]=\"false\"\n [addOnTab]=\"true\"\n [addOnBlur]=\"true\"\n (onAdd)=\"field.onAdd ? field.onAdd($event) : null\"\n (onRemove)=\"field.onRemove ? field.onRemove($event) : null\"\n (onChipClick)=\"field.onChipClick ? field.onChipClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [pKeyFilter]=\"field.keyFilter\">\n <ng-template let-item pTemplate=\"item\">\n <span\n class=\"chip-content\"\n [sTooltip]=\"item\">\n {{ item }}\n </span>\n </ng-template>\n </p-chips>\n \n <p-chips\n *ngIf=\"!field.keyFilter\"\n [inputId]=\"(field.id || field.name)\"\n [formControl]=\"formControl\"\n [placeholder]=\"field.placeholder\"\n [allowDuplicate]=\"false\"\n [addOnTab]=\"true\"\n [addOnBlur]=\"true\"\n (onAdd)=\"field.onAdd ? field.onAdd($event) : null\"\n (onRemove)=\"field.onRemove ? field.onRemove($event) : null\"\n (onChipClick)=\"field.onChipClick ? field.onChipClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\">\n <ng-template let-item pTemplate=\"item\">\n <span\n class=\"chip-content\"\n [sTooltip]=\"item\">\n {{ item }}\n </span>\n </ng-template>\n </p-chips>\n </div>\n \n <button\n *ngIf=\"field.showCopyButton && formControl.value?.length > 0 && copyButtonVisible\"\n class=\"copy-content-button\"\n (click)=\"onCopyFieldContent()\">\n {{ \"platform.angular_components.copy_field_content\" | translate }}\n </button>\n \n <span\n *ngIf=\"feedbackMessageVisible\"\n class=\"feedback-message\">\n {{ \"platform.angular_components.copied_to_clipboard\" | translate }}\n </span>\n</div>\n",
|
|
9304
|
+
template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"></s-field-label>\n \n<div class=\"chips-field-wrapper\">\n <div style=\"width: 100%;\">\n <p-chips\n *ngIf=\"field.keyFilter\"\n [inputId]=\"(field.id || field.name)\"\n [formControl]=\"formControl\"\n [placeholder]=\"field.placeholder\"\n [allowDuplicate]=\"false\"\n [addOnTab]=\"true\"\n [addOnBlur]=\"true\"\n (onAdd)=\"field.onAdd ? field.onAdd($event) : null\"\n (onRemove)=\"field.onRemove ? field.onRemove($event) : null\"\n (onChipClick)=\"field.onChipClick ? field.onChipClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [pKeyFilter]=\"field.keyFilter\">\n <ng-template let-item pTemplate=\"item\">\n <span\n class=\"chip-content\"\n [sTooltip]=\"item\">\n {{ item }}\n </span>\n </ng-template>\n </p-chips>\n \n <p-chips\n *ngIf=\"!field.keyFilter\"\n [inputId]=\"(field.id || field.name)\"\n [formControl]=\"formControl\"\n [placeholder]=\"field.placeholder\"\n [allowDuplicate]=\"false\"\n [addOnTab]=\"true\"\n [addOnBlur]=\"true\"\n (onAdd)=\"field.onAdd ? field.onAdd($event) : null\"\n (onRemove)=\"field.onRemove ? field.onRemove($event) : null\"\n (onChipClick)=\"field.onChipClick ? field.onChipClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\">\n <ng-template let-item pTemplate=\"item\">\n <span\n class=\"chip-content\"\n [sTooltip]=\"item\">\n {{ item }}\n </span>\n </ng-template>\n </p-chips>\n </div>\n \n <button\n *ngIf=\"field.showCopyButton && formControl.value?.length > 0 && copyButtonVisible\"\n class=\"copy-content-button\"\n (click)=\"onCopyFieldContent()\">\n {{ \"platform.angular_components.copy_field_content\" | translate }}\n </button>\n \n <span\n *ngIf=\"feedbackMessageVisible\"\n class=\"feedback-message\">\n {{ \"platform.angular_components.copied_to_clipboard\" | translate }}\n </span>\n</div>\n",
|
|
9231
9305
|
styles: [".chips-field-wrapper{-ms-flex-align:start;align-items:flex-start;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.chips-field-wrapper .chip-content{display:block;overflow:hidden;padding-right:1rem;text-overflow:ellipsis}.chips-field-wrapper .copy-content-button{background-color:transparent;border:none;color:#2a6496;cursor:pointer;margin-top:8px}.chips-field-wrapper .feedback-message{color:#0c9348;display:block;margin-top:8px;-webkit-user-select:none;-ms-user-select:none;user-select:none}"]
|
|
9232
9306
|
})
|
|
9233
9307
|
], ChipsFieldComponent);
|
|
@@ -9235,8 +9309,21 @@ var ChipsFieldComponent = /** @class */ (function () {
|
|
|
9235
9309
|
}());
|
|
9236
9310
|
|
|
9237
9311
|
var CountryPhonePickerFieldComponent = /** @class */ (function () {
|
|
9238
|
-
function CountryPhonePickerFieldComponent() {
|
|
9312
|
+
function CountryPhonePickerFieldComponent(changeDetectorRef, elementRef) {
|
|
9313
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
9314
|
+
this.elementRef = elementRef;
|
|
9239
9315
|
}
|
|
9316
|
+
CountryPhonePickerFieldComponent.prototype.ngAfterViewInit = function () {
|
|
9317
|
+
this.setInputRef();
|
|
9318
|
+
this.changeDetectorRef.detectChanges();
|
|
9319
|
+
};
|
|
9320
|
+
CountryPhonePickerFieldComponent.prototype.setInputRef = function () {
|
|
9321
|
+
this.inputRef = this.elementRef.nativeElement.querySelector('input');
|
|
9322
|
+
};
|
|
9323
|
+
CountryPhonePickerFieldComponent.ctorParameters = function () { return [
|
|
9324
|
+
{ type: ChangeDetectorRef },
|
|
9325
|
+
{ type: ElementRef }
|
|
9326
|
+
]; };
|
|
9240
9327
|
__decorate([
|
|
9241
9328
|
Input()
|
|
9242
9329
|
], CountryPhonePickerFieldComponent.prototype, "field", void 0);
|
|
@@ -9245,7 +9332,7 @@ var CountryPhonePickerFieldComponent = /** @class */ (function () {
|
|
|
9245
9332
|
], CountryPhonePickerFieldComponent.prototype, "formControl", void 0);
|
|
9246
9333
|
CountryPhonePickerFieldComponent = __decorate([
|
|
9247
9334
|
Component({
|
|
9248
|
-
template: "<s-country-phone-picker\n [formControl]=\"formControl\"\n [ordination]=\"field.ordination\"\n [countries]=\"field.countries\"\n (selected)=\"field.onSelected\"\n (focusLost)=\"field.onFocusLost\">\n</s-country-phone-picker>"
|
|
9335
|
+
template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"></s-field-label>\n\n<s-country-phone-picker\n [formControl]=\"formControl\"\n [ordination]=\"field.ordination\"\n [countries]=\"field.countries\"\n (selected)=\"field.onSelected\"\n (focusLost)=\"field.onFocusLost\">\n</s-country-phone-picker>"
|
|
9249
9336
|
})
|
|
9250
9337
|
], CountryPhonePickerFieldComponent);
|
|
9251
9338
|
return CountryPhonePickerFieldComponent;
|
|
@@ -9277,18 +9364,48 @@ var FieldsetComponent = /** @class */ (function () {
|
|
|
9277
9364
|
|
|
9278
9365
|
var FileUploadComponent$1 = /** @class */ (function (_super) {
|
|
9279
9366
|
__extends(FileUploadComponent, _super);
|
|
9280
|
-
function FileUploadComponent() {
|
|
9281
|
-
|
|
9367
|
+
function FileUploadComponent(changeDetectorRef, elementRef) {
|
|
9368
|
+
var _this = _super.call(this) || this;
|
|
9369
|
+
_this.changeDetectorRef = changeDetectorRef;
|
|
9370
|
+
_this.elementRef = elementRef;
|
|
9371
|
+
return _this;
|
|
9282
9372
|
}
|
|
9373
|
+
FileUploadComponent.prototype.onClick = function () {
|
|
9374
|
+
this.dispatchFocusInputRef();
|
|
9375
|
+
this.addEventOnBlur();
|
|
9376
|
+
};
|
|
9377
|
+
FileUploadComponent.prototype.ngAfterViewInit = function () {
|
|
9378
|
+
this.setInputRef();
|
|
9379
|
+
this.changeDetectorRef.detectChanges();
|
|
9380
|
+
};
|
|
9381
|
+
FileUploadComponent.prototype.addEventOnBlur = function () {
|
|
9382
|
+
var _this = this;
|
|
9383
|
+
fromEvent(document, 'click')
|
|
9384
|
+
.pipe(filter(function (event) { return !_this.elementRef.nativeElement.contains(event.target); }), take(1))
|
|
9385
|
+
.subscribe(function () { return _this.inputRef.dispatchEvent(new Event('blur')); });
|
|
9386
|
+
};
|
|
9387
|
+
FileUploadComponent.prototype.setInputRef = function () {
|
|
9388
|
+
this.inputRef = this.elementRef.nativeElement.querySelector('input');
|
|
9389
|
+
};
|
|
9390
|
+
FileUploadComponent.prototype.dispatchFocusInputRef = function () {
|
|
9391
|
+
this.inputRef.dispatchEvent(new Event('focus'));
|
|
9392
|
+
};
|
|
9393
|
+
FileUploadComponent.ctorParameters = function () { return [
|
|
9394
|
+
{ type: ChangeDetectorRef },
|
|
9395
|
+
{ type: ElementRef }
|
|
9396
|
+
]; };
|
|
9283
9397
|
__decorate([
|
|
9284
9398
|
Input()
|
|
9285
9399
|
], FileUploadComponent.prototype, "field", void 0);
|
|
9286
9400
|
__decorate([
|
|
9287
9401
|
Input()
|
|
9288
9402
|
], FileUploadComponent.prototype, "formControl", void 0);
|
|
9403
|
+
__decorate([
|
|
9404
|
+
HostListener('click')
|
|
9405
|
+
], FileUploadComponent.prototype, "onClick", null);
|
|
9289
9406
|
FileUploadComponent = __decorate([
|
|
9290
9407
|
Component({
|
|
9291
|
-
template: "<s-file-upload
|
|
9408
|
+
template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"></s-field-label>\n \n<s-file-upload\n [id]=\"(field.id || field.name)\"\n [accept]=\"field.accept\"\n [files]=\"field.files\"\n [multiple]=\"field.multiple\"\n [chooseLabel]=\"field.chooseLabel\"\n [removeLabel]=\"field.removeLabel\"\n [cancelLabel]=\"field.cancelLabel\"\n [successTooltip]=\"field.successTooltip\"\n (uploadHandler)=\"field.onUploadFile($event, field)\"\n (removeFile)=\"field.onRemoveFile($event, field)\"\n (cancelUpload)=\"field.onCancelUpload($event, field)\"\n (downloadFile)=\"field.onDownloadFile($event, field)\"\n [formGroup]=\"formControl\"\n [showFileUploadDate]=\"field.showFileUploadDate\"> \n</s-file-upload>\n"
|
|
9292
9409
|
})
|
|
9293
9410
|
], FileUploadComponent);
|
|
9294
9411
|
return FileUploadComponent;
|
|
@@ -9305,7 +9422,7 @@ var LookupFieldComponent = /** @class */ (function () {
|
|
|
9305
9422
|
], LookupFieldComponent.prototype, "formControl", void 0);
|
|
9306
9423
|
LookupFieldComponent = __decorate([
|
|
9307
9424
|
Component({
|
|
9308
|
-
template: "<div [sTooltip]=\"field.tooltip\" tooltipPosition=\"top\" [showDelay]=\"500\">\n <s-lookup\n [id]=\"field.id || field.name\"\n [multiple]=\"field.multiple\"\n [formControl]=\"formControl\"\n [lookupSuggestions]=\"field.lookupSuggestions\"\n [dataKey]=\"field.dataKey\"\n [placeholder]=\"field.placeholder\"\n [showSearch]=\"field.showSearch\"\n [searchFields]=\"field.searchFields\"\n [searchGridFields]=\"field.searchGridFields\"\n [searchGridData]=\"field.gridData\"\n (onLookupRequest)=\"field.onLookupRequest($event)\"\n (onSearchRequest)=\"field.onSearchRequest($event)\"\n [lookupDisplayField]=\"field.lookupDisplayField\"\n [searchTotalRecords]=\"field.searchTotalRecords\"\n [searchTotalRecordsLabel]=\"field.searchTotalRecordsLabel\"\n [searchTitle]=\"field.searchTitle\"\n [selectLabel]=\"field.selectLabel\"\n [searchEmptyTitle]=\"field.searchEmptyTitle\"\n [filterLabel]=\"field.filterLabel\"\n [filterTitle]=\"field.filterTitle\"\n [clearLabel]=\"field.clearLabel\"\n [cancelLabel]=\"field.cancelLabel\"\n [emptyFieldLabel]=\"field.emptyFieldLabel\"\n (onSelect)=\"field.onSelect($event)\"\n (onUnselect)=\"field.onUnselect($event)\"\n (onClear)=\"field.onClear ? field.onClear($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [lookupAppendTo]=\"field.appendTo\"\n [lookupEmptyMessage]=\"field.emptyMessage\"\n [recordLabel]=\"field.recordLabel\"\n [recordsLabel]=\"field.recordsLabel\"\n [defaultFilter]=\"field.defaultFilter\"\n [autocompleteForceSelection]=\"field.autocompleteForceSelection\"\n [showAddOption]=\"field.showAddOption\"\n [showEditOption]=\"field.showEditOption\"\n [showRemoveOption]=\"field.showRemoveOption\"\n (onAdd)=\"field.onAdd()\"\n (onEdit)=\"field.onEdit($event)\"\n (onRemove)=\"field.onRemove($event)\"\n >\n </s-lookup>\n</div>\n"
|
|
9425
|
+
template: "<s-field-label [field]=\"field\">\n\n<div [sTooltip]=\"field.tooltip\" tooltipPosition=\"top\" [showDelay]=\"500\">\n <s-lookup\n [id]=\"field.id || field.name\"\n [multiple]=\"field.multiple\"\n [formControl]=\"formControl\"\n [lookupSuggestions]=\"field.lookupSuggestions\"\n [dataKey]=\"field.dataKey\"\n [placeholder]=\"field.placeholder\"\n [showSearch]=\"field.showSearch\"\n [searchFields]=\"field.searchFields\"\n [searchGridFields]=\"field.searchGridFields\"\n [searchGridData]=\"field.gridData\"\n (onLookupRequest)=\"field.onLookupRequest($event)\"\n (onSearchRequest)=\"field.onSearchRequest($event)\"\n [lookupDisplayField]=\"field.lookupDisplayField\"\n [searchTotalRecords]=\"field.searchTotalRecords\"\n [searchTotalRecordsLabel]=\"field.searchTotalRecordsLabel\"\n [searchTitle]=\"field.searchTitle\"\n [selectLabel]=\"field.selectLabel\"\n [searchEmptyTitle]=\"field.searchEmptyTitle\"\n [filterLabel]=\"field.filterLabel\"\n [filterTitle]=\"field.filterTitle\"\n [clearLabel]=\"field.clearLabel\"\n [cancelLabel]=\"field.cancelLabel\"\n [emptyFieldLabel]=\"field.emptyFieldLabel\"\n (onSelect)=\"field.onSelect($event)\"\n (onUnselect)=\"field.onUnselect($event)\"\n (onClear)=\"field.onClear ? field.onClear($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [lookupAppendTo]=\"field.appendTo\"\n [lookupEmptyMessage]=\"field.emptyMessage\"\n [recordLabel]=\"field.recordLabel\"\n [recordsLabel]=\"field.recordsLabel\"\n [defaultFilter]=\"field.defaultFilter\"\n [autocompleteForceSelection]=\"field.autocompleteForceSelection\"\n [showAddOption]=\"field.showAddOption\"\n [showEditOption]=\"field.showEditOption\"\n [showRemoveOption]=\"field.showRemoveOption\"\n (onAdd)=\"field.onAdd()\"\n (onEdit)=\"field.onEdit($event)\"\n (onRemove)=\"field.onRemove($event)\"\n >\n </s-lookup>\n</div>\n"
|
|
9309
9426
|
})
|
|
9310
9427
|
], LookupFieldComponent);
|
|
9311
9428
|
return LookupFieldComponent;
|
|
@@ -9349,7 +9466,7 @@ var RadioButtonComponent = /** @class */ (function () {
|
|
|
9349
9466
|
], RadioButtonComponent.prototype, "onFocus", void 0);
|
|
9350
9467
|
RadioButtonComponent = __decorate([
|
|
9351
9468
|
Component({
|
|
9352
|
-
template: "<ng-container *ngIf=\"field.verticalAlignment;else horizontalAlignment\">\n <div class=\"ui-g\">\n <div\n *ngFor=\"let option of field.options; let i = index\"\n class=\"ui-g-12\">\n <ng-container\n [ngTemplateOutlet]=\"radioButton\"\n [ngTemplateOutletContext]=\"{option: option, index: i}\">\n </ng-container>\n </div>\n <s-button\n *ngIf=\"field.showClear && !field.required() && !formControl.disabled\"\n [label]=\"field.clearLabel || 'Clear selection'\"\n (onClick)=\"onClear()\"\n priority=\"link\">\n </s-button>\n </div>\n</ng-container>\n\n<ng-template #horizontalAlignment>\n <div class=\"ui-g\">\n <ng-container\n *ngFor=\"let option of field.options; let i = index\"\n [ngTemplateOutlet]=\"radioButton\"\n [ngTemplateOutletContext]=\"{option: option, index: i}\">\n </ng-container>\n </div>\n <s-button\n *ngIf=\"field.showClear && !field.required() && !formControl.disabled\"\n class=\"horizontal-clear-option\"\n [label]=\"field.clearLabel || 'Clear selection'\"\n (onClick)=\"onClear()\"\n priority=\"link\">\n </s-button>\n</ng-template>\n\n<ng-template #radioButton let-option=\"option\" let-i=\"index\">\n <p-radioButton\n [name]=\"field.name\"\n [value]=\"option.value\"\n [label]=\"option.label\"\n [formControl]=\"formControl\"\n [inputId]=\"(field.id || field.name) + '-' + i\"\n [sTooltip]=\"field.tooltip\"\n (onClick)=\"onClick.next($event)\"\n (onFocus)=\"onFocus.next($event)\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\">\n </p-radioButton>\n</ng-template>\n",
|
|
9469
|
+
template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<ng-container *ngIf=\"field.verticalAlignment;else horizontalAlignment\">\n <div class=\"ui-g\">\n <div\n *ngFor=\"let option of field.options; let i = index\"\n class=\"ui-g-12\">\n <ng-container\n [ngTemplateOutlet]=\"radioButton\"\n [ngTemplateOutletContext]=\"{option: option, index: i}\">\n </ng-container>\n </div>\n <s-button\n *ngIf=\"field.showClear && !field.required() && !formControl.disabled\"\n [label]=\"field.clearLabel || 'Clear selection'\"\n (onClick)=\"onClear()\"\n priority=\"link\">\n </s-button>\n </div>\n</ng-container>\n\n<ng-template #horizontalAlignment>\n <div class=\"ui-g\">\n <ng-container\n *ngFor=\"let option of field.options; let i = index\"\n [ngTemplateOutlet]=\"radioButton\"\n [ngTemplateOutletContext]=\"{option: option, index: i}\">\n </ng-container>\n </div>\n <s-button\n *ngIf=\"field.showClear && !field.required() && !formControl.disabled\"\n class=\"horizontal-clear-option\"\n [label]=\"field.clearLabel || 'Clear selection'\"\n (onClick)=\"onClear()\"\n priority=\"link\">\n </s-button>\n</ng-template>\n\n<ng-template #radioButton let-option=\"option\" let-i=\"index\">\n <p-radioButton\n [name]=\"field.name\"\n [value]=\"option.value\"\n [label]=\"option.label\"\n [formControl]=\"formControl\"\n [inputId]=\"(field.id || field.name) + '-' + i\"\n [sTooltip]=\"field.tooltip\"\n (onClick)=\"onClick.next($event)\"\n (onFocus)=\"onFocus.next($event)\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\">\n </p-radioButton>\n</ng-template>\n",
|
|
9353
9470
|
encapsulation: ViewEncapsulation.None,
|
|
9354
9471
|
styles: ["\n s-button.horizontal-clear-option button {\n width: min-content !important;\n }\n "]
|
|
9355
9472
|
})
|
|
@@ -9393,7 +9510,7 @@ var SelectFieldComponent = /** @class */ (function (_super) {
|
|
|
9393
9510
|
], SelectFieldComponent.prototype, "formControl", void 0);
|
|
9394
9511
|
SelectFieldComponent = __decorate([
|
|
9395
9512
|
Component({
|
|
9396
|
-
template: "<p-dropdown\n *ngIf=\"!field.multiple\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [options]=\"isFunction(field.options) ? field.options() : field.options\"\n [placeholder]=\"field.placeholder || ' '\"\n [formControl]=\"formControl\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n [showClear]=\"field.showClear\"\n dataKey=\"{{field.dataKey}}\"\n optionLabel=\"{{field.optionLabel}}\"\n [autoDisplayFirst]=\"field.autoDisplayFirst\"\n [appendTo]=\"field.appendTo || 'body'\"\n (onClick)=\"field.onClick ? field.onClick($event) : null\"\n (onChange)=\"field.onChange ? field.onChange($event) : null\">\n</p-dropdown>\n<p-multiSelect\n *ngIf=\"field.multiple\"\n [formControl]=\"formControl\"\n [name]=\"field.name\"\n [inputId]=\"(field.id || field.name)\"\n [options]=\"isFunction(field.options) ? field.options() : field.options\"\n [defaultLabel]=\"field.placeholder\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [emptyFilterMessage]=\"field.emptyMessage || 'platform.angular_components.no_records_found' | translate\"\n [showDelay]=\"500\"\n [selectedItemsLabel]=\"field.multipleSelectedLabel || 'platform.angular_components.total_records_selected' | translate\"\n [appendTo]=\"field.appendTo || 'body'\"\n (onClick)=\"field.onClick ? field.onClick($event) : null\"\n (onChange)=\"field.onChange ? field.onChange($event) : null\">\n</p-multiSelect>\n\n"
|
|
9513
|
+
template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<p-dropdown\n *ngIf=\"!field.multiple\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [options]=\"isFunction(field.options) ? field.options() : field.options\"\n [placeholder]=\"field.placeholder || ' '\"\n [formControl]=\"formControl\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n [showClear]=\"field.showClear\"\n dataKey=\"{{field.dataKey}}\"\n optionLabel=\"{{field.optionLabel}}\"\n [autoDisplayFirst]=\"field.autoDisplayFirst\"\n [appendTo]=\"field.appendTo || 'body'\"\n (onClick)=\"field.onClick ? field.onClick($event) : null\"\n (onChange)=\"field.onChange ? field.onChange($event) : null\">\n</p-dropdown>\n<p-multiSelect\n *ngIf=\"field.multiple\"\n [formControl]=\"formControl\"\n [name]=\"field.name\"\n [inputId]=\"(field.id || field.name)\"\n [options]=\"isFunction(field.options) ? field.options() : field.options\"\n [defaultLabel]=\"field.placeholder\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [emptyFilterMessage]=\"field.emptyMessage || 'platform.angular_components.no_records_found' | translate\"\n [showDelay]=\"500\"\n [selectedItemsLabel]=\"field.multipleSelectedLabel || 'platform.angular_components.total_records_selected' | translate\"\n [appendTo]=\"field.appendTo || 'body'\"\n (onClick)=\"field.onClick ? field.onClick($event) : null\"\n (onChange)=\"field.onChange ? field.onChange($event) : null\">\n</p-multiSelect>\n\n"
|
|
9397
9514
|
})
|
|
9398
9515
|
], SelectFieldComponent);
|
|
9399
9516
|
return SelectFieldComponent;
|
|
@@ -9508,7 +9625,7 @@ var SliderFieldComponent = /** @class */ (function (_super) {
|
|
|
9508
9625
|
], SliderFieldComponent.prototype, "onSlideEnd", void 0);
|
|
9509
9626
|
SliderFieldComponent = __decorate([
|
|
9510
9627
|
Component({
|
|
9511
|
-
template: "<ng-container>\n <div class=\"slider-group\">\n <div class=\"slider-label\">\n <span>{{label}}</span>\n </div>\n <p-slider \n [id]=\"(field.id || field.name)\"\n [formControl]=\"formControl\"\n [range]=\"field.range\"\n [orientation]=\"field.orientation\"\n [min]=\"field.min\" \n [max]=\"field.max\"\n [step]=\"field.step\"\n [animate]=\"field.animate\" \n (onChange)=\"field.onChange ? field.onChange($event) : null\"\n (onSlideEnd)=\"field.onSlideEnd ? field.onSlideEnd($event) : null\">\n </p-slider>\n </div>\n</ng-container>",
|
|
9628
|
+
template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<ng-container>\n <div class=\"slider-group\">\n <div class=\"slider-label\">\n <span>{{label}}</span>\n </div>\n <p-slider \n [id]=\"(field.id || field.name)\"\n [formControl]=\"formControl\"\n [range]=\"field.range\"\n [orientation]=\"field.orientation\"\n [min]=\"field.min\" \n [max]=\"field.max\"\n [step]=\"field.step\"\n [animate]=\"field.animate\" \n (onChange)=\"field.onChange ? field.onChange($event) : null\"\n (onSlideEnd)=\"field.onSlideEnd ? field.onSlideEnd($event) : null\">\n </p-slider>\n </div>\n</ng-container>",
|
|
9512
9629
|
styles: [".slider-label{margin-bottom:5px;margin-left:-10px}.slider-group{margin-left:9px;margin-right:11px}"]
|
|
9513
9630
|
})
|
|
9514
9631
|
], SliderFieldComponent);
|
|
@@ -9516,17 +9633,27 @@ var SliderFieldComponent = /** @class */ (function (_super) {
|
|
|
9516
9633
|
}(BaseFieldComponent));
|
|
9517
9634
|
|
|
9518
9635
|
var TextAreaFieldComponent = /** @class */ (function () {
|
|
9519
|
-
function TextAreaFieldComponent() {
|
|
9636
|
+
function TextAreaFieldComponent(changeDetectorRef) {
|
|
9637
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
9520
9638
|
}
|
|
9639
|
+
TextAreaFieldComponent.prototype.ngAfterViewInit = function () {
|
|
9640
|
+
this.changeDetectorRef.detectChanges();
|
|
9641
|
+
};
|
|
9642
|
+
TextAreaFieldComponent.ctorParameters = function () { return [
|
|
9643
|
+
{ type: ChangeDetectorRef }
|
|
9644
|
+
]; };
|
|
9521
9645
|
__decorate([
|
|
9522
9646
|
Input()
|
|
9523
9647
|
], TextAreaFieldComponent.prototype, "field", void 0);
|
|
9524
9648
|
__decorate([
|
|
9525
9649
|
Input()
|
|
9526
9650
|
], TextAreaFieldComponent.prototype, "formControl", void 0);
|
|
9651
|
+
__decorate([
|
|
9652
|
+
ViewChild('inputRef')
|
|
9653
|
+
], TextAreaFieldComponent.prototype, "inputRef", void 0);
|
|
9527
9654
|
TextAreaFieldComponent = __decorate([
|
|
9528
9655
|
Component({
|
|
9529
|
-
template: "<textarea\n [id]=\"(field.id || field.name)\"\n *ngIf=\"!field.keyFilter\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [ngStyle]=\"field.style\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n></textarea>\n<textarea\n [id]=\"(field.id || field.name)\"\n *ngIf=\"field.keyFilter\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [pKeyFilter]=\"field.keyFilter\"\n [ngStyle]=\"field.style\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n></textarea>\n"
|
|
9656
|
+
template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef?.nativeElement\"></s-field-label>\n\n<textarea #inputRef\n [id]=\"(field.id || field.name)\"\n *ngIf=\"!field.keyFilter\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [ngStyle]=\"field.style\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n></textarea>\n<textarea #inputRef\n [id]=\"(field.id || field.name)\"\n *ngIf=\"field.keyFilter\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [pKeyFilter]=\"field.keyFilter\"\n [ngStyle]=\"field.style\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n></textarea>\n"
|
|
9530
9657
|
})
|
|
9531
9658
|
], TextAreaFieldComponent);
|
|
9532
9659
|
return TextAreaFieldComponent;
|
|
@@ -9600,9 +9727,12 @@ var TextAreaIAFieldComponent = /** @class */ (function () {
|
|
|
9600
9727
|
__decorate([
|
|
9601
9728
|
Input()
|
|
9602
9729
|
], TextAreaIAFieldComponent.prototype, "formControl", void 0);
|
|
9730
|
+
__decorate([
|
|
9731
|
+
ViewChild('inputRef')
|
|
9732
|
+
], TextAreaIAFieldComponent.prototype, "inputRef", void 0);
|
|
9603
9733
|
TextAreaIAFieldComponent = __decorate([
|
|
9604
9734
|
Component({
|
|
9605
|
-
template: "<s-loading-state\n [loading]=\"isLoading\"\n [blockWindow]=\"true\"> \n</s-loading-state>\n\n<p-dialog\n [(visible)]=\"isVisible\"\n [modal]=\"true\"\n [style]=\"{ width: '50vw' }\"\n [draggable]=\"false\"\n [resizable]=\"false\"\n (onHide)=\"onHideDialog()\">\n <p-header>\n <div class=\"dialog-header\">\n <span class=\"iassist-icon\">\n <ng-container [ngTemplateOutlet]=\"iassistIcon\"></ng-container>\n </span>\n IAssist - Content Generator\n </div>\n </p-header>\n <s-dynamic-form\n [fields]=\"fields\"\n [form]=\"formGroup\">\n </s-dynamic-form>\n <p-footer>\n <div class=\"footer-content\">\n <s-button\n id=\"-submit-button\"\n type=\"button\"\n [label]=\"'platform.angular_components.generate_text' | translate\"\n (onClick)=\"submitContext()\"\n sTooltip=\"(ALT + SHIFT + S)\"\n showDelay=\"500\">\n </s-button>\n <s-button\n id=\"-cancel-button\"\n type=\"button\"\n priority=\"link\"\n [label]=\"'platform.angular_components.cancel' | translate\"\n (onClick)=\"hideDialog()\"\n sTooltip=\"(ALT + SHIFT + C)\"\n showDelay=\"500\">\n </s-button>\n </div>\n </p-footer>\n</p-dialog>\n\n<div class=\"textarea-ia\">\n <textarea\n [id]=\"(field.id || field.name)\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [ngStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\">\n </textarea>\n <button\n class=\"iassist-button\"\n (click)=\"showDialog()\"\n sTooltip=\"IAssist - Content Generator\">\n <ng-container [ngTemplateOutlet]=\"iassistIcon\"></ng-container>\n </button>\n</div>\n\n<ng-template #iassistIcon>\n <svg style=\"width: 100%; height: 100%;\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5.81451 18.1054L5.99593 17.6059L7.52166 13.4099L7.60877 13.1726L7.61277 13.1614L7.94285 12.2543L8.01159 12.0648L8.05394 11.949L5.2998 8.52426L5.02726 8.18379C5.00569 8.15821 4.9881 8.13104 4.97292 8.10226C4.90099 7.9632 4.85063 7.81294 4.82186 7.6531C4.73075 7.1344 4.90418 6.60771 5.28382 6.24326C5.29421 6.23447 5.3038 6.22567 5.31419 6.21688L5.47164 6.0914L9.3439 3.00238L9.5469 2.84094L9.57088 2.82096L10.4101 2.15041L11.8007 1.04188C11.2181 0.925188 10.6163 0.863647 10.0001 0.863647C4.95374 0.863647 0.863281 4.9541 0.863281 9.99963C0.863281 13.5346 2.87254 16.5989 5.80971 18.1182\" fill=\"#0FA389\"/>\n <path d=\"M14.099 1.83472L13.9495 2.24632L11.997 7.61074L11.9427 7.7594L11.9003 7.87369L14.7448 11.4103C14.7463 11.4127 14.7479 11.4143 14.7495 11.4167L14.9414 11.654C14.9541 11.67 14.9661 11.6868 14.9765 11.7044C15.0764 11.8698 15.1444 12.0505 15.1779 12.2431C15.273 12.7826 15.0812 13.3284 14.676 13.6897C14.656 13.7129 14.6345 13.7344 14.6105 13.7536L11.8563 15.9507L11.6789 16.0922L11.6022 16.1537L10.7406 16.8402V16.841L10.3937 17.1176L9.85747 17.5452L9.39951 17.9112L8.11035 18.9398C8.72016 19.0677 9.35155 19.1364 9.99973 19.1364C15.0461 19.1364 19.1365 15.046 19.1365 9.99964C19.1365 6.42789 17.0857 3.33727 14.099 1.83472Z\" fill=\"#0FA389\"/>\n <path d=\"M14.7287 12.3222C14.7047 12.1832 14.6551 12.0545 14.5864 11.941L14.3954 11.7036C14.3954 11.7036 14.3946 11.7028 14.3938 11.7028L11.3839 7.96005L10.5031 6.86511L10.4256 6.7676L9.03255 5.03487L8.83674 4.79191C8.79278 4.71678 8.75681 4.63446 8.73204 4.54814C8.72085 4.51058 8.71286 4.47222 8.70566 4.43465C8.68568 4.32196 8.68408 4.21007 8.69847 4.10217L8.62334 4.16291L8.44511 4.30438L5.75731 6.44871L5.60066 6.57339C5.34011 6.82275 5.20584 7.19279 5.27218 7.57482C5.29296 7.68751 5.32892 7.79541 5.37927 7.89292C5.37927 7.89292 5.37927 7.89292 5.38007 7.89371L5.6566 8.23818L8.57139 11.8627L8.63293 11.9394L9.53047 13.0559L9.59041 13.1303L9.98363 13.6186L11.0178 14.9046C11.0186 14.9054 11.0194 14.9069 11.0202 14.9077L11.1361 15.0516V15.0524C11.2184 15.1755 11.2768 15.317 11.3048 15.4728C11.3239 15.5807 11.3263 15.6878 11.3143 15.7925L11.3175 15.7965L11.3943 15.735L11.5717 15.5935L14.3266 13.3964L14.3218 13.3908C14.6335 13.1438 14.8022 12.7394 14.7287 12.3222Z\" fill=\"#F3F3F5\"/>\n <path d=\"M10.6822 15.0082C10.6814 15.0074 10.6806 15.0058 10.6806 15.005L10.5672 14.8643L10.3809 14.6325L10.3282 14.567L10.2211 14.4335L9.40028 13.4129L9.32835 13.3242L8.77289 12.6345L8.68098 12.5194L8.44121 12.2205L8.37168 12.4099L8.04159 13.317L8.0376 13.329L7.95128 13.5664L6.42475 17.7623L6.24333 18.2618L5.90605 19.1881L5.73262 19.6645C5.73182 19.6661 5.73102 19.6677 5.73102 19.6685C5.72863 19.6749 5.72703 19.6821 5.72543 19.6885C5.71584 19.7228 5.71424 19.758 5.72063 19.7948C5.74461 19.929 5.87329 20.0193 6.00836 19.9962C6.04112 19.9898 6.07229 19.9778 6.09867 19.9602C6.09867 19.9602 6.09947 19.9602 6.10027 19.9594L6.14103 19.9266L7.39422 18.9268L9.11496 17.5537L9.57292 17.1877L10.1092 16.7601L10.4561 16.4827L10.4537 16.4811C10.7582 16.2382 10.9236 15.8402 10.8509 15.4294C10.8237 15.2735 10.7654 15.1313 10.6822 15.0082Z\" fill=\"#0C847B\"/>\n <path d=\"M9.17644 4.56325C9.2124 4.68713 9.26915 4.80062 9.34268 4.90053C9.34348 4.90053 9.34428 4.90213 9.34428 4.90213L9.40342 4.97645C9.40502 4.97805 9.40582 4.97885 9.40662 4.98045L9.56806 5.17946L9.64878 5.28096L9.67915 5.31932L9.8414 5.51993L10.5559 6.40947L10.7054 6.59569L11.2169 7.23188L11.5142 7.60192L11.5693 7.45247L13.5202 2.08964L14.1596 0.332135C14.1596 0.330536 14.1604 0.328139 14.1612 0.32654C14.174 0.288177 14.1772 0.246617 14.17 0.205058C14.1468 0.0699879 14.0182 -0.0195258 13.8823 0.00365186C13.8407 0.0116442 13.8024 0.028428 13.7712 0.0540033L12.578 1.00589L12.498 1.06982L10.6958 2.50844L9.85658 3.17819L9.8326 3.19737L9.6296 3.35961L9.45297 3.50028C9.2116 3.73925 9.08692 4.08931 9.15006 4.44976C9.15726 4.48813 9.16525 4.52649 9.17644 4.56325Z\" fill=\"#0C847B\"/>\n </svg>\n</ng-template>",
|
|
9735
|
+
template: "<s-field-label [field]=\"field\"\n [fieldContainerRef]=\"inputRef?.nativeElement\"></s-field-label>\n\n<s-loading-state\n [loading]=\"isLoading\"\n [blockWindow]=\"true\"> \n</s-loading-state>\n\n<p-dialog\n [(visible)]=\"isVisible\"\n [modal]=\"true\"\n [style]=\"{ width: '50vw' }\"\n [draggable]=\"false\"\n [resizable]=\"false\"\n (onHide)=\"onHideDialog()\">\n <p-header>\n <div class=\"dialog-header\">\n <span class=\"iassist-icon\">\n <ng-container [ngTemplateOutlet]=\"iassistIcon\"></ng-container>\n </span>\n IAssist - Content Generator\n </div>\n </p-header>\n <s-dynamic-form\n [fields]=\"fields\"\n [form]=\"formGroup\">\n </s-dynamic-form>\n <p-footer>\n <div class=\"footer-content\">\n <s-button\n id=\"-submit-button\"\n type=\"button\"\n [label]=\"'platform.angular_components.generate_text' | translate\"\n (onClick)=\"submitContext()\"\n sTooltip=\"(ALT + SHIFT + S)\"\n showDelay=\"500\">\n </s-button>\n <s-button\n id=\"-cancel-button\"\n type=\"button\"\n priority=\"link\"\n [label]=\"'platform.angular_components.cancel' | translate\"\n (onClick)=\"hideDialog()\"\n sTooltip=\"(ALT + SHIFT + C)\"\n showDelay=\"500\">\n </s-button>\n </div>\n </p-footer>\n</p-dialog>\n\n<div class=\"textarea-ia\">\n <textarea #inputRef\n [id]=\"(field.id || field.name)\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [ngStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\">\n </textarea>\n <button\n class=\"iassist-button\"\n (click)=\"showDialog()\"\n sTooltip=\"IAssist - Content Generator\">\n <ng-container [ngTemplateOutlet]=\"iassistIcon\"></ng-container>\n </button>\n</div>\n\n<ng-template #iassistIcon>\n <svg style=\"width: 100%; height: 100%;\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5.81451 18.1054L5.99593 17.6059L7.52166 13.4099L7.60877 13.1726L7.61277 13.1614L7.94285 12.2543L8.01159 12.0648L8.05394 11.949L5.2998 8.52426L5.02726 8.18379C5.00569 8.15821 4.9881 8.13104 4.97292 8.10226C4.90099 7.9632 4.85063 7.81294 4.82186 7.6531C4.73075 7.1344 4.90418 6.60771 5.28382 6.24326C5.29421 6.23447 5.3038 6.22567 5.31419 6.21688L5.47164 6.0914L9.3439 3.00238L9.5469 2.84094L9.57088 2.82096L10.4101 2.15041L11.8007 1.04188C11.2181 0.925188 10.6163 0.863647 10.0001 0.863647C4.95374 0.863647 0.863281 4.9541 0.863281 9.99963C0.863281 13.5346 2.87254 16.5989 5.80971 18.1182\" fill=\"#0FA389\"/>\n <path d=\"M14.099 1.83472L13.9495 2.24632L11.997 7.61074L11.9427 7.7594L11.9003 7.87369L14.7448 11.4103C14.7463 11.4127 14.7479 11.4143 14.7495 11.4167L14.9414 11.654C14.9541 11.67 14.9661 11.6868 14.9765 11.7044C15.0764 11.8698 15.1444 12.0505 15.1779 12.2431C15.273 12.7826 15.0812 13.3284 14.676 13.6897C14.656 13.7129 14.6345 13.7344 14.6105 13.7536L11.8563 15.9507L11.6789 16.0922L11.6022 16.1537L10.7406 16.8402V16.841L10.3937 17.1176L9.85747 17.5452L9.39951 17.9112L8.11035 18.9398C8.72016 19.0677 9.35155 19.1364 9.99973 19.1364C15.0461 19.1364 19.1365 15.046 19.1365 9.99964C19.1365 6.42789 17.0857 3.33727 14.099 1.83472Z\" fill=\"#0FA389\"/>\n <path d=\"M14.7287 12.3222C14.7047 12.1832 14.6551 12.0545 14.5864 11.941L14.3954 11.7036C14.3954 11.7036 14.3946 11.7028 14.3938 11.7028L11.3839 7.96005L10.5031 6.86511L10.4256 6.7676L9.03255 5.03487L8.83674 4.79191C8.79278 4.71678 8.75681 4.63446 8.73204 4.54814C8.72085 4.51058 8.71286 4.47222 8.70566 4.43465C8.68568 4.32196 8.68408 4.21007 8.69847 4.10217L8.62334 4.16291L8.44511 4.30438L5.75731 6.44871L5.60066 6.57339C5.34011 6.82275 5.20584 7.19279 5.27218 7.57482C5.29296 7.68751 5.32892 7.79541 5.37927 7.89292C5.37927 7.89292 5.37927 7.89292 5.38007 7.89371L5.6566 8.23818L8.57139 11.8627L8.63293 11.9394L9.53047 13.0559L9.59041 13.1303L9.98363 13.6186L11.0178 14.9046C11.0186 14.9054 11.0194 14.9069 11.0202 14.9077L11.1361 15.0516V15.0524C11.2184 15.1755 11.2768 15.317 11.3048 15.4728C11.3239 15.5807 11.3263 15.6878 11.3143 15.7925L11.3175 15.7965L11.3943 15.735L11.5717 15.5935L14.3266 13.3964L14.3218 13.3908C14.6335 13.1438 14.8022 12.7394 14.7287 12.3222Z\" fill=\"#F3F3F5\"/>\n <path d=\"M10.6822 15.0082C10.6814 15.0074 10.6806 15.0058 10.6806 15.005L10.5672 14.8643L10.3809 14.6325L10.3282 14.567L10.2211 14.4335L9.40028 13.4129L9.32835 13.3242L8.77289 12.6345L8.68098 12.5194L8.44121 12.2205L8.37168 12.4099L8.04159 13.317L8.0376 13.329L7.95128 13.5664L6.42475 17.7623L6.24333 18.2618L5.90605 19.1881L5.73262 19.6645C5.73182 19.6661 5.73102 19.6677 5.73102 19.6685C5.72863 19.6749 5.72703 19.6821 5.72543 19.6885C5.71584 19.7228 5.71424 19.758 5.72063 19.7948C5.74461 19.929 5.87329 20.0193 6.00836 19.9962C6.04112 19.9898 6.07229 19.9778 6.09867 19.9602C6.09867 19.9602 6.09947 19.9602 6.10027 19.9594L6.14103 19.9266L7.39422 18.9268L9.11496 17.5537L9.57292 17.1877L10.1092 16.7601L10.4561 16.4827L10.4537 16.4811C10.7582 16.2382 10.9236 15.8402 10.8509 15.4294C10.8237 15.2735 10.7654 15.1313 10.6822 15.0082Z\" fill=\"#0C847B\"/>\n <path d=\"M9.17644 4.56325C9.2124 4.68713 9.26915 4.80062 9.34268 4.90053C9.34348 4.90053 9.34428 4.90213 9.34428 4.90213L9.40342 4.97645C9.40502 4.97805 9.40582 4.97885 9.40662 4.98045L9.56806 5.17946L9.64878 5.28096L9.67915 5.31932L9.8414 5.51993L10.5559 6.40947L10.7054 6.59569L11.2169 7.23188L11.5142 7.60192L11.5693 7.45247L13.5202 2.08964L14.1596 0.332135C14.1596 0.330536 14.1604 0.328139 14.1612 0.32654C14.174 0.288177 14.1772 0.246617 14.17 0.205058C14.1468 0.0699879 14.0182 -0.0195258 13.8823 0.00365186C13.8407 0.0116442 13.8024 0.028428 13.7712 0.0540033L12.578 1.00589L12.498 1.06982L10.6958 2.50844L9.85658 3.17819L9.8326 3.19737L9.6296 3.35961L9.45297 3.50028C9.2116 3.73925 9.08692 4.08931 9.15006 4.44976C9.15726 4.48813 9.16525 4.52649 9.17644 4.56325Z\" fill=\"#0C847B\"/>\n </svg>\n</ng-template>",
|
|
9606
9736
|
styles: [".footer-content{display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0}.textarea-ia{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;gap:8px}.iassist-button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:none;border-radius:50%;box-shadow:none;cursor:pointer;height:32px;width:32px}.dialog-header{display:-ms-flexbox;display:flex;gap:12px}.dialog-header .iassist-icon{display:block;height:24px;width:24px}"]
|
|
9607
9737
|
})
|
|
9608
9738
|
], TextAreaIAFieldComponent);
|
|
@@ -9635,7 +9765,7 @@ var RowComponent = /** @class */ (function () {
|
|
|
9635
9765
|
], RowComponent.prototype, "errorMessages", void 0);
|
|
9636
9766
|
RowComponent = __decorate([
|
|
9637
9767
|
Component({
|
|
9638
|
-
template: "\n <div class=\"ui-fluid\" [formGroup]=\"group\">\n <div class=\"ui-g\">\n <ng-container *ngFor=\"let field of config.fields\">\n <div [ngClass]=\"field.gridClass\" *ngIf=\"field.visible()\">\n <
|
|
9768
|
+
template: "\n <div class=\"ui-fluid\" [formGroup]=\"group\">\n <div class=\"ui-g\">\n <ng-container *ngFor=\"let field of config.fields\">\n <div [ngClass]=\"field.gridClass\" *ngIf=\"field.visible()\">\n <ng-container *sDynamicForm=\"{ id: id, config: field, group: group}\"></ng-container>\n\n <s-control-errors [form]=\"group\" [control]=\"group.controls[field.name]\"\n [errorMessages]=\"getErrorMessages(field.errorMessages)\"></s-control-errors>\n\n <ng-container *ngIf=\"field.footer\">\n <ng-container *ngIf=\"field.footer.help\">\n <span *ngIf=\"field.footer.help.visible({ abstractControl: group.controls[field.name], formField: field })\" style=\"color: #888B99\">{{ field.footer.help.text }}</span>\n </ng-container>\n\n <ng-container *ngIf=\"field.footer.link\">\n <div\n *ngIf=\"field.footer.link.visible({ abstractControl: group.controls[field.name], formField: field })\"\n class=\"ui-g\"\n style=\"margin-left: -17px\"\n >\n <s-button\n [label]=\"field.footer.link.label\"\n priority=\"link\"\n (onClick)=\"field.footer.link.onClick({ abstractControl: group.controls[field.name], formField: field })\"\n [auxiliary]=\"true\"\n ></s-button>\n </div>\n </ng-container>\n </ng-container>\n\n <ng-template *ngIf=\"field?.bottomTemplate\" [ngTemplateOutlet]=\"field.bottomTemplate\"></ng-template>\n </div>\n </ng-container>\n </div>\n "
|
|
9639
9769
|
})
|
|
9640
9770
|
], RowComponent);
|
|
9641
9771
|
return RowComponent;
|
|
@@ -9665,13 +9795,10 @@ var DynamicFieldComponent = /** @class */ (function () {
|
|
|
9665
9795
|
__decorate([
|
|
9666
9796
|
Input()
|
|
9667
9797
|
], DynamicFieldComponent.prototype, "errorMessages", void 0);
|
|
9668
|
-
__decorate([
|
|
9669
|
-
Input()
|
|
9670
|
-
], DynamicFieldComponent.prototype, "displayTimeInfoSign", void 0);
|
|
9671
9798
|
DynamicFieldComponent = __decorate([
|
|
9672
9799
|
Component({
|
|
9673
9800
|
selector: "s-dynamic-field",
|
|
9674
|
-
template: "<div class=\"ui-fluid\" [formGroup]=\"form\">\n <div class=\"ui-g\">\n <ng-container *ngFor=\"let field of fields\">\n <div\n *ngIf=\"!field.visible || field.visible()\"\n [ngClass]=\"field.gridClass\"
|
|
9801
|
+
template: "<div class=\"ui-fluid\" [formGroup]=\"form\">\n <div class=\"ui-g\">\n <ng-container *ngFor=\"let field of fields\">\n <div\n *ngIf=\"!field.visible || field.visible()\"\n [ngClass]=\"field.gridClass\">\n\n <ng-container\n *sDynamicForm=\"{\n id: id,\n config: field,\n group: form\n }\"\n ></ng-container>\n\n <s-control-errors\n [form]=\"form\"\n [control]=\"form.controls[field.name]\"\n [errorMessages]=\"getErrorMessages(field.errorMessages)\"\n ></s-control-errors>\n\n <ng-container *ngIf=\"field.footer\">\n <ng-container *ngIf=\"field.footer.help\">\n <span\n *ngIf=\"\n field.footer.help.visible({\n abstractControl: form.controls[field.name],\n formField: field\n })\n \"\n style=\"color: #888b99\"\n >\n {{ field.footer.help.text }}\n </span>\n </ng-container>\n\n <ng-container *ngIf=\"field.footer.link\">\n <div\n *ngIf=\"\n field.footer.link.visible({\n abstractControl: form.controls[field.name],\n formField: field\n })\n \"\n class=\"ui-g\"\n style=\"margin-left: -10px\"\n >\n <s-button\n [label]=\"field.footer.link.label\"\n priority=\"link\"\n (onClick)=\"\n field.footer.link.onClick({\n abstractControl:\n form.controls[field.name],\n formField: field\n })\n \"\n [auxiliary]=\"true\"\n ></s-button>\n </div>\n </ng-container>\n </ng-container>\n\n <ng-template\n *ngIf=\"field?.bottomTemplate\"\n [ngTemplateOutlet]=\"field.bottomTemplate\"\n ></ng-template>\n </div>\n </ng-container>\n </div>\n</div>\n"
|
|
9675
9802
|
})
|
|
9676
9803
|
], DynamicFieldComponent);
|
|
9677
9804
|
return DynamicFieldComponent;
|
|
@@ -9690,9 +9817,10 @@ var StructureType;
|
|
|
9690
9817
|
|
|
9691
9818
|
var BignumberFieldComponent = /** @class */ (function (_super) {
|
|
9692
9819
|
__extends(BignumberFieldComponent, _super);
|
|
9693
|
-
function BignumberFieldComponent(localeService) {
|
|
9820
|
+
function BignumberFieldComponent(localeService, changeDetectorRef) {
|
|
9694
9821
|
var _this = _super.call(this) || this;
|
|
9695
9822
|
_this.localeService = localeService;
|
|
9823
|
+
_this.changeDetectorRef = changeDetectorRef;
|
|
9696
9824
|
_this.onInput = new EventEmitter();
|
|
9697
9825
|
_this.onFocus = new EventEmitter();
|
|
9698
9826
|
_this.onComplete = new EventEmitter();
|
|
@@ -9757,8 +9885,12 @@ var BignumberFieldComponent = /** @class */ (function (_super) {
|
|
|
9757
9885
|
},
|
|
9758
9886
|
});
|
|
9759
9887
|
};
|
|
9888
|
+
BignumberFieldComponent.prototype.ngAfterViewInit = function () {
|
|
9889
|
+
this.changeDetectorRef.detectChanges();
|
|
9890
|
+
};
|
|
9760
9891
|
BignumberFieldComponent.ctorParameters = function () { return [
|
|
9761
|
-
{ type: LocaleService }
|
|
9892
|
+
{ type: LocaleService },
|
|
9893
|
+
{ type: ChangeDetectorRef }
|
|
9762
9894
|
]; };
|
|
9763
9895
|
__decorate([
|
|
9764
9896
|
Input()
|
|
@@ -9775,9 +9907,12 @@ var BignumberFieldComponent = /** @class */ (function (_super) {
|
|
|
9775
9907
|
__decorate([
|
|
9776
9908
|
Output()
|
|
9777
9909
|
], BignumberFieldComponent.prototype, "onComplete", void 0);
|
|
9910
|
+
__decorate([
|
|
9911
|
+
ViewChild('inputRef')
|
|
9912
|
+
], BignumberFieldComponent.prototype, "inputRef", void 0);
|
|
9778
9913
|
BignumberFieldComponent = __decorate([
|
|
9779
9914
|
Component({
|
|
9780
|
-
template: "<p-inputMask\n *ngIf=\"field.mask; else noMask\"\n type=\"text\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [autoClear]=\"field.autoClear\">\n</p-inputMask>\n\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled() : field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{field.leftAddon.label}}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container>\n\n <input\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sBignumberInput\n [allowNegative]=\"field.allowNegative\"\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{field.rightAddon.label}}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container>\n </div>\n </ng-container>\n</ng-template>\n",
|
|
9915
|
+
template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef?.nativeElement\"></s-field-label>\n \n<p-inputMask #inputRef\n *ngIf=\"field.mask; else noMask\"\n type=\"text\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [autoClear]=\"field.autoClear\">\n</p-inputMask>\n\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled() : field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{field.leftAddon.label}}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container>\n\n <input #inputRef\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sBignumberInput\n [allowNegative]=\"field.allowNegative\"\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{field.rightAddon.label}}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container>\n </div>\n </ng-container>\n</ng-template>\n",
|
|
9781
9916
|
encapsulation: ViewEncapsulation.None,
|
|
9782
9917
|
styles: ["s-number-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-number-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}.addon-button{border:1px solid #c1c1cc}.addon-button s-button .s-button-with-text,.addon-button s-button button{height:100%;min-width:40px!important}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}"]
|
|
9783
9918
|
})
|
|
@@ -9975,10 +10110,11 @@ var CurrencyService = /** @class */ (function () {
|
|
|
9975
10110
|
*/
|
|
9976
10111
|
var CurrencyFieldComponent = /** @class */ (function (_super) {
|
|
9977
10112
|
__extends(CurrencyFieldComponent, _super);
|
|
9978
|
-
function CurrencyFieldComponent(localeService,
|
|
10113
|
+
function CurrencyFieldComponent(currencyService, localeService, changeDetectorRef) {
|
|
9979
10114
|
var _this = _super.call(this) || this;
|
|
9980
|
-
_this.localeService = localeService;
|
|
9981
10115
|
_this.currencyService = currencyService;
|
|
10116
|
+
_this.localeService = localeService;
|
|
10117
|
+
_this.changeDetectorRef = changeDetectorRef;
|
|
9982
10118
|
return _this;
|
|
9983
10119
|
}
|
|
9984
10120
|
CurrencyFieldComponent.prototype.ngOnInit = function () {
|
|
@@ -10012,9 +10148,13 @@ var CurrencyFieldComponent = /** @class */ (function (_super) {
|
|
|
10012
10148
|
},
|
|
10013
10149
|
});
|
|
10014
10150
|
};
|
|
10151
|
+
CurrencyFieldComponent.prototype.ngAfterViewInit = function () {
|
|
10152
|
+
this.changeDetectorRef.detectChanges();
|
|
10153
|
+
};
|
|
10015
10154
|
CurrencyFieldComponent.ctorParameters = function () { return [
|
|
10155
|
+
{ type: CurrencyService },
|
|
10016
10156
|
{ type: LocaleService },
|
|
10017
|
-
{ type:
|
|
10157
|
+
{ type: ChangeDetectorRef }
|
|
10018
10158
|
]; };
|
|
10019
10159
|
__decorate([
|
|
10020
10160
|
Input()
|
|
@@ -10022,16 +10162,20 @@ var CurrencyFieldComponent = /** @class */ (function (_super) {
|
|
|
10022
10162
|
__decorate([
|
|
10023
10163
|
Input()
|
|
10024
10164
|
], CurrencyFieldComponent.prototype, "formControl", void 0);
|
|
10165
|
+
__decorate([
|
|
10166
|
+
ViewChild('inputRef')
|
|
10167
|
+
], CurrencyFieldComponent.prototype, "inputRef", void 0);
|
|
10025
10168
|
CurrencyFieldComponent = __decorate([
|
|
10026
10169
|
Component({
|
|
10027
|
-
template: "<div class=\"ui-inputgroup\">\n <span\n *ngIf=\"field.currency || field.numberLocaleOptions?.currencySymbol\"\n class=\"ui-inputgroup-addon\"\n >\n {{\n field.currency\n ? currencyService.getCurrencySymbol({\n currency: field.currency()\n })\n : field.numberLocaleOptions.currencySymbol\n }}\n </span>\n
|
|
10170
|
+
template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef?.nativeElement\"></s-field-label>\n \n<div class=\"ui-inputgroup\">\n <span\n *ngIf=\"field.currency || field.numberLocaleOptions?.currencySymbol\"\n class=\"ui-inputgroup-addon\"\n >\n {{\n field.currency\n ? currencyService.getCurrencySymbol({\n currency: field.currency()\n })\n : field.numberLocaleOptions.currencySymbol\n }}\n </span>\n <input #inputRef\n *ngIf=\"!field.mask\"\n type=\"text\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [formControl]=\"formControl\"\n sNumberInput\n [precision]=\"\n field.precision\n ? isFunction(field.precision)\n ? trigger(field.precision)\n : field.precision\n : field.currency && field.currency()\n ? currencyService.currencies[field.currency()].precision\n : 15\n \"\n [scale]=\"\n field.scale\n ? isFunction(field.scale)\n ? trigger(field.scale)\n : field.scale\n : field.currency && field.currency()\n ? currencyService.currencies[field.currency()].scale\n : 0\n \"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"field.onFocus ? field.onFocus($event): null\" />\n <p-inputMask #inputRef\n *ngIf=\"field.mask\"\n type=\"text\"\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [formControl]=\"formControl\"\n [mask]=\"field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onComplete)=\"field.onComplete ? field.onComplete($event) : null\"\n (onInput)=\"field.onInput ? field.onInput($event) : null\"\n ></p-inputMask>\n</div>\n"
|
|
10028
10171
|
})
|
|
10029
10172
|
], CurrencyFieldComponent);
|
|
10030
10173
|
return CurrencyFieldComponent;
|
|
10031
10174
|
}(BaseFieldComponent));
|
|
10032
10175
|
|
|
10033
10176
|
var PasswordFieldComponent = /** @class */ (function () {
|
|
10034
|
-
function PasswordFieldComponent() {
|
|
10177
|
+
function PasswordFieldComponent(changeDetectorRef) {
|
|
10178
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
10035
10179
|
this.onInput = new EventEmitter();
|
|
10036
10180
|
this.onFocus = new EventEmitter();
|
|
10037
10181
|
this.onComplete = new EventEmitter();
|
|
@@ -10069,6 +10213,12 @@ var PasswordFieldComponent = /** @class */ (function () {
|
|
|
10069
10213
|
PasswordFieldComponent.prototype.onChangeVisible = function () {
|
|
10070
10214
|
this.passwordVisible = !this.passwordVisible;
|
|
10071
10215
|
};
|
|
10216
|
+
PasswordFieldComponent.prototype.ngAfterViewInit = function () {
|
|
10217
|
+
this.changeDetectorRef.detectChanges();
|
|
10218
|
+
};
|
|
10219
|
+
PasswordFieldComponent.ctorParameters = function () { return [
|
|
10220
|
+
{ type: ChangeDetectorRef }
|
|
10221
|
+
]; };
|
|
10072
10222
|
__decorate([
|
|
10073
10223
|
Input()
|
|
10074
10224
|
], PasswordFieldComponent.prototype, "field", void 0);
|
|
@@ -10084,9 +10234,12 @@ var PasswordFieldComponent = /** @class */ (function () {
|
|
|
10084
10234
|
__decorate([
|
|
10085
10235
|
Output()
|
|
10086
10236
|
], PasswordFieldComponent.prototype, "onComplete", void 0);
|
|
10237
|
+
__decorate([
|
|
10238
|
+
ViewChild('inputRef')
|
|
10239
|
+
], PasswordFieldComponent.prototype, "inputRef", void 0);
|
|
10087
10240
|
PasswordFieldComponent = __decorate([
|
|
10088
10241
|
Component({
|
|
10089
|
-
template: "<div class=\"password-field\" [ngClass]=\"{ 'password-field--toggle': field.showToggle }\">\n <input\n [type]=\"passwordVisible ? 'text' : 'password'\"\n [id]=\"field.id || field.name\"\n class=\"password-input\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [sPasswordStrength]=\"field.passwordStrength\"\n [psDescription]=\"field.passwordStrengthOptions?.description\"\n [psWeakTitle]=\"field.passwordStrengthOptions?.weakTitle\"\n [psMediumTitle]=\"field.passwordStrengthOptions?.mediumTitle\"\n [psStrongTitle]=\"field.passwordStrengthOptions?.strongTitle\"\n [psValidation]=\"field.passwordStrengthOptions?.validation\"\n />\n <span *ngIf=\"field.showToggle\" class=\"toggle-button\">\n <s-button\n [iconClass]=\"passwordVisible ? 'fas fa-eye-slash' : 'fas fa-eye'\"\n priority=\"default\"\n (onClick)=\"onChangeVisible()\">\n </s-button>\n </span>\n</div>\n",
|
|
10242
|
+
template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"></s-field-label>\n \n<div class=\"password-field\" [ngClass]=\"{ 'password-field--toggle': field.showToggle }\">\n <input #inputRef\n [type]=\"passwordVisible ? 'text' : 'password'\"\n [id]=\"field.id || field.name\"\n class=\"password-input\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [sPasswordStrength]=\"field.passwordStrength\"\n [psDescription]=\"field.passwordStrengthOptions?.description\"\n [psWeakTitle]=\"field.passwordStrengthOptions?.weakTitle\"\n [psMediumTitle]=\"field.passwordStrengthOptions?.mediumTitle\"\n [psStrongTitle]=\"field.passwordStrengthOptions?.strongTitle\"\n [psValidation]=\"field.passwordStrengthOptions?.validation\"\n />\n <span *ngIf=\"field.showToggle\" class=\"toggle-button\">\n <s-button\n [iconClass]=\"passwordVisible ? 'fas fa-eye-slash' : 'fas fa-eye'\"\n priority=\"default\"\n (onClick)=\"onChangeVisible()\">\n </s-button>\n </span>\n</div>\n",
|
|
10090
10243
|
encapsulation: ViewEncapsulation.None,
|
|
10091
10244
|
styles: ["s-text-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-text-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}.password-field{display:-ms-flexbox;display:flex}.password-field--toggle .password-input{border-top-right-radius:0;border-bottom-right-radius:0;border-right:none}.password-field--toggle .toggle-button s-button button{border-bottom-left-radius:0;border-top-left-radius:0}"]
|
|
10092
10245
|
})
|
|
@@ -10096,8 +10249,9 @@ var PasswordFieldComponent = /** @class */ (function () {
|
|
|
10096
10249
|
|
|
10097
10250
|
var TextFieldComponent = /** @class */ (function (_super) {
|
|
10098
10251
|
__extends(TextFieldComponent, _super);
|
|
10099
|
-
function TextFieldComponent() {
|
|
10100
|
-
var _this = _super
|
|
10252
|
+
function TextFieldComponent(changeDetectorRef) {
|
|
10253
|
+
var _this = _super.call(this) || this;
|
|
10254
|
+
_this.changeDetectorRef = changeDetectorRef;
|
|
10101
10255
|
_this.onInput = new EventEmitter();
|
|
10102
10256
|
_this.onFocus = new EventEmitter();
|
|
10103
10257
|
_this.onComplete = new EventEmitter();
|
|
@@ -10119,10 +10273,16 @@ var TextFieldComponent = /** @class */ (function (_super) {
|
|
|
10119
10273
|
_this.field.onComplete(event);
|
|
10120
10274
|
});
|
|
10121
10275
|
};
|
|
10276
|
+
TextFieldComponent.prototype.ngAfterViewInit = function () {
|
|
10277
|
+
this.changeDetectorRef.detectChanges();
|
|
10278
|
+
};
|
|
10122
10279
|
TextFieldComponent.prototype.ngOnDestroy = function () {
|
|
10123
10280
|
this.ngUnsubscribe.next();
|
|
10124
10281
|
this.ngUnsubscribe.complete();
|
|
10125
10282
|
};
|
|
10283
|
+
TextFieldComponent.ctorParameters = function () { return [
|
|
10284
|
+
{ type: ChangeDetectorRef }
|
|
10285
|
+
]; };
|
|
10126
10286
|
__decorate([
|
|
10127
10287
|
Input()
|
|
10128
10288
|
], TextFieldComponent.prototype, "field", void 0);
|
|
@@ -10138,9 +10298,12 @@ var TextFieldComponent = /** @class */ (function (_super) {
|
|
|
10138
10298
|
__decorate([
|
|
10139
10299
|
Output()
|
|
10140
10300
|
], TextFieldComponent.prototype, "onComplete", void 0);
|
|
10301
|
+
__decorate([
|
|
10302
|
+
ViewChild('inputRef')
|
|
10303
|
+
], TextFieldComponent.prototype, "inputRef", void 0);
|
|
10141
10304
|
TextFieldComponent = __decorate([
|
|
10142
10305
|
Component({
|
|
10143
|
-
template: "<p-inputMask\n *ngIf=\"field.mask; else noMask\"\n [type]=\"field.inputType || 'text'\"\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [readonly]=\"field.readonly ? field.readonly() : false\">\n</p-inputMask>\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled(): field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{ field.leftAddon.label }}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container> \n\n <ng-container *ngTemplateOutlet=\"field.keyFilter ? inputKeyFilter : input\"></ng-container>\n\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{ field.rightAddon.label }}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container> \n </div>\n </ng-container>\n</ng-template>\n<ng-template #input>\n <input\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\" />\n</ng-template>\n<ng-template #inputKeyFilter>\n <input
|
|
10306
|
+
template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef?.nativeElement\"></s-field-label>\n\n<p-inputMask #inputRef\n *ngIf=\"field.mask; else noMask\"\n [type]=\"field.inputType || 'text'\"\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [readonly]=\"field.readonly ? field.readonly() : false\">\n</p-inputMask>\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled(): field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{ field.leftAddon.label }}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container> \n\n <ng-container *ngTemplateOutlet=\"field.keyFilter ? inputKeyFilter : input\"></ng-container>\n\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{ field.rightAddon.label }}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container> \n </div>\n </ng-container>\n</ng-template>\n<ng-template #input>\n <input #inputRef\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\" />\n</ng-template>\n<ng-template #inputKeyFilter>\n <input #inputText\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [pKeyFilter]=\"field.keyFilter\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\" />\n</ng-template>\n",
|
|
10144
10307
|
encapsulation: ViewEncapsulation.None,
|
|
10145
10308
|
styles: ["s-text-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-text-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}.addon-button{border:1px solid #c1c1cc}.addon-button s-button .s-button-with-text,.addon-button s-button button{height:100%;min-width:40px}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}"]
|
|
10146
10309
|
})
|
|
@@ -10159,7 +10322,7 @@ var ProfilePictureFieldComponent = /** @class */ (function () {
|
|
|
10159
10322
|
], ProfilePictureFieldComponent.prototype, "formControl", void 0);
|
|
10160
10323
|
ProfilePictureFieldComponent = __decorate([
|
|
10161
10324
|
Component({
|
|
10162
|
-
template: "<s-profile-picture-picker\n [formControl]=\"formControl\"\n [simpleTitle]=\"field.simpleTitle\"\n [actionTitle]=\"field.actionTitle\"\n [subtitle]=\"field.subtitle\"\n [aspectRatio]=\"field.aspectRatio\"\n [cropperLabelsConfig]=\"field.cropperLabelsConfig\"\n [removeButtonLabel]=\"field.removeButtonLabel\"\n [changeButtonLabel]=\"field.changeButtonLabel\"\n [confirmationTexts]=\"field.confirmationTexts\"\n [maxFileSize]=\"field.maxFileSize\"\n [accept]=\"field.accept\"\n [supportedExtensions]=\"field.supportedExtensions\"\n (changedImage)=\"field.onChangeImage ? field.onChangeImage($event) : null\"\n (removedImage)=\"field.onRemovedImage ? field.onRemovedImage() : null\"\n (invalidFile)=\"field.onInvalidFile ? field.onInvalidFile($event) : null\">\n</s-profile-picture-picker>"
|
|
10325
|
+
template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<s-profile-picture-picker\n [formControl]=\"formControl\"\n [simpleTitle]=\"field.simpleTitle\"\n [actionTitle]=\"field.actionTitle\"\n [subtitle]=\"field.subtitle\"\n [aspectRatio]=\"field.aspectRatio\"\n [cropperLabelsConfig]=\"field.cropperLabelsConfig\"\n [removeButtonLabel]=\"field.removeButtonLabel\"\n [changeButtonLabel]=\"field.changeButtonLabel\"\n [confirmationTexts]=\"field.confirmationTexts\"\n [maxFileSize]=\"field.maxFileSize\"\n [accept]=\"field.accept\"\n [supportedExtensions]=\"field.supportedExtensions\"\n (changedImage)=\"field.onChangeImage ? field.onChangeImage($event) : null\"\n (removedImage)=\"field.onRemovedImage ? field.onRemovedImage() : null\"\n (invalidFile)=\"field.onInvalidFile ? field.onInvalidFile($event) : null\">\n</s-profile-picture-picker>"
|
|
10163
10326
|
})
|
|
10164
10327
|
], ProfilePictureFieldComponent);
|
|
10165
10328
|
return ProfilePictureFieldComponent;
|
|
@@ -10413,15 +10576,50 @@ var DynamicFormDirective = /** @class */ (function () {
|
|
|
10413
10576
|
__decorate([
|
|
10414
10577
|
Input()
|
|
10415
10578
|
], DynamicFormDirective.prototype, "sDynamicForm", null);
|
|
10416
|
-
__decorate([
|
|
10417
|
-
Input("sDynamicFormDisplayTimeInfoSign")
|
|
10418
|
-
], DynamicFormDirective.prototype, "displayTimeInfoSign", void 0);
|
|
10419
10579
|
DynamicFormDirective = __decorate([
|
|
10420
10580
|
Directive({ selector: "[sDynamicForm]" })
|
|
10421
10581
|
], DynamicFormDirective);
|
|
10422
10582
|
return DynamicFormDirective;
|
|
10423
10583
|
}());
|
|
10424
10584
|
|
|
10585
|
+
var FieldLabelComponent = /** @class */ (function () {
|
|
10586
|
+
function FieldLabelComponent() {
|
|
10587
|
+
this.displayTimeInfoSign = 5000;
|
|
10588
|
+
}
|
|
10589
|
+
__decorate([
|
|
10590
|
+
Input()
|
|
10591
|
+
], FieldLabelComponent.prototype, "field", void 0);
|
|
10592
|
+
__decorate([
|
|
10593
|
+
Input()
|
|
10594
|
+
], FieldLabelComponent.prototype, "displayTimeInfoSign", void 0);
|
|
10595
|
+
__decorate([
|
|
10596
|
+
Input()
|
|
10597
|
+
], FieldLabelComponent.prototype, "fieldContainerRef", void 0);
|
|
10598
|
+
FieldLabelComponent = __decorate([
|
|
10599
|
+
Component({
|
|
10600
|
+
selector: 's-field-label',
|
|
10601
|
+
template: "<span *ngIf=\"field.label\">\n <label\n *sInfoSign=\"\n field.infoSign;\n displayTime: field.displayTimeInfoSign;\n focusedInputRef: fieldContainerRef\n \"\n [for]=\"field.name\"\n [ngClass]=\"{ required: field.required() }\">\n {{ field.label }}\n </label>\n</span>\n"
|
|
10602
|
+
})
|
|
10603
|
+
], FieldLabelComponent);
|
|
10604
|
+
return FieldLabelComponent;
|
|
10605
|
+
}());
|
|
10606
|
+
|
|
10607
|
+
var FieldLabelModule = /** @class */ (function () {
|
|
10608
|
+
function FieldLabelModule() {
|
|
10609
|
+
}
|
|
10610
|
+
FieldLabelModule = __decorate([
|
|
10611
|
+
NgModule({
|
|
10612
|
+
imports: [
|
|
10613
|
+
CommonModule,
|
|
10614
|
+
InfoSignModule
|
|
10615
|
+
],
|
|
10616
|
+
declarations: [FieldLabelComponent],
|
|
10617
|
+
exports: [FieldLabelComponent],
|
|
10618
|
+
})
|
|
10619
|
+
], FieldLabelModule);
|
|
10620
|
+
return FieldLabelModule;
|
|
10621
|
+
}());
|
|
10622
|
+
|
|
10425
10623
|
var PasswordFieldModule = /** @class */ (function () {
|
|
10426
10624
|
function PasswordFieldModule() {
|
|
10427
10625
|
}
|
|
@@ -10435,6 +10633,7 @@ var PasswordFieldModule = /** @class */ (function () {
|
|
|
10435
10633
|
TooltipModule,
|
|
10436
10634
|
PasswordStrengthModule,
|
|
10437
10635
|
InputTextModule,
|
|
10636
|
+
FieldLabelModule
|
|
10438
10637
|
],
|
|
10439
10638
|
declarations: [PasswordFieldComponent],
|
|
10440
10639
|
exports: [PasswordFieldComponent],
|
|
@@ -10457,6 +10656,7 @@ var TextFieldModule = /** @class */ (function () {
|
|
|
10457
10656
|
InputMaskModule,
|
|
10458
10657
|
InputTextModule,
|
|
10459
10658
|
KeyFilterModule,
|
|
10659
|
+
FieldLabelModule
|
|
10460
10660
|
],
|
|
10461
10661
|
declarations: [TextFieldComponent],
|
|
10462
10662
|
exports: [TextFieldComponent],
|
|
@@ -10467,9 +10667,11 @@ var TextFieldModule = /** @class */ (function () {
|
|
|
10467
10667
|
|
|
10468
10668
|
var NumberFieldComponent = /** @class */ (function (_super) {
|
|
10469
10669
|
__extends(NumberFieldComponent, _super);
|
|
10470
|
-
function NumberFieldComponent(localeService) {
|
|
10670
|
+
function NumberFieldComponent(localeService, elementRef, changeDetectorRef) {
|
|
10471
10671
|
var _this = _super.call(this) || this;
|
|
10472
10672
|
_this.localeService = localeService;
|
|
10673
|
+
_this.elementRef = elementRef;
|
|
10674
|
+
_this.changeDetectorRef = changeDetectorRef;
|
|
10473
10675
|
_this.onInput = new EventEmitter();
|
|
10474
10676
|
_this.onFocus = new EventEmitter();
|
|
10475
10677
|
_this.onComplete = new EventEmitter();
|
|
@@ -10492,6 +10694,10 @@ var NumberFieldComponent = /** @class */ (function (_super) {
|
|
|
10492
10694
|
_this.field.onComplete(event);
|
|
10493
10695
|
});
|
|
10494
10696
|
};
|
|
10697
|
+
NumberFieldComponent.prototype.ngAfterViewInit = function () {
|
|
10698
|
+
this.setInputRef();
|
|
10699
|
+
this.changeDetectorRef.detectChanges();
|
|
10700
|
+
};
|
|
10495
10701
|
NumberFieldComponent.prototype.ngOnDestroy = function () {
|
|
10496
10702
|
this.ngUnsubscribe.next();
|
|
10497
10703
|
this.ngUnsubscribe.complete();
|
|
@@ -10538,8 +10744,14 @@ var NumberFieldComponent = /** @class */ (function (_super) {
|
|
|
10538
10744
|
},
|
|
10539
10745
|
});
|
|
10540
10746
|
};
|
|
10747
|
+
NumberFieldComponent.prototype.setInputRef = function () {
|
|
10748
|
+
var input = this.elementRef.nativeElement.querySelector("input");
|
|
10749
|
+
this.inputRef = input;
|
|
10750
|
+
};
|
|
10541
10751
|
NumberFieldComponent.ctorParameters = function () { return [
|
|
10542
|
-
{ type: LocaleService }
|
|
10752
|
+
{ type: LocaleService },
|
|
10753
|
+
{ type: ElementRef },
|
|
10754
|
+
{ type: ChangeDetectorRef }
|
|
10543
10755
|
]; };
|
|
10544
10756
|
__decorate([
|
|
10545
10757
|
Input()
|
|
@@ -10558,7 +10770,7 @@ var NumberFieldComponent = /** @class */ (function (_super) {
|
|
|
10558
10770
|
], NumberFieldComponent.prototype, "onComplete", void 0);
|
|
10559
10771
|
NumberFieldComponent = __decorate([
|
|
10560
10772
|
Component({
|
|
10561
|
-
template: "<p-inputMask\n *ngIf=\"field.mask; else noMask\"\n type=\"text\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\" >\n</p-inputMask>\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled() : field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{field.leftAddon.label}}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container>\n\n <ng-container *ngTemplateOutlet=\"field.type === fieldType.Double && field.alignTo === numberAlignmentOption.LEFT ? localizedNumber : input\"></ng-container>\n\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{field.rightAddon.label}}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container>\n </div>\n </ng-container>\n</ng-template>\n<ng-template #input>\n <input\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n</ng-template>\n<ng-template #localizedNumber>\n <input\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sLocalizedNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n</ng-template>\n",
|
|
10773
|
+
template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"></s-field-label>\n\n<p-inputMask #inputRef\n *ngIf=\"field.mask; else noMask\"\n type=\"text\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\" >\n</p-inputMask>\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled() : field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{field.leftAddon.label}}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container>\n\n <ng-container *ngTemplateOutlet=\"field.type === fieldType.Double && field.alignTo === numberAlignmentOption.LEFT ? localizedNumber : input\"></ng-container>\n\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{field.rightAddon.label}}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container>\n </div>\n </ng-container>\n</ng-template>\n<ng-template #input>\n <input #inputRef\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n</ng-template>\n<ng-template #localizedNumber>\n <input #inputRef\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sLocalizedNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n</ng-template>\n",
|
|
10562
10774
|
encapsulation: ViewEncapsulation.None,
|
|
10563
10775
|
styles: ["s-number-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-number-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}.addon-button{border:1px solid #c1c1cc}.addon-button s-button .s-button-with-text,.addon-button s-button button{height:100%;min-width:40px}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}"]
|
|
10564
10776
|
})
|
|
@@ -10581,6 +10793,7 @@ var NumberFieldModule = /** @class */ (function () {
|
|
|
10581
10793
|
TooltipModule,
|
|
10582
10794
|
InputMaskModule,
|
|
10583
10795
|
InputTextModule,
|
|
10796
|
+
FieldLabelModule
|
|
10584
10797
|
],
|
|
10585
10798
|
declarations: [NumberFieldComponent],
|
|
10586
10799
|
exports: [NumberFieldComponent],
|
|
@@ -10594,7 +10807,16 @@ var CurrencyFieldModule = /** @class */ (function () {
|
|
|
10594
10807
|
}
|
|
10595
10808
|
CurrencyFieldModule = __decorate([
|
|
10596
10809
|
NgModule({
|
|
10597
|
-
imports: [
|
|
10810
|
+
imports: [
|
|
10811
|
+
CommonModule,
|
|
10812
|
+
FormsModule,
|
|
10813
|
+
ReactiveFormsModule,
|
|
10814
|
+
NumberInputModule,
|
|
10815
|
+
TooltipModule,
|
|
10816
|
+
InputMaskModule,
|
|
10817
|
+
InputTextModule,
|
|
10818
|
+
FieldLabelModule
|
|
10819
|
+
],
|
|
10598
10820
|
declarations: [CurrencyFieldComponent],
|
|
10599
10821
|
exports: [CurrencyFieldComponent],
|
|
10600
10822
|
})
|
|
@@ -10616,6 +10838,7 @@ var BignumberFieldModule = /** @class */ (function () {
|
|
|
10616
10838
|
TooltipModule,
|
|
10617
10839
|
InputMaskModule,
|
|
10618
10840
|
InputTextModule,
|
|
10841
|
+
FieldLabelModule
|
|
10619
10842
|
],
|
|
10620
10843
|
declarations: [BignumberFieldComponent],
|
|
10621
10844
|
exports: [BignumberFieldComponent],
|
|
@@ -11381,6 +11604,7 @@ var ProfilePictureModule = /** @class */ (function () {
|
|
|
11381
11604
|
FormsModule,
|
|
11382
11605
|
ReactiveFormsModule,
|
|
11383
11606
|
ProfilePicturePickerModule,
|
|
11607
|
+
FieldLabelModule
|
|
11384
11608
|
],
|
|
11385
11609
|
declarations: [ProfilePictureFieldComponent],
|
|
11386
11610
|
exports: [ProfilePictureFieldComponent],
|
|
@@ -11443,6 +11667,7 @@ var DynamicFormModule = /** @class */ (function () {
|
|
|
11443
11667
|
CurrencyFieldModule,
|
|
11444
11668
|
BignumberFieldModule,
|
|
11445
11669
|
ProfilePictureModule,
|
|
11670
|
+
FieldLabelModule
|
|
11446
11671
|
],
|
|
11447
11672
|
declarations: [
|
|
11448
11673
|
AutocompleteFieldComponent,
|
|
@@ -11647,6 +11872,7 @@ var CustomFieldsComponent = /** @class */ (function () {
|
|
|
11647
11872
|
_this.formGroup.patchValue(_this.parseValuesForFields(_this.value));
|
|
11648
11873
|
_this.ready = true;
|
|
11649
11874
|
});
|
|
11875
|
+
this.addDisplayTimeInfoSignToFields();
|
|
11650
11876
|
};
|
|
11651
11877
|
CustomFieldsComponent.prototype.ngAfterViewInit = function () {
|
|
11652
11878
|
this.enableOrDisableFields(this.disableFields);
|
|
@@ -12074,6 +12300,12 @@ var CustomFieldsComponent = /** @class */ (function () {
|
|
|
12074
12300
|
CustomFieldsComponent.prototype.getTranslateLabel = function (label) {
|
|
12075
12301
|
return this.translateService.instant(this.domain + "." + this.service + "." + label);
|
|
12076
12302
|
};
|
|
12303
|
+
CustomFieldsComponent.prototype.addDisplayTimeInfoSignToFields = function () {
|
|
12304
|
+
var _this = this;
|
|
12305
|
+
this.fields.forEach(function (field) {
|
|
12306
|
+
field.displayTimeInfoSign = _this.displayTimeInfoSign;
|
|
12307
|
+
});
|
|
12308
|
+
};
|
|
12077
12309
|
var CustomFieldsComponent_1;
|
|
12078
12310
|
CustomFieldsComponent.ctorParameters = function () { return [
|
|
12079
12311
|
{ type: CustomFieldsService },
|
|
@@ -12124,7 +12356,7 @@ var CustomFieldsComponent = /** @class */ (function () {
|
|
|
12124
12356
|
CustomFieldsComponent = CustomFieldsComponent_1 = __decorate([
|
|
12125
12357
|
Component({
|
|
12126
12358
|
selector: "s-custom-fields",
|
|
12127
|
-
template: "<s-dynamic-form [fields]=\"fields\"\n [form]=\"formGroup\"\n [errorMessages]=\"{pattern: invalidErrorLabel
|
|
12359
|
+
template: "<s-dynamic-form [fields]=\"fields\"\n [form]=\"formGroup\"\n [errorMessages]=\"{\n pattern: invalidErrorLabel,\n required: requiredErrorMessage}\">\n</s-dynamic-form>",
|
|
12128
12360
|
providers: [
|
|
12129
12361
|
{
|
|
12130
12362
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -18487,5 +18719,5 @@ var fallback = {
|
|
|
18487
18719
|
* Generated bundle index. Do not edit.
|
|
18488
18720
|
*/
|
|
18489
18721
|
|
|
18490
|
-
export { AccordionComponent, AccordionModule, AccordionPanelComponent, AlertComponent, AlertModule, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, CardComponent, CardModule, CardTemplateTypes, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CurrencyService, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DebounceUtils, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, EnumSeverity, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, FileUploadPermissions, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, IAInsightComponent, IAInsightModule, IAInsightTemplateTypes, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, KanbanComponent, KanbanModule, KanbanTemplateTypes, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationButtonComponent, NavigationButtonModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TextAreaField, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, convertToMomentDateFormat, countries, fallback, TooltipComponent as ɵa, TooltipDirective as ɵb,
|
|
18722
|
+
export { AccordionComponent, AccordionModule, AccordionPanelComponent, AlertComponent, AlertModule, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, CardComponent, CardModule, CardTemplateTypes, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CurrencyService, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DebounceUtils, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, EnumSeverity, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, FileUploadPermissions, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, IAInsightComponent, IAInsightModule, IAInsightTemplateTypes, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, KanbanComponent, KanbanModule, KanbanTemplateTypes, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationButtonComponent, NavigationButtonModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TextAreaField, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, convertToMomentDateFormat, countries, fallback, TooltipComponent as ɵa, TooltipDirective as ɵb, FieldLabelComponent as ɵba, PasswordFieldComponent as ɵbb, TextFieldModule as ɵbc, TextFieldComponent as ɵbd, NumberFieldModule as ɵbe, LocalizedNumberInputModule as ɵbf, NumberInputModule as ɵbg, NumberFieldComponent as ɵbh, CurrencyFieldModule as ɵbi, CurrencyFieldComponent as ɵbj, BignumberFieldModule as ɵbk, BignumberInputModule as ɵbl, BignumberFieldComponent as ɵbm, ProfilePictureModule as ɵbn, ThumbnailService as ɵbo, StructureModule as ɵbp, HeaderComponent as ɵbq, FooterComponent as ɵbr, ProfilePictureFieldComponent as ɵbs, AutocompleteFieldComponent as ɵbt, BooleanFieldComponent as ɵbu, BooleanSwitchFieldComponent as ɵbv, CalendarFieldComponent as ɵbw, ChipsFieldComponent as ɵbx, CountryPhonePickerFieldComponent as ɵby, DynamicFieldComponent as ɵbz, TemplateDirective as ɵc, DynamicFormDirective as ɵca, FieldsetComponent as ɵcb, FileUploadComponent$1 as ɵcc, LookupFieldComponent as ɵcd, RadioButtonComponent as ɵce, RowComponent as ɵcf, SectionComponent as ɵcg, SelectFieldComponent as ɵch, SliderFieldComponent as ɵci, TextAreaFieldComponent as ɵcj, TextAreaIAFieldComponent as ɵck, IAssistService as ɵcl, DecimalField as ɵcn, SideTableComponent as ɵco, InfiniteScrollModule as ɵcp, InfiniteScrollDirective as ɵcq, IAInsightSidebarComponent as ɵcr, IAInsightCardComponent as ɵcs, IAInsightCardLoaderComponent as ɵct, KanbanEventService as ɵcu, KanbanItemComponent as ɵcv, KanbanColumnComponent as ɵcw, KanbanItemDraggingComponent as ɵcx, NumberLocaleOptions as ɵcy, TieredMenuEventService as ɵcz, TemplateModule as ɵd, TieredMenuService as ɵda, TieredMenuGlobalService as ɵdb, TieredMenuComponent as ɵdc, TieredMenuNestedComponent as ɵdd, TieredMenuItemComponent as ɵde, TieredMenuDividerComponent as ɵdf, BorderButtonModule as ɵdg, BorderButtonComponent as ɵdh, ProgressBarDeterminateComponent as ɵdi, ProgressBarIndeterminateComponent as ɵdj, SelectButtonItemComponent as ɵdk, SlidePanelService as ɵdl, TimelineItemModule as ɵdm, TimelineIconItemComponent as ɵdn, HorizontalTimelineModule as ɵdo, HorizontalTimelineComponent as ɵdp, VerticalTimelineModule as ɵdq, VerticalTimelineComponent as ɵdr, RangeLineComponent as ɵds, CollapseOptionComponent as ɵdt, CollapsedItemsComponent as ɵdu, VerticalItemsComponent as ɵdv, CustomTranslationsModule as ɵe, CodeEditorComponent as ɵf, CoreFacade as ɵg, CodeMirror6Core as ɵh, CountryPhonePickerService as ɵi, LocalizedCurrencyImpurePipe as ɵj, LocalizedBignumberPipe as ɵk, LocalizedBignumberImpurePipe as ɵl, NumericPipe as ɵm, NumericService as ɵn, EmptyStateGoBackComponent as ɵo, IAssistIconComponent as ɵp, SeniorIconComponent as ɵq, DotsIndicatorComponent as ɵr, LoadingIndicatorComponent as ɵs, FileUploadService as ɵt, InfoSignComponent as ɵu, TableColumnsComponent as ɵv, TablePagingComponent as ɵw, PasswordFieldModule as ɵx, FieldLabelModule as ɵy, InfoSignModule as ɵz };
|
|
18491
18723
|
//# sourceMappingURL=seniorsistemas-angular-components.js.map
|