wacom 14.2.0 → 14.2.2
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/README.md +197 -465
- package/esm2020/lib/components/alert/alert.component.mjs +5 -5
- package/esm2020/lib/components/alert/wrapper/wrapper.component.mjs +5 -5
- package/esm2020/lib/components/files/files.component.mjs +5 -5
- package/esm2020/lib/components/loader/loader.component.mjs +5 -5
- package/esm2020/lib/components/modal/modal.component.mjs +5 -5
- package/esm2020/lib/directives/click-outside.directive.mjs +5 -5
- package/esm2020/lib/guard/meta.guard.mjs +4 -4
- package/esm2020/lib/interfaces/alert.interface.mjs +1 -1
- package/esm2020/lib/interfaces/config.mjs +1 -1
- package/esm2020/lib/interfaces/modal.interface.mjs +1 -1
- package/esm2020/lib/pipes/arr.pipe.mjs +4 -4
- package/esm2020/lib/pipes/mongodate.pipe.mjs +4 -4
- package/esm2020/lib/pipes/pagination.pipe.mjs +4 -4
- package/esm2020/lib/pipes/safe.pipe.mjs +4 -4
- package/esm2020/lib/pipes/search.pipe.mjs +4 -4
- package/esm2020/lib/pipes/splice.pipe.mjs +4 -4
- package/esm2020/lib/services/alert.service.mjs +4 -4
- package/esm2020/lib/services/base.service.mjs +4 -4
- package/esm2020/lib/services/core.service.mjs +37 -27
- package/esm2020/lib/services/crud.service.mjs +4 -4
- package/esm2020/lib/services/dom.service.mjs +4 -4
- package/esm2020/lib/services/file.service.mjs +4 -4
- package/esm2020/lib/services/hash.service.mjs +4 -4
- package/esm2020/lib/services/http.service.mjs +49 -22
- package/esm2020/lib/services/loader.service.mjs +4 -4
- package/esm2020/lib/services/meta.service.mjs +7 -7
- package/esm2020/lib/services/modal.service.mjs +4 -4
- package/esm2020/lib/services/mongo.service.mjs +4 -4
- package/esm2020/lib/services/render.service.mjs +4 -4
- package/esm2020/lib/services/socket.service.mjs +4 -4
- package/esm2020/lib/services/store.service.mjs +4 -4
- package/esm2020/lib/services/time.service.mjs +4 -4
- package/esm2020/lib/services/ui.service.mjs +4 -4
- package/esm2020/lib/wacom.module.mjs +5 -5
- package/esm2020/public-api.mjs +1 -1
- package/fesm2015/wacom.mjs +181 -145
- package/fesm2015/wacom.mjs.map +1 -1
- package/fesm2020/wacom.mjs +181 -145
- package/fesm2020/wacom.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/components/alert/README.md +34 -34
- package/src/lib/components/loader/README.md +34 -34
package/fesm2015/wacom.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import * as i2$1 from '@angular/common';
|
|
|
6
6
|
import { isPlatformServer, isPlatformBrowser, CommonModule } from '@angular/common';
|
|
7
7
|
import * as i2$2 from '@angular/common/http';
|
|
8
8
|
import { HttpHeaders, HttpClientModule } from '@angular/common/http';
|
|
9
|
-
import { throwError } from 'rxjs';
|
|
9
|
+
import { Subject, throwError } from 'rxjs';
|
|
10
10
|
import { first, catchError } from 'rxjs/operators';
|
|
11
11
|
import * as io from 'socket.io-client';
|
|
12
12
|
import { FormsModule } from '@angular/forms';
|
|
@@ -39,7 +39,6 @@ const DEFAULT_Alert = {
|
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
class CoreService {
|
|
42
|
-
//public cordova:any; // = cordova;
|
|
43
42
|
constructor(platformId) {
|
|
44
43
|
this.platformId = platformId;
|
|
45
44
|
this.ssr = isPlatformServer(this.platformId);
|
|
@@ -57,7 +56,6 @@ class CoreService {
|
|
|
57
56
|
removeItem: () => { },
|
|
58
57
|
clear: () => { }
|
|
59
58
|
};
|
|
60
|
-
;
|
|
61
59
|
this.document = {
|
|
62
60
|
querySelectorAll: () => { },
|
|
63
61
|
addEventListener: () => { },
|
|
@@ -65,7 +63,6 @@ class CoreService {
|
|
|
65
63
|
documentElement: {},
|
|
66
64
|
body: {},
|
|
67
65
|
};
|
|
68
|
-
;
|
|
69
66
|
this.window = {
|
|
70
67
|
location: {
|
|
71
68
|
host: ''
|
|
@@ -87,7 +84,7 @@ class CoreService {
|
|
|
87
84
|
this.navigator = navigator;
|
|
88
85
|
}
|
|
89
86
|
this.host = this.window.location.host.toLowerCase();
|
|
90
|
-
|
|
87
|
+
const userAgent = this.navigator.userAgent || this.navigator.vendor || this.window.opera;
|
|
91
88
|
if (/windows phone/i.test(userAgent)) {
|
|
92
89
|
this.device = "windows";
|
|
93
90
|
}
|
|
@@ -97,19 +94,20 @@ class CoreService {
|
|
|
97
94
|
else if (this.ios()) {
|
|
98
95
|
this.device = "ios";
|
|
99
96
|
}
|
|
100
|
-
else
|
|
97
|
+
else {
|
|
101
98
|
this.device = "web";
|
|
99
|
+
}
|
|
102
100
|
this.set_version();
|
|
103
101
|
}
|
|
104
102
|
set_version(version = '1.0.0') {
|
|
105
103
|
this.version = version;
|
|
106
104
|
this.document.addEventListener('deviceready', () => {
|
|
107
105
|
this.done('mobile');
|
|
108
|
-
if (
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
}
|
|
106
|
+
if (cordova.getAppVersion) {
|
|
107
|
+
cordova.getAppVersion.getVersionNumber((version) => {
|
|
108
|
+
this.version = version;
|
|
109
|
+
});
|
|
110
|
+
}
|
|
113
111
|
});
|
|
114
112
|
}
|
|
115
113
|
ios() {
|
|
@@ -133,12 +131,14 @@ class CoreService {
|
|
|
133
131
|
if (typeof obj != 'object')
|
|
134
132
|
return [];
|
|
135
133
|
let arr = [];
|
|
136
|
-
for (
|
|
134
|
+
for (const each in obj) {
|
|
137
135
|
if (obj[each]) {
|
|
138
|
-
if (holder)
|
|
136
|
+
if (holder) {
|
|
139
137
|
arr.push(each);
|
|
140
|
-
|
|
138
|
+
}
|
|
139
|
+
else {
|
|
141
140
|
arr.push(obj[each]);
|
|
141
|
+
}
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
return arr;
|
|
@@ -264,8 +264,9 @@ class CoreService {
|
|
|
264
264
|
}
|
|
265
265
|
;
|
|
266
266
|
emit(signal, doc = {}) {
|
|
267
|
-
if (!this.cb[signal])
|
|
267
|
+
if (!this.cb[signal]) {
|
|
268
268
|
this.cb[signal] = {};
|
|
269
|
+
}
|
|
269
270
|
for (let each in this.cb[signal]) {
|
|
270
271
|
if (typeof this.cb[signal][each] == 'function') {
|
|
271
272
|
this.cb[signal][each](doc);
|
|
@@ -273,14 +274,17 @@ class CoreService {
|
|
|
273
274
|
}
|
|
274
275
|
}
|
|
275
276
|
on(signal, cb) {
|
|
276
|
-
if (typeof cb !== 'function')
|
|
277
|
+
if (typeof cb !== 'function') {
|
|
277
278
|
return;
|
|
279
|
+
}
|
|
278
280
|
let id = Math.floor(Math.random() * Date.now()) + 1;
|
|
279
|
-
if (this._ids[id])
|
|
281
|
+
if (this._ids[id]) {
|
|
280
282
|
return this.on(signal, cb);
|
|
283
|
+
}
|
|
281
284
|
this._ids[id] = true;
|
|
282
|
-
if (!this.cb[signal])
|
|
285
|
+
if (!this.cb[signal]) {
|
|
283
286
|
this.cb[signal] = {};
|
|
287
|
+
}
|
|
284
288
|
this.cb[signal][id] = cb;
|
|
285
289
|
return () => {
|
|
286
290
|
this.cb[signal][id] = null;
|
|
@@ -305,19 +309,25 @@ class CoreService {
|
|
|
305
309
|
}
|
|
306
310
|
;
|
|
307
311
|
lock(which, func) {
|
|
308
|
-
if (typeof which === 'object' && which.__locked)
|
|
312
|
+
if (typeof which === 'object' && which.__locked) {
|
|
309
313
|
return;
|
|
310
|
-
|
|
314
|
+
}
|
|
315
|
+
else if (this.locked[which]) {
|
|
311
316
|
return;
|
|
312
|
-
|
|
317
|
+
}
|
|
318
|
+
if (typeof which === 'object') {
|
|
313
319
|
which.__locked = true;
|
|
314
|
-
|
|
320
|
+
}
|
|
321
|
+
else {
|
|
315
322
|
this.locked[which] = true;
|
|
323
|
+
}
|
|
316
324
|
func(() => {
|
|
317
|
-
if (typeof which === 'object')
|
|
325
|
+
if (typeof which === 'object') {
|
|
318
326
|
which.__locked = false;
|
|
319
|
-
|
|
327
|
+
}
|
|
328
|
+
else {
|
|
320
329
|
this.locked[which] = false;
|
|
330
|
+
}
|
|
321
331
|
});
|
|
322
332
|
}
|
|
323
333
|
copy(from, to) {
|
|
@@ -332,9 +342,9 @@ class CoreService {
|
|
|
332
342
|
}
|
|
333
343
|
}
|
|
334
344
|
}
|
|
335
|
-
CoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
336
|
-
CoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
337
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
345
|
+
CoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: CoreService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
346
|
+
CoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: CoreService, providedIn: 'root' });
|
|
347
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: CoreService, decorators: [{
|
|
338
348
|
type: Injectable,
|
|
339
349
|
args: [{
|
|
340
350
|
providedIn: 'root'
|
|
@@ -381,7 +391,7 @@ class MetaService {
|
|
|
381
391
|
}
|
|
382
392
|
setTag(tag, value, prop) {
|
|
383
393
|
if (tag === 'title' || tag === 'titleSuffix') {
|
|
384
|
-
throw new Error(`Attempt to set ${tag} through 'setTag': 'title' and 'titleSuffix' are reserved tag names.
|
|
394
|
+
throw new Error(`Attempt to set ${tag} through 'setTag': 'title' and 'titleSuffix' are reserved tag names.
|
|
385
395
|
Please use 'MetaService.setTitle' instead`);
|
|
386
396
|
}
|
|
387
397
|
let content = isDefined(value) ? value : (this._meta.defaults[tag] || '');
|
|
@@ -415,20 +425,20 @@ class MetaService {
|
|
|
415
425
|
&& (hasDefaultMeta || hasRouteMeta)
|
|
416
426
|
&& !(route.canActivate || []).some(hasMetaGuardInArr);
|
|
417
427
|
if (showWarning) {
|
|
418
|
-
console.warn(`Route with path "${route.path}" has ${hasRouteMeta ? '' : 'default '}meta tags, but does not use MetaGuard. \
|
|
428
|
+
console.warn(`Route with path "${route.path}" has ${hasRouteMeta ? '' : 'default '}meta tags, but does not use MetaGuard. \
|
|
419
429
|
Please add MetaGuard to the canActivate array in your route configuration`);
|
|
420
430
|
hasShownWarnings = true;
|
|
421
431
|
}
|
|
422
432
|
});
|
|
423
433
|
if (hasShownWarnings) {
|
|
424
|
-
console.warn(`To disable these warnings, set metaConfig.warnMissingGuard: false \
|
|
434
|
+
console.warn(`To disable these warnings, set metaConfig.warnMissingGuard: false \
|
|
425
435
|
in your ng2-meta MetaConfig passed to MetaModule.forRoot()`);
|
|
426
436
|
}
|
|
427
437
|
}
|
|
428
438
|
}
|
|
429
|
-
MetaService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
430
|
-
MetaService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
439
|
+
MetaService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: MetaService, deps: [{ token: i1.Router }, { token: i2.Meta }, { token: CoreService }, { token: i2.Title }, { token: i1.ActivatedRoute }, { token: CONFIG_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
440
|
+
MetaService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: MetaService });
|
|
441
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: MetaService, decorators: [{
|
|
432
442
|
type: Injectable
|
|
433
443
|
}], ctorParameters: function () {
|
|
434
444
|
return [{ type: i1.Router }, { type: i2.Meta }, { type: CoreService }, { type: i2.Title }, { type: i1.ActivatedRoute }, { type: undefined, decorators: [{
|
|
@@ -474,9 +484,9 @@ class MetaGuard {
|
|
|
474
484
|
}
|
|
475
485
|
}
|
|
476
486
|
MetaGuard.IDENTIFIER = 'MetaGuard';
|
|
477
|
-
MetaGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
478
|
-
MetaGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
479
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
487
|
+
MetaGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: MetaGuard, deps: [{ token: MetaService }, { token: CONFIG_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
488
|
+
MetaGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: MetaGuard });
|
|
489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: MetaGuard, decorators: [{
|
|
480
490
|
type: Injectable
|
|
481
491
|
}], ctorParameters: function () {
|
|
482
492
|
return [{ type: MetaService }, { type: undefined, decorators: [{
|
|
@@ -526,11 +536,11 @@ class AlertComponent {
|
|
|
526
536
|
}, 350);
|
|
527
537
|
}
|
|
528
538
|
}
|
|
529
|
-
AlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
530
|
-
AlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
539
|
+
AlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AlertComponent, deps: [{ token: i0.ElementRef }, { token: CoreService }], target: i0.ɵɵFactoryTarget.Component });
|
|
540
|
+
AlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: AlertComponent, selector: "alert", viewQueries: [{ propertyName: "alert", first: true, predicate: ["alert"], descendants: true }], ngImport: i0, template: "<div [ngClass]=\"class\" class=\"waw-alert-container height\" [class._close]=\"delete_animation\">\r\n\t<div [class.waw-alert-color-blue]=\"type=='info'\" [class.waw-alert-color-red]=\"type=='error'\" [class.waw-alert-color-green]=\"type=='success'\" [class.waw-alert-color-orange]=\"type=='warning'\" [class.waw-alert-color-yellow]=\"type=='question'\" class=\"waw-alert bounceInUp waw-alert-theme-light waw-alert-animateInside waw-alert-opened\" #alert>\r\n\t\t<div class=\"waw-alert__progress\" *ngIf=\"progress\"><span [ngStyle]=\"{'animation-duration': (timeout+350)/1000+'s'}\"></span></div>\r\n\t\t<div class=\"waw-alert-body\">\r\n\t\t\t<div *ngIf=\"!component\" class=\"waw-alert-texts\">\r\n\t\t\t\t<div *ngIf=\"icon\" class=\"{{icon}}\"></div>\r\n\t\t\t\t<div class=\"waw-alert-message slideIn\">{{text}}</div>\r\n\t\t\t</div>\r\n\t\t\t<div *ngIf=\"!component&&type=='question'\">\r\n\t\t\t\t<button class=\"alert-btn\" *ngFor=\"let b of buttons\" (click)=\"remove(); b.callback&&b.callback();\">{{b.text}}</button>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"waw-alert__close\" *ngIf=\"closable\" (click)=\"remove()\"></div>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n", styles: ["@keyframes iziT-bounceInUp{0%{opacity:0;transform:translateY(200px)}50%{opacity:1;transform:translateY(-10px)}70%{transform:translateY(5px)}to{transform:translateY(0)}}@keyframes iziT-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes iziT-fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:none}}@keyframes iziT-fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:none}}@keyframes iziT-bounceInLeft{0%{opacity:0;transform:translate(280px)}50%{opacity:1;transform:translate(-20px)}70%{transform:translate(10px)}to{transform:translate(0)}}@keyframes iziT-bounceInDown{0%{opacity:0;transform:translateY(-200px)}50%{opacity:1;transform:translateY(10px)}70%{transform:translateY(-5px)}to{transform:translateY(0)}}.alert-wrapper{position:fixed;bottom:50px;left:0;width:100%;height:60px;overflow:hidden}.alert{display:flex;align-items:center;width:auto;background:#3aed92;color:#fff;max-width:700px;margin:0 auto;transform:translateY(300px) scale(0);transition:.3s all ease-in-out}.alert._show{transform:translateY(0) scale(1);transition:.3s all ease-in-out}.alert-icon{min-width:60px;min-height:60px;position:relative;display:flex;justify-content:center;align-items:center;background-color:#2bd17d}.alert-icon:before{content:\"\";position:absolute;width:25px;height:25px;border-radius:50%;border:2px solid #fff}.alert-icon:after{content:\"\";position:absolute;top:22px;width:7px;height:11px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.alert-text{padding:0 20px;word-break:break-all;overflow:auto;height:60px}.alert-text .text-block{width:99%}.alert-text .text-block__text{text-overflow:ellipsis;overflow:hidden;white-space:pre}.alert-close{min-width:50px;margin-left:auto;font-size:25px;display:flex;justify-content:center;align-items:center}.font-bold{font-weight:700}.waw-alert__progress{bottom:0;position:absolute;width:100%;margin-bottom:0;border-radius:50px}.waw-alert__progress:hover span{animation-play-state:paused}.waw-alert__progress span{display:block;width:100%;height:2px;background-color:#a5a5a5ed;animation-name:waw-alert-progress;animation-duration:10s;border-radius:50px}.waw-alert__progress span._red{background-color:#ffafb4}.waw-alert__progress span._green{background-color:#a6efb8}.waw-alert__progress span._yellow{background-color:#fff9b2}.waw-alert__progress span._orange,.waw-alert__progress span._blue{background-color:#ffcfa5}.waw-alert__progress span._white{background-color:#fff}.waw-alert__progress span._black{background-color:#000}.waw-alert:hover .waw-alert__progress>span{animation-play-state:paused}.waw-alert__close{width:15px;height:15px;opacity:.3;position:relative;order:2}.waw-alert__close:hover{opacity:1}.waw-alert__close:before,.waw-alert__close:after{cursor:pointer;position:absolute;left:15px;content:\" \";height:12px;width:2px;background-color:#47525d}.waw-alert__close:before{transform:rotate(45deg)}.waw-alert__close:after{transform:rotate(-45deg)}@keyframes waw-alert-progress{0%{width:100%}to{width:0%}}.waw-alert-container{font-size:0;height:100px;width:100%;transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:.3s all ease-in-out;opacity:1}.waw-alert-container._close{opacity:0;transition:.3s all ease-in-out}.waw-alert{display:inline-block;clear:both;position:relative;font-family:Lato,Tahoma,Arial;font-size:14px;padding:8px 25px 9px 0;background:rgba(238,238,238,.9);border-color:#eeeeeee6;width:100%;pointer-events:all;cursor:default;transform:translate(0);-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;min-height:54px}.waw-alert>.waw-alert-progressbar{position:absolute;left:0;bottom:0;width:100%;z-index:1;background:rgba(255,255,255,.2)}.waw-alert>.waw-alert-progressbar>div{height:2px;width:100%;background:rgba(0,0,0,.3);border-radius:0 0 3px 3px}.waw-alert>.waw-alert-close{position:absolute;right:0;top:0;border:0;padding:0;opacity:.6;width:42px;height:100%;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAJPAAACTwBcGfW0QAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAD3SURBVFiF1ZdtDoMgDEBfdi4PwAX8vLFn0qT7wxantojKupmQmCi8R4tSACpgjC2ICCUbEBa8ingjsU1AXRBeR8aLN64FiknswN8CYefBBDQ3whuFESy7WyQMeC0ipEI0A+0FeBvHUFN8xPaUhAH/iKoWsnXHGegy4J0yxialOfaHJAz4bhRzQzgDvdGnz4GbAonZbCQMuBm1K/kcFu8Mp1N2cFFpsxsMuJqqbIGExGl4loARajU1twskJLLhIsID7+tvUoDnIjTg5T9DPH9EBrz8rxjPzciAl9+O8SxI8CzJ8CxKFfh3ynK8Dyb8wNHM/XDqejx/AtNyPO87tNybAAAAAElFTkSuQmCC) no-repeat 50% 50%;background-size:8px;cursor:pointer;outline:none}.waw-alert>.waw-alert-close:hover{opacity:1}.waw-alert>.waw-alert-body{position:relative;padding:0 0 0 10px;height:auto;min-height:36px;margin:0 0 0 15px;text-align:left;display:flex;justify-content:space-between;align-items:center}.waw-alert>.waw-alert-body:after{content:\"\";display:table;clear:both}.waw-alert>.waw-alert-body .waw-alert-texts{margin:10px 0 0;padding-right:2px;display:inline-block;float:left;display:flex;justify-content:space-between;align-items:center}.waw-alert>.waw-alert-body .waw-alert-icon{height:100%;position:absolute;left:0;top:50%;display:table;font-size:23px;line-height:24px;margin-top:-12px;color:#000;width:24px;height:24px}.waw-alert>.waw-alert-body .waw-alert-title{padding:0;margin:0 10px 0 0;line-height:16px;font-size:14px;text-align:left;float:left;color:#000;white-space:normal;font-weight:700}.waw-alert>.waw-alert-body .waw-alert-message{padding:0;font-size:14px;line-height:16px;text-align:left;float:left;color:#0009;white-space:normal}@media only screen and (min-width: 568px){.waw-alert-wrapper{padding:10px 15px}.waw-alert{margin:5px;border-radius:3px;width:auto}.waw-alert:after{content:\"\";z-index:-1;position:absolute;top:0;left:0;width:100%;height:100%;border-radius:3px;box-shadow:inset 0 -10px 20px -10px #0003,inset 0 0 5px #0000001a,0 8px 8px -5px #00000040}.waw-alert:not(.waw-alert-rtl) .waw-alert-cover{border-radius:3px 0 0 3px}.waw-alert.waw-alert-rtl .waw-alert-cover{border-radius:0 3px 3px 0}.waw-alert.waw-alert-color-dark:after{box-shadow:inset 0 -10px 20px -10px #ffffff4d,0 10px 10px -5px #00000040}.waw-alert.waw-alert-balloon .waw-alert-progressbar{background:transparent}.waw-alert.waw-alert-balloon:after{box-shadow:0 10px 10px -5px #00000040,inset 0 10px 20px -5px #00000040}.waw-alert-target .waw-alert:after{box-shadow:inset 0 -10px 20px -10px #0003,inset 0 0 5px #0000001a}}.waw-alert.waw-alert-theme-dark{background:#565c70;border-color:#565c70}.waw-alert.waw-alert-theme-dark .waw-alert-title{color:#fff}.waw-alert.waw-alert-theme-dark .waw-alert-message{color:#ffffffb3;font-weight:300}.waw-alert.waw-alert-theme-dark .waw-alert-icon{color:#fff}.waw-alert.waw-alert-color-red{background:rgba(255,175,180,.9);border-color:#ffafb4e6}.waw-alert.waw-alert-color-orange{background:rgba(255,207,165,.9);border-color:#ffcfa5e6}.waw-alert.waw-alert-color-yellow{background:rgba(255,249,178,.9);border-color:#fff9b2e6}.waw-alert.waw-alert-color-blue{background:rgba(157,222,255,.9);border-color:#9ddeffe6}.waw-alert.waw-alert-color-green{background:rgba(166,239,184,.9);border-color:#a6efb8e6}.waw-alert.slideIn,.waw-alert .slideIn{animation:iziT-slideIn 1s cubic-bezier(.16,.81,.32,1) both}.waw-alert.bounceInLeft{animation:iziT-bounceInLeft .7s ease-in-out both}.waw-alert.bounceInRight{animation:iziT-bounceInRight .85s ease-in-out both}.waw-alert.bounceInDown{animation:iziT-bounceInDown .7s ease-in-out both}.waw-alert.bounceInUp{animation:iziT-bounceInUp .7s ease-in-out both}.height{height:auto!important}\n"], dependencies: [{ kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AlertComponent, decorators: [{
|
|
532
542
|
type: Component,
|
|
533
|
-
args: [{ selector: 'alert', template: "<div [ngClass]=\"class\" class=\"waw-alert-container height\" [class._close]=\"delete_animation\">\n\t<div [class.waw-alert-color-blue]=\"type=='info'\" [class.waw-alert-color-red]=\"type=='error'\" [class.waw-alert-color-green]=\"type=='success'\" [class.waw-alert-color-orange]=\"type=='warning'\" [class.waw-alert-color-yellow]=\"type=='question'\" class=\"waw-alert bounceInUp waw-alert-theme-light waw-alert-animateInside waw-alert-opened\" #alert>\n\t\t<div class=\"waw-alert__progress\" *ngIf=\"progress\"><span [ngStyle]=\"{'animation-duration': (timeout+350)/1000+'s'}\"></span></div>\n\t\t<div class=\"waw-alert-body\">\n\t\t\t<div *ngIf=\"!component\" class=\"waw-alert-texts\">\n\t\t\t\t<div *ngIf=\"icon\" class=\"{{icon}}\"></div>\n\t\t\t\t<div class=\"waw-alert-message slideIn\">{{text}}</div>\n\t\t\t</div>\n\t\t\t<div *ngIf=\"!component&&type=='question'\">\n\t\t\t\t<button class=\"alert-btn\" *ngFor=\"let b of buttons\" (click)=\"remove(); b.callback&&b.callback();\">{{b.text}}</button>\n\t\t\t</div>\n\t\t\t<div class=\"waw-alert__close\" *ngIf=\"closable\" (click)=\"remove()\"></div>\n\t\t</div>\n\t</div>\n</div>\n", styles: ["@keyframes iziT-bounceInUp{0%{opacity:0;transform:translateY(200px)}50%{opacity:1;transform:translateY(-10px)}70%{transform:translateY(5px)}to{transform:translateY(0)}}@keyframes iziT-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes iziT-fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:none}}@keyframes iziT-fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:none}}@keyframes iziT-bounceInLeft{0%{opacity:0;transform:translate(280px)}50%{opacity:1;transform:translate(-20px)}70%{transform:translate(10px)}to{transform:translate(0)}}@keyframes iziT-bounceInDown{0%{opacity:0;transform:translateY(-200px)}50%{opacity:1;transform:translateY(10px)}70%{transform:translateY(-5px)}to{transform:translateY(0)}}.alert-wrapper{position:fixed;bottom:50px;left:0;width:100%;height:60px;overflow:hidden}.alert{display:flex;align-items:center;width:auto;background:#3aed92;color:#fff;max-width:700px;margin:0 auto;transform:translateY(300px) scale(0);transition:.3s all ease-in-out}.alert._show{transform:translateY(0) scale(1);transition:.3s all ease-in-out}.alert-icon{min-width:60px;min-height:60px;position:relative;display:flex;justify-content:center;align-items:center;background-color:#2bd17d}.alert-icon:before{content:\"\";position:absolute;width:25px;height:25px;border-radius:50%;border:2px solid #fff}.alert-icon:after{content:\"\";position:absolute;top:22px;width:7px;height:11px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.alert-text{padding:0 20px;word-break:break-all;overflow:auto;height:60px}.alert-text .text-block{width:99%}.alert-text .text-block__text{text-overflow:ellipsis;overflow:hidden;white-space:pre}.alert-close{min-width:50px;margin-left:auto;font-size:25px;display:flex;justify-content:center;align-items:center}.font-bold{font-weight:700}.waw-alert__progress{bottom:0;position:absolute;width:100%;margin-bottom:0;border-radius:50px}.waw-alert__progress:hover span{animation-play-state:paused}.waw-alert__progress span{display:block;width:100%;height:2px;background-color:#a5a5a5ed;animation-name:waw-alert-progress;animation-duration:10s;border-radius:50px}.waw-alert__progress span._red{background-color:#ffafb4}.waw-alert__progress span._green{background-color:#a6efb8}.waw-alert__progress span._yellow{background-color:#fff9b2}.waw-alert__progress span._orange,.waw-alert__progress span._blue{background-color:#ffcfa5}.waw-alert__progress span._white{background-color:#fff}.waw-alert__progress span._black{background-color:#000}.waw-alert:hover .waw-alert__progress>span{animation-play-state:paused}.waw-alert__close{width:15px;height:15px;opacity:.3;position:relative;order:2}.waw-alert__close:hover{opacity:1}.waw-alert__close:before,.waw-alert__close:after{cursor:pointer;position:absolute;left:15px;content:\" \";height:12px;width:2px;background-color:#47525d}.waw-alert__close:before{transform:rotate(45deg)}.waw-alert__close:after{transform:rotate(-45deg)}@keyframes waw-alert-progress{0%{width:100%}to{width:0%}}.waw-alert-container{font-size:0;height:100px;width:100%;transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:.3s all ease-in-out;opacity:1}.waw-alert-container._close{opacity:0;transition:.3s all ease-in-out}.waw-alert{display:inline-block;clear:both;position:relative;font-family:Lato,Tahoma,Arial;font-size:14px;padding:8px 25px 9px 0;background:rgba(238,238,238,.9);border-color:#eeeeeee6;width:100%;pointer-events:all;cursor:default;transform:translate(0);-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;min-height:54px}.waw-alert>.waw-alert-progressbar{position:absolute;left:0;bottom:0;width:100%;z-index:1;background:rgba(255,255,255,.2)}.waw-alert>.waw-alert-progressbar>div{height:2px;width:100%;background:rgba(0,0,0,.3);border-radius:0 0 3px 3px}.waw-alert>.waw-alert-close{position:absolute;right:0;top:0;border:0;padding:0;opacity:.6;width:42px;height:100%;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAJPAAACTwBcGfW0QAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAD3SURBVFiF1ZdtDoMgDEBfdi4PwAX8vLFn0qT7wxantojKupmQmCi8R4tSACpgjC2ICCUbEBa8ingjsU1AXRBeR8aLN64FiknswN8CYefBBDQ3whuFESy7WyQMeC0ipEI0A+0FeBvHUFN8xPaUhAH/iKoWsnXHGegy4J0yxialOfaHJAz4bhRzQzgDvdGnz4GbAonZbCQMuBm1K/kcFu8Mp1N2cFFpsxsMuJqqbIGExGl4loARajU1twskJLLhIsID7+tvUoDnIjTg5T9DPH9EBrz8rxjPzciAl9+O8SxI8CzJ8CxKFfh3ynK8Dyb8wNHM/XDqejx/AtNyPO87tNybAAAAAElFTkSuQmCC) no-repeat 50% 50%;background-size:8px;cursor:pointer;outline:none}.waw-alert>.waw-alert-close:hover{opacity:1}.waw-alert>.waw-alert-body{position:relative;padding:0 0 0 10px;height:auto;min-height:36px;margin:0 0 0 15px;text-align:left;display:flex;justify-content:space-between;align-items:center}.waw-alert>.waw-alert-body:after{content:\"\";display:table;clear:both}.waw-alert>.waw-alert-body .waw-alert-texts{margin:10px 0 0;padding-right:2px;display:inline-block;float:left;display:flex;justify-content:space-between;align-items:center}.waw-alert>.waw-alert-body .waw-alert-icon{height:100%;position:absolute;left:0;top:50%;display:table;font-size:23px;line-height:24px;margin-top:-12px;color:#000;width:24px;height:24px}.waw-alert>.waw-alert-body .waw-alert-title{padding:0;margin:0 10px 0 0;line-height:16px;font-size:14px;text-align:left;float:left;color:#000;white-space:normal;font-weight:700}.waw-alert>.waw-alert-body .waw-alert-message{padding:0;font-size:14px;line-height:16px;text-align:left;float:left;color:#0009;white-space:normal}@media only screen and (min-width: 568px){.waw-alert-wrapper{padding:10px 15px}.waw-alert{margin:5px;border-radius:3px;width:auto}.waw-alert:after{content:\"\";z-index:-1;position:absolute;top:0;left:0;width:100%;height:100%;border-radius:3px;box-shadow:inset 0 -10px 20px -10px #0003,inset 0 0 5px #0000001a,0 8px 8px -5px #00000040}.waw-alert:not(.waw-alert-rtl) .waw-alert-cover{border-radius:3px 0 0 3px}.waw-alert.waw-alert-rtl .waw-alert-cover{border-radius:0 3px 3px 0}.waw-alert.waw-alert-color-dark:after{box-shadow:inset 0 -10px 20px -10px #ffffff4d,0 10px 10px -5px #00000040}.waw-alert.waw-alert-balloon .waw-alert-progressbar{background:transparent}.waw-alert.waw-alert-balloon:after{box-shadow:0 10px 10px -5px #00000040,inset 0 10px 20px -5px #00000040}.waw-alert-target .waw-alert:after{box-shadow:inset 0 -10px 20px -10px #0003,inset 0 0 5px #0000001a}}.waw-alert.waw-alert-theme-dark{background:#565c70;border-color:#565c70}.waw-alert.waw-alert-theme-dark .waw-alert-title{color:#fff}.waw-alert.waw-alert-theme-dark .waw-alert-message{color:#ffffffb3;font-weight:300}.waw-alert.waw-alert-theme-dark .waw-alert-icon{color:#fff}.waw-alert.waw-alert-color-red{background:rgba(255,175,180,.9);border-color:#ffafb4e6}.waw-alert.waw-alert-color-orange{background:rgba(255,207,165,.9);border-color:#ffcfa5e6}.waw-alert.waw-alert-color-yellow{background:rgba(255,249,178,.9);border-color:#fff9b2e6}.waw-alert.waw-alert-color-blue{background:rgba(157,222,255,.9);border-color:#9ddeffe6}.waw-alert.waw-alert-color-green{background:rgba(166,239,184,.9);border-color:#a6efb8e6}.waw-alert.slideIn,.waw-alert .slideIn{animation:iziT-slideIn 1s cubic-bezier(.16,.81,.32,1) both}.waw-alert.bounceInLeft{animation:iziT-bounceInLeft .7s ease-in-out both}.waw-alert.bounceInRight{animation:iziT-bounceInRight .85s ease-in-out both}.waw-alert.bounceInDown{animation:iziT-bounceInDown .7s ease-in-out both}.waw-alert.bounceInUp{animation:iziT-bounceInUp .7s ease-in-out both}.height{height:auto!important}\n"] }]
|
|
543
|
+
args: [{ selector: 'alert', template: "<div [ngClass]=\"class\" class=\"waw-alert-container height\" [class._close]=\"delete_animation\">\r\n\t<div [class.waw-alert-color-blue]=\"type=='info'\" [class.waw-alert-color-red]=\"type=='error'\" [class.waw-alert-color-green]=\"type=='success'\" [class.waw-alert-color-orange]=\"type=='warning'\" [class.waw-alert-color-yellow]=\"type=='question'\" class=\"waw-alert bounceInUp waw-alert-theme-light waw-alert-animateInside waw-alert-opened\" #alert>\r\n\t\t<div class=\"waw-alert__progress\" *ngIf=\"progress\"><span [ngStyle]=\"{'animation-duration': (timeout+350)/1000+'s'}\"></span></div>\r\n\t\t<div class=\"waw-alert-body\">\r\n\t\t\t<div *ngIf=\"!component\" class=\"waw-alert-texts\">\r\n\t\t\t\t<div *ngIf=\"icon\" class=\"{{icon}}\"></div>\r\n\t\t\t\t<div class=\"waw-alert-message slideIn\">{{text}}</div>\r\n\t\t\t</div>\r\n\t\t\t<div *ngIf=\"!component&&type=='question'\">\r\n\t\t\t\t<button class=\"alert-btn\" *ngFor=\"let b of buttons\" (click)=\"remove(); b.callback&&b.callback();\">{{b.text}}</button>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"waw-alert__close\" *ngIf=\"closable\" (click)=\"remove()\"></div>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n", styles: ["@keyframes iziT-bounceInUp{0%{opacity:0;transform:translateY(200px)}50%{opacity:1;transform:translateY(-10px)}70%{transform:translateY(5px)}to{transform:translateY(0)}}@keyframes iziT-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes iziT-fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:none}}@keyframes iziT-fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:none}}@keyframes iziT-bounceInLeft{0%{opacity:0;transform:translate(280px)}50%{opacity:1;transform:translate(-20px)}70%{transform:translate(10px)}to{transform:translate(0)}}@keyframes iziT-bounceInDown{0%{opacity:0;transform:translateY(-200px)}50%{opacity:1;transform:translateY(10px)}70%{transform:translateY(-5px)}to{transform:translateY(0)}}.alert-wrapper{position:fixed;bottom:50px;left:0;width:100%;height:60px;overflow:hidden}.alert{display:flex;align-items:center;width:auto;background:#3aed92;color:#fff;max-width:700px;margin:0 auto;transform:translateY(300px) scale(0);transition:.3s all ease-in-out}.alert._show{transform:translateY(0) scale(1);transition:.3s all ease-in-out}.alert-icon{min-width:60px;min-height:60px;position:relative;display:flex;justify-content:center;align-items:center;background-color:#2bd17d}.alert-icon:before{content:\"\";position:absolute;width:25px;height:25px;border-radius:50%;border:2px solid #fff}.alert-icon:after{content:\"\";position:absolute;top:22px;width:7px;height:11px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.alert-text{padding:0 20px;word-break:break-all;overflow:auto;height:60px}.alert-text .text-block{width:99%}.alert-text .text-block__text{text-overflow:ellipsis;overflow:hidden;white-space:pre}.alert-close{min-width:50px;margin-left:auto;font-size:25px;display:flex;justify-content:center;align-items:center}.font-bold{font-weight:700}.waw-alert__progress{bottom:0;position:absolute;width:100%;margin-bottom:0;border-radius:50px}.waw-alert__progress:hover span{animation-play-state:paused}.waw-alert__progress span{display:block;width:100%;height:2px;background-color:#a5a5a5ed;animation-name:waw-alert-progress;animation-duration:10s;border-radius:50px}.waw-alert__progress span._red{background-color:#ffafb4}.waw-alert__progress span._green{background-color:#a6efb8}.waw-alert__progress span._yellow{background-color:#fff9b2}.waw-alert__progress span._orange,.waw-alert__progress span._blue{background-color:#ffcfa5}.waw-alert__progress span._white{background-color:#fff}.waw-alert__progress span._black{background-color:#000}.waw-alert:hover .waw-alert__progress>span{animation-play-state:paused}.waw-alert__close{width:15px;height:15px;opacity:.3;position:relative;order:2}.waw-alert__close:hover{opacity:1}.waw-alert__close:before,.waw-alert__close:after{cursor:pointer;position:absolute;left:15px;content:\" \";height:12px;width:2px;background-color:#47525d}.waw-alert__close:before{transform:rotate(45deg)}.waw-alert__close:after{transform:rotate(-45deg)}@keyframes waw-alert-progress{0%{width:100%}to{width:0%}}.waw-alert-container{font-size:0;height:100px;width:100%;transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:.3s all ease-in-out;opacity:1}.waw-alert-container._close{opacity:0;transition:.3s all ease-in-out}.waw-alert{display:inline-block;clear:both;position:relative;font-family:Lato,Tahoma,Arial;font-size:14px;padding:8px 25px 9px 0;background:rgba(238,238,238,.9);border-color:#eeeeeee6;width:100%;pointer-events:all;cursor:default;transform:translate(0);-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;min-height:54px}.waw-alert>.waw-alert-progressbar{position:absolute;left:0;bottom:0;width:100%;z-index:1;background:rgba(255,255,255,.2)}.waw-alert>.waw-alert-progressbar>div{height:2px;width:100%;background:rgba(0,0,0,.3);border-radius:0 0 3px 3px}.waw-alert>.waw-alert-close{position:absolute;right:0;top:0;border:0;padding:0;opacity:.6;width:42px;height:100%;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAJPAAACTwBcGfW0QAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAD3SURBVFiF1ZdtDoMgDEBfdi4PwAX8vLFn0qT7wxantojKupmQmCi8R4tSACpgjC2ICCUbEBa8ingjsU1AXRBeR8aLN64FiknswN8CYefBBDQ3whuFESy7WyQMeC0ipEI0A+0FeBvHUFN8xPaUhAH/iKoWsnXHGegy4J0yxialOfaHJAz4bhRzQzgDvdGnz4GbAonZbCQMuBm1K/kcFu8Mp1N2cFFpsxsMuJqqbIGExGl4loARajU1twskJLLhIsID7+tvUoDnIjTg5T9DPH9EBrz8rxjPzciAl9+O8SxI8CzJ8CxKFfh3ynK8Dyb8wNHM/XDqejx/AtNyPO87tNybAAAAAElFTkSuQmCC) no-repeat 50% 50%;background-size:8px;cursor:pointer;outline:none}.waw-alert>.waw-alert-close:hover{opacity:1}.waw-alert>.waw-alert-body{position:relative;padding:0 0 0 10px;height:auto;min-height:36px;margin:0 0 0 15px;text-align:left;display:flex;justify-content:space-between;align-items:center}.waw-alert>.waw-alert-body:after{content:\"\";display:table;clear:both}.waw-alert>.waw-alert-body .waw-alert-texts{margin:10px 0 0;padding-right:2px;display:inline-block;float:left;display:flex;justify-content:space-between;align-items:center}.waw-alert>.waw-alert-body .waw-alert-icon{height:100%;position:absolute;left:0;top:50%;display:table;font-size:23px;line-height:24px;margin-top:-12px;color:#000;width:24px;height:24px}.waw-alert>.waw-alert-body .waw-alert-title{padding:0;margin:0 10px 0 0;line-height:16px;font-size:14px;text-align:left;float:left;color:#000;white-space:normal;font-weight:700}.waw-alert>.waw-alert-body .waw-alert-message{padding:0;font-size:14px;line-height:16px;text-align:left;float:left;color:#0009;white-space:normal}@media only screen and (min-width: 568px){.waw-alert-wrapper{padding:10px 15px}.waw-alert{margin:5px;border-radius:3px;width:auto}.waw-alert:after{content:\"\";z-index:-1;position:absolute;top:0;left:0;width:100%;height:100%;border-radius:3px;box-shadow:inset 0 -10px 20px -10px #0003,inset 0 0 5px #0000001a,0 8px 8px -5px #00000040}.waw-alert:not(.waw-alert-rtl) .waw-alert-cover{border-radius:3px 0 0 3px}.waw-alert.waw-alert-rtl .waw-alert-cover{border-radius:0 3px 3px 0}.waw-alert.waw-alert-color-dark:after{box-shadow:inset 0 -10px 20px -10px #ffffff4d,0 10px 10px -5px #00000040}.waw-alert.waw-alert-balloon .waw-alert-progressbar{background:transparent}.waw-alert.waw-alert-balloon:after{box-shadow:0 10px 10px -5px #00000040,inset 0 10px 20px -5px #00000040}.waw-alert-target .waw-alert:after{box-shadow:inset 0 -10px 20px -10px #0003,inset 0 0 5px #0000001a}}.waw-alert.waw-alert-theme-dark{background:#565c70;border-color:#565c70}.waw-alert.waw-alert-theme-dark .waw-alert-title{color:#fff}.waw-alert.waw-alert-theme-dark .waw-alert-message{color:#ffffffb3;font-weight:300}.waw-alert.waw-alert-theme-dark .waw-alert-icon{color:#fff}.waw-alert.waw-alert-color-red{background:rgba(255,175,180,.9);border-color:#ffafb4e6}.waw-alert.waw-alert-color-orange{background:rgba(255,207,165,.9);border-color:#ffcfa5e6}.waw-alert.waw-alert-color-yellow{background:rgba(255,249,178,.9);border-color:#fff9b2e6}.waw-alert.waw-alert-color-blue{background:rgba(157,222,255,.9);border-color:#9ddeffe6}.waw-alert.waw-alert-color-green{background:rgba(166,239,184,.9);border-color:#a6efb8e6}.waw-alert.slideIn,.waw-alert .slideIn{animation:iziT-slideIn 1s cubic-bezier(.16,.81,.32,1) both}.waw-alert.bounceInLeft{animation:iziT-bounceInLeft .7s ease-in-out both}.waw-alert.bounceInRight{animation:iziT-bounceInRight .85s ease-in-out both}.waw-alert.bounceInDown{animation:iziT-bounceInDown .7s ease-in-out both}.waw-alert.bounceInUp{animation:iziT-bounceInUp .7s ease-in-out both}.height{height:auto!important}\n"] }]
|
|
534
544
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: CoreService }]; }, propDecorators: { alert: [{
|
|
535
545
|
type: ViewChild,
|
|
536
546
|
args: ['alert', { static: false }]
|
|
@@ -556,11 +566,11 @@ class ModalComponent {
|
|
|
556
566
|
}, this.timestart || 0);
|
|
557
567
|
}
|
|
558
568
|
}
|
|
559
|
-
ModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
560
|
-
ModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
569
|
+
ModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
570
|
+
ModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: ModalComponent, selector: "lib-modal", ngImport: i0, template: "<div [hidden]=\"!showModal\" class=\"modal\" [ngClass]=\"class+' '+size\" (click)=\"onClickOutside();\">\r\n\t<div class=\"modal-content\" (click)=\"$event.stopPropagation();\">\r\n\t\t<div><!-- Content Will Drop Here --></div>\r\n\t\t<span class=\"close\" (click)=\"close()\" *ngIf=\"closable\">×</span>\r\n\t</div>\r\n</div>", styles: [".modal{position:fixed;z-index:9999;left:0;top:0;width:100%;height:100%;overflow-y:auto;background-color:#000;background-color:#00000080}.modal-content{position:relative;background-color:#fff;margin:15% auto;padding:20px;border:1px solid #888;min-width:20%;max-width:80%}.close{color:#aaa;position:absolute;right:10px;top:3px;font-size:32px;line-height:1}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ModalComponent, decorators: [{
|
|
562
572
|
type: Component,
|
|
563
|
-
args: [{ selector: 'lib-modal', template: "<div [hidden]=\"!showModal\" class=\"modal\" [ngClass]=\"class+' '+size\" (click)=\"onClickOutside();\">\n\t<div class=\"modal-content\" (click)=\"$event.stopPropagation();\">\n\t\t<div><!-- Content Will Drop Here --></div>\n\t\t<span class=\"close\" (click)=\"close()\" *ngIf=\"closable\">×</span>\n\t</div>\n</div>", styles: [".modal{position:fixed;z-index:9999;left:0;top:0;width:100%;height:100%;overflow-y:auto;background-color:#000;background-color:#00000080}.modal-content{position:relative;background-color:#fff;margin:15% auto;padding:20px;border:1px solid #888;min-width:20%;max-width:80%}.close{color:#aaa;position:absolute;right:10px;top:3px;font-size:32px;line-height:1}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer}\n"] }]
|
|
573
|
+
args: [{ selector: 'lib-modal', template: "<div [hidden]=\"!showModal\" class=\"modal\" [ngClass]=\"class+' '+size\" (click)=\"onClickOutside();\">\r\n\t<div class=\"modal-content\" (click)=\"$event.stopPropagation();\">\r\n\t\t<div><!-- Content Will Drop Here --></div>\r\n\t\t<span class=\"close\" (click)=\"close()\" *ngIf=\"closable\">×</span>\r\n\t</div>\r\n</div>", styles: [".modal{position:fixed;z-index:9999;left:0;top:0;width:100%;height:100%;overflow-y:auto;background-color:#000;background-color:#00000080}.modal-content{position:relative;background-color:#fff;margin:15% auto;padding:20px;border:1px solid #888;min-width:20%;max-width:80%}.close{color:#aaa;position:absolute;right:10px;top:3px;font-size:32px;line-height:1}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer}\n"] }]
|
|
564
574
|
}], ctorParameters: function () { return []; } });
|
|
565
575
|
|
|
566
576
|
class LoaderComponent {
|
|
@@ -579,11 +589,11 @@ class LoaderComponent {
|
|
|
579
589
|
}
|
|
580
590
|
}
|
|
581
591
|
}
|
|
582
|
-
LoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
583
|
-
LoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
584
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
592
|
+
LoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: LoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
593
|
+
LoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: LoaderComponent, selector: "lib-loader", viewQueries: [{ propertyName: "loader", first: true, predicate: ["loader"], descendants: true }], ngImport: i0, template: "<div style=\"position: fixed; width: 100%; height: 100%; left: 0; top: 0; background-color: #334d6e; display: flex; justify-content: center; align-items: center; z-index: 999999;\" #loader>\r\n\t<span class=\"close\" (click)=\"close()\" *ngIf=\"closable\">×</span>\r\n\t<span style=\"font-size: 30px; color: white;\">\r\n\t\t{{text}}\r\n\t</span>\r\n</div>", styles: [".close{color:#aaa;position:absolute;right:20px;top:20px;font-size:32px;line-height:1}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
594
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: LoaderComponent, decorators: [{
|
|
585
595
|
type: Component,
|
|
586
|
-
args: [{ selector: 'lib-loader', template: "<div style=\"position: fixed; width: 100%; height: 100%; left: 0; top: 0; background-color: #334d6e; display: flex; justify-content: center; align-items: center; z-index: 999999;\" #loader>\n\t<span class=\"close\" (click)=\"close()\" *ngIf=\"closable\">×</span>\n\t<span style=\"font-size: 30px; color: white;\">\n\t\t{{text}}\n\t</span>\n</div>", styles: [".close{color:#aaa;position:absolute;right:20px;top:20px;font-size:32px;line-height:1}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer}\n"] }]
|
|
596
|
+
args: [{ selector: 'lib-loader', template: "<div style=\"position: fixed; width: 100%; height: 100%; left: 0; top: 0; background-color: #334d6e; display: flex; justify-content: center; align-items: center; z-index: 999999;\" #loader>\r\n\t<span class=\"close\" (click)=\"close()\" *ngIf=\"closable\">×</span>\r\n\t<span style=\"font-size: 30px; color: white;\">\r\n\t\t{{text}}\r\n\t</span>\r\n</div>", styles: [".close{color:#aaa;position:absolute;right:20px;top:20px;font-size:32px;line-height:1}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer}\n"] }]
|
|
587
597
|
}], ctorParameters: function () { return []; }, propDecorators: { loader: [{
|
|
588
598
|
type: ViewChild,
|
|
589
599
|
args: ['loader', { static: false }]
|
|
@@ -737,10 +747,10 @@ class ClickOutsideDirective {
|
|
|
737
747
|
});
|
|
738
748
|
}
|
|
739
749
|
}
|
|
740
|
-
ClickOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
741
|
-
ClickOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
742
|
-
ClickOutsideDirective.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
743
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
750
|
+
ClickOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ClickOutsideDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: CoreService }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Directive });
|
|
751
|
+
ClickOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: ClickOutsideDirective, selector: "[clickOutside]", inputs: { clickOutsideEnabled: "clickOutsideEnabled", attachOutsideOnClick: "attachOutsideOnClick", delayClickOutsideInit: "delayClickOutsideInit", emitOnBlur: "emitOnBlur", exclude: "exclude", excludeBeforeClick: "excludeBeforeClick", clickOutsideEvents: "clickOutsideEvents" }, outputs: { clickOutside: "clickOutside" }, usesOnChanges: true, ngImport: i0 });
|
|
752
|
+
ClickOutsideDirective.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ClickOutsideDirective });
|
|
753
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ClickOutsideDirective, decorators: [{
|
|
744
754
|
type: Injectable
|
|
745
755
|
}, {
|
|
746
756
|
type: Directive,
|
|
@@ -801,9 +811,9 @@ class ArrPipe {
|
|
|
801
811
|
return arr;
|
|
802
812
|
}
|
|
803
813
|
}
|
|
804
|
-
ArrPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
805
|
-
ArrPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
806
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
814
|
+
ArrPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ArrPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
815
|
+
ArrPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.1", ngImport: i0, type: ArrPipe, name: "arr" });
|
|
816
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ArrPipe, decorators: [{
|
|
807
817
|
type: Pipe,
|
|
808
818
|
args: [{
|
|
809
819
|
name: 'arr'
|
|
@@ -818,9 +828,9 @@ class MongodatePipe {
|
|
|
818
828
|
return new Date(parseInt(timestamp, 16) * 1000);
|
|
819
829
|
}
|
|
820
830
|
}
|
|
821
|
-
MongodatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
822
|
-
MongodatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
831
|
+
MongodatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: MongodatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
832
|
+
MongodatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.1", ngImport: i0, type: MongodatePipe, name: "mongodate" });
|
|
833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: MongodatePipe, decorators: [{
|
|
824
834
|
type: Pipe,
|
|
825
835
|
args: [{
|
|
826
836
|
name: 'mongodate'
|
|
@@ -850,9 +860,9 @@ class PaginationPipe {
|
|
|
850
860
|
;
|
|
851
861
|
}
|
|
852
862
|
}
|
|
853
|
-
PaginationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
854
|
-
PaginationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
855
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
863
|
+
PaginationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: PaginationPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
864
|
+
PaginationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.1", ngImport: i0, type: PaginationPipe, name: "page", pure: false });
|
|
865
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: PaginationPipe, decorators: [{
|
|
856
866
|
type: Pipe,
|
|
857
867
|
args: [{
|
|
858
868
|
name: 'page',
|
|
@@ -868,9 +878,9 @@ class SafePipe {
|
|
|
868
878
|
return this.sanitizer.bypassSecurityTrustResourceUrl(html);
|
|
869
879
|
}
|
|
870
880
|
}
|
|
871
|
-
SafePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
872
|
-
SafePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
873
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
881
|
+
SafePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: SafePipe, deps: [{ token: i2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
882
|
+
SafePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.1", ngImport: i0, type: SafePipe, name: "safe" });
|
|
883
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: SafePipe, decorators: [{
|
|
874
884
|
type: Pipe,
|
|
875
885
|
args: [{ name: 'safe' }]
|
|
876
886
|
}], ctorParameters: function () { return [{ type: i2.DomSanitizer }]; } });
|
|
@@ -973,9 +983,9 @@ class SearchPipe {
|
|
|
973
983
|
return _arr;
|
|
974
984
|
}
|
|
975
985
|
}
|
|
976
|
-
SearchPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
977
|
-
SearchPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
978
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
986
|
+
SearchPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: SearchPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
987
|
+
SearchPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.1", ngImport: i0, type: SearchPipe, name: "search" });
|
|
988
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: SearchPipe, decorators: [{
|
|
979
989
|
type: Pipe,
|
|
980
990
|
args: [{
|
|
981
991
|
name: 'search'
|
|
@@ -1038,9 +1048,9 @@ class SplicePipe {
|
|
|
1038
1048
|
return arr;
|
|
1039
1049
|
}
|
|
1040
1050
|
}
|
|
1041
|
-
SplicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
1042
|
-
SplicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
1043
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
1051
|
+
SplicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: SplicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1052
|
+
SplicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.1", ngImport: i0, type: SplicePipe, name: "splice" });
|
|
1053
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: SplicePipe, decorators: [{
|
|
1044
1054
|
type: Pipe,
|
|
1045
1055
|
args: [{
|
|
1046
1056
|
name: 'splice'
|
|
@@ -1055,9 +1065,9 @@ class BaseService {
|
|
|
1055
1065
|
};
|
|
1056
1066
|
}
|
|
1057
1067
|
}
|
|
1058
|
-
BaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
1059
|
-
BaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
1060
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
1068
|
+
BaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: BaseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1069
|
+
BaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: BaseService, providedIn: 'root' });
|
|
1070
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: BaseService, decorators: [{
|
|
1061
1071
|
type: Injectable,
|
|
1062
1072
|
args: [{
|
|
1063
1073
|
providedIn: 'root'
|
|
@@ -1135,9 +1145,9 @@ class StoreService {
|
|
|
1135
1145
|
}
|
|
1136
1146
|
}
|
|
1137
1147
|
}
|
|
1138
|
-
StoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
1139
|
-
StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
1140
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
1148
|
+
StoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: StoreService, deps: [{ token: CONFIG_TOKEN, optional: true }, { token: CoreService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1149
|
+
StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: StoreService, providedIn: 'root' });
|
|
1150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: StoreService, decorators: [{
|
|
1141
1151
|
type: Injectable,
|
|
1142
1152
|
args: [{
|
|
1143
1153
|
providedIn: 'root'
|
|
@@ -1221,18 +1231,23 @@ class HttpService {
|
|
|
1221
1231
|
this.post(url, doc, callback, opts);
|
|
1222
1232
|
}, 100);
|
|
1223
1233
|
}
|
|
1234
|
+
const subject = new Subject();
|
|
1224
1235
|
const observable = this.http.post((opts.url || this.url) + url, doc, {
|
|
1225
|
-
headers:
|
|
1236
|
+
headers: this.http_headers
|
|
1226
1237
|
});
|
|
1227
1238
|
observable.pipe(first(), catchError(this.handleError(opts.err))).subscribe(resp => {
|
|
1228
1239
|
if (typeof this._http.replace === 'function') {
|
|
1229
|
-
this._http.replace(resp,
|
|
1240
|
+
this._http.replace(resp, () => {
|
|
1241
|
+
callback(resp);
|
|
1242
|
+
subject.next(resp);
|
|
1243
|
+
});
|
|
1230
1244
|
}
|
|
1231
1245
|
else {
|
|
1232
1246
|
callback(resp);
|
|
1247
|
+
subject.next(resp);
|
|
1233
1248
|
}
|
|
1234
1249
|
});
|
|
1235
|
-
return
|
|
1250
|
+
return subject;
|
|
1236
1251
|
}
|
|
1237
1252
|
put(url, doc, callback = (resp) => { }, opts = {}) {
|
|
1238
1253
|
if (typeof opts === 'function') {
|
|
@@ -1251,18 +1266,23 @@ class HttpService {
|
|
|
1251
1266
|
this.put(url, doc, callback, opts);
|
|
1252
1267
|
}, 100);
|
|
1253
1268
|
}
|
|
1269
|
+
const subject = new Subject();
|
|
1254
1270
|
const observable = this.http.put((opts.url || this.url) + url, doc, {
|
|
1255
|
-
headers:
|
|
1271
|
+
headers: this.http_headers
|
|
1256
1272
|
});
|
|
1257
1273
|
observable.pipe(first(), catchError(this.handleError(opts.err))).subscribe(resp => {
|
|
1258
1274
|
if (typeof this._http.replace === 'function') {
|
|
1259
|
-
this._http.replace(resp,
|
|
1275
|
+
this._http.replace(resp, () => {
|
|
1276
|
+
callback(resp);
|
|
1277
|
+
subject.next(resp);
|
|
1278
|
+
});
|
|
1260
1279
|
}
|
|
1261
1280
|
else {
|
|
1262
1281
|
callback(resp);
|
|
1282
|
+
subject.next(resp);
|
|
1263
1283
|
}
|
|
1264
1284
|
});
|
|
1265
|
-
return
|
|
1285
|
+
return subject;
|
|
1266
1286
|
}
|
|
1267
1287
|
patch(url, doc, callback = (resp) => { }, opts = {}) {
|
|
1268
1288
|
if (typeof opts === 'function') {
|
|
@@ -1281,18 +1301,23 @@ class HttpService {
|
|
|
1281
1301
|
this.patch(url, doc, callback, opts);
|
|
1282
1302
|
}, 100);
|
|
1283
1303
|
}
|
|
1304
|
+
const subject = new Subject();
|
|
1284
1305
|
const observable = this.http.patch((opts.url || this.url) + url, doc, {
|
|
1285
|
-
headers:
|
|
1306
|
+
headers: this.http_headers
|
|
1286
1307
|
});
|
|
1287
1308
|
observable.pipe(first(), catchError(this.handleError(opts.err))).subscribe(resp => {
|
|
1288
1309
|
if (typeof this._http.replace === 'function') {
|
|
1289
|
-
this._http.replace(resp,
|
|
1310
|
+
this._http.replace(resp, () => {
|
|
1311
|
+
callback(resp);
|
|
1312
|
+
subject.next(resp);
|
|
1313
|
+
});
|
|
1290
1314
|
}
|
|
1291
1315
|
else {
|
|
1292
1316
|
callback(resp);
|
|
1317
|
+
subject.next(resp);
|
|
1293
1318
|
}
|
|
1294
1319
|
});
|
|
1295
|
-
return
|
|
1320
|
+
return subject;
|
|
1296
1321
|
}
|
|
1297
1322
|
delete(url, doc, callback = (resp) => { }, opts = {}) {
|
|
1298
1323
|
if (typeof opts === 'function') {
|
|
@@ -1311,18 +1336,24 @@ class HttpService {
|
|
|
1311
1336
|
this.delete(url, doc, callback, opts);
|
|
1312
1337
|
}, 100);
|
|
1313
1338
|
}
|
|
1339
|
+
const subject = new Subject();
|
|
1314
1340
|
const observable = this.http.request('delete', (opts.url || this.url) + url, {
|
|
1315
|
-
headers:
|
|
1341
|
+
headers: this.http_headers,
|
|
1316
1342
|
body: doc || {}
|
|
1317
1343
|
});
|
|
1318
1344
|
observable.pipe(first(), catchError(this.handleError(opts.err))).subscribe(resp => {
|
|
1319
1345
|
if (typeof this._http.replace === 'function') {
|
|
1320
|
-
this._http.replace(resp,
|
|
1346
|
+
this._http.replace(resp, () => {
|
|
1347
|
+
callback(resp);
|
|
1348
|
+
subject.next(resp);
|
|
1349
|
+
});
|
|
1321
1350
|
}
|
|
1322
|
-
else
|
|
1351
|
+
else {
|
|
1323
1352
|
callback(resp);
|
|
1353
|
+
subject.next(resp);
|
|
1354
|
+
}
|
|
1324
1355
|
});
|
|
1325
|
-
return
|
|
1356
|
+
return subject;
|
|
1326
1357
|
}
|
|
1327
1358
|
get(url, callback = (resp) => { }, opts = {}) {
|
|
1328
1359
|
if (typeof opts === 'function') {
|
|
@@ -1342,20 +1373,26 @@ class HttpService {
|
|
|
1342
1373
|
}, 100);
|
|
1343
1374
|
}
|
|
1344
1375
|
let params = {
|
|
1345
|
-
headers:
|
|
1376
|
+
headers: this.http_headers
|
|
1346
1377
|
};
|
|
1347
1378
|
if (opts.params) {
|
|
1348
1379
|
params.params = opts.params;
|
|
1349
1380
|
}
|
|
1381
|
+
const subject = new Subject();
|
|
1350
1382
|
const observable = this.http.get((opts.url || this.url) + url, params);
|
|
1351
1383
|
observable.pipe(first(), catchError(this.handleError(opts.err))).subscribe(resp => {
|
|
1352
1384
|
if (typeof this._http.replace === 'function') {
|
|
1353
|
-
this._http.replace(resp,
|
|
1385
|
+
this._http.replace(resp, () => {
|
|
1386
|
+
callback(resp);
|
|
1387
|
+
subject.next(resp);
|
|
1388
|
+
});
|
|
1354
1389
|
}
|
|
1355
|
-
else
|
|
1390
|
+
else {
|
|
1356
1391
|
callback(resp);
|
|
1392
|
+
subject.next(resp);
|
|
1393
|
+
}
|
|
1357
1394
|
});
|
|
1358
|
-
return
|
|
1395
|
+
return subject;
|
|
1359
1396
|
}
|
|
1360
1397
|
lock() {
|
|
1361
1398
|
this._locked = true;
|
|
@@ -1376,9 +1413,9 @@ class HttpService {
|
|
|
1376
1413
|
}
|
|
1377
1414
|
;
|
|
1378
1415
|
}
|
|
1379
|
-
HttpService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
1380
|
-
HttpService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
1381
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
1416
|
+
HttpService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: HttpService, deps: [{ token: StoreService }, { token: i2$2.HttpClient }, { token: CONFIG_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1417
|
+
HttpService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: HttpService, providedIn: 'root' });
|
|
1418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: HttpService, decorators: [{
|
|
1382
1419
|
type: Injectable,
|
|
1383
1420
|
args: [{
|
|
1384
1421
|
providedIn: 'root'
|
|
@@ -1425,9 +1462,9 @@ class CrudService {
|
|
|
1425
1462
|
}
|
|
1426
1463
|
set(doc) { }
|
|
1427
1464
|
}
|
|
1428
|
-
CrudService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
1429
|
-
CrudService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
1430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
1465
|
+
CrudService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: CrudService, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable });
|
|
1466
|
+
CrudService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: CrudService, providedIn: 'root' });
|
|
1467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: CrudService, decorators: [{
|
|
1431
1468
|
type: Injectable,
|
|
1432
1469
|
args: [{
|
|
1433
1470
|
providedIn: 'root'
|
|
@@ -2389,9 +2426,9 @@ class MongoService {
|
|
|
2389
2426
|
}
|
|
2390
2427
|
;
|
|
2391
2428
|
}
|
|
2392
|
-
MongoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2393
|
-
MongoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
2394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2429
|
+
MongoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: MongoService, deps: [{ token: StoreService }, { token: HttpService }, { token: CoreService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2430
|
+
MongoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: MongoService, providedIn: 'root' });
|
|
2431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: MongoService, decorators: [{
|
|
2395
2432
|
type: Injectable,
|
|
2396
2433
|
args: [{
|
|
2397
2434
|
providedIn: 'root'
|
|
@@ -2421,9 +2458,9 @@ class RenderService {
|
|
|
2421
2458
|
}
|
|
2422
2459
|
}
|
|
2423
2460
|
}
|
|
2424
|
-
RenderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2425
|
-
RenderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
2426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2461
|
+
RenderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: RenderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2462
|
+
RenderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: RenderService, providedIn: 'root' });
|
|
2463
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: RenderService, decorators: [{
|
|
2427
2464
|
type: Injectable,
|
|
2428
2465
|
args: [{
|
|
2429
2466
|
providedIn: 'root'
|
|
@@ -2491,9 +2528,9 @@ class HashService {
|
|
|
2491
2528
|
this.save();
|
|
2492
2529
|
}
|
|
2493
2530
|
}
|
|
2494
|
-
HashService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2495
|
-
HashService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
2496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2531
|
+
HashService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: HashService, deps: [{ token: CoreService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2532
|
+
HashService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: HashService, providedIn: 'root' });
|
|
2533
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: HashService, decorators: [{
|
|
2497
2534
|
type: Injectable,
|
|
2498
2535
|
args: [{
|
|
2499
2536
|
providedIn: 'root'
|
|
@@ -2559,9 +2596,9 @@ class DomService {
|
|
|
2559
2596
|
return component;
|
|
2560
2597
|
}
|
|
2561
2598
|
}
|
|
2562
|
-
DomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2563
|
-
DomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
2564
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2599
|
+
DomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: DomService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ApplicationRef }, { token: i0.Injector }, { token: CoreService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2600
|
+
DomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: DomService, providedIn: 'root' });
|
|
2601
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: DomService, decorators: [{
|
|
2565
2602
|
type: Injectable,
|
|
2566
2603
|
args: [{
|
|
2567
2604
|
providedIn: 'root'
|
|
@@ -2571,11 +2608,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImpor
|
|
|
2571
2608
|
class WrapperComponent {
|
|
2572
2609
|
constructor() { }
|
|
2573
2610
|
}
|
|
2574
|
-
WrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2575
|
-
WrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
2576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2611
|
+
WrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: WrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2612
|
+
WrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: WrapperComponent, selector: "lib-wrapper", ngImport: i0, template: "<div>\r\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-bottomRight\" id=\"bottomRight\"></div>\r\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-bottomLeft\" id=\"bottomLeft\"></div>\r\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-topRight\" id=\"topRight\"></div>\r\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-topLeft\" id=\"topLeft\"></div>\r\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-topCenter\" id=\"topCenter\"></div>\r\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-bottomCenter\" id=\"bottomCenter\"></div>\r\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-center\" id=\"center\"></div>\r\n\t<!-- [bottomRight, bottomLeft, topRight, topLeft, topCenter, bottomCenter or center] -->\r\n</div>\r\n", styles: [".waw-alert-wrapper{z-index:99999;position:fixed;width:100%;pointer-events:none;display:flex;flex-direction:column}.waw-alert-wrapper-bottomLeft{left:0;bottom:0;text-align:left}.waw-alert-wrapper-bottomRight{right:0;bottom:0;text-align:right}.waw-alert-wrapper-topLeft{left:0;top:0;text-align:left}.waw-alert-wrapper-topRight{top:0;right:0;text-align:right}.waw-alert-wrapper-topCenter{top:0;left:0;right:0;text-align:center}.waw-alert-wrapper-bottomCenter{bottom:0;left:0;right:0;text-align:center}.waw-alert-wrapper-center{inset:0;text-align:center;justify-content:center;flex-flow:column;align-items:center}\n"] });
|
|
2613
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: WrapperComponent, decorators: [{
|
|
2577
2614
|
type: Component,
|
|
2578
|
-
args: [{ selector: 'lib-wrapper', template: "<div>\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-bottomRight\" id=\"bottomRight\"></div>\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-bottomLeft\" id=\"bottomLeft\"></div>\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-topRight\" id=\"topRight\"></div>\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-topLeft\" id=\"topLeft\"></div>\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-topCenter\" id=\"topCenter\"></div>\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-bottomCenter\" id=\"bottomCenter\"></div>\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-center\" id=\"center\"></div>\n\t<!-- [bottomRight, bottomLeft, topRight, topLeft, topCenter, bottomCenter or center] -->\n</div>\n", styles: [".waw-alert-wrapper{z-index:99999;position:fixed;width:100%;pointer-events:none;display:flex;flex-direction:column}.waw-alert-wrapper-bottomLeft{left:0;bottom:0;text-align:left}.waw-alert-wrapper-bottomRight{right:0;bottom:0;text-align:right}.waw-alert-wrapper-topLeft{left:0;top:0;text-align:left}.waw-alert-wrapper-topRight{top:0;right:0;text-align:right}.waw-alert-wrapper-topCenter{top:0;left:0;right:0;text-align:center}.waw-alert-wrapper-bottomCenter{bottom:0;left:0;right:0;text-align:center}.waw-alert-wrapper-center{inset:0;text-align:center;justify-content:center;flex-flow:column;align-items:center}\n"] }]
|
|
2615
|
+
args: [{ selector: 'lib-wrapper', template: "<div>\r\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-bottomRight\" id=\"bottomRight\"></div>\r\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-bottomLeft\" id=\"bottomLeft\"></div>\r\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-topRight\" id=\"topRight\"></div>\r\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-topLeft\" id=\"topLeft\"></div>\r\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-topCenter\" id=\"topCenter\"></div>\r\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-bottomCenter\" id=\"bottomCenter\"></div>\r\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-center\" id=\"center\"></div>\r\n\t<!-- [bottomRight, bottomLeft, topRight, topLeft, topCenter, bottomCenter or center] -->\r\n</div>\r\n", styles: [".waw-alert-wrapper{z-index:99999;position:fixed;width:100%;pointer-events:none;display:flex;flex-direction:column}.waw-alert-wrapper-bottomLeft{left:0;bottom:0;text-align:left}.waw-alert-wrapper-bottomRight{right:0;bottom:0;text-align:right}.waw-alert-wrapper-topLeft{left:0;top:0;text-align:left}.waw-alert-wrapper-topRight{top:0;right:0;text-align:right}.waw-alert-wrapper-topCenter{top:0;left:0;right:0;text-align:center}.waw-alert-wrapper-bottomCenter{bottom:0;left:0;right:0;text-align:center}.waw-alert-wrapper-center{inset:0;text-align:center;justify-content:center;flex-flow:column;align-items:center}\n"] }]
|
|
2579
2616
|
}], ctorParameters: function () { return []; } });
|
|
2580
2617
|
|
|
2581
2618
|
class AlertService {
|
|
@@ -2683,9 +2720,9 @@ class AlertService {
|
|
|
2683
2720
|
this.core.document.getElementById("center").innerHTML = "";
|
|
2684
2721
|
}
|
|
2685
2722
|
}
|
|
2686
|
-
AlertService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2687
|
-
AlertService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
2688
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2723
|
+
AlertService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AlertService, deps: [{ token: DomService }, { token: CoreService }, { token: CONFIG_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2724
|
+
AlertService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AlertService, providedIn: 'root' });
|
|
2725
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AlertService, decorators: [{
|
|
2689
2726
|
type: Injectable,
|
|
2690
2727
|
args: [{
|
|
2691
2728
|
providedIn: 'root'
|
|
@@ -2730,9 +2767,9 @@ class LoaderService {
|
|
|
2730
2767
|
}
|
|
2731
2768
|
}
|
|
2732
2769
|
}
|
|
2733
|
-
LoaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2734
|
-
LoaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
2735
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2770
|
+
LoaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: LoaderService, deps: [{ token: DomService }, { token: CONFIG_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2771
|
+
LoaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: LoaderService, providedIn: 'root' });
|
|
2772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: LoaderService, decorators: [{
|
|
2736
2773
|
type: Injectable,
|
|
2737
2774
|
args: [{
|
|
2738
2775
|
providedIn: 'root'
|
|
@@ -2808,9 +2845,9 @@ class SocketService {
|
|
|
2808
2845
|
this._io.emit(to, message, room);
|
|
2809
2846
|
}
|
|
2810
2847
|
}
|
|
2811
|
-
SocketService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2812
|
-
SocketService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
2813
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2848
|
+
SocketService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: SocketService, deps: [{ token: CONFIG_TOKEN, optional: true }, { token: CoreService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2849
|
+
SocketService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: SocketService, providedIn: 'root' });
|
|
2850
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: SocketService, decorators: [{
|
|
2814
2851
|
type: Injectable,
|
|
2815
2852
|
args: [{
|
|
2816
2853
|
providedIn: 'root'
|
|
@@ -2927,9 +2964,9 @@ class ModalService {
|
|
|
2927
2964
|
this.core.document.body.classList.remove("modalOpened");
|
|
2928
2965
|
}
|
|
2929
2966
|
}
|
|
2930
|
-
ModalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2931
|
-
ModalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
2932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2967
|
+
ModalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ModalService, deps: [{ token: DomService }, { token: CoreService }, { token: CONFIG_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2968
|
+
ModalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ModalService, providedIn: 'root' });
|
|
2969
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ModalService, decorators: [{
|
|
2933
2970
|
type: Injectable,
|
|
2934
2971
|
args: [{
|
|
2935
2972
|
providedIn: 'root'
|
|
@@ -2946,11 +2983,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImpor
|
|
|
2946
2983
|
class FilesComponent {
|
|
2947
2984
|
constructor() { }
|
|
2948
2985
|
}
|
|
2949
|
-
FilesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2950
|
-
FilesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
2951
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2986
|
+
FilesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: FilesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2987
|
+
FilesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: FilesComponent, selector: "lib-files", ngImport: i0, template: "<ng-container *ngFor=\"let file of fs.files\">\r\n\t<input [id]=\"file.id\" type=\"file\" name=\"file\" (change)=\"fs.change($event, file); input.value='';\" #input [hidden]=\"true\" [accept]=\"(file.accept) || (file.part && 'image/*') || ''\" [multiple]=\"file.multiple && true || ''\">\r\n</ng-container>", styles: [""], dependencies: [{ kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
2988
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: FilesComponent, decorators: [{
|
|
2952
2989
|
type: Component,
|
|
2953
|
-
args: [{ selector: 'lib-files', template: "<ng-container *ngFor=\"let file of fs.files\">\n\t<input [id]=\"file.id\" type=\"file\" name=\"file\" (change)=\"fs.change($event, file); input.value='';\" #input [hidden]=\"true\" [accept]=\"(file.accept) || (file.part && 'image/*') || ''\" [multiple]=\"file.multiple && true || ''\">\n</ng-container>" }]
|
|
2990
|
+
args: [{ selector: 'lib-files', template: "<ng-container *ngFor=\"let file of fs.files\">\r\n\t<input [id]=\"file.id\" type=\"file\" name=\"file\" (change)=\"fs.change($event, file); input.value='';\" #input [hidden]=\"true\" [accept]=\"(file.accept) || (file.part && 'image/*') || ''\" [multiple]=\"file.multiple && true || ''\">\r\n</ng-container>" }]
|
|
2954
2991
|
}], ctorParameters: function () { return []; } });
|
|
2955
2992
|
|
|
2956
2993
|
class FileService {
|
|
@@ -3173,9 +3210,9 @@ class FileService {
|
|
|
3173
3210
|
}
|
|
3174
3211
|
;
|
|
3175
3212
|
}
|
|
3176
|
-
FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
3177
|
-
FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
3178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
3213
|
+
FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: FileService, deps: [{ token: DomService }, { token: CoreService }, { token: HttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3214
|
+
FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: FileService, providedIn: 'root' });
|
|
3215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: FileService, decorators: [{
|
|
3179
3216
|
type: Injectable,
|
|
3180
3217
|
args: [{
|
|
3181
3218
|
providedIn: 'root'
|
|
@@ -3339,9 +3376,9 @@ class UiService {
|
|
|
3339
3376
|
return result;
|
|
3340
3377
|
}
|
|
3341
3378
|
}
|
|
3342
|
-
UiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
3343
|
-
UiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
3344
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
3379
|
+
UiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: UiService, deps: [{ token: CoreService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3380
|
+
UiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: UiService, providedIn: 'root' });
|
|
3381
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: UiService, decorators: [{
|
|
3345
3382
|
type: Injectable,
|
|
3346
3383
|
args: [{
|
|
3347
3384
|
providedIn: 'root'
|
|
@@ -3364,9 +3401,9 @@ class TimeService {
|
|
|
3364
3401
|
return this.WeekDay[which];
|
|
3365
3402
|
}
|
|
3366
3403
|
}
|
|
3367
|
-
TimeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
3368
|
-
TimeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
3369
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
3404
|
+
TimeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: TimeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3405
|
+
TimeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: TimeService, providedIn: 'root' });
|
|
3406
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: TimeService, decorators: [{
|
|
3370
3407
|
type: Injectable,
|
|
3371
3408
|
args: [{
|
|
3372
3409
|
providedIn: 'root'
|
|
@@ -3403,8 +3440,8 @@ class WacomModule {
|
|
|
3403
3440
|
};
|
|
3404
3441
|
}
|
|
3405
3442
|
}
|
|
3406
|
-
WacomModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
3407
|
-
WacomModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
3443
|
+
WacomModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: WacomModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3444
|
+
WacomModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.1", ngImport: i0, type: WacomModule, declarations: [WrapperComponent,
|
|
3408
3445
|
FilesComponent, ArrPipe,
|
|
3409
3446
|
SafePipe,
|
|
3410
3447
|
SplicePipe,
|
|
@@ -3420,12 +3457,12 @@ WacomModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "1
|
|
|
3420
3457
|
PaginationPipe, LoaderComponent,
|
|
3421
3458
|
ModalComponent,
|
|
3422
3459
|
AlertComponent, ClickOutsideDirective] });
|
|
3423
|
-
WacomModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
3460
|
+
WacomModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: WacomModule, providers: [
|
|
3424
3461
|
{ provide: CONFIG_TOKEN, useValue: DEFAULT_CONFIG },
|
|
3425
3462
|
MetaGuard,
|
|
3426
3463
|
MetaService
|
|
3427
3464
|
], imports: [CommonModule, FormsModule, HttpClientModule] });
|
|
3428
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
3465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: WacomModule, decorators: [{
|
|
3429
3466
|
type: NgModule,
|
|
3430
3467
|
args: [{
|
|
3431
3468
|
imports: [CommonModule, FormsModule, HttpClientModule],
|
|
@@ -3452,4 +3489,3 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImpor
|
|
|
3452
3489
|
|
|
3453
3490
|
export { AlertComponent, AlertService, ArrPipe, BaseService, CONFIG_TOKEN, ClickOutsideDirective, CoreService, DEFAULT_Alert, DEFAULT_CONFIG, DomService, FileService, HashService, HttpService, LoaderComponent, LoaderService, MetaGuard, MetaService, ModalComponent, ModalService, MongoService, MongodatePipe, PaginationPipe, RenderService, SafePipe, SearchPipe, SocketService, SplicePipe, StoreService, TimeService, UiService, WacomModule };
|
|
3454
3491
|
//# sourceMappingURL=wacom.mjs.map
|
|
3455
|
-
//# sourceMappingURL=wacom.mjs.map
|