@igo2/core 1.9.4 → 1.11.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/__ivy_ngcc__/locale/en.core.json +6 -0
- package/__ivy_ngcc__/locale/en.geo.json +31 -9
- package/__ivy_ngcc__/locale/en.integration.json +3 -1
- package/__ivy_ngcc__/locale/en.json +38 -8
- package/__ivy_ngcc__/locale/fr.core.json +6 -0
- package/__ivy_ngcc__/locale/fr.geo.json +28 -6
- package/__ivy_ngcc__/locale/fr.integration.json +3 -1
- package/__ivy_ngcc__/locale/fr.json +35 -5
- package/bundles/igo2-core.umd.js +120 -138
- package/bundles/igo2-core.umd.js.map +1 -1
- package/esm2015/lib/config/version.js +3 -3
- package/esm2015/lib/message/index.js +1 -2
- package/esm2015/lib/message/message.module.js +38 -9
- package/esm2015/lib/message/shared/index.js +1 -1
- package/esm2015/lib/message/shared/message.enum.js +3 -2
- package/esm2015/lib/message/shared/message.interface.js +1 -1
- package/esm2015/lib/message/shared/message.service.js +55 -72
- package/esm2015/lib/network/network.service.js +11 -3
- package/fesm2015/igo2-core.js +107 -126
- package/fesm2015/igo2-core.js.map +1 -1
- package/lib/message/index.d.ts +0 -1
- package/lib/message/message.module.d.ts +3 -4
- package/lib/message/shared/index.d.ts +1 -1
- package/lib/message/shared/message.enum.d.ts +2 -1
- package/lib/message/shared/message.interface.d.ts +4 -4
- package/lib/message/shared/message.service.d.ts +14 -11
- package/lib/network/network.service.d.ts +1 -0
- package/locale/en.core.json +6 -0
- package/locale/en.geo.json +31 -9
- package/locale/en.integration.json +3 -1
- package/locale/en.json +38 -8
- package/locale/fr.core.json +6 -0
- package/locale/fr.geo.json +28 -6
- package/locale/fr.integration.json +3 -1
- package/locale/fr.json +35 -5
- package/package.json +4 -4
- package/style/core.theming.scss +3 -1
- package/style/index.theming.scss +228 -36
- package/esm2015/lib/message/message-center/index.js +0 -2
- package/esm2015/lib/message/message-center/message-center.component.js +0 -43
- package/lib/message/message-center/index.d.ts +0 -1
- package/lib/message/message-center/message-center.component.d.ts +0 -19
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@igo2/angular2-notifications";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
|
-
const _c0 = function (a0) { return { closeIcon: a0 }; };
|
|
6
|
-
export class MessageCenterComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this._options = {};
|
|
9
|
-
}
|
|
10
|
-
get options() {
|
|
11
|
-
return Object.assign({}, MessageCenterComponent.defaultOptions, this._options);
|
|
12
|
-
}
|
|
13
|
-
set options(value) {
|
|
14
|
-
this._options = value;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
MessageCenterComponent.defaultOptions = {
|
|
18
|
-
timeOut: 5000,
|
|
19
|
-
hasCloseIcon: false,
|
|
20
|
-
showProgressBar: true,
|
|
21
|
-
pauseOnHover: true,
|
|
22
|
-
clickToClose: true,
|
|
23
|
-
maxLength: 100,
|
|
24
|
-
maxStack: 3,
|
|
25
|
-
preventDuplicates: true
|
|
26
|
-
};
|
|
27
|
-
MessageCenterComponent.ɵfac = function MessageCenterComponent_Factory(t) { return new (t || MessageCenterComponent)(); };
|
|
28
|
-
MessageCenterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MessageCenterComponent, selectors: [["igo-message-center"]], inputs: { options: "options" }, decls: 1, vars: 4, consts: [[1, "mat-typography", 3, "ngClass", "options"]], template: function MessageCenterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
29
|
-
i0.ɵɵelement(0, "simple-notifications", 0);
|
|
30
|
-
} if (rf & 2) {
|
|
31
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0, ctx.options.hasCloseIcon))("options", ctx.options);
|
|
32
|
-
} }, directives: [i1.SimpleNotificationsComponent, i2.NgClass], styles: ["[_nghost-%COMP%] div.simple-notification-wrapper{bottom:0;right:calc(50% - 150px)}@media only screen and (orientation:portrait) and (max-width: 599px),only screen and (orientation:landscape) and (max-width: 959px){[_nghost-%COMP%] div.simple-notification-wrapper{right:0;left:0;width:100%}}[_nghost-%COMP%] .closeIcon .sn-title:after{content:\"close\";font-family:\"Material Icons\";font-feature-settings:\"liga\" 1;font-size:24px;font-weight:normal;right:5px;top:5px;position:absolute}[_nghost-%COMP%] .simple-notification .icon{top:0;left:0;width:45px;height:45px;height:100%;padding:7px}[_nghost-%COMP%] .simple-notification .icon mat-icon{display:flex;align-items:center;height:100%;font-size:32px}[_nghost-%COMP%] div.simple-notification{min-height:50px;margin-bottom:5px;padding-left:45px;padding-right:25px}[_nghost-%COMP%] div.simple-notification.noIcon{padding-left:25px}@media only screen and (orientation:portrait) and (max-width: 599px),only screen and (orientation:landscape) and (max-width: 959px){[_nghost-%COMP%] div.simple-notification{margin-bottom:0}}[_nghost-%COMP%] div.simple-notification .sn-title{line-height:23px;font-size:15px;font-weight:bold}[_nghost-%COMP%] div.simple-notification .sn-content{line-height:18px;font-size:15px}"] });
|
|
33
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MessageCenterComponent, [{
|
|
34
|
-
type: Component,
|
|
35
|
-
args: [{
|
|
36
|
-
selector: 'igo-message-center',
|
|
37
|
-
templateUrl: './message-center.component.html',
|
|
38
|
-
styleUrls: ['./message-center.component.scss']
|
|
39
|
-
}]
|
|
40
|
-
}], function () { return []; }, { options: [{
|
|
41
|
-
type: Input
|
|
42
|
-
}] }); })();
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS1jZW50ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29yZS9zcmMvbGliL21lc3NhZ2UvbWVzc2FnZS1jZW50ZX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c3RydWN0b3IoKSB7fVxufVxuIiwiPHNpbXBsZS1ub3RpZmljYXRpb25zXG4gIGNsYXNzPVwibWF0LXR5cG9ncmFwaHlcIlxuICBbbmdDbGFzc109XCJ7Y2xvc2VJY29uOiBvcHRpb25zLmhhc0Nsb3NlSWNvbn1cIlxuICBbb3B0aW9uc109XCJvcHRpb25zXCI+XG48L3NpbXBsZS1ub3RpZmljYXRpb25zPlxuIl19
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './message-center.component';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class MessageCenterComponent {
|
|
3
|
-
static defaultOptions: {
|
|
4
|
-
timeOut: number;
|
|
5
|
-
hasCloseIcon: boolean;
|
|
6
|
-
showProgressBar: boolean;
|
|
7
|
-
pauseOnHover: boolean;
|
|
8
|
-
clickToClose: boolean;
|
|
9
|
-
maxLength: number;
|
|
10
|
-
maxStack: number;
|
|
11
|
-
preventDuplicates: boolean;
|
|
12
|
-
};
|
|
13
|
-
get options(): any;
|
|
14
|
-
set options(value: any);
|
|
15
|
-
private _options;
|
|
16
|
-
constructor();
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MessageCenterComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MessageCenterComponent, "igo-message-center", never, { "options": "options"; }, {}, never, never>;
|
|
19
|
-
}
|