@seniorsistemas/angular-components 17.9.5 → 17.9.7
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 +385 -149
- 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/locale/index.d.ts +1 -0
- 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/locale/index.js +2 -1
- package/esm2015/components/locale/services/numeric.service.js +4 -3
- package/esm2015/components/tooltip/tooltip.directive.js +33 -2
- package/esm2015/seniorsistemas-angular-components.js +86 -84
- 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/locale/index.js +2 -1
- package/esm5/components/locale/services/numeric.service.js +4 -3
- package/esm5/components/tooltip/tooltip.directive.js +40 -8
- package/esm5/seniorsistemas-angular-components.js +86 -84
- package/fesm2015/seniorsistemas-angular-components.js +290 -64
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +301 -68
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.d.ts +85 -83
- 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;
|
|
@@ -7241,10 +7277,11 @@ var NumericService = /** @class */ (function () {
|
|
|
7241
7277
|
* @return `string` The formatted value.
|
|
7242
7278
|
*/
|
|
7243
7279
|
NumericService.prototype.instant = function (value, options) {
|
|
7244
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
7280
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
7245
7281
|
options = __assign(__assign({}, options), { locale: (_c = (_a = options === null || options === void 0 ? void 0 : options.locale) !== null && _a !== void 0 ? _a : (_b = this.localeService.getLocaleOptions()) === null || _b === void 0 ? void 0 : _b.locale) !== null && _c !== void 0 ? _c : "pt-BR", numberFormatOptions: __assign(__assign({}, options === null || options === void 0 ? void 0 : options.numberFormatOptions), { currency: ((_d = options === null || options === void 0 ? void 0 : options.numberFormatOptions) === null || _d === void 0 ? void 0 : _d.style) === "currency" ? ((_f = (_e = options === null || options === void 0 ? void 0 : options.numberFormatOptions) === null || _e === void 0 ? void 0 : _e.currency) !== null && _f !== void 0 ? _f : "BRL") : undefined, currencyDisplay: ((_g = options === null || options === void 0 ? void 0 : options.numberFormatOptions) === null || _g === void 0 ? void 0 : _g.style) === "currency"
|
|
7246
7282
|
? ((_j = (_h = options === null || options === void 0 ? void 0 : options.numberFormatOptions) === null || _h === void 0 ? void 0 : _h.currencyDisplay) !== null && _j !== void 0 ? _j : "narrowSymbol")
|
|
7247
|
-
: undefined, minimumFractionDigits: (_l = (_k = options === null || options === void 0 ? void 0 : options.numberFormatOptions) === null || _k === void 0 ? void 0 : _k.minimumFractionDigits) !== null && _l !== void 0 ? _l : 2, maximumFractionDigits: (
|
|
7283
|
+
: undefined, minimumFractionDigits: (_o = (_l = (_k = options === null || options === void 0 ? void 0 : options.numberFormatOptions) === null || _k === void 0 ? void 0 : _k.minimumFractionDigits) !== null && _l !== void 0 ? _l : (_m = options === null || options === void 0 ? void 0 : options.numberFormatOptions) === null || _m === void 0 ? void 0 : _m.maximumFractionDigits) !== null && _o !== void 0 ? _o : 2, maximumFractionDigits: (_s = (_q = (_p = options === null || options === void 0 ? void 0 : options.numberFormatOptions) === null || _p === void 0 ? void 0 : _p.maximumFractionDigits) !== null && _q !== void 0 ? _q : (_r = options === null || options === void 0 ? void 0 : options.numberFormatOptions) === null || _r === void 0 ? void 0 : _r.minimumFractionDigits) !== null && _s !== void 0 ? _s : 2 }) });
|
|
7284
|
+
options.numberFormatOptions["roundingMode"] = "trunc";
|
|
7248
7285
|
options.numberFormatOptions["trailingZeroDisplay"] = "stripIfInteger";
|
|
7249
7286
|
// From https://developer.mozilla.org/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
|
|
7250
7287
|
return new Intl.NumberFormat(options.locale, options.numberFormatOptions).format(this.getType(value) === "number" || this.getType(value) === "string" ? value : value.toString());
|
|
@@ -9052,8 +9089,21 @@ var TableHeaderCheckboxModule = /** @class */ (function () {
|
|
|
9052
9089
|
}());
|
|
9053
9090
|
|
|
9054
9091
|
var AutocompleteFieldComponent = /** @class */ (function () {
|
|
9055
|
-
function AutocompleteFieldComponent() {
|
|
9092
|
+
function AutocompleteFieldComponent(changeDetectorRef, elementRef) {
|
|
9093
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
9094
|
+
this.elementRef = elementRef;
|
|
9056
9095
|
}
|
|
9096
|
+
AutocompleteFieldComponent.prototype.ngAfterViewInit = function () {
|
|
9097
|
+
this.setInputRef();
|
|
9098
|
+
this.changeDetectorRef.detectChanges();
|
|
9099
|
+
};
|
|
9100
|
+
AutocompleteFieldComponent.prototype.setInputRef = function () {
|
|
9101
|
+
this.inputRef = this.elementRef.nativeElement.querySelector('input');
|
|
9102
|
+
};
|
|
9103
|
+
AutocompleteFieldComponent.ctorParameters = function () { return [
|
|
9104
|
+
{ type: ChangeDetectorRef },
|
|
9105
|
+
{ type: ElementRef }
|
|
9106
|
+
]; };
|
|
9057
9107
|
__decorate([
|
|
9058
9108
|
Input()
|
|
9059
9109
|
], AutocompleteFieldComponent.prototype, "field", void 0);
|
|
@@ -9062,7 +9112,7 @@ var AutocompleteFieldComponent = /** @class */ (function () {
|
|
|
9062
9112
|
], AutocompleteFieldComponent.prototype, "formControl", void 0);
|
|
9063
9113
|
AutocompleteFieldComponent = __decorate([
|
|
9064
9114
|
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"
|
|
9115
|
+
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
9116
|
})
|
|
9067
9117
|
], AutocompleteFieldComponent);
|
|
9068
9118
|
return AutocompleteFieldComponent;
|
|
@@ -9082,7 +9132,7 @@ var BooleanFieldComponent = /** @class */ (function () {
|
|
|
9082
9132
|
], BooleanFieldComponent.prototype, "formControl", void 0);
|
|
9083
9133
|
BooleanFieldComponent = __decorate([
|
|
9084
9134
|
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"
|
|
9135
|
+
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
9136
|
})
|
|
9087
9137
|
], BooleanFieldComponent);
|
|
9088
9138
|
return BooleanFieldComponent;
|
|
@@ -9106,8 +9156,10 @@ var BooleanSwitchFieldComponent = /** @class */ (function () {
|
|
|
9106
9156
|
}());
|
|
9107
9157
|
|
|
9108
9158
|
var CalendarFieldComponent = /** @class */ (function () {
|
|
9109
|
-
function CalendarFieldComponent(translateService) {
|
|
9159
|
+
function CalendarFieldComponent(translateService, changeDetectorRef, elementRef) {
|
|
9110
9160
|
this.translateService = translateService;
|
|
9161
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
9162
|
+
this.elementRef = elementRef;
|
|
9111
9163
|
this.locale = {
|
|
9112
9164
|
firstDayOfWeek: 0,
|
|
9113
9165
|
dayNames: [
|
|
@@ -9171,8 +9223,17 @@ var CalendarFieldComponent = /** @class */ (function () {
|
|
|
9171
9223
|
hourFormat: this.translateService.instant("platform.angular_components.hour_format"),
|
|
9172
9224
|
};
|
|
9173
9225
|
}
|
|
9226
|
+
CalendarFieldComponent.prototype.ngAfterViewInit = function () {
|
|
9227
|
+
this.setInputRef();
|
|
9228
|
+
this.changeDetectorRef.detectChanges();
|
|
9229
|
+
};
|
|
9230
|
+
CalendarFieldComponent.prototype.setInputRef = function () {
|
|
9231
|
+
this.inputRef = this.elementRef.nativeElement.querySelector('input');
|
|
9232
|
+
};
|
|
9174
9233
|
CalendarFieldComponent.ctorParameters = function () { return [
|
|
9175
|
-
{ type: TranslateService }
|
|
9234
|
+
{ type: TranslateService },
|
|
9235
|
+
{ type: ChangeDetectorRef },
|
|
9236
|
+
{ type: ElementRef }
|
|
9176
9237
|
]; };
|
|
9177
9238
|
__decorate([
|
|
9178
9239
|
Input()
|
|
@@ -9186,17 +9247,22 @@ var CalendarFieldComponent = /** @class */ (function () {
|
|
|
9186
9247
|
__decorate([
|
|
9187
9248
|
Input()
|
|
9188
9249
|
], CalendarFieldComponent.prototype, "timeOnly", void 0);
|
|
9250
|
+
__decorate([
|
|
9251
|
+
ViewChild('calendar')
|
|
9252
|
+
], CalendarFieldComponent.prototype, "calendar", void 0);
|
|
9189
9253
|
CalendarFieldComponent = __decorate([
|
|
9190
9254
|
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"
|
|
9255
|
+
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
9256
|
})
|
|
9193
9257
|
], CalendarFieldComponent);
|
|
9194
9258
|
return CalendarFieldComponent;
|
|
9195
9259
|
}());
|
|
9196
9260
|
|
|
9197
9261
|
var ChipsFieldComponent = /** @class */ (function () {
|
|
9198
|
-
function ChipsFieldComponent(clipboard) {
|
|
9262
|
+
function ChipsFieldComponent(clipboard, changeDetectorRef, elementRef) {
|
|
9199
9263
|
this.clipboard = clipboard;
|
|
9264
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
9265
|
+
this.elementRef = elementRef;
|
|
9200
9266
|
this.feedbackMessageVisible = false;
|
|
9201
9267
|
this.copyButtonVisible = true;
|
|
9202
9268
|
}
|
|
@@ -9216,8 +9282,17 @@ var ChipsFieldComponent = /** @class */ (function () {
|
|
|
9216
9282
|
}
|
|
9217
9283
|
}
|
|
9218
9284
|
};
|
|
9285
|
+
ChipsFieldComponent.prototype.ngAfterViewInit = function () {
|
|
9286
|
+
this.setInputRef();
|
|
9287
|
+
this.changeDetectorRef.detectChanges();
|
|
9288
|
+
};
|
|
9289
|
+
ChipsFieldComponent.prototype.setInputRef = function () {
|
|
9290
|
+
this.inputRef = this.elementRef.nativeElement.querySelector('input');
|
|
9291
|
+
};
|
|
9219
9292
|
ChipsFieldComponent.ctorParameters = function () { return [
|
|
9220
|
-
{ type: Clipboard }
|
|
9293
|
+
{ type: Clipboard },
|
|
9294
|
+
{ type: ChangeDetectorRef },
|
|
9295
|
+
{ type: ElementRef }
|
|
9221
9296
|
]; };
|
|
9222
9297
|
__decorate([
|
|
9223
9298
|
Input()
|
|
@@ -9227,7 +9302,7 @@ var ChipsFieldComponent = /** @class */ (function () {
|
|
|
9227
9302
|
], ChipsFieldComponent.prototype, "formControl", void 0);
|
|
9228
9303
|
ChipsFieldComponent = __decorate([
|
|
9229
9304
|
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",
|
|
9305
|
+
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
9306
|
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
9307
|
})
|
|
9233
9308
|
], ChipsFieldComponent);
|
|
@@ -9235,8 +9310,21 @@ var ChipsFieldComponent = /** @class */ (function () {
|
|
|
9235
9310
|
}());
|
|
9236
9311
|
|
|
9237
9312
|
var CountryPhonePickerFieldComponent = /** @class */ (function () {
|
|
9238
|
-
function CountryPhonePickerFieldComponent() {
|
|
9313
|
+
function CountryPhonePickerFieldComponent(changeDetectorRef, elementRef) {
|
|
9314
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
9315
|
+
this.elementRef = elementRef;
|
|
9239
9316
|
}
|
|
9317
|
+
CountryPhonePickerFieldComponent.prototype.ngAfterViewInit = function () {
|
|
9318
|
+
this.setInputRef();
|
|
9319
|
+
this.changeDetectorRef.detectChanges();
|
|
9320
|
+
};
|
|
9321
|
+
CountryPhonePickerFieldComponent.prototype.setInputRef = function () {
|
|
9322
|
+
this.inputRef = this.elementRef.nativeElement.querySelector('input');
|
|
9323
|
+
};
|
|
9324
|
+
CountryPhonePickerFieldComponent.ctorParameters = function () { return [
|
|
9325
|
+
{ type: ChangeDetectorRef },
|
|
9326
|
+
{ type: ElementRef }
|
|
9327
|
+
]; };
|
|
9240
9328
|
__decorate([
|
|
9241
9329
|
Input()
|
|
9242
9330
|
], CountryPhonePickerFieldComponent.prototype, "field", void 0);
|
|
@@ -9245,7 +9333,7 @@ var CountryPhonePickerFieldComponent = /** @class */ (function () {
|
|
|
9245
9333
|
], CountryPhonePickerFieldComponent.prototype, "formControl", void 0);
|
|
9246
9334
|
CountryPhonePickerFieldComponent = __decorate([
|
|
9247
9335
|
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>"
|
|
9336
|
+
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
9337
|
})
|
|
9250
9338
|
], CountryPhonePickerFieldComponent);
|
|
9251
9339
|
return CountryPhonePickerFieldComponent;
|
|
@@ -9277,18 +9365,48 @@ var FieldsetComponent = /** @class */ (function () {
|
|
|
9277
9365
|
|
|
9278
9366
|
var FileUploadComponent$1 = /** @class */ (function (_super) {
|
|
9279
9367
|
__extends(FileUploadComponent, _super);
|
|
9280
|
-
function FileUploadComponent() {
|
|
9281
|
-
|
|
9368
|
+
function FileUploadComponent(changeDetectorRef, elementRef) {
|
|
9369
|
+
var _this = _super.call(this) || this;
|
|
9370
|
+
_this.changeDetectorRef = changeDetectorRef;
|
|
9371
|
+
_this.elementRef = elementRef;
|
|
9372
|
+
return _this;
|
|
9282
9373
|
}
|
|
9374
|
+
FileUploadComponent.prototype.onClick = function () {
|
|
9375
|
+
this.dispatchFocusInputRef();
|
|
9376
|
+
this.addEventOnBlur();
|
|
9377
|
+
};
|
|
9378
|
+
FileUploadComponent.prototype.ngAfterViewInit = function () {
|
|
9379
|
+
this.setInputRef();
|
|
9380
|
+
this.changeDetectorRef.detectChanges();
|
|
9381
|
+
};
|
|
9382
|
+
FileUploadComponent.prototype.addEventOnBlur = function () {
|
|
9383
|
+
var _this = this;
|
|
9384
|
+
fromEvent(document, 'click')
|
|
9385
|
+
.pipe(filter(function (event) { return !_this.elementRef.nativeElement.contains(event.target); }), take(1))
|
|
9386
|
+
.subscribe(function () { return _this.inputRef.dispatchEvent(new Event('blur')); });
|
|
9387
|
+
};
|
|
9388
|
+
FileUploadComponent.prototype.setInputRef = function () {
|
|
9389
|
+
this.inputRef = this.elementRef.nativeElement.querySelector('input');
|
|
9390
|
+
};
|
|
9391
|
+
FileUploadComponent.prototype.dispatchFocusInputRef = function () {
|
|
9392
|
+
this.inputRef.dispatchEvent(new Event('focus'));
|
|
9393
|
+
};
|
|
9394
|
+
FileUploadComponent.ctorParameters = function () { return [
|
|
9395
|
+
{ type: ChangeDetectorRef },
|
|
9396
|
+
{ type: ElementRef }
|
|
9397
|
+
]; };
|
|
9283
9398
|
__decorate([
|
|
9284
9399
|
Input()
|
|
9285
9400
|
], FileUploadComponent.prototype, "field", void 0);
|
|
9286
9401
|
__decorate([
|
|
9287
9402
|
Input()
|
|
9288
9403
|
], FileUploadComponent.prototype, "formControl", void 0);
|
|
9404
|
+
__decorate([
|
|
9405
|
+
HostListener('click')
|
|
9406
|
+
], FileUploadComponent.prototype, "onClick", null);
|
|
9289
9407
|
FileUploadComponent = __decorate([
|
|
9290
9408
|
Component({
|
|
9291
|
-
template: "<s-file-upload
|
|
9409
|
+
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
9410
|
})
|
|
9293
9411
|
], FileUploadComponent);
|
|
9294
9412
|
return FileUploadComponent;
|
|
@@ -9305,7 +9423,7 @@ var LookupFieldComponent = /** @class */ (function () {
|
|
|
9305
9423
|
], LookupFieldComponent.prototype, "formControl", void 0);
|
|
9306
9424
|
LookupFieldComponent = __decorate([
|
|
9307
9425
|
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"
|
|
9426
|
+
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
9427
|
})
|
|
9310
9428
|
], LookupFieldComponent);
|
|
9311
9429
|
return LookupFieldComponent;
|
|
@@ -9349,7 +9467,7 @@ var RadioButtonComponent = /** @class */ (function () {
|
|
|
9349
9467
|
], RadioButtonComponent.prototype, "onFocus", void 0);
|
|
9350
9468
|
RadioButtonComponent = __decorate([
|
|
9351
9469
|
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",
|
|
9470
|
+
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
9471
|
encapsulation: ViewEncapsulation.None,
|
|
9354
9472
|
styles: ["\n s-button.horizontal-clear-option button {\n width: min-content !important;\n }\n "]
|
|
9355
9473
|
})
|
|
@@ -9393,7 +9511,7 @@ var SelectFieldComponent = /** @class */ (function (_super) {
|
|
|
9393
9511
|
], SelectFieldComponent.prototype, "formControl", void 0);
|
|
9394
9512
|
SelectFieldComponent = __decorate([
|
|
9395
9513
|
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"
|
|
9514
|
+
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
9515
|
})
|
|
9398
9516
|
], SelectFieldComponent);
|
|
9399
9517
|
return SelectFieldComponent;
|
|
@@ -9508,7 +9626,7 @@ var SliderFieldComponent = /** @class */ (function (_super) {
|
|
|
9508
9626
|
], SliderFieldComponent.prototype, "onSlideEnd", void 0);
|
|
9509
9627
|
SliderFieldComponent = __decorate([
|
|
9510
9628
|
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>",
|
|
9629
|
+
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
9630
|
styles: [".slider-label{margin-bottom:5px;margin-left:-10px}.slider-group{margin-left:9px;margin-right:11px}"]
|
|
9513
9631
|
})
|
|
9514
9632
|
], SliderFieldComponent);
|
|
@@ -9516,17 +9634,27 @@ var SliderFieldComponent = /** @class */ (function (_super) {
|
|
|
9516
9634
|
}(BaseFieldComponent));
|
|
9517
9635
|
|
|
9518
9636
|
var TextAreaFieldComponent = /** @class */ (function () {
|
|
9519
|
-
function TextAreaFieldComponent() {
|
|
9637
|
+
function TextAreaFieldComponent(changeDetectorRef) {
|
|
9638
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
9520
9639
|
}
|
|
9640
|
+
TextAreaFieldComponent.prototype.ngAfterViewInit = function () {
|
|
9641
|
+
this.changeDetectorRef.detectChanges();
|
|
9642
|
+
};
|
|
9643
|
+
TextAreaFieldComponent.ctorParameters = function () { return [
|
|
9644
|
+
{ type: ChangeDetectorRef }
|
|
9645
|
+
]; };
|
|
9521
9646
|
__decorate([
|
|
9522
9647
|
Input()
|
|
9523
9648
|
], TextAreaFieldComponent.prototype, "field", void 0);
|
|
9524
9649
|
__decorate([
|
|
9525
9650
|
Input()
|
|
9526
9651
|
], TextAreaFieldComponent.prototype, "formControl", void 0);
|
|
9652
|
+
__decorate([
|
|
9653
|
+
ViewChild('inputRef')
|
|
9654
|
+
], TextAreaFieldComponent.prototype, "inputRef", void 0);
|
|
9527
9655
|
TextAreaFieldComponent = __decorate([
|
|
9528
9656
|
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"
|
|
9657
|
+
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
9658
|
})
|
|
9531
9659
|
], TextAreaFieldComponent);
|
|
9532
9660
|
return TextAreaFieldComponent;
|
|
@@ -9600,9 +9728,12 @@ var TextAreaIAFieldComponent = /** @class */ (function () {
|
|
|
9600
9728
|
__decorate([
|
|
9601
9729
|
Input()
|
|
9602
9730
|
], TextAreaIAFieldComponent.prototype, "formControl", void 0);
|
|
9731
|
+
__decorate([
|
|
9732
|
+
ViewChild('inputRef')
|
|
9733
|
+
], TextAreaIAFieldComponent.prototype, "inputRef", void 0);
|
|
9603
9734
|
TextAreaIAFieldComponent = __decorate([
|
|
9604
9735
|
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>",
|
|
9736
|
+
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
9737
|
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
9738
|
})
|
|
9608
9739
|
], TextAreaIAFieldComponent);
|
|
@@ -9635,7 +9766,7 @@ var RowComponent = /** @class */ (function () {
|
|
|
9635
9766
|
], RowComponent.prototype, "errorMessages", void 0);
|
|
9636
9767
|
RowComponent = __decorate([
|
|
9637
9768
|
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 <
|
|
9769
|
+
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
9770
|
})
|
|
9640
9771
|
], RowComponent);
|
|
9641
9772
|
return RowComponent;
|
|
@@ -9665,13 +9796,10 @@ var DynamicFieldComponent = /** @class */ (function () {
|
|
|
9665
9796
|
__decorate([
|
|
9666
9797
|
Input()
|
|
9667
9798
|
], DynamicFieldComponent.prototype, "errorMessages", void 0);
|
|
9668
|
-
__decorate([
|
|
9669
|
-
Input()
|
|
9670
|
-
], DynamicFieldComponent.prototype, "displayTimeInfoSign", void 0);
|
|
9671
9799
|
DynamicFieldComponent = __decorate([
|
|
9672
9800
|
Component({
|
|
9673
9801
|
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\"
|
|
9802
|
+
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
9803
|
})
|
|
9676
9804
|
], DynamicFieldComponent);
|
|
9677
9805
|
return DynamicFieldComponent;
|
|
@@ -9690,9 +9818,10 @@ var StructureType;
|
|
|
9690
9818
|
|
|
9691
9819
|
var BignumberFieldComponent = /** @class */ (function (_super) {
|
|
9692
9820
|
__extends(BignumberFieldComponent, _super);
|
|
9693
|
-
function BignumberFieldComponent(localeService) {
|
|
9821
|
+
function BignumberFieldComponent(localeService, changeDetectorRef) {
|
|
9694
9822
|
var _this = _super.call(this) || this;
|
|
9695
9823
|
_this.localeService = localeService;
|
|
9824
|
+
_this.changeDetectorRef = changeDetectorRef;
|
|
9696
9825
|
_this.onInput = new EventEmitter();
|
|
9697
9826
|
_this.onFocus = new EventEmitter();
|
|
9698
9827
|
_this.onComplete = new EventEmitter();
|
|
@@ -9757,8 +9886,12 @@ var BignumberFieldComponent = /** @class */ (function (_super) {
|
|
|
9757
9886
|
},
|
|
9758
9887
|
});
|
|
9759
9888
|
};
|
|
9889
|
+
BignumberFieldComponent.prototype.ngAfterViewInit = function () {
|
|
9890
|
+
this.changeDetectorRef.detectChanges();
|
|
9891
|
+
};
|
|
9760
9892
|
BignumberFieldComponent.ctorParameters = function () { return [
|
|
9761
|
-
{ type: LocaleService }
|
|
9893
|
+
{ type: LocaleService },
|
|
9894
|
+
{ type: ChangeDetectorRef }
|
|
9762
9895
|
]; };
|
|
9763
9896
|
__decorate([
|
|
9764
9897
|
Input()
|
|
@@ -9775,9 +9908,12 @@ var BignumberFieldComponent = /** @class */ (function (_super) {
|
|
|
9775
9908
|
__decorate([
|
|
9776
9909
|
Output()
|
|
9777
9910
|
], BignumberFieldComponent.prototype, "onComplete", void 0);
|
|
9911
|
+
__decorate([
|
|
9912
|
+
ViewChild('inputRef')
|
|
9913
|
+
], BignumberFieldComponent.prototype, "inputRef", void 0);
|
|
9778
9914
|
BignumberFieldComponent = __decorate([
|
|
9779
9915
|
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",
|
|
9916
|
+
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
9917
|
encapsulation: ViewEncapsulation.None,
|
|
9782
9918
|
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
9919
|
})
|
|
@@ -9975,10 +10111,11 @@ var CurrencyService = /** @class */ (function () {
|
|
|
9975
10111
|
*/
|
|
9976
10112
|
var CurrencyFieldComponent = /** @class */ (function (_super) {
|
|
9977
10113
|
__extends(CurrencyFieldComponent, _super);
|
|
9978
|
-
function CurrencyFieldComponent(localeService,
|
|
10114
|
+
function CurrencyFieldComponent(currencyService, localeService, changeDetectorRef) {
|
|
9979
10115
|
var _this = _super.call(this) || this;
|
|
9980
|
-
_this.localeService = localeService;
|
|
9981
10116
|
_this.currencyService = currencyService;
|
|
10117
|
+
_this.localeService = localeService;
|
|
10118
|
+
_this.changeDetectorRef = changeDetectorRef;
|
|
9982
10119
|
return _this;
|
|
9983
10120
|
}
|
|
9984
10121
|
CurrencyFieldComponent.prototype.ngOnInit = function () {
|
|
@@ -10012,9 +10149,13 @@ var CurrencyFieldComponent = /** @class */ (function (_super) {
|
|
|
10012
10149
|
},
|
|
10013
10150
|
});
|
|
10014
10151
|
};
|
|
10152
|
+
CurrencyFieldComponent.prototype.ngAfterViewInit = function () {
|
|
10153
|
+
this.changeDetectorRef.detectChanges();
|
|
10154
|
+
};
|
|
10015
10155
|
CurrencyFieldComponent.ctorParameters = function () { return [
|
|
10156
|
+
{ type: CurrencyService },
|
|
10016
10157
|
{ type: LocaleService },
|
|
10017
|
-
{ type:
|
|
10158
|
+
{ type: ChangeDetectorRef }
|
|
10018
10159
|
]; };
|
|
10019
10160
|
__decorate([
|
|
10020
10161
|
Input()
|
|
@@ -10022,16 +10163,20 @@ var CurrencyFieldComponent = /** @class */ (function (_super) {
|
|
|
10022
10163
|
__decorate([
|
|
10023
10164
|
Input()
|
|
10024
10165
|
], CurrencyFieldComponent.prototype, "formControl", void 0);
|
|
10166
|
+
__decorate([
|
|
10167
|
+
ViewChild('inputRef')
|
|
10168
|
+
], CurrencyFieldComponent.prototype, "inputRef", void 0);
|
|
10025
10169
|
CurrencyFieldComponent = __decorate([
|
|
10026
10170
|
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
|
|
10171
|
+
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
10172
|
})
|
|
10029
10173
|
], CurrencyFieldComponent);
|
|
10030
10174
|
return CurrencyFieldComponent;
|
|
10031
10175
|
}(BaseFieldComponent));
|
|
10032
10176
|
|
|
10033
10177
|
var PasswordFieldComponent = /** @class */ (function () {
|
|
10034
|
-
function PasswordFieldComponent() {
|
|
10178
|
+
function PasswordFieldComponent(changeDetectorRef) {
|
|
10179
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
10035
10180
|
this.onInput = new EventEmitter();
|
|
10036
10181
|
this.onFocus = new EventEmitter();
|
|
10037
10182
|
this.onComplete = new EventEmitter();
|
|
@@ -10069,6 +10214,12 @@ var PasswordFieldComponent = /** @class */ (function () {
|
|
|
10069
10214
|
PasswordFieldComponent.prototype.onChangeVisible = function () {
|
|
10070
10215
|
this.passwordVisible = !this.passwordVisible;
|
|
10071
10216
|
};
|
|
10217
|
+
PasswordFieldComponent.prototype.ngAfterViewInit = function () {
|
|
10218
|
+
this.changeDetectorRef.detectChanges();
|
|
10219
|
+
};
|
|
10220
|
+
PasswordFieldComponent.ctorParameters = function () { return [
|
|
10221
|
+
{ type: ChangeDetectorRef }
|
|
10222
|
+
]; };
|
|
10072
10223
|
__decorate([
|
|
10073
10224
|
Input()
|
|
10074
10225
|
], PasswordFieldComponent.prototype, "field", void 0);
|
|
@@ -10084,9 +10235,12 @@ var PasswordFieldComponent = /** @class */ (function () {
|
|
|
10084
10235
|
__decorate([
|
|
10085
10236
|
Output()
|
|
10086
10237
|
], PasswordFieldComponent.prototype, "onComplete", void 0);
|
|
10238
|
+
__decorate([
|
|
10239
|
+
ViewChild('inputRef')
|
|
10240
|
+
], PasswordFieldComponent.prototype, "inputRef", void 0);
|
|
10087
10241
|
PasswordFieldComponent = __decorate([
|
|
10088
10242
|
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",
|
|
10243
|
+
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
10244
|
encapsulation: ViewEncapsulation.None,
|
|
10091
10245
|
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
10246
|
})
|
|
@@ -10096,8 +10250,9 @@ var PasswordFieldComponent = /** @class */ (function () {
|
|
|
10096
10250
|
|
|
10097
10251
|
var TextFieldComponent = /** @class */ (function (_super) {
|
|
10098
10252
|
__extends(TextFieldComponent, _super);
|
|
10099
|
-
function TextFieldComponent() {
|
|
10100
|
-
var _this = _super
|
|
10253
|
+
function TextFieldComponent(changeDetectorRef) {
|
|
10254
|
+
var _this = _super.call(this) || this;
|
|
10255
|
+
_this.changeDetectorRef = changeDetectorRef;
|
|
10101
10256
|
_this.onInput = new EventEmitter();
|
|
10102
10257
|
_this.onFocus = new EventEmitter();
|
|
10103
10258
|
_this.onComplete = new EventEmitter();
|
|
@@ -10119,10 +10274,16 @@ var TextFieldComponent = /** @class */ (function (_super) {
|
|
|
10119
10274
|
_this.field.onComplete(event);
|
|
10120
10275
|
});
|
|
10121
10276
|
};
|
|
10277
|
+
TextFieldComponent.prototype.ngAfterViewInit = function () {
|
|
10278
|
+
this.changeDetectorRef.detectChanges();
|
|
10279
|
+
};
|
|
10122
10280
|
TextFieldComponent.prototype.ngOnDestroy = function () {
|
|
10123
10281
|
this.ngUnsubscribe.next();
|
|
10124
10282
|
this.ngUnsubscribe.complete();
|
|
10125
10283
|
};
|
|
10284
|
+
TextFieldComponent.ctorParameters = function () { return [
|
|
10285
|
+
{ type: ChangeDetectorRef }
|
|
10286
|
+
]; };
|
|
10126
10287
|
__decorate([
|
|
10127
10288
|
Input()
|
|
10128
10289
|
], TextFieldComponent.prototype, "field", void 0);
|
|
@@ -10138,9 +10299,12 @@ var TextFieldComponent = /** @class */ (function (_super) {
|
|
|
10138
10299
|
__decorate([
|
|
10139
10300
|
Output()
|
|
10140
10301
|
], TextFieldComponent.prototype, "onComplete", void 0);
|
|
10302
|
+
__decorate([
|
|
10303
|
+
ViewChild('inputRef')
|
|
10304
|
+
], TextFieldComponent.prototype, "inputRef", void 0);
|
|
10141
10305
|
TextFieldComponent = __decorate([
|
|
10142
10306
|
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
|
|
10307
|
+
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
10308
|
encapsulation: ViewEncapsulation.None,
|
|
10145
10309
|
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
10310
|
})
|
|
@@ -10159,7 +10323,7 @@ var ProfilePictureFieldComponent = /** @class */ (function () {
|
|
|
10159
10323
|
], ProfilePictureFieldComponent.prototype, "formControl", void 0);
|
|
10160
10324
|
ProfilePictureFieldComponent = __decorate([
|
|
10161
10325
|
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>"
|
|
10326
|
+
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
10327
|
})
|
|
10164
10328
|
], ProfilePictureFieldComponent);
|
|
10165
10329
|
return ProfilePictureFieldComponent;
|
|
@@ -10413,15 +10577,50 @@ var DynamicFormDirective = /** @class */ (function () {
|
|
|
10413
10577
|
__decorate([
|
|
10414
10578
|
Input()
|
|
10415
10579
|
], DynamicFormDirective.prototype, "sDynamicForm", null);
|
|
10416
|
-
__decorate([
|
|
10417
|
-
Input("sDynamicFormDisplayTimeInfoSign")
|
|
10418
|
-
], DynamicFormDirective.prototype, "displayTimeInfoSign", void 0);
|
|
10419
10580
|
DynamicFormDirective = __decorate([
|
|
10420
10581
|
Directive({ selector: "[sDynamicForm]" })
|
|
10421
10582
|
], DynamicFormDirective);
|
|
10422
10583
|
return DynamicFormDirective;
|
|
10423
10584
|
}());
|
|
10424
10585
|
|
|
10586
|
+
var FieldLabelComponent = /** @class */ (function () {
|
|
10587
|
+
function FieldLabelComponent() {
|
|
10588
|
+
this.displayTimeInfoSign = 5000;
|
|
10589
|
+
}
|
|
10590
|
+
__decorate([
|
|
10591
|
+
Input()
|
|
10592
|
+
], FieldLabelComponent.prototype, "field", void 0);
|
|
10593
|
+
__decorate([
|
|
10594
|
+
Input()
|
|
10595
|
+
], FieldLabelComponent.prototype, "displayTimeInfoSign", void 0);
|
|
10596
|
+
__decorate([
|
|
10597
|
+
Input()
|
|
10598
|
+
], FieldLabelComponent.prototype, "fieldContainerRef", void 0);
|
|
10599
|
+
FieldLabelComponent = __decorate([
|
|
10600
|
+
Component({
|
|
10601
|
+
selector: 's-field-label',
|
|
10602
|
+
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"
|
|
10603
|
+
})
|
|
10604
|
+
], FieldLabelComponent);
|
|
10605
|
+
return FieldLabelComponent;
|
|
10606
|
+
}());
|
|
10607
|
+
|
|
10608
|
+
var FieldLabelModule = /** @class */ (function () {
|
|
10609
|
+
function FieldLabelModule() {
|
|
10610
|
+
}
|
|
10611
|
+
FieldLabelModule = __decorate([
|
|
10612
|
+
NgModule({
|
|
10613
|
+
imports: [
|
|
10614
|
+
CommonModule,
|
|
10615
|
+
InfoSignModule
|
|
10616
|
+
],
|
|
10617
|
+
declarations: [FieldLabelComponent],
|
|
10618
|
+
exports: [FieldLabelComponent],
|
|
10619
|
+
})
|
|
10620
|
+
], FieldLabelModule);
|
|
10621
|
+
return FieldLabelModule;
|
|
10622
|
+
}());
|
|
10623
|
+
|
|
10425
10624
|
var PasswordFieldModule = /** @class */ (function () {
|
|
10426
10625
|
function PasswordFieldModule() {
|
|
10427
10626
|
}
|
|
@@ -10435,6 +10634,7 @@ var PasswordFieldModule = /** @class */ (function () {
|
|
|
10435
10634
|
TooltipModule,
|
|
10436
10635
|
PasswordStrengthModule,
|
|
10437
10636
|
InputTextModule,
|
|
10637
|
+
FieldLabelModule
|
|
10438
10638
|
],
|
|
10439
10639
|
declarations: [PasswordFieldComponent],
|
|
10440
10640
|
exports: [PasswordFieldComponent],
|
|
@@ -10457,6 +10657,7 @@ var TextFieldModule = /** @class */ (function () {
|
|
|
10457
10657
|
InputMaskModule,
|
|
10458
10658
|
InputTextModule,
|
|
10459
10659
|
KeyFilterModule,
|
|
10660
|
+
FieldLabelModule
|
|
10460
10661
|
],
|
|
10461
10662
|
declarations: [TextFieldComponent],
|
|
10462
10663
|
exports: [TextFieldComponent],
|
|
@@ -10467,9 +10668,11 @@ var TextFieldModule = /** @class */ (function () {
|
|
|
10467
10668
|
|
|
10468
10669
|
var NumberFieldComponent = /** @class */ (function (_super) {
|
|
10469
10670
|
__extends(NumberFieldComponent, _super);
|
|
10470
|
-
function NumberFieldComponent(localeService) {
|
|
10671
|
+
function NumberFieldComponent(localeService, elementRef, changeDetectorRef) {
|
|
10471
10672
|
var _this = _super.call(this) || this;
|
|
10472
10673
|
_this.localeService = localeService;
|
|
10674
|
+
_this.elementRef = elementRef;
|
|
10675
|
+
_this.changeDetectorRef = changeDetectorRef;
|
|
10473
10676
|
_this.onInput = new EventEmitter();
|
|
10474
10677
|
_this.onFocus = new EventEmitter();
|
|
10475
10678
|
_this.onComplete = new EventEmitter();
|
|
@@ -10492,6 +10695,10 @@ var NumberFieldComponent = /** @class */ (function (_super) {
|
|
|
10492
10695
|
_this.field.onComplete(event);
|
|
10493
10696
|
});
|
|
10494
10697
|
};
|
|
10698
|
+
NumberFieldComponent.prototype.ngAfterViewInit = function () {
|
|
10699
|
+
this.setInputRef();
|
|
10700
|
+
this.changeDetectorRef.detectChanges();
|
|
10701
|
+
};
|
|
10495
10702
|
NumberFieldComponent.prototype.ngOnDestroy = function () {
|
|
10496
10703
|
this.ngUnsubscribe.next();
|
|
10497
10704
|
this.ngUnsubscribe.complete();
|
|
@@ -10538,8 +10745,14 @@ var NumberFieldComponent = /** @class */ (function (_super) {
|
|
|
10538
10745
|
},
|
|
10539
10746
|
});
|
|
10540
10747
|
};
|
|
10748
|
+
NumberFieldComponent.prototype.setInputRef = function () {
|
|
10749
|
+
var input = this.elementRef.nativeElement.querySelector("input");
|
|
10750
|
+
this.inputRef = input;
|
|
10751
|
+
};
|
|
10541
10752
|
NumberFieldComponent.ctorParameters = function () { return [
|
|
10542
|
-
{ type: LocaleService }
|
|
10753
|
+
{ type: LocaleService },
|
|
10754
|
+
{ type: ElementRef },
|
|
10755
|
+
{ type: ChangeDetectorRef }
|
|
10543
10756
|
]; };
|
|
10544
10757
|
__decorate([
|
|
10545
10758
|
Input()
|
|
@@ -10558,7 +10771,7 @@ var NumberFieldComponent = /** @class */ (function (_super) {
|
|
|
10558
10771
|
], NumberFieldComponent.prototype, "onComplete", void 0);
|
|
10559
10772
|
NumberFieldComponent = __decorate([
|
|
10560
10773
|
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",
|
|
10774
|
+
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
10775
|
encapsulation: ViewEncapsulation.None,
|
|
10563
10776
|
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
10777
|
})
|
|
@@ -10581,6 +10794,7 @@ var NumberFieldModule = /** @class */ (function () {
|
|
|
10581
10794
|
TooltipModule,
|
|
10582
10795
|
InputMaskModule,
|
|
10583
10796
|
InputTextModule,
|
|
10797
|
+
FieldLabelModule
|
|
10584
10798
|
],
|
|
10585
10799
|
declarations: [NumberFieldComponent],
|
|
10586
10800
|
exports: [NumberFieldComponent],
|
|
@@ -10594,7 +10808,16 @@ var CurrencyFieldModule = /** @class */ (function () {
|
|
|
10594
10808
|
}
|
|
10595
10809
|
CurrencyFieldModule = __decorate([
|
|
10596
10810
|
NgModule({
|
|
10597
|
-
imports: [
|
|
10811
|
+
imports: [
|
|
10812
|
+
CommonModule,
|
|
10813
|
+
FormsModule,
|
|
10814
|
+
ReactiveFormsModule,
|
|
10815
|
+
NumberInputModule,
|
|
10816
|
+
TooltipModule,
|
|
10817
|
+
InputMaskModule,
|
|
10818
|
+
InputTextModule,
|
|
10819
|
+
FieldLabelModule
|
|
10820
|
+
],
|
|
10598
10821
|
declarations: [CurrencyFieldComponent],
|
|
10599
10822
|
exports: [CurrencyFieldComponent],
|
|
10600
10823
|
})
|
|
@@ -10616,6 +10839,7 @@ var BignumberFieldModule = /** @class */ (function () {
|
|
|
10616
10839
|
TooltipModule,
|
|
10617
10840
|
InputMaskModule,
|
|
10618
10841
|
InputTextModule,
|
|
10842
|
+
FieldLabelModule
|
|
10619
10843
|
],
|
|
10620
10844
|
declarations: [BignumberFieldComponent],
|
|
10621
10845
|
exports: [BignumberFieldComponent],
|
|
@@ -11381,6 +11605,7 @@ var ProfilePictureModule = /** @class */ (function () {
|
|
|
11381
11605
|
FormsModule,
|
|
11382
11606
|
ReactiveFormsModule,
|
|
11383
11607
|
ProfilePicturePickerModule,
|
|
11608
|
+
FieldLabelModule
|
|
11384
11609
|
],
|
|
11385
11610
|
declarations: [ProfilePictureFieldComponent],
|
|
11386
11611
|
exports: [ProfilePictureFieldComponent],
|
|
@@ -11443,6 +11668,7 @@ var DynamicFormModule = /** @class */ (function () {
|
|
|
11443
11668
|
CurrencyFieldModule,
|
|
11444
11669
|
BignumberFieldModule,
|
|
11445
11670
|
ProfilePictureModule,
|
|
11671
|
+
FieldLabelModule
|
|
11446
11672
|
],
|
|
11447
11673
|
declarations: [
|
|
11448
11674
|
AutocompleteFieldComponent,
|
|
@@ -11647,6 +11873,7 @@ var CustomFieldsComponent = /** @class */ (function () {
|
|
|
11647
11873
|
_this.formGroup.patchValue(_this.parseValuesForFields(_this.value));
|
|
11648
11874
|
_this.ready = true;
|
|
11649
11875
|
});
|
|
11876
|
+
this.addDisplayTimeInfoSignToFields();
|
|
11650
11877
|
};
|
|
11651
11878
|
CustomFieldsComponent.prototype.ngAfterViewInit = function () {
|
|
11652
11879
|
this.enableOrDisableFields(this.disableFields);
|
|
@@ -12074,6 +12301,12 @@ var CustomFieldsComponent = /** @class */ (function () {
|
|
|
12074
12301
|
CustomFieldsComponent.prototype.getTranslateLabel = function (label) {
|
|
12075
12302
|
return this.translateService.instant(this.domain + "." + this.service + "." + label);
|
|
12076
12303
|
};
|
|
12304
|
+
CustomFieldsComponent.prototype.addDisplayTimeInfoSignToFields = function () {
|
|
12305
|
+
var _this = this;
|
|
12306
|
+
this.fields.forEach(function (field) {
|
|
12307
|
+
field.displayTimeInfoSign = _this.displayTimeInfoSign;
|
|
12308
|
+
});
|
|
12309
|
+
};
|
|
12077
12310
|
var CustomFieldsComponent_1;
|
|
12078
12311
|
CustomFieldsComponent.ctorParameters = function () { return [
|
|
12079
12312
|
{ type: CustomFieldsService },
|
|
@@ -12124,7 +12357,7 @@ var CustomFieldsComponent = /** @class */ (function () {
|
|
|
12124
12357
|
CustomFieldsComponent = CustomFieldsComponent_1 = __decorate([
|
|
12125
12358
|
Component({
|
|
12126
12359
|
selector: "s-custom-fields",
|
|
12127
|
-
template: "<s-dynamic-form [fields]=\"fields\"\n [form]=\"formGroup\"\n [errorMessages]=\"{pattern: invalidErrorLabel
|
|
12360
|
+
template: "<s-dynamic-form [fields]=\"fields\"\n [form]=\"formGroup\"\n [errorMessages]=\"{\n pattern: invalidErrorLabel,\n required: requiredErrorMessage}\">\n</s-dynamic-form>",
|
|
12128
12361
|
providers: [
|
|
12129
12362
|
{
|
|
12130
12363
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -18487,5 +18720,5 @@ var fallback = {
|
|
|
18487
18720
|
* Generated bundle index. Do not edit.
|
|
18488
18721
|
*/
|
|
18489
18722
|
|
|
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,
|
|
18723
|
+
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, NumericService, 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, PasswordFieldComponent as ɵba, TextFieldModule as ɵbb, TextFieldComponent as ɵbc, NumberFieldModule as ɵbd, LocalizedNumberInputModule as ɵbe, NumberInputModule as ɵbf, NumberFieldComponent as ɵbg, CurrencyFieldModule as ɵbh, CurrencyFieldComponent as ɵbi, BignumberFieldModule as ɵbj, BignumberInputModule as ɵbk, BignumberFieldComponent as ɵbl, ProfilePictureModule as ɵbm, ThumbnailService as ɵbn, StructureModule as ɵbo, HeaderComponent as ɵbp, FooterComponent as ɵbq, ProfilePictureFieldComponent as ɵbr, AutocompleteFieldComponent as ɵbs, BooleanFieldComponent as ɵbt, BooleanSwitchFieldComponent as ɵbu, CalendarFieldComponent as ɵbv, ChipsFieldComponent as ɵbw, CountryPhonePickerFieldComponent as ɵbx, DynamicFieldComponent as ɵby, DynamicFormDirective as ɵbz, TemplateDirective as ɵc, FieldsetComponent as ɵca, FileUploadComponent$1 as ɵcb, LookupFieldComponent as ɵcc, RadioButtonComponent as ɵcd, RowComponent as ɵce, SectionComponent as ɵcf, SelectFieldComponent as ɵcg, SliderFieldComponent as ɵch, TextAreaFieldComponent as ɵci, TextAreaIAFieldComponent as ɵcj, IAssistService as ɵck, DecimalField as ɵcm, SideTableComponent as ɵcn, InfiniteScrollModule as ɵco, InfiniteScrollDirective as ɵcp, IAInsightSidebarComponent as ɵcq, IAInsightCardComponent as ɵcr, IAInsightCardLoaderComponent as ɵcs, KanbanEventService as ɵct, KanbanItemComponent as ɵcu, KanbanColumnComponent as ɵcv, KanbanItemDraggingComponent as ɵcw, NumberLocaleOptions as ɵcx, TieredMenuEventService as ɵcy, TieredMenuService as ɵcz, TemplateModule as ɵd, TieredMenuGlobalService as ɵda, TieredMenuComponent as ɵdb, TieredMenuNestedComponent as ɵdc, TieredMenuItemComponent as ɵdd, TieredMenuDividerComponent as ɵde, BorderButtonModule as ɵdf, BorderButtonComponent as ɵdg, ProgressBarDeterminateComponent as ɵdh, ProgressBarIndeterminateComponent as ɵdi, SelectButtonItemComponent as ɵdj, SlidePanelService as ɵdk, TimelineItemModule as ɵdl, TimelineIconItemComponent as ɵdm, HorizontalTimelineModule as ɵdn, HorizontalTimelineComponent as ɵdo, VerticalTimelineModule as ɵdp, VerticalTimelineComponent as ɵdq, RangeLineComponent as ɵdr, CollapseOptionComponent as ɵds, CollapsedItemsComponent as ɵdt, VerticalItemsComponent as ɵdu, 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, EmptyStateGoBackComponent as ɵn, IAssistIconComponent as ɵo, SeniorIconComponent as ɵp, DotsIndicatorComponent as ɵq, LoadingIndicatorComponent as ɵr, FileUploadService as ɵs, InfoSignComponent as ɵt, TableColumnsComponent as ɵu, TablePagingComponent as ɵv, PasswordFieldModule as ɵw, FieldLabelModule as ɵx, InfoSignModule as ɵy, FieldLabelComponent as ɵz };
|
|
18491
18724
|
//# sourceMappingURL=seniorsistemas-angular-components.js.map
|