novo-elements 7.9.0 → 7.10.0-next.2
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/esm2020/src/elements/form/ControlTemplates.mjs +351 -8
- package/esm2020/src/elements/form/FieldInteractionApi.mjs +16 -1
- package/esm2020/src/elements/form/Form.module.mjs +5 -1
- package/esm2020/src/elements/form/NovoFormControl.mjs +1 -1
- package/esm2020/src/elements/form/controls/BaseControl.mjs +10 -1
- package/esm2020/src/elements/popover/PopOver.mjs +12 -5
- package/esm2020/src/elements/popover/PopOver.module.mjs +9 -3
- package/esm2020/src/elements/popover/PopOverContent.mjs +10 -5
- package/fesm2015/novo-elements.mjs +783 -398
- package/fesm2015/novo-elements.mjs.map +1 -1
- package/fesm2020/novo-elements.mjs +783 -398
- package/fesm2020/novo-elements.mjs.map +1 -1
- package/package.json +1 -1
- package/src/elements/form/FieldInteractionApi.d.ts +11 -0
- package/src/elements/form/Form.module.d.ts +13 -12
- package/src/elements/form/NovoFormControl.d.ts +10 -0
- package/src/elements/form/controls/BaseControl.d.ts +9 -0
- package/src/elements/popover/PopOver.d.ts +2 -1
- package/src/elements/popover/PopOver.module.d.ts +2 -1
- package/src/elements/popover/PopOverContent.d.ts +2 -1
|
@@ -19878,6 +19878,15 @@ class BaseControl extends ControlConfig {
|
|
|
19878
19878
|
this.removeTooltipArrow = config.removeTooltipArrow;
|
|
19879
19879
|
this.tooltipAutoPosition = config.tooltipAutoPosition;
|
|
19880
19880
|
}
|
|
19881
|
+
this.popoverAlways = config.popoverAlways;
|
|
19882
|
+
this.popoverAnimation = config.popoverAnimation;
|
|
19883
|
+
this.popoverContent = config.popoverContent;
|
|
19884
|
+
this.popoverDisabled = config.popoverDisabled;
|
|
19885
|
+
this.popoverDismissTimeout = config.popoverDismissTimeout;
|
|
19886
|
+
this.popoverHtmlContent = config.popoverHtmlContent;
|
|
19887
|
+
this.popoverOnHover = config.popoverOnHover;
|
|
19888
|
+
this.popoverPlacement = config.popoverPlacement;
|
|
19889
|
+
this.popoverTitle = config.popoverTitle;
|
|
19881
19890
|
this.template = config.template;
|
|
19882
19891
|
this.customControlConfig = config.customControlConfig;
|
|
19883
19892
|
this.tipWell = config.tipWell;
|
|
@@ -47928,6 +47937,21 @@ class FieldInteractionApi {
|
|
|
47928
47937
|
this.triggerEvent({ controlKey: key, prop: 'tooltip', value: tooltip }, otherForm);
|
|
47929
47938
|
}
|
|
47930
47939
|
}
|
|
47940
|
+
setPopOver(key, popover, otherForm) {
|
|
47941
|
+
const control = this.getControl(key, otherForm);
|
|
47942
|
+
if (control && !control.restrictFieldInteractions) {
|
|
47943
|
+
control.popoverTitle = popover.title;
|
|
47944
|
+
control.popoverContent = popover.content;
|
|
47945
|
+
control.popoverHtmlContent = popover.htmlContent;
|
|
47946
|
+
control.popoverPlacement = popover.placement;
|
|
47947
|
+
control.popoverOnHover = popover.onHover;
|
|
47948
|
+
control.popoverAlways = popover.always;
|
|
47949
|
+
control.popoverDisabled = popover.disabled;
|
|
47950
|
+
control.popoverAnimation = popover.animation;
|
|
47951
|
+
control.popoverDismissTimeout = popover.dismissTimeout;
|
|
47952
|
+
this.triggerEvent({ controlKey: key, prop: 'popover', value: popover }, otherForm);
|
|
47953
|
+
}
|
|
47954
|
+
}
|
|
47931
47955
|
confirmChanges(key, message) {
|
|
47932
47956
|
const history = this.getProperty(key, 'valueHistory');
|
|
47933
47957
|
const oldValue = history[history.length - 2];
|
|
@@ -50765,6 +50789,398 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
50765
50789
|
type: Output
|
|
50766
50790
|
}] } });
|
|
50767
50791
|
|
|
50792
|
+
class PopOverContent {
|
|
50793
|
+
constructor(element, cdr) {
|
|
50794
|
+
this.element = element;
|
|
50795
|
+
this.cdr = cdr;
|
|
50796
|
+
this.placement = 'top';
|
|
50797
|
+
this.animation = true;
|
|
50798
|
+
this.onCloseFromOutside = new EventEmitter();
|
|
50799
|
+
this.top = -10000;
|
|
50800
|
+
this.left = -10000;
|
|
50801
|
+
this.displayType = 'none';
|
|
50802
|
+
this.isHidden = false;
|
|
50803
|
+
}
|
|
50804
|
+
ngAfterViewInit() {
|
|
50805
|
+
this.show();
|
|
50806
|
+
this.cdr.detectChanges();
|
|
50807
|
+
}
|
|
50808
|
+
toggle() {
|
|
50809
|
+
if (this.isHidden) {
|
|
50810
|
+
this.show();
|
|
50811
|
+
}
|
|
50812
|
+
else {
|
|
50813
|
+
this.hide();
|
|
50814
|
+
}
|
|
50815
|
+
}
|
|
50816
|
+
show() {
|
|
50817
|
+
if (!this.popover || !this.popover.getElement()) {
|
|
50818
|
+
return;
|
|
50819
|
+
}
|
|
50820
|
+
const p = this.positionElements(this.popover.getElement(), this.popoverDiv.nativeElement, this.placement);
|
|
50821
|
+
this.displayType = 'block';
|
|
50822
|
+
this.top = p.top;
|
|
50823
|
+
this.left = p.left;
|
|
50824
|
+
this.isHidden = false;
|
|
50825
|
+
}
|
|
50826
|
+
hide() {
|
|
50827
|
+
this.top = -10000;
|
|
50828
|
+
this.left = -10000;
|
|
50829
|
+
this.isHidden = true;
|
|
50830
|
+
this.popover.hide();
|
|
50831
|
+
}
|
|
50832
|
+
hideFromPopover() {
|
|
50833
|
+
this.top = -10000;
|
|
50834
|
+
this.left = -10000;
|
|
50835
|
+
}
|
|
50836
|
+
positionElements(hostEl, targetEl, positionStr, appendToBody = false) {
|
|
50837
|
+
const positionStrParts = positionStr.split('-');
|
|
50838
|
+
const mainSide = (this.effectivePlacement = this.getEffectivePlacement(positionStrParts[0] || 'right', hostEl, targetEl));
|
|
50839
|
+
const orientation = (this.effectiveAlignment = positionStrParts[1] || 'center');
|
|
50840
|
+
const hostElPos = appendToBody ? this.offset(hostEl) : this.position(hostEl);
|
|
50841
|
+
const targetElWidth = targetEl.offsetWidth;
|
|
50842
|
+
const targetElHeight = targetEl.offsetHeight;
|
|
50843
|
+
const shiftWidth = {
|
|
50844
|
+
center() {
|
|
50845
|
+
return hostElPos.left + (hostElPos.width - targetElWidth) / 2;
|
|
50846
|
+
},
|
|
50847
|
+
right() {
|
|
50848
|
+
return hostElPos.left;
|
|
50849
|
+
},
|
|
50850
|
+
left() {
|
|
50851
|
+
return hostElPos.left + (hostElPos.width - targetElWidth);
|
|
50852
|
+
},
|
|
50853
|
+
};
|
|
50854
|
+
const shiftHeight = {
|
|
50855
|
+
center() {
|
|
50856
|
+
return hostElPos.top + (hostElPos.height - targetElHeight) / 2;
|
|
50857
|
+
},
|
|
50858
|
+
bottom() {
|
|
50859
|
+
return hostElPos.top;
|
|
50860
|
+
},
|
|
50861
|
+
top() {
|
|
50862
|
+
return hostElPos.top + (hostElPos.height - targetElHeight);
|
|
50863
|
+
},
|
|
50864
|
+
};
|
|
50865
|
+
let targetElPos;
|
|
50866
|
+
switch (mainSide) {
|
|
50867
|
+
case 'right':
|
|
50868
|
+
targetElPos = {
|
|
50869
|
+
top: shiftHeight[orientation](),
|
|
50870
|
+
left: hostElPos.left + hostElPos.width,
|
|
50871
|
+
};
|
|
50872
|
+
break;
|
|
50873
|
+
case 'left':
|
|
50874
|
+
targetElPos = {
|
|
50875
|
+
top: shiftHeight[orientation](),
|
|
50876
|
+
left: hostElPos.left - targetElWidth,
|
|
50877
|
+
};
|
|
50878
|
+
break;
|
|
50879
|
+
case 'bottom':
|
|
50880
|
+
targetElPos = {
|
|
50881
|
+
top: hostElPos.top + hostElPos.height,
|
|
50882
|
+
left: shiftWidth[orientation](),
|
|
50883
|
+
};
|
|
50884
|
+
break;
|
|
50885
|
+
default:
|
|
50886
|
+
targetElPos = {
|
|
50887
|
+
top: hostElPos.top - targetElHeight,
|
|
50888
|
+
left: shiftWidth[orientation](),
|
|
50889
|
+
};
|
|
50890
|
+
break;
|
|
50891
|
+
}
|
|
50892
|
+
return targetElPos;
|
|
50893
|
+
}
|
|
50894
|
+
position(nativeEl) {
|
|
50895
|
+
let offsetParentBCR = { top: 0, left: 0 };
|
|
50896
|
+
const elBCR = this.offset(nativeEl);
|
|
50897
|
+
const offsetParentEl = this.parentOffsetEl(nativeEl);
|
|
50898
|
+
if (offsetParentEl !== window.document) {
|
|
50899
|
+
offsetParentBCR = this.offset(offsetParentEl);
|
|
50900
|
+
offsetParentBCR.top += offsetParentEl.clientTop - offsetParentEl.scrollTop;
|
|
50901
|
+
offsetParentBCR.left += offsetParentEl.clientLeft - offsetParentEl.scrollLeft;
|
|
50902
|
+
}
|
|
50903
|
+
const boundingClientRect = nativeEl.getBoundingClientRect();
|
|
50904
|
+
return {
|
|
50905
|
+
width: boundingClientRect.width || nativeEl.offsetWidth,
|
|
50906
|
+
height: boundingClientRect.height || nativeEl.offsetHeight,
|
|
50907
|
+
top: elBCR.top - offsetParentBCR.top,
|
|
50908
|
+
left: elBCR.left - offsetParentBCR.left,
|
|
50909
|
+
};
|
|
50910
|
+
}
|
|
50911
|
+
offset(nativeEl) {
|
|
50912
|
+
const boundingClientRect = nativeEl.getBoundingClientRect();
|
|
50913
|
+
return {
|
|
50914
|
+
width: boundingClientRect.width || nativeEl.offsetWidth,
|
|
50915
|
+
height: boundingClientRect.height || nativeEl.offsetHeight,
|
|
50916
|
+
top: boundingClientRect.top + (window.pageYOffset || window.document.documentElement.scrollTop),
|
|
50917
|
+
left: boundingClientRect.left + (window.pageXOffset || window.document.documentElement.scrollLeft),
|
|
50918
|
+
};
|
|
50919
|
+
}
|
|
50920
|
+
getStyle(nativeEl, cssProp) {
|
|
50921
|
+
if (nativeEl.currentStyle) {
|
|
50922
|
+
return nativeEl.currentStyle[cssProp];
|
|
50923
|
+
}
|
|
50924
|
+
if (window.getComputedStyle) {
|
|
50925
|
+
return window.getComputedStyle(nativeEl)[cssProp];
|
|
50926
|
+
}
|
|
50927
|
+
return nativeEl.style[cssProp];
|
|
50928
|
+
}
|
|
50929
|
+
isStaticPositioned(nativeEl) {
|
|
50930
|
+
return (this.getStyle(nativeEl, 'position') || 'static') === 'static';
|
|
50931
|
+
}
|
|
50932
|
+
parentOffsetEl(nativeEl) {
|
|
50933
|
+
let offsetParent = nativeEl.offsetParent || window.document;
|
|
50934
|
+
while (offsetParent && offsetParent !== window.document && this.isStaticPositioned(offsetParent)) {
|
|
50935
|
+
offsetParent = offsetParent.offsetParent;
|
|
50936
|
+
}
|
|
50937
|
+
return offsetParent || window.document;
|
|
50938
|
+
}
|
|
50939
|
+
getEffectivePlacement(desiredPlacement, hostElement, targetElement) {
|
|
50940
|
+
const hostElBoundingRect = hostElement.getBoundingClientRect();
|
|
50941
|
+
if (desiredPlacement === 'top' && hostElBoundingRect.top - targetElement.offsetHeight < 0) {
|
|
50942
|
+
return 'bottom';
|
|
50943
|
+
}
|
|
50944
|
+
if (desiredPlacement === 'bottom' && hostElBoundingRect.bottom + targetElement.offsetHeight > window.innerHeight) {
|
|
50945
|
+
return 'top';
|
|
50946
|
+
}
|
|
50947
|
+
if (desiredPlacement === 'left' && hostElBoundingRect.left - targetElement.offsetWidth < 0) {
|
|
50948
|
+
return 'right';
|
|
50949
|
+
}
|
|
50950
|
+
if (desiredPlacement === 'right' && hostElBoundingRect.right + targetElement.offsetWidth > window.innerWidth) {
|
|
50951
|
+
return 'left';
|
|
50952
|
+
}
|
|
50953
|
+
return desiredPlacement;
|
|
50954
|
+
}
|
|
50955
|
+
}
|
|
50956
|
+
PopOverContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopOverContent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
50957
|
+
PopOverContent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PopOverContent, selector: "popover-content", inputs: { content: "content", htmlContent: "htmlContent", placement: "placement", title: "title", animation: "animation" }, viewQueries: [{ propertyName: "popoverDiv", first: true, predicate: ["popoverDiv"], descendants: true }], ngImport: i0, template: `
|
|
50958
|
+
<div
|
|
50959
|
+
#popoverDiv
|
|
50960
|
+
class="popover {{ effectivePlacement }}"
|
|
50961
|
+
[style.top]="top + 'px'"
|
|
50962
|
+
[style.left]="left + 'px'"
|
|
50963
|
+
[class.fade]="animation"
|
|
50964
|
+
style="display: block"
|
|
50965
|
+
role="popover"
|
|
50966
|
+
>
|
|
50967
|
+
<div class="arrow {{ effectiveAlignment }}"></div>
|
|
50968
|
+
<div class="popover-title" [hidden]="!title">{{ title }}</div>
|
|
50969
|
+
<div class="popover-content">
|
|
50970
|
+
<ng-content></ng-content>
|
|
50971
|
+
<div *ngIf="htmlContent" class="popover-content-text" [innerHTML]="htmlContent"></div>
|
|
50972
|
+
<div *ngIf="!htmlContent" class="popover-content-text">{{ content }}</div>
|
|
50973
|
+
</div>
|
|
50974
|
+
</div>
|
|
50975
|
+
`, isInline: true, directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
50976
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopOverContent, decorators: [{
|
|
50977
|
+
type: Component,
|
|
50978
|
+
args: [{
|
|
50979
|
+
selector: 'popover-content',
|
|
50980
|
+
template: `
|
|
50981
|
+
<div
|
|
50982
|
+
#popoverDiv
|
|
50983
|
+
class="popover {{ effectivePlacement }}"
|
|
50984
|
+
[style.top]="top + 'px'"
|
|
50985
|
+
[style.left]="left + 'px'"
|
|
50986
|
+
[class.fade]="animation"
|
|
50987
|
+
style="display: block"
|
|
50988
|
+
role="popover"
|
|
50989
|
+
>
|
|
50990
|
+
<div class="arrow {{ effectiveAlignment }}"></div>
|
|
50991
|
+
<div class="popover-title" [hidden]="!title">{{ title }}</div>
|
|
50992
|
+
<div class="popover-content">
|
|
50993
|
+
<ng-content></ng-content>
|
|
50994
|
+
<div *ngIf="htmlContent" class="popover-content-text" [innerHTML]="htmlContent"></div>
|
|
50995
|
+
<div *ngIf="!htmlContent" class="popover-content-text">{{ content }}</div>
|
|
50996
|
+
</div>
|
|
50997
|
+
</div>
|
|
50998
|
+
`,
|
|
50999
|
+
}]
|
|
51000
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { content: [{
|
|
51001
|
+
type: Input
|
|
51002
|
+
}], htmlContent: [{
|
|
51003
|
+
type: Input
|
|
51004
|
+
}], placement: [{
|
|
51005
|
+
type: Input
|
|
51006
|
+
}], title: [{
|
|
51007
|
+
type: Input
|
|
51008
|
+
}], animation: [{
|
|
51009
|
+
type: Input
|
|
51010
|
+
}], popoverDiv: [{
|
|
51011
|
+
type: ViewChild,
|
|
51012
|
+
args: ['popoverDiv']
|
|
51013
|
+
}] } });
|
|
51014
|
+
|
|
51015
|
+
// NG2
|
|
51016
|
+
class PopOverDirective {
|
|
51017
|
+
constructor(viewContainerRef, resolver) {
|
|
51018
|
+
this.viewContainerRef = viewContainerRef;
|
|
51019
|
+
this.resolver = resolver;
|
|
51020
|
+
this.PopoverComponent = PopOverContent;
|
|
51021
|
+
this.popoverOnHover = false;
|
|
51022
|
+
this.popoverDismissTimeout = 0;
|
|
51023
|
+
this.onShown = new EventEmitter();
|
|
51024
|
+
this.onHidden = new EventEmitter();
|
|
51025
|
+
}
|
|
51026
|
+
// ---------------------------------------------------
|
|
51027
|
+
// Event listeners
|
|
51028
|
+
// ---------------------------------------------------
|
|
51029
|
+
showOrHideOnClick() {
|
|
51030
|
+
if (this.popoverOnHover || this.popoverDisabled) {
|
|
51031
|
+
return;
|
|
51032
|
+
}
|
|
51033
|
+
this.toggle();
|
|
51034
|
+
}
|
|
51035
|
+
showOnHover() {
|
|
51036
|
+
if (!this.popoverOnHover || this.popoverDisabled) {
|
|
51037
|
+
return;
|
|
51038
|
+
}
|
|
51039
|
+
this.show();
|
|
51040
|
+
}
|
|
51041
|
+
hideOnHover() {
|
|
51042
|
+
if (!this.popoverOnHover || this.popoverDisabled) {
|
|
51043
|
+
return;
|
|
51044
|
+
}
|
|
51045
|
+
this.hide();
|
|
51046
|
+
}
|
|
51047
|
+
ngOnChanges(changes) {
|
|
51048
|
+
if (changes.popoverDisabled) {
|
|
51049
|
+
if (changes.popoverDisabled.currentValue) {
|
|
51050
|
+
this.hide();
|
|
51051
|
+
}
|
|
51052
|
+
}
|
|
51053
|
+
if (changes.popoverAlways) {
|
|
51054
|
+
if (changes.popoverAlways.currentValue) {
|
|
51055
|
+
this.show();
|
|
51056
|
+
}
|
|
51057
|
+
}
|
|
51058
|
+
}
|
|
51059
|
+
toggle() {
|
|
51060
|
+
if (!this.visible) {
|
|
51061
|
+
this.show();
|
|
51062
|
+
}
|
|
51063
|
+
else {
|
|
51064
|
+
this.hide();
|
|
51065
|
+
}
|
|
51066
|
+
}
|
|
51067
|
+
show() {
|
|
51068
|
+
if (this.visible || (!this.content && !this.popoverHtmlContent)) {
|
|
51069
|
+
return;
|
|
51070
|
+
}
|
|
51071
|
+
this.visible = true;
|
|
51072
|
+
if (typeof this.content === 'string' || this.popoverHtmlContent) {
|
|
51073
|
+
const factory = this.resolver.resolveComponentFactory(this.PopoverComponent);
|
|
51074
|
+
if (!this.visible) {
|
|
51075
|
+
return;
|
|
51076
|
+
}
|
|
51077
|
+
this.popover = this.viewContainerRef.createComponent(factory);
|
|
51078
|
+
const popover = this.popover.instance;
|
|
51079
|
+
popover.popover = this;
|
|
51080
|
+
if (this.content) {
|
|
51081
|
+
popover.content = this.content;
|
|
51082
|
+
}
|
|
51083
|
+
if (this.popoverHtmlContent) {
|
|
51084
|
+
popover.htmlContent = this.popoverHtmlContent;
|
|
51085
|
+
}
|
|
51086
|
+
if (this.popoverPlacement !== undefined) {
|
|
51087
|
+
popover.placement = this.popoverPlacement;
|
|
51088
|
+
}
|
|
51089
|
+
if (this.popoverAnimation !== undefined) {
|
|
51090
|
+
popover.animation = this.popoverAnimation;
|
|
51091
|
+
}
|
|
51092
|
+
if (this.popoverTitle !== undefined) {
|
|
51093
|
+
popover.title = this.popoverTitle;
|
|
51094
|
+
}
|
|
51095
|
+
popover.onCloseFromOutside.subscribe(() => this.hide());
|
|
51096
|
+
if (this.popoverDismissTimeout > 0) {
|
|
51097
|
+
setTimeout(() => this.hide(), this.popoverDismissTimeout);
|
|
51098
|
+
}
|
|
51099
|
+
}
|
|
51100
|
+
else {
|
|
51101
|
+
const popover = this.content;
|
|
51102
|
+
popover.popover = this;
|
|
51103
|
+
if (this.popoverPlacement !== undefined) {
|
|
51104
|
+
popover.placement = this.popoverPlacement;
|
|
51105
|
+
}
|
|
51106
|
+
if (this.popoverAnimation !== undefined) {
|
|
51107
|
+
popover.animation = this.popoverAnimation;
|
|
51108
|
+
}
|
|
51109
|
+
if (this.popoverTitle !== undefined) {
|
|
51110
|
+
popover.title = this.popoverTitle;
|
|
51111
|
+
}
|
|
51112
|
+
popover.onCloseFromOutside.subscribe(() => this.hide());
|
|
51113
|
+
if (this.popoverDismissTimeout > 0) {
|
|
51114
|
+
setTimeout(() => this.hide(), this.popoverDismissTimeout);
|
|
51115
|
+
}
|
|
51116
|
+
popover.show();
|
|
51117
|
+
}
|
|
51118
|
+
this.onShown.emit(this);
|
|
51119
|
+
}
|
|
51120
|
+
hide() {
|
|
51121
|
+
if (!this.visible) {
|
|
51122
|
+
return;
|
|
51123
|
+
}
|
|
51124
|
+
this.visible = false;
|
|
51125
|
+
if (this.popover) {
|
|
51126
|
+
this.popover.destroy();
|
|
51127
|
+
}
|
|
51128
|
+
if (this.content instanceof PopOverContent) {
|
|
51129
|
+
this.content.hideFromPopover();
|
|
51130
|
+
}
|
|
51131
|
+
this.onHidden.emit(this);
|
|
51132
|
+
}
|
|
51133
|
+
getElement() {
|
|
51134
|
+
return this.viewContainerRef.element.nativeElement;
|
|
51135
|
+
}
|
|
51136
|
+
}
|
|
51137
|
+
PopOverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopOverDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Directive });
|
|
51138
|
+
PopOverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: PopOverDirective, selector: "[popover]", inputs: { content: ["popover", "content"], popoverHtmlContent: "popoverHtmlContent", popoverDisabled: "popoverDisabled", popoverAlways: "popoverAlways", popoverAnimation: "popoverAnimation", popoverPlacement: "popoverPlacement", popoverTitle: "popoverTitle", popoverOnHover: "popoverOnHover", popoverDismissTimeout: "popoverDismissTimeout" }, outputs: { onShown: "onShown", onHidden: "onHidden" }, host: { listeners: { "click": "showOrHideOnClick()", "focusin": "showOnHover()", "mouseenter": "showOnHover()", "focusout": "hideOnHover()", "mouseleave": "hideOnHover()" } }, usesOnChanges: true, ngImport: i0 });
|
|
51139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopOverDirective, decorators: [{
|
|
51140
|
+
type: Directive,
|
|
51141
|
+
args: [{
|
|
51142
|
+
selector: '[popover]',
|
|
51143
|
+
}]
|
|
51144
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { content: [{
|
|
51145
|
+
type: Input,
|
|
51146
|
+
args: ['popover']
|
|
51147
|
+
}], popoverHtmlContent: [{
|
|
51148
|
+
type: Input
|
|
51149
|
+
}], popoverDisabled: [{
|
|
51150
|
+
type: Input
|
|
51151
|
+
}], popoverAlways: [{
|
|
51152
|
+
type: Input
|
|
51153
|
+
}], popoverAnimation: [{
|
|
51154
|
+
type: Input
|
|
51155
|
+
}], popoverPlacement: [{
|
|
51156
|
+
type: Input
|
|
51157
|
+
}], popoverTitle: [{
|
|
51158
|
+
type: Input
|
|
51159
|
+
}], popoverOnHover: [{
|
|
51160
|
+
type: Input
|
|
51161
|
+
}], popoverDismissTimeout: [{
|
|
51162
|
+
type: Input
|
|
51163
|
+
}], onShown: [{
|
|
51164
|
+
type: Output
|
|
51165
|
+
}], onHidden: [{
|
|
51166
|
+
type: Output
|
|
51167
|
+
}], showOrHideOnClick: [{
|
|
51168
|
+
type: HostListener,
|
|
51169
|
+
args: ['click']
|
|
51170
|
+
}], showOnHover: [{
|
|
51171
|
+
type: HostListener,
|
|
51172
|
+
args: ['focusin']
|
|
51173
|
+
}, {
|
|
51174
|
+
type: HostListener,
|
|
51175
|
+
args: ['mouseenter']
|
|
51176
|
+
}], hideOnHover: [{
|
|
51177
|
+
type: HostListener,
|
|
51178
|
+
args: ['focusout']
|
|
51179
|
+
}, {
|
|
51180
|
+
type: HostListener,
|
|
51181
|
+
args: ['mouseleave']
|
|
51182
|
+
}] } });
|
|
51183
|
+
|
|
50768
51184
|
class NovoControlTemplates {
|
|
50769
51185
|
constructor(templates) {
|
|
50770
51186
|
this.templates = templates;
|
|
@@ -50794,6 +51210,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
50794
51210
|
[tooltipPreline]="control?.tooltipPreline"
|
|
50795
51211
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
50796
51212
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51213
|
+
[popover]="control.popoverContent"
|
|
51214
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51215
|
+
[popoverTitle]="control.popoverTitle"
|
|
51216
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51217
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51218
|
+
[popoverAlways]="control.popoverAlways"
|
|
51219
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51220
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51221
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
50797
51222
|
>
|
|
50798
51223
|
<input
|
|
50799
51224
|
*ngIf="control?.type !== 'number' && control?.textMaskEnabled"
|
|
@@ -50869,6 +51294,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
50869
51294
|
[tooltipPreline]="control?.tooltipPreline"
|
|
50870
51295
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
50871
51296
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51297
|
+
[popover]="control.popoverContent"
|
|
51298
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51299
|
+
[popoverTitle]="control.popoverTitle"
|
|
51300
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51301
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51302
|
+
[popoverAlways]="control.popoverAlways"
|
|
51303
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51304
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51305
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
50872
51306
|
>
|
|
50873
51307
|
<textarea
|
|
50874
51308
|
[class.maxlength-error]="errors?.maxlength"
|
|
@@ -50925,6 +51359,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
50925
51359
|
[tooltipPreline]="control?.tooltipPreline"
|
|
50926
51360
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
50927
51361
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51362
|
+
[popover]="control.popoverContent"
|
|
51363
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51364
|
+
[popoverTitle]="control.popoverTitle"
|
|
51365
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51366
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51367
|
+
[popoverAlways]="control.popoverAlways"
|
|
51368
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51369
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51370
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
50928
51371
|
>
|
|
50929
51372
|
<option *ngIf="control.placeholder" value="" disabled selected hidden>{{ control.placeholder }}</option>
|
|
50930
51373
|
<option *ngFor="let opt of control.options" [value]="opt.key">{{ opt.value }}</option>
|
|
@@ -50949,6 +51392,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
50949
51392
|
[tooltipPreline]="control?.tooltipPreline"
|
|
50950
51393
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
50951
51394
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51395
|
+
[popover]="control.popoverContent"
|
|
51396
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51397
|
+
[popoverTitle]="control.popoverTitle"
|
|
51398
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51399
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51400
|
+
[popoverAlways]="control.popoverAlways"
|
|
51401
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51402
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51403
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
50952
51404
|
(edit)="methods.handleEdit($event)"
|
|
50953
51405
|
(save)="methods.handleSave($event)"
|
|
50954
51406
|
(delete)="methods.handleDelete($event)"
|
|
@@ -50970,6 +51422,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
50970
51422
|
[tooltipPreline]="control?.tooltipPreline"
|
|
50971
51423
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
50972
51424
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51425
|
+
[popover]="control.popoverContent"
|
|
51426
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51427
|
+
[popoverTitle]="control.popoverTitle"
|
|
51428
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51429
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51430
|
+
[popoverAlways]="control.popoverAlways"
|
|
51431
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51432
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51433
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
50973
51434
|
[controlDisabled]="control.disabled"
|
|
50974
51435
|
></novo-tiles>
|
|
50975
51436
|
</div>
|
|
@@ -50995,6 +51456,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
50995
51456
|
[tooltipPreline]="control?.tooltipPreline"
|
|
50996
51457
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
50997
51458
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51459
|
+
[popover]="control.popoverContent"
|
|
51460
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51461
|
+
[popoverTitle]="control.popoverTitle"
|
|
51462
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51463
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51464
|
+
[popoverAlways]="control.popoverAlways"
|
|
51465
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51466
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51467
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
50998
51468
|
></novo-picker>
|
|
50999
51469
|
<novo-chips
|
|
51000
51470
|
[source]="control.config"
|
|
@@ -51014,6 +51484,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51014
51484
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51015
51485
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51016
51486
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51487
|
+
[popover]="control.popoverContent"
|
|
51488
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51489
|
+
[popoverTitle]="control.popoverTitle"
|
|
51490
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51491
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51492
|
+
[popoverAlways]="control.popoverAlways"
|
|
51493
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51494
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51495
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51017
51496
|
></novo-chips>
|
|
51018
51497
|
<novo-row-chips
|
|
51019
51498
|
[source]="control.config"
|
|
@@ -51033,6 +51512,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51033
51512
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51034
51513
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51035
51514
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51515
|
+
[popover]="control.popoverContent"
|
|
51516
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51517
|
+
[popoverTitle]="control.popoverTitle"
|
|
51518
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51519
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51520
|
+
[popoverAlways]="control.popoverAlways"
|
|
51521
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51522
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51523
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51036
51524
|
></novo-row-chips>
|
|
51037
51525
|
</div>
|
|
51038
51526
|
</ng-template>
|
|
@@ -51051,6 +51539,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51051
51539
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51052
51540
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51053
51541
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51542
|
+
[popover]="control.popoverContent"
|
|
51543
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51544
|
+
[popoverTitle]="control.popoverTitle"
|
|
51545
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51546
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51547
|
+
[popoverAlways]="control.popoverAlways"
|
|
51548
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51549
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51550
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51054
51551
|
(onSelect)="methods.modelChange($event)"
|
|
51055
51552
|
></novo-select>
|
|
51056
51553
|
</div>
|
|
@@ -51070,6 +51567,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51070
51567
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51071
51568
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51072
51569
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51570
|
+
[popover]="control.popoverContent"
|
|
51571
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51572
|
+
[popoverTitle]="control.popoverTitle"
|
|
51573
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51574
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51575
|
+
[popoverAlways]="control.popoverAlways"
|
|
51576
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51577
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51578
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51073
51579
|
position="bottom"
|
|
51074
51580
|
(onSelect)="methods.modelChange($event)"
|
|
51075
51581
|
></novo-select>
|
|
@@ -51094,6 +51600,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51094
51600
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51095
51601
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51096
51602
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51603
|
+
[popover]="control.popoverContent"
|
|
51604
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51605
|
+
[popoverTitle]="control.popoverTitle"
|
|
51606
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51607
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51608
|
+
[popoverAlways]="control.popoverAlways"
|
|
51609
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51610
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51611
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51097
51612
|
[button]="!!option.icon"
|
|
51098
51613
|
[icon]="option.icon"
|
|
51099
51614
|
[color]="option.color"
|
|
@@ -51115,6 +51630,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51115
51630
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51116
51631
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51117
51632
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51633
|
+
[popover]="control.popoverContent"
|
|
51634
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51635
|
+
[popoverTitle]="control.popoverTitle"
|
|
51636
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51637
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51638
|
+
[popoverAlways]="control.popoverAlways"
|
|
51639
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51640
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51641
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51118
51642
|
>
|
|
51119
51643
|
<novo-time-picker-input
|
|
51120
51644
|
[attr.id]="control.key"
|
|
@@ -51137,6 +51661,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51137
51661
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51138
51662
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51139
51663
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51664
|
+
[popover]="control.popoverContent"
|
|
51665
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51666
|
+
[popoverTitle]="control.popoverTitle"
|
|
51667
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51668
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51669
|
+
[popoverAlways]="control.popoverAlways"
|
|
51670
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51671
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51672
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51140
51673
|
>
|
|
51141
51674
|
<input
|
|
51142
51675
|
[formControlName]="control.key"
|
|
@@ -51161,6 +51694,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51161
51694
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51162
51695
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51163
51696
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51697
|
+
[popover]="control.popoverContent"
|
|
51698
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51699
|
+
[popoverTitle]="control.popoverTitle"
|
|
51700
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51701
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51702
|
+
[popoverAlways]="control.popoverAlways"
|
|
51703
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51704
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51705
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51164
51706
|
>
|
|
51165
51707
|
<novo-date-picker-input
|
|
51166
51708
|
[attr.id]="control.key"
|
|
@@ -51192,6 +51734,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51192
51734
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51193
51735
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51194
51736
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51737
|
+
[popover]="control.popoverContent"
|
|
51738
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51739
|
+
[popoverTitle]="control.popoverTitle"
|
|
51740
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51741
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51742
|
+
[popoverAlways]="control.popoverAlways"
|
|
51743
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51744
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51745
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51195
51746
|
>
|
|
51196
51747
|
<novo-date-time-picker-input
|
|
51197
51748
|
[attr.id]="control.key"
|
|
@@ -51237,6 +51788,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51237
51788
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51238
51789
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51239
51790
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51791
|
+
[popover]="control.popoverContent"
|
|
51792
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51793
|
+
[popoverTitle]="control.popoverTitle"
|
|
51794
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51795
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51796
|
+
[popoverAlways]="control.popoverAlways"
|
|
51797
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51798
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51799
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51240
51800
|
[layoutOptions]="control?.layoutOptions"
|
|
51241
51801
|
></novo-checkbox>
|
|
51242
51802
|
</div>
|
|
@@ -51253,6 +51813,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51253
51813
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51254
51814
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51255
51815
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51816
|
+
[popover]="control.popoverContent"
|
|
51817
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51818
|
+
[popoverTitle]="control.popoverTitle"
|
|
51819
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51820
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51821
|
+
[popoverAlways]="control.popoverAlways"
|
|
51822
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51823
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51824
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51256
51825
|
></novo-switch>
|
|
51257
51826
|
</div>
|
|
51258
51827
|
</ng-template>
|
|
@@ -51270,6 +51839,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51270
51839
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51271
51840
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51272
51841
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51842
|
+
[popover]="control.popoverContent"
|
|
51843
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51844
|
+
[popoverTitle]="control.popoverTitle"
|
|
51845
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51846
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51847
|
+
[popoverAlways]="control.popoverAlways"
|
|
51848
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51849
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51850
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51273
51851
|
(onSelect)="methods.modelChange($event)"
|
|
51274
51852
|
></novo-check-list>
|
|
51275
51853
|
</div>
|
|
@@ -51287,13 +51865,22 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51287
51865
|
[tooltip]="control?.tooltip"
|
|
51288
51866
|
[tooltipPosition]="control?.tooltipPosition"
|
|
51289
51867
|
[tooltipSize]="control?.tooltipSize"
|
|
51868
|
+
[tooltipPreline]="control?.tooltipPreline"
|
|
51290
51869
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51291
51870
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51292
|
-
[
|
|
51871
|
+
[popover]="control.popoverContent"
|
|
51872
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51873
|
+
[popoverTitle]="control.popoverTitle"
|
|
51874
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51875
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51876
|
+
[popoverAlways]="control.popoverAlways"
|
|
51877
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51878
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51879
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51293
51880
|
></novo-quick-note>
|
|
51294
51881
|
</div>
|
|
51295
51882
|
</ng-template>
|
|
51296
|
-
`, isInline: true, components: [{ type: NovoCKEditorElement, selector: "novo-editor", inputs: ["config", "debounce", "name", "minimal", "startupFocus", "fileBrowserImageUploadUrl", "disabled", "value"], outputs: ["change", "ready", "blur", "focus", "paste", "loaded"] }, { type: NovoAceEditor, selector: "novo-ace-editor", inputs: ["theme", "options", "mode", "name"], outputs: ["blur", "focus"] }, { type: NovoFileInputElement, selector: "novo-file-input", inputs: ["id", "tabindex", "errorStateMatcher", "multiple", "layoutOptions", "value", "dataFeatureId", "name", "disabled", "required", "placeholder"], outputs: ["edit", "save", "delete", "upload"] }, { type: NovoTilesElement, selector: "novo-tiles", inputs: ["name", "options", "required", "controlDisabled"], outputs: ["onChange", "onSelectedOptionClick", "onDisabledOptionClick"] }, { type: NovoPickerElement, selector: "novo-picker", inputs: ["config", "placeholder", "clearValueOnSelect", "closeOnSelect", "selected", "appendToBody", "parentScrollSelector", "parentScrollAction", "containerClass", "side", "autoSelectFirstOption", "overrideElement", "disablePickerInput"], outputs: ["changed", "select", "focus", "blur", "typing"] }, { type: NovoChipsElement, selector: "chips,novo-chips", inputs: ["closeOnSelect", "placeholder", "source", "maxlength", "type", "disablePickerInput", "value"], outputs: ["changed", "focus", "blur", "typing"] }, { type: NovoRowChipsElement, selector: "novo-row-chips", inputs: ["closeOnSelect"] }, { type: NovoSelectElement, selector: "novo-select", inputs: ["disabled", "required", "tabIndex", "id", "name", "options", "placeholder", "readonly", "headerConfig", "position", "overlayWidth", "overlayHeight", "displayWith", "compareWith", "value", "multiple"], outputs: ["onSelect", "selectionChange", "valueChange", "openedChange", "opened", "closed"] }, { type: NovoRadioGroup, selector: "novo-radio-group", inputs: ["id", "tabindex", "errorStateMatcher", "appearance", "value", "name", "disabled", "required", "placeholder"], outputs: ["change", "blur"] }, { type: NovoRadioElement, selector: "novo-radio", inputs: ["id", "name", "tabindex", "vertical", "label", "button", "theme", "size", "icon", "color", "checked", "value", "disabled"], outputs: ["change", "blur", "focus"] }, { type: NovoTimePickerInputElement, selector: "novo-time-picker-input", inputs: ["name", "placeholder", "military", "maskOptions", "disabled", "analog"], outputs: ["blurEvent", "focusEvent"] }, { type: NovoDatePickerInputElement, selector: "novo-date-picker-input", inputs: ["name", "start", "end", "placeholder", "maskOptions", "format", "textMaskEnabled", "allowInvalidDate", "disabled", "disabledDateMessage", "weekStart"], outputs: ["blurEvent", "focusEvent", "changeEvent"] }, { type: NovoDateTimePickerInputElement, selector: "novo-date-time-picker-input", inputs: ["name", "start", "end", "placeholder", "maskOptions", "military", "disabled", "format", "weekStart", "disabledDateMessage"], outputs: ["blurEvent", "focusEvent", "changeEvent"] }, { type: NovoAddressElement, selector: "novo-address", inputs: ["config", "readOnly"], outputs: ["change", "focus", "blur", "validityChange"] }, { type: NovoCheckboxElement, selector: "novo-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "id", "name", "label", "disabled", "layoutOptions", "color", "value", "tabIndex", "required", "checked", "indeterminate"], outputs: ["change", "indeterminateChange", "onSelect"] }, { type: NovoSwitchElement, selector: "novo-switch", inputs: ["theme", "icons", "disabled"], outputs: ["onChange"] }, { type: NovoCheckListElement, selector: "novo-check-list", inputs: ["name", "options", "disabled"], outputs: ["onSelect"] }, { type: QuickNoteElement, selector: "novo-quick-note", inputs: ["config", "startupFocus", "placeholder"], outputs: ["focus", "blur", "change"] }], directives: [{ type: NovoTemplate, selector: "[novoTemplate]", inputs: ["type", "novoTemplate"] }, { type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: TooltipDirective, selector: "[tooltip]", inputs: ["tooltip", "tooltipPosition", "tooltipType", "tooltipSize", "tooltipBounce", "tooltipNoAnimate", "tooltipRounded", "tooltipAlways", "tooltipActive", "tooltipPreline", "removeTooltipArrow", "tooltipAutoPosition", "tooltipIsHTML"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i6.MaskedInputDirective, selector: "[textMask]", inputs: ["textMask"], exportAs: ["textMask"] }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: NovoAutoSize, selector: "textarea[autosize]" }, { type: i4.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i4.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i4.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ThemeColorDirective, selector: "[theme]", inputs: ["theme"] }] });
|
|
51883
|
+
`, isInline: true, components: [{ type: NovoCKEditorElement, selector: "novo-editor", inputs: ["config", "debounce", "name", "minimal", "startupFocus", "fileBrowserImageUploadUrl", "disabled", "value"], outputs: ["change", "ready", "blur", "focus", "paste", "loaded"] }, { type: NovoAceEditor, selector: "novo-ace-editor", inputs: ["theme", "options", "mode", "name"], outputs: ["blur", "focus"] }, { type: NovoFileInputElement, selector: "novo-file-input", inputs: ["id", "tabindex", "errorStateMatcher", "multiple", "layoutOptions", "value", "dataFeatureId", "name", "disabled", "required", "placeholder"], outputs: ["edit", "save", "delete", "upload"] }, { type: NovoTilesElement, selector: "novo-tiles", inputs: ["name", "options", "required", "controlDisabled"], outputs: ["onChange", "onSelectedOptionClick", "onDisabledOptionClick"] }, { type: NovoPickerElement, selector: "novo-picker", inputs: ["config", "placeholder", "clearValueOnSelect", "closeOnSelect", "selected", "appendToBody", "parentScrollSelector", "parentScrollAction", "containerClass", "side", "autoSelectFirstOption", "overrideElement", "disablePickerInput"], outputs: ["changed", "select", "focus", "blur", "typing"] }, { type: NovoChipsElement, selector: "chips,novo-chips", inputs: ["closeOnSelect", "placeholder", "source", "maxlength", "type", "disablePickerInput", "value"], outputs: ["changed", "focus", "blur", "typing"] }, { type: NovoRowChipsElement, selector: "novo-row-chips", inputs: ["closeOnSelect"] }, { type: NovoSelectElement, selector: "novo-select", inputs: ["disabled", "required", "tabIndex", "id", "name", "options", "placeholder", "readonly", "headerConfig", "position", "overlayWidth", "overlayHeight", "displayWith", "compareWith", "value", "multiple"], outputs: ["onSelect", "selectionChange", "valueChange", "openedChange", "opened", "closed"] }, { type: NovoRadioGroup, selector: "novo-radio-group", inputs: ["id", "tabindex", "errorStateMatcher", "appearance", "value", "name", "disabled", "required", "placeholder"], outputs: ["change", "blur"] }, { type: NovoRadioElement, selector: "novo-radio", inputs: ["id", "name", "tabindex", "vertical", "label", "button", "theme", "size", "icon", "color", "checked", "value", "disabled"], outputs: ["change", "blur", "focus"] }, { type: NovoTimePickerInputElement, selector: "novo-time-picker-input", inputs: ["name", "placeholder", "military", "maskOptions", "disabled", "analog"], outputs: ["blurEvent", "focusEvent"] }, { type: NovoDatePickerInputElement, selector: "novo-date-picker-input", inputs: ["name", "start", "end", "placeholder", "maskOptions", "format", "textMaskEnabled", "allowInvalidDate", "disabled", "disabledDateMessage", "weekStart"], outputs: ["blurEvent", "focusEvent", "changeEvent"] }, { type: NovoDateTimePickerInputElement, selector: "novo-date-time-picker-input", inputs: ["name", "start", "end", "placeholder", "maskOptions", "military", "disabled", "format", "weekStart", "disabledDateMessage"], outputs: ["blurEvent", "focusEvent", "changeEvent"] }, { type: NovoAddressElement, selector: "novo-address", inputs: ["config", "readOnly"], outputs: ["change", "focus", "blur", "validityChange"] }, { type: NovoCheckboxElement, selector: "novo-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "id", "name", "label", "disabled", "layoutOptions", "color", "value", "tabIndex", "required", "checked", "indeterminate"], outputs: ["change", "indeterminateChange", "onSelect"] }, { type: NovoSwitchElement, selector: "novo-switch", inputs: ["theme", "icons", "disabled"], outputs: ["onChange"] }, { type: NovoCheckListElement, selector: "novo-check-list", inputs: ["name", "options", "disabled"], outputs: ["onSelect"] }, { type: QuickNoteElement, selector: "novo-quick-note", inputs: ["config", "startupFocus", "placeholder"], outputs: ["focus", "blur", "change"] }], directives: [{ type: NovoTemplate, selector: "[novoTemplate]", inputs: ["type", "novoTemplate"] }, { type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: TooltipDirective, selector: "[tooltip]", inputs: ["tooltip", "tooltipPosition", "tooltipType", "tooltipSize", "tooltipBounce", "tooltipNoAnimate", "tooltipRounded", "tooltipAlways", "tooltipActive", "tooltipPreline", "removeTooltipArrow", "tooltipAutoPosition", "tooltipIsHTML"] }, { type: PopOverDirective, selector: "[popover]", inputs: ["popover", "popoverHtmlContent", "popoverDisabled", "popoverAlways", "popoverAnimation", "popoverPlacement", "popoverTitle", "popoverOnHover", "popoverDismissTimeout"], outputs: ["onShown", "onHidden"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i6.MaskedInputDirective, selector: "[textMask]", inputs: ["textMask"], exportAs: ["textMask"] }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: NovoAutoSize, selector: "textarea[autosize]" }, { type: i4.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i4.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i4.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ThemeColorDirective, selector: "[theme]", inputs: ["theme"] }] });
|
|
51297
51884
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NovoControlTemplates, decorators: [{
|
|
51298
51885
|
type: Component,
|
|
51299
51886
|
args: [{
|
|
@@ -51314,6 +51901,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51314
51901
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51315
51902
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51316
51903
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51904
|
+
[popover]="control.popoverContent"
|
|
51905
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51906
|
+
[popoverTitle]="control.popoverTitle"
|
|
51907
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51908
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51909
|
+
[popoverAlways]="control.popoverAlways"
|
|
51910
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51911
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51912
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51317
51913
|
>
|
|
51318
51914
|
<input
|
|
51319
51915
|
*ngIf="control?.type !== 'number' && control?.textMaskEnabled"
|
|
@@ -51389,6 +51985,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51389
51985
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51390
51986
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51391
51987
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51988
|
+
[popover]="control.popoverContent"
|
|
51989
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51990
|
+
[popoverTitle]="control.popoverTitle"
|
|
51991
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51992
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51993
|
+
[popoverAlways]="control.popoverAlways"
|
|
51994
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51995
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51996
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51392
51997
|
>
|
|
51393
51998
|
<textarea
|
|
51394
51999
|
[class.maxlength-error]="errors?.maxlength"
|
|
@@ -51445,6 +52050,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51445
52050
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51446
52051
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51447
52052
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52053
|
+
[popover]="control.popoverContent"
|
|
52054
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52055
|
+
[popoverTitle]="control.popoverTitle"
|
|
52056
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52057
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52058
|
+
[popoverAlways]="control.popoverAlways"
|
|
52059
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52060
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52061
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51448
52062
|
>
|
|
51449
52063
|
<option *ngIf="control.placeholder" value="" disabled selected hidden>{{ control.placeholder }}</option>
|
|
51450
52064
|
<option *ngFor="let opt of control.options" [value]="opt.key">{{ opt.value }}</option>
|
|
@@ -51469,6 +52083,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51469
52083
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51470
52084
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51471
52085
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52086
|
+
[popover]="control.popoverContent"
|
|
52087
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52088
|
+
[popoverTitle]="control.popoverTitle"
|
|
52089
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52090
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52091
|
+
[popoverAlways]="control.popoverAlways"
|
|
52092
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52093
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52094
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51472
52095
|
(edit)="methods.handleEdit($event)"
|
|
51473
52096
|
(save)="methods.handleSave($event)"
|
|
51474
52097
|
(delete)="methods.handleDelete($event)"
|
|
@@ -51490,6 +52113,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51490
52113
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51491
52114
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51492
52115
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52116
|
+
[popover]="control.popoverContent"
|
|
52117
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52118
|
+
[popoverTitle]="control.popoverTitle"
|
|
52119
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52120
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52121
|
+
[popoverAlways]="control.popoverAlways"
|
|
52122
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52123
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52124
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51493
52125
|
[controlDisabled]="control.disabled"
|
|
51494
52126
|
></novo-tiles>
|
|
51495
52127
|
</div>
|
|
@@ -51515,6 +52147,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51515
52147
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51516
52148
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51517
52149
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52150
|
+
[popover]="control.popoverContent"
|
|
52151
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52152
|
+
[popoverTitle]="control.popoverTitle"
|
|
52153
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52154
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52155
|
+
[popoverAlways]="control.popoverAlways"
|
|
52156
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52157
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52158
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51518
52159
|
></novo-picker>
|
|
51519
52160
|
<novo-chips
|
|
51520
52161
|
[source]="control.config"
|
|
@@ -51534,6 +52175,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51534
52175
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51535
52176
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51536
52177
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52178
|
+
[popover]="control.popoverContent"
|
|
52179
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52180
|
+
[popoverTitle]="control.popoverTitle"
|
|
52181
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52182
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52183
|
+
[popoverAlways]="control.popoverAlways"
|
|
52184
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52185
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52186
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51537
52187
|
></novo-chips>
|
|
51538
52188
|
<novo-row-chips
|
|
51539
52189
|
[source]="control.config"
|
|
@@ -51553,6 +52203,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51553
52203
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51554
52204
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51555
52205
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52206
|
+
[popover]="control.popoverContent"
|
|
52207
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52208
|
+
[popoverTitle]="control.popoverTitle"
|
|
52209
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52210
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52211
|
+
[popoverAlways]="control.popoverAlways"
|
|
52212
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52213
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52214
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51556
52215
|
></novo-row-chips>
|
|
51557
52216
|
</div>
|
|
51558
52217
|
</ng-template>
|
|
@@ -51571,6 +52230,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51571
52230
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51572
52231
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51573
52232
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52233
|
+
[popover]="control.popoverContent"
|
|
52234
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52235
|
+
[popoverTitle]="control.popoverTitle"
|
|
52236
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52237
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52238
|
+
[popoverAlways]="control.popoverAlways"
|
|
52239
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52240
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52241
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51574
52242
|
(onSelect)="methods.modelChange($event)"
|
|
51575
52243
|
></novo-select>
|
|
51576
52244
|
</div>
|
|
@@ -51590,6 +52258,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51590
52258
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51591
52259
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51592
52260
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52261
|
+
[popover]="control.popoverContent"
|
|
52262
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52263
|
+
[popoverTitle]="control.popoverTitle"
|
|
52264
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52265
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52266
|
+
[popoverAlways]="control.popoverAlways"
|
|
52267
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52268
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52269
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51593
52270
|
position="bottom"
|
|
51594
52271
|
(onSelect)="methods.modelChange($event)"
|
|
51595
52272
|
></novo-select>
|
|
@@ -51614,6 +52291,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51614
52291
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51615
52292
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51616
52293
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52294
|
+
[popover]="control.popoverContent"
|
|
52295
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52296
|
+
[popoverTitle]="control.popoverTitle"
|
|
52297
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52298
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52299
|
+
[popoverAlways]="control.popoverAlways"
|
|
52300
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52301
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52302
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51617
52303
|
[button]="!!option.icon"
|
|
51618
52304
|
[icon]="option.icon"
|
|
51619
52305
|
[color]="option.color"
|
|
@@ -51635,6 +52321,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51635
52321
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51636
52322
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51637
52323
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52324
|
+
[popover]="control.popoverContent"
|
|
52325
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52326
|
+
[popoverTitle]="control.popoverTitle"
|
|
52327
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52328
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52329
|
+
[popoverAlways]="control.popoverAlways"
|
|
52330
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52331
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52332
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51638
52333
|
>
|
|
51639
52334
|
<novo-time-picker-input
|
|
51640
52335
|
[attr.id]="control.key"
|
|
@@ -51657,6 +52352,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51657
52352
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51658
52353
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51659
52354
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52355
|
+
[popover]="control.popoverContent"
|
|
52356
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52357
|
+
[popoverTitle]="control.popoverTitle"
|
|
52358
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52359
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52360
|
+
[popoverAlways]="control.popoverAlways"
|
|
52361
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52362
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52363
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51660
52364
|
>
|
|
51661
52365
|
<input
|
|
51662
52366
|
[formControlName]="control.key"
|
|
@@ -51681,6 +52385,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51681
52385
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51682
52386
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51683
52387
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52388
|
+
[popover]="control.popoverContent"
|
|
52389
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52390
|
+
[popoverTitle]="control.popoverTitle"
|
|
52391
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52392
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52393
|
+
[popoverAlways]="control.popoverAlways"
|
|
52394
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52395
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52396
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51684
52397
|
>
|
|
51685
52398
|
<novo-date-picker-input
|
|
51686
52399
|
[attr.id]="control.key"
|
|
@@ -51712,6 +52425,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51712
52425
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51713
52426
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51714
52427
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52428
|
+
[popover]="control.popoverContent"
|
|
52429
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52430
|
+
[popoverTitle]="control.popoverTitle"
|
|
52431
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52432
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52433
|
+
[popoverAlways]="control.popoverAlways"
|
|
52434
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52435
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52436
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51715
52437
|
>
|
|
51716
52438
|
<novo-date-time-picker-input
|
|
51717
52439
|
[attr.id]="control.key"
|
|
@@ -51757,6 +52479,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51757
52479
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51758
52480
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51759
52481
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52482
|
+
[popover]="control.popoverContent"
|
|
52483
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52484
|
+
[popoverTitle]="control.popoverTitle"
|
|
52485
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52486
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52487
|
+
[popoverAlways]="control.popoverAlways"
|
|
52488
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52489
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52490
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51760
52491
|
[layoutOptions]="control?.layoutOptions"
|
|
51761
52492
|
></novo-checkbox>
|
|
51762
52493
|
</div>
|
|
@@ -51773,6 +52504,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51773
52504
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51774
52505
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51775
52506
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52507
|
+
[popover]="control.popoverContent"
|
|
52508
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52509
|
+
[popoverTitle]="control.popoverTitle"
|
|
52510
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52511
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52512
|
+
[popoverAlways]="control.popoverAlways"
|
|
52513
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52514
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52515
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51776
52516
|
></novo-switch>
|
|
51777
52517
|
</div>
|
|
51778
52518
|
</ng-template>
|
|
@@ -51790,6 +52530,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51790
52530
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51791
52531
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51792
52532
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52533
|
+
[popover]="control.popoverContent"
|
|
52534
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52535
|
+
[popoverTitle]="control.popoverTitle"
|
|
52536
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52537
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52538
|
+
[popoverAlways]="control.popoverAlways"
|
|
52539
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52540
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52541
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51793
52542
|
(onSelect)="methods.modelChange($event)"
|
|
51794
52543
|
></novo-check-list>
|
|
51795
52544
|
</div>
|
|
@@ -51807,9 +52556,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51807
52556
|
[tooltip]="control?.tooltip"
|
|
51808
52557
|
[tooltipPosition]="control?.tooltipPosition"
|
|
51809
52558
|
[tooltipSize]="control?.tooltipSize"
|
|
52559
|
+
[tooltipPreline]="control?.tooltipPreline"
|
|
51810
52560
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51811
52561
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51812
|
-
[
|
|
52562
|
+
[popover]="control.popoverContent"
|
|
52563
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52564
|
+
[popoverTitle]="control.popoverTitle"
|
|
52565
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52566
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52567
|
+
[popoverAlways]="control.popoverAlways"
|
|
52568
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52569
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52570
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51813
52571
|
></novo-quick-note>
|
|
51814
52572
|
</div>
|
|
51815
52573
|
</ng-template>
|
|
@@ -52481,6 +53239,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
52481
53239
|
}]
|
|
52482
53240
|
}] });
|
|
52483
53241
|
|
|
53242
|
+
// NG2
|
|
53243
|
+
class NovoPopOverModule {
|
|
53244
|
+
}
|
|
53245
|
+
NovoPopOverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NovoPopOverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
53246
|
+
NovoPopOverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NovoPopOverModule, declarations: [PopOverContent, PopOverDirective], imports: [CommonModule], exports: [PopOverContent, PopOverDirective] });
|
|
53247
|
+
NovoPopOverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NovoPopOverModule, imports: [[
|
|
53248
|
+
CommonModule
|
|
53249
|
+
]] });
|
|
53250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NovoPopOverModule, decorators: [{
|
|
53251
|
+
type: NgModule,
|
|
53252
|
+
args: [{
|
|
53253
|
+
declarations: [PopOverContent, PopOverDirective],
|
|
53254
|
+
exports: [PopOverContent, PopOverDirective],
|
|
53255
|
+
imports: [
|
|
53256
|
+
CommonModule
|
|
53257
|
+
]
|
|
53258
|
+
}]
|
|
53259
|
+
}] });
|
|
53260
|
+
|
|
52484
53261
|
// NG2
|
|
52485
53262
|
class NovoFormModule {
|
|
52486
53263
|
}
|
|
@@ -52511,6 +53288,7 @@ NovoFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
52511
53288
|
NovoDateTimePickerModule,
|
|
52512
53289
|
NovoHeaderModule,
|
|
52513
53290
|
NovoTooltipModule,
|
|
53291
|
+
NovoPopOverModule,
|
|
52514
53292
|
NovoDragulaModule,
|
|
52515
53293
|
IMaskDirectiveModule,
|
|
52516
53294
|
TextMaskModule,
|
|
@@ -52547,6 +53325,7 @@ NovoFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
52547
53325
|
NovoDateTimePickerModule,
|
|
52548
53326
|
NovoHeaderModule,
|
|
52549
53327
|
NovoTooltipModule,
|
|
53328
|
+
NovoPopOverModule,
|
|
52550
53329
|
NovoDragulaModule,
|
|
52551
53330
|
IMaskDirectiveModule,
|
|
52552
53331
|
TextMaskModule,
|
|
@@ -52581,6 +53360,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
52581
53360
|
NovoDateTimePickerModule,
|
|
52582
53361
|
NovoHeaderModule,
|
|
52583
53362
|
NovoTooltipModule,
|
|
53363
|
+
NovoPopOverModule,
|
|
52584
53364
|
NovoDragulaModule,
|
|
52585
53365
|
IMaskDirectiveModule,
|
|
52586
53366
|
TextMaskModule,
|
|
@@ -55438,401 +56218,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
55438
56218
|
}]
|
|
55439
56219
|
}] });
|
|
55440
56220
|
|
|
55441
|
-
class PopOverContent {
|
|
55442
|
-
constructor(element, cdr) {
|
|
55443
|
-
this.element = element;
|
|
55444
|
-
this.cdr = cdr;
|
|
55445
|
-
this.placement = 'top';
|
|
55446
|
-
this.animation = true;
|
|
55447
|
-
this.onCloseFromOutside = new EventEmitter();
|
|
55448
|
-
this.top = -10000;
|
|
55449
|
-
this.left = -10000;
|
|
55450
|
-
this.displayType = 'none';
|
|
55451
|
-
this.isHidden = false;
|
|
55452
|
-
}
|
|
55453
|
-
ngAfterViewInit() {
|
|
55454
|
-
this.show();
|
|
55455
|
-
this.cdr.detectChanges();
|
|
55456
|
-
}
|
|
55457
|
-
toggle() {
|
|
55458
|
-
if (this.isHidden) {
|
|
55459
|
-
this.show();
|
|
55460
|
-
}
|
|
55461
|
-
else {
|
|
55462
|
-
this.hide();
|
|
55463
|
-
}
|
|
55464
|
-
}
|
|
55465
|
-
show() {
|
|
55466
|
-
if (!this.popover || !this.popover.getElement()) {
|
|
55467
|
-
return;
|
|
55468
|
-
}
|
|
55469
|
-
const p = this.positionElements(this.popover.getElement(), this.popoverDiv.nativeElement, this.placement);
|
|
55470
|
-
this.displayType = 'block';
|
|
55471
|
-
this.top = p.top;
|
|
55472
|
-
this.left = p.left;
|
|
55473
|
-
this.isHidden = false;
|
|
55474
|
-
}
|
|
55475
|
-
hide() {
|
|
55476
|
-
this.top = -10000;
|
|
55477
|
-
this.left = -10000;
|
|
55478
|
-
this.isHidden = true;
|
|
55479
|
-
this.popover.hide();
|
|
55480
|
-
}
|
|
55481
|
-
hideFromPopover() {
|
|
55482
|
-
this.top = -10000;
|
|
55483
|
-
this.left = -10000;
|
|
55484
|
-
}
|
|
55485
|
-
positionElements(hostEl, targetEl, positionStr, appendToBody = false) {
|
|
55486
|
-
const positionStrParts = positionStr.split('-');
|
|
55487
|
-
const mainSide = (this.effectivePlacement = this.getEffectivePlacement(positionStrParts[0] || 'right', hostEl, targetEl));
|
|
55488
|
-
const orientation = (this.effectiveAlignment = positionStrParts[1] || 'center');
|
|
55489
|
-
const hostElPos = appendToBody ? this.offset(hostEl) : this.position(hostEl);
|
|
55490
|
-
const targetElWidth = targetEl.offsetWidth;
|
|
55491
|
-
const targetElHeight = targetEl.offsetHeight;
|
|
55492
|
-
const shiftWidth = {
|
|
55493
|
-
center() {
|
|
55494
|
-
return hostElPos.left + (hostElPos.width - targetElWidth) / 2;
|
|
55495
|
-
},
|
|
55496
|
-
right() {
|
|
55497
|
-
return hostElPos.left;
|
|
55498
|
-
},
|
|
55499
|
-
left() {
|
|
55500
|
-
return hostElPos.left + (hostElPos.width - targetElWidth);
|
|
55501
|
-
},
|
|
55502
|
-
};
|
|
55503
|
-
const shiftHeight = {
|
|
55504
|
-
center() {
|
|
55505
|
-
return hostElPos.top + (hostElPos.height - targetElHeight) / 2;
|
|
55506
|
-
},
|
|
55507
|
-
bottom() {
|
|
55508
|
-
return hostElPos.top;
|
|
55509
|
-
},
|
|
55510
|
-
top() {
|
|
55511
|
-
return hostElPos.top + (hostElPos.height - targetElHeight);
|
|
55512
|
-
},
|
|
55513
|
-
};
|
|
55514
|
-
let targetElPos;
|
|
55515
|
-
switch (mainSide) {
|
|
55516
|
-
case 'right':
|
|
55517
|
-
targetElPos = {
|
|
55518
|
-
top: shiftHeight[orientation](),
|
|
55519
|
-
left: hostElPos.left + hostElPos.width,
|
|
55520
|
-
};
|
|
55521
|
-
break;
|
|
55522
|
-
case 'left':
|
|
55523
|
-
targetElPos = {
|
|
55524
|
-
top: shiftHeight[orientation](),
|
|
55525
|
-
left: hostElPos.left - targetElWidth,
|
|
55526
|
-
};
|
|
55527
|
-
break;
|
|
55528
|
-
case 'bottom':
|
|
55529
|
-
targetElPos = {
|
|
55530
|
-
top: hostElPos.top + hostElPos.height,
|
|
55531
|
-
left: shiftWidth[orientation](),
|
|
55532
|
-
};
|
|
55533
|
-
break;
|
|
55534
|
-
default:
|
|
55535
|
-
targetElPos = {
|
|
55536
|
-
top: hostElPos.top - targetElHeight,
|
|
55537
|
-
left: shiftWidth[orientation](),
|
|
55538
|
-
};
|
|
55539
|
-
break;
|
|
55540
|
-
}
|
|
55541
|
-
return targetElPos;
|
|
55542
|
-
}
|
|
55543
|
-
position(nativeEl) {
|
|
55544
|
-
let offsetParentBCR = { top: 0, left: 0 };
|
|
55545
|
-
const elBCR = this.offset(nativeEl);
|
|
55546
|
-
const offsetParentEl = this.parentOffsetEl(nativeEl);
|
|
55547
|
-
if (offsetParentEl !== window.document) {
|
|
55548
|
-
offsetParentBCR = this.offset(offsetParentEl);
|
|
55549
|
-
offsetParentBCR.top += offsetParentEl.clientTop - offsetParentEl.scrollTop;
|
|
55550
|
-
offsetParentBCR.left += offsetParentEl.clientLeft - offsetParentEl.scrollLeft;
|
|
55551
|
-
}
|
|
55552
|
-
const boundingClientRect = nativeEl.getBoundingClientRect();
|
|
55553
|
-
return {
|
|
55554
|
-
width: boundingClientRect.width || nativeEl.offsetWidth,
|
|
55555
|
-
height: boundingClientRect.height || nativeEl.offsetHeight,
|
|
55556
|
-
top: elBCR.top - offsetParentBCR.top,
|
|
55557
|
-
left: elBCR.left - offsetParentBCR.left,
|
|
55558
|
-
};
|
|
55559
|
-
}
|
|
55560
|
-
offset(nativeEl) {
|
|
55561
|
-
const boundingClientRect = nativeEl.getBoundingClientRect();
|
|
55562
|
-
return {
|
|
55563
|
-
width: boundingClientRect.width || nativeEl.offsetWidth,
|
|
55564
|
-
height: boundingClientRect.height || nativeEl.offsetHeight,
|
|
55565
|
-
top: boundingClientRect.top + (window.pageYOffset || window.document.documentElement.scrollTop),
|
|
55566
|
-
left: boundingClientRect.left + (window.pageXOffset || window.document.documentElement.scrollLeft),
|
|
55567
|
-
};
|
|
55568
|
-
}
|
|
55569
|
-
getStyle(nativeEl, cssProp) {
|
|
55570
|
-
if (nativeEl.currentStyle) {
|
|
55571
|
-
return nativeEl.currentStyle[cssProp];
|
|
55572
|
-
}
|
|
55573
|
-
if (window.getComputedStyle) {
|
|
55574
|
-
return window.getComputedStyle(nativeEl)[cssProp];
|
|
55575
|
-
}
|
|
55576
|
-
return nativeEl.style[cssProp];
|
|
55577
|
-
}
|
|
55578
|
-
isStaticPositioned(nativeEl) {
|
|
55579
|
-
return (this.getStyle(nativeEl, 'position') || 'static') === 'static';
|
|
55580
|
-
}
|
|
55581
|
-
parentOffsetEl(nativeEl) {
|
|
55582
|
-
let offsetParent = nativeEl.offsetParent || window.document;
|
|
55583
|
-
while (offsetParent && offsetParent !== window.document && this.isStaticPositioned(offsetParent)) {
|
|
55584
|
-
offsetParent = offsetParent.offsetParent;
|
|
55585
|
-
}
|
|
55586
|
-
return offsetParent || window.document;
|
|
55587
|
-
}
|
|
55588
|
-
getEffectivePlacement(desiredPlacement, hostElement, targetElement) {
|
|
55589
|
-
const hostElBoundingRect = hostElement.getBoundingClientRect();
|
|
55590
|
-
if (desiredPlacement === 'top' && hostElBoundingRect.top - targetElement.offsetHeight < 0) {
|
|
55591
|
-
return 'bottom';
|
|
55592
|
-
}
|
|
55593
|
-
if (desiredPlacement === 'bottom' && hostElBoundingRect.bottom + targetElement.offsetHeight > window.innerHeight) {
|
|
55594
|
-
return 'top';
|
|
55595
|
-
}
|
|
55596
|
-
if (desiredPlacement === 'left' && hostElBoundingRect.left - targetElement.offsetWidth < 0) {
|
|
55597
|
-
return 'right';
|
|
55598
|
-
}
|
|
55599
|
-
if (desiredPlacement === 'right' && hostElBoundingRect.right + targetElement.offsetWidth > window.innerWidth) {
|
|
55600
|
-
return 'left';
|
|
55601
|
-
}
|
|
55602
|
-
return desiredPlacement;
|
|
55603
|
-
}
|
|
55604
|
-
}
|
|
55605
|
-
PopOverContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopOverContent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
55606
|
-
PopOverContent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PopOverContent, selector: "popover-content", inputs: { content: "content", placement: "placement", title: "title", animation: "animation" }, viewQueries: [{ propertyName: "popoverDiv", first: true, predicate: ["popoverDiv"], descendants: true }], ngImport: i0, template: `
|
|
55607
|
-
<div
|
|
55608
|
-
#popoverDiv
|
|
55609
|
-
class="popover {{ effectivePlacement }}"
|
|
55610
|
-
[style.top]="top + 'px'"
|
|
55611
|
-
[style.left]="left + 'px'"
|
|
55612
|
-
[class.fade]="animation"
|
|
55613
|
-
style="display: block"
|
|
55614
|
-
role="popover"
|
|
55615
|
-
>
|
|
55616
|
-
<div class="arrow {{ effectiveAlignment }}"></div>
|
|
55617
|
-
<div class="popover-title" [hidden]="!title">{{ title }}</div>
|
|
55618
|
-
<div class="popover-content">
|
|
55619
|
-
<ng-content></ng-content>
|
|
55620
|
-
<div class="popover-content-text">{{ content }}</div>
|
|
55621
|
-
</div>
|
|
55622
|
-
</div>
|
|
55623
|
-
`, isInline: true });
|
|
55624
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopOverContent, decorators: [{
|
|
55625
|
-
type: Component,
|
|
55626
|
-
args: [{
|
|
55627
|
-
selector: 'popover-content',
|
|
55628
|
-
template: `
|
|
55629
|
-
<div
|
|
55630
|
-
#popoverDiv
|
|
55631
|
-
class="popover {{ effectivePlacement }}"
|
|
55632
|
-
[style.top]="top + 'px'"
|
|
55633
|
-
[style.left]="left + 'px'"
|
|
55634
|
-
[class.fade]="animation"
|
|
55635
|
-
style="display: block"
|
|
55636
|
-
role="popover"
|
|
55637
|
-
>
|
|
55638
|
-
<div class="arrow {{ effectiveAlignment }}"></div>
|
|
55639
|
-
<div class="popover-title" [hidden]="!title">{{ title }}</div>
|
|
55640
|
-
<div class="popover-content">
|
|
55641
|
-
<ng-content></ng-content>
|
|
55642
|
-
<div class="popover-content-text">{{ content }}</div>
|
|
55643
|
-
</div>
|
|
55644
|
-
</div>
|
|
55645
|
-
`,
|
|
55646
|
-
}]
|
|
55647
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { content: [{
|
|
55648
|
-
type: Input
|
|
55649
|
-
}], placement: [{
|
|
55650
|
-
type: Input
|
|
55651
|
-
}], title: [{
|
|
55652
|
-
type: Input
|
|
55653
|
-
}], animation: [{
|
|
55654
|
-
type: Input
|
|
55655
|
-
}], popoverDiv: [{
|
|
55656
|
-
type: ViewChild,
|
|
55657
|
-
args: ['popoverDiv']
|
|
55658
|
-
}] } });
|
|
55659
|
-
|
|
55660
|
-
// NG2
|
|
55661
|
-
class PopOverDirective {
|
|
55662
|
-
constructor(viewContainerRef, resolver) {
|
|
55663
|
-
this.viewContainerRef = viewContainerRef;
|
|
55664
|
-
this.resolver = resolver;
|
|
55665
|
-
this.PopoverComponent = PopOverContent;
|
|
55666
|
-
this.popoverOnHover = false;
|
|
55667
|
-
this.popoverDismissTimeout = 0;
|
|
55668
|
-
this.onShown = new EventEmitter();
|
|
55669
|
-
this.onHidden = new EventEmitter();
|
|
55670
|
-
}
|
|
55671
|
-
// ---------------------------------------------------
|
|
55672
|
-
// Event listeners
|
|
55673
|
-
// ---------------------------------------------------
|
|
55674
|
-
showOrHideOnClick() {
|
|
55675
|
-
if (this.popoverOnHover || this.popoverDisabled) {
|
|
55676
|
-
return;
|
|
55677
|
-
}
|
|
55678
|
-
this.toggle();
|
|
55679
|
-
}
|
|
55680
|
-
showOnHover() {
|
|
55681
|
-
if (!this.popoverOnHover || this.popoverDisabled) {
|
|
55682
|
-
return;
|
|
55683
|
-
}
|
|
55684
|
-
this.show();
|
|
55685
|
-
}
|
|
55686
|
-
hideOnHover() {
|
|
55687
|
-
if (!this.popoverOnHover || this.popoverDisabled) {
|
|
55688
|
-
return;
|
|
55689
|
-
}
|
|
55690
|
-
this.hide();
|
|
55691
|
-
}
|
|
55692
|
-
ngOnChanges(changes) {
|
|
55693
|
-
if (changes.popoverDisabled) {
|
|
55694
|
-
if (changes.popoverDisabled.currentValue) {
|
|
55695
|
-
this.hide();
|
|
55696
|
-
}
|
|
55697
|
-
}
|
|
55698
|
-
if (changes.popoverAlways) {
|
|
55699
|
-
if (changes.popoverAlways.currentValue) {
|
|
55700
|
-
this.show();
|
|
55701
|
-
}
|
|
55702
|
-
}
|
|
55703
|
-
}
|
|
55704
|
-
toggle() {
|
|
55705
|
-
if (!this.visible) {
|
|
55706
|
-
this.show();
|
|
55707
|
-
}
|
|
55708
|
-
else {
|
|
55709
|
-
this.hide();
|
|
55710
|
-
}
|
|
55711
|
-
}
|
|
55712
|
-
show() {
|
|
55713
|
-
if (this.visible) {
|
|
55714
|
-
return;
|
|
55715
|
-
}
|
|
55716
|
-
this.visible = true;
|
|
55717
|
-
if (typeof this.content === 'string') {
|
|
55718
|
-
const factory = this.resolver.resolveComponentFactory(this.PopoverComponent);
|
|
55719
|
-
if (!this.visible) {
|
|
55720
|
-
return;
|
|
55721
|
-
}
|
|
55722
|
-
this.popover = this.viewContainerRef.createComponent(factory);
|
|
55723
|
-
const popover = this.popover.instance;
|
|
55724
|
-
popover.popover = this;
|
|
55725
|
-
popover.content = this.content;
|
|
55726
|
-
if (this.popoverPlacement !== undefined) {
|
|
55727
|
-
popover.placement = this.popoverPlacement;
|
|
55728
|
-
}
|
|
55729
|
-
if (this.popoverAnimation !== undefined) {
|
|
55730
|
-
popover.animation = this.popoverAnimation;
|
|
55731
|
-
}
|
|
55732
|
-
if (this.popoverTitle !== undefined) {
|
|
55733
|
-
popover.title = this.popoverTitle;
|
|
55734
|
-
}
|
|
55735
|
-
popover.onCloseFromOutside.subscribe(() => this.hide());
|
|
55736
|
-
if (this.popoverDismissTimeout > 0) {
|
|
55737
|
-
setTimeout(() => this.hide(), this.popoverDismissTimeout);
|
|
55738
|
-
}
|
|
55739
|
-
}
|
|
55740
|
-
else {
|
|
55741
|
-
const popover = this.content;
|
|
55742
|
-
popover.popover = this;
|
|
55743
|
-
if (this.popoverPlacement !== undefined) {
|
|
55744
|
-
popover.placement = this.popoverPlacement;
|
|
55745
|
-
}
|
|
55746
|
-
if (this.popoverAnimation !== undefined) {
|
|
55747
|
-
popover.animation = this.popoverAnimation;
|
|
55748
|
-
}
|
|
55749
|
-
if (this.popoverTitle !== undefined) {
|
|
55750
|
-
popover.title = this.popoverTitle;
|
|
55751
|
-
}
|
|
55752
|
-
popover.onCloseFromOutside.subscribe(() => this.hide());
|
|
55753
|
-
if (this.popoverDismissTimeout > 0) {
|
|
55754
|
-
setTimeout(() => this.hide(), this.popoverDismissTimeout);
|
|
55755
|
-
}
|
|
55756
|
-
popover.show();
|
|
55757
|
-
}
|
|
55758
|
-
this.onShown.emit(this);
|
|
55759
|
-
}
|
|
55760
|
-
hide() {
|
|
55761
|
-
if (!this.visible) {
|
|
55762
|
-
return;
|
|
55763
|
-
}
|
|
55764
|
-
this.visible = false;
|
|
55765
|
-
if (this.popover) {
|
|
55766
|
-
this.popover.destroy();
|
|
55767
|
-
}
|
|
55768
|
-
if (this.content instanceof PopOverContent) {
|
|
55769
|
-
this.content.hideFromPopover();
|
|
55770
|
-
}
|
|
55771
|
-
this.onHidden.emit(this);
|
|
55772
|
-
}
|
|
55773
|
-
getElement() {
|
|
55774
|
-
return this.viewContainerRef.element.nativeElement;
|
|
55775
|
-
}
|
|
55776
|
-
}
|
|
55777
|
-
PopOverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopOverDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Directive });
|
|
55778
|
-
PopOverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: PopOverDirective, selector: "[popover]", inputs: { content: ["popover", "content"], popoverDisabled: "popoverDisabled", popoverAlways: "popoverAlways", popoverAnimation: "popoverAnimation", popoverPlacement: "popoverPlacement", popoverTitle: "popoverTitle", popoverOnHover: "popoverOnHover", popoverDismissTimeout: "popoverDismissTimeout" }, outputs: { onShown: "onShown", onHidden: "onHidden" }, host: { listeners: { "click": "showOrHideOnClick()", "focusin": "showOnHover()", "mouseenter": "showOnHover()", "focusout": "hideOnHover()", "mouseleave": "hideOnHover()" } }, usesOnChanges: true, ngImport: i0 });
|
|
55779
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopOverDirective, decorators: [{
|
|
55780
|
-
type: Directive,
|
|
55781
|
-
args: [{
|
|
55782
|
-
selector: '[popover]',
|
|
55783
|
-
}]
|
|
55784
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { content: [{
|
|
55785
|
-
type: Input,
|
|
55786
|
-
args: ['popover']
|
|
55787
|
-
}], popoverDisabled: [{
|
|
55788
|
-
type: Input
|
|
55789
|
-
}], popoverAlways: [{
|
|
55790
|
-
type: Input
|
|
55791
|
-
}], popoverAnimation: [{
|
|
55792
|
-
type: Input
|
|
55793
|
-
}], popoverPlacement: [{
|
|
55794
|
-
type: Input
|
|
55795
|
-
}], popoverTitle: [{
|
|
55796
|
-
type: Input
|
|
55797
|
-
}], popoverOnHover: [{
|
|
55798
|
-
type: Input
|
|
55799
|
-
}], popoverDismissTimeout: [{
|
|
55800
|
-
type: Input
|
|
55801
|
-
}], onShown: [{
|
|
55802
|
-
type: Output
|
|
55803
|
-
}], onHidden: [{
|
|
55804
|
-
type: Output
|
|
55805
|
-
}], showOrHideOnClick: [{
|
|
55806
|
-
type: HostListener,
|
|
55807
|
-
args: ['click']
|
|
55808
|
-
}], showOnHover: [{
|
|
55809
|
-
type: HostListener,
|
|
55810
|
-
args: ['focusin']
|
|
55811
|
-
}, {
|
|
55812
|
-
type: HostListener,
|
|
55813
|
-
args: ['mouseenter']
|
|
55814
|
-
}], hideOnHover: [{
|
|
55815
|
-
type: HostListener,
|
|
55816
|
-
args: ['focusout']
|
|
55817
|
-
}, {
|
|
55818
|
-
type: HostListener,
|
|
55819
|
-
args: ['mouseleave']
|
|
55820
|
-
}] } });
|
|
55821
|
-
|
|
55822
|
-
// NG2
|
|
55823
|
-
class NovoPopOverModule {
|
|
55824
|
-
}
|
|
55825
|
-
NovoPopOverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NovoPopOverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
55826
|
-
NovoPopOverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NovoPopOverModule, declarations: [PopOverContent, PopOverDirective], exports: [PopOverContent, PopOverDirective] });
|
|
55827
|
-
NovoPopOverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NovoPopOverModule });
|
|
55828
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NovoPopOverModule, decorators: [{
|
|
55829
|
-
type: NgModule,
|
|
55830
|
-
args: [{
|
|
55831
|
-
declarations: [PopOverContent, PopOverDirective],
|
|
55832
|
-
exports: [PopOverContent, PopOverDirective],
|
|
55833
|
-
}]
|
|
55834
|
-
}] });
|
|
55835
|
-
|
|
55836
56221
|
var ProgressAppearance;
|
|
55837
56222
|
(function (ProgressAppearance) {
|
|
55838
56223
|
ProgressAppearance["LINEAR"] = "linear";
|