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

ngx-alert-message

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-alert-message - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

370

bundles/ngx-alert-message.umd.js
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) :
typeof define === 'function' && define.amd ? define('ngx-alert-message', ['exports', '@angular/core'], factory) :
(global = global || self, factory(global['ngx-alert-message'] = {}, global.ng.core));
}(this, (function (exports, core) { 'use strict';
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["ngx-alert-message"] = {}, global.ng.core));
})(this, (function (exports, i0) { 'use strict';
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
/* global Reflect, Promise */
var extendStatics = function(d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
function __extends(d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
}
var __assign = function() {
__assign = Object.assign || function __assign(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
function __rest(s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
}
function __decorate(decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
}
function __param(paramIndex, decorator) {
return function (target, key) { decorator(target, key, paramIndex); }
}
function __metadata(metadataKey, metadataValue) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
}
function __awaiter(thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
}
function __generator(thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
function _interopNamespace(e) {
if (e && e.__esModule) return e;
var n = Object.create(null);
if (e) {
Object.keys(e).forEach(function (k) {
if (k !== 'default') {
var d = Object.getOwnPropertyDescriptor(e, k);
Object.defineProperty(n, k, d.get ? d : {
enumerable: true,
get: function () { return e[k]; }
});
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
});
}
n["default"] = e;
return Object.freeze(n);
}
var __createBinding = Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
});
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
function __exportStar(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
}
function __values(o) {
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
if (m) return m.call(o);
if (o && typeof o.length === "number") return {
next: function () {
if (o && i >= o.length) o = void 0;
return { value: o && o[i++], done: !o };
}
};
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
}
function __read(o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
}
catch (error) { e = { error: error }; }
finally {
try {
if (r && !r.done && (m = i["return"])) m.call(i);
}
finally { if (e) throw e.error; }
}
return ar;
}
function __spread() {
for (var ar = [], i = 0; i < arguments.length; i++)
ar = ar.concat(__read(arguments[i]));
return ar;
}
function __spreadArrays() {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
};
function __await(v) {
return this instanceof __await ? (this.v = v, this) : new __await(v);
}
function __asyncGenerator(thisArg, _arguments, generator) {
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
var g = generator.apply(thisArg, _arguments || []), i, q = [];
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
function fulfill(value) { resume("next", value); }
function reject(value) { resume("throw", value); }
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
}
function __asyncDelegator(o) {
var i, p;
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
}
function __asyncValues(o) {
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
var m = o[Symbol.asyncIterator], i;
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
}
function __makeTemplateObject(cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked;
};
var __setModuleDefault = Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
};
function __importStar(mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
}
function __importDefault(mod) {
return (mod && mod.__esModule) ? mod : { default: mod };
}
function __classPrivateFieldGet(receiver, privateMap) {
if (!privateMap.has(receiver)) {
throw new TypeError("attempted to get private field on non-instance");
}
return privateMap.get(receiver);
}
function __classPrivateFieldSet(receiver, privateMap, value) {
if (!privateMap.has(receiver)) {
throw new TypeError("attempted to set private field on non-instance");
}
privateMap.set(receiver, value);
return value;
}
var NgxAlertMessageService = /** @class */ (function () {
function NgxAlertMessageService() {
}
NgxAlertMessageService.ɵprov = core.ɵɵdefineInjectable({ factory: function NgxAlertMessageService_Factory() { return new NgxAlertMessageService(); }, token: NgxAlertMessageService, providedIn: "root" });
NgxAlertMessageService = __decorate([
core.Injectable({
providedIn: 'root'
})
], NgxAlertMessageService);
return NgxAlertMessageService;
}());
NgxAlertMessageService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function NgxAlertMessageService_Factory() { return new NgxAlertMessageService(); }, token: NgxAlertMessageService, providedIn: "root" });
NgxAlertMessageService.decorators = [
{ type: i0.Injectable, args: [{
providedIn: 'root'
},] }
];
NgxAlertMessageService.ctorParameters = function () { return []; };

@@ -252,10 +45,11 @@ var NgxAlertMessageComponent = /** @class */ (function () {

};
NgxAlertMessageComponent = __decorate([
core.Component({
selector: 'ngx-alert-message',
template: "\n <p>\n ngx-alert-message works!\n </p>\n "
})
], NgxAlertMessageComponent);
return NgxAlertMessageComponent;
}());
NgxAlertMessageComponent.decorators = [
{ type: i0.Component, args: [{
selector: 'ngx-alert-message',
template: "\n <p>\n ngx-alert-message works!\n </p>\n "
},] }
];
NgxAlertMessageComponent.ctorParameters = function () { return []; };

@@ -287,26 +81,19 @@ var AlertComponent = /** @class */ (function () {

};
__decorate([
core.Input()
], AlertComponent.prototype, "mode", void 0);
__decorate([
core.Input()
], AlertComponent.prototype, "close", void 0);
__decorate([
core.Input()
], AlertComponent.prototype, "bold", void 0);
__decorate([
core.Input()
], AlertComponent.prototype, "text", void 0);
__decorate([
core.Input()
], AlertComponent.prototype, "disabled", void 0);
AlertComponent = __decorate([
core.Component({
selector: 'ngx-alert',
template: "<div\n class=\"alert-bar-ngx\"\n [style.backgroundColor]=\"mode\"\n [style.color]=\"textColor\"\n [style.fontWeight]=\"bold === 'true' ? 'bold' : '100'\"\n [style.opacity]=\"disabled === 'true' ? '0.5' : '1'\"\n [style.cursor]=\"disabled === 'true' ? 'not-allowed' : 'pointer'\"\n>\n <span class=\"closeIcon\" [hidden]=\"close === 'false'\">&times;</span>\n {{ text }}\n</div>\n",
styles: [".alert-bar-ngx{margin:.625rem 0;padding:.6125rem .8125rem;color:#fff;border-radius:.5125rem;box-shadow:0 0 5px 5px #f5f5f5}.closeIcon{float:right;cursor:pointer}.just-close{width:5%;font-weight:bolder;background-color:#dc143c;color:#fff;border-radius:0 5px 5px 0;padding:5px;display:flex;align-items:center;text-align:center}.just-content{width:95%;padding:5px}.just-container{display:flex;border-radius:9px;border:1px solid #dc143c}"]
})
], AlertComponent);
return AlertComponent;
}());
AlertComponent.decorators = [
{ type: i0.Component, args: [{
selector: 'ngx-alert',
template: "<div\n class=\"alert-bar-ngx\"\n [style.backgroundColor]=\"mode\"\n [style.color]=\"textColor\"\n [style.fontWeight]=\"bold === 'true' ? 'bold' : '100'\"\n [style.opacity]=\"disabled === 'true' ? '0.5' : '1'\"\n [style.cursor]=\"disabled === 'true' ? 'not-allowed' : 'pointer'\"\n>\n <span class=\"closeIcon\" [hidden]=\"close === 'false'\">&times;</span>\n {{ text }}\n</div>\n",
styles: [".alert-bar-ngx{margin:.625rem 0;padding:.6125rem .8125rem;color:#fff;border-radius:.5125rem;box-shadow:0 0 5px 5px #f5f5f5}.closeIcon{float:right;cursor:pointer}.just-close{width:5%;font-weight:bolder;background-color:#dc143c;color:#fff;border-radius:0 5px 5px 0;padding:5px;display:flex;align-items:center;text-align:center}.just-content{width:95%;padding:5px}.just-container{display:flex;border:1px solid crimson;border-radius:9px}\n"]
},] }
];
AlertComponent.ctorParameters = function () { return []; };
AlertComponent.propDecorators = {
mode: [{ type: i0.Input }],
close: [{ type: i0.Input }],
bold: [{ type: i0.Input }],
text: [{ type: i0.Input }],
disabled: [{ type: i0.Input }]
};

