@ngneat/helipopper
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -465,6 +465,6 @@ (function (global, factory) { | ||
} }, onlyTippyProps(this.globalConfig)), this.globalConfig.variations[options.variation || this.globalConfig.defaultVariation]), onlyTippyProps(options)), { onCreate: function (instance) { | ||
var _a, _b; | ||
var _a, _b, _c; | ||
options.className && instance.popper.classList.add(options.className); | ||
(_b = (_a = _this.globalConfig).onCreate) === null || _b === void 0 ? void 0 : _b.call(_a, instance); | ||
options === null || options === void 0 ? void 0 : options.onCreate(instance); | ||
(_c = options.onCreate) === null || _c === void 0 ? void 0 : _c.call(options, instance); | ||
} }); | ||
@@ -471,0 +471,0 @@ return tippy__default['default'](host, config); |
@@ -41,6 +41,6 @@ import { Inject, Injectable, Injector } from '@angular/core'; | ||
} }, onlyTippyProps(this.globalConfig)), this.globalConfig.variations[options.variation || this.globalConfig.defaultVariation]), onlyTippyProps(options)), { onCreate: instance => { | ||
var _a, _b; | ||
var _a, _b, _c; | ||
options.className && instance.popper.classList.add(options.className); | ||
(_b = (_a = this.globalConfig).onCreate) === null || _b === void 0 ? void 0 : _b.call(_a, instance); | ||
options === null || options === void 0 ? void 0 : options.onCreate(instance); | ||
(_c = options.onCreate) === null || _c === void 0 ? void 0 : _c.call(options, instance); | ||
} }); | ||
@@ -59,2 +59,2 @@ return tippy(host, config); | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGlwcHkuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nbmVhdC9oZWxpcG9wcGVyL3NyYy9saWIvdGlwcHkuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDN0QsT0FBTyxLQUFLLE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WNlIHtcbiAgY29uc3RydWN0b3IoXG4gICAgQEluamVjdChUSVBQWV9DT05GSUcpIHByaXZhdGUgZ2xvYmFsQ29uZmlnOiBUaXBweUNvbmZpZyxcbiAgICBwcml2YXRlIHZpZXc6IFZpZXdTZXJ2aWNlLFxuICAgIHByaXZhdGUgaW5qZWN0b3I6IEluamVjdG9yXG4gICkge31cblxuICBjcmVhdGUoaG9zdDogRWxlbWVudCwgY29udGVudDogQ29udGVudCwgb3B0aW9uczogUGFydGlhbDxDcmVhdGVPcHRpb25zPiA9IHt9KTogVGlwcHlJbnN0YW5jZSB7XG4gICAgY29uc3QgY29uZmlnID0ge1xuICAgICAgb25TaG93OiBpbnN0YW5jZSA9PiB7XG4gICAgICAgIGlmICghaW5zdGFuY2UuJHZpZXdPcHRpb25zKSB7XG4gICAgICAgICAgaW5zdGFuY2UuJHZpZXdPcHRpb25zID0ge307XG5cbiAgICAgICAgICBpZiAoaXNUZW1wbGF0ZVJlZihjb250ZW50KSkge1xuICAgICAgICAgICAgaW5zdGFuY2UuJHZpZXdPcHRpb25zLmNvbnRleHQgPSB7XG4gICAgICAgICAgICAgICRpbXBsaWNpdDogaW5zdGFuY2UuaGlkZS5iaW5kKGluc3RhbmNlKVxuICAgICAgICAgICAgfTtcbiAgICAgICAgICB9IGVsc2UgaWYgKGlzQ29tcG9uZW50KGNvbnRlbnQpKSB7XG4gICAgICAgICAgICBpbnN0YW5jZS4kdmlld09wdGlvbnMuaW5qZWN0b3IgPSBJbmplY3Rvci5jcmVhdGUoe1xuICAgICAgICAgICAgICBwcm92aWRlcnM6IFt7IHByb3ZpZGU6IFRJUFBZX1JFRiwgdXNlVmFsdWU6IGluc3RhbmNlIH1dLFxuICAgICAgICAgICAgICBwYXJlbnQ6IG9wdGlvbnMuaW5qZWN0b3IgfHwgdGhpcy5pbmplY3RvclxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIGluc3RhbmNlLnZpZXcgPSB0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b2JhbENvbmZpZy5vbkNyZWF0ZT8uKGluc3RhbmNlKTtcbiAgICAgICAgb3B0aW9ucy5vbkNyZWF0ZT8uKGluc3RhbmNlKTtcbiAgICAgIH1cbiAgICB9O1xuXG4gICAgcmV0dXJuIHRpcHB5KGhvc3QsIGNvbmZpZyk7XG4gIH1cbn1cbiJdfQ== |
@@ -426,6 +426,6 @@ import * as i0 from '@angular/core'; | ||
} }, onlyTippyProps(this.globalConfig)), this.globalConfig.variations[options.variation || this.globalConfig.defaultVariation]), onlyTippyProps(options)), { onCreate: instance => { | ||
var _a, _b; | ||
var _a, _b, _c; | ||
options.className && instance.popper.classList.add(options.className); | ||
(_b = (_a = this.globalConfig).onCreate) === null || _b === void 0 ? void 0 : _b.call(_a, instance); | ||
options === null || options === void 0 ? void 0 : options.onCreate(instance); | ||
(_c = options.onCreate) === null || _c === void 0 ? void 0 : _c.call(options, instance); | ||
} }); | ||
@@ -432,0 +432,0 @@ return tippy(host, config); |
{ | ||
"name": "@ngneat/helipopper", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "A Powerful Tooltip and Popover for Angular Applications", | ||
@@ -5,0 +5,0 @@ "schematics": "./schematics/collection.json", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
276100