@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.
@@ -1,4 +1,4 @@
1
- import { __decorate, __assign, __extends, __spread, __awaiter, __generator, __param, __values, __rest, __read } from 'tslib';
1
+ import { __decorate, __values, __assign, __extends, __spread, __awaiter, __generator, __param, __rest, __read } from 'tslib';
2
2
  import { EventEmitter, Input, Output, Component, ContentChildren, ViewChild, HostListener, forwardRef, NgModule, ɵɵdefineInjectable, Injectable, ElementRef, ApplicationRef, ComponentFactoryResolver, Injector, Renderer2, Directive, KeyValueDiffers, HostBinding, TemplateRef, InjectionToken, Inject, ViewEncapsulation, ViewContainerRef, ChangeDetectorRef, Pipe, ɵɵinject, ContentChild, Optional, ViewChildren } from '@angular/core';
3
3
  import { trigger, transition, style as style$7, animate, state, group, query, animateChild } from '@angular/animations';
4
4
  import { Subject, of, from, ReplaySubject, throwError, fromEvent, forkJoin } from 'rxjs';
@@ -379,8 +379,8 @@ var TooltipComponent = /** @class */ (function () {
379
379
  }
380
380
  TooltipComponent = __decorate([
381
381
  Component({
382
- 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>",
383
- 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:150px;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)}"]
382
+ 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>",
383
+ 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)}"]
384
384
  })
385
385
  ], TooltipComponent);
386
386
  return TooltipComponent;