@@ -338,26 +125,19 @@ var JustAlertComponent = /** @class */ (function () {

};
__decorate([
core.Input()
], JustAlertComponent.prototype, "mode", void 0);
__decorate([
core.Input()
], JustAlertComponent.prototype, "close", void 0);
__decorate([
core.Input()
], JustAlertComponent.prototype, "bold", void 0);
__decorate([
core.Input()
], JustAlertComponent.prototype, "text", void 0);
__decorate([
core.Input()
], JustAlertComponent.prototype, "disabled", void 0);
JustAlertComponent = __decorate([
core.Component({
selector: 'ngx-just-alert',
template: "<div\n class=\"just-container\"\n [style.border]=\"'1px solid ' + mode\"\n [style.color]=\"mode\"\n [style.fontWeight]=\"bold === 'true' ? 'bold' : '100'\"\n [style.opacity]=\"disabled === 'true' ? '0.5' : '1'\"\n [style.cursor]=\"disabled === 'true' ? 'not-allowed' : 'pointer'\"\n>\n <div class=\"just-content\">\n {{ text }}\n </div>\n <div\n class=\"just-close\"\n [style.backgroundColor]=\"mode\"\n [style.color]=\"'white'\"\n >\n <span>&times;</span>\n </div>\n</div>\n",
styles: [".just-close{width:6%;font-weight:bolder;text-align:center;background-color:#dc143c;color:#fff;border-radius:0 5px 5px 0;padding:0;display:grid;align-items:center}.just-content{width:95%;padding:.6125rem .8125rem}.just-container{display:flex;border-radius:.5125rem;border:1px solid #dc143c;margin:.625rem 0;color:#fff;box-shadow:0 0 5px 5px #f5f5f5}"]
})
], JustAlertComponent);
return JustAlertComponent;
}());
JustAlertComponent.decorators = [
{ type: i0.Component, args: [{
selector: 'ngx-just-alert',
template: "<div\n class=\"just-container\"\n [style.border]=\"'1px solid ' + mode\"\n [style.color]=\"mode\"\n [style.fontWeight]=\"bold === 'true' ? 'bold' : '100'\"\n [style.opacity]=\"disabled === 'true' ? '0.5' : '1'\"\n [style.cursor]=\"disabled === 'true' ? 'not-allowed' : 'pointer'\"\n>\n <div class=\"just-content\">\n {{ text }}\n </div>\n <div\n class=\"just-close\"\n [style.backgroundColor]=\"mode\"\n [style.color]=\"'white'\"\n >\n <span>&times;</span>\n </div>\n</div>\n",
styles: [".just-close{width:6%;font-weight:bolder;text-align:center;background-color:#dc143c;color:#fff;border-radius:0 5px 5px 0;padding:0;display:grid;align-items:center}.just-content{width:95%;padding:.6125rem .8125rem}.just-container{display:flex;border:1px solid crimson;margin:.625rem 0;color:#fff;border-radius:.5125rem;box-shadow:0 0 5px 5px #f5f5f5}\n"]
},] }
];
JustAlertComponent.ctorParameters = function () { return []; };
JustAlertComponent.propDecorators = {
mode: [{ type: i0.Input }],
close: [{ type: i0.Input }],
bold: [{ type: i0.Input }],
text: [{ type: i0.Input }],
disabled: [{ type: i0.Input }]
};

@@ -367,21 +147,29 @@ var NgxAlertMessageModule = /** @class */ (function () {

}
NgxAlertMessageModule = __decorate([
core.NgModule({
declarations: [NgxAlertMessageComponent, AlertComponent, JustAlertComponent],
imports: [],
exports: [NgxAlertMessageComponent, AlertComponent, JustAlertComponent],
})
], NgxAlertMessageModule);
return NgxAlertMessageModule;
}());
NgxAlertMessageModule.decorators = [
{ type: i0.NgModule, args: [{
declarations: [NgxAlertMessageComponent, AlertComponent, JustAlertComponent],
imports: [],
exports: [NgxAlertMessageComponent, AlertComponent, JustAlertComponent],
},] }
];
/*
* Public API Surface of ngx-alert-message
*/
/**
* Generated bundle index. Do not edit.
*/
exports.NgxAlertMessageComponent = NgxAlertMessageComponent;
exports.NgxAlertMessageModule = NgxAlertMessageModule;
exports.NgxAlertMessageService = NgxAlertMessageService;
exports.ɵa = AlertComponent;
exports.ɵb = JustAlertComponent;
exports["ɵa"] = AlertComponent;
exports["ɵb"] = JustAlertComponent;
Object.defineProperty(exports, '__esModule', { value: true });
})));
}));
//# sourceMappingURL=ngx-alert-message.umd.js.map

@@ -1,4 +0,3 @@

