Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@acpaas-ui/ngx-embeddable-widgets

Package Overview
Dependencies
Maintainers
9
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acpaas-ui/ngx-embeddable-widgets - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

bundles/acpaas-ui-ngx-embeddable-widgets.umd.js

@@ -176,3 +176,3 @@ (function (global, factory) {

var getParamTypesAndParameters = function () {
var paramTypes = Reflect.getMetadata('design:paramtypes', target);
var paramTypes = Reflect.getMetadata('design:paramtypes', target) || [];
var rawParameters = Reflect.getMetadata('parameters', target);

@@ -179,0 +179,0 @@ var parameters = Array(paramTypes.length).fill(null);

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common"),require("@acpaas-ui/embeddable-widgets"),require("reflect-metadata")):"function"==typeof define&&define.amd?define("@acpaas-ui/ngx-embeddable-widgets",["exports","@angular/core","@angular/common","@acpaas-ui/embeddable-widgets","reflect-metadata"],t):t(((e=e||self)["acpaas-ui"]=e["acpaas-ui"]||{},e["acpaas-ui"]["ngx-embeddable-widgets"]={}),e.ng.core,e.ng.common,e.auiEmbeddableWidgets)}(this,function(e,t,n,r){"use strict";var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function a(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i["return"])&&n.call(i)}finally{if(o)throw o.error}}return a}var d=function(){function e(e,t,n){this.hostRef=e,this.zone=t,this.cd=n}return e.prototype.ngAfterViewInit=function(){var e=this;this.zone.runOutsideAngular(function(){var t={};return Object.entries(e.props).forEach(function(n){var r=u(n,2),o=r[0],i=r[1];t[o]=e.zonify(i)}),e.getLibrary().renderUrl(e.widgetUrl,t,e.hostRef.nativeElement,e.overrides)})["catch"](function(e){return console.error(e)})},e.prototype.zonify=function(e){var t=this.zone;return"function"==typeof e?function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return t.run(e,this,n)}:e},e.prototype.getLibrary=function(){return this.useGlobalLibrary&&window.auiEmbeddableWidgets?window.auiEmbeddableWidgets:r},i([t.Input(),a("design:type",String)],e.prototype,"widgetUrl",void 0),i([t.Input(),a("design:type",Boolean)],e.prototype,"useGlobalLibrary",void 0),i([t.Input(),a("design:type",Object)],e.prototype,"overrides",void 0),i([t.Input(),a("design:type",Object)],e.prototype,"props",void 0),e=i([t.Component({selector:"aui-embeddable-widget",template:"",styles:[":host{display:block;position:relative}"]}),a("design:paramtypes",[t.ElementRef,t.NgZone,t.ChangeDetectorRef])],e)}();var c=function(){function e(){}return e=i([t.NgModule({imports:[n.CommonModule],exports:[d],declarations:[d],providers:[]})],e)}();e.EmbeddableWidget=function(e,t){void 0===t&&(t=!1);var n=function(){return t&&window.auiEmbeddableWidgets?window.auiEmbeddableWidgets:r};return function(t){var r,i,a,d=null,c=!1,f=function(){c||d&&d.auiOnWidgetInit&&(c=!0,d.auiOnWidgetInit(window.xprops))},l=function(t){function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=t.apply(this,function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(u(arguments[t]));return e}(r))||this;return d=i,n().load(e).then(f),i}return function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(r,t),r}(t),p=u((r=Reflect.getMetadata("design:paramtypes",t),i=Reflect.getMetadata("parameters",t),a=Array(r.length).fill(null),i&&i.slice(0,r.length).forEach(function(e,t){a[t]=e}),[r,a]),2),s=p[0],g=p[1];return Reflect.defineMetadata("design:paramtypes",s,l),Reflect.defineMetadata("parameters",g,l),Reflect.defineMetadata("parentParameters",g,l),l}},e.EmbeddableWidgetsModule=c,e.ɵa=d,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common"),require("@acpaas-ui/embeddable-widgets"),require("reflect-metadata")):"function"==typeof define&&define.amd?define("@acpaas-ui/ngx-embeddable-widgets",["exports","@angular/core","@angular/common","@acpaas-ui/embeddable-widgets","reflect-metadata"],t):t(((e=e||self)["acpaas-ui"]=e["acpaas-ui"]||{},e["acpaas-ui"]["ngx-embeddable-widgets"]={}),e.ng.core,e.ng.common,e.auiEmbeddableWidgets)}(this,function(e,t,n,r){"use strict";var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function a(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i["return"])&&n.call(i)}finally{if(o)throw o.error}}return a}var d=function(){function e(e,t,n){this.hostRef=e,this.zone=t,this.cd=n}return e.prototype.ngAfterViewInit=function(){var e=this;this.zone.runOutsideAngular(function(){var t={};return Object.entries(e.props).forEach(function(n){var r=u(n,2),o=r[0],i=r[1];t[o]=e.zonify(i)}),e.getLibrary().renderUrl(e.widgetUrl,t,e.hostRef.nativeElement,e.overrides)})["catch"](function(e){return console.error(e)})},e.prototype.zonify=function(e){var t=this.zone;return"function"==typeof e?function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return t.run(e,this,n)}:e},e.prototype.getLibrary=function(){return this.useGlobalLibrary&&window.auiEmbeddableWidgets?window.auiEmbeddableWidgets:r},i([t.Input(),a("design:type",String)],e.prototype,"widgetUrl",void 0),i([t.Input(),a("design:type",Boolean)],e.prototype,"useGlobalLibrary",void 0),i([t.Input(),a("design:type",Object)],e.prototype,"overrides",void 0),i([t.Input(),a("design:type",Object)],e.prototype,"props",void 0),e=i([t.Component({selector:"aui-embeddable-widget",template:"",styles:[":host{display:block;position:relative}"]}),a("design:paramtypes",[t.ElementRef,t.NgZone,t.ChangeDetectorRef])],e)}();var c=function(){function e(){}return e=i([t.NgModule({imports:[n.CommonModule],exports:[d],declarations:[d],providers:[]})],e)}();e.EmbeddableWidget=function(e,t){void 0===t&&(t=!1);var n=function(){return t&&window.auiEmbeddableWidgets?window.auiEmbeddableWidgets:r};return function(t){var r,i,a,d=null,c=!1,f=function(){c||d&&d.auiOnWidgetInit&&(c=!0,d.auiOnWidgetInit(window.xprops))},l=function(t){function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=t.apply(this,function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(u(arguments[t]));return e}(r))||this;return d=i,n().load(e).then(f),i}return function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(r,t),r}(t),p=u((r=Reflect.getMetadata("design:paramtypes",t)||[],i=Reflect.getMetadata("parameters",t),a=Array(r.length).fill(null),i&&i.slice(0,r.length).forEach(function(e,t){a[t]=e}),[r,a]),2),s=p[0],g=p[1];return Reflect.defineMetadata("design:paramtypes",s,l),Reflect.defineMetadata("parameters",g,l),Reflect.defineMetadata("parentParameters",g,l),l}},e.EmbeddableWidgetsModule=c,e.ɵa=d,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=acpaas-ui-ngx-embeddable-widgets.umd.min.js.map