@@ -480,7 +480,7 @@ var TooltipDirective = /** @class */ (function () {
480
480
  top: Math.min(elementRect.top, toolTipRect.top),
481
481
  right: Math.max(elementRect.right, toolTipRect.right),
482
482
  left: Math.min(elementRect.left, toolTipRect.left),
483
- bottom: Math.max(elementRect.bottom, toolTipRect.bottom)
483
+ bottom: Math.max(elementRect.bottom, toolTipRect.bottom),
484
484
  };
485
485
  if (this.isMousePositionOutsideOfElement(event.clientX, event.clientY, totalElementArea)) {
486
486
  this.destroy();
@@ -497,12 +497,12 @@ var TooltipDirective = /** @class */ (function () {
497
497
  if (this.focusedInputRef) {
498
498
  var inputFocus = this.focusedInputRef;
499
499
  var icon_1 = this.getIconFromFocusedInput();
500
- this.renderer.listen(this.focusedInputRef, 'focus', function () {
500
+ this.renderer.listen(this.focusedInputRef, "focus", function () {
501
501
  if (icon_1 && _this.isMatchingTooltip(icon_1)) {
502
502
  _this.createTootipByFocus(icon_1);
503
503
  }
504
504
  });
505
- this.renderer.listen(inputFocus, 'blur', function () {
505
+ this.renderer.listen(inputFocus, "blur", function () {
506
506
  if (icon_1 && _this.isMatchingTooltip(icon_1)) {
507
507
  _this.removeTooltip(icon_1);
508
508
  _this.destroy();
@@ -523,7 +523,7 @@ var TooltipDirective = /** @class */ (function () {
523
523
  * @returns true se o tooltip corresponde; caso contrário, false.
524
524
  */
525
525
  TooltipDirective.prototype.isMatchingTooltip = function (icon) {
526
- var tooltipText = icon.getAttribute('ng-reflect-tooltip');
526
+ var tooltipText = icon.getAttribute("ng-reflect-tooltip");
527
527
  return this.tooltip === tooltipText;
528
528
  };
529
529
  /**
@@ -531,7 +531,7 @@ var TooltipDirective = /** @class */ (function () {
531
531
  * @param icon O ícone do input em focus.
532
532
  */
533
533
  TooltipDirective.prototype.removeTooltip = function (icon) {
534
- var tooltip = icon.querySelector('.tooltip');
534
+ var tooltip = icon.querySelector(".tooltip");
535
535
  if (tooltip) {
536
536
  tooltip.remove();
537
537
  }
@@ -539,9 +539,7 @@ var TooltipDirective = /** @class */ (function () {
539
539
  // whenever the component with the tooltip is clicked I destroy the tooltip.
540
540
  // whenever a key is pressed on the component with the tooltip I destroy the tooltip.
541
541
  TooltipDirective.prototype.onClick = function () {
542
- if (this.tooltipEvent === TooltipEvent.Hover &&
543
- !navigator.userAgent.match(/Android/i) &&
544
- !navigator.userAgent.match(/iPhone/i)) {
542
+ if (this.tooltipEvent === TooltipEvent.Hover && !navigator.userAgent.match(/Android/i) && !navigator.userAgent.match(/iPhone/i)) {
545
543
  this.destroy();
546
544
  }
547
545
  };
@@ -586,12 +584,7 @@ var TooltipDirective = /** @class */ (function () {
586
584
  }
587
585
  };
588
586
  TooltipDirective.prototype.validatePosition = function () {
589
- var containsPosition = [
590
- TooltipPosition.Top,
591
- TooltipPosition.Right,
592
- TooltipPosition.Bottom,
593
- TooltipPosition.Left,
594
- ].includes(this.position);
587
+ var containsPosition = [TooltipPosition.Top, TooltipPosition.Right, TooltipPosition.Bottom, TooltipPosition.Left].includes(this.position);
595
588
  if (!containsPosition) {
596
589
  this.position = TooltipPosition.Top;
597
590
  throw new Error("Tooltip " + this.position + " position is unexpected");
@@ -604,7 +597,7 @@ var TooltipDirective = /** @class */ (function () {
604
597
  document.body.appendChild(domElem);
605
598
  this.setTooltipComponentProperties();
606
599
  this.showTimeout = window.setTimeout(this.showTooltip.bind(this), this.showDelay);
607
- this.tooltipDivElement = domElem.querySelector('.tooltip');
600
+ this.tooltipDivElement = domElem.querySelector(".tooltip");
608
601
  if (this.displayTime) {
609
602
  window.setTimeout(this.destroy.bind(this), this.displayTime);
610
603
  }
@@ -626,142 +619,81 @@ var TooltipDirective = /** @class */ (function () {
626
619
  var _a;
627
620
  if (this.componentRef === null && ((_a = this.tooltip) === null || _a === void 0 ? void 0 : _a.length)) {
628
621
  var domElem = this.getDomElement();
629
- var tooltip_1 = domElem.querySelector('.tooltip');
622
+ var tooltip_1 = domElem.querySelector(".tooltip");
630
623
  icon.appendChild(tooltip_1);
631
624
  this.setTooltipComponentProperties();
632
625
  setTimeout(function () { return tooltip_1.classList.add("tooltip--visible"); }, 0);
633
- this.renderer.listen(window, 'scroll', function () {
634
- _this.updateTooltipPosition();
626
+ this.renderer.listen(window, "scroll", function () {
627
+ _this.setTooltipPositionProperty();
635
628
  });
636
629
  }
637
630
  };
638
- TooltipDirective.prototype.updateTooltipPosition = function () {
639
- if (this.componentRef) {
640
- var _a = this.elementRef.nativeElement.getBoundingClientRect(), left = _a.left, right = _a.right, top_1 = _a.top, bottom = _a.bottom;
641
- var tooltipWidth = right - left;
642
- var tooltipHeight = bottom - top_1;
643
- switch (this.position) {
644
- case TooltipPosition.Top:
645
- this.componentRef.instance.left = Math.round(tooltipWidth / 2 + left);
646
- this.componentRef.instance.top = Math.round(top_1 - 20 - 5);
647
- break;
648
- case TooltipPosition.Bottom:
649
- this.componentRef.instance.left = Math.round(tooltipWidth / 2 + left);
650
- this.componentRef.instance.top = Math.round(bottom + 20);
651
- break;
652
- case TooltipPosition.Left:
653
- this.componentRef.instance.left = Math.round(left - 20);
654
- this.componentRef.instance.top = Math.round(top_1 + tooltipHeight / 2 - 5);
655
- break;
656
- case TooltipPosition.Right:
657
- this.componentRef.instance.left = Math.round(right + 20);
658
- this.componentRef.instance.top = Math.round(top_1 + tooltipHeight / 2 - 5);
659
- break;
660
- default:
661
- break;
662
- }
663
- }
664
- };
665
631
  TooltipDirective.prototype.showTooltip = function () {
666
632
  if (this.componentRef !== null) {
667
633
  this.componentRef.instance.visible = this.visible;
668
- window.addEventListener('mousemove', this.boundOnWindowMouseMoveFunction);
634
+ this.setTooltipPositionProperty();
635
+ window.addEventListener("mousemove", this.boundOnWindowMouseMoveFunction);
669
636
  }
670
637
  };
671
- TooltipDirective.prototype.setTooltipComponentProperties = function () {
638
+ TooltipDirective.prototype.setTooltipPositionProperty = function () {
639
+ var e_1, _a;
672
640
  var margin = 20;
673
641
  var anchorSize = 5;
642
+ var domElem = this.componentRef.hostView.rootNodes[0].querySelector("#tooltip");
643
+ var _b = domElem.getBoundingClientRect(), height = _b.height, width = _b.width;
644
+ var _c = this.elementRef.nativeElement.getBoundingClientRect(), left = _c.left, right = _c.right, top = _c.top, bottom = _c.bottom;
645
+ var positions = [
646
+ {
647
+ pos: TooltipPosition.Top,
648
+ check: function () { return top > height; },
649
+ set: function () { return ({ left: left + (right - left) / 2, top: top - margin - anchorSize }); },
650
+ },
651
+ {
652
+ pos: TooltipPosition.Bottom,
653
+ check: function () { return document.body.clientHeight - bottom > height; },
654
+ set: function () { return ({ left: left + (right - left) / 2, top: bottom + margin }); },
655
+ },
656
+ {
657
+ pos: TooltipPosition.Left,
658
+ check: function () { return left > width; },
659
+ set: function () { return ({ left: left - margin, top: top + height / 2 - anchorSize }); },
660
+ },
661
+ {
662
+ pos: TooltipPosition.Right,
663
+ check: function () { return document.body.clientWidth - right > width; },
664
+ set: function () { return ({ left: right + margin, top: top + height / 2 - anchorSize }); },
665
+ },
666
+ ];
667
+ try {
668
+ for (var positions_1 = __values(positions), positions_1_1 = positions_1.next(); !positions_1_1.done; positions_1_1 = positions_1.next()) {
669
+ var _d = positions_1_1.value, pos = _d.pos, check = _d.check, set = _d.set;
670
+ if (check()) {
671
+ this.position = pos;
672
+ var _e = set(), left_1 = _e.left, top_1 = _e.top;
673
+ this.componentRef.instance.left = Math.round(left_1);
674
+ this.componentRef.instance.top = Math.round(top_1);
675
+ this.componentRef.instance.position = this.position;
676
+ return;
677
+ }
678
+ }
679
+ }
680
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
681
+ finally {
682
+ try {
683
+ if (positions_1_1 && !positions_1_1.done && (_a = positions_1.return)) _a.call(positions_1);
684
+ }
685
+ finally { if (e_1) throw e_1.error; }
686
+ }
687
+ // Se não conseguir posicionar, mostrar abaixo
688
+ this.position = TooltipPosition.Bottom;
689
+ this.componentRef.instance.left = Math.round(left + (right - left) / 2);
690
+ this.componentRef.instance.top = Math.round(bottom + margin);
691
+ this.componentRef.instance.position = this.position;
692
+ };
693
+ TooltipDirective.prototype.setTooltipComponentProperties = function () {
674
694
  if (this.componentRef !== null) {
675
695
  this.componentRef.instance.tooltip = this.tooltip;
676
696
  this.componentRef.instance.escape = this.escape;
677
- var _a = this.elementRef.nativeElement.getBoundingClientRect(), left = _a.left, right = _a.right, top_2 = _a.top, bottom = _a.bottom;
678
- var tooltipHeight = bottom - top_2;
679
- var tooltipWidth = right - left;
680
- var safeSpace = 150;
681
- var positioned = false;
682
- var invalidOptions = [];
683
- while (!positioned) {
684
- if (invalidOptions.includes(TooltipPosition.Top)
685
- && invalidOptions.includes(TooltipPosition.Bottom)
686
- && invalidOptions.includes(TooltipPosition.Left)
687
- && invalidOptions.includes(TooltipPosition.Right)) {
688
- this.destroy();
689
- throw new Error("No space to show tooltip");
690
- }
691
- switch (this.position) {
692
- case TooltipPosition.Top: {
693
- if (invalidOptions.includes(TooltipPosition.Top)) {
694
- this.position = TooltipPosition.Left;
695
- break;
696
- }
697
- var topShift = top_2;
698
- if (topShift <= tooltipHeight + safeSpace) {
699
- this.position = TooltipPosition.Bottom;
700
- invalidOptions.push(TooltipPosition.Top);
701
- positioned = false;
702
- break;
703
- }
704
- this.componentRef.instance.left = Math.round(tooltipWidth / 2 + left);
705
- this.componentRef.instance.top = Math.round(top_2 - margin - anchorSize);
706
- positioned = true;
707
- break;
708
- }
709
- case TooltipPosition.Bottom: {
710
- if (invalidOptions.includes(TooltipPosition.Bottom)) {
711
- this.position = TooltipPosition.Left;
712
- break;
713
- }
714
- var bottomShift = document.body.clientHeight - bottom;
715
- if (bottomShift <= tooltipHeight + safeSpace) {
716
- this.position = TooltipPosition.Top;
717
- invalidOptions.push(TooltipPosition.Bottom);
718
- break;
719
- }
720
- this.componentRef.instance.left = Math.round(tooltipWidth / 2 + left);
721
- this.componentRef.instance.top = Math.round(bottom + margin);
722
- positioned = true;
723
- break;
724
- }
725
- case TooltipPosition.Left: {
726
- if (invalidOptions.includes(TooltipPosition.Left)) {
727
- this.position = TooltipPosition.Top;
728
- break;
729
- }
730
- var leftShift = left;
731
- if (leftShift <= tooltipWidth + safeSpace) {
732
- this.position = TooltipPosition.Right;
733
- invalidOptions.push(TooltipPosition.Left);
734
- positioned = false;
735
- break;
736
- }
737
- this.componentRef.instance.left = Math.round(left - margin);
738
- this.componentRef.instance.top = Math.round(top_2 + tooltipHeight / 2 - anchorSize);
739
- positioned = true;
740
- break;
741
- }
742
- case TooltipPosition.Right: {
743
- if (invalidOptions.includes(TooltipPosition.Right)) {
744
- this.position = TooltipPosition.Top;
745
- break;
746
- }
747
- var rightShift = document.body.clientWidth - right;
748
- if (rightShift <= tooltipWidth + safeSpace) {
749
- this.position = TooltipPosition.Left;
750
- invalidOptions.push(TooltipPosition.Right);
751
- positioned = false;
752
- break;
753
- }
754
- this.componentRef.instance.left = Math.round(right + margin);
755
- this.componentRef.instance.top = Math.round(top_2 + tooltipHeight / 2 - anchorSize);
756
- positioned = true;
757
- break;
758
- }
759
- default: {
760
- break;
761
- }
762
- }
763
- this.componentRef.instance.position = this.position;
764
- }
765
697
  }
766
698
  };
767
699
  TooltipDirective.prototype.destroy = function () {
@@ -772,7 +704,7 @@ var TooltipDirective = /** @class */ (function () {
772
704
  this.componentRef = null;
773
705
  this.tooltipDivElement = null;
774
706
  }
775
- window.removeEventListener('mousemove', this.boundOnWindowMouseMoveFunction);
707
+ window.removeEventListener("mousemove", this.boundOnWindowMouseMoveFunction);
776
708
  };
777
709
  TooltipDirective.ctorParameters = function () { return [
778
710
  { type: ElementRef },
@@ -9426,7 +9358,7 @@ var LookupFieldComponent = /** @class */ (function () {
9426
9358
  ], LookupFieldComponent.prototype, "formControl", void 0);
9427
9359
  LookupFieldComponent = __decorate([
9428
9360
  Component({
9429
- 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"
9361
+ 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"
9430
9362
  })
9431
9363
  ], LookupFieldComponent);
9432
9364
  return LookupFieldComponent;