@seniorsistemas/angular-components 17.17.13 → 17.17.14
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 +63 -51
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
- package/components/dynamic-form/configurations/fields/field.d.ts +2 -0
- package/components/info-sign/info-sign.directive.d.ts +1 -0
- package/components/tooltip/tooltip.directive.d.ts +2 -7
- package/esm2015/components/dynamic-form/components/dynamic-field/dynamic-field.component.js +2 -2
- package/esm2015/components/dynamic-form/components/field-label/field-label.component.js +2 -2
- package/esm2015/components/dynamic-form/components/fields/radio-button/radio-button-field.component.js +9 -2
- package/esm2015/components/dynamic-form/components/grid/row/row.component.js +2 -2
- package/esm2015/components/dynamic-form/configurations/fields/field.js +3 -2
- package/esm2015/components/info-sign/info-sign.directive.js +12 -5
- package/esm2015/components/tooltip/tooltip.directive.js +42 -40
- package/esm5/components/dynamic-form/components/dynamic-field/dynamic-field.component.js +2 -2
- package/esm5/components/dynamic-form/components/field-label/field-label.component.js +2 -2
- package/esm5/components/dynamic-form/components/fields/radio-button/radio-button-field.component.js +3 -3
- package/esm5/components/dynamic-form/components/grid/row/row.component.js +2 -2
- package/esm5/components/dynamic-form/configurations/fields/field.js +3 -2
- package/esm5/components/info-sign/info-sign.directive.js +12 -5
- package/esm5/components/tooltip/tooltip.directive.js +45 -40
- package/fesm2015/seniorsistemas-angular-components.js +66 -50
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +63 -51
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -372,6 +372,8 @@ TooltipComponent = __decorate([
|
|
|
372
372
|
})
|
|
373
373
|
], TooltipComponent);
|
|
374
374
|
|
|
375
|
+
const isNullOrUndefined = (value) => value === null || value === undefined;
|
|
376
|
+
|
|
375
377
|
const DEFAULT_TIMER = 300;
|
|
376
378
|
let DebounceUtils = class DebounceUtils {
|
|
377
379
|
debounce(func, timeout = DEFAULT_TIMER) {
|
|
@@ -430,8 +432,9 @@ let TooltipDirective = class TooltipDirective {
|
|
|
430
432
|
this.visible = true;
|
|
431
433
|
this.mobileBehavior = MobileBehavior.Pressing;
|
|
432
434
|
this.componentRef = null;
|
|
435
|
+
this.existFocusedInputRefTooltip = false;
|
|
433
436
|
this.boundOnWindowMouseMoveFunction = this.onWindowMouseMove.bind(this);
|
|
434
|
-
this.debounceCreateTooltipFunction = this.debounceUtils.debounceLeading(() => this.
|
|
437
|
+
this.debounceCreateTooltipFunction = this.debounceUtils.debounceLeading(() => this._createTooltip(true, true));
|
|
435
438
|
}
|
|
436
439
|
ngOnInit() {
|
|
437
440
|
this.validatePosition();
|
|
@@ -452,7 +455,7 @@ let TooltipDirective = class TooltipDirective {
|
|
|
452
455
|
left: Math.min(elementRect.left, toolTipRect.left),
|
|
453
456
|
bottom: Math.max(elementRect.bottom, toolTipRect.bottom),
|
|
454
457
|
};
|
|
455
|
-
if (this.isMousePositionOutsideOfElement(event.clientX, event.clientY, totalElementArea)) {
|
|
458
|
+
if (this.isMousePositionOutsideOfElement(event.clientX, event.clientY, totalElementArea) && !this.existFocusedInputRefTooltip) {
|
|
456
459
|
this.destroy();
|
|
457
460
|
}
|
|
458
461
|
}
|
|
@@ -466,15 +469,17 @@ let TooltipDirective = class TooltipDirective {
|
|
|
466
469
|
if (this.focusedInputRef) {
|
|
467
470
|
const inputFocus = this.focusedInputRef;
|
|
468
471
|
const icon = this.getIconFromFocusedInput();
|
|
469
|
-
this.renderer.listen(
|
|
472
|
+
this.renderer.listen(inputFocus, "focus", () => {
|
|
470
473
|
if (icon) {
|
|
471
|
-
this.
|
|
474
|
+
this.existFocusedInputRefTooltip = true;
|
|
475
|
+
this._createTooltip(false, false);
|
|
472
476
|
}
|
|
473
477
|
});
|
|
474
478
|
this.renderer.listen(inputFocus, "blur", () => {
|
|
475
479
|
if (icon) {
|
|
476
480
|
this.removeTooltip(icon);
|
|
477
481
|
this.destroy();
|
|
482
|
+
this.existFocusedInputRefTooltip = false;
|
|
478
483
|
}
|
|
479
484
|
});
|
|
480
485
|
}
|
|
@@ -505,7 +510,7 @@ let TooltipDirective = class TooltipDirective {
|
|
|
505
510
|
}
|
|
506
511
|
onFocus() {
|
|
507
512
|
if (this.tooltipEvent === TooltipEvent.Focus) {
|
|
508
|
-
this.
|
|
513
|
+
this._createTooltip(true, true);
|
|
509
514
|
}
|
|
510
515
|
}
|
|
511
516
|
onBlur() {
|
|
@@ -519,14 +524,17 @@ let TooltipDirective = class TooltipDirective {
|
|
|
519
524
|
}
|
|
520
525
|
}
|
|
521
526
|
onMouseLeave() {
|
|
522
|
-
if (this.tooltipEvent === TooltipEvent.Hover) {
|
|
527
|
+
if (this.tooltipEvent === TooltipEvent.Hover && !this.existFocusedInputRefTooltip) {
|
|
523
528
|
this.destroy();
|
|
524
529
|
}
|
|
525
530
|
}
|
|
526
531
|
onTouchStart() {
|
|
527
532
|
if (this.tooltipEvent === TooltipEvent.Hover) {
|
|
528
533
|
window.clearTimeout(this.touchTimeout);
|
|
529
|
-
|
|
534
|
+
const _delay = this.mobileBehavior === MobileBehavior.Pressing ? this.showDelay : 0;
|
|
535
|
+
this.touchTimeout = window.setTimeout(() => {
|
|
536
|
+
this._createTooltip(true, true);
|
|
537
|
+
}, _delay);
|
|
530
538
|
}
|
|
531
539
|
}
|
|
532
540
|
onTouchEnd() {
|
|
@@ -544,42 +552,34 @@ let TooltipDirective = class TooltipDirective {
|
|
|
544
552
|
throw new Error(`Tooltip ${this.position} position is unexpected`);
|
|
545
553
|
}
|
|
546
554
|
}
|
|
547
|
-
createTootip() {
|
|
548
|
-
var _a;
|
|
549
|
-
if (this.componentRef === null && ((_a = this.tooltip) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
550
|
-
const domElem = this.getDomElement();
|
|
551
|
-
document.body.appendChild(domElem);
|
|
552
|
-
this.setTooltipComponentProperties();
|
|
553
|
-
this.showTimeout = window.setTimeout(this.showTooltip.bind(this), this.showDelay);
|
|
554
|
-
this.tooltipDivElement = domElem.querySelector(".tooltip");
|
|
555
|
-
if (this.displayTime) {
|
|
556
|
-
window.setTimeout(this.destroy.bind(this), this.displayTime);
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
555
|
getDomElement() {
|
|
561
556
|
const componentFactory = this.componentFactoryResolver.resolveComponentFactory(TooltipComponent);
|
|
562
557
|
this.componentRef = componentFactory.create(this.injector);
|
|
563
558
|
this.appRef.attachView(this.componentRef.hostView);
|
|
564
559
|
return this.componentRef.hostView.rootNodes[0];
|
|
565
560
|
}
|
|
566
|
-
|
|
567
|
-
* Cria um tooltip para o icone do input em focus.
|
|
568
|
-
*
|
|
569
|
-
* @param icon O ícone do input em focus.
|
|
570
|
-
*/
|
|
571
|
-
createTootipByFocus(icon) {
|
|
561
|
+
_createTooltip(useShowDelay = false, autoDestroy = true) {
|
|
572
562
|
var _a;
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
563
|
+
const hasText = ((_a = this.tooltip) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
564
|
+
const hasComponentRef = this.componentRef !== null;
|
|
565
|
+
if (!hasText || hasComponentRef) {
|
|
566
|
+
return;
|
|
567
|
+
}
|
|
568
|
+
const domElement = this.getDomElement();
|
|
569
|
+
document.body.appendChild(domElement);
|
|
570
|
+
this.tooltipDivElement = domElement.querySelector(".tooltip");
|
|
571
|
+
this.setTooltipComponentProperties();
|
|
572
|
+
const _showDelay = useShowDelay ? this.showDelay : 0;
|
|
573
|
+
setTimeout(() => {
|
|
574
|
+
this.showTooltip();
|
|
575
|
+
}, _showDelay);
|
|
576
|
+
this.renderer.listen(window, "scroll", () => {
|
|
577
|
+
this.setTooltipPositionProperty();
|
|
578
|
+
});
|
|
579
|
+
if (autoDestroy && this.displayTime) {
|
|
580
|
+
setTimeout(() => {
|
|
581
|
+
this.destroy();
|
|
582
|
+
}, this.displayTime);
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
showTooltip() {
|
|
@@ -589,10 +589,13 @@ let TooltipDirective = class TooltipDirective {
|
|
|
589
589
|
window.addEventListener("mousemove", this.boundOnWindowMouseMoveFunction);
|
|
590
590
|
}
|
|
591
591
|
}
|
|
592
|
-
setTooltipPositionProperty(
|
|
592
|
+
setTooltipPositionProperty() {
|
|
593
|
+
if (!this.componentRef) {
|
|
594
|
+
return;
|
|
595
|
+
}
|
|
593
596
|
const margin = 20;
|
|
594
597
|
const anchorSize = 5;
|
|
595
|
-
const domElem =
|
|
598
|
+
const domElem = this.componentRef.hostView.rootNodes[0].querySelector("#tooltip");
|
|
596
599
|
const { height, width } = domElem.getBoundingClientRect();
|
|
597
600
|
const { left, right, top, bottom } = this.elementRef.nativeElement.getBoundingClientRect();
|
|
598
601
|
const positions = [
|
|
@@ -642,7 +645,7 @@ let TooltipDirective = class TooltipDirective {
|
|
|
642
645
|
}
|
|
643
646
|
}
|
|
644
647
|
destroy() {
|
|
645
|
-
if (this.componentRef
|
|
648
|
+
if (!isNullOrUndefined(this.componentRef)) {
|
|
646
649
|
window.clearTimeout(this.showTimeout);
|
|
647
650
|
this.appRef.detachView(this.componentRef.hostView);
|
|
648
651
|
this.componentRef.destroy();
|
|
@@ -4967,8 +4970,6 @@ const convertToMomentDateFormat = (format) => {
|
|
|
4967
4970
|
.replace(/\byy\b/, "YYYY"); // year (four digits)
|
|
4968
4971
|
};
|
|
4969
4972
|
|
|
4970
|
-
const isNullOrUndefined = (value) => value === null || value === undefined;
|
|
4971
|
-
|
|
4972
4973
|
var CountryPhonePickerComponent_1;
|
|
4973
4974
|
let CountryPhonePickerComponent = CountryPhonePickerComponent_1 = class CountryPhonePickerComponent {
|
|
4974
4975
|
constructor(_countryPhonePickerService, _translate, _eRef, platformId) {
|
|
@@ -5328,7 +5329,7 @@ class FieldSize {
|
|
|
5328
5329
|
|
|
5329
5330
|
class Field {
|
|
5330
5331
|
constructor(config) {
|
|
5331
|
-
var _a, _b, _c, _d, _e;
|
|
5332
|
+
var _a, _b, _c, _d, _e, _f;
|
|
5332
5333
|
if ((_a = config.footer) === null || _a === void 0 ? void 0 : _a.help) {
|
|
5333
5334
|
config.footer.help = Object.assign({ visible: () => true }, (_b = config.footer) === null || _b === void 0 ? void 0 : _b.help);
|
|
5334
5335
|
}
|
|
@@ -5355,6 +5356,7 @@ class Field {
|
|
|
5355
5356
|
this.CustomFieldClass = config.CustomFieldClass;
|
|
5356
5357
|
this.CustomFieldComponentClass = config.CustomFieldComponentClass;
|
|
5357
5358
|
this.displayTimeInfoSign = (_e = config.displayTimeInfoSign) !== null && _e !== void 0 ? _e : 5000;
|
|
5359
|
+
this.useInfoSignFocusedInputRef = (_f = config.useInfoSignFocusedInputRef) !== null && _f !== void 0 ? _f : true;
|
|
5358
5360
|
}
|
|
5359
5361
|
}
|
|
5360
5362
|
|
|
@@ -7245,6 +7247,7 @@ let InfoSignDirective = class InfoSignDirective {
|
|
|
7245
7247
|
this.viewContainer = viewContainer;
|
|
7246
7248
|
this.componentFactoryResolver = componentFactoryResolver;
|
|
7247
7249
|
this.displayTime = 5000;
|
|
7250
|
+
this.useFocusedInputRef = true;
|
|
7248
7251
|
}
|
|
7249
7252
|
ngOnChanges() {
|
|
7250
7253
|
this.createInfoSign();
|
|
@@ -7262,10 +7265,13 @@ let InfoSignDirective = class InfoSignDirective {
|
|
|
7262
7265
|
this.viewContainer.clear();
|
|
7263
7266
|
const componentFactory = this.componentFactoryResolver.resolveComponentFactory(InfoSignComponent);
|
|
7264
7267
|
this.componentRef = this.viewContainer.createComponent(componentFactory);
|
|
7265
|
-
this.componentRef.instance
|
|
7266
|
-
|
|
7267
|
-
|
|
7268
|
-
|
|
7268
|
+
const _infoSignComponent = this.componentRef.instance;
|
|
7269
|
+
_infoSignComponent.templateRef = this.templateRef;
|
|
7270
|
+
_infoSignComponent.tooltip = this.sInfoSign;
|
|
7271
|
+
_infoSignComponent.displayTime = this.displayTime;
|
|
7272
|
+
if (this.useFocusedInputRef) {
|
|
7273
|
+
_infoSignComponent.focusedInputRef = this.focusedInputRef;
|
|
7274
|
+
}
|
|
7269
7275
|
}
|
|
7270
7276
|
else if (this.componentRef && this.sInfoSign) {
|
|
7271
7277
|
this.componentRef.instance.tooltip = this.sInfoSign;
|
|
@@ -7290,6 +7296,9 @@ __decorate([
|
|
|
7290
7296
|
__decorate([
|
|
7291
7297
|
Input('sInfoSignFocusedInputRef')
|
|
7292
7298
|
], InfoSignDirective.prototype, "focusedInputRef", void 0);
|
|
7299
|
+
__decorate([
|
|
7300
|
+
Input('sInfoSignUseFocusedInputRef')
|
|
7301
|
+
], InfoSignDirective.prototype, "useFocusedInputRef", void 0);
|
|
7293
7302
|
InfoSignDirective = __decorate([
|
|
7294
7303
|
Directive({
|
|
7295
7304
|
selector: "[sInfoSign]"
|
|
@@ -10056,12 +10065,19 @@ __decorate([
|
|
|
10056
10065
|
], RadioButtonComponent.prototype, "onFocus", void 0);
|
|
10057
10066
|
RadioButtonComponent = __decorate([
|
|
10058
10067
|
Component({
|
|
10059
|
-
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",
|
|
10068
|
+
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 horizontal-radio-buttons-container\">\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 class=\"radio-button-item\"\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",
|
|
10060
10069
|
encapsulation: ViewEncapsulation.None,
|
|
10061
10070
|
styles: [`
|
|
10062
10071
|
s-button.horizontal-clear-option button {
|
|
10063
10072
|
width: min-content !important;
|
|
10064
10073
|
}
|
|
10074
|
+
|
|
10075
|
+
.horizontal-radio-buttons-container {
|
|
10076
|
+
gap: 20px 40px;
|
|
10077
|
+
.radio-button-item {
|
|
10078
|
+
margin: 0;
|
|
10079
|
+
}
|
|
10080
|
+
}
|
|
10065
10081
|
`]
|
|
10066
10082
|
})
|
|
10067
10083
|
], RadioButtonComponent);
|
|
@@ -10376,7 +10392,7 @@ RowComponent = __decorate([
|
|
|
10376
10392
|
<ng-container *ngFor="let field of config.fields">
|
|
10377
10393
|
<div [ngClass]="field.gridClass" *ngIf="field.visible()">
|
|
10378
10394
|
<ng-container *ngIf="field.type === FieldType.Custom && field.label" >
|
|
10379
|
-
<label *sInfoSign="field.infoSign" [for]="field.name" [ngClass]="{ required: field.required() }" >
|
|
10395
|
+
<label *sInfoSign="field.infoSign; displayTime: field.displayTimeInfoSign; useFocusedInputRef: field.useInfoSignFocusedInputRef" [for]="field.name" [ngClass]="{ required: field.required() }" >
|
|
10380
10396
|
{{ field.label }}
|
|
10381
10397
|
</label>
|
|
10382
10398
|
</ng-container>
|
|
@@ -10444,7 +10460,7 @@ __decorate([
|
|
|
10444
10460
|
DynamicFieldComponent = __decorate([
|
|
10445
10461
|
Component({
|
|
10446
10462
|
selector: "s-dynamic-field",
|
|
10447
|
-
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 *ngIf=\"field.label && field.type === FieldType.Custom\">\n <label\n *sInfoSign=\"
|
|
10463
|
+
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 *ngIf=\"field.label && field.type === FieldType.Custom\">\n <label\n *sInfoSign=\"field.infoSign; displayTime: field.displayTimeInfoSign; useFocusedInputRef: field.useInfoSignFocusedInputRef\"\n [for]=\"field.name\"\n [ngClass]=\"{ required: field.required() }\"\n >\n {{ field.label }}\n </label>\n </ng-container>\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"
|
|
10448
10464
|
})
|
|
10449
10465
|
], DynamicFieldComponent);
|
|
10450
10466
|
|
|
@@ -11151,7 +11167,7 @@ __decorate([
|
|
|
11151
11167
|
FieldLabelComponent = __decorate([
|
|
11152
11168
|
Component({
|
|
11153
11169
|
selector: 's-field-label',
|
|
11154
|
-
template: "<!--\n Caso esse componente seja alterado/removido/movido,\n alterar a label no row.component.ts e dynamic-field.component.ts\n-->\n\n<span *ngIf=\"field.label\">\n <label\n *sInfoSign=\"field.infoSign; displayTime: field.displayTimeInfoSign; focusedInputRef: fieldContainerRef\"\n [for]=\"field.name\"\n [ngClass]=\"{ required: field.required() }\"\n >\n {{ field.label }}\n </label>\n</span>\n"
|
|
11170
|
+
template: "<!--\n Caso esse componente seja alterado/removido/movido,\n alterar a label no row.component.ts e dynamic-field.component.ts\n-->\n\n<span *ngIf=\"field.label\">\n <label\n *sInfoSign=\"field.infoSign; displayTime: field.displayTimeInfoSign; focusedInputRef: fieldContainerRef; useFocusedInputRef: field.useInfoSignFocusedInputRef\"\n [for]=\"field.name\"\n [ngClass]=\"{ required: field.required() }\"\n >\n {{ field.label }}\n </label>\n</span>\n"
|
|
11155
11171
|
})
|
|
11156
11172
|
], FieldLabelComponent);
|
|
11157
11173
|
|