@@ -35,3 +35,3 @@ import * as builtinLibrary from '@acpaas-ui/embeddable-widgets';

const getParamTypesAndParameters = () => {
const paramTypes = Reflect.getMetadata('design:paramtypes', target);
const paramTypes = Reflect.getMetadata('design:paramtypes', target) || [];
const rawParameters = Reflect.getMetadata('parameters', target);

@@ -64,2 +64,2 @@ const parameters = Array(paramTypes.length).fill(null);

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LmRlY29yYXRvci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhY3BhYXMtdWkvbmd4LWVtYmVkZGFibGUtd2lkZ2V0cy8iLCJzb3VyY2VzIjpbIndpZGdldC5kZWNvcmF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLGNBQWMsTUFBTSwrQkFBK0IsQ0FBQztBQUNoRSxPQUFPLGtCQUFrQixDQUFDO0FBTTFCOzs7Ozs7O0dBT0c7QUFDSCxNQUFNLDJCQUNGLFNBQWlCLEVBQUUsbUJBQTRCLEtBQUs7SUFFdEQsK0JBQStCO0lBQy9CLGlGQUFpRjtJQUNqRiw2Q0FBNkM7SUFFN0MsTUFBTSxVQUFVLEdBQVEsR0FBRyxFQUFFO1FBQzNCLElBQUksZ0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WRhdGEoJ2Rlc2lnbjpwYXJhbXR5cGVzJywgcGFyZW50UGFyYW1UeXBlcywgV2lkZ2V0KTtcbiAgICBSZWZsZWN0LmRlZmluZU1ldGFkYXRhKCdwYXJhbWV0ZXJzJywgcGFyZW50UGFyYW1ldGVycywgV2lkZ2V0KTtcbiAgICBSZWZsZWN0LmRlZmluZU1ldGFkYXRhKCdwYXJlbnRQYXJhbWV0ZXJzJywgcGFyZW50UGFyYW1ldGVycywgV2lkZ2V0KTtcblxuICAgIHJldHVybiBXaWRnZXQ7XG4gIH07XG5cbn1cbiJdfQ==

@@ -37,3 +37,3 @@ import * as tslib_1 from "tslib";

var getParamTypesAndParameters = function () {
var paramTypes = Reflect.getMetadata('design:paramtypes', target);
var paramTypes = Reflect.getMetadata('design:paramtypes', target) || [];
var rawParameters = Reflect.getMetadata('parameters', target);

@@ -73,2 +73,2 @@ var parameters = Array(paramTypes.length).fill(null);

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LmRlY29yYXRvci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhY3BhYXMtdWkvbmd4LWVtYmVkZGFibGUtd2lkZ2V0cy8iLCJzb3VyY2VzIjpbIndpZGdldC5kZWNvcmF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sS0FBSyxjQUFjLE1BQU0sK0JBQStCLENBQUM7QUFDaEUsT0FBTyxrQkFBa0IsQ0FBQztBQU0xQjs7Ozs7OztHQU9HO0FBQ0gsTUFBTSwyQkFDRixTQUFpQixFQUFFLGdCQUFpQztJQUV0RCwrQkFBK0I7SUFDL0IsaUZBQWlGO0lBQ2pGLDZDQUE2QztJQUp4QixpQ0FBQSxFQUFBLHdCQUFpQztJQU10RCxJQUFNLFVBQVUsR0FBUTtRQUN0QixJQUFJLGdCQUFnQixJQUFJLE1BQU0sQ0FBQyxzQkFBc0IsQ0FBQyxFQUFFO1lBQ3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GFyYW10eXBlcycsIHBhcmVudFBhcmFtVHlwZXMsIFdpZGdldCk7XG4gICAgUmVmbGVjdC5kZWZpbmVNZXRhZGF0YSgncGFyYW1ldGVycycsIHBhcmVudFBhcmFtZXRlcnMsIFdpZGdldCk7XG4gICAgUmVmbGVjdC5kZWZpbmVNZXRhZGF0YSgncGFyZW50UGFyYW1ldGVycycsIHBhcmVudFBhcmFtZXRlcnMsIFdpZGdldCk7XG5cbiAgICByZXR1cm4gV2lkZ2V0O1xuICB9O1xuXG59XG4iXX0=

@@ -105,3 +105,3 @@ import { __decorate, __metadata } from 'tslib';

const getParamTypesAndParameters = () => {
const paramTypes = Reflect.getMetadata('design:paramtypes', target);
const paramTypes = Reflect.getMetadata('design:paramtypes', target) || [];
const rawParameters = Reflect.getMetadata('parameters', target);

@@ -108,0 +108,0 @@ const parameters = Array(paramTypes.length).fill(null);

@@ -113,3 +113,3 @@ import { __read, __decorate, __metadata, __extends, __spread } from 'tslib';

var getParamTypesAndParameters = function () {
var paramTypes = Reflect.getMetadata('design:paramtypes', target);
var paramTypes = Reflect.getMetadata('design:paramtypes', target) || [];
var rawParameters = Reflect.getMetadata('parameters', target);

@@ -116,0 +116,0 @@ var parameters = Array(paramTypes.length).fill(null);

@@ -8,3 +8,3 @@ {

},
"version": "1.0.2",
"version": "1.0.3",
"license": "MIT",

@@ -11,0 +11,0 @@ "main": "bundles/acpaas-ui-ngx-embeddable-widgets.umd.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc