wacom 21.1.9 → 21.1.11
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 +26 -67
- package/fesm2022/wacom.mjs +79 -79
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,11 +36,10 @@ export const appConfig = {
|
|
|
36
36
|
provideWacom({
|
|
37
37
|
http: { url: "https://api.example.com" },
|
|
38
38
|
store: { prefix: "waStore" },
|
|
39
|
-
meta: {
|
|
40
|
-
useTitleSuffix: false,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
},
|
|
39
|
+
meta: {
|
|
40
|
+
useTitleSuffix: false,
|
|
41
|
+
defaults: { links: {} },
|
|
42
|
+
},
|
|
44
43
|
network: {},
|
|
45
44
|
// enable and configure sockets if needed
|
|
46
45
|
socket: false,
|
|
@@ -55,7 +54,6 @@ export const appConfig = {
|
|
|
55
54
|
| Name | Description |
|
|
56
55
|
| -------------------------------------------------------------------- | :-----------------------------------------------------------------: |
|
|
57
56
|
| [**`Core`**](https://www.npmjs.com/package/wacom#core-service) | Common supportive function which can be used in any service |
|
|
58
|
-
| [**`Base`**](https://www.npmjs.com/package/wacom#base-service) | Tracks timestamps and can refresh to the current time |
|
|
59
57
|
| [**`Http`**](https://www.npmjs.com/package/wacom#http-service) | Http layer for HttpClient |
|
|
60
58
|
| [**`Store`**](https://www.npmjs.com/package/wacom#store-service) | Service responsible for keeping information on the device |
|
|
61
59
|
| [**`Meta`**](https://www.npmjs.com/package/wacom#meta-service) | Website meta tags management within router |
|
|
@@ -504,33 +502,7 @@ In this example:
|
|
|
504
502
|
|
|
505
503
|
This ensures controlled access to the resource, preventing race conditions and ensuring data integrity.
|
|
506
504
|
|
|
507
|
-
## [
|
|
508
|
-
|
|
509
|
-
The `BaseService` provides a minimal utility for tracking the current timestamp.
|
|
510
|
-
|
|
511
|
-
### Properties
|
|
512
|
-
|
|
513
|
-
- `now` (`number`): Stores the current timestamp in milliseconds.
|
|
514
|
-
|
|
515
|
-
### Methods
|
|
516
|
-
|
|
517
|
-
#### `refreshNow(): void`
|
|
518
|
-
|
|
519
|
-
Updates the `now` property to the current timestamp.
|
|
520
|
-
|
|
521
|
-
**Example**:
|
|
522
|
-
|
|
523
|
-
```Typescript
|
|
524
|
-
import { BaseService } from 'wacom';
|
|
525
|
-
|
|
526
|
-
constructor(private baseService: BaseService) {}
|
|
527
|
-
|
|
528
|
-
refresh() {
|
|
529
|
-
this.baseService.refreshNow();
|
|
530
|
-
}
|
|
531
|
-
```
|
|
532
|
-
|
|
533
|
-
## [Http Service](#http-service)
|
|
505
|
+
## [Http Service](#http-service)
|
|
534
506
|
|
|
535
507
|
The `HttpService` provides an HTTP layer for `HttpClient` in Angular, supporting both callbacks and observables for various HTTP operations.
|
|
536
508
|
|
|
@@ -1000,7 +972,7 @@ Sets the title and optional title suffix, updating the `title`, `og:title`, and
|
|
|
1000
972
|
metaService.setTitle('My Page Title', ' | My Website');
|
|
1001
973
|
```
|
|
1002
974
|
|
|
1003
|
-
#### `setLink(links: { [key: string]: string }):
|
|
975
|
+
#### `setLink(links: { [key: string]: string }): void`
|
|
1004
976
|
|
|
1005
977
|
Sets link tags.
|
|
1006
978
|
|
|
@@ -1065,16 +1037,6 @@ Updates a meta tag.
|
|
|
1065
1037
|
- `value` (string): The meta tag value.
|
|
1066
1038
|
- `prop` (string): The meta tag property.
|
|
1067
1039
|
|
|
1068
|
-
#### `_warnMissingGuard(): void`
|
|
1069
|
-
|
|
1070
|
-
Warns about missing meta guards in routes.
|
|
1071
|
-
|
|
1072
|
-
**Example**:
|
|
1073
|
-
|
|
1074
|
-
```Typescript
|
|
1075
|
-
metaService._warnMissingGuard();
|
|
1076
|
-
```
|
|
1077
|
-
|
|
1078
1040
|
## [Util Service](#util-service)
|
|
1079
1041
|
|
|
1080
1042
|
The `UtilService` manages various UI-related tasks in an Angular application, including CSS management, form validation, and generating sample data for UI components.
|
|
@@ -1469,14 +1431,13 @@ interface CrudDocument {
|
|
|
1469
1431
|
|
|
1470
1432
|
```typescript
|
|
1471
1433
|
import { Injectable } from "@angular/core";
|
|
1472
|
-
import {
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
} from "wacom";
|
|
1434
|
+
import {
|
|
1435
|
+
CoreService,
|
|
1436
|
+
HttpService,
|
|
1437
|
+
StoreService,
|
|
1438
|
+
CrudService,
|
|
1439
|
+
CrudDocument,
|
|
1440
|
+
} from "wacom";
|
|
1480
1441
|
|
|
1481
1442
|
export interface Work extends CrudDocument {
|
|
1482
1443
|
name: string;
|
|
@@ -1489,21 +1450,19 @@ export interface Work extends CrudDocument {
|
|
|
1489
1450
|
export class WorkService extends CrudService<Work> {
|
|
1490
1451
|
works: Work[] = this.getDocs();
|
|
1491
1452
|
|
|
1492
|
-
constructor(
|
|
1493
|
-
_http: HttpService,
|
|
1494
|
-
_store: StoreService,
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
_core,
|
|
1506
|
-
);
|
|
1453
|
+
constructor(
|
|
1454
|
+
_http: HttpService,
|
|
1455
|
+
_store: StoreService,
|
|
1456
|
+
_core: CoreService,
|
|
1457
|
+
) {
|
|
1458
|
+
super(
|
|
1459
|
+
{
|
|
1460
|
+
name: "work",
|
|
1461
|
+
},
|
|
1462
|
+
_http,
|
|
1463
|
+
_store,
|
|
1464
|
+
_core,
|
|
1465
|
+
);
|
|
1507
1466
|
|
|
1508
1467
|
this.get();
|
|
1509
1468
|
}
|
package/fesm2022/wacom.mjs
CHANGED
|
@@ -367,10 +367,10 @@ class MetaService {
|
|
|
367
367
|
}
|
|
368
368
|
this.managedTagSelectors.clear();
|
|
369
369
|
}
|
|
370
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
371
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.
|
|
370
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: MetaService, deps: [{ token: CONFIG_TOKEN, optional: true }, { token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.Meta }, { token: i2.Title }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
371
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: MetaService, providedIn: 'root' }); }
|
|
372
372
|
}
|
|
373
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
373
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: MetaService, decorators: [{
|
|
374
374
|
type: Injectable,
|
|
375
375
|
args: [{ providedIn: 'root' }]
|
|
376
376
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -404,10 +404,10 @@ class MetaGuard {
|
|
|
404
404
|
this.metaService.reset();
|
|
405
405
|
return true;
|
|
406
406
|
}
|
|
407
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
408
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.
|
|
407
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: MetaGuard, deps: [{ token: MetaService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
408
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: MetaGuard, providedIn: 'root' }); }
|
|
409
409
|
}
|
|
410
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: MetaGuard, decorators: [{
|
|
411
411
|
type: Injectable,
|
|
412
412
|
args: [{ providedIn: 'root' }]
|
|
413
413
|
}], ctorParameters: () => [{ type: MetaService }] });
|
|
@@ -825,10 +825,10 @@ class CoreService {
|
|
|
825
825
|
if (sig)
|
|
826
826
|
sig.update(updater);
|
|
827
827
|
}
|
|
828
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
829
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.
|
|
828
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: CoreService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
829
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: CoreService, providedIn: 'root' }); }
|
|
830
830
|
}
|
|
831
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
831
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: CoreService, decorators: [{
|
|
832
832
|
type: Injectable,
|
|
833
833
|
args: [{
|
|
834
834
|
providedIn: 'root',
|
|
@@ -1123,10 +1123,10 @@ class ClickOutsideDirective {
|
|
|
1123
1123
|
// cleanup
|
|
1124
1124
|
this._dref.onDestroy(() => document.removeEventListener('pointerdown', this.handler, true));
|
|
1125
1125
|
}
|
|
1126
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
1127
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.
|
|
1126
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: ClickOutsideDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1127
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.2", type: ClickOutsideDirective, isStandalone: true, selector: "[clickOutside]", outputs: { clickOutside: "clickOutside" }, ngImport: i0 }); }
|
|
1128
1128
|
}
|
|
1129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
1129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: ClickOutsideDirective, decorators: [{
|
|
1130
1130
|
type: Directive,
|
|
1131
1131
|
args: [{
|
|
1132
1132
|
selector: '[clickOutside]',
|
|
@@ -1148,10 +1148,10 @@ class ManualDisabledDirective {
|
|
|
1148
1148
|
native.disabled = !!disabled;
|
|
1149
1149
|
}, ...(ngDevMode ? [{ debugName: "syncDisabledEffect" }] : []));
|
|
1150
1150
|
}
|
|
1151
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
1152
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.
|
|
1151
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: ManualDisabledDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1152
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.2", type: ManualDisabledDirective, isStandalone: true, selector: "input[manualDisabled], textarea[manualDisabled]", inputs: { manualDisabled: { classPropertyName: "manualDisabled", publicName: "manualDisabled", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
1153
1153
|
}
|
|
1154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
1154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: ManualDisabledDirective, decorators: [{
|
|
1155
1155
|
type: Directive,
|
|
1156
1156
|
args: [{
|
|
1157
1157
|
selector: 'input[manualDisabled], textarea[manualDisabled]',
|
|
@@ -1175,10 +1175,10 @@ class ManualNameDirective {
|
|
|
1175
1175
|
}
|
|
1176
1176
|
}, ...(ngDevMode ? [{ debugName: "syncNameEffect" }] : []));
|
|
1177
1177
|
}
|
|
1178
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
1179
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.
|
|
1178
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: ManualNameDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1179
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.2", type: ManualNameDirective, isStandalone: true, selector: "input[manualName], textarea[manualName]", inputs: { manualName: { classPropertyName: "manualName", publicName: "manualName", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
1180
1180
|
}
|
|
1181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
1181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: ManualNameDirective, decorators: [{
|
|
1182
1182
|
type: Directive,
|
|
1183
1183
|
args: [{
|
|
1184
1184
|
selector: 'input[manualName], textarea[manualName]',
|
|
@@ -1200,10 +1200,10 @@ class ManualReadonlyDirective {
|
|
|
1200
1200
|
native.readOnly = !!readonly;
|
|
1201
1201
|
}, ...(ngDevMode ? [{ debugName: "syncReadonlyEffect" }] : []));
|
|
1202
1202
|
}
|
|
1203
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
1204
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.
|
|
1203
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: ManualReadonlyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1204
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.2", type: ManualReadonlyDirective, isStandalone: true, selector: "input[manualReadonly], textarea[manualReadonly]", inputs: { manualReadonly: { classPropertyName: "manualReadonly", publicName: "manualReadonly", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
1205
1205
|
}
|
|
1206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
1206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: ManualReadonlyDirective, decorators: [{
|
|
1207
1207
|
type: Directive,
|
|
1208
1208
|
args: [{
|
|
1209
1209
|
selector: 'input[manualReadonly], textarea[manualReadonly]',
|
|
@@ -1227,10 +1227,10 @@ class ManualTypeDirective {
|
|
|
1227
1227
|
}
|
|
1228
1228
|
}, ...(ngDevMode ? [{ debugName: "syncTypeEffect" }] : []));
|
|
1229
1229
|
}
|
|
1230
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
1231
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.
|
|
1230
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: ManualTypeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1231
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.2", type: ManualTypeDirective, isStandalone: true, selector: "input[manualType], textarea[manualType]", inputs: { manualType: { classPropertyName: "manualType", publicName: "manualType", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
1232
1232
|
}
|
|
1233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
1233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: ManualTypeDirective, decorators: [{
|
|
1234
1234
|
type: Directive,
|
|
1235
1235
|
args: [{
|
|
1236
1236
|
selector: 'input[manualType], textarea[manualType]',
|
|
@@ -1269,10 +1269,10 @@ class ArrPipe {
|
|
|
1269
1269
|
}
|
|
1270
1270
|
return arr;
|
|
1271
1271
|
}
|
|
1272
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
1273
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.1.
|
|
1272
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: ArrPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1273
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.1.2", ngImport: i0, type: ArrPipe, isStandalone: true, name: "arr" }); }
|
|
1274
1274
|
}
|
|
1275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
1275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: ArrPipe, decorators: [{
|
|
1276
1276
|
type: Pipe,
|
|
1277
1277
|
args: [{
|
|
1278
1278
|
name: 'arr',
|
|
@@ -1286,10 +1286,10 @@ class MongodatePipe {
|
|
|
1286
1286
|
let timestamp = _id.toString().substring(0, 8);
|
|
1287
1287
|
return new Date(parseInt(timestamp, 16) * 1000);
|
|
1288
1288
|
}
|
|
1289
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
1290
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.1.
|
|
1289
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: MongodatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1290
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.1.2", ngImport: i0, type: MongodatePipe, isStandalone: true, name: "mongodate" }); }
|
|
1291
1291
|
}
|
|
1292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
1292
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: MongodatePipe, decorators: [{
|
|
1293
1293
|
type: Pipe,
|
|
1294
1294
|
args: [{
|
|
1295
1295
|
name: 'mongodate',
|
|
@@ -1301,10 +1301,10 @@ class NumberPipe {
|
|
|
1301
1301
|
const result = Number(value); // Convert value to a number
|
|
1302
1302
|
return isNaN(result) ? 0 : result; // Return 0 if conversion fails
|
|
1303
1303
|
}
|
|
1304
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
1305
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.1.
|
|
1304
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: NumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1305
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.1.2", ngImport: i0, type: NumberPipe, isStandalone: true, name: "number" }); }
|
|
1306
1306
|
}
|
|
1307
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
1307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: NumberPipe, decorators: [{
|
|
1308
1308
|
type: Pipe,
|
|
1309
1309
|
args: [{
|
|
1310
1310
|
name: 'number',
|
|
@@ -1332,10 +1332,10 @@ class PaginationPipe {
|
|
|
1332
1332
|
}
|
|
1333
1333
|
return arr.slice((config.page - 1) * config.perPage, config.page * config.perPage);
|
|
1334
1334
|
}
|
|
1335
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
1336
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.1.
|
|
1335
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: PaginationPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1336
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.1.2", ngImport: i0, type: PaginationPipe, isStandalone: true, name: "page", pure: false }); }
|
|
1337
1337
|
}
|
|
1338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
1338
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: PaginationPipe, decorators: [{
|
|
1339
1339
|
type: Pipe,
|
|
1340
1340
|
args: [{
|
|
1341
1341
|
name: 'page',
|
|
@@ -1350,10 +1350,10 @@ class SafePipe {
|
|
|
1350
1350
|
transform(html) {
|
|
1351
1351
|
return this._sanitizer.bypassSecurityTrustResourceUrl(html);
|
|
1352
1352
|
}
|
|
1353
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
1354
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.1.
|
|
1353
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: SafePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1354
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.1.2", ngImport: i0, type: SafePipe, isStandalone: true, name: "safe" }); }
|
|
1355
1355
|
}
|
|
1356
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
1356
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: SafePipe, decorators: [{
|
|
1357
1357
|
type: Pipe,
|
|
1358
1358
|
args: [{
|
|
1359
1359
|
name: 'safe',
|
|
@@ -1420,10 +1420,10 @@ class SearchPipe {
|
|
|
1420
1420
|
: Object.entries(items).forEach(([k, v]) => check(v, k));
|
|
1421
1421
|
return limit ? out.slice(0, limit) : out;
|
|
1422
1422
|
}
|
|
1423
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
1424
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.1.
|
|
1423
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: SearchPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1424
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.1.2", ngImport: i0, type: SearchPipe, isStandalone: true, name: "search" }); }
|
|
1425
1425
|
}
|
|
1426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
1426
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: SearchPipe, decorators: [{
|
|
1427
1427
|
type: Pipe,
|
|
1428
1428
|
args: [{ name: 'search', pure: true }]
|
|
1429
1429
|
}] });
|
|
@@ -1483,10 +1483,10 @@ class SplicePipe {
|
|
|
1483
1483
|
}
|
|
1484
1484
|
return arr;
|
|
1485
1485
|
}
|
|
1486
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
1487
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.1.
|
|
1486
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: SplicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1487
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.1.2", ngImport: i0, type: SplicePipe, isStandalone: true, name: "splice" }); }
|
|
1488
1488
|
}
|
|
1489
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
1489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: SplicePipe, decorators: [{
|
|
1490
1490
|
type: Pipe,
|
|
1491
1491
|
args: [{
|
|
1492
1492
|
name: 'splice',
|
|
@@ -1498,10 +1498,10 @@ class SplitPipe {
|
|
|
1498
1498
|
const arr = value.split(devider);
|
|
1499
1499
|
return arr.length > index ? arr[index] : '';
|
|
1500
1500
|
}
|
|
1501
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
1502
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.1.
|
|
1501
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: SplitPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1502
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.1.2", ngImport: i0, type: SplitPipe, isStandalone: true, name: "split" }); }
|
|
1503
1503
|
}
|
|
1504
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
1504
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: SplitPipe, decorators: [{
|
|
1505
1505
|
type: Pipe,
|
|
1506
1506
|
args: [{
|
|
1507
1507
|
name: 'split',
|
|
@@ -1624,10 +1624,10 @@ class EmitterService {
|
|
|
1624
1624
|
}
|
|
1625
1625
|
return source$;
|
|
1626
1626
|
}
|
|
1627
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
1628
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.
|
|
1627
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: EmitterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1628
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: EmitterService, providedIn: 'root' }); }
|
|
1629
1629
|
}
|
|
1630
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
1630
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: EmitterService, decorators: [{
|
|
1631
1631
|
type: Injectable,
|
|
1632
1632
|
args: [{ providedIn: 'root' }]
|
|
1633
1633
|
}] });
|
|
@@ -1953,10 +1953,10 @@ class HttpService {
|
|
|
1953
1953
|
}
|
|
1954
1954
|
return newDoc;
|
|
1955
1955
|
}
|
|
1956
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
1957
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.
|
|
1956
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: HttpService, deps: [{ token: CONFIG_TOKEN, optional: true }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1957
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: HttpService, providedIn: 'root' }); }
|
|
1958
1958
|
}
|
|
1959
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
1959
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: HttpService, decorators: [{
|
|
1960
1960
|
type: Injectable,
|
|
1961
1961
|
args: [{
|
|
1962
1962
|
providedIn: 'root',
|
|
@@ -2100,10 +2100,10 @@ class NetworkService {
|
|
|
2100
2100
|
return { ok: false, latency: null };
|
|
2101
2101
|
}
|
|
2102
2102
|
}
|
|
2103
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
2104
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.
|
|
2103
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: NetworkService, deps: [{ token: CONFIG_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2104
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: NetworkService, providedIn: 'root' }); }
|
|
2105
2105
|
}
|
|
2106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
2106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: NetworkService, decorators: [{
|
|
2107
2107
|
type: Injectable,
|
|
2108
2108
|
args: [{ providedIn: 'root' }]
|
|
2109
2109
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -2278,10 +2278,10 @@ class StoreService {
|
|
|
2278
2278
|
}
|
|
2279
2279
|
return key;
|
|
2280
2280
|
}
|
|
2281
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
2282
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.
|
|
2281
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: StoreService, deps: [{ token: CONFIG_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2282
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: StoreService, providedIn: 'root' }); }
|
|
2283
2283
|
}
|
|
2284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
2284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: StoreService, decorators: [{
|
|
2285
2285
|
type: Injectable,
|
|
2286
2286
|
args: [{
|
|
2287
2287
|
providedIn: 'root',
|
|
@@ -3252,10 +3252,10 @@ class DomService {
|
|
|
3252
3252
|
delete this._providedIn[providedIn];
|
|
3253
3253
|
}
|
|
3254
3254
|
}
|
|
3255
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
3256
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.
|
|
3255
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: DomService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3256
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: DomService, providedIn: 'root' }); }
|
|
3257
3257
|
}
|
|
3258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
3258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: DomService, decorators: [{
|
|
3259
3259
|
type: Injectable,
|
|
3260
3260
|
args: [{
|
|
3261
3261
|
providedIn: 'root',
|
|
@@ -3373,10 +3373,10 @@ class RtcService {
|
|
|
3373
3373
|
this.localStream?.getTracks().forEach((track) => track.stop());
|
|
3374
3374
|
this.localStream = null;
|
|
3375
3375
|
}
|
|
3376
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
3377
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.
|
|
3376
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: RtcService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3377
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: RtcService, providedIn: 'root' }); }
|
|
3378
3378
|
}
|
|
3379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
3379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: RtcService, decorators: [{
|
|
3380
3380
|
type: Injectable,
|
|
3381
3381
|
args: [{ providedIn: 'root' }]
|
|
3382
3382
|
}] });
|
|
@@ -3497,10 +3497,10 @@ class SocketService {
|
|
|
3497
3497
|
}
|
|
3498
3498
|
this._io.emit(to, message, room);
|
|
3499
3499
|
}
|
|
3500
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
3501
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.
|
|
3500
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: SocketService, deps: [{ token: CONFIG_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3501
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: SocketService, providedIn: 'root' }); }
|
|
3502
3502
|
}
|
|
3503
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
3503
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: SocketService, decorators: [{
|
|
3504
3504
|
type: Injectable,
|
|
3505
3505
|
args: [{
|
|
3506
3506
|
providedIn: 'root',
|
|
@@ -3942,10 +3942,10 @@ class TimeService {
|
|
|
3942
3942
|
}
|
|
3943
3943
|
return lastWeek - firstWeek + 1;
|
|
3944
3944
|
}
|
|
3945
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
3946
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.
|
|
3945
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: TimeService, deps: [{ token: i1$2.DatePipe }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3946
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: TimeService, providedIn: 'root' }); }
|
|
3947
3947
|
}
|
|
3948
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
3948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: TimeService, decorators: [{
|
|
3949
3949
|
type: Injectable,
|
|
3950
3950
|
args: [{
|
|
3951
3951
|
providedIn: 'root',
|
|
@@ -4187,10 +4187,10 @@ class UtilService {
|
|
|
4187
4187
|
}
|
|
4188
4188
|
catch { }
|
|
4189
4189
|
}
|
|
4190
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
4191
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.
|
|
4190
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: UtilService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4191
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: UtilService, providedIn: 'root' }); }
|
|
4192
4192
|
}
|
|
4193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
4193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: UtilService, decorators: [{
|
|
4194
4194
|
type: Injectable,
|
|
4195
4195
|
args: [{ providedIn: 'root' }]
|
|
4196
4196
|
}], ctorParameters: () => [] });
|
|
@@ -4227,8 +4227,8 @@ class WacomModule {
|
|
|
4227
4227
|
],
|
|
4228
4228
|
};
|
|
4229
4229
|
}
|
|
4230
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
4231
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.
|
|
4230
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: WacomModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4231
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.2", ngImport: i0, type: WacomModule, imports: [CommonModule, FormsModule, ArrPipe,
|
|
4232
4232
|
SafePipe,
|
|
4233
4233
|
SplicePipe,
|
|
4234
4234
|
SearchPipe,
|
|
@@ -4239,12 +4239,12 @@ class WacomModule {
|
|
|
4239
4239
|
SearchPipe,
|
|
4240
4240
|
MongodatePipe,
|
|
4241
4241
|
PaginationPipe, ClickOutsideDirective] }); }
|
|
4242
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.
|
|
4242
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: WacomModule, providers: [
|
|
4243
4243
|
{ provide: CONFIG_TOKEN, useValue: DEFAULT_CONFIG },
|
|
4244
4244
|
provideHttpClient(withInterceptorsFromDi()),
|
|
4245
4245
|
], imports: [CommonModule, FormsModule] }); }
|
|
4246
4246
|
}
|
|
4247
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
4247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: WacomModule, decorators: [{
|
|
4248
4248
|
type: NgModule,
|
|
4249
4249
|
args: [{
|
|
4250
4250
|
imports: [CommonModule, FormsModule, ...PIPES, ...DIRECTIVES],
|