@seniorsistemas/angular-components 17.10.0 → 17.10.1
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 +71 -139
- 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/tooltip/tooltip.directive.d.ts +1 -1
- package/esm2015/components/dynamic-form/components/fields/lookup/lookup-field.component.js +2 -2
- package/esm2015/components/tooltip/tooltip.component.js +3 -3
- package/esm2015/components/tooltip/tooltip.directive.js +59 -138
- package/esm5/components/dynamic-form/components/fields/lookup/lookup-field.component.js +2 -2
- package/esm5/components/tooltip/tooltip.component.js +3 -3
- package/esm5/components/tooltip/tooltip.directive.js +71 -139
- package/fesm2015/seniorsistemas-angular-components.js +60 -139
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +72 -140
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -366,8 +366,8 @@ let TooltipComponent = class TooltipComponent {
|
|
|
366
366
|
};
|
|
367
367
|
TooltipComponent = __decorate([
|
|
368
368
|
Component({
|
|
369
|
-
template: "<div\n class=\"tooltip\"\n [ngClass]=\"['tooltip--' + position]\"\n [class.tooltip--visible]=\"visible\"\n [ngStyle]=\"{\n 'left': left + 'px',\n 'top': top + 'px'\n }\">\n <ng-template\n *ngIf=\"escape;\n then escapeTemplate;\n else noEscapeTemplate\">\n </ng-template> \n</div>\n\n<ng-template #noEscapeTemplate>\n <span\n class=\"tooltip__content\"\n [innerHTML]=\"tooltip\">\n </span>\n</ng-template>\n\n<ng-template #escapeTemplate>\n <span class=\"tooltip__content\">\n {{ tooltip }}\n </span>\n</ng-template>",
|
|
370
|
-
styles: [".tooltip{background-color:#000;border-radius:2px;color:#fff;font-family:\"Open Sans\",sans-serif;font-size:14px;font-weight:400;line-height:21px;margin-top:5px;opacity:0;padding:8px;position:fixed;transform:translateX(-50%);text-align:center;max-width:
|
|
369
|
+
template: "<div\n id=\"tooltip\"\n class=\"tooltip\"\n [ngClass]=\"['tooltip--' + position]\"\n [class.tooltip--visible]=\"visible\"\n [ngStyle]=\"{\n 'left': left + 'px',\n 'top': top + 'px'\n }\">\n <ng-template\n *ngIf=\"escape;\n then escapeTemplate;\n else noEscapeTemplate\">\n </ng-template> \n</div>\n\n<ng-template #noEscapeTemplate>\n <span\n class=\"tooltip__content\"\n [innerHTML]=\"tooltip\">\n </span>\n</ng-template>\n\n<ng-template #escapeTemplate>\n <span class=\"tooltip__content\">\n {{ tooltip }}\n </span>\n</ng-template>",
|
|
370
|
+
styles: [".tooltip{background-color:#000;border-radius:2px;color:#fff;font-family:\"Open Sans\",sans-serif;font-size:14px;font-weight:400;line-height:21px;margin-top:5px;opacity:0;padding:8px;position:fixed;transform:translateX(-50%);text-align:center;max-width:220px;word-wrap:break-word;z-index:99999}.tooltip--visible{opacity:1;transition:opacity .3s}.tooltip::before{content:\"\";height:0;position:absolute;width:0}.tooltip--bottom{margin-top:8px;transform:translateX(-50%)}.tooltip--bottom::before{border:5px solid transparent;border-bottom:5px solid #000;left:calc(50% - 5px);top:-10px}.tooltip--top{margin-bottom:8px;transform:translate(-50%,-100%)}.tooltip--top::before{border:5px solid transparent;border-top:5px solid #000;left:calc(50% - 5px);bottom:-10px}.tooltip--left{margin-right:28px;transform:translate(calc(-100% - 7px),-50%)}.tooltip--left::before{border:5px solid transparent;border-left:5px solid #000;right:-10px;bottom:calc(50% - 5px)}.tooltip--right{margin-left:7px;transform:translateY(-50%)}.tooltip--right::before{border:5px solid transparent;border-right:5px solid #000;left:-10px;bottom:calc(50% - 5px)}"]
|
|
371
371
|
})
|
|
372
372
|
], TooltipComponent);
|
|
373
373
|
|
|
@@ -449,7 +449,7 @@ let TooltipDirective = class TooltipDirective {
|
|
|
449
449
|
top: Math.min(elementRect.top, toolTipRect.top),
|
|
450
450
|
right: Math.max(elementRect.right, toolTipRect.right),
|
|
451
451
|
left: Math.min(elementRect.left, toolTipRect.left),
|
|
452
|
-
bottom: Math.max(elementRect.bottom, toolTipRect.bottom)
|
|
452
|
+
bottom: Math.max(elementRect.bottom, toolTipRect.bottom),
|
|
453
453
|
};
|
|
454
454
|
if (this.isMousePositionOutsideOfElement(event.clientX, event.clientY, totalElementArea)) {
|
|
455
455
|
this.destroy();
|
|
@@ -465,12 +465,12 @@ let TooltipDirective = class TooltipDirective {
|
|
|
465
465
|
if (this.focusedInputRef) {
|
|
466
466
|
const inputFocus = this.focusedInputRef;
|
|
467
467
|
const icon = this.getIconFromFocusedInput();
|
|
468
|
-
this.renderer.listen(this.focusedInputRef,
|
|
468
|
+
this.renderer.listen(this.focusedInputRef, "focus", () => {
|
|
469
469
|
if (icon && this.isMatchingTooltip(icon)) {
|
|
470
470
|
this.createTootipByFocus(icon);
|
|
471
471
|
}
|
|
472
472
|
});
|
|
473
|
-
this.renderer.listen(inputFocus,
|
|
473
|
+
this.renderer.listen(inputFocus, "blur", () => {
|
|
474
474
|
if (icon && this.isMatchingTooltip(icon)) {
|
|
475
475
|
this.removeTooltip(icon);
|
|
476
476
|
this.destroy();
|
|
@@ -491,7 +491,7 @@ let TooltipDirective = class TooltipDirective {
|
|
|
491
491
|
* @returns true se o tooltip corresponde; caso contrário, false.
|
|
492
492
|
*/
|
|
493
493
|
isMatchingTooltip(icon) {
|
|
494
|
-
const tooltipText = icon.getAttribute(
|
|
494
|
+
const tooltipText = icon.getAttribute("ng-reflect-tooltip");
|
|
495
495
|
return this.tooltip === tooltipText;
|
|
496
496
|
}
|
|
497
497
|
/**
|
|
@@ -499,7 +499,7 @@ let TooltipDirective = class TooltipDirective {
|
|
|
499
499
|
* @param icon O ícone do input em focus.
|
|
500
500
|
*/
|
|
501
501
|
removeTooltip(icon) {
|
|
502
|
-
const tooltip = icon.querySelector(
|
|
502
|
+
const tooltip = icon.querySelector(".tooltip");
|
|
503
503
|
if (tooltip) {
|
|
504
504
|
tooltip.remove();
|
|
505
505
|
}
|
|
@@ -507,9 +507,7 @@ let TooltipDirective = class TooltipDirective {
|
|
|
507
507
|
// whenever the component with the tooltip is clicked I destroy the tooltip.
|
|
508
508
|
// whenever a key is pressed on the component with the tooltip I destroy the tooltip.
|
|
509
509
|
onClick() {
|
|
510
|
-
if (this.tooltipEvent === TooltipEvent.Hover &&
|
|
511
|
-
!navigator.userAgent.match(/Android/i) &&
|
|
512
|
-
!navigator.userAgent.match(/iPhone/i)) {
|
|
510
|
+
if (this.tooltipEvent === TooltipEvent.Hover && !navigator.userAgent.match(/Android/i) && !navigator.userAgent.match(/iPhone/i)) {
|
|
513
511
|
this.destroy();
|
|
514
512
|
}
|
|
515
513
|
}
|
|
@@ -554,12 +552,7 @@ let TooltipDirective = class TooltipDirective {
|
|
|
554
552
|
}
|
|
555
553
|
}
|
|
556
554
|
validatePosition() {
|
|
557
|
-
const containsPosition = [
|
|
558
|
-
TooltipPosition.Top,
|
|
559
|
-
TooltipPosition.Right,
|
|
560
|
-
TooltipPosition.Bottom,
|
|
561
|
-
TooltipPosition.Left,
|
|
562
|
-
].includes(this.position);
|
|
555
|
+
const containsPosition = [TooltipPosition.Top, TooltipPosition.Right, TooltipPosition.Bottom, TooltipPosition.Left].includes(this.position);
|
|
563
556
|
if (!containsPosition) {
|
|
564
557
|
this.position = TooltipPosition.Top;
|
|
565
558
|
throw new Error(`Tooltip ${this.position} position is unexpected`);
|
|
@@ -572,7 +565,7 @@ let TooltipDirective = class TooltipDirective {
|
|
|
572
565
|
document.body.appendChild(domElem);
|
|
573
566
|
this.setTooltipComponentProperties();
|
|
574
567
|
this.showTimeout = window.setTimeout(this.showTooltip.bind(this), this.showDelay);
|
|
575
|
-
this.tooltipDivElement = domElem.querySelector(
|
|
568
|
+
this.tooltipDivElement = domElem.querySelector(".tooltip");
|
|
576
569
|
if (this.displayTime) {
|
|
577
570
|
window.setTimeout(this.destroy.bind(this), this.displayTime);
|
|
578
571
|
}
|
|
@@ -593,142 +586,70 @@ let TooltipDirective = class TooltipDirective {
|
|
|
593
586
|
var _a;
|
|
594
587
|
if (this.componentRef === null && ((_a = this.tooltip) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
595
588
|
const domElem = this.getDomElement();
|
|
596
|
-
const tooltip = domElem.querySelector(
|
|
589
|
+
const tooltip = domElem.querySelector(".tooltip");
|
|
597
590
|
icon.appendChild(tooltip);
|
|
598
591
|
this.setTooltipComponentProperties();
|
|
599
592
|
setTimeout(() => tooltip.classList.add("tooltip--visible"), 0);
|
|
600
|
-
this.renderer.listen(window,
|
|
601
|
-
this.
|
|
593
|
+
this.renderer.listen(window, "scroll", () => {
|
|
594
|
+
this.setTooltipPositionProperty();
|
|
602
595
|
});
|
|
603
596
|
}
|
|
604
597
|
}
|
|
605
|
-
updateTooltipPosition() {
|
|
606
|
-
if (this.componentRef) {
|
|
607
|
-
const { left, right, top, bottom } = this.elementRef.nativeElement.getBoundingClientRect();
|
|
608
|
-
const tooltipWidth = right - left;
|
|
609
|
-
const tooltipHeight = bottom - top;
|
|
610
|
-
switch (this.position) {
|
|
611
|
-
case TooltipPosition.Top:
|
|
612
|
-
this.componentRef.instance.left = Math.round(tooltipWidth / 2 + left);
|
|
613
|
-
this.componentRef.instance.top = Math.round(top - 20 - 5);
|
|
614
|
-
break;
|
|
615
|
-
case TooltipPosition.Bottom:
|
|
616
|
-
this.componentRef.instance.left = Math.round(tooltipWidth / 2 + left);
|
|
617
|
-
this.componentRef.instance.top = Math.round(bottom + 20);
|
|
618
|
-
break;
|
|
619
|
-
case TooltipPosition.Left:
|
|
620
|
-
this.componentRef.instance.left = Math.round(left - 20);
|
|
621
|
-
this.componentRef.instance.top = Math.round(top + tooltipHeight / 2 - 5);
|
|
622
|
-
break;
|
|
623
|
-
case TooltipPosition.Right:
|
|
624
|
-
this.componentRef.instance.left = Math.round(right + 20);
|
|
625
|
-
this.componentRef.instance.top = Math.round(top + tooltipHeight / 2 - 5);
|
|
626
|
-
break;
|
|
627
|
-
default:
|
|
628
|
-
break;
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
598
|
showTooltip() {
|
|
633
599
|
if (this.componentRef !== null) {
|
|
634
600
|
this.componentRef.instance.visible = this.visible;
|
|
635
|
-
|
|
601
|
+
this.setTooltipPositionProperty();
|
|
602
|
+
window.addEventListener("mousemove", this.boundOnWindowMouseMoveFunction);
|
|
636
603
|
}
|
|
637
604
|
}
|
|
638
|
-
|
|
605
|
+
setTooltipPositionProperty() {
|
|
639
606
|
const margin = 20;
|
|
640
607
|
const anchorSize = 5;
|
|
608
|
+
const domElem = this.componentRef.hostView.rootNodes[0].querySelector("#tooltip");
|
|
609
|
+
const { height, width } = domElem.getBoundingClientRect();
|
|
610
|
+
const { left, right, top, bottom } = this.elementRef.nativeElement.getBoundingClientRect();
|
|
611
|
+
const positions = [
|
|
612
|
+
{
|
|
613
|
+
pos: TooltipPosition.Top,
|
|
614
|
+
check: () => top > height,
|
|
615
|
+
set: () => ({ left: left + (right - left) / 2, top: top - margin - anchorSize }),
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
pos: TooltipPosition.Bottom,
|
|
619
|
+
check: () => document.body.clientHeight - bottom > height,
|
|
620
|
+
set: () => ({ left: left + (right - left) / 2, top: bottom + margin }),
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
pos: TooltipPosition.Left,
|
|
624
|
+
check: () => left > width,
|
|
625
|
+
set: () => ({ left: left - margin, top: top + height / 2 - anchorSize }),
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
pos: TooltipPosition.Right,
|
|
629
|
+
check: () => document.body.clientWidth - right > width,
|
|
630
|
+
set: () => ({ left: right + margin, top: top + height / 2 - anchorSize }),
|
|
631
|
+
},
|
|
632
|
+
];
|
|
633
|
+
for (const { pos, check, set } of positions) {
|
|
634
|
+
if (check()) {
|
|
635
|
+
this.position = pos;
|
|
636
|
+
const { left, top } = set();
|
|
637
|
+
this.componentRef.instance.left = Math.round(left);
|
|
638
|
+
this.componentRef.instance.top = Math.round(top);
|
|
639
|
+
this.componentRef.instance.position = this.position;
|
|
640
|
+
return;
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
// Se não conseguir posicionar, mostrar abaixo
|
|
644
|
+
this.position = TooltipPosition.Bottom;
|
|
645
|
+
this.componentRef.instance.left = Math.round(left + (right - left) / 2);
|
|
646
|
+
this.componentRef.instance.top = Math.round(bottom + margin);
|
|
647
|
+
this.componentRef.instance.position = this.position;
|
|
648
|
+
}
|
|
649
|
+
setTooltipComponentProperties() {
|
|
641
650
|
if (this.componentRef !== null) {
|
|
642
651
|
this.componentRef.instance.tooltip = this.tooltip;
|
|
643
652
|
this.componentRef.instance.escape = this.escape;
|
|
644
|
-
const { left, right, top, bottom } = this.elementRef.nativeElement.getBoundingClientRect();
|
|
645
|
-
const tooltipHeight = bottom - top;
|
|
646
|
-
const tooltipWidth = right - left;
|
|
647
|
-
const safeSpace = 150;
|
|
648
|
-
let positioned = false;
|
|
649
|
-
const invalidOptions = [];
|
|
650
|
-
while (!positioned) {
|
|
651
|
-
if (invalidOptions.includes(TooltipPosition.Top)
|
|
652
|
-
&& invalidOptions.includes(TooltipPosition.Bottom)
|
|
653
|
-
&& invalidOptions.includes(TooltipPosition.Left)
|
|
654
|
-
&& invalidOptions.includes(TooltipPosition.Right)) {
|
|
655
|
-
this.destroy();
|
|
656
|
-
throw new Error("No space to show tooltip");
|
|
657
|
-
}
|
|
658
|
-
switch (this.position) {
|
|
659
|
-
case TooltipPosition.Top: {
|
|
660
|
-
if (invalidOptions.includes(TooltipPosition.Top)) {
|
|
661
|
-
this.position = TooltipPosition.Left;
|
|
662
|
-
break;
|
|
663
|
-
}
|
|
664
|
-
const topShift = top;
|
|
665
|
-
if (topShift <= tooltipHeight + safeSpace) {
|
|
666
|
-
this.position = TooltipPosition.Bottom;
|
|
667
|
-
invalidOptions.push(TooltipPosition.Top);
|
|
668
|
-
positioned = false;
|
|
669
|
-
break;
|
|
670
|
-
}
|
|
671
|
-
this.componentRef.instance.left = Math.round(tooltipWidth / 2 + left);
|
|
672
|
-
this.componentRef.instance.top = Math.round(top - margin - anchorSize);
|
|
673
|
-
positioned = true;
|
|
674
|
-
break;
|
|
675
|
-
}
|
|
676
|
-
case TooltipPosition.Bottom: {
|
|
677
|
-
if (invalidOptions.includes(TooltipPosition.Bottom)) {
|
|
678
|
-
this.position = TooltipPosition.Left;
|
|
679
|
-
break;
|
|
680
|
-
}
|
|
681
|
-
const bottomShift = document.body.clientHeight - bottom;
|
|
682
|
-
if (bottomShift <= tooltipHeight + safeSpace) {
|
|
683
|
-
this.position = TooltipPosition.Top;
|
|
684
|
-
invalidOptions.push(TooltipPosition.Bottom);
|
|
685
|
-
break;
|
|
686
|
-
}
|
|
687
|
-
this.componentRef.instance.left = Math.round(tooltipWidth / 2 + left);
|
|
688
|
-
this.componentRef.instance.top = Math.round(bottom + margin);
|
|
689
|
-
positioned = true;
|
|
690
|
-
break;
|
|
691
|
-
}
|
|
692
|
-
case TooltipPosition.Left: {
|
|
693
|
-
if (invalidOptions.includes(TooltipPosition.Left)) {
|
|
694
|
-
this.position = TooltipPosition.Top;
|
|
695
|
-
break;
|
|
696
|
-
}
|
|
697
|
-
const leftShift = left;
|
|
698
|
-
if (leftShift <= tooltipWidth + safeSpace) {
|
|
699
|
-
this.position = TooltipPosition.Right;
|
|
700
|
-
invalidOptions.push(TooltipPosition.Left);
|
|
701
|
-
positioned = false;
|
|
702
|
-
break;
|
|
703
|
-
}
|
|
704
|
-
this.componentRef.instance.left = Math.round(left - margin);
|
|
705
|
-
this.componentRef.instance.top = Math.round(top + tooltipHeight / 2 - anchorSize);
|
|
706
|
-
positioned = true;
|
|
707
|
-
break;
|
|
708
|
-
}
|
|
709
|
-
case TooltipPosition.Right: {
|
|
710
|
-
if (invalidOptions.includes(TooltipPosition.Right)) {
|
|
711
|
-
this.position = TooltipPosition.Top;
|
|
712
|
-
break;
|
|
713
|
-
}
|
|
714
|
-
const rightShift = document.body.clientWidth - right;
|
|
715
|
-
if (rightShift <= tooltipWidth + safeSpace) {
|
|
716
|
-
this.position = TooltipPosition.Left;
|
|
717
|
-
invalidOptions.push(TooltipPosition.Right);
|
|
718
|
-
positioned = false;
|
|
719
|
-
break;
|
|
720
|
-
}
|
|
721
|
-
this.componentRef.instance.left = Math.round(right + margin);
|
|
722
|
-
this.componentRef.instance.top = Math.round(top + tooltipHeight / 2 - anchorSize);
|
|
723
|
-
positioned = true;
|
|
724
|
-
break;
|
|
725
|
-
}
|
|
726
|
-
default: {
|
|
727
|
-
break;
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
this.componentRef.instance.position = this.position;
|
|
731
|
-
}
|
|
732
653
|
}
|
|
733
654
|
}
|
|
734
655
|
destroy() {
|
|
@@ -739,7 +660,7 @@ let TooltipDirective = class TooltipDirective {
|
|
|
739
660
|
this.componentRef = null;
|
|
740
661
|
this.tooltipDivElement = null;
|
|
741
662
|
}
|
|
742
|
-
window.removeEventListener(
|
|
663
|
+
window.removeEventListener("mousemove", this.boundOnWindowMouseMoveFunction);
|
|
743
664
|
}
|
|
744
665
|
};
|
|
745
666
|
TooltipDirective.ctorParameters = () => [
|
|
@@ -8815,7 +8736,7 @@ __decorate([
|
|
|
8815
8736
|
], LookupFieldComponent.prototype, "formControl", void 0);
|
|
8816
8737
|
LookupFieldComponent = __decorate([
|
|
8817
8738
|
Component({
|
|
8818
|
-
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"
|
|
8739
|
+
template: "<s-field-label [field]=\"field\"></s-field-label>\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"
|
|
8819
8740
|
})
|
|
8820
8741
|
], LookupFieldComponent);
|
|
8821
8742
|
|