novo-elements 7.9.0 → 7.10.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +11 -4
- 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;
|
|
@@ -48006,6 +48015,21 @@ class FieldInteractionApi {
|
|
|
48006
48015
|
this.triggerEvent({ controlKey: key, prop: 'tooltip', value: tooltip }, otherForm);
|
|
48007
48016
|
}
|
|
48008
48017
|
}
|
|
48018
|
+
setPopOver(key, popover, otherForm) {
|
|
48019
|
+
const control = this.getControl(key, otherForm);
|
|
48020
|
+
if (control && !control.restrictFieldInteractions) {
|
|
48021
|
+
control.popoverTitle = popover.title;
|
|
48022
|
+
control.popoverContent = popover.content;
|
|
48023
|
+
control.popoverHtmlContent = popover.htmlContent;
|
|
48024
|
+
control.popoverPlacement = popover.placement;
|
|
48025
|
+
control.popoverOnHover = popover.onHover;
|
|
48026
|
+
control.popoverAlways = popover.always;
|
|
48027
|
+
control.popoverDisabled = popover.disabled;
|
|
48028
|
+
control.popoverAnimation = popover.animation;
|
|
48029
|
+
control.popoverDismissTimeout = popover.dismissTimeout;
|
|
48030
|
+
this.triggerEvent({ controlKey: key, prop: 'popover', value: popover }, otherForm);
|
|
48031
|
+
}
|
|
48032
|
+
}
|
|
48009
48033
|
confirmChanges(key, message) {
|
|
48010
48034
|
const history = this.getProperty(key, 'valueHistory');
|
|
48011
48035
|
const oldValue = history[history.length - 2];
|
|
@@ -50836,6 +50860,398 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
50836
50860
|
type: Output
|
|
50837
50861
|
}] } });
|
|
50838
50862
|
|
|
50863
|
+
class PopOverContent {
|
|
50864
|
+
constructor(element, cdr) {
|
|
50865
|
+
this.element = element;
|
|
50866
|
+
this.cdr = cdr;
|
|
50867
|
+
this.placement = 'top';
|
|
50868
|
+
this.animation = true;
|
|
50869
|
+
this.onCloseFromOutside = new EventEmitter();
|
|
50870
|
+
this.top = -10000;
|
|
50871
|
+
this.left = -10000;
|
|
50872
|
+
this.displayType = 'none';
|
|
50873
|
+
this.isHidden = false;
|
|
50874
|
+
}
|
|
50875
|
+
ngAfterViewInit() {
|
|
50876
|
+
this.show();
|
|
50877
|
+
this.cdr.detectChanges();
|
|
50878
|
+
}
|
|
50879
|
+
toggle() {
|
|
50880
|
+
if (this.isHidden) {
|
|
50881
|
+
this.show();
|
|
50882
|
+
}
|
|
50883
|
+
else {
|
|
50884
|
+
this.hide();
|
|
50885
|
+
}
|
|
50886
|
+
}
|
|
50887
|
+
show() {
|
|
50888
|
+
if (!this.popover || !this.popover.getElement()) {
|
|
50889
|
+
return;
|
|
50890
|
+
}
|
|
50891
|
+
const p = this.positionElements(this.popover.getElement(), this.popoverDiv.nativeElement, this.placement);
|
|
50892
|
+
this.displayType = 'block';
|
|
50893
|
+
this.top = p.top;
|
|
50894
|
+
this.left = p.left;
|
|
50895
|
+
this.isHidden = false;
|
|
50896
|
+
}
|
|
50897
|
+
hide() {
|
|
50898
|
+
this.top = -10000;
|
|
50899
|
+
this.left = -10000;
|
|
50900
|
+
this.isHidden = true;
|
|
50901
|
+
this.popover.hide();
|
|
50902
|
+
}
|
|
50903
|
+
hideFromPopover() {
|
|
50904
|
+
this.top = -10000;
|
|
50905
|
+
this.left = -10000;
|
|
50906
|
+
}
|
|
50907
|
+
positionElements(hostEl, targetEl, positionStr, appendToBody = false) {
|
|
50908
|
+
const positionStrParts = positionStr.split('-');
|
|
50909
|
+
const mainSide = (this.effectivePlacement = this.getEffectivePlacement(positionStrParts[0] || 'right', hostEl, targetEl));
|
|
50910
|
+
const orientation = (this.effectiveAlignment = positionStrParts[1] || 'center');
|
|
50911
|
+
const hostElPos = appendToBody ? this.offset(hostEl) : this.position(hostEl);
|
|
50912
|
+
const targetElWidth = targetEl.offsetWidth;
|
|
50913
|
+
const targetElHeight = targetEl.offsetHeight;
|
|
50914
|
+
const shiftWidth = {
|
|
50915
|
+
center() {
|
|
50916
|
+
return hostElPos.left + (hostElPos.width - targetElWidth) / 2;
|
|
50917
|
+
},
|
|
50918
|
+
right() {
|
|
50919
|
+
return hostElPos.left;
|
|
50920
|
+
},
|
|
50921
|
+
left() {
|
|
50922
|
+
return hostElPos.left + (hostElPos.width - targetElWidth);
|
|
50923
|
+
},
|
|
50924
|
+
};
|
|
50925
|
+
const shiftHeight = {
|
|
50926
|
+
center() {
|
|
50927
|
+
return hostElPos.top + (hostElPos.height - targetElHeight) / 2;
|
|
50928
|
+
},
|
|
50929
|
+
bottom() {
|
|
50930
|
+
return hostElPos.top;
|
|
50931
|
+
},
|
|
50932
|
+
top() {
|
|
50933
|
+
return hostElPos.top + (hostElPos.height - targetElHeight);
|
|
50934
|
+
},
|
|
50935
|
+
};
|
|
50936
|
+
let targetElPos;
|
|
50937
|
+
switch (mainSide) {
|
|
50938
|
+
case 'right':
|
|
50939
|
+
targetElPos = {
|
|
50940
|
+
top: shiftHeight[orientation](),
|
|
50941
|
+
left: hostElPos.left + hostElPos.width,
|
|
50942
|
+
};
|
|
50943
|
+
break;
|
|
50944
|
+
case 'left':
|
|
50945
|
+
targetElPos = {
|
|
50946
|
+
top: shiftHeight[orientation](),
|
|
50947
|
+
left: hostElPos.left - targetElWidth,
|
|
50948
|
+
};
|
|
50949
|
+
break;
|
|
50950
|
+
case 'bottom':
|
|
50951
|
+
targetElPos = {
|
|
50952
|
+
top: hostElPos.top + hostElPos.height,
|
|
50953
|
+
left: shiftWidth[orientation](),
|
|
50954
|
+
};
|
|
50955
|
+
break;
|
|
50956
|
+
default:
|
|
50957
|
+
targetElPos = {
|
|
50958
|
+
top: hostElPos.top - targetElHeight,
|
|
50959
|
+
left: shiftWidth[orientation](),
|
|
50960
|
+
};
|
|
50961
|
+
break;
|
|
50962
|
+
}
|
|
50963
|
+
return targetElPos;
|
|
50964
|
+
}
|
|
50965
|
+
position(nativeEl) {
|
|
50966
|
+
let offsetParentBCR = { top: 0, left: 0 };
|
|
50967
|
+
const elBCR = this.offset(nativeEl);
|
|
50968
|
+
const offsetParentEl = this.parentOffsetEl(nativeEl);
|
|
50969
|
+
if (offsetParentEl !== window.document) {
|
|
50970
|
+
offsetParentBCR = this.offset(offsetParentEl);
|
|
50971
|
+
offsetParentBCR.top += offsetParentEl.clientTop - offsetParentEl.scrollTop;
|
|
50972
|
+
offsetParentBCR.left += offsetParentEl.clientLeft - offsetParentEl.scrollLeft;
|
|
50973
|
+
}
|
|
50974
|
+
const boundingClientRect = nativeEl.getBoundingClientRect();
|
|
50975
|
+
return {
|
|
50976
|
+
width: boundingClientRect.width || nativeEl.offsetWidth,
|
|
50977
|
+
height: boundingClientRect.height || nativeEl.offsetHeight,
|
|
50978
|
+
top: elBCR.top - offsetParentBCR.top,
|
|
50979
|
+
left: elBCR.left - offsetParentBCR.left,
|
|
50980
|
+
};
|
|
50981
|
+
}
|
|
50982
|
+
offset(nativeEl) {
|
|
50983
|
+
const boundingClientRect = nativeEl.getBoundingClientRect();
|
|
50984
|
+
return {
|
|
50985
|
+
width: boundingClientRect.width || nativeEl.offsetWidth,
|
|
50986
|
+
height: boundingClientRect.height || nativeEl.offsetHeight,
|
|
50987
|
+
top: boundingClientRect.top + (window.pageYOffset || window.document.documentElement.scrollTop),
|
|
50988
|
+
left: boundingClientRect.left + (window.pageXOffset || window.document.documentElement.scrollLeft),
|
|
50989
|
+
};
|
|
50990
|
+
}
|
|
50991
|
+
getStyle(nativeEl, cssProp) {
|
|
50992
|
+
if (nativeEl.currentStyle) {
|
|
50993
|
+
return nativeEl.currentStyle[cssProp];
|
|
50994
|
+
}
|
|
50995
|
+
if (window.getComputedStyle) {
|
|
50996
|
+
return window.getComputedStyle(nativeEl)[cssProp];
|
|
50997
|
+
}
|
|
50998
|
+
return nativeEl.style[cssProp];
|
|
50999
|
+
}
|
|
51000
|
+
isStaticPositioned(nativeEl) {
|
|
51001
|
+
return (this.getStyle(nativeEl, 'position') || 'static') === 'static';
|
|
51002
|
+
}
|
|
51003
|
+
parentOffsetEl(nativeEl) {
|
|
51004
|
+
let offsetParent = nativeEl.offsetParent || window.document;
|
|
51005
|
+
while (offsetParent && offsetParent !== window.document && this.isStaticPositioned(offsetParent)) {
|
|
51006
|
+
offsetParent = offsetParent.offsetParent;
|
|
51007
|
+
}
|
|
51008
|
+
return offsetParent || window.document;
|
|
51009
|
+
}
|
|
51010
|
+
getEffectivePlacement(desiredPlacement, hostElement, targetElement) {
|
|
51011
|
+
const hostElBoundingRect = hostElement.getBoundingClientRect();
|
|
51012
|
+
if (desiredPlacement === 'top' && hostElBoundingRect.top - targetElement.offsetHeight < 0) {
|
|
51013
|
+
return 'bottom';
|
|
51014
|
+
}
|
|
51015
|
+
if (desiredPlacement === 'bottom' && hostElBoundingRect.bottom + targetElement.offsetHeight > window.innerHeight) {
|
|
51016
|
+
return 'top';
|
|
51017
|
+
}
|
|
51018
|
+
if (desiredPlacement === 'left' && hostElBoundingRect.left - targetElement.offsetWidth < 0) {
|
|
51019
|
+
return 'right';
|
|
51020
|
+
}
|
|
51021
|
+
if (desiredPlacement === 'right' && hostElBoundingRect.right + targetElement.offsetWidth > window.innerWidth) {
|
|
51022
|
+
return 'left';
|
|
51023
|
+
}
|
|
51024
|
+
return desiredPlacement;
|
|
51025
|
+
}
|
|
51026
|
+
}
|
|
51027
|
+
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 });
|
|
51028
|
+
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: `
|
|
51029
|
+
<div
|
|
51030
|
+
#popoverDiv
|
|
51031
|
+
class="popover {{ effectivePlacement }}"
|
|
51032
|
+
[style.top]="top + 'px'"
|
|
51033
|
+
[style.left]="left + 'px'"
|
|
51034
|
+
[class.fade]="animation"
|
|
51035
|
+
style="display: block"
|
|
51036
|
+
role="popover"
|
|
51037
|
+
>
|
|
51038
|
+
<div class="arrow {{ effectiveAlignment }}"></div>
|
|
51039
|
+
<div class="popover-title" [hidden]="!title">{{ title }}</div>
|
|
51040
|
+
<div class="popover-content">
|
|
51041
|
+
<ng-content></ng-content>
|
|
51042
|
+
<div *ngIf="htmlContent" class="popover-content-text" [innerHTML]="htmlContent"></div>
|
|
51043
|
+
<div *ngIf="!htmlContent" class="popover-content-text">{{ content }}</div>
|
|
51044
|
+
</div>
|
|
51045
|
+
</div>
|
|
51046
|
+
`, isInline: true, directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
51047
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopOverContent, decorators: [{
|
|
51048
|
+
type: Component,
|
|
51049
|
+
args: [{
|
|
51050
|
+
selector: 'popover-content',
|
|
51051
|
+
template: `
|
|
51052
|
+
<div
|
|
51053
|
+
#popoverDiv
|
|
51054
|
+
class="popover {{ effectivePlacement }}"
|
|
51055
|
+
[style.top]="top + 'px'"
|
|
51056
|
+
[style.left]="left + 'px'"
|
|
51057
|
+
[class.fade]="animation"
|
|
51058
|
+
style="display: block"
|
|
51059
|
+
role="popover"
|
|
51060
|
+
>
|
|
51061
|
+
<div class="arrow {{ effectiveAlignment }}"></div>
|
|
51062
|
+
<div class="popover-title" [hidden]="!title">{{ title }}</div>
|
|
51063
|
+
<div class="popover-content">
|
|
51064
|
+
<ng-content></ng-content>
|
|
51065
|
+
<div *ngIf="htmlContent" class="popover-content-text" [innerHTML]="htmlContent"></div>
|
|
51066
|
+
<div *ngIf="!htmlContent" class="popover-content-text">{{ content }}</div>
|
|
51067
|
+
</div>
|
|
51068
|
+
</div>
|
|
51069
|
+
`,
|
|
51070
|
+
}]
|
|
51071
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { content: [{
|
|
51072
|
+
type: Input
|
|
51073
|
+
}], htmlContent: [{
|
|
51074
|
+
type: Input
|
|
51075
|
+
}], placement: [{
|
|
51076
|
+
type: Input
|
|
51077
|
+
}], title: [{
|
|
51078
|
+
type: Input
|
|
51079
|
+
}], animation: [{
|
|
51080
|
+
type: Input
|
|
51081
|
+
}], popoverDiv: [{
|
|
51082
|
+
type: ViewChild,
|
|
51083
|
+
args: ['popoverDiv']
|
|
51084
|
+
}] } });
|
|
51085
|
+
|
|
51086
|
+
// NG2
|
|
51087
|
+
class PopOverDirective {
|
|
51088
|
+
constructor(viewContainerRef, resolver) {
|
|
51089
|
+
this.viewContainerRef = viewContainerRef;
|
|
51090
|
+
this.resolver = resolver;
|
|
51091
|
+
this.PopoverComponent = PopOverContent;
|
|
51092
|
+
this.popoverOnHover = false;
|
|
51093
|
+
this.popoverDismissTimeout = 0;
|
|
51094
|
+
this.onShown = new EventEmitter();
|
|
51095
|
+
this.onHidden = new EventEmitter();
|
|
51096
|
+
}
|
|
51097
|
+
// ---------------------------------------------------
|
|
51098
|
+
// Event listeners
|
|
51099
|
+
// ---------------------------------------------------
|
|
51100
|
+
showOrHideOnClick() {
|
|
51101
|
+
if (this.popoverOnHover || this.popoverDisabled) {
|
|
51102
|
+
return;
|
|
51103
|
+
}
|
|
51104
|
+
this.toggle();
|
|
51105
|
+
}
|
|
51106
|
+
showOnHover() {
|
|
51107
|
+
if (!this.popoverOnHover || this.popoverDisabled) {
|
|
51108
|
+
return;
|
|
51109
|
+
}
|
|
51110
|
+
this.show();
|
|
51111
|
+
}
|
|
51112
|
+
hideOnHover() {
|
|
51113
|
+
if (!this.popoverOnHover || this.popoverDisabled) {
|
|
51114
|
+
return;
|
|
51115
|
+
}
|
|
51116
|
+
this.hide();
|
|
51117
|
+
}
|
|
51118
|
+
ngOnChanges(changes) {
|
|
51119
|
+
if (changes.popoverDisabled) {
|
|
51120
|
+
if (changes.popoverDisabled.currentValue) {
|
|
51121
|
+
this.hide();
|
|
51122
|
+
}
|
|
51123
|
+
}
|
|
51124
|
+
if (changes.popoverAlways) {
|
|
51125
|
+
if (changes.popoverAlways.currentValue) {
|
|
51126
|
+
this.show();
|
|
51127
|
+
}
|
|
51128
|
+
}
|
|
51129
|
+
}
|
|
51130
|
+
toggle() {
|
|
51131
|
+
if (!this.visible) {
|
|
51132
|
+
this.show();
|
|
51133
|
+
}
|
|
51134
|
+
else {
|
|
51135
|
+
this.hide();
|
|
51136
|
+
}
|
|
51137
|
+
}
|
|
51138
|
+
show() {
|
|
51139
|
+
if (this.visible) {
|
|
51140
|
+
return;
|
|
51141
|
+
}
|
|
51142
|
+
this.visible = true;
|
|
51143
|
+
if (typeof this.content === 'string' || this.popoverHtmlContent) {
|
|
51144
|
+
const factory = this.resolver.resolveComponentFactory(this.PopoverComponent);
|
|
51145
|
+
if (!this.visible) {
|
|
51146
|
+
return;
|
|
51147
|
+
}
|
|
51148
|
+
this.popover = this.viewContainerRef.createComponent(factory);
|
|
51149
|
+
const popover = this.popover.instance;
|
|
51150
|
+
popover.popover = this;
|
|
51151
|
+
if (this.content) {
|
|
51152
|
+
popover.content = this.content;
|
|
51153
|
+
}
|
|
51154
|
+
if (this.popoverHtmlContent) {
|
|
51155
|
+
popover.htmlContent = this.popoverHtmlContent;
|
|
51156
|
+
}
|
|
51157
|
+
if (this.popoverPlacement !== undefined) {
|
|
51158
|
+
popover.placement = this.popoverPlacement;
|
|
51159
|
+
}
|
|
51160
|
+
if (this.popoverAnimation !== undefined) {
|
|
51161
|
+
popover.animation = this.popoverAnimation;
|
|
51162
|
+
}
|
|
51163
|
+
if (this.popoverTitle !== undefined) {
|
|
51164
|
+
popover.title = this.popoverTitle;
|
|
51165
|
+
}
|
|
51166
|
+
popover.onCloseFromOutside.subscribe(() => this.hide());
|
|
51167
|
+
if (this.popoverDismissTimeout > 0) {
|
|
51168
|
+
setTimeout(() => this.hide(), this.popoverDismissTimeout);
|
|
51169
|
+
}
|
|
51170
|
+
}
|
|
51171
|
+
else {
|
|
51172
|
+
const popover = this.content;
|
|
51173
|
+
popover.popover = this;
|
|
51174
|
+
if (this.popoverPlacement !== undefined) {
|
|
51175
|
+
popover.placement = this.popoverPlacement;
|
|
51176
|
+
}
|
|
51177
|
+
if (this.popoverAnimation !== undefined) {
|
|
51178
|
+
popover.animation = this.popoverAnimation;
|
|
51179
|
+
}
|
|
51180
|
+
if (this.popoverTitle !== undefined) {
|
|
51181
|
+
popover.title = this.popoverTitle;
|
|
51182
|
+
}
|
|
51183
|
+
popover.onCloseFromOutside.subscribe(() => this.hide());
|
|
51184
|
+
if (this.popoverDismissTimeout > 0) {
|
|
51185
|
+
setTimeout(() => this.hide(), this.popoverDismissTimeout);
|
|
51186
|
+
}
|
|
51187
|
+
popover.show();
|
|
51188
|
+
}
|
|
51189
|
+
this.onShown.emit(this);
|
|
51190
|
+
}
|
|
51191
|
+
hide() {
|
|
51192
|
+
if (!this.visible) {
|
|
51193
|
+
return;
|
|
51194
|
+
}
|
|
51195
|
+
this.visible = false;
|
|
51196
|
+
if (this.popover) {
|
|
51197
|
+
this.popover.destroy();
|
|
51198
|
+
}
|
|
51199
|
+
if (this.content instanceof PopOverContent) {
|
|
51200
|
+
this.content.hideFromPopover();
|
|
51201
|
+
}
|
|
51202
|
+
this.onHidden.emit(this);
|
|
51203
|
+
}
|
|
51204
|
+
getElement() {
|
|
51205
|
+
return this.viewContainerRef.element.nativeElement;
|
|
51206
|
+
}
|
|
51207
|
+
}
|
|
51208
|
+
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 });
|
|
51209
|
+
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 });
|
|
51210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopOverDirective, decorators: [{
|
|
51211
|
+
type: Directive,
|
|
51212
|
+
args: [{
|
|
51213
|
+
selector: '[popover]',
|
|
51214
|
+
}]
|
|
51215
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { content: [{
|
|
51216
|
+
type: Input,
|
|
51217
|
+
args: ['popover']
|
|
51218
|
+
}], popoverHtmlContent: [{
|
|
51219
|
+
type: Input
|
|
51220
|
+
}], popoverDisabled: [{
|
|
51221
|
+
type: Input
|
|
51222
|
+
}], popoverAlways: [{
|
|
51223
|
+
type: Input
|
|
51224
|
+
}], popoverAnimation: [{
|
|
51225
|
+
type: Input
|
|
51226
|
+
}], popoverPlacement: [{
|
|
51227
|
+
type: Input
|
|
51228
|
+
}], popoverTitle: [{
|
|
51229
|
+
type: Input
|
|
51230
|
+
}], popoverOnHover: [{
|
|
51231
|
+
type: Input
|
|
51232
|
+
}], popoverDismissTimeout: [{
|
|
51233
|
+
type: Input
|
|
51234
|
+
}], onShown: [{
|
|
51235
|
+
type: Output
|
|
51236
|
+
}], onHidden: [{
|
|
51237
|
+
type: Output
|
|
51238
|
+
}], showOrHideOnClick: [{
|
|
51239
|
+
type: HostListener,
|
|
51240
|
+
args: ['click']
|
|
51241
|
+
}], showOnHover: [{
|
|
51242
|
+
type: HostListener,
|
|
51243
|
+
args: ['focusin']
|
|
51244
|
+
}, {
|
|
51245
|
+
type: HostListener,
|
|
51246
|
+
args: ['mouseenter']
|
|
51247
|
+
}], hideOnHover: [{
|
|
51248
|
+
type: HostListener,
|
|
51249
|
+
args: ['focusout']
|
|
51250
|
+
}, {
|
|
51251
|
+
type: HostListener,
|
|
51252
|
+
args: ['mouseleave']
|
|
51253
|
+
}] } });
|
|
51254
|
+
|
|
50839
51255
|
class NovoControlTemplates {
|
|
50840
51256
|
constructor(templates) {
|
|
50841
51257
|
this.templates = templates;
|
|
@@ -50865,6 +51281,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
50865
51281
|
[tooltipPreline]="control?.tooltipPreline"
|
|
50866
51282
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
50867
51283
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51284
|
+
[popover]="control.popoverContent"
|
|
51285
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51286
|
+
[popoverTitle]="control.popoverTitle"
|
|
51287
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51288
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51289
|
+
[popoverAlways]="control.popoverAlways"
|
|
51290
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51291
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51292
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
50868
51293
|
>
|
|
50869
51294
|
<input
|
|
50870
51295
|
*ngIf="control?.type !== 'number' && control?.textMaskEnabled"
|
|
@@ -50940,6 +51365,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
50940
51365
|
[tooltipPreline]="control?.tooltipPreline"
|
|
50941
51366
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
50942
51367
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51368
|
+
[popover]="control.popoverContent"
|
|
51369
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51370
|
+
[popoverTitle]="control.popoverTitle"
|
|
51371
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51372
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51373
|
+
[popoverAlways]="control.popoverAlways"
|
|
51374
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51375
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51376
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
50943
51377
|
>
|
|
50944
51378
|
<textarea
|
|
50945
51379
|
[class.maxlength-error]="errors?.maxlength"
|
|
@@ -50996,6 +51430,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
50996
51430
|
[tooltipPreline]="control?.tooltipPreline"
|
|
50997
51431
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
50998
51432
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51433
|
+
[popover]="control.popoverContent"
|
|
51434
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51435
|
+
[popoverTitle]="control.popoverTitle"
|
|
51436
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51437
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51438
|
+
[popoverAlways]="control.popoverAlways"
|
|
51439
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51440
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51441
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
50999
51442
|
>
|
|
51000
51443
|
<option *ngIf="control.placeholder" value="" disabled selected hidden>{{ control.placeholder }}</option>
|
|
51001
51444
|
<option *ngFor="let opt of control.options" [value]="opt.key">{{ opt.value }}</option>
|
|
@@ -51020,6 +51463,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51020
51463
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51021
51464
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51022
51465
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51466
|
+
[popover]="control.popoverContent"
|
|
51467
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51468
|
+
[popoverTitle]="control.popoverTitle"
|
|
51469
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51470
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51471
|
+
[popoverAlways]="control.popoverAlways"
|
|
51472
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51473
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51474
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51023
51475
|
(edit)="methods.handleEdit($event)"
|
|
51024
51476
|
(save)="methods.handleSave($event)"
|
|
51025
51477
|
(delete)="methods.handleDelete($event)"
|
|
@@ -51041,6 +51493,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51041
51493
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51042
51494
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51043
51495
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51496
|
+
[popover]="control.popoverContent"
|
|
51497
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51498
|
+
[popoverTitle]="control.popoverTitle"
|
|
51499
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51500
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51501
|
+
[popoverAlways]="control.popoverAlways"
|
|
51502
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51503
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51504
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51044
51505
|
[controlDisabled]="control.disabled"
|
|
51045
51506
|
></novo-tiles>
|
|
51046
51507
|
</div>
|
|
@@ -51066,6 +51527,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51066
51527
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51067
51528
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51068
51529
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51530
|
+
[popover]="control.popoverContent"
|
|
51531
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51532
|
+
[popoverTitle]="control.popoverTitle"
|
|
51533
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51534
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51535
|
+
[popoverAlways]="control.popoverAlways"
|
|
51536
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51537
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51538
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51069
51539
|
></novo-picker>
|
|
51070
51540
|
<novo-chips
|
|
51071
51541
|
[source]="control.config"
|
|
@@ -51085,6 +51555,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51085
51555
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51086
51556
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51087
51557
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51558
|
+
[popover]="control.popoverContent"
|
|
51559
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51560
|
+
[popoverTitle]="control.popoverTitle"
|
|
51561
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51562
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51563
|
+
[popoverAlways]="control.popoverAlways"
|
|
51564
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51565
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51566
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51088
51567
|
></novo-chips>
|
|
51089
51568
|
<novo-row-chips
|
|
51090
51569
|
[source]="control.config"
|
|
@@ -51104,6 +51583,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51104
51583
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51105
51584
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51106
51585
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51586
|
+
[popover]="control.popoverContent"
|
|
51587
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51588
|
+
[popoverTitle]="control.popoverTitle"
|
|
51589
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51590
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51591
|
+
[popoverAlways]="control.popoverAlways"
|
|
51592
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51593
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51594
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51107
51595
|
></novo-row-chips>
|
|
51108
51596
|
</div>
|
|
51109
51597
|
</ng-template>
|
|
@@ -51122,6 +51610,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51122
51610
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51123
51611
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51124
51612
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51613
|
+
[popover]="control.popoverContent"
|
|
51614
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51615
|
+
[popoverTitle]="control.popoverTitle"
|
|
51616
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51617
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51618
|
+
[popoverAlways]="control.popoverAlways"
|
|
51619
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51620
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51621
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51125
51622
|
(onSelect)="methods.modelChange($event)"
|
|
51126
51623
|
></novo-select>
|
|
51127
51624
|
</div>
|
|
@@ -51141,6 +51638,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51141
51638
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51142
51639
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51143
51640
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51641
|
+
[popover]="control.popoverContent"
|
|
51642
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51643
|
+
[popoverTitle]="control.popoverTitle"
|
|
51644
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51645
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51646
|
+
[popoverAlways]="control.popoverAlways"
|
|
51647
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51648
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51649
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51144
51650
|
position="bottom"
|
|
51145
51651
|
(onSelect)="methods.modelChange($event)"
|
|
51146
51652
|
></novo-select>
|
|
@@ -51165,6 +51671,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51165
51671
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51166
51672
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51167
51673
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51674
|
+
[popover]="control.popoverContent"
|
|
51675
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51676
|
+
[popoverTitle]="control.popoverTitle"
|
|
51677
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51678
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51679
|
+
[popoverAlways]="control.popoverAlways"
|
|
51680
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51681
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51682
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51168
51683
|
[button]="!!option.icon"
|
|
51169
51684
|
[icon]="option.icon"
|
|
51170
51685
|
[color]="option.color"
|
|
@@ -51186,6 +51701,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51186
51701
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51187
51702
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51188
51703
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51704
|
+
[popover]="control.popoverContent"
|
|
51705
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51706
|
+
[popoverTitle]="control.popoverTitle"
|
|
51707
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51708
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51709
|
+
[popoverAlways]="control.popoverAlways"
|
|
51710
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51711
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51712
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51189
51713
|
>
|
|
51190
51714
|
<novo-time-picker-input
|
|
51191
51715
|
[attr.id]="control.key"
|
|
@@ -51208,6 +51732,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51208
51732
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51209
51733
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51210
51734
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51735
|
+
[popover]="control.popoverContent"
|
|
51736
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51737
|
+
[popoverTitle]="control.popoverTitle"
|
|
51738
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51739
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51740
|
+
[popoverAlways]="control.popoverAlways"
|
|
51741
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51742
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51743
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51211
51744
|
>
|
|
51212
51745
|
<input
|
|
51213
51746
|
[formControlName]="control.key"
|
|
@@ -51232,6 +51765,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51232
51765
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51233
51766
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51234
51767
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51768
|
+
[popover]="control.popoverContent"
|
|
51769
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51770
|
+
[popoverTitle]="control.popoverTitle"
|
|
51771
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51772
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51773
|
+
[popoverAlways]="control.popoverAlways"
|
|
51774
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51775
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51776
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51235
51777
|
>
|
|
51236
51778
|
<novo-date-picker-input
|
|
51237
51779
|
[attr.id]="control.key"
|
|
@@ -51263,6 +51805,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51263
51805
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51264
51806
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51265
51807
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51808
|
+
[popover]="control.popoverContent"
|
|
51809
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51810
|
+
[popoverTitle]="control.popoverTitle"
|
|
51811
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51812
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51813
|
+
[popoverAlways]="control.popoverAlways"
|
|
51814
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51815
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51816
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51266
51817
|
>
|
|
51267
51818
|
<novo-date-time-picker-input
|
|
51268
51819
|
[attr.id]="control.key"
|
|
@@ -51308,6 +51859,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51308
51859
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51309
51860
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51310
51861
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51862
|
+
[popover]="control.popoverContent"
|
|
51863
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51864
|
+
[popoverTitle]="control.popoverTitle"
|
|
51865
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51866
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51867
|
+
[popoverAlways]="control.popoverAlways"
|
|
51868
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51869
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51870
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51311
51871
|
[layoutOptions]="control?.layoutOptions"
|
|
51312
51872
|
></novo-checkbox>
|
|
51313
51873
|
</div>
|
|
@@ -51324,6 +51884,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51324
51884
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51325
51885
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51326
51886
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51887
|
+
[popover]="control.popoverContent"
|
|
51888
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51889
|
+
[popoverTitle]="control.popoverTitle"
|
|
51890
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51891
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51892
|
+
[popoverAlways]="control.popoverAlways"
|
|
51893
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51894
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51895
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51327
51896
|
></novo-switch>
|
|
51328
51897
|
</div>
|
|
51329
51898
|
</ng-template>
|
|
@@ -51341,6 +51910,15 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51341
51910
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51342
51911
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51343
51912
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51913
|
+
[popover]="control.popoverContent"
|
|
51914
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51915
|
+
[popoverTitle]="control.popoverTitle"
|
|
51916
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51917
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51918
|
+
[popoverAlways]="control.popoverAlways"
|
|
51919
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51920
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51921
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51344
51922
|
(onSelect)="methods.modelChange($event)"
|
|
51345
51923
|
></novo-check-list>
|
|
51346
51924
|
</div>
|
|
@@ -51358,13 +51936,22 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
51358
51936
|
[tooltip]="control?.tooltip"
|
|
51359
51937
|
[tooltipPosition]="control?.tooltipPosition"
|
|
51360
51938
|
[tooltipSize]="control?.tooltipSize"
|
|
51939
|
+
[tooltipPreline]="control?.tooltipPreline"
|
|
51361
51940
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51362
51941
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51363
|
-
[
|
|
51942
|
+
[popover]="control.popoverContent"
|
|
51943
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51944
|
+
[popoverTitle]="control.popoverTitle"
|
|
51945
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51946
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51947
|
+
[popoverAlways]="control.popoverAlways"
|
|
51948
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51949
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51950
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51364
51951
|
></novo-quick-note>
|
|
51365
51952
|
</div>
|
|
51366
51953
|
</ng-template>
|
|
51367
|
-
`, 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"] }] });
|
|
51954
|
+
`, 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"] }] });
|
|
51368
51955
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NovoControlTemplates, decorators: [{
|
|
51369
51956
|
type: Component,
|
|
51370
51957
|
args: [{
|
|
@@ -51385,6 +51972,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51385
51972
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51386
51973
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51387
51974
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51975
|
+
[popover]="control.popoverContent"
|
|
51976
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
51977
|
+
[popoverTitle]="control.popoverTitle"
|
|
51978
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
51979
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
51980
|
+
[popoverAlways]="control.popoverAlways"
|
|
51981
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
51982
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
51983
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51388
51984
|
>
|
|
51389
51985
|
<input
|
|
51390
51986
|
*ngIf="control?.type !== 'number' && control?.textMaskEnabled"
|
|
@@ -51460,6 +52056,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51460
52056
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51461
52057
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51462
52058
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52059
|
+
[popover]="control.popoverContent"
|
|
52060
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52061
|
+
[popoverTitle]="control.popoverTitle"
|
|
52062
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52063
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52064
|
+
[popoverAlways]="control.popoverAlways"
|
|
52065
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52066
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52067
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51463
52068
|
>
|
|
51464
52069
|
<textarea
|
|
51465
52070
|
[class.maxlength-error]="errors?.maxlength"
|
|
@@ -51516,6 +52121,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51516
52121
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51517
52122
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51518
52123
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52124
|
+
[popover]="control.popoverContent"
|
|
52125
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52126
|
+
[popoverTitle]="control.popoverTitle"
|
|
52127
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52128
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52129
|
+
[popoverAlways]="control.popoverAlways"
|
|
52130
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52131
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52132
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51519
52133
|
>
|
|
51520
52134
|
<option *ngIf="control.placeholder" value="" disabled selected hidden>{{ control.placeholder }}</option>
|
|
51521
52135
|
<option *ngFor="let opt of control.options" [value]="opt.key">{{ opt.value }}</option>
|
|
@@ -51540,6 +52154,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51540
52154
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51541
52155
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51542
52156
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52157
|
+
[popover]="control.popoverContent"
|
|
52158
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52159
|
+
[popoverTitle]="control.popoverTitle"
|
|
52160
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52161
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52162
|
+
[popoverAlways]="control.popoverAlways"
|
|
52163
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52164
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52165
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51543
52166
|
(edit)="methods.handleEdit($event)"
|
|
51544
52167
|
(save)="methods.handleSave($event)"
|
|
51545
52168
|
(delete)="methods.handleDelete($event)"
|
|
@@ -51561,6 +52184,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51561
52184
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51562
52185
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51563
52186
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52187
|
+
[popover]="control.popoverContent"
|
|
52188
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52189
|
+
[popoverTitle]="control.popoverTitle"
|
|
52190
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52191
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52192
|
+
[popoverAlways]="control.popoverAlways"
|
|
52193
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52194
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52195
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51564
52196
|
[controlDisabled]="control.disabled"
|
|
51565
52197
|
></novo-tiles>
|
|
51566
52198
|
</div>
|
|
@@ -51586,6 +52218,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51586
52218
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51587
52219
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51588
52220
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52221
|
+
[popover]="control.popoverContent"
|
|
52222
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52223
|
+
[popoverTitle]="control.popoverTitle"
|
|
52224
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52225
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52226
|
+
[popoverAlways]="control.popoverAlways"
|
|
52227
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52228
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52229
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51589
52230
|
></novo-picker>
|
|
51590
52231
|
<novo-chips
|
|
51591
52232
|
[source]="control.config"
|
|
@@ -51605,6 +52246,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51605
52246
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51606
52247
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51607
52248
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52249
|
+
[popover]="control.popoverContent"
|
|
52250
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52251
|
+
[popoverTitle]="control.popoverTitle"
|
|
52252
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52253
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52254
|
+
[popoverAlways]="control.popoverAlways"
|
|
52255
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52256
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52257
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51608
52258
|
></novo-chips>
|
|
51609
52259
|
<novo-row-chips
|
|
51610
52260
|
[source]="control.config"
|
|
@@ -51624,6 +52274,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51624
52274
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51625
52275
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51626
52276
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52277
|
+
[popover]="control.popoverContent"
|
|
52278
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52279
|
+
[popoverTitle]="control.popoverTitle"
|
|
52280
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52281
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52282
|
+
[popoverAlways]="control.popoverAlways"
|
|
52283
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52284
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52285
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51627
52286
|
></novo-row-chips>
|
|
51628
52287
|
</div>
|
|
51629
52288
|
</ng-template>
|
|
@@ -51642,6 +52301,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51642
52301
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51643
52302
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51644
52303
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52304
|
+
[popover]="control.popoverContent"
|
|
52305
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52306
|
+
[popoverTitle]="control.popoverTitle"
|
|
52307
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52308
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52309
|
+
[popoverAlways]="control.popoverAlways"
|
|
52310
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52311
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52312
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51645
52313
|
(onSelect)="methods.modelChange($event)"
|
|
51646
52314
|
></novo-select>
|
|
51647
52315
|
</div>
|
|
@@ -51661,6 +52329,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51661
52329
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51662
52330
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51663
52331
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52332
|
+
[popover]="control.popoverContent"
|
|
52333
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52334
|
+
[popoverTitle]="control.popoverTitle"
|
|
52335
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52336
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52337
|
+
[popoverAlways]="control.popoverAlways"
|
|
52338
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52339
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52340
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51664
52341
|
position="bottom"
|
|
51665
52342
|
(onSelect)="methods.modelChange($event)"
|
|
51666
52343
|
></novo-select>
|
|
@@ -51685,6 +52362,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51685
52362
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51686
52363
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51687
52364
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52365
|
+
[popover]="control.popoverContent"
|
|
52366
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52367
|
+
[popoverTitle]="control.popoverTitle"
|
|
52368
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52369
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52370
|
+
[popoverAlways]="control.popoverAlways"
|
|
52371
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52372
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52373
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51688
52374
|
[button]="!!option.icon"
|
|
51689
52375
|
[icon]="option.icon"
|
|
51690
52376
|
[color]="option.color"
|
|
@@ -51706,6 +52392,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51706
52392
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51707
52393
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51708
52394
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52395
|
+
[popover]="control.popoverContent"
|
|
52396
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52397
|
+
[popoverTitle]="control.popoverTitle"
|
|
52398
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52399
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52400
|
+
[popoverAlways]="control.popoverAlways"
|
|
52401
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52402
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52403
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51709
52404
|
>
|
|
51710
52405
|
<novo-time-picker-input
|
|
51711
52406
|
[attr.id]="control.key"
|
|
@@ -51728,6 +52423,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51728
52423
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51729
52424
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51730
52425
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52426
|
+
[popover]="control.popoverContent"
|
|
52427
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52428
|
+
[popoverTitle]="control.popoverTitle"
|
|
52429
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52430
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52431
|
+
[popoverAlways]="control.popoverAlways"
|
|
52432
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52433
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52434
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51731
52435
|
>
|
|
51732
52436
|
<input
|
|
51733
52437
|
[formControlName]="control.key"
|
|
@@ -51752,6 +52456,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51752
52456
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51753
52457
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51754
52458
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52459
|
+
[popover]="control.popoverContent"
|
|
52460
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52461
|
+
[popoverTitle]="control.popoverTitle"
|
|
52462
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52463
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52464
|
+
[popoverAlways]="control.popoverAlways"
|
|
52465
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52466
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52467
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51755
52468
|
>
|
|
51756
52469
|
<novo-date-picker-input
|
|
51757
52470
|
[attr.id]="control.key"
|
|
@@ -51783,6 +52496,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51783
52496
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51784
52497
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51785
52498
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52499
|
+
[popover]="control.popoverContent"
|
|
52500
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52501
|
+
[popoverTitle]="control.popoverTitle"
|
|
52502
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52503
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52504
|
+
[popoverAlways]="control.popoverAlways"
|
|
52505
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52506
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52507
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51786
52508
|
>
|
|
51787
52509
|
<novo-date-time-picker-input
|
|
51788
52510
|
[attr.id]="control.key"
|
|
@@ -51828,6 +52550,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51828
52550
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51829
52551
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51830
52552
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52553
|
+
[popover]="control.popoverContent"
|
|
52554
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52555
|
+
[popoverTitle]="control.popoverTitle"
|
|
52556
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52557
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52558
|
+
[popoverAlways]="control.popoverAlways"
|
|
52559
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52560
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52561
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51831
52562
|
[layoutOptions]="control?.layoutOptions"
|
|
51832
52563
|
></novo-checkbox>
|
|
51833
52564
|
</div>
|
|
@@ -51844,6 +52575,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51844
52575
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51845
52576
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51846
52577
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52578
|
+
[popover]="control.popoverContent"
|
|
52579
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52580
|
+
[popoverTitle]="control.popoverTitle"
|
|
52581
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52582
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52583
|
+
[popoverAlways]="control.popoverAlways"
|
|
52584
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52585
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52586
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51847
52587
|
></novo-switch>
|
|
51848
52588
|
</div>
|
|
51849
52589
|
</ng-template>
|
|
@@ -51861,6 +52601,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51861
52601
|
[tooltipPreline]="control?.tooltipPreline"
|
|
51862
52602
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51863
52603
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
52604
|
+
[popover]="control.popoverContent"
|
|
52605
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52606
|
+
[popoverTitle]="control.popoverTitle"
|
|
52607
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52608
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52609
|
+
[popoverAlways]="control.popoverAlways"
|
|
52610
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52611
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52612
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51864
52613
|
(onSelect)="methods.modelChange($event)"
|
|
51865
52614
|
></novo-check-list>
|
|
51866
52615
|
</div>
|
|
@@ -51878,9 +52627,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
51878
52627
|
[tooltip]="control?.tooltip"
|
|
51879
52628
|
[tooltipPosition]="control?.tooltipPosition"
|
|
51880
52629
|
[tooltipSize]="control?.tooltipSize"
|
|
52630
|
+
[tooltipPreline]="control?.tooltipPreline"
|
|
51881
52631
|
[removeTooltipArrow]="control?.removeTooltipArrow"
|
|
51882
52632
|
[tooltipAutoPosition]="control?.tooltipAutoPosition"
|
|
51883
|
-
[
|
|
52633
|
+
[popover]="control.popoverContent"
|
|
52634
|
+
[popoverHtmlContent]="control.popoverHtmlContent"
|
|
52635
|
+
[popoverTitle]="control.popoverTitle"
|
|
52636
|
+
[popoverPlacement]="control.popoverPlacement"
|
|
52637
|
+
[popoverOnHover]="control.popoverOnHover"
|
|
52638
|
+
[popoverAlways]="control.popoverAlways"
|
|
52639
|
+
[popoverDisabled]="control.popoverDisabled"
|
|
52640
|
+
[popoverAnimation]="control.popoverAnimation"
|
|
52641
|
+
[popoverDismissTimeout]="control.popoverDismissTimeout"
|
|
51884
52642
|
></novo-quick-note>
|
|
51885
52643
|
</div>
|
|
51886
52644
|
</ng-template>
|
|
@@ -52552,6 +53310,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
52552
53310
|
}]
|
|
52553
53311
|
}] });
|
|
52554
53312
|
|
|
53313
|
+
// NG2
|
|
53314
|
+
class NovoPopOverModule {
|
|
53315
|
+
}
|
|
53316
|
+
NovoPopOverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NovoPopOverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
53317
|
+
NovoPopOverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NovoPopOverModule, declarations: [PopOverContent, PopOverDirective], imports: [CommonModule], exports: [PopOverContent, PopOverDirective] });
|
|
53318
|
+
NovoPopOverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NovoPopOverModule, imports: [[
|
|
53319
|
+
CommonModule
|
|
53320
|
+
]] });
|
|
53321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NovoPopOverModule, decorators: [{
|
|
53322
|
+
type: NgModule,
|
|
53323
|
+
args: [{
|
|
53324
|
+
declarations: [PopOverContent, PopOverDirective],
|
|
53325
|
+
exports: [PopOverContent, PopOverDirective],
|
|
53326
|
+
imports: [
|
|
53327
|
+
CommonModule
|
|
53328
|
+
]
|
|
53329
|
+
}]
|
|
53330
|
+
}] });
|
|
53331
|
+
|
|
52555
53332
|
// NG2
|
|
52556
53333
|
class NovoFormModule {
|
|
52557
53334
|
}
|
|
@@ -52582,6 +53359,7 @@ NovoFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
52582
53359
|
NovoDateTimePickerModule,
|
|
52583
53360
|
NovoHeaderModule,
|
|
52584
53361
|
NovoTooltipModule,
|
|
53362
|
+
NovoPopOverModule,
|
|
52585
53363
|
NovoDragulaModule,
|
|
52586
53364
|
IMaskDirectiveModule,
|
|
52587
53365
|
TextMaskModule,
|
|
@@ -52618,6 +53396,7 @@ NovoFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
52618
53396
|
NovoDateTimePickerModule,
|
|
52619
53397
|
NovoHeaderModule,
|
|
52620
53398
|
NovoTooltipModule,
|
|
53399
|
+
NovoPopOverModule,
|
|
52621
53400
|
NovoDragulaModule,
|
|
52622
53401
|
IMaskDirectiveModule,
|
|
52623
53402
|
TextMaskModule,
|
|
@@ -52652,6 +53431,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
52652
53431
|
NovoDateTimePickerModule,
|
|
52653
53432
|
NovoHeaderModule,
|
|
52654
53433
|
NovoTooltipModule,
|
|
53434
|
+
NovoPopOverModule,
|
|
52655
53435
|
NovoDragulaModule,
|
|
52656
53436
|
IMaskDirectiveModule,
|
|
52657
53437
|
TextMaskModule,
|
|
@@ -55525,401 +56305,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
55525
56305
|
}]
|
|
55526
56306
|
}] });
|
|
55527
56307
|
|
|
55528
|
-
class PopOverContent {
|
|
55529
|
-
constructor(element, cdr) {
|
|
55530
|
-
this.element = element;
|
|
55531
|
-
this.cdr = cdr;
|
|
55532
|
-
this.placement = 'top';
|
|
55533
|
-
this.animation = true;
|
|
55534
|
-
this.onCloseFromOutside = new EventEmitter();
|
|
55535
|
-
this.top = -10000;
|
|
55536
|
-
this.left = -10000;
|
|
55537
|
-
this.displayType = 'none';
|
|
55538
|
-
this.isHidden = false;
|
|
55539
|
-
}
|
|
55540
|
-
ngAfterViewInit() {
|
|
55541
|
-
this.show();
|
|
55542
|
-
this.cdr.detectChanges();
|
|
55543
|
-
}
|
|
55544
|
-
toggle() {
|
|
55545
|
-
if (this.isHidden) {
|
|
55546
|
-
this.show();
|
|
55547
|
-
}
|
|
55548
|
-
else {
|
|
55549
|
-
this.hide();
|
|
55550
|
-
}
|
|
55551
|
-
}
|
|
55552
|
-
show() {
|
|
55553
|
-
if (!this.popover || !this.popover.getElement()) {
|
|
55554
|
-
return;
|
|
55555
|
-
}
|
|
55556
|
-
const p = this.positionElements(this.popover.getElement(), this.popoverDiv.nativeElement, this.placement);
|
|
55557
|
-
this.displayType = 'block';
|
|
55558
|
-
this.top = p.top;
|
|
55559
|
-
this.left = p.left;
|
|
55560
|
-
this.isHidden = false;
|
|
55561
|
-
}
|
|
55562
|
-
hide() {
|
|
55563
|
-
this.top = -10000;
|
|
55564
|
-
this.left = -10000;
|
|
55565
|
-
this.isHidden = true;
|
|
55566
|
-
this.popover.hide();
|
|
55567
|
-
}
|
|
55568
|
-
hideFromPopover() {
|
|
55569
|
-
this.top = -10000;
|
|
55570
|
-
this.left = -10000;
|
|
55571
|
-
}
|
|
55572
|
-
positionElements(hostEl, targetEl, positionStr, appendToBody = false) {
|
|
55573
|
-
const positionStrParts = positionStr.split('-');
|
|
55574
|
-
const mainSide = (this.effectivePlacement = this.getEffectivePlacement(positionStrParts[0] || 'right', hostEl, targetEl));
|
|
55575
|
-
const orientation = (this.effectiveAlignment = positionStrParts[1] || 'center');
|
|
55576
|
-
const hostElPos = appendToBody ? this.offset(hostEl) : this.position(hostEl);
|
|
55577
|
-
const targetElWidth = targetEl.offsetWidth;
|
|
55578
|
-
const targetElHeight = targetEl.offsetHeight;
|
|
55579
|
-
const shiftWidth = {
|
|
55580
|
-
center() {
|
|
55581
|
-
return hostElPos.left + (hostElPos.width - targetElWidth) / 2;
|
|
55582
|
-
},
|
|
55583
|
-
right() {
|
|
55584
|
-
return hostElPos.left;
|
|
55585
|
-
},
|
|
55586
|
-
left() {
|
|
55587
|
-
return hostElPos.left + (hostElPos.width - targetElWidth);
|
|
55588
|
-
},
|
|
55589
|
-
};
|
|
55590
|
-
const shiftHeight = {
|
|
55591
|
-
center() {
|
|
55592
|
-
return hostElPos.top + (hostElPos.height - targetElHeight) / 2;
|
|
55593
|
-
},
|
|
55594
|
-
bottom() {
|
|
55595
|
-
return hostElPos.top;
|
|
55596
|
-
},
|
|
55597
|
-
top() {
|
|
55598
|
-
return hostElPos.top + (hostElPos.height - targetElHeight);
|
|
55599
|
-
},
|
|
55600
|
-
};
|
|
55601
|
-
let targetElPos;
|
|
55602
|
-
switch (mainSide) {
|
|
55603
|
-
case 'right':
|
|
55604
|
-
targetElPos = {
|
|
55605
|
-
top: shiftHeight[orientation](),
|
|
55606
|
-
left: hostElPos.left + hostElPos.width,
|
|
55607
|
-
};
|
|
55608
|
-
break;
|
|
55609
|
-
case 'left':
|
|
55610
|
-
targetElPos = {
|
|
55611
|
-
top: shiftHeight[orientation](),
|
|
55612
|
-
left: hostElPos.left - targetElWidth,
|
|
55613
|
-
};
|
|
55614
|
-
break;
|
|
55615
|
-
case 'bottom':
|
|
55616
|
-
targetElPos = {
|
|
55617
|
-
top: hostElPos.top + hostElPos.height,
|
|
55618
|
-
left: shiftWidth[orientation](),
|
|
55619
|
-
};
|
|
55620
|
-
break;
|
|
55621
|
-
default:
|
|
55622
|
-
targetElPos = {
|
|
55623
|
-
top: hostElPos.top - targetElHeight,
|
|
55624
|
-
left: shiftWidth[orientation](),
|
|
55625
|
-
};
|
|
55626
|
-
break;
|
|
55627
|
-
}
|
|
55628
|
-
return targetElPos;
|
|
55629
|
-
}
|
|
55630
|
-
position(nativeEl) {
|
|
55631
|
-
let offsetParentBCR = { top: 0, left: 0 };
|
|
55632
|
-
const elBCR = this.offset(nativeEl);
|
|
55633
|
-
const offsetParentEl = this.parentOffsetEl(nativeEl);
|
|
55634
|
-
if (offsetParentEl !== window.document) {
|
|
55635
|
-
offsetParentBCR = this.offset(offsetParentEl);
|
|
55636
|
-
offsetParentBCR.top += offsetParentEl.clientTop - offsetParentEl.scrollTop;
|
|
55637
|
-
offsetParentBCR.left += offsetParentEl.clientLeft - offsetParentEl.scrollLeft;
|
|
55638
|
-
}
|
|
55639
|
-
const boundingClientRect = nativeEl.getBoundingClientRect();
|
|
55640
|
-
return {
|
|
55641
|
-
width: boundingClientRect.width || nativeEl.offsetWidth,
|
|
55642
|
-
height: boundingClientRect.height || nativeEl.offsetHeight,
|
|
55643
|
-
top: elBCR.top - offsetParentBCR.top,
|
|
55644
|
-
left: elBCR.left - offsetParentBCR.left,
|
|
55645
|
-
};
|
|
55646
|
-
}
|
|
55647
|
-
offset(nativeEl) {
|
|
55648
|
-
const boundingClientRect = nativeEl.getBoundingClientRect();
|
|
55649
|
-
return {
|
|
55650
|
-
width: boundingClientRect.width || nativeEl.offsetWidth,
|
|
55651
|
-
height: boundingClientRect.height || nativeEl.offsetHeight,
|
|
55652
|
-
top: boundingClientRect.top + (window.pageYOffset || window.document.documentElement.scrollTop),
|
|
55653
|
-
left: boundingClientRect.left + (window.pageXOffset || window.document.documentElement.scrollLeft),
|
|
55654
|
-
};
|
|
55655
|
-
}
|
|
55656
|
-
getStyle(nativeEl, cssProp) {
|
|
55657
|
-
if (nativeEl.currentStyle) {
|
|
55658
|
-
return nativeEl.currentStyle[cssProp];
|
|
55659
|
-
}
|
|
55660
|
-
if (window.getComputedStyle) {
|
|
55661
|
-
return window.getComputedStyle(nativeEl)[cssProp];
|
|
55662
|
-
}
|
|
55663
|
-
return nativeEl.style[cssProp];
|
|
55664
|
-
}
|
|
55665
|
-
isStaticPositioned(nativeEl) {
|
|
55666
|
-
return (this.getStyle(nativeEl, 'position') || 'static') === 'static';
|
|
55667
|
-
}
|
|
55668
|
-
parentOffsetEl(nativeEl) {
|
|
55669
|
-
let offsetParent = nativeEl.offsetParent || window.document;
|
|
55670
|
-
while (offsetParent && offsetParent !== window.document && this.isStaticPositioned(offsetParent)) {
|
|
55671
|
-
offsetParent = offsetParent.offsetParent;
|
|
55672
|
-
}
|
|
55673
|
-
return offsetParent || window.document;
|
|
55674
|
-
}
|
|
55675
|
-
getEffectivePlacement(desiredPlacement, hostElement, targetElement) {
|
|
55676
|
-
const hostElBoundingRect = hostElement.getBoundingClientRect();
|
|
55677
|
-
if (desiredPlacement === 'top' && hostElBoundingRect.top - targetElement.offsetHeight < 0) {
|
|
55678
|
-
return 'bottom';
|
|
55679
|
-
}
|
|
55680
|
-
if (desiredPlacement === 'bottom' && hostElBoundingRect.bottom + targetElement.offsetHeight > window.innerHeight) {
|
|
55681
|
-
return 'top';
|
|
55682
|
-
}
|
|
55683
|
-
if (desiredPlacement === 'left' && hostElBoundingRect.left - targetElement.offsetWidth < 0) {
|
|
55684
|
-
return 'right';
|
|
55685
|
-
}
|
|
55686
|
-
if (desiredPlacement === 'right' && hostElBoundingRect.right + targetElement.offsetWidth > window.innerWidth) {
|
|
55687
|
-
return 'left';
|
|
55688
|
-
}
|
|
55689
|
-
return desiredPlacement;
|
|
55690
|
-
}
|
|
55691
|
-
}
|
|
55692
|
-
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 });
|
|
55693
|
-
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: `
|
|
55694
|
-
<div
|
|
55695
|
-
#popoverDiv
|
|
55696
|
-
class="popover {{ effectivePlacement }}"
|
|
55697
|
-
[style.top]="top + 'px'"
|
|
55698
|
-
[style.left]="left + 'px'"
|
|
55699
|
-
[class.fade]="animation"
|
|
55700
|
-
style="display: block"
|
|
55701
|
-
role="popover"
|
|
55702
|
-
>
|
|
55703
|
-
<div class="arrow {{ effectiveAlignment }}"></div>
|
|
55704
|
-
<div class="popover-title" [hidden]="!title">{{ title }}</div>
|
|
55705
|
-
<div class="popover-content">
|
|
55706
|
-
<ng-content></ng-content>
|
|
55707
|
-
<div class="popover-content-text">{{ content }}</div>
|
|
55708
|
-
</div>
|
|
55709
|
-
</div>
|
|
55710
|
-
`, isInline: true });
|
|
55711
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopOverContent, decorators: [{
|
|
55712
|
-
type: Component,
|
|
55713
|
-
args: [{
|
|
55714
|
-
selector: 'popover-content',
|
|
55715
|
-
template: `
|
|
55716
|
-
<div
|
|
55717
|
-
#popoverDiv
|
|
55718
|
-
class="popover {{ effectivePlacement }}"
|
|
55719
|
-
[style.top]="top + 'px'"
|
|
55720
|
-
[style.left]="left + 'px'"
|
|
55721
|
-
[class.fade]="animation"
|
|
55722
|
-
style="display: block"
|
|
55723
|
-
role="popover"
|
|
55724
|
-
>
|
|
55725
|
-
<div class="arrow {{ effectiveAlignment }}"></div>
|
|
55726
|
-
<div class="popover-title" [hidden]="!title">{{ title }}</div>
|
|
55727
|
-
<div class="popover-content">
|
|
55728
|
-
<ng-content></ng-content>
|
|
55729
|
-
<div class="popover-content-text">{{ content }}</div>
|
|
55730
|
-
</div>
|
|
55731
|
-
</div>
|
|
55732
|
-
`,
|
|
55733
|
-
}]
|
|
55734
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { content: [{
|
|
55735
|
-
type: Input
|
|
55736
|
-
}], placement: [{
|
|
55737
|
-
type: Input
|
|
55738
|
-
}], title: [{
|
|
55739
|
-
type: Input
|
|
55740
|
-
}], animation: [{
|
|
55741
|
-
type: Input
|
|
55742
|
-
}], popoverDiv: [{
|
|
55743
|
-
type: ViewChild,
|
|
55744
|
-
args: ['popoverDiv']
|
|
55745
|
-
}] } });
|
|
55746
|
-
|
|
55747
|
-
// NG2
|
|
55748
|
-
class PopOverDirective {
|
|
55749
|
-
constructor(viewContainerRef, resolver) {
|
|
55750
|
-
this.viewContainerRef = viewContainerRef;
|
|
55751
|
-
this.resolver = resolver;
|
|
55752
|
-
this.PopoverComponent = PopOverContent;
|
|
55753
|
-
this.popoverOnHover = false;
|
|
55754
|
-
this.popoverDismissTimeout = 0;
|
|
55755
|
-
this.onShown = new EventEmitter();
|
|
55756
|
-
this.onHidden = new EventEmitter();
|
|
55757
|
-
}
|
|
55758
|
-
// ---------------------------------------------------
|
|
55759
|
-
// Event listeners
|
|
55760
|
-
// ---------------------------------------------------
|
|
55761
|
-
showOrHideOnClick() {
|
|
55762
|
-
if (this.popoverOnHover || this.popoverDisabled) {
|
|
55763
|
-
return;
|
|
55764
|
-
}
|
|
55765
|
-
this.toggle();
|
|
55766
|
-
}
|
|
55767
|
-
showOnHover() {
|
|
55768
|
-
if (!this.popoverOnHover || this.popoverDisabled) {
|
|
55769
|
-
return;
|
|
55770
|
-
}
|
|
55771
|
-
this.show();
|
|
55772
|
-
}
|
|
55773
|
-
hideOnHover() {
|
|
55774
|
-
if (!this.popoverOnHover || this.popoverDisabled) {
|
|
55775
|
-
return;
|
|
55776
|
-
}
|
|
55777
|
-
this.hide();
|
|
55778
|
-
}
|
|
55779
|
-
ngOnChanges(changes) {
|
|
55780
|
-
if (changes.popoverDisabled) {
|
|
55781
|
-
if (changes.popoverDisabled.currentValue) {
|
|
55782
|
-
this.hide();
|
|
55783
|
-
}
|
|
55784
|
-
}
|
|
55785
|
-
if (changes.popoverAlways) {
|
|
55786
|
-
if (changes.popoverAlways.currentValue) {
|
|
55787
|
-
this.show();
|
|
55788
|
-
}
|
|
55789
|
-
}
|
|
55790
|
-
}
|
|
55791
|
-
toggle() {
|
|
55792
|
-
if (!this.visible) {
|
|
55793
|
-
this.show();
|
|
55794
|
-
}
|
|
55795
|
-
else {
|
|
55796
|
-
this.hide();
|
|
55797
|
-
}
|
|
55798
|
-
}
|
|
55799
|
-
show() {
|
|
55800
|
-
if (this.visible) {
|
|
55801
|
-
return;
|
|
55802
|
-
}
|
|
55803
|
-
this.visible = true;
|
|
55804
|
-
if (typeof this.content === 'string') {
|
|
55805
|
-
const factory = this.resolver.resolveComponentFactory(this.PopoverComponent);
|
|
55806
|
-
if (!this.visible) {
|
|
55807
|
-
return;
|
|
55808
|
-
}
|
|
55809
|
-
this.popover = this.viewContainerRef.createComponent(factory);
|
|
55810
|
-
const popover = this.popover.instance;
|
|
55811
|
-
popover.popover = this;
|
|
55812
|
-
popover.content = this.content;
|
|
55813
|
-
if (this.popoverPlacement !== undefined) {
|
|
55814
|
-
popover.placement = this.popoverPlacement;
|
|
55815
|
-
}
|
|
55816
|
-
if (this.popoverAnimation !== undefined) {
|
|
55817
|
-
popover.animation = this.popoverAnimation;
|
|
55818
|
-
}
|
|
55819
|
-
if (this.popoverTitle !== undefined) {
|
|
55820
|
-
popover.title = this.popoverTitle;
|
|
55821
|
-
}
|
|
55822
|
-
popover.onCloseFromOutside.subscribe(() => this.hide());
|
|
55823
|
-
if (this.popoverDismissTimeout > 0) {
|
|
55824
|
-
setTimeout(() => this.hide(), this.popoverDismissTimeout);
|
|
55825
|
-
}
|
|
55826
|
-
}
|
|
55827
|
-
else {
|
|
55828
|
-
const popover = this.content;
|
|
55829
|
-
popover.popover = this;
|
|
55830
|
-
if (this.popoverPlacement !== undefined) {
|
|
55831
|
-
popover.placement = this.popoverPlacement;
|
|
55832
|
-
}
|
|
55833
|
-
if (this.popoverAnimation !== undefined) {
|
|
55834
|
-
popover.animation = this.popoverAnimation;
|
|
55835
|
-
}
|
|
55836
|
-
if (this.popoverTitle !== undefined) {
|
|
55837
|
-
popover.title = this.popoverTitle;
|
|
55838
|
-
}
|
|
55839
|
-
popover.onCloseFromOutside.subscribe(() => this.hide());
|
|
55840
|
-
if (this.popoverDismissTimeout > 0) {
|
|
55841
|
-
setTimeout(() => this.hide(), this.popoverDismissTimeout);
|
|
55842
|
-
}
|
|
55843
|
-
popover.show();
|
|
55844
|
-
}
|
|
55845
|
-
this.onShown.emit(this);
|
|
55846
|
-
}
|
|
55847
|
-
hide() {
|
|
55848
|
-
if (!this.visible) {
|
|
55849
|
-
return;
|
|
55850
|
-
}
|
|
55851
|
-
this.visible = false;
|
|
55852
|
-
if (this.popover) {
|
|
55853
|
-
this.popover.destroy();
|
|
55854
|
-
}
|
|
55855
|
-
if (this.content instanceof PopOverContent) {
|
|
55856
|
-
this.content.hideFromPopover();
|
|
55857
|
-
}
|
|
55858
|
-
this.onHidden.emit(this);
|
|
55859
|
-
}
|
|
55860
|
-
getElement() {
|
|
55861
|
-
return this.viewContainerRef.element.nativeElement;
|
|
55862
|
-
}
|
|
55863
|
-
}
|
|
55864
|
-
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 });
|
|
55865
|
-
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 });
|
|
55866
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopOverDirective, decorators: [{
|
|
55867
|
-
type: Directive,
|
|
55868
|
-
args: [{
|
|
55869
|
-
selector: '[popover]',
|
|
55870
|
-
}]
|
|
55871
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { content: [{
|
|
55872
|
-
type: Input,
|
|
55873
|
-
args: ['popover']
|
|
55874
|
-
}], popoverDisabled: [{
|
|
55875
|
-
type: Input
|
|
55876
|
-
}], popoverAlways: [{
|
|
55877
|
-
type: Input
|
|
55878
|
-
}], popoverAnimation: [{
|
|
55879
|
-
type: Input
|
|
55880
|
-
}], popoverPlacement: [{
|
|
55881
|
-
type: Input
|
|
55882
|
-
}], popoverTitle: [{
|
|
55883
|
-
type: Input
|
|
55884
|
-
}], popoverOnHover: [{
|
|
55885
|
-
type: Input
|
|
55886
|
-
}], popoverDismissTimeout: [{
|
|
55887
|
-
type: Input
|
|
55888
|
-
}], onShown: [{
|
|
55889
|
-
type: Output
|
|
55890
|
-
}], onHidden: [{
|
|
55891
|
-
type: Output
|
|
55892
|
-
}], showOrHideOnClick: [{
|
|
55893
|
-
type: HostListener,
|
|
55894
|
-
args: ['click']
|
|
55895
|
-
}], showOnHover: [{
|
|
55896
|
-
type: HostListener,
|
|
55897
|
-
args: ['focusin']
|
|
55898
|
-
}, {
|
|
55899
|
-
type: HostListener,
|
|
55900
|
-
args: ['mouseenter']
|
|
55901
|
-
}], hideOnHover: [{
|
|
55902
|
-
type: HostListener,
|
|
55903
|
-
args: ['focusout']
|
|
55904
|
-
}, {
|
|
55905
|
-
type: HostListener,
|
|
55906
|
-
args: ['mouseleave']
|
|
55907
|
-
}] } });
|
|
55908
|
-
|
|
55909
|
-
// NG2
|
|
55910
|
-
class NovoPopOverModule {
|
|
55911
|
-
}
|
|
55912
|
-
NovoPopOverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NovoPopOverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
55913
|
-
NovoPopOverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NovoPopOverModule, declarations: [PopOverContent, PopOverDirective], exports: [PopOverContent, PopOverDirective] });
|
|
55914
|
-
NovoPopOverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NovoPopOverModule });
|
|
55915
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NovoPopOverModule, decorators: [{
|
|
55916
|
-
type: NgModule,
|
|
55917
|
-
args: [{
|
|
55918
|
-
declarations: [PopOverContent, PopOverDirective],
|
|
55919
|
-
exports: [PopOverContent, PopOverDirective],
|
|
55920
|
-
}]
|
|
55921
|
-
}] });
|
|
55922
|
-
|
|
55923
56308
|
var ProgressAppearance;
|
|
55924
56309
|
(function (ProgressAppearance) {
|
|
55925
56310
|
ProgressAppearance["LINEAR"] = "linear";
|