import { __decorate } from "tslib";
import { Component, Input } from '@angular/core';
let AlertComponent = class AlertComponent {
export class AlertComponent {
constructor() { }

@@ -27,26 +26,18 @@ ngOnInit() {

}
}
AlertComponent.decorators = [
{ type: Component, args: [{
selector: 'ngx-alert',
template: "<div\n class=\"alert-bar-ngx\"\n [style.backgroundColor]=\"mode\"\n [style.color]=\"textColor\"\n [style.fontWeight]=\"bold === 'true' ? 'bold' : '100'\"\n [style.opacity]=\"disabled === 'true' ? '0.5' : '1'\"\n [style.cursor]=\"disabled === 'true' ? 'not-allowed' : 'pointer'\"\n>\n <span class=\"closeIcon\" [hidden]=\"close === 'false'\">&times;</span>\n {{ text }}\n</div>\n",
styles: [".alert-bar-ngx{margin:.625rem 0;padding:.6125rem .8125rem;color:#fff;border-radius:.5125rem;box-shadow:0 0 5px 5px #f5f5f5}.closeIcon{float:right;cursor:pointer}.just-close{width:5%;font-weight:bolder;background-color:#dc143c;color:#fff;border-radius:0 5px 5px 0;padding:5px;display:flex;align-items:center;text-align:center}.just-content{width:95%;padding:5px}.just-container{display:flex;border:1px solid crimson;border-radius:9px}\n"]
},] }
];
AlertComponent.ctorParameters = () => [];
AlertComponent.propDecorators = {
mode: [{ type: Input }],
close: [{ type: Input }],
bold: [{ type: Input }],
text: [{ type: Input }],
disabled: [{ type: Input }]
};
__decorate([
Input()
], AlertComponent.prototype, "mode", void 0);
__decorate([
Input()
], AlertComponent.prototype, "close", void 0);
__decorate([
Input()
], AlertComponent.prototype, "bold", void 0);
__decorate([
Input()
], AlertComponent.prototype, "text", void 0);
__decorate([
Input()
], AlertComponent.prototype, "disabled", void 0);
AlertComponent = __decorate([
Component({
selector: 'ngx-alert',
template: "<div\n class=\"alert-bar-ngx\"\n [style.backgroundColor]=\"mode\"\n [style.color]=\"textColor\"\n [style.fontWeight]=\"bold === 'true' ? 'bold' : '100'\"\n [style.opacity]=\"disabled === 'true' ? '0.5' : '1'\"\n [style.cursor]=\"disabled === 'true' ? 'not-allowed' : 'pointer'\"\n>\n <span class=\"closeIcon\" [hidden]=\"close === 'false'\">&times;</span>\n {{ text }}\n</div>\n",
styles: [".alert-bar-ngx{margin:.625rem 0;padding:.6125rem .8125rem;color:#fff;border-radius:.5125rem;box-shadow:0 0 5px 5px #f5f5f5}.closeIcon{float:right;cursor:pointer}.just-close{width:5%;font-weight:bolder;background-color:#dc143c;color:#fff;border-radius:0 5px 5px 0;padding:5px;display:flex;align-items:center;text-align:center}.just-content{width:95%;padding:5px}.just-container{display:flex;border-radius:9px;border:1px solid #dc143c}"]
})
], AlertComponent);
export { AlertComponent };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWFsZXJ0LW1lc3NhZ2UvIiwic291cmNlcyI6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gpIGRpc2FibGVkOiBhbnk7XG4gIG5nT25Jbml0KCk6IHZvaWQge1xuICAgIGlmICh0aGlzLm1vZGUgPT09ICdzdWNjZXNzJykge1xuICAgICAgdGhpcy5tb2RlID0gJ2dyZWVuJztcbiAgICB9IGVsc2UgaWYgKHRoaXMubW9kZSA9PT0gJ3ByaW1hcnknKSB7XG4gICAgICB0aGlzLm1vZGUgPSAnIzBkNDdhMSc7XG4gICAgfSBlbHNlIGlmICh0aGlzLm1vZGUgPT09ICdkYW5nZXInKSB7XG4gICAgICB0aGlzLm1vZGUgPSAnY3JpbXNvbic7XG4gICAgfSBlbHNlIGlmICh0aGlzLm1vZGUgPT09ICd3YXJuaW5nJykge1xuICAgICAgdGhpcy5tb2RlID0gJyNmZjk4MDAnO1xuICAgIH0gZWxzZSBpZiAodGhpcy5tb2RlID09PSAnaW5mbycpIHtcbiAgICAgIHRoaXMubW9kZSA9ICdjb3JuZmxvd2VyYmx1ZSc7XG4gICAgfSBlbHNlIHtcbiAgICAgIHRoaXMubW9kZSA9ICd3aGl0ZSc7XG4gICAgICB0aGlzLnRleHRDb2xvciA9ICdibGFjayc7XG4gICAgICB0aGlzLmJvbGQgPSAndHJ1ZSc7XG4gICAgfVxuICB9XG59XG4iXX0=

@@ -1,4 +0,3 @@

import { __decorate } from "tslib";
import { Component, Input } from '@angular/core';
let JustAlertComponent = class JustAlertComponent {
export class JustAlertComponent {
constructor() { }

@@ -27,26 +26,18 @@ ngOnInit() {

}
}
JustAlertComponent.decorators = [
{ type: Component, args: [{
selector: 'ngx-just-alert',
template: "<div\n class=\"just-container\"\n [style.border]=\"'1px solid ' + mode\"\n [style.color]=\"mode\"\n [style.fontWeight]=\"bold === 'true' ? 'bold' : '100'\"\n [style.opacity]=\"disabled === 'true' ? '0.5' : '1'\"\n [style.cursor]=\"disabled === 'true' ? 'not-allowed' : 'pointer'\"\n>\n <div class=\"just-content\">\n {{ text }}\n </div>\n <div\n class=\"just-close\"\n [style.backgroundColor]=\"mode\"\n [style.color]=\"'white'\"\n >\n <span>&times;</span>\n </div>\n</div>\n",
styles: [".just-close{width:6%;font-weight:bolder;text-align:center;background-color:#dc143c;color:#fff;border-radius:0 5px 5px 0;padding:0;display:grid;align-items:center}.just-content{width:95%;padding:.6125rem .8125rem}.just-container{display:flex;border:1px solid crimson;margin:.625rem 0;color:#fff;border-radius:.5125rem;box-shadow:0 0 5px 5px #f5f5f5}\n"]
},] }
];
JustAlertComponent.ctorParameters = () => [];
JustAlertComponent.propDecorators = {
mode: [{ type: Input }],
close: [{ type: Input }],
bold: [{ type: Input }],
text: [{ type: Input }],
disabled: [{ type: Input }]
};
__decorate([
Input()
], JustAlertComponent.prototype, "mode", void 0);
__decorate([
Input()
], JustAlertComponent.prototype, "close", void 0);
__decorate([
Input()
], JustAlertComponent.prototype, "bold", void 0);
__decorate([
Input()
], JustAlertComponent.prototype, "text", void 0);
__decorate([
Input()
], JustAlertComponent.prototype, "disabled", void 0);
JustAlertComponent = __decorate([
Component({
selector: 'ngx-just-alert',
template: "<div\n class=\"just-container\"\n [style.border]=\"'1px solid ' + mode\"\n [style.color]=\"mode\"\n [style.fontWeight]=\"bold === 'true' ? 'bold' : '100'\"\n [style.opacity]=\"disabled === 'true' ? '0.5' : '1'\"\n [style.cursor]=\"disabled === 'true' ? 'not-allowed' : 'pointer'\"\n>\n <div class=\"just-content\">\n {{ text }}\n </div>\n <div\n class=\"just-close\"\n [style.backgroundColor]=\"mode\"\n [style.color]=\"'white'\"\n >\n <span>&times;</span>\n </div>\n</div>\n",
styles: [".just-close{width:6%;font-weight:bolder;text-align:center;background-color:#dc143c;color:#fff;border-radius:0 5px 5px 0;padding:0;display:grid;align-items:center}.just-content{width:95%;padding:.6125rem .8125rem}.just-container{display:flex;border-radius:.5125rem;border:1px solid #dc143c;margin:.625rem 0;color:#fff;box-shadow:0 0 5px 5px #f5f5f5}"]
})
], JustAlertComponent);
export { JustAlertComponent };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW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mVudCBpbXBsZW1lbnRzIE9uSW5pdCB7XG4gIHRleHRDb2xvcjogc3RyaW5nO1xuICBjb25zdHJ1Y3RvcigpIHt9XG4gIEBJbnB1dCgpIG1vZGU6IGFueTtcbiAgQElucHV0KCkgY2xvc2U6IGFueTtcbiAgQElucHV0KCkgYm9sZDogYW55O1xuICBASW5wdXQoKSB0ZXh0OiBhbnk7XG4gIEBJbnB1dCgpIGRpc2FibGVkOiBhbnk7XG4gIG5nT25Jbml0KCk6IHZvaWQge1xuICAgIGlmICh0aGlzLm1vZGUgPT09ICdzdWNjZXNzJykge1xuICAgICAgdGhpcy5tb2RlID0gJ2dyZWVuJztcbiAgICB9IGVsc2UgaWYgKHRoaXMubW9kZSA9PT0gJ3ByaW1hcnknKSB7XG4gICAgICB0aGlzLm1vZGUgPSAnIzBkNDdhMSc7XG4gICAgfSBlbHNlIGlmICh0aGlzLm1vZGUgPT09ICdkYW5nZXInKSB7XG4gICAgICB0aGlzLm1vZGUgPSAnY3JpbXNvbic7XG4gICAgfSBlbHNlIGlmICh0aGlzLm1vZGUgPT09ICd3YXJuaW5nJykge1xuICAgICAgdGhpcy5tb2RlID0gJyNmZjk4MDAnO1xuICAgIH0gZWxzZSBpZiAodGhpcy5tb2RlID09PSAnaW5mbycpIHtcbiAgICAgIHRoaXMubW9kZSA9ICdjb3JuZmxvd2VyYmx1ZSc7XG4gICAgfSBlbHNlIHtcbiAgICAgIHRoaXMubW9kZSA9ICd3aGl0ZSc7XG4gICAgICB0aGlzLnRleHRDb2xvciA9ICdibGFjayc7XG4gICAgICB0aGlzLmJvbGQgPSAndHJ1ZSc7XG4gICAgfVxuICB9XG59XG4iXX0=

@@ -1,12 +0,11 @@

import { __decorate } from "tslib";
import { Component } from '@angular/core';
let NgxAlertMessageComponent = class NgxAlertMessageComponent {
export class NgxAlertMessageComponent {
constructor() { }
ngOnInit() {
}
};
NgxAlertMessageComponent = __decorate([
Component({
selector: 'ngx-alert-message',
template: `
}
NgxAlertMessageComponent.decorators = [
{ type: Component, args: [{
selector: 'ngx-alert-message',
template: `
<p>

@@ -16,5 +15,5 @@ ngx-alert-message works!

`
})
], NgxAlertMessageComponent);
export { NgxAlertMessageComponent };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWFsZXJ0LW1lc3NhZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWFsZXJ0LW1lc3NhZ2UvIiwic291cmNlcyI6WyJsaWIvbmd4LWFsZXJ0LW1lc3NhZ2UuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBWWxELElBQWEsd0JBQXdCLEdBQXJDLE1BQWEsd0JBQXdCO0lBRW5DLGdCQUFnQixDQUFDO0lBRWpCLFFBQVE7SUFDUixDQUFDO0NBRUYsQ0FBQTtBQVBZLHdCQUF3QjtJQVZwQyxTQUFTLENBQUM7UUFDVCxRQUFRLEVBQUUsbUJBQW1CO1FBQzdCLFFBQVEsRUFBRTs7OztHQUlUO0tBR0YsQ0FBQztHQUNXLHdCQUF3QixDQU9wQztTQVBZLHdCQUF3QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgT25Jbml0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ25neC1hbGVydC1tZXNzYWdlJyxcbiAgdGVtcGxhdGU6IGBcbiAgICA8cD5cbiAgICAgIG5neC1hbGVydC1tZXNzYWdlIHdvcmtzIVxuICAgIDwvcD5cbiAgYCxcbiAgc3R5bGVzOiBbXG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgTmd4QWxlcnRNZXNzYWdlQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcblxuICBjb25zdHJ1Y3RvcigpIHsgfVxuXG4gIG5nT25Jbml0KCk6IHZvaWQge1xuICB9XG5cbn1cbiJdfQ==
},] }
];
NgxAlertMessageComponent.ctorParameters = () => [];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWFsZXJ0LW1lc3NhZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LWFsZXJ0LW1lc3NhZ2Uvc3JjL2xpYi9uZ3gtYWxlcnQtbWVzc2FnZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQztBQVlsRCxNQUFNLE9BQU8sd0JBQXdCO0lBRW5DLGdCQUFnQixDQUFDO0lBRWpCLFFBQVE7SUFDUixDQUFDOzs7WUFmRixTQUFTLFNBQUM7Z0JBQ1QsUUFBUSxFQUFFLG1CQUFtQjtnQkFDN0IsUUFBUSxFQUFFOzs7O0dBSVQ7YUFHRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgT25Jbml0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ25neC1hbGVydC1tZXNzYWdlJyxcbiAgdGVtcGxhdGU6IGBcbiAgICA8cD5cbiAgICAgIG5neC1hbGVydC1tZXNzYWdlIHdvcmtzIVxuICAgIDwvcD5cbiAgYCxcbiAgc3R5bGVzOiBbXG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgTmd4QWxlcnRNZXNzYWdlQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcblxuICBjb25zdHJ1Y3RvcigpIHsgfVxuXG4gIG5nT25Jbml0KCk6IHZvaWQge1xuICB9XG5cbn1cbiJdfQ==

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

import { __decorate } from "tslib";
import { NgModule } from '@angular/core';

@@ -6,12 +5,11 @@ import { NgxAlertMessageComponent } from './ngx-alert-message.component';

import { JustAlertComponent } from './just-alert/just-alert.component';
let NgxAlertMessageModule = class NgxAlertMessageModule {
};
NgxAlertMessageModule = __decorate([
NgModule({
declarations: [NgxAlertMessageComponent, AlertComponent, JustAlertComponent],
imports: [],
exports: [NgxAlertMessageComponent, AlertComponent, JustAlertComponent],
})
], NgxAlertMessageModule);
export { NgxAlertMessageModule };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWFsZXJ0LW1lc3NhZ2UubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWFsZXJ0LW1lc3NhZ2UvIiwic291cmNlcyI6WyJsaWIvbmd4LWFsZXJ0LW1lc3NhZ2UubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ3pFLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUN6RCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQU92RSxJQUFhLHFCQUFxQixHQUFsQyxNQUFhLHFCQUFxQjtDQUFHLENBQUE7QUFBeEIscUJBQXFCO0lBTGpDLFFBQVEsQ0FBQztRQUNSLFlBQVksRUFBRSxDQUFDLHdCQUF3QixFQUFFLGNBQWMsRUFBRSxrQkFBa0IsQ0FBQztRQUM1RSxPQUFPLEVBQUUsRUFBRTtRQUNYLE9BQU8sRUFBRSxDQUFDLHdCQUF3QixFQUFFLGNBQWMsRUFBRSxrQkFBa0IsQ0FBQztLQUN4RSxDQUFDO0dBQ1cscUJBQXFCLENBQUc7U0FBeEIscUJBQXFCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IE5neEFsZXJ0TWVzc2FnZUNvbXBvbmVudCB9IGZyb20gJy4vbmd4LWFsZXJ0LW1lc3NhZ2UuY29tcG9uZW50JztcbmltcG9ydCB7IEFsZXJ0Q29tcG9uZW50IH0gZnJvbSAnLi9hbGVydC9hbGVydC5jb21wb25lbnQnO1xuaW1wb3J0IHsgSnVzdEFsZXJ0Q29tcG9uZW50IH0gZnJvbSAnLi9qdXN0LWFsZXJ0L2p1c3QtYWxlcnQuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbTmd4QWxlcnRNZXNzYWdlQ29tcG9uZW50LCBBbGVydENvbXBvbmVudCwgSnVzdEFsZXJ0Q29tcG9uZW50XSxcbiAgaW1wb3J0czogW10sXG4gIGV4cG9ydHM6IFtOZ3hBbGVydE1lc3NhZ2VDb21wb25lbnQsIEFsZXJ0Q29tcG9uZW50LCBKdXN0QWxlcnRDb21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBOZ3hBbGVydE1lc3NhZ2VNb2R1bGUge31cbiJdfQ==
export class NgxAlertMessageModule {
}
NgxAlertMessageModule.decorators = [
{ type: NgModule, args: [{
declarations: [NgxAlertMessageComponent, AlertComponent, JustAlertComponent],
imports: [],
exports: [NgxAlertMessageComponent, AlertComponent, JustAlertComponent],
},] }
];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWFsZXJ0LW1lc3NhZ2UubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LWFsZXJ0LW1lc3NhZ2Uvc3JjL2xpYi9uZ3gtYWxlcnQtbWVzc2FnZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6I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ZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgTmd4QWxlcnRNZXNzYWdlTW9kdWxlIHt9XG4iXX0=

@@ -1,14 +0,13 @@

import { __decorate } from "tslib";
import { Injectable } from '@angular/core';
import * as i0 from "@angular/core";
let NgxAlertMessageService = class NgxAlertMessageService {
export class NgxAlertMessageService {
constructor() { }
};
}
NgxAlertMessageService.ɵprov = i0.ɵɵdefineInjectable({ factory: function NgxAlertMessageService_Factory() { return new NgxAlertMessageService(); }, token: NgxAlertMessageService, providedIn: "root" });
NgxAlertMessageService = __decorate([
Injectable({
providedIn: 'root'
})
], NgxAlertMessageService);
export { NgxAlertMessageService };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWFsZXJ0LW1lc3NhZ2Uuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1hbGVydC1tZXNzYWdlLyIsInNvdXJjZXMiOlsibGliL25neC1hbGVydC1tZXNzYWdlLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBSzNDLElBQWEsc0JBQXNCLEdBQW5DLE1BQWEsc0JBQXNCO0lBRWpDLGdCQUFnQixDQUFDO0NBQ2xCLENBQUE7O0FBSFksc0JBQXNCO0lBSGxDLFVBQVUsQ0FBQztRQUNWLFVBQVUsRUFBRSxNQUFNO0tBQ25CLENBQUM7R0FDVyxzQkFBc0IsQ0FHbEM7U0FIWSxzQkFBc0IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnXG59KVxuZXhwb3J0IGNsYXNzIE5neEFsZXJ0TWVzc2FnZVNlcnZpY2Uge1xuXG4gIGNvbnN0cnVjdG9yKCkgeyB9XG59XG4iXX0=
NgxAlertMessageService.decorators = [
{ type: Injectable, args: [{
providedIn: 'root'
},] }
];
NgxAlertMessageService.ctorParameters = () => [];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWFsZXJ0LW1lc3NhZ2Uuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1hbGVydC1tZXNzYWdlL3NyYy9saWIvbmd4LWFsZXJ0LW1lc3NhZ2Uuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUszQyxNQUFNLE9BQU8sc0JBQXNCO0lBRWpDLGdCQUFnQixDQUFDOzs7O1lBTGxCLFVBQVUsU0FBQztnQkFDVixVQUFVLEVBQUUsTUFBTTthQUNuQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCdcbn0pXG5leHBvcnQgY2xhc3MgTmd4QWxlcnRNZXNzYWdlU2VydmljZSB7XG5cbiAgY29uc3RydWN0b3IoKSB7IH1cbn1cbiJdfQ==

@@ -7,2 +7,2 @@ /**

export { JustAlertComponent as ɵb } from './lib/just-alert/just-alert.component';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWFsZXJ0LW1lc3NhZ2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtYWxlcnQtbWVzc2FnZS8iLCJzb3VyY2VzIjpbIm5neC1hbGVydC1tZXNzYWdlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUM7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BvbmVudCBhcyDJtWF9IGZyb20gJy4vbGliL2FsZXJ0L2FsZXJ0LmNvbXBvbmVudCc7XG5leHBvcnQge0p1c3RBbGVydENvbXBvbmVudCBhcyDJtWJ9IGZyb20gJy4vbGliL2p1c3QtYWxlcnQvanVzdC1hbGVydC5jb21wb25lbnQnOyJdfQ==

@@ -7,2 +7,2 @@ /*

export * from './lib/ngx-alert-message.module';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1hbGVydC1tZXNzYWdlLyIsInNvdXJjZXMiOlsicHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsaUNBQWlDLENBQUM7QUFDaEQsY0FBYyxtQ0FBbUMsQ0FBQztBQUNsRCxjQUFjLGdDQUFnQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBuZ3gtYWxlcnQtbWVzc2FnZVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL25neC1hbGVydC1tZXNzYWdlLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbmd4LWFsZXJ0LW1lc3NhZ2UuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL25neC1hbGVydC1tZXNzYWdlLm1vZHVsZSc7XG4iXX0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL25neC1hbGVydC1tZXNzYWdlL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxpQ0FBaUMsQ0FBQztBQUNoRCxjQUFjLG1DQUFtQyxDQUFDO0FBQ2xELGNBQWMsZ0NBQWdDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIG5neC1hbGVydC1tZXNzYWdlXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvbmd4LWFsZXJ0LW1lc3NhZ2Uuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtYWxlcnQtbWVzc2FnZS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbmd4LWFsZXJ0LW1lc3NhZ2UubW9kdWxlJztcbiJdfQ==

@@ -1,23 +0,24 @@

import { __decorate } from 'tslib';
import { ɵɵdefineInjectable, Injectable, Component, Input, NgModule } from '@angular/core';
import * as i0 from '@angular/core';
import { Injectable, Component, Input, NgModule } from '@angular/core';
let NgxAlertMessageService = class NgxAlertMessageService {
class NgxAlertMessageService {
constructor() { }
};
NgxAlertMessageService.ɵprov = ɵɵdefineInjectable({ factory: function NgxAlertMessageService_Factory() { return new NgxAlertMessageService(); }, token: NgxAlertMessageService, providedIn: "root" });
NgxAlertMessageService = __decorate([
Injectable({
providedIn: 'root'
})
], NgxAlertMessageService);
}
NgxAlertMessageService.ɵprov = i0.ɵɵdefineInjectable({ factory: function NgxAlertMessageService_Factory() { return new NgxAlertMessageService(); }, token: NgxAlertMessageService, providedIn: "root" });
NgxAlertMessageService.decorators = [
{ type: Injectable, args: [{
providedIn: 'root'
},] }
];
NgxAlertMessageService.ctorParameters = () => [];
let NgxAlertMessageComponent = class NgxAlertMessageComponent {
class NgxAlertMessageComponent {
constructor() { }
ngOnInit() {
}
};
NgxAlertMessageComponent = __decorate([
Component({
selector: 'ngx-alert-message',
template: `
}
NgxAlertMessageComponent.decorators = [
{ type: Component, args: [{
selector: 'ngx-alert-message',
template: `
<p>

@@ -27,6 +28,7 @@ ngx-alert-message works!

`
})
], NgxAlertMessageComponent);
},] }
];
NgxAlertMessageComponent.ctorParameters = () => [];
let AlertComponent = class AlertComponent {
class AlertComponent {
constructor() { }

@@ -55,27 +57,20 @@ ngOnInit() {

}
}
AlertComponent.decorators = [
{ type: Component, args: [{
selector: 'ngx-alert',
template: "<div\n class=\"alert-bar-ngx\"\n [style.backgroundColor]=\"mode\"\n [style.color]=\"textColor\"\n [style.fontWeight]=\"bold === 'true' ? 'bold' : '100'\"\n [style.opacity]=\"disabled === 'true' ? '0.5' : '1'\"\n [style.cursor]=\"disabled === 'true' ? 'not-allowed' : 'pointer'\"\n>\n <span class=\"closeIcon\" [hidden]=\"close === 'false'\">&times;</span>\n {{ text }}\n</div>\n",
styles: [".alert-bar-ngx{margin:.625rem 0;padding:.6125rem .8125rem;color:#fff;border-radius:.5125rem;box-shadow:0 0 5px 5px #f5f5f5}.closeIcon{float:right;cursor:pointer}.just-close{width:5%;font-weight:bolder;background-color:#dc143c;color:#fff;border-radius:0 5px 5px 0;padding:5px;display:flex;align-items:center;text-align:center}.just-content{width:95%;padding:5px}.just-container{display:flex;border:1px solid crimson;border-radius:9px}\n"]
},] }
];
AlertComponent.ctorParameters = () => [];
AlertComponent.propDecorators = {
mode: [{ type: Input }],
close: [{ type: Input }],
bold: [{ type: Input }],
text: [{ type: Input }],
disabled: [{ type: Input }]
};
__decorate([
Input()
], AlertComponent.prototype, "mode", void 0);
__decorate([
Input()
], AlertComponent.prototype, "close", void 0);
__decorate([
Input()
], AlertComponent.prototype, "bold", void 0);
__decorate([
Input()
], AlertComponent.prototype, "text", void 0);
__decorate([
Input()
], AlertComponent.prototype, "disabled", void 0);
AlertComponent = __decorate([
Component({
selector: 'ngx-alert',
template: "<div\n class=\"alert-bar-ngx\"\n [style.backgroundColor]=\"mode\"\n [style.color]=\"textColor\"\n [style.fontWeight]=\"bold === 'true' ? 'bold' : '100'\"\n [style.opacity]=\"disabled === 'true' ? '0.5' : '1'\"\n [style.cursor]=\"disabled === 'true' ? 'not-allowed' : 'pointer'\"\n>\n <span class=\"closeIcon\" [hidden]=\"close === 'false'\">&times;</span>\n {{ text }}\n</div>\n",
styles: [".alert-bar-ngx{margin:.625rem 0;padding:.6125rem .8125rem;color:#fff;border-radius:.5125rem;box-shadow:0 0 5px 5px #f5f5f5}.closeIcon{float:right;cursor:pointer}.just-close{width:5%;font-weight:bolder;background-color:#dc143c;color:#fff;border-radius:0 5px 5px 0;padding:5px;display:flex;align-items:center;text-align:center}.just-content{width:95%;padding:5px}.just-container{display:flex;border-radius:9px;border:1px solid #dc143c}"]
})
], AlertComponent);
let JustAlertComponent = class JustAlertComponent {
class JustAlertComponent {
constructor() { }

@@ -104,35 +99,28 @@ ngOnInit() {

}
}
JustAlertComponent.decorators = [
{ type: Component, args: [{
selector: 'ngx-just-alert',
template: "<div\n class=\"just-container\"\n [style.border]=\"'1px solid ' + mode\"\n [style.color]=\"mode\"\n [style.fontWeight]=\"bold === 'true' ? 'bold' : '100'\"\n [style.opacity]=\"disabled === 'true' ? '0.5' : '1'\"\n [style.cursor]=\"disabled === 'true' ? 'not-allowed' : 'pointer'\"\n>\n <div class=\"just-content\">\n {{ text }}\n </div>\n <div\n class=\"just-close\"\n [style.backgroundColor]=\"mode\"\n [style.color]=\"'white'\"\n >\n <span>&times;</span>\n </div>\n</div>\n",
styles: [".just-close{width:6%;font-weight:bolder;text-align:center;background-color:#dc143c;color:#fff;border-radius:0 5px 5px 0;padding:0;display:grid;align-items:center}.just-content{width:95%;padding:.6125rem .8125rem}.just-container{display:flex;border:1px solid crimson;margin:.625rem 0;color:#fff;border-radius:.5125rem;box-shadow:0 0 5px 5px #f5f5f5}\n"]
},] }
];
JustAlertComponent.ctorParameters = () => [];
JustAlertComponent.propDecorators = {
mode: [{ type: Input }],
close: [{ type: Input }],
bold: [{ type: Input }],
text: [{ type: Input }],
disabled: [{ type: Input }]
};
__decorate([
Input()
], JustAlertComponent.prototype, "mode", void 0);
__decorate([
Input()
], JustAlertComponent.prototype, "close", void 0);
__decorate([
Input()
], JustAlertComponent.prototype, "bold", void 0);
__decorate([
Input()
], JustAlertComponent.prototype, "text", void 0);
__decorate([
Input()
], JustAlertComponent.prototype, "disabled", void 0);
JustAlertComponent = __decorate([
Component({
selector: 'ngx-just-alert',
template: "<div\n class=\"just-container\"\n [style.border]=\"'1px solid ' + mode\"\n [style.color]=\"mode\"\n [style.fontWeight]=\"bold === 'true' ? 'bold' : '100'\"\n [style.opacity]=\"disabled === 'true' ? '0.5' : '1'\"\n [style.cursor]=\"disabled === 'true' ? 'not-allowed' : 'pointer'\"\n>\n <div class=\"just-content\">\n {{ text }}\n </div>\n <div\n class=\"just-close\"\n [style.backgroundColor]=\"mode\"\n [style.color]=\"'white'\"\n >\n <span>&times;</span>\n </div>\n</div>\n",
styles: [".just-close{width:6%;font-weight:bolder;text-align:center;background-color:#dc143c;color:#fff;border-radius:0 5px 5px 0;padding:0;display:grid;align-items:center}.just-content{width:95%;padding:.6125rem .8125rem}.just-container{display:flex;border-radius:.5125rem;border:1px solid #dc143c;margin:.625rem 0;color:#fff;box-shadow:0 0 5px 5px #f5f5f5}"]
})
], JustAlertComponent);
let NgxAlertMessageModule = class NgxAlertMessageModule {
};
NgxAlertMessageModule = __decorate([
NgModule({
declarations: [NgxAlertMessageComponent, AlertComponent, JustAlertComponent],
imports: [],
exports: [NgxAlertMessageComponent, AlertComponent, JustAlertComponent],
})
], NgxAlertMessageModule);
class NgxAlertMessageModule {
}
NgxAlertMessageModule.decorators = [
{ type: NgModule, args: [{
declarations: [NgxAlertMessageComponent, AlertComponent, JustAlertComponent],
imports: [],
exports: [NgxAlertMessageComponent, AlertComponent, JustAlertComponent],
},] }
];

@@ -139,0 +127,0 @@ /*

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

{"__symbolic":"module","version":4,"metadata":{"NgxAlertMessageService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":2,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}]},"statics":{"ɵprov":{}}},"NgxAlertMessageComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"ngx-alert-message","template":"\n <p>\n ngx-alert-message works!\n </p>\n ","styles":[]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"NgxAlertMessageModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":5,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"NgxAlertMessageComponent"},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"imports":[],"exports":[{"__symbolic":"reference","name":"NgxAlertMessageComponent"},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"ngx-alert","template":"<div\n class=\"alert-bar-ngx\"\n [style.backgroundColor]=\"mode\"\n [style.color]=\"textColor\"\n [style.fontWeight]=\"bold === 'true' ? 'bold' : '100'\"\n [style.opacity]=\"disabled === 'true' ? '0.5' : '1'\"\n [style.cursor]=\"disabled === 'true' ? 'not-allowed' : 'pointer'\"\n>\n <span class=\"closeIcon\" [hidden]=\"close === 'false'\">&times;</span>\n {{ text }}\n</div>\n","styles":[".alert-bar-ngx{margin:.625rem 0;padding:.6125rem .8125rem;color:#fff;border-radius:.5125rem;box-shadow:0 0 5px 5px #f5f5f5}.closeIcon{float:right;cursor:pointer}.just-close{width:5%;font-weight:bolder;background-color:#dc143c;color:#fff;border-radius:0 5px 5px 0;padding:5px;display:flex;align-items:center;text-align:center}.just-content{width:95%;padding:5px}.just-container{display:flex;border-radius:9px;border:1px solid #dc143c}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"mode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"close":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"bold":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"text":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"ngx-just-alert","template":"<div\n class=\"just-container\"\n [style.border]=\"'1px solid ' + mode\"\n [style.color]=\"mode\"\n [style.fontWeight]=\"bold === 'true' ? 'bold' : '100'\"\n [style.opacity]=\"disabled === 'true' ? '0.5' : '1'\"\n [style.cursor]=\"disabled === 'true' ? 'not-allowed' : 'pointer'\"\n>\n <div class=\"just-content\">\n {{ text }}\n </div>\n <div\n class=\"just-close\"\n [style.backgroundColor]=\"mode\"\n [style.color]=\"'white'\"\n >\n <span>&times;</span>\n </div>\n</div>\n","styles":[".just-close{width:6%;font-weight:bolder;text-align:center;background-color:#dc143c;color:#fff;border-radius:0 5px 5px 0;padding:0;display:grid;align-items:center}.just-content{width:95%;padding:.6125rem .8125rem}.just-container{display:flex;border-radius:.5125rem;border:1px solid #dc143c;margin:.625rem 0;color:#fff;box-shadow:0 0 5px 5px #f5f5f5}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"mode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"close":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"bold":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"text":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}]}}},"origins":{"NgxAlertMessageService":"./lib/ngx-alert-message.service","NgxAlertMessageComponent":"./lib/ngx-alert-message.component","NgxAlertMessageModule":"./lib/ngx-alert-message.module","ɵa":"./lib/alert/alert.component","ɵb":"./lib/just-alert/just-alert.component"},"importAs":"ngx-alert-message"}
{"__symbolic":"module","version":4,"metadata":{"NgxAlertMessageService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":2,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}]},"statics":{"ɵprov":{}}},"NgxAlertMessageComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"ngx-alert-message","template":"\n <p>\n ngx-alert-message works!\n </p>\n ","styles":[]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"NgxAlertMessageModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":5,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"NgxAlertMessageComponent"},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"imports":[],"exports":[{"__symbolic":"reference","name":"NgxAlertMessageComponent"},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"ngx-alert","template":"<div\n class=\"alert-bar-ngx\"\n [style.backgroundColor]=\"mode\"\n [style.color]=\"textColor\"\n [style.fontWeight]=\"bold === 'true' ? 'bold' : '100'\"\n [style.opacity]=\"disabled === 'true' ? '0.5' : '1'\"\n [style.cursor]=\"disabled === 'true' ? 'not-allowed' : 'pointer'\"\n>\n <span class=\"closeIcon\" [hidden]=\"close === 'false'\">&times;</span>\n {{ text }}\n</div>\n","styles":[".alert-bar-ngx{margin:.625rem 0;padding:.6125rem .8125rem;color:#fff;border-radius:.5125rem;box-shadow:0 0 5px 5px #f5f5f5}.closeIcon{float:right;cursor:pointer}.just-close{width:5%;font-weight:bolder;background-color:#dc143c;color:#fff;border-radius:0 5px 5px 0;padding:5px;display:flex;align-items:center;text-align:center}.just-content{width:95%;padding:5px}.just-container{display:flex;border:1px solid crimson;border-radius:9px}\n"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"mode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"close":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"bold":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"text":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"ngx-just-alert","template":"<div\n class=\"just-container\"\n [style.border]=\"'1px solid ' + mode\"\n [style.color]=\"mode\"\n [style.fontWeight]=\"bold === 'true' ? 'bold' : '100'\"\n [style.opacity]=\"disabled === 'true' ? '0.5' : '1'\"\n [style.cursor]=\"disabled === 'true' ? 'not-allowed' : 'pointer'\"\n>\n <div class=\"just-content\">\n {{ text }}\n </div>\n <div\n class=\"just-close\"\n [style.backgroundColor]=\"mode\"\n [style.color]=\"'white'\"\n >\n <span>&times;</span>\n </div>\n</div>\n","styles":[".just-close{width:6%;font-weight:bolder;text-align:center;background-color:#dc143c;color:#fff;border-radius:0 5px 5px 0;padding:0;display:grid;align-items:center}.just-content{width:95%;padding:.6125rem .8125rem}.just-container{display:flex;border:1px solid crimson;margin:.625rem 0;color:#fff;border-radius:.5125rem;box-shadow:0 0 5px 5px #f5f5f5}\n"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"mode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"close":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"bold":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"text":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}]}}},"origins":{"NgxAlertMessageService":"./lib/ngx-alert-message.service","NgxAlertMessageComponent":"./lib/ngx-alert-message.component","NgxAlertMessageModule":"./lib/ngx-alert-message.module","ɵa":"./lib/alert/alert.component","ɵb":"./lib/just-alert/just-alert.component"},"importAs":"ngx-alert-message"}

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

"description": "Alert messages",
"version": "0.0.3",
"version": "0.0.4",
"peerDependencies": {

@@ -15,3 +15,3 @@ "@angular/common": "^9.1.9",

"dependencies": {
"tslib": "^1.10.0"
"tslib": "^2.0.0"
},

@@ -35,7 +35,5 @@ "icon": "https://image.flaticon.com/icons/svg/2959/2959590.svg",

"main": "bundles/ngx-alert-message.umd.js",
"module": "fesm5/ngx-alert-message.js",
"module": "fesm2015/ngx-alert-message.js",
"es2015": "fesm2015/ngx-alert-message.js",
"esm5": "esm5/ngx-alert-message.js",
"esm2015": "esm2015/ngx-alert-message.js",
"fesm5": "fesm5/ngx-alert-message.js",
"fesm2015": "fesm2015/ngx-alert-message.js",

@@ -45,2 +43,2 @@ "typings": "ngx-alert-message.d.ts",

"sideEffects": false
}
}

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