@seniorsistemas/angular-components 17.17.13 → 17.18.0
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 +259 -62
- 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/index.d.ts +1 -0
- package/components/info-sign/info-sign.directive.d.ts +1 -0
- package/components/thumbnails/components/thumbnail-item/components/thumbnail-item-image/thumbnail-item-image.component.d.ts +3 -0
- package/components/thumbnails/components/thumbnail-item/components/thumbnail-item-video/thumbnail-item-video.component.d.ts +8 -0
- package/components/thumbnails/components/thumbnail-item/thumbnail-item.component.d.ts +18 -0
- package/components/thumbnails/index.d.ts +3 -0
- package/components/thumbnails/models/thumbnails-item.d.ts +20 -0
- package/components/thumbnails/thumbnails.component.d.ts +16 -0
- package/components/thumbnails/thumbnails.module.d.ts +2 -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/index.js +2 -1
- package/esm2015/components/info-sign/info-sign.directive.js +12 -5
- package/esm2015/components/thumbnails/components/thumbnail-item/components/thumbnail-item-image/thumbnail-item-image.component.js +16 -0
- package/esm2015/components/thumbnails/components/thumbnail-item/components/thumbnail-item-video/thumbnail-item-video.component.js +41 -0
- package/esm2015/components/thumbnails/components/thumbnail-item/thumbnail-item.component.js +56 -0
- package/esm2015/components/thumbnails/index.js +3 -0
- package/esm2015/components/thumbnails/models/thumbnails-item.js +1 -0
- package/esm2015/components/thumbnails/thumbnails.component.js +52 -0
- package/esm2015/components/thumbnails/thumbnails.module.js +21 -0
- package/esm2015/components/tooltip/tooltip.directive.js +42 -40
- package/esm2015/locale/fallback.js +4 -1
- package/esm2015/seniorsistemas-angular-components.js +15 -12
- 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/index.js +2 -1
- package/esm5/components/info-sign/info-sign.directive.js +12 -5
- package/esm5/components/thumbnails/components/thumbnail-item/components/thumbnail-item-image/thumbnail-item-image.component.js +19 -0
- package/esm5/components/thumbnails/components/thumbnail-item/components/thumbnail-item-video/thumbnail-item-video.component.js +44 -0
- package/esm5/components/thumbnails/components/thumbnail-item/thumbnail-item.component.js +58 -0
- package/esm5/components/thumbnails/index.js +3 -0
- package/esm5/components/thumbnails/models/thumbnails-item.js +1 -0
- package/esm5/components/thumbnails/thumbnails.component.js +57 -0
- package/esm5/components/thumbnails/thumbnails.module.js +24 -0
- package/esm5/components/tooltip/tooltip.directive.js +45 -40
- package/esm5/locale/fallback.js +4 -1
- package/esm5/seniorsistemas-angular-components.js +15 -12
- package/fesm2015/seniorsistemas-angular-components.js +231 -51
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +244 -52
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.d.ts +14 -11
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -387,6 +387,8 @@ var TooltipComponent = /** @class */ (function () {
|
|
|
387
387
|
return TooltipComponent;
|
|
388
388
|
}());
|
|
389
389
|
|
|
390
|
+
var isNullOrUndefined = function (value) { return value === null || value === undefined; };
|
|
391
|
+
|
|
390
392
|
var DEFAULT_TIMER = 300;
|
|
391
393
|
var DebounceUtils = /** @class */ (function () {
|
|
392
394
|
function DebounceUtils() {
|
|
@@ -461,8 +463,9 @@ var TooltipDirective = /** @class */ (function () {
|
|
|
461
463
|
this.visible = true;
|
|
462
464
|
this.mobileBehavior = MobileBehavior.Pressing;
|
|
463
465
|
this.componentRef = null;
|
|
466
|
+
this.existFocusedInputRefTooltip = false;
|
|
464
467
|
this.boundOnWindowMouseMoveFunction = this.onWindowMouseMove.bind(this);
|
|
465
|
-
this.debounceCreateTooltipFunction = this.debounceUtils.debounceLeading(function () { return _this.
|
|
468
|
+
this.debounceCreateTooltipFunction = this.debounceUtils.debounceLeading(function () { return _this._createTooltip(true, true); });
|
|
466
469
|
}
|
|
467
470
|
TooltipDirective.prototype.ngOnInit = function () {
|
|
468
471
|
this.validatePosition();
|
|
@@ -483,7 +486,7 @@ var TooltipDirective = /** @class */ (function () {
|
|
|
483
486
|
left: Math.min(elementRect.left, toolTipRect.left),
|
|
484
487
|
bottom: Math.max(elementRect.bottom, toolTipRect.bottom),
|
|
485
488
|
};
|
|
486
|
-
if (this.isMousePositionOutsideOfElement(event.clientX, event.clientY, totalElementArea)) {
|
|
489
|
+
if (this.isMousePositionOutsideOfElement(event.clientX, event.clientY, totalElementArea) && !this.existFocusedInputRefTooltip) {
|
|
487
490
|
this.destroy();
|
|
488
491
|
}
|
|
489
492
|
};
|
|
@@ -498,15 +501,17 @@ var TooltipDirective = /** @class */ (function () {
|
|
|
498
501
|
if (this.focusedInputRef) {
|
|
499
502
|
var inputFocus = this.focusedInputRef;
|
|
500
503
|
var icon_1 = this.getIconFromFocusedInput();
|
|
501
|
-
this.renderer.listen(
|
|
504
|
+
this.renderer.listen(inputFocus, "focus", function () {
|
|
502
505
|
if (icon_1) {
|
|
503
|
-
_this.
|
|
506
|
+
_this.existFocusedInputRefTooltip = true;
|
|
507
|
+
_this._createTooltip(false, false);
|
|
504
508
|
}
|
|
505
509
|
});
|
|
506
510
|
this.renderer.listen(inputFocus, "blur", function () {
|
|
507
511
|
if (icon_1) {
|
|
508
512
|
_this.removeTooltip(icon_1);
|
|
509
513
|
_this.destroy();
|
|
514
|
+
_this.existFocusedInputRefTooltip = false;
|
|
510
515
|
}
|
|
511
516
|
});
|
|
512
517
|
}
|
|
@@ -537,7 +542,7 @@ var TooltipDirective = /** @class */ (function () {
|
|
|
537
542
|
};
|
|
538
543
|
TooltipDirective.prototype.onFocus = function () {
|
|
539
544
|
if (this.tooltipEvent === TooltipEvent.Focus) {
|
|
540
|
-
this.
|
|
545
|
+
this._createTooltip(true, true);
|
|
541
546
|
}
|
|
542
547
|
};
|
|
543
548
|
TooltipDirective.prototype.onBlur = function () {
|
|
@@ -551,14 +556,18 @@ var TooltipDirective = /** @class */ (function () {
|
|
|
551
556
|
}
|
|
552
557
|
};
|
|
553
558
|
TooltipDirective.prototype.onMouseLeave = function () {
|
|
554
|
-
if (this.tooltipEvent === TooltipEvent.Hover) {
|
|
559
|
+
if (this.tooltipEvent === TooltipEvent.Hover && !this.existFocusedInputRefTooltip) {
|
|
555
560
|
this.destroy();
|
|
556
561
|
}
|
|
557
562
|
};
|
|
558
563
|
TooltipDirective.prototype.onTouchStart = function () {
|
|
564
|
+
var _this = this;
|
|
559
565
|
if (this.tooltipEvent === TooltipEvent.Hover) {
|
|
560
566
|
window.clearTimeout(this.touchTimeout);
|
|
561
|
-
|
|
567
|
+
var _delay = this.mobileBehavior === MobileBehavior.Pressing ? this.showDelay : 0;
|
|
568
|
+
this.touchTimeout = window.setTimeout(function () {
|
|
569
|
+
_this._createTooltip(true, true);
|
|
570
|
+
}, _delay);
|
|
562
571
|
}
|
|
563
572
|
};
|
|
564
573
|
TooltipDirective.prototype.onTouchEnd = function () {
|
|
@@ -576,43 +585,37 @@ var TooltipDirective = /** @class */ (function () {
|
|
|
576
585
|
throw new Error("Tooltip " + this.position + " position is unexpected");
|
|
577
586
|
}
|
|
578
587
|
};
|
|
579
|
-
TooltipDirective.prototype.createTootip = function () {
|
|
580
|
-
var _a;
|
|
581
|
-
if (this.componentRef === null && ((_a = this.tooltip) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
582
|
-
var domElem = this.getDomElement();
|
|
583
|
-
document.body.appendChild(domElem);
|
|
584
|
-
this.setTooltipComponentProperties();
|
|
585
|
-
this.showTimeout = window.setTimeout(this.showTooltip.bind(this), this.showDelay);
|
|
586
|
-
this.tooltipDivElement = domElem.querySelector(".tooltip");
|
|
587
|
-
if (this.displayTime) {
|
|
588
|
-
window.setTimeout(this.destroy.bind(this), this.displayTime);
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
};
|
|
592
588
|
TooltipDirective.prototype.getDomElement = function () {
|
|
593
589
|
var componentFactory = this.componentFactoryResolver.resolveComponentFactory(TooltipComponent);
|
|
594
590
|
this.componentRef = componentFactory.create(this.injector);
|
|
595
591
|
this.appRef.attachView(this.componentRef.hostView);
|
|
596
592
|
return this.componentRef.hostView.rootNodes[0];
|
|
597
593
|
};
|
|
598
|
-
|
|
599
|
-
* Cria um tooltip para o icone do input em focus.
|
|
600
|
-
*
|
|
601
|
-
* @param icon O ícone do input em focus.
|
|
602
|
-
*/
|
|
603
|
-
TooltipDirective.prototype.createTootipByFocus = function (icon) {
|
|
594
|
+
TooltipDirective.prototype._createTooltip = function (useShowDelay, autoDestroy) {
|
|
604
595
|
var _this = this;
|
|
596
|
+
if (useShowDelay === void 0) { useShowDelay = false; }
|
|
597
|
+
if (autoDestroy === void 0) { autoDestroy = true; }
|
|
605
598
|
var _a;
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
599
|
+
var hasText = ((_a = this.tooltip) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
600
|
+
var hasComponentRef = this.componentRef !== null;
|
|
601
|
+
if (!hasText || hasComponentRef) {
|
|
602
|
+
return;
|
|
603
|
+
}
|
|
604
|
+
var domElement = this.getDomElement();
|
|
605
|
+
document.body.appendChild(domElement);
|
|
606
|
+
this.tooltipDivElement = domElement.querySelector(".tooltip");
|
|
607
|
+
this.setTooltipComponentProperties();
|
|
608
|
+
var _showDelay = useShowDelay ? this.showDelay : 0;
|
|
609
|
+
setTimeout(function () {
|
|
610
|
+
_this.showTooltip();
|
|
611
|
+
}, _showDelay);
|
|
612
|
+
this.renderer.listen(window, "scroll", function () {
|
|
613
|
+
_this.setTooltipPositionProperty();
|
|
614
|
+
});
|
|
615
|
+
if (autoDestroy && this.displayTime) {
|
|
616
|
+
setTimeout(function () {
|
|
617
|
+
_this.destroy();
|
|
618
|
+
}, this.displayTime);
|
|
616
619
|
}
|
|
617
620
|
};
|
|
618
621
|
TooltipDirective.prototype.showTooltip = function () {
|
|
@@ -622,11 +625,14 @@ var TooltipDirective = /** @class */ (function () {
|
|
|
622
625
|
window.addEventListener("mousemove", this.boundOnWindowMouseMoveFunction);
|
|
623
626
|
}
|
|
624
627
|
};
|
|
625
|
-
TooltipDirective.prototype.setTooltipPositionProperty = function (
|
|
628
|
+
TooltipDirective.prototype.setTooltipPositionProperty = function () {
|
|
626
629
|
var e_1, _a;
|
|
630
|
+
if (!this.componentRef) {
|
|
631
|
+
return;
|
|
632
|
+
}
|
|
627
633
|
var margin = 20;
|
|
628
634
|
var anchorSize = 5;
|
|
629
|
-
var domElem =
|
|
635
|
+
var domElem = this.componentRef.hostView.rootNodes[0].querySelector("#tooltip");
|
|
630
636
|
var _b = domElem.getBoundingClientRect(), height = _b.height, width = _b.width;
|
|
631
637
|
var _c = this.elementRef.nativeElement.getBoundingClientRect(), left = _c.left, right = _c.right, top = _c.top, bottom = _c.bottom;
|
|
632
638
|
var positions = [
|
|
@@ -686,7 +692,7 @@ var TooltipDirective = /** @class */ (function () {
|
|
|
686
692
|
}
|
|
687
693
|
};
|
|
688
694
|
TooltipDirective.prototype.destroy = function () {
|
|
689
|
-
if (this.componentRef
|
|
695
|
+
if (!isNullOrUndefined(this.componentRef)) {
|
|
690
696
|
window.clearTimeout(this.showTimeout);
|
|
691
697
|
this.appRef.detachView(this.componentRef.hostView);
|
|
692
698
|
this.componentRef.destroy();
|
|
@@ -5245,8 +5251,6 @@ var convertToMomentDateFormat = function (format) {
|
|
|
5245
5251
|
.replace(/\byy\b/, "YYYY"); // year (four digits)
|
|
5246
5252
|
};
|
|
5247
5253
|
|
|
5248
|
-
var isNullOrUndefined = function (value) { return value === null || value === undefined; };
|
|
5249
|
-
|
|
5250
5254
|
var CountryPhonePickerComponent = /** @class */ (function () {
|
|
5251
5255
|
function CountryPhonePickerComponent(_countryPhonePickerService, _translate, _eRef, platformId) {
|
|
5252
5256
|
var _this = this;
|
|
@@ -5641,7 +5645,7 @@ var FieldSize = /** @class */ (function () {
|
|
|
5641
5645
|
var Field = /** @class */ (function () {
|
|
5642
5646
|
function Field(config) {
|
|
5643
5647
|
var _this = this;
|
|
5644
|
-
var _a, _b, _c, _d, _e;
|
|
5648
|
+
var _a, _b, _c, _d, _e, _f;
|
|
5645
5649
|
if ((_a = config.footer) === null || _a === void 0 ? void 0 : _a.help) {
|
|
5646
5650
|
config.footer.help = __assign({ visible: function () { return true; } }, (_b = config.footer) === null || _b === void 0 ? void 0 : _b.help);
|
|
5647
5651
|
}
|
|
@@ -5668,6 +5672,7 @@ var Field = /** @class */ (function () {
|
|
|
5668
5672
|
this.CustomFieldClass = config.CustomFieldClass;
|
|
5669
5673
|
this.CustomFieldComponentClass = config.CustomFieldComponentClass;
|
|
5670
5674
|
this.displayTimeInfoSign = (_e = config.displayTimeInfoSign) !== null && _e !== void 0 ? _e : 5000;
|
|
5675
|
+
this.useInfoSignFocusedInputRef = (_f = config.useInfoSignFocusedInputRef) !== null && _f !== void 0 ? _f : true;
|
|
5671
5676
|
}
|
|
5672
5677
|
return Field;
|
|
5673
5678
|
}());
|
|
@@ -7699,6 +7704,7 @@ var InfoSignDirective = /** @class */ (function () {
|
|
|
7699
7704
|
this.viewContainer = viewContainer;
|
|
7700
7705
|
this.componentFactoryResolver = componentFactoryResolver;
|
|
7701
7706
|
this.displayTime = 5000;
|
|
7707
|
+
this.useFocusedInputRef = true;
|
|
7702
7708
|
}
|
|
7703
7709
|
InfoSignDirective.prototype.ngOnChanges = function () {
|
|
7704
7710
|
this.createInfoSign();
|
|
@@ -7716,10 +7722,13 @@ var InfoSignDirective = /** @class */ (function () {
|
|
|
7716
7722
|
this.viewContainer.clear();
|
|
7717
7723
|
var componentFactory = this.componentFactoryResolver.resolveComponentFactory(InfoSignComponent);
|
|
7718
7724
|
this.componentRef = this.viewContainer.createComponent(componentFactory);
|
|
7719
|
-
this.componentRef.instance
|
|
7720
|
-
|
|
7721
|
-
|
|
7722
|
-
|
|
7725
|
+
var _infoSignComponent = this.componentRef.instance;
|
|
7726
|
+
_infoSignComponent.templateRef = this.templateRef;
|
|
7727
|
+
_infoSignComponent.tooltip = this.sInfoSign;
|
|
7728
|
+
_infoSignComponent.displayTime = this.displayTime;
|
|
7729
|
+
if (this.useFocusedInputRef) {
|
|
7730
|
+
_infoSignComponent.focusedInputRef = this.focusedInputRef;
|
|
7731
|
+
}
|
|
7723
7732
|
}
|
|
7724
7733
|
else if (this.componentRef && this.sInfoSign) {
|
|
7725
7734
|
this.componentRef.instance.tooltip = this.sInfoSign;
|
|
@@ -7743,6 +7752,9 @@ var InfoSignDirective = /** @class */ (function () {
|
|
|
7743
7752
|
__decorate([
|
|
7744
7753
|
Input('sInfoSignFocusedInputRef')
|
|
7745
7754
|
], InfoSignDirective.prototype, "focusedInputRef", void 0);
|
|
7755
|
+
__decorate([
|
|
7756
|
+
Input('sInfoSignUseFocusedInputRef')
|
|
7757
|
+
], InfoSignDirective.prototype, "useFocusedInputRef", void 0);
|
|
7746
7758
|
InfoSignDirective = __decorate([
|
|
7747
7759
|
Directive({
|
|
7748
7760
|
selector: "[sInfoSign]"
|
|
@@ -10760,9 +10772,9 @@ var RadioButtonComponent = /** @class */ (function () {
|
|
|
10760
10772
|
], RadioButtonComponent.prototype, "onFocus", void 0);
|
|
10761
10773
|
RadioButtonComponent = __decorate([
|
|
10762
10774
|
Component({
|
|
10763
|
-
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",
|
|
10775
|
+
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",
|
|
10764
10776
|
encapsulation: ViewEncapsulation.None,
|
|
10765
|
-
styles: ["\n s-button.horizontal-clear-option button {\n width: min-content !important;\n }\n "]
|
|
10777
|
+
styles: ["\n s-button.horizontal-clear-option button {\n width: min-content !important;\n }\n\n .horizontal-radio-buttons-container {\n gap: 20px 40px;\n .radio-button-item {\n margin: 0;\n }\n }\n "]
|
|
10766
10778
|
})
|
|
10767
10779
|
], RadioButtonComponent);
|
|
10768
10780
|
return RadioButtonComponent;
|
|
@@ -11084,7 +11096,7 @@ var RowComponent = /** @class */ (function () {
|
|
|
11084
11096
|
], RowComponent.prototype, "errorMessages", void 0);
|
|
11085
11097
|
RowComponent = __decorate([
|
|
11086
11098
|
Component({
|
|
11087
|
-
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 *ngIf=\"field.type === FieldType.Custom && field.label\" >\n <label *sInfoSign=\"field.infoSign\" [for]=\"field.name\" [ngClass]=\"{ required: field.required() }\" >\n {{ field.label }}\n </label>\n </ng-container>\n\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 "
|
|
11099
|
+
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 *ngIf=\"field.type === FieldType.Custom && field.label\" >\n <label *sInfoSign=\"field.infoSign; displayTime: field.displayTimeInfoSign; useFocusedInputRef: field.useInfoSignFocusedInputRef\" [for]=\"field.name\" [ngClass]=\"{ required: field.required() }\" >\n {{ field.label }}\n </label>\n </ng-container>\n\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 "
|
|
11088
11100
|
})
|
|
11089
11101
|
], RowComponent);
|
|
11090
11102
|
return RowComponent;
|
|
@@ -11118,7 +11130,7 @@ var DynamicFieldComponent = /** @class */ (function () {
|
|
|
11118
11130
|
DynamicFieldComponent = __decorate([
|
|
11119
11131
|
Component({
|
|
11120
11132
|
selector: "s-dynamic-field",
|
|
11121
|
-
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=\"
|
|
11133
|
+
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"
|
|
11122
11134
|
})
|
|
11123
11135
|
], DynamicFieldComponent);
|
|
11124
11136
|
return DynamicFieldComponent;
|
|
@@ -11890,7 +11902,7 @@ var FieldLabelComponent = /** @class */ (function () {
|
|
|
11890
11902
|
FieldLabelComponent = __decorate([
|
|
11891
11903
|
Component({
|
|
11892
11904
|
selector: 's-field-label',
|
|
11893
|
-
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"
|
|
11905
|
+
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"
|
|
11894
11906
|
})
|
|
11895
11907
|
], FieldLabelComponent);
|
|
11896
11908
|
return FieldLabelComponent;
|
|
@@ -19621,6 +19633,183 @@ var StepsModule = /** @class */ (function () {
|
|
|
19621
19633
|
return StepsModule;
|
|
19622
19634
|
}());
|
|
19623
19635
|
|
|
19636
|
+
var ThumbnailsComponent = /** @class */ (function () {
|
|
19637
|
+
function ThumbnailsComponent() {
|
|
19638
|
+
this.selectable = true;
|
|
19639
|
+
this.selectionChange = new EventEmitter();
|
|
19640
|
+
this.itemOpened = new EventEmitter();
|
|
19641
|
+
this._selection = [];
|
|
19642
|
+
}
|
|
19643
|
+
Object.defineProperty(ThumbnailsComponent.prototype, "selection", {
|
|
19644
|
+
set: function (items) {
|
|
19645
|
+
this._selection = __spread(items);
|
|
19646
|
+
},
|
|
19647
|
+
enumerable: true,
|
|
19648
|
+
configurable: true
|
|
19649
|
+
});
|
|
19650
|
+
ThumbnailsComponent.prototype.onItemOpened = function (item) {
|
|
19651
|
+
this.itemOpened.emit(item);
|
|
19652
|
+
};
|
|
19653
|
+
ThumbnailsComponent.prototype.onItemSelected = function (items) {
|
|
19654
|
+
if (items.selected) {
|
|
19655
|
+
this._selection.push(items.item);
|
|
19656
|
+
}
|
|
19657
|
+
else {
|
|
19658
|
+
this._selection.splice(this._selection.findIndex(function (item) { return item === items.item; }), 1);
|
|
19659
|
+
}
|
|
19660
|
+
this.selectionChange.emit(this._selection);
|
|
19661
|
+
};
|
|
19662
|
+
ThumbnailsComponent.prototype.isSelected = function (item) {
|
|
19663
|
+
return this._selection.some(function (i) { return i.id === item.id; });
|
|
19664
|
+
};
|
|
19665
|
+
__decorate([
|
|
19666
|
+
Input()
|
|
19667
|
+
], ThumbnailsComponent.prototype, "items", void 0);
|
|
19668
|
+
__decorate([
|
|
19669
|
+
Input()
|
|
19670
|
+
], ThumbnailsComponent.prototype, "selectable", void 0);
|
|
19671
|
+
__decorate([
|
|
19672
|
+
Input()
|
|
19673
|
+
], ThumbnailsComponent.prototype, "selection", null);
|
|
19674
|
+
__decorate([
|
|
19675
|
+
Output()
|
|
19676
|
+
], ThumbnailsComponent.prototype, "selectionChange", void 0);
|
|
19677
|
+
__decorate([
|
|
19678
|
+
Output()
|
|
19679
|
+
], ThumbnailsComponent.prototype, "itemOpened", void 0);
|
|
19680
|
+
ThumbnailsComponent = __decorate([
|
|
19681
|
+
Component({
|
|
19682
|
+
selector: "s-thumbnails",
|
|
19683
|
+
template: "<div class=\"thumbnails\">\n <s-thumbnail-item\n *ngFor=\"let item of items\"\n [itemData]=\"item\"\n [isCheckable]=\"selectable\"\n [isChecked]=\"isSelected(item)\"\n (checked)=\"onItemSelected($event)\"\n (opened)=\"onItemOpened($event)\">\n </s-thumbnail-item>\n</div>\n",
|
|
19684
|
+
styles: [".thumbnails{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:12px}"]
|
|
19685
|
+
})
|
|
19686
|
+
], ThumbnailsComponent);
|
|
19687
|
+
return ThumbnailsComponent;
|
|
19688
|
+
}());
|
|
19689
|
+
|
|
19690
|
+
var ThumbnailItemComponent = /** @class */ (function () {
|
|
19691
|
+
function ThumbnailItemComponent() {
|
|
19692
|
+
this.isCheckable = true;
|
|
19693
|
+
this.isChecked = false;
|
|
19694
|
+
this.checked = new EventEmitter();
|
|
19695
|
+
this.opened = new EventEmitter();
|
|
19696
|
+
}
|
|
19697
|
+
ThumbnailItemComponent.prototype.ngOnInit = function () {
|
|
19698
|
+
this._validateItemData();
|
|
19699
|
+
this._createFormGroup();
|
|
19700
|
+
};
|
|
19701
|
+
ThumbnailItemComponent.prototype.onClick = function () {
|
|
19702
|
+
this.opened.emit(this.itemData);
|
|
19703
|
+
};
|
|
19704
|
+
ThumbnailItemComponent.prototype._createFormGroup = function () {
|
|
19705
|
+
var _this = this;
|
|
19706
|
+
this.checkboxFormGroup = new FormGroup({
|
|
19707
|
+
checkbox: new FormControl({ checked: this.isChecked }),
|
|
19708
|
+
});
|
|
19709
|
+
this.checkboxFormGroup.get("checkbox").valueChanges.subscribe(function (value) {
|
|
19710
|
+
_this.checked.emit({ item: _this.itemData, checked: value.checked });
|
|
19711
|
+
});
|
|
19712
|
+
};
|
|
19713
|
+
ThumbnailItemComponent.prototype._validateItemData = function () {
|
|
19714
|
+
if (isNullOrUndefined(this.itemData)) {
|
|
19715
|
+
throw new Error("itemData is required");
|
|
19716
|
+
}
|
|
19717
|
+
};
|
|
19718
|
+
__decorate([
|
|
19719
|
+
Input()
|
|
19720
|
+
], ThumbnailItemComponent.prototype, "itemData", void 0);
|
|
19721
|
+
__decorate([
|
|
19722
|
+
Input()
|
|
19723
|
+
], ThumbnailItemComponent.prototype, "isCheckable", void 0);
|
|
19724
|
+
__decorate([
|
|
19725
|
+
Input()
|
|
19726
|
+
], ThumbnailItemComponent.prototype, "isChecked", void 0);
|
|
19727
|
+
__decorate([
|
|
19728
|
+
Output()
|
|
19729
|
+
], ThumbnailItemComponent.prototype, "checked", void 0);
|
|
19730
|
+
__decorate([
|
|
19731
|
+
Output()
|
|
19732
|
+
], ThumbnailItemComponent.prototype, "opened", void 0);
|
|
19733
|
+
ThumbnailItemComponent = __decorate([
|
|
19734
|
+
Component({
|
|
19735
|
+
selector: "s-thumbnail-item",
|
|
19736
|
+
template: "<button *ngIf=\"itemData\" class=\"thumbnail-item\" (click)=\"onClick()\">\n <div class=\"thumbnail-item-content\">\n <div class=\"content\">\n <ng-container *ngIf=\"itemData.type === 'video'\">\n <s-thumbnail-item-video\n [imageUrl]=\"itemData.imageUrl\"\n [videoUrl]=\"itemData.videoUrl\">\n </s-thumbnail-item-video>\n </ng-container>\n <ng-container *ngIf=\"itemData.type === 'image'\">\n <s-thumbnail-item-image [imageUrl]=\"itemData.imageUrl\"></s-thumbnail-item-image>\n </ng-container>\n <ng-container *ngIf=\"itemData.type === 'audio'\">\n <i class=\"icon fas fa-volume-down\"></i>\n <span class=\"label\">{{ \"platform.angular_components.listen\" | translate }}</span>\n </ng-container>\n <ng-container *ngIf=\"itemData.type === 'file'\">\n <i class=\"icon fas fa-file-alt\"></i>\n <span class=\"label\">{{ \"platform.angular_components.view\" | translate }}</span>\n </ng-container>\n </div>\n <form *ngIf=\"isCheckable\" [formGroup]=\"checkboxFormGroup\" class=\"checkbox\">\n <s-checkbox [data]=\"{ label: '' }\" formControlName=\"checkbox\"> </s-checkbox>\n </form>\n </div>\n <span class=\"file-name-label\">{{ itemData.fileName }}</span>\n</button>\n",
|
|
19737
|
+
styles: [".thumbnail-item{-ms-flex-align:center;align-items:center;background:0 0;border:none;cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;overflow:hidden;width:100px}.thumbnail-item-content{-ms-flex-align:center;align-items:center;background-image:linear-gradient(to top right,#5288b6,#00c89a);border-radius:8px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100px;-ms-flex-pack:center;justify-content:center;position:relative;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:100%;overflow:hidden}.thumbnail-item-content .checkbox{position:absolute;right:8px;top:8px}.thumbnail-item-content .content{-ms-flex-align:center;align-items:center;color:#fff;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:4px;overflow:hidden;width:100%}.thumbnail-item-content .content .icon{font-size:24px}.thumbnail-item-content .content .label{font-size:12px;width:100%;padding:0 8px;overflow:hidden;text-overflow:ellipsis}.thumbnail-item:hover{transform:scale(1.05);transition:.2s ease-in-out}.thumbnail-item .file-name-label{color:#525966;font-family:\"Open Sans\",sans-serif;font-size:12px;overflow:hidden;text-align:center;text-overflow:ellipsis;text-wrap:nowrap;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:100%}"]
|
|
19738
|
+
})
|
|
19739
|
+
], ThumbnailItemComponent);
|
|
19740
|
+
return ThumbnailItemComponent;
|
|
19741
|
+
}());
|
|
19742
|
+
|
|
19743
|
+
var ThumbnailItemVideoComponent = /** @class */ (function () {
|
|
19744
|
+
function ThumbnailItemVideoComponent() {
|
|
19745
|
+
}
|
|
19746
|
+
ThumbnailItemVideoComponent.prototype.onMouseEnter = function () {
|
|
19747
|
+
var _a;
|
|
19748
|
+
if ((_a = this.videoPlayer) === null || _a === void 0 ? void 0 : _a.nativeElement) {
|
|
19749
|
+
this.videoPlayer.nativeElement.play();
|
|
19750
|
+
}
|
|
19751
|
+
};
|
|
19752
|
+
ThumbnailItemVideoComponent.prototype.onMouseLeave = function () {
|
|
19753
|
+
var _a;
|
|
19754
|
+
if ((_a = this.videoPlayer) === null || _a === void 0 ? void 0 : _a.nativeElement) {
|
|
19755
|
+
this.videoPlayer.nativeElement.pause();
|
|
19756
|
+
this.videoPlayer.nativeElement.currentTime = 0;
|
|
19757
|
+
}
|
|
19758
|
+
};
|
|
19759
|
+
__decorate([
|
|
19760
|
+
Input()
|
|
19761
|
+
], ThumbnailItemVideoComponent.prototype, "imageUrl", void 0);
|
|
19762
|
+
__decorate([
|
|
19763
|
+
Input()
|
|
19764
|
+
], ThumbnailItemVideoComponent.prototype, "videoUrl", void 0);
|
|
19765
|
+
__decorate([
|
|
19766
|
+
ViewChild("videoPlayer")
|
|
19767
|
+
], ThumbnailItemVideoComponent.prototype, "videoPlayer", void 0);
|
|
19768
|
+
__decorate([
|
|
19769
|
+
HostListener("mouseenter")
|
|
19770
|
+
], ThumbnailItemVideoComponent.prototype, "onMouseEnter", null);
|
|
19771
|
+
__decorate([
|
|
19772
|
+
HostListener("mouseleave")
|
|
19773
|
+
], ThumbnailItemVideoComponent.prototype, "onMouseLeave", null);
|
|
19774
|
+
ThumbnailItemVideoComponent = __decorate([
|
|
19775
|
+
Component({
|
|
19776
|
+
selector: "s-thumbnail-item-video",
|
|
19777
|
+
template: "<div class=\"thumbnail-item-video\" [ngClass]=\"{ 'thumbnail-item-video--playable': videoUrl }\">\n <div\n class=\"thumbnail-image\"\n [ngStyle]=\"{'backgroundImage': 'url(' + imageUrl + ')'}\">\n </div>\n <div class=\"play-overlay\">\n <i class=\"icon fas fa-play\"></i>\n <span class=\"label\">{{ \"platform.angular_components.watch\" | translate }}</span>\n </div>\n <video\n *ngIf=\"videoUrl\"\n #videoPlayer\n class=\"thumbnail-video-preview\"\n [src]=\"videoUrl\"\n [loop]=\"true\"\n [muted]=\"true\"\n preload=\"none\">\n </video>\n</div>\n",
|
|
19778
|
+
styles: [".thumbnail-item-video{cursor:pointer;height:100px;overflow:hidden;position:relative;width:100px}.thumbnail-item-video .thumbnail-image{background-repeat:no-repeat;background-size:cover;height:100%;width:100%}.thumbnail-item-video .thumbnail-video-preview{height:100%;left:0;width:100%;object-fit:cover;opacity:0;position:absolute;top:0;transition:opacity .3s ease-in-out}.thumbnail-item-video:hover .thumbnail-video-preview{opacity:1}.thumbnail-item-video .play-overlay{-ms-flex-align:center;align-items:center;color:#fff;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:8px;-ms-flex-pack:center;justify-content:center;left:50%;opacity:1;position:absolute;top:50%;transform:translate(-50%,-50%);transition:opacity .3s ease-in-out;width:100%;z-index:10}.thumbnail-item-video .play-overlay .icon{color:#fff;font-size:24px}.thumbnail-item-video .play-overlay .label{overflow:hidden;padding:0 8px;text-overflow:ellipsis;width:100%}.thumbnail-item-video--playable:hover .play-overlay{opacity:0}"]
|
|
19779
|
+
})
|
|
19780
|
+
], ThumbnailItemVideoComponent);
|
|
19781
|
+
return ThumbnailItemVideoComponent;
|
|
19782
|
+
}());
|
|
19783
|
+
|
|
19784
|
+
var ThumbnailItemImageComponent = /** @class */ (function () {
|
|
19785
|
+
function ThumbnailItemImageComponent() {
|
|
19786
|
+
}
|
|
19787
|
+
__decorate([
|
|
19788
|
+
Input()
|
|
19789
|
+
], ThumbnailItemImageComponent.prototype, "imageUrl", void 0);
|
|
19790
|
+
ThumbnailItemImageComponent = __decorate([
|
|
19791
|
+
Component({
|
|
19792
|
+
selector: "s-thumbnail-item-image",
|
|
19793
|
+
template: "<div class=\"thumbnail-item-image\">\n <div\n *ngIf=\"imageUrl; else noImage\"\n class=\"thumbnail-image\"\n [ngStyle]=\"{ backgroundImage: 'url(' + imageUrl + ')' }\">\n </div>\n\n <ng-template #noImage>\n <div class=\"content\">\n <i class=\"icon fas fa-image\"></i>\n <span class=\"label\">{{ \"platform.angular_components.view\" | translate }}</span>\n </div>\n </ng-template>\n</div>\n",
|
|
19794
|
+
styles: [".thumbnail-item-image{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;height:100px;-ms-flex-pack:center;justify-content:center;width:100px}.thumbnail-item-image .thumbnail-image{background-repeat:no-repeat;background-size:cover;height:100%;width:100%}.thumbnail-item-image .content{-ms-flex-align:center;align-items:center;color:#fff;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-family:\"Open Sans\",sans-serif;-ms-flex-pack:center;justify-content:center;width:100%}.thumbnail-item-image .content .icon{font-size:24px}.thumbnail-item-image .content .label{font-size:12px;overflow:hidden;padding:0 8px;text-overflow:ellipsis;width:100%}"]
|
|
19795
|
+
})
|
|
19796
|
+
], ThumbnailItemImageComponent);
|
|
19797
|
+
return ThumbnailItemImageComponent;
|
|
19798
|
+
}());
|
|
19799
|
+
|
|
19800
|
+
var ThumbnailsModule = /** @class */ (function () {
|
|
19801
|
+
function ThumbnailsModule() {
|
|
19802
|
+
}
|
|
19803
|
+
ThumbnailsModule = __decorate([
|
|
19804
|
+
NgModule({
|
|
19805
|
+
imports: [CommonModule, ReactiveFormsModule, TranslateModule, CheckboxModule],
|
|
19806
|
+
declarations: [ThumbnailsComponent, ThumbnailItemComponent, ThumbnailItemVideoComponent, ThumbnailItemImageComponent],
|
|
19807
|
+
exports: [ThumbnailsComponent],
|
|
19808
|
+
})
|
|
19809
|
+
], ThumbnailsModule);
|
|
19810
|
+
return ThumbnailsModule;
|
|
19811
|
+
}());
|
|
19812
|
+
|
|
19624
19813
|
var TileComponent = /** @class */ (function () {
|
|
19625
19814
|
function TileComponent() {
|
|
19626
19815
|
this.id = "s-tile-" + TileComponent_1.nextId++;
|
|
@@ -20987,6 +21176,9 @@ var ChipsModule = /** @class */ (function () {
|
|
|
20987
21176
|
}());
|
|
20988
21177
|
|
|
20989
21178
|
var fallback = {
|
|
21179
|
+
"platform.angular_components.watch": "assistir",
|
|
21180
|
+
"platform.angular_components.view": "visualizar",
|
|
21181
|
+
"platform.angular_components.listen": "ouvir",
|
|
20990
21182
|
"platform.angular_components.drag_your_photo_or": "Arraste sua foto ou",
|
|
20991
21183
|
"platform.angular_components.select_a_file": "selecione um arquivo",
|
|
20992
21184
|
"platform.angular_components.change_photo": "Alterar foto",
|
|
@@ -21312,5 +21504,5 @@ var fallback = {
|
|
|
21312
21504
|
* Generated bundle index. Do not edit.
|
|
21313
21505
|
*/
|
|
21314
21506
|
|
|
21315
|
-
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, CheckDisabled, CheckboxComponent, CheckboxModule, ChipsComponent, ChipsField, ChipsModule, 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, InlineEditCalendarField, InlineEditComponent, InlineEditField, InlineEditLookupField, InlineEditModule, InlineEditNumberField, InlineEditTextAreaField, InlineEditTextAreaIAField, InlineEditTextField, KanbanComponent, KanbanModule, KanbanTemplateTypes, LabelValueComponent, LabelValueModule, 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, PicklistComponent, PicklistModule, PicklistTemplateTypes, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SliderComponent, SliderModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TemplateDirective, TemplateModule, TextAreaField, TextAreaIAComponent, TextAreaIAModule, 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, isNullOrUndefined, parseItensPickList, ɵ0$3 as ɵ0, ɵ1$2 as ɵ1, ɵ2$1 as ɵ2, ɵ3$1 as ɵ3, ɵ4, TooltipComponent as ɵa, TooltipDirective as ɵb, TablePagingComponent as ɵba, PasswordFieldModule as ɵbb, FieldLabelModule as ɵbc, FieldLabelComponent as ɵbd, PasswordFieldComponent as ɵbe, TextFieldModule as ɵbf, TextFieldComponent as ɵbg, NumberFieldModule as ɵbh, NumberFieldComponent as ɵbi, CurrencyFieldModule as ɵbj, CurrencyFieldComponent as ɵbk, BignumberFieldModule as ɵbl, BignumberFieldComponent as ɵbm, CheckboxFieldModule as ɵbn, CheckboxFieldComponent as ɵbo, ProfilePictureModule as ɵbp, ThumbnailService as ɵbq, StructureModule as ɵbr, HeaderComponent as ɵbs, FooterComponent as ɵbt, ProfilePictureFieldComponent as ɵbu, EditorFieldModule as ɵbv, EditorFieldComponent as ɵbw, AutocompleteFieldComponent as ɵbx, BooleanFieldComponent as ɵby, BooleanSwitchFieldComponent as ɵbz, TieredMenuEventService as ɵc, CalendarFieldComponent as ɵca, ChipsFieldComponent as ɵcb, CountryPhonePickerFieldComponent as ɵcc, DynamicFieldComponent as ɵcd, DynamicFormDirective as ɵce, FieldsetComponent as ɵcf, FileUploadComponent$1 as ɵcg, LookupFieldComponent as ɵch, RadioButtonComponent as ɵci, RowComponent as ɵcj, SectionComponent as ɵck, SelectFieldComponent as ɵcl, SliderFieldComponent as ɵcm, TextAreaFieldComponent as ɵcn, TextAreaIAFieldComponent as ɵco, IAssistService as ɵcp, DecimalField as ɵcr, SideTableComponent as ɵcs, InfiniteScrollModule as ɵct, InfiniteScrollDirective as ɵcu, IAInsightSidebarComponent as ɵcv, IAInsightCardComponent as ɵcw, IAInsightCardLoaderComponent as ɵcx, InlineEditItemComponent as ɵcy, InlineEditCalendarComponent as ɵcz, TieredMenuService as ɵd, InlineEditLookupComponent as ɵda, InlineEditNumberComponent as ɵdb, InlineEditTextComponent as ɵdc, InlineEditTextAreaComponent as ɵdd, InlineEditTextAreaIAComponent as ɵde, KanbanEventService as ɵdf, KanbanItemComponent as ɵdg, KanbanColumnComponent as ɵdh, KanbanItemDraggingComponent as ɵdi, NumberLocaleOptions as ɵdj, BorderButtonModule as ɵdk, BorderButtonComponent as ɵdl, ProgressBarDeterminateComponent as ɵdm, ProgressBarIndeterminateComponent as ɵdn, SelectButtonItemComponent as ɵdo, SlidePanelService as ɵdp,
|
|
21507
|
+
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, CheckDisabled, CheckboxComponent, CheckboxModule, ChipsComponent, ChipsField, ChipsModule, 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, InlineEditCalendarField, InlineEditComponent, InlineEditField, InlineEditLookupField, InlineEditModule, InlineEditNumberField, InlineEditTextAreaField, InlineEditTextAreaIAField, InlineEditTextField, KanbanComponent, KanbanModule, KanbanTemplateTypes, LabelValueComponent, LabelValueModule, 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, PicklistComponent, PicklistModule, PicklistTemplateTypes, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SliderComponent, SliderModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TemplateDirective, TemplateModule, TextAreaField, TextAreaIAComponent, TextAreaIAModule, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, ThumbnailsComponent, ThumbnailsModule, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, convertToMomentDateFormat, countries, fallback, isNullOrUndefined, parseItensPickList, ɵ0$3 as ɵ0, ɵ1$2 as ɵ1, ɵ2$1 as ɵ2, ɵ3$1 as ɵ3, ɵ4, TooltipComponent as ɵa, TooltipDirective as ɵb, TablePagingComponent as ɵba, PasswordFieldModule as ɵbb, FieldLabelModule as ɵbc, FieldLabelComponent as ɵbd, PasswordFieldComponent as ɵbe, TextFieldModule as ɵbf, TextFieldComponent as ɵbg, NumberFieldModule as ɵbh, NumberFieldComponent as ɵbi, CurrencyFieldModule as ɵbj, CurrencyFieldComponent as ɵbk, BignumberFieldModule as ɵbl, BignumberFieldComponent as ɵbm, CheckboxFieldModule as ɵbn, CheckboxFieldComponent as ɵbo, ProfilePictureModule as ɵbp, ThumbnailService as ɵbq, StructureModule as ɵbr, HeaderComponent as ɵbs, FooterComponent as ɵbt, ProfilePictureFieldComponent as ɵbu, EditorFieldModule as ɵbv, EditorFieldComponent as ɵbw, AutocompleteFieldComponent as ɵbx, BooleanFieldComponent as ɵby, BooleanSwitchFieldComponent as ɵbz, TieredMenuEventService as ɵc, CalendarFieldComponent as ɵca, ChipsFieldComponent as ɵcb, CountryPhonePickerFieldComponent as ɵcc, DynamicFieldComponent as ɵcd, DynamicFormDirective as ɵce, FieldsetComponent as ɵcf, FileUploadComponent$1 as ɵcg, LookupFieldComponent as ɵch, RadioButtonComponent as ɵci, RowComponent as ɵcj, SectionComponent as ɵck, SelectFieldComponent as ɵcl, SliderFieldComponent as ɵcm, TextAreaFieldComponent as ɵcn, TextAreaIAFieldComponent as ɵco, IAssistService as ɵcp, DecimalField as ɵcr, SideTableComponent as ɵcs, InfiniteScrollModule as ɵct, InfiniteScrollDirective as ɵcu, IAInsightSidebarComponent as ɵcv, IAInsightCardComponent as ɵcw, IAInsightCardLoaderComponent as ɵcx, InlineEditItemComponent as ɵcy, InlineEditCalendarComponent as ɵcz, TieredMenuService as ɵd, InlineEditLookupComponent as ɵda, InlineEditNumberComponent as ɵdb, InlineEditTextComponent as ɵdc, InlineEditTextAreaComponent as ɵdd, InlineEditTextAreaIAComponent as ɵde, KanbanEventService as ɵdf, KanbanItemComponent as ɵdg, KanbanColumnComponent as ɵdh, KanbanItemDraggingComponent as ɵdi, NumberLocaleOptions as ɵdj, BorderButtonModule as ɵdk, BorderButtonComponent as ɵdl, ProgressBarDeterminateComponent as ɵdm, ProgressBarIndeterminateComponent as ɵdn, SelectButtonItemComponent as ɵdo, SlidePanelService as ɵdp, ThumbnailItemComponent as ɵdq, ThumbnailItemVideoComponent as ɵdr, ThumbnailItemImageComponent as ɵds, TimelineItemModule as ɵdt, TimelineIconItemComponent as ɵdu, HorizontalTimelineModule as ɵdv, HorizontalTimelineComponent as ɵdw, VerticalTimelineModule as ɵdx, VerticalTimelineComponent as ɵdy, RangeLineComponent as ɵdz, TieredMenuGlobalService as ɵe, CollapseOptionComponent as ɵea, CollapsedItemsComponent as ɵeb, VerticalItemsComponent as ɵec, ChipItemComponent as ɵed, TieredMenuComponent as ɵf, TieredMenuNestedComponent as ɵg, TieredMenuItemComponent as ɵh, TieredMenuDividerComponent as ɵi, CustomTranslationsModule as ɵj, CodeEditorComponent as ɵk, CoreFacade as ɵl, CodeMirror6Core as ɵm, CountryPhonePickerService as ɵn, LocalizedCurrencyImpurePipe as ɵo, LocalizedBignumberPipe as ɵp, LocalizedBignumberImpurePipe as ɵq, NumericPipe as ɵr, EmptyStateGoBackComponent as ɵs, IAssistIconComponent as ɵt, SeniorIconComponent as ɵu, DotsIndicatorComponent as ɵv, LoadingIndicatorComponent as ɵw, FileUploadService as ɵx, InfoSignComponent as ɵy, TableColumnsComponent as ɵz };
|
|
21316
21508
|
//# sourceMappingURL=seniorsistemas-angular-components.js.map
|