@leanix/components 0.2.77 → 0.2.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/leanix-components.umd.js +3 -2
- package/bundles/leanix-components.umd.js.map +1 -1
- package/esm2015/lib/core-ui/annotations/required.js +1 -0
- package/esm2015/lib/core-ui/annotations/required.js.map +1 -1
- package/esm2015/lib/core-ui/directives/html.directive.js +0 -1
- package/esm2015/lib/core-ui/directives/html.directive.js.map +1 -1
- package/esm2015/lib/core-ui/pipes/lx-translate.pipe.js.map +1 -1
- package/esm2015/lib/core-ui/tooltip/tooltip.component.js +1 -1
- package/esm2015/lib/shared/observe.js +1 -0
- package/esm2015/lib/shared/observe.js.map +1 -1
- package/fesm2015/leanix-components.js +3 -2
- package/fesm2015/leanix-components.js.map +1 -1
- package/lib/core-ui/pipes/lx-translate.pipe.d.ts +1 -1
- package/package.json +1 -1
@@ -383,7 +383,7 @@
|
|
383
383
|
return TooltipComponent;
|
384
384
|
}());
|
385
385
|
TooltipComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0__namespace, type: TooltipComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
386
|
-
TooltipComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.4", type: TooltipComponent, selector: "lx-tooltip", inputs: { content: "content", isHtmlContent: "isHtmlContent", position: "position" }, ngImport: i0__namespace, template: "<div *ngIf=\"!isHtmlContent; else htmlTooltip\" [ngClass]=\"['x-' + position.x, 'y-' + position.y]\">{{ content }}</div>\n<ng-template #htmlTooltip>\n <div [innerHtml]=\"content\" [ngClass]=\"['x-' + position.x, 'y-' + position.y]\"></div>\n</ng-template>\n", styles: [":host{display:block}div{background-color:#292929;color:#fff;border:0 solid transparent;border-radius:5px;opacity:1;font-size:11px;font-weight:400;text-shadow:0 1px #000;text-align:left;word-wrap:break-word;line-height:16px;max-width:280px;min-width:50px;padding:6px 10px;overflow:hidden}.x-left:after,.x-right:after,.y-bottom:after,.y-top:after{content:\" \";position:absolute;border:5px solid transparent;border-top-color:#292929}.y-top:after{top:100%;margin-left:-5px}.y-bottom:after{top:0;margin-left:-5px;transform-origin:center top;transform:rotate(180deg)}.y-center:after{top:50%;margin-left:-5px;margin-top:-10px}.y-bottom.x-center:after,.y-top.x-center:after{left:50%}.y-bottom.x-left:after,.y-top.x-left:after{right:10px}.y-bottom.x-right:after,.y-top.x-right:after{left:10px}.y-center.x-right:after{left:0;transform-origin:left center;transform:rotate(90deg)}.y-center.x-left:after{left:100%;transform-origin:right center;transform:rotate(-90deg)}"], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
386
|
+
TooltipComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.4", type: TooltipComponent, selector: "lx-tooltip", inputs: { content: "content", isHtmlContent: "isHtmlContent", position: "position" }, ngImport: i0__namespace, template: "<div *ngIf=\"!isHtmlContent; else htmlTooltip\" [ngClass]=\"['x-' + position.x, 'y-' + position.y]\">{{ content }}</div>\n<ng-template #htmlTooltip>\n <div [innerHtml]=\"content\" [ngClass]=\"['x-' + position.x, 'y-' + position.y]\"></div>\n</ng-template>\n", styles: [":host{display:block;position:relative;margin:5px}div{background-color:#292929;color:#fff;border:0 solid transparent;border-radius:5px;opacity:1;font-size:11px;font-weight:400;text-shadow:0 1px #000;text-align:left;word-wrap:break-word;line-height:16px;max-width:280px;min-width:50px;padding:6px 10px;overflow:hidden}.x-left:after,.x-right:after,.y-bottom:after,.y-top:after{content:\" \";position:absolute;border:5px solid transparent;border-top-color:#292929}.y-top:after{top:100%;margin-left:-5px}.y-bottom:after{top:0;margin-left:-5px;transform-origin:center top;transform:rotate(180deg)}.y-center:after{top:50%;margin-left:-5px;margin-top:-10px}.y-bottom.x-center:after,.y-top.x-center:after{left:50%}.y-bottom.x-left:after,.y-top.x-left:after{right:10px}.y-bottom.x-right:after,.y-top.x-right:after{left:10px}.y-center.x-right:after{left:0;transform-origin:left center;transform:rotate(90deg)}.y-center.x-left:after{left:100%;transform-origin:right center;transform:rotate(-90deg)}"], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
387
387
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0__namespace, type: TooltipComponent, decorators: [{
|
388
388
|
type: i0.Component,
|
389
389
|
args: [{
|
@@ -577,7 +577,6 @@
|
|
577
577
|
* Sanitizes the string assigned to [lxHtml] and sets it as the element's innterHtml
|
578
578
|
* routerLink attributes on anchors will automatically be converted to click handlers.
|
579
579
|
*/
|
580
|
-
/* tslint:disable:no-inner-html */
|
581
580
|
var HtmlDirective = /** @class */ (function () {
|
582
581
|
function HtmlDirective(elementRef, sanitizer) {
|
583
582
|
this.elementRef = elementRef;
|
@@ -1992,6 +1991,7 @@
|
|
1992
1991
|
*
|
1993
1992
|
* @see https://stackoverflow.com/questions/35528395/make-directive-input-required
|
1994
1993
|
*/
|
1994
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
1995
1995
|
function Required(target, propertyKey) {
|
1996
1996
|
Object.defineProperty(target, propertyKey, {
|
1997
1997
|
get: function () {
|
@@ -2889,6 +2889,7 @@
|
|
2889
2889
|
* @Observe('foo') foo$: Observable<string>;
|
2890
2890
|
*/
|
2891
2891
|
function Observe(observedKey) {
|
2892
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
2892
2893
|
return function (target, key) {
|
2893
2894
|
var subjects = new WeakMap();
|
2894
2895
|
var getSubject = function (instance) {
|