@stemy/ngx-utils 19.9.33 → 19.9.34
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/fesm2022/stemy-ngx-utils.mjs +474 -1054
- package/fesm2022/stemy-ngx-utils.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -12,10 +12,9 @@ import * as i1 from 'ngx-device-detector';
|
|
|
12
12
|
import { DeviceDetectorService } from 'ngx-device-detector';
|
|
13
13
|
import { DateTime } from 'luxon';
|
|
14
14
|
import { Invokable } from 'invokable';
|
|
15
|
-
import { __decorate } from 'tslib';
|
|
16
15
|
import * as i1$1 from '@angular/common/http';
|
|
17
16
|
import { HttpHeaders, HttpParams, HttpUrlEncodingCodec, HttpClient, HttpEventType, HttpResponse } from '@angular/common/http';
|
|
18
|
-
import
|
|
17
|
+
import JSON5 from 'json5';
|
|
19
18
|
import * as i1$2 from '@angular/platform-browser';
|
|
20
19
|
import { ɵDomEventsPlugin as _DomEventsPlugin, EVENT_MANAGER_PLUGINS } from '@angular/platform-browser';
|
|
21
20
|
import elementResizeDetectorMaker from 'element-resize-detector';
|
|
@@ -25,10 +24,6 @@ import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
|
|
25
24
|
import { toSignal } from '@angular/core/rxjs-interop';
|
|
26
25
|
|
|
27
26
|
class CanvasColor {
|
|
28
|
-
r;
|
|
29
|
-
g;
|
|
30
|
-
b;
|
|
31
|
-
a;
|
|
32
27
|
constructor(r, g, b, a = 255) {
|
|
33
28
|
this.r = r;
|
|
34
29
|
this.g = g;
|
|
@@ -55,11 +50,6 @@ function ObjectType(type) {
|
|
|
55
50
|
};
|
|
56
51
|
}
|
|
57
52
|
class PaginationItemContext {
|
|
58
|
-
item;
|
|
59
|
-
parallelItem;
|
|
60
|
-
count;
|
|
61
|
-
index;
|
|
62
|
-
dataIndex;
|
|
63
53
|
constructor(item, parallelItem, count, index, dataIndex) {
|
|
64
54
|
this.item = item;
|
|
65
55
|
this.parallelItem = parallelItem;
|
|
@@ -94,21 +84,11 @@ class PaginationItemContext {
|
|
|
94
84
|
const EDITOR_TYPES = ["php", "json", "html", "css", "scss"];
|
|
95
85
|
// --- Resource if ---
|
|
96
86
|
class ResourceIfContext {
|
|
97
|
-
resource;
|
|
98
|
-
url;
|
|
99
87
|
}
|
|
100
88
|
class IConfiguration {
|
|
101
|
-
cdnUrl;
|
|
102
|
-
baseUrl;
|
|
103
|
-
baseDomain;
|
|
104
|
-
apiUrl;
|
|
105
|
-
translationUrl;
|
|
106
|
-
translationUrls;
|
|
107
|
-
translationExt;
|
|
108
89
|
}
|
|
109
90
|
// --- Valued promise ---
|
|
110
91
|
class ValuedPromise extends Promise {
|
|
111
|
-
value;
|
|
112
92
|
}
|
|
113
93
|
|
|
114
94
|
const ICON_TYPE = new InjectionToken("icon-component-type");
|
|
@@ -138,13 +118,15 @@ const STATIC_SCHEMAS = new InjectionToken("static-openapi-schemas");
|
|
|
138
118
|
const SCHEMA_SELECTOR = new InjectionToken("openapi-schema-selector");
|
|
139
119
|
|
|
140
120
|
class AjaxRequestHandler {
|
|
141
|
-
|
|
142
|
-
callback;
|
|
143
|
-
static isOverridden = false;
|
|
144
|
-
params;
|
|
121
|
+
static { this.isOverridden = false; }
|
|
145
122
|
constructor(pattern, callback) {
|
|
146
123
|
this.pattern = pattern;
|
|
147
124
|
this.callback = callback;
|
|
125
|
+
this.listener = (event) => {
|
|
126
|
+
const details = event.detail;
|
|
127
|
+
if (this.pattern.test(details.url))
|
|
128
|
+
this.callback(details, this.params);
|
|
129
|
+
};
|
|
148
130
|
this.params = {};
|
|
149
131
|
if (typeof XMLHttpRequest !== "undefined" && !AjaxRequestHandler.isOverridden) {
|
|
150
132
|
AjaxRequestHandler.isOverridden = true;
|
|
@@ -173,11 +155,6 @@ class AjaxRequestHandler {
|
|
|
173
155
|
window.removeEventListener("ajaxRequest", this.listener);
|
|
174
156
|
return this;
|
|
175
157
|
}
|
|
176
|
-
listener = (event) => {
|
|
177
|
-
const details = event.detail;
|
|
178
|
-
if (this.pattern.test(details.url))
|
|
179
|
-
this.callback(details, this.params);
|
|
180
|
-
};
|
|
181
158
|
}
|
|
182
159
|
|
|
183
160
|
function defaultPredicate(value, key, target, source) {
|
|
@@ -669,8 +646,6 @@ class ReflectUtils {
|
|
|
669
646
|
* Use this service to determine which is the current environment
|
|
670
647
|
*/
|
|
671
648
|
class UniversalService {
|
|
672
|
-
platformId;
|
|
673
|
-
dds;
|
|
674
649
|
get isBrowser() {
|
|
675
650
|
return isPlatformBrowser(this.platformId);
|
|
676
651
|
}
|
|
@@ -724,7 +699,6 @@ class UniversalService {
|
|
|
724
699
|
get isCrawler() {
|
|
725
700
|
return this.crawler;
|
|
726
701
|
}
|
|
727
|
-
crawler;
|
|
728
702
|
constructor(platformId, dds) {
|
|
729
703
|
this.platformId = platformId;
|
|
730
704
|
this.dds = dds;
|
|
@@ -734,8 +708,8 @@ class UniversalService {
|
|
|
734
708
|
checkBrowser(name) {
|
|
735
709
|
return this.browserName.includes(name) || false;
|
|
736
710
|
}
|
|
737
|
-
static
|
|
738
|
-
static
|
|
711
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: UniversalService, deps: [{ token: PLATFORM_ID }, { token: i1.DeviceDetectorService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
712
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: UniversalService }); }
|
|
739
713
|
}
|
|
740
714
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: UniversalService, decorators: [{
|
|
741
715
|
type: Injectable
|
|
@@ -750,15 +724,6 @@ const emptyParams = {};
|
|
|
750
724
|
const emptySegments = [];
|
|
751
725
|
const emptyComponents = [];
|
|
752
726
|
class StateService {
|
|
753
|
-
injector;
|
|
754
|
-
zone;
|
|
755
|
-
universal;
|
|
756
|
-
router;
|
|
757
|
-
contexts;
|
|
758
|
-
globalExtras;
|
|
759
|
-
$snapshot;
|
|
760
|
-
$component;
|
|
761
|
-
stateInfo;
|
|
762
727
|
static toPath(route, params) {
|
|
763
728
|
let path = route.path || "";
|
|
764
729
|
ObjectUtils.iterate(params, (value, key) => {
|
|
@@ -937,8 +902,8 @@ class StateService {
|
|
|
937
902
|
}
|
|
938
903
|
return [url, extras];
|
|
939
904
|
}
|
|
940
|
-
static
|
|
941
|
-
static
|
|
905
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: StateService, deps: [{ token: i0.Injector }, { token: i0.NgZone }, { token: UniversalService }, { token: i2.Router, optional: true }, { token: i2.ChildrenOutletContexts, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
906
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: StateService }); }
|
|
942
907
|
}
|
|
943
908
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: StateService, decorators: [{
|
|
944
909
|
type: Injectable
|
|
@@ -949,9 +914,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
949
914
|
}] }] });
|
|
950
915
|
|
|
951
916
|
class AuthGuard {
|
|
952
|
-
injector;
|
|
953
|
-
state;
|
|
954
|
-
auth;
|
|
955
917
|
static guardAuthenticated(auth) {
|
|
956
918
|
return Promise.resolve(auth.isAuthenticated);
|
|
957
919
|
}
|
|
@@ -1060,8 +1022,8 @@ class AuthGuard {
|
|
|
1060
1022
|
});
|
|
1061
1023
|
});
|
|
1062
1024
|
}
|
|
1063
|
-
static
|
|
1064
|
-
static
|
|
1025
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: AuthGuard, deps: [{ token: Injector }, { token: StateService }, { token: AUTH_SERVICE }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1026
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: AuthGuard }); }
|
|
1065
1027
|
}
|
|
1066
1028
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: AuthGuard, decorators: [{
|
|
1067
1029
|
type: Injectable
|
|
@@ -1115,11 +1077,13 @@ function cachedFactory(providers) {
|
|
|
1115
1077
|
}
|
|
1116
1078
|
|
|
1117
1079
|
class BlurStack {
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1080
|
+
constructor() {
|
|
1081
|
+
this.r = 0;
|
|
1082
|
+
this.g = 0;
|
|
1083
|
+
this.b = 0;
|
|
1084
|
+
this.a = 0;
|
|
1085
|
+
this.next = null;
|
|
1086
|
+
}
|
|
1123
1087
|
}
|
|
1124
1088
|
const mul_table = [
|
|
1125
1089
|
512, 512, 456, 512, 328, 456, 335, 512, 405, 328, 271, 456, 388, 335, 292, 512,
|
|
@@ -1684,8 +1648,8 @@ class DateUtils {
|
|
|
1684
1648
|
}
|
|
1685
1649
|
|
|
1686
1650
|
class FileUtils {
|
|
1687
|
-
static base64 = /^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$/g;
|
|
1688
|
-
static blobCache = new Map();
|
|
1651
|
+
static { this.base64 = /^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$/g; }
|
|
1652
|
+
static { this.blobCache = new Map(); }
|
|
1689
1653
|
static readBlob(http, url) {
|
|
1690
1654
|
if (!FileUtils.blobCache.has(url)) {
|
|
1691
1655
|
FileUtils.blobCache.set(url, firstValueFrom(http.get(url, {
|
|
@@ -1860,7 +1824,6 @@ class GenericValue extends Subject {
|
|
|
1860
1824
|
this._value = value;
|
|
1861
1825
|
this.next(value);
|
|
1862
1826
|
}
|
|
1863
|
-
_value;
|
|
1864
1827
|
constructor(value = null) {
|
|
1865
1828
|
super();
|
|
1866
1829
|
this._value = value;
|
|
@@ -1871,15 +1834,6 @@ class GenericValue extends Subject {
|
|
|
1871
1834
|
}
|
|
1872
1835
|
|
|
1873
1836
|
class FileSystemEntry {
|
|
1874
|
-
label;
|
|
1875
|
-
meta;
|
|
1876
|
-
image;
|
|
1877
|
-
data;
|
|
1878
|
-
openCb;
|
|
1879
|
-
result;
|
|
1880
|
-
path;
|
|
1881
|
-
level;
|
|
1882
|
-
classes;
|
|
1883
1837
|
get parent() {
|
|
1884
1838
|
return this.level === 0 ? null : this.path[this.level - 1] || null;
|
|
1885
1839
|
}
|
|
@@ -1920,7 +1874,6 @@ class FileSystemEntry {
|
|
|
1920
1874
|
}
|
|
1921
1875
|
|
|
1922
1876
|
class HitZoneRenderer {
|
|
1923
|
-
pattern;
|
|
1924
1877
|
constructor() {
|
|
1925
1878
|
return Invokable.create(this);
|
|
1926
1879
|
}
|
|
@@ -2300,7 +2253,6 @@ class Shape {
|
|
|
2300
2253
|
get y() {
|
|
2301
2254
|
return this.center.y;
|
|
2302
2255
|
}
|
|
2303
|
-
pt;
|
|
2304
2256
|
constructor(x, y) {
|
|
2305
2257
|
this.pt = { x, y };
|
|
2306
2258
|
}
|
|
@@ -2315,7 +2267,7 @@ class Shape {
|
|
|
2315
2267
|
}
|
|
2316
2268
|
}
|
|
2317
2269
|
class Point extends Shape {
|
|
2318
|
-
static Zero = new Point(0, 0);
|
|
2270
|
+
static { this.Zero = new Point(0, 0); }
|
|
2319
2271
|
get length() {
|
|
2320
2272
|
return lengthOfPt(this);
|
|
2321
2273
|
}
|
|
@@ -2401,10 +2353,6 @@ class Point extends Shape {
|
|
|
2401
2353
|
}
|
|
2402
2354
|
}
|
|
2403
2355
|
class Rect extends Shape {
|
|
2404
|
-
width;
|
|
2405
|
-
height;
|
|
2406
|
-
rotation;
|
|
2407
|
-
radius;
|
|
2408
2356
|
constructor(x, y, width, height, rotation = 0, radius = 0) {
|
|
2409
2357
|
super(x, y);
|
|
2410
2358
|
this.width = width;
|
|
@@ -2462,9 +2410,6 @@ class Rect extends Shape {
|
|
|
2462
2410
|
}
|
|
2463
2411
|
}
|
|
2464
2412
|
class Oval extends Shape {
|
|
2465
|
-
width;
|
|
2466
|
-
height;
|
|
2467
|
-
rotation;
|
|
2468
2413
|
constructor(x, y, width, height, rotation = 0) {
|
|
2469
2414
|
super(x, y);
|
|
2470
2415
|
this.width = width;
|
|
@@ -2513,7 +2458,6 @@ class Oval extends Shape {
|
|
|
2513
2458
|
}
|
|
2514
2459
|
}
|
|
2515
2460
|
class Circle extends Oval {
|
|
2516
|
-
radius;
|
|
2517
2461
|
constructor(x, y, radius, rotation = 0) {
|
|
2518
2462
|
super(x, y, radius * 2, radius * 2, rotation);
|
|
2519
2463
|
this.radius = radius;
|
|
@@ -2527,7 +2471,6 @@ class Circle extends Oval {
|
|
|
2527
2471
|
}
|
|
2528
2472
|
}
|
|
2529
2473
|
class ShapeGroup extends Shape {
|
|
2530
|
-
subShapes;
|
|
2531
2474
|
constructor(x, y, subShapes) {
|
|
2532
2475
|
super(x, y);
|
|
2533
2476
|
this.subShapes = subShapes;
|
|
@@ -2569,9 +2512,6 @@ class ShapeGroup extends Shape {
|
|
|
2569
2512
|
}
|
|
2570
2513
|
|
|
2571
2514
|
class Initializer {
|
|
2572
|
-
callback;
|
|
2573
|
-
shouldInit;
|
|
2574
|
-
initialized;
|
|
2575
2515
|
get isInitialized() {
|
|
2576
2516
|
return this.initialized;
|
|
2577
2517
|
}
|
|
@@ -2591,7 +2531,7 @@ class Initializer {
|
|
|
2591
2531
|
}
|
|
2592
2532
|
|
|
2593
2533
|
class LoaderUtils {
|
|
2594
|
-
static promises = {};
|
|
2534
|
+
static { this.promises = {}; }
|
|
2595
2535
|
static loadScript(src, async = false, type = "text/javascript", parent, time = false) {
|
|
2596
2536
|
return LoaderUtils.loadElement(src, parent, time, url => {
|
|
2597
2537
|
const script = document.createElement("script");
|
|
@@ -3129,15 +3069,6 @@ function random4(_, index) {
|
|
|
3129
3069
|
.substring(1);
|
|
3130
3070
|
}
|
|
3131
3071
|
class SocketClient {
|
|
3132
|
-
url;
|
|
3133
|
-
ioLoader;
|
|
3134
|
-
status;
|
|
3135
|
-
channels;
|
|
3136
|
-
responseHandlers;
|
|
3137
|
-
sid;
|
|
3138
|
-
open;
|
|
3139
|
-
factory;
|
|
3140
|
-
ws;
|
|
3141
3072
|
get id() {
|
|
3142
3073
|
return this.open ? this.sid : null;
|
|
3143
3074
|
}
|
|
@@ -3264,9 +3195,17 @@ class UniqueUtils {
|
|
|
3264
3195
|
}
|
|
3265
3196
|
}
|
|
3266
3197
|
|
|
3198
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3199
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3200
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3201
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
3202
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3203
|
+
};
|
|
3204
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
3205
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
3206
|
+
};
|
|
3267
3207
|
var Enum_1;
|
|
3268
3208
|
let Enum = Enum_1 = class Enum {
|
|
3269
|
-
value;
|
|
3270
3209
|
get length() {
|
|
3271
3210
|
return this.value?.length ?? 0;
|
|
3272
3211
|
}
|
|
@@ -3293,18 +3232,11 @@ let Enum = Enum_1 = class Enum {
|
|
|
3293
3232
|
}
|
|
3294
3233
|
};
|
|
3295
3234
|
Enum = Enum_1 = __decorate([
|
|
3296
|
-
ObjectType("enum")
|
|
3235
|
+
ObjectType("enum"),
|
|
3236
|
+
__metadata("design:paramtypes", [Object])
|
|
3297
3237
|
], Enum);
|
|
3298
3238
|
|
|
3299
3239
|
class EventsService {
|
|
3300
|
-
eventForwarded;
|
|
3301
|
-
stickyUpdated;
|
|
3302
|
-
languageChanged;
|
|
3303
|
-
editLanguageChanged;
|
|
3304
|
-
translationsEnabled;
|
|
3305
|
-
userChanged;
|
|
3306
|
-
sticky;
|
|
3307
|
-
user;
|
|
3308
3240
|
get isSticky() {
|
|
3309
3241
|
return this.sticky;
|
|
3310
3242
|
}
|
|
@@ -3331,8 +3263,8 @@ class EventsService {
|
|
|
3331
3263
|
this.sticky = sticky;
|
|
3332
3264
|
this.stickyUpdated.next(sticky);
|
|
3333
3265
|
}
|
|
3334
|
-
static
|
|
3335
|
-
static
|
|
3266
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: EventsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3267
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: EventsService }); }
|
|
3336
3268
|
}
|
|
3337
3269
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: EventsService, decorators: [{
|
|
3338
3270
|
type: Injectable
|
|
@@ -3340,10 +3272,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
3340
3272
|
|
|
3341
3273
|
const emptyGuards = [];
|
|
3342
3274
|
class AclService {
|
|
3343
|
-
injector;
|
|
3344
|
-
state;
|
|
3345
|
-
events;
|
|
3346
|
-
components;
|
|
3347
3275
|
constructor(injector, state, events) {
|
|
3348
3276
|
this.injector = injector;
|
|
3349
3277
|
this.state = state;
|
|
@@ -3431,17 +3359,14 @@ class AclService {
|
|
|
3431
3359
|
info.component = this.state.component;
|
|
3432
3360
|
return info;
|
|
3433
3361
|
}
|
|
3434
|
-
static
|
|
3435
|
-
static
|
|
3362
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: AclService, deps: [{ token: i0.Injector }, { token: StateService }, { token: EventsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3363
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: AclService }); }
|
|
3436
3364
|
}
|
|
3437
3365
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: AclService, decorators: [{
|
|
3438
3366
|
type: Injectable
|
|
3439
3367
|
}], ctorParameters: () => [{ type: i0.Injector }, { type: StateService }, { type: EventsService }] });
|
|
3440
3368
|
|
|
3441
3369
|
class RequestBag {
|
|
3442
|
-
source;
|
|
3443
|
-
headers;
|
|
3444
|
-
params;
|
|
3445
3370
|
get requestHeaders() {
|
|
3446
3371
|
return this.headers;
|
|
3447
3372
|
}
|
|
@@ -3512,8 +3437,6 @@ class RequestBag {
|
|
|
3512
3437
|
}
|
|
3513
3438
|
|
|
3514
3439
|
class BaseHttpClient extends HttpClient {
|
|
3515
|
-
renewTokenFunc;
|
|
3516
|
-
bag;
|
|
3517
3440
|
constructor(handler) {
|
|
3518
3441
|
super(handler);
|
|
3519
3442
|
this.bag = new RequestBag();
|
|
@@ -3539,8 +3462,8 @@ class BaseHttpClient extends HttpClient {
|
|
|
3539
3462
|
makeHeaders() {
|
|
3540
3463
|
return this.bag.makeHeaders();
|
|
3541
3464
|
}
|
|
3542
|
-
static
|
|
3543
|
-
static
|
|
3465
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: BaseHttpClient, deps: [{ token: i1$1.HttpHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3466
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: BaseHttpClient }); }
|
|
3544
3467
|
}
|
|
3545
3468
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: BaseHttpClient, decorators: [{
|
|
3546
3469
|
type: Injectable
|
|
@@ -3550,7 +3473,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
3550
3473
|
* Use this service instead of Storage to avoid Angular Universal breaks on server environment
|
|
3551
3474
|
*/
|
|
3552
3475
|
class StorageService {
|
|
3553
|
-
universal;
|
|
3554
3476
|
constructor(universal) {
|
|
3555
3477
|
this.universal = universal;
|
|
3556
3478
|
}
|
|
@@ -3584,21 +3506,17 @@ class StorageService {
|
|
|
3584
3506
|
const storage = mode == StorageMode.Local ? localStorage : sessionStorage;
|
|
3585
3507
|
storage.removeItem(key);
|
|
3586
3508
|
}
|
|
3587
|
-
static
|
|
3588
|
-
static
|
|
3509
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: StorageService, deps: [{ token: UniversalService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3510
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: StorageService }); }
|
|
3589
3511
|
}
|
|
3590
3512
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: StorageService, decorators: [{
|
|
3591
3513
|
type: Injectable
|
|
3592
3514
|
}], ctorParameters: () => [{ type: UniversalService }] });
|
|
3593
3515
|
|
|
3594
3516
|
class CacheService {
|
|
3595
|
-
events;
|
|
3596
3517
|
get userChanged() {
|
|
3597
3518
|
return this.events.userChanged;
|
|
3598
3519
|
}
|
|
3599
|
-
ignore;
|
|
3600
|
-
permanent;
|
|
3601
|
-
caches;
|
|
3602
3520
|
constructor(events) {
|
|
3603
3521
|
this.events = events;
|
|
3604
3522
|
this.ignore = new BehaviorSubject(null).pipe(delay(5));
|
|
@@ -3627,22 +3545,14 @@ class CacheService {
|
|
|
3627
3545
|
});
|
|
3628
3546
|
return value;
|
|
3629
3547
|
}
|
|
3630
|
-
static
|
|
3631
|
-
static
|
|
3548
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: CacheService, deps: [{ token: EventsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3549
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: CacheService }); }
|
|
3632
3550
|
}
|
|
3633
3551
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: CacheService, decorators: [{
|
|
3634
3552
|
type: Injectable
|
|
3635
3553
|
}], ctorParameters: () => [{ type: EventsService }] });
|
|
3636
3554
|
|
|
3637
3555
|
class BaseHttpService {
|
|
3638
|
-
injector;
|
|
3639
|
-
client;
|
|
3640
|
-
storage;
|
|
3641
|
-
caches;
|
|
3642
|
-
language;
|
|
3643
|
-
toaster;
|
|
3644
|
-
configs;
|
|
3645
|
-
request;
|
|
3646
3556
|
get name() {
|
|
3647
3557
|
return "base";
|
|
3648
3558
|
}
|
|
@@ -3658,8 +3568,7 @@ class BaseHttpService {
|
|
|
3658
3568
|
get universal() {
|
|
3659
3569
|
return this.storage.universal;
|
|
3660
3570
|
}
|
|
3661
|
-
static failedRequests = [];
|
|
3662
|
-
bag;
|
|
3571
|
+
static { this.failedRequests = []; }
|
|
3663
3572
|
static retryFailedRequests() {
|
|
3664
3573
|
BaseHttpService.failedRequests.forEach(r => r());
|
|
3665
3574
|
BaseHttpService.failedRequests = [];
|
|
@@ -3979,8 +3888,8 @@ class BaseHttpService {
|
|
|
3979
3888
|
const separator = url.startsWith("/") ? "" : "/";
|
|
3980
3889
|
return `${req.protocol}://${req.get("host")}${separator}${url}`;
|
|
3981
3890
|
}
|
|
3982
|
-
static
|
|
3983
|
-
static
|
|
3891
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: BaseHttpService, deps: [{ token: i0.Injector }, { token: BaseHttpClient }, { token: StorageService }, { token: CacheService }, { token: LANGUAGE_SERVICE }, { token: TOASTER_SERVICE }, { token: CONFIG_SERVICE }, { token: EXPRESS_REQUEST, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3892
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: BaseHttpService }); }
|
|
3984
3893
|
}
|
|
3985
3894
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: BaseHttpService, decorators: [{
|
|
3986
3895
|
type: Injectable
|
|
@@ -4000,10 +3909,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
4000
3909
|
args: [EXPRESS_REQUEST]
|
|
4001
3910
|
}] }] });
|
|
4002
3911
|
class HttpPromise extends Promise {
|
|
4003
|
-
rejectHandler;
|
|
4004
|
-
hasRejectHandler;
|
|
4005
|
-
attachCount;
|
|
4006
|
-
runCount;
|
|
4007
3912
|
constructor(rejectHandler, executor) {
|
|
4008
3913
|
super(executor);
|
|
4009
3914
|
this.rejectHandler = rejectHandler;
|
|
@@ -4064,8 +3969,8 @@ class ApiService extends BaseHttpService {
|
|
|
4064
3969
|
options.params = Object.assign(options.params || {}, params || {});
|
|
4065
3970
|
return this.listPromise(url, options);
|
|
4066
3971
|
}
|
|
4067
|
-
static
|
|
4068
|
-
static
|
|
3972
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ApiService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3973
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ApiService }); }
|
|
4069
3974
|
}
|
|
4070
3975
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ApiService, decorators: [{
|
|
4071
3976
|
type: Injectable
|
|
@@ -4081,16 +3986,6 @@ class StaticAuthService {
|
|
|
4081
3986
|
}
|
|
4082
3987
|
|
|
4083
3988
|
class ConfigService {
|
|
4084
|
-
http;
|
|
4085
|
-
universal;
|
|
4086
|
-
injector;
|
|
4087
|
-
rootElement;
|
|
4088
|
-
baseUrl;
|
|
4089
|
-
baseConfig;
|
|
4090
|
-
loadedConfig;
|
|
4091
|
-
scriptParameters;
|
|
4092
|
-
loader;
|
|
4093
|
-
loaderFunc;
|
|
4094
3989
|
get load() {
|
|
4095
3990
|
return this.loaderFunc;
|
|
4096
3991
|
}
|
|
@@ -4138,12 +4033,12 @@ class ConfigService {
|
|
|
4138
4033
|
const configUrl = this.configUrl;
|
|
4139
4034
|
try {
|
|
4140
4035
|
const config5 = await firstValueFrom(this.http.get(isDevMode() ? `${configUrl}5` : configUrl, { responseType: "text" }));
|
|
4141
|
-
return parse(config5);
|
|
4036
|
+
return JSON5.parse(config5);
|
|
4142
4037
|
}
|
|
4143
4038
|
catch (e) {
|
|
4039
|
+
console.log(`Can't parse json5 config: ${e}`, JSON5);
|
|
4144
4040
|
try {
|
|
4145
4041
|
const config = await firstValueFrom(this.http.get(configUrl));
|
|
4146
|
-
console.log(`Can't parse json5 config: ${e}`);
|
|
4147
4042
|
return config;
|
|
4148
4043
|
}
|
|
4149
4044
|
catch (e) {
|
|
@@ -4193,8 +4088,8 @@ class ConfigService {
|
|
|
4193
4088
|
return "";
|
|
4194
4089
|
return decodeURIComponent(results[2].replace(/\+/g, " "));
|
|
4195
4090
|
}
|
|
4196
|
-
static
|
|
4197
|
-
static
|
|
4091
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ConfigService, deps: [{ token: BaseHttpClient }, { token: UniversalService }, { token: i0.Injector }, { token: ROOT_ELEMENT }, { token: APP_BASE_URL }, { token: BASE_CONFIG, optional: true }, { token: SCRIPT_PARAMS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4092
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ConfigService }); }
|
|
4198
4093
|
}
|
|
4199
4094
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ConfigService, decorators: [{
|
|
4200
4095
|
type: Injectable
|
|
@@ -4217,7 +4112,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
4217
4112
|
}] }] });
|
|
4218
4113
|
|
|
4219
4114
|
class BaseDialogService {
|
|
4220
|
-
toaster;
|
|
4221
4115
|
constructor(toaster) {
|
|
4222
4116
|
this.toaster = toaster;
|
|
4223
4117
|
}
|
|
@@ -4270,8 +4164,8 @@ class BaseDialogService {
|
|
|
4270
4164
|
});
|
|
4271
4165
|
});
|
|
4272
4166
|
}
|
|
4273
|
-
static
|
|
4274
|
-
static
|
|
4167
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: BaseDialogService, deps: [{ token: TOASTER_SERVICE }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4168
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: BaseDialogService }); }
|
|
4275
4169
|
}
|
|
4276
4170
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: BaseDialogService, decorators: [{
|
|
4277
4171
|
type: Injectable
|
|
@@ -4281,11 +4175,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
4281
4175
|
}] }] });
|
|
4282
4176
|
|
|
4283
4177
|
class ErrorHandlerService extends ErrorHandler {
|
|
4284
|
-
injector;
|
|
4285
|
-
toaster;
|
|
4286
|
-
universal;
|
|
4287
|
-
errorCb;
|
|
4288
|
-
errorMap;
|
|
4289
4178
|
constructor(injector) {
|
|
4290
4179
|
super();
|
|
4291
4180
|
this.injector = injector;
|
|
@@ -4318,15 +4207,14 @@ class ErrorHandlerService extends ErrorHandler {
|
|
|
4318
4207
|
}
|
|
4319
4208
|
console.error(`[${date}]: ${error.message}\n${error.stack}`);
|
|
4320
4209
|
}
|
|
4321
|
-
static
|
|
4322
|
-
static
|
|
4210
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ErrorHandlerService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4211
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ErrorHandlerService }); }
|
|
4323
4212
|
}
|
|
4324
4213
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ErrorHandlerService, decorators: [{
|
|
4325
4214
|
type: Injectable
|
|
4326
4215
|
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
4327
4216
|
|
|
4328
4217
|
class FormatterService {
|
|
4329
|
-
language;
|
|
4330
4218
|
get defaultPrecision() {
|
|
4331
4219
|
return 2;
|
|
4332
4220
|
}
|
|
@@ -4361,8 +4249,8 @@ class FormatterService {
|
|
|
4361
4249
|
getPrecision(precision) {
|
|
4362
4250
|
return ObjectUtils.isNumber(precision) ? precision : this.defaultPrecision;
|
|
4363
4251
|
}
|
|
4364
|
-
static
|
|
4365
|
-
static
|
|
4252
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: FormatterService, deps: [{ token: LANGUAGE_SERVICE }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4253
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: FormatterService }); }
|
|
4366
4254
|
}
|
|
4367
4255
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: FormatterService, decorators: [{
|
|
4368
4256
|
type: Injectable
|
|
@@ -4372,9 +4260,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
4372
4260
|
}] }] });
|
|
4373
4261
|
|
|
4374
4262
|
class GlobalTemplateService {
|
|
4375
|
-
templatesUpdated;
|
|
4376
|
-
globalTemplates;
|
|
4377
|
-
componentModifiers;
|
|
4378
4263
|
constructor() {
|
|
4379
4264
|
this.templatesUpdated = new BehaviorSubject([]);
|
|
4380
4265
|
this.globalTemplates = {};
|
|
@@ -4401,24 +4286,20 @@ class GlobalTemplateService {
|
|
|
4401
4286
|
addComponentModifier(id, modifier) {
|
|
4402
4287
|
this.componentModifiers[id] = modifier;
|
|
4403
4288
|
}
|
|
4404
|
-
static
|
|
4405
|
-
static
|
|
4289
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: GlobalTemplateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4290
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: GlobalTemplateService }); }
|
|
4406
4291
|
}
|
|
4407
4292
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: GlobalTemplateService, decorators: [{
|
|
4408
4293
|
type: Injectable
|
|
4409
4294
|
}], ctorParameters: () => [] });
|
|
4410
4295
|
|
|
4411
4296
|
class HrefSerializer {
|
|
4412
|
-
baseHref;
|
|
4413
|
-
urlSerializer;
|
|
4414
4297
|
get count() {
|
|
4415
4298
|
return this.promiseCount;
|
|
4416
4299
|
}
|
|
4417
4300
|
get onChanged() {
|
|
4418
4301
|
return this.promiseChanged;
|
|
4419
4302
|
}
|
|
4420
|
-
promiseCount;
|
|
4421
|
-
promiseChanged;
|
|
4422
4303
|
constructor(baseHref, urlSerializer) {
|
|
4423
4304
|
this.baseHref = baseHref;
|
|
4424
4305
|
this.urlSerializer = urlSerializer;
|
|
@@ -4433,8 +4314,8 @@ class HrefSerializer {
|
|
|
4433
4314
|
? `${this.baseHref}${serialized}`.replace(/\/\/$/, "/")
|
|
4434
4315
|
: serialized;
|
|
4435
4316
|
}
|
|
4436
|
-
static
|
|
4437
|
-
static
|
|
4317
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: HrefSerializer, deps: [{ token: APP_BASE_HREF }, { token: i2.UrlSerializer }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4318
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: HrefSerializer }); }
|
|
4438
4319
|
}
|
|
4439
4320
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: HrefSerializer, decorators: [{
|
|
4440
4321
|
type: Injectable
|
|
@@ -4444,8 +4325,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
4444
4325
|
}] }, { type: i2.UrlSerializer }] });
|
|
4445
4326
|
|
|
4446
4327
|
class LocalHttpService extends BaseHttpService {
|
|
4447
|
-
svgs;
|
|
4448
|
-
images;
|
|
4449
4328
|
get name() {
|
|
4450
4329
|
return "local-http";
|
|
4451
4330
|
}
|
|
@@ -4533,15 +4412,14 @@ class LocalHttpService extends BaseHttpService {
|
|
|
4533
4412
|
throw new Error(`Can't get svg from url: ${url}, Error: ${e?.message}`);
|
|
4534
4413
|
}
|
|
4535
4414
|
}
|
|
4536
|
-
static
|
|
4537
|
-
static
|
|
4415
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: LocalHttpService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4416
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: LocalHttpService }); }
|
|
4538
4417
|
}
|
|
4539
4418
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: LocalHttpService, decorators: [{
|
|
4540
4419
|
type: Injectable
|
|
4541
4420
|
}] });
|
|
4542
4421
|
|
|
4543
4422
|
class IconService {
|
|
4544
|
-
http;
|
|
4545
4423
|
get isDisabled() {
|
|
4546
4424
|
return this.disabled;
|
|
4547
4425
|
}
|
|
@@ -4549,8 +4427,6 @@ class IconService {
|
|
|
4549
4427
|
this.disabled = value;
|
|
4550
4428
|
this.iconsLoaded.emit();
|
|
4551
4429
|
}
|
|
4552
|
-
iconsLoaded;
|
|
4553
|
-
disabled;
|
|
4554
4430
|
constructor(http) {
|
|
4555
4431
|
this.http = http;
|
|
4556
4432
|
this.iconsLoaded = new EventEmitter();
|
|
@@ -4569,8 +4445,8 @@ class IconService {
|
|
|
4569
4445
|
const src = await this.getIcon(icon, icon, false);
|
|
4570
4446
|
return this.http.svgFromSource(src, modifier);
|
|
4571
4447
|
}
|
|
4572
|
-
static
|
|
4573
|
-
static
|
|
4448
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: IconService, deps: [{ token: LocalHttpService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4449
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: IconService }); }
|
|
4574
4450
|
}
|
|
4575
4451
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: IconService, decorators: [{
|
|
4576
4452
|
type: Injectable
|
|
@@ -4578,11 +4454,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
4578
4454
|
|
|
4579
4455
|
const EMPTY_DICT = {};
|
|
4580
4456
|
class StaticLanguageService {
|
|
4581
|
-
events;
|
|
4582
|
-
storage;
|
|
4583
|
-
configs;
|
|
4584
|
-
promises;
|
|
4585
|
-
client;
|
|
4586
4457
|
get defaultLanguage() {
|
|
4587
4458
|
return this.configs.getQueryParameter("lang") || this.storage.get("language", this.getDefaultLanguage());
|
|
4588
4459
|
}
|
|
@@ -4632,13 +4503,6 @@ class StaticLanguageService {
|
|
|
4632
4503
|
get universal() {
|
|
4633
4504
|
return this.storage.universal;
|
|
4634
4505
|
}
|
|
4635
|
-
editLang;
|
|
4636
|
-
currentLang;
|
|
4637
|
-
enableTrans;
|
|
4638
|
-
languageList;
|
|
4639
|
-
translations;
|
|
4640
|
-
overrideTranslations;
|
|
4641
|
-
mergedTranslations;
|
|
4642
4506
|
constructor(events, storage, configs, promises, client) {
|
|
4643
4507
|
this.events = events;
|
|
4644
4508
|
this.storage = storage;
|
|
@@ -4777,8 +4641,8 @@ class StaticLanguageService {
|
|
|
4777
4641
|
return merged;
|
|
4778
4642
|
}, {});
|
|
4779
4643
|
}
|
|
4780
|
-
static
|
|
4781
|
-
static
|
|
4644
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: StaticLanguageService, deps: [{ token: EventsService }, { token: StorageService }, { token: CONFIG_SERVICE }, { token: PROMISE_SERVICE }, { token: BaseHttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4645
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: StaticLanguageService }); }
|
|
4782
4646
|
}
|
|
4783
4647
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: StaticLanguageService, decorators: [{
|
|
4784
4648
|
type: Injectable
|
|
@@ -4800,9 +4664,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
4800
4664
|
}] }] });
|
|
4801
4665
|
|
|
4802
4666
|
class LanguageService extends StaticLanguageService {
|
|
4803
|
-
translationRequests;
|
|
4804
|
-
settingsPromise;
|
|
4805
|
-
languageSettings;
|
|
4806
4667
|
get currentLanguage() {
|
|
4807
4668
|
return this.currentLang || this.defaultLanguage;
|
|
4808
4669
|
}
|
|
@@ -4929,21 +4790,14 @@ class LanguageService extends StaticLanguageService {
|
|
|
4929
4790
|
});
|
|
4930
4791
|
return this.settingsPromise;
|
|
4931
4792
|
}
|
|
4932
|
-
static
|
|
4933
|
-
static
|
|
4793
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: LanguageService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4794
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: LanguageService }); }
|
|
4934
4795
|
}
|
|
4935
4796
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: LanguageService, decorators: [{
|
|
4936
4797
|
type: Injectable
|
|
4937
4798
|
}] });
|
|
4938
4799
|
|
|
4939
4800
|
class OpenApiService {
|
|
4940
|
-
api;
|
|
4941
|
-
schemaSelector;
|
|
4942
|
-
staticSchemas;
|
|
4943
|
-
injector;
|
|
4944
|
-
apiDocs;
|
|
4945
|
-
schemas;
|
|
4946
|
-
dynamicSchemas;
|
|
4947
4801
|
constructor(api, schemaSelector, staticSchemas, injector) {
|
|
4948
4802
|
this.api = api;
|
|
4949
4803
|
this.schemaSelector = schemaSelector;
|
|
@@ -5040,8 +4894,8 @@ class OpenApiService {
|
|
|
5040
4894
|
return map[value];
|
|
5041
4895
|
};
|
|
5042
4896
|
}
|
|
5043
|
-
static
|
|
5044
|
-
static
|
|
4897
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: OpenApiService, deps: [{ token: API_SERVICE }, { token: SCHEMA_SELECTOR }, { token: STATIC_SCHEMAS }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4898
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: OpenApiService }); }
|
|
5045
4899
|
}
|
|
5046
4900
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: OpenApiService, decorators: [{
|
|
5047
4901
|
type: Injectable
|
|
@@ -5057,8 +4911,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
5057
4911
|
}] }, { type: i0.Injector }] });
|
|
5058
4912
|
|
|
5059
4913
|
class BaseToasterService {
|
|
5060
|
-
language;
|
|
5061
|
-
colorMap;
|
|
5062
4914
|
constructor(language) {
|
|
5063
4915
|
this.language = language;
|
|
5064
4916
|
this.colorMap = {
|
|
@@ -5118,8 +4970,8 @@ class BaseToasterService {
|
|
|
5118
4970
|
console.log(message, `background: ${this.colorMap[type]}; color: #ffffff`, params);
|
|
5119
4971
|
return null;
|
|
5120
4972
|
}
|
|
5121
|
-
static
|
|
5122
|
-
static
|
|
4973
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: BaseToasterService, deps: [{ token: LANGUAGE_SERVICE }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4974
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: BaseToasterService }); }
|
|
5123
4975
|
}
|
|
5124
4976
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: BaseToasterService, decorators: [{
|
|
5125
4977
|
type: Injectable
|
|
@@ -5129,12 +4981,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
5129
4981
|
}] }] });
|
|
5130
4982
|
|
|
5131
4983
|
class ComponentLoaderService {
|
|
5132
|
-
appRef;
|
|
5133
|
-
ngModule;
|
|
5134
|
-
rootElement;
|
|
5135
|
-
typeMap;
|
|
5136
|
-
moduleRegistry;
|
|
5137
|
-
moduleMap;
|
|
5138
4984
|
get injector() {
|
|
5139
4985
|
return this.ngModule.injector;
|
|
5140
4986
|
}
|
|
@@ -5246,8 +5092,8 @@ class ComponentLoaderService {
|
|
|
5246
5092
|
}));
|
|
5247
5093
|
return this.moduleMap.get(moduleInfo.moduleId);
|
|
5248
5094
|
}
|
|
5249
|
-
static
|
|
5250
|
-
static
|
|
5095
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ComponentLoaderService, deps: [{ token: i0.ApplicationRef }, { token: i0.NgModuleRef }, { token: ROOT_ELEMENT }, { token: DYNAMIC_MODULE_INFO, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5096
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ComponentLoaderService }); }
|
|
5251
5097
|
}
|
|
5252
5098
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ComponentLoaderService, decorators: [{
|
|
5253
5099
|
type: Injectable
|
|
@@ -5262,8 +5108,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
5262
5108
|
}] }] });
|
|
5263
5109
|
|
|
5264
5110
|
class TranslatedUrlSerializer extends DefaultUrlSerializer {
|
|
5265
|
-
language;
|
|
5266
|
-
cache;
|
|
5267
5111
|
constructor(language) {
|
|
5268
5112
|
super();
|
|
5269
5113
|
this.language = language;
|
|
@@ -5322,8 +5166,8 @@ class TranslatedUrlSerializer extends DefaultUrlSerializer {
|
|
|
5322
5166
|
});
|
|
5323
5167
|
return newGroup;
|
|
5324
5168
|
}
|
|
5325
|
-
static
|
|
5326
|
-
static
|
|
5169
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: TranslatedUrlSerializer, deps: [{ token: LANGUAGE_SERVICE }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5170
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: TranslatedUrlSerializer }); }
|
|
5327
5171
|
}
|
|
5328
5172
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: TranslatedUrlSerializer, decorators: [{
|
|
5329
5173
|
type: Injectable
|
|
@@ -5333,15 +5177,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
5333
5177
|
}] }] });
|
|
5334
5178
|
|
|
5335
5179
|
class PromiseService {
|
|
5336
|
-
zone;
|
|
5337
5180
|
get count() {
|
|
5338
5181
|
return this.promiseCount;
|
|
5339
5182
|
}
|
|
5340
5183
|
get onChanged() {
|
|
5341
5184
|
return this.promiseChanged;
|
|
5342
5185
|
}
|
|
5343
|
-
promiseCount;
|
|
5344
|
-
promiseChanged;
|
|
5345
5186
|
constructor(zone) {
|
|
5346
5187
|
this.zone = zone;
|
|
5347
5188
|
this.promiseCount = 0;
|
|
@@ -5378,8 +5219,8 @@ class PromiseService {
|
|
|
5378
5219
|
});
|
|
5379
5220
|
});
|
|
5380
5221
|
}
|
|
5381
|
-
static
|
|
5382
|
-
static
|
|
5222
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: PromiseService, deps: [{ token: NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5223
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: PromiseService }); }
|
|
5383
5224
|
}
|
|
5384
5225
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: PromiseService, decorators: [{
|
|
5385
5226
|
type: Injectable
|
|
@@ -5389,11 +5230,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
5389
5230
|
}] }] });
|
|
5390
5231
|
|
|
5391
5232
|
class SocketService {
|
|
5392
|
-
api;
|
|
5393
|
-
ioPath;
|
|
5394
|
-
events;
|
|
5395
|
-
client;
|
|
5396
|
-
userSub;
|
|
5397
5233
|
get status() {
|
|
5398
5234
|
return this.client.status;
|
|
5399
5235
|
}
|
|
@@ -5457,8 +5293,8 @@ class SocketService {
|
|
|
5457
5293
|
request(event, content) {
|
|
5458
5294
|
return this.client.request(event, content);
|
|
5459
5295
|
}
|
|
5460
|
-
static
|
|
5461
|
-
static
|
|
5296
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: SocketService, deps: [{ token: API_SERVICE }, { token: SOCKET_IO_PATH }, { token: EventsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5297
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: SocketService }); }
|
|
5462
5298
|
}
|
|
5463
5299
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: SocketService, decorators: [{
|
|
5464
5300
|
type: Injectable
|
|
@@ -5471,18 +5307,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
5471
5307
|
}] }, { type: EventsService }] });
|
|
5472
5308
|
|
|
5473
5309
|
class DragDropHandler {
|
|
5474
|
-
el;
|
|
5475
|
-
static handlers;
|
|
5476
|
-
onDragStart;
|
|
5477
|
-
onDragEnter;
|
|
5478
|
-
onDragOver;
|
|
5479
|
-
onDragLeave;
|
|
5480
|
-
onDrop;
|
|
5481
|
-
first;
|
|
5482
|
-
second;
|
|
5483
|
-
dropEffect;
|
|
5484
|
-
effectAllowed;
|
|
5485
|
-
listeners;
|
|
5486
5310
|
static get(el) {
|
|
5487
5311
|
if (DragDropHandler.handlers?.has(el)) {
|
|
5488
5312
|
return DragDropHandler.handlers.get(el);
|
|
@@ -5574,8 +5398,7 @@ class DragDropHandler {
|
|
|
5574
5398
|
function emptyRemove$2() {
|
|
5575
5399
|
}
|
|
5576
5400
|
class DragDropEventPlugin extends _DomEventsPlugin {
|
|
5577
|
-
|
|
5578
|
-
static EVENT_NAMES = ["dragstart", "dragenter", "dragleave", "drop"];
|
|
5401
|
+
static { this.EVENT_NAMES = ["dragstart", "dragenter", "dragleave", "drop"]; }
|
|
5579
5402
|
constructor(doc, universal) {
|
|
5580
5403
|
super(doc);
|
|
5581
5404
|
this.universal = universal;
|
|
@@ -5596,8 +5419,8 @@ class DragDropEventPlugin extends _DomEventsPlugin {
|
|
|
5596
5419
|
return () => dd.removeListener(eventName, callback);
|
|
5597
5420
|
});
|
|
5598
5421
|
}
|
|
5599
|
-
static
|
|
5600
|
-
static
|
|
5422
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: DragDropEventPlugin, deps: [{ token: DOCUMENT }, { token: UniversalService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5423
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: DragDropEventPlugin }); }
|
|
5601
5424
|
}
|
|
5602
5425
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: DragDropEventPlugin, decorators: [{
|
|
5603
5426
|
type: Injectable
|
|
@@ -5607,10 +5430,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
5607
5430
|
}] }, { type: UniversalService }] });
|
|
5608
5431
|
|
|
5609
5432
|
class ResizeDetector {
|
|
5610
|
-
resizeStrategy;
|
|
5611
|
-
detector;
|
|
5612
|
-
isObservable;
|
|
5613
|
-
observers;
|
|
5614
5433
|
constructor(resizeStrategy) {
|
|
5615
5434
|
this.resizeStrategy = resizeStrategy;
|
|
5616
5435
|
this.detector = elementResizeDetectorMaker({
|
|
@@ -5653,11 +5472,7 @@ function isWindow(el) {
|
|
|
5653
5472
|
return typeof window !== "undefined" && el === window;
|
|
5654
5473
|
}
|
|
5655
5474
|
class ResizeEventPlugin extends _DomEventsPlugin {
|
|
5656
|
-
|
|
5657
|
-
resizeStrategy;
|
|
5658
|
-
universal;
|
|
5659
|
-
static EVENT_NAME = "resize";
|
|
5660
|
-
detector;
|
|
5475
|
+
static { this.EVENT_NAME = "resize"; }
|
|
5661
5476
|
constructor(doc, resizeDelay, resizeStrategy, universal) {
|
|
5662
5477
|
super(doc);
|
|
5663
5478
|
this.resizeDelay = resizeDelay;
|
|
@@ -5702,8 +5517,8 @@ class ResizeEventPlugin extends _DomEventsPlugin {
|
|
|
5702
5517
|
};
|
|
5703
5518
|
});
|
|
5704
5519
|
}
|
|
5705
|
-
static
|
|
5706
|
-
static
|
|
5520
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ResizeEventPlugin, deps: [{ token: DOCUMENT }, { token: RESIZE_DELAY }, { token: RESIZE_STRATEGY }, { token: UniversalService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5521
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ResizeEventPlugin }); }
|
|
5707
5522
|
}
|
|
5708
5523
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ResizeEventPlugin, decorators: [{
|
|
5709
5524
|
type: Injectable
|
|
@@ -5721,8 +5536,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
5721
5536
|
function emptyRemove() {
|
|
5722
5537
|
}
|
|
5723
5538
|
class ScrollEventPlugin extends _DomEventsPlugin {
|
|
5724
|
-
|
|
5725
|
-
static EVENT_NAME = "scroll";
|
|
5539
|
+
static { this.EVENT_NAME = "scroll"; }
|
|
5726
5540
|
constructor(doc, universal) {
|
|
5727
5541
|
super(doc);
|
|
5728
5542
|
this.universal = universal;
|
|
@@ -5742,8 +5556,8 @@ class ScrollEventPlugin extends _DomEventsPlugin {
|
|
|
5742
5556
|
return () => element.removeEventListener(eventName, callback);
|
|
5743
5557
|
});
|
|
5744
5558
|
}
|
|
5745
|
-
static
|
|
5746
|
-
static
|
|
5559
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ScrollEventPlugin, deps: [{ token: DOCUMENT }, { token: UniversalService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5560
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ScrollEventPlugin }); }
|
|
5747
5561
|
}
|
|
5748
5562
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ScrollEventPlugin, decorators: [{
|
|
5749
5563
|
type: Injectable
|
|
@@ -5765,8 +5579,8 @@ class ChunkPipe {
|
|
|
5765
5579
|
});
|
|
5766
5580
|
return result;
|
|
5767
5581
|
}
|
|
5768
|
-
static
|
|
5769
|
-
static
|
|
5582
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ChunkPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5583
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: ChunkPipe, isStandalone: false, name: "chunk" }); }
|
|
5770
5584
|
}
|
|
5771
5585
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ChunkPipe, decorators: [{
|
|
5772
5586
|
type: Pipe,
|
|
@@ -5791,8 +5605,8 @@ class EntriesPipe {
|
|
|
5791
5605
|
});
|
|
5792
5606
|
return entries;
|
|
5793
5607
|
}
|
|
5794
|
-
static
|
|
5795
|
-
static
|
|
5608
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: EntriesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5609
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: EntriesPipe, isStandalone: false, name: "entries" }); }
|
|
5796
5610
|
}
|
|
5797
5611
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: EntriesPipe, decorators: [{
|
|
5798
5612
|
type: Pipe,
|
|
@@ -5820,8 +5634,8 @@ class ExtraItemPropertiesPipe {
|
|
|
5820
5634
|
return result;
|
|
5821
5635
|
}, { ...item }));
|
|
5822
5636
|
}
|
|
5823
|
-
static
|
|
5824
|
-
static
|
|
5637
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ExtraItemPropertiesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5638
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: ExtraItemPropertiesPipe, isStandalone: false, name: "extraItemProperties" }); }
|
|
5825
5639
|
}
|
|
5826
5640
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ExtraItemPropertiesPipe, decorators: [{
|
|
5827
5641
|
type: Pipe,
|
|
@@ -5855,8 +5669,8 @@ class FilterPipe {
|
|
|
5855
5669
|
return filterFunc(value, key, params, values);
|
|
5856
5670
|
});
|
|
5857
5671
|
}
|
|
5858
|
-
static
|
|
5859
|
-
static
|
|
5672
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: FilterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5673
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: FilterPipe, isStandalone: false, name: "filter" }); }
|
|
5860
5674
|
}
|
|
5861
5675
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: FilterPipe, decorators: [{
|
|
5862
5676
|
type: Pipe,
|
|
@@ -5882,8 +5696,8 @@ class FindPipe {
|
|
|
5882
5696
|
};
|
|
5883
5697
|
return values.find((value, index) => filterFunc(value, index, params, values));
|
|
5884
5698
|
}
|
|
5885
|
-
static
|
|
5886
|
-
static
|
|
5699
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: FindPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5700
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: FindPipe, isStandalone: false, name: "find" }); }
|
|
5887
5701
|
}
|
|
5888
5702
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: FindPipe, decorators: [{
|
|
5889
5703
|
type: Pipe,
|
|
@@ -5894,15 +5708,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
5894
5708
|
}] });
|
|
5895
5709
|
|
|
5896
5710
|
class FormatNumberPipe {
|
|
5897
|
-
formatter;
|
|
5898
5711
|
constructor(formatter) {
|
|
5899
5712
|
this.formatter = formatter;
|
|
5900
5713
|
}
|
|
5901
5714
|
transform(value, format, precision, divider) {
|
|
5902
5715
|
return this.formatter.formatNumber(value, format, precision, divider);
|
|
5903
5716
|
}
|
|
5904
|
-
static
|
|
5905
|
-
static
|
|
5717
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: FormatNumberPipe, deps: [{ token: FormatterService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5718
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: FormatNumberPipe, isStandalone: false, name: "formatNumber" }); }
|
|
5906
5719
|
}
|
|
5907
5720
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: FormatNumberPipe, decorators: [{
|
|
5908
5721
|
type: Pipe,
|
|
@@ -5916,8 +5729,8 @@ class GetOffsetPipe {
|
|
|
5916
5729
|
transform(value, offset) {
|
|
5917
5730
|
return value ? (ObjectUtils.isNullOrUndefined(offset) ? value : value[offset]) : null;
|
|
5918
5731
|
}
|
|
5919
|
-
static
|
|
5920
|
-
static
|
|
5732
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: GetOffsetPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5733
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: GetOffsetPipe, isStandalone: false, name: "getOffset" }); }
|
|
5921
5734
|
}
|
|
5922
5735
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: GetOffsetPipe, decorators: [{
|
|
5923
5736
|
type: Pipe,
|
|
@@ -5931,8 +5744,8 @@ class GetTypePipe {
|
|
|
5931
5744
|
transform(value) {
|
|
5932
5745
|
return ObjectUtils.getType(value);
|
|
5933
5746
|
}
|
|
5934
|
-
static
|
|
5935
|
-
static
|
|
5747
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: GetTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5748
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: GetTypePipe, isStandalone: false, name: "getType" }); }
|
|
5936
5749
|
}
|
|
5937
5750
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: GetTypePipe, decorators: [{
|
|
5938
5751
|
type: Pipe,
|
|
@@ -5946,8 +5759,8 @@ class GetValuePipe {
|
|
|
5946
5759
|
transform(value, path, defaultVal = "") {
|
|
5947
5760
|
return !value ? value : ObjectUtils.getValue(value, path, defaultVal);
|
|
5948
5761
|
}
|
|
5949
|
-
static
|
|
5950
|
-
static
|
|
5762
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: GetValuePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5763
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: GetValuePipe, isStandalone: false, name: "getValue" }); }
|
|
5951
5764
|
}
|
|
5952
5765
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: GetValuePipe, decorators: [{
|
|
5953
5766
|
type: Pipe,
|
|
@@ -5958,10 +5771,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
5958
5771
|
}] });
|
|
5959
5772
|
|
|
5960
5773
|
class GlobalTemplatePipe {
|
|
5961
|
-
globalTemplates;
|
|
5962
|
-
templatesUpdated;
|
|
5963
|
-
cachedTemplateId;
|
|
5964
|
-
cachedTemplate;
|
|
5965
5774
|
constructor(globalTemplates) {
|
|
5966
5775
|
this.globalTemplates = globalTemplates;
|
|
5967
5776
|
this.cachedTemplateId = null;
|
|
@@ -5985,8 +5794,8 @@ class GlobalTemplatePipe {
|
|
|
5985
5794
|
}
|
|
5986
5795
|
return this.cachedTemplate;
|
|
5987
5796
|
}
|
|
5988
|
-
static
|
|
5989
|
-
static
|
|
5797
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: GlobalTemplatePipe, deps: [{ token: GlobalTemplateService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5798
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: GlobalTemplatePipe, isStandalone: false, name: "globalTemplate", pure: false }); }
|
|
5990
5799
|
}
|
|
5991
5800
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: GlobalTemplatePipe, decorators: [{
|
|
5992
5801
|
type: Pipe,
|
|
@@ -6011,8 +5820,8 @@ class GroupByPipe {
|
|
|
6011
5820
|
return { group: key, items: groups[key] };
|
|
6012
5821
|
});
|
|
6013
5822
|
}
|
|
6014
|
-
static
|
|
6015
|
-
static
|
|
5823
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: GroupByPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5824
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: GroupByPipe, isStandalone: false, name: "groupBy" }); }
|
|
6016
5825
|
}
|
|
6017
5826
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: GroupByPipe, decorators: [{
|
|
6018
5827
|
type: Pipe,
|
|
@@ -6029,8 +5838,8 @@ class IncludesPipe {
|
|
|
6029
5838
|
transform(array, ...values) {
|
|
6030
5839
|
return ObjectUtils.isArray(array) && values.some(v => array.includes(v));
|
|
6031
5840
|
}
|
|
6032
|
-
static
|
|
6033
|
-
static
|
|
5841
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: IncludesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5842
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: IncludesPipe, isStandalone: false, name: "includes" }); }
|
|
6034
5843
|
}
|
|
6035
5844
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: IncludesPipe, decorators: [{
|
|
6036
5845
|
type: Pipe,
|
|
@@ -6044,8 +5853,8 @@ class IsTypePipe {
|
|
|
6044
5853
|
transform(value, type) {
|
|
6045
5854
|
return ObjectUtils.getType(value) === type;
|
|
6046
5855
|
}
|
|
6047
|
-
static
|
|
6048
|
-
static
|
|
5856
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: IsTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5857
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: IsTypePipe, isStandalone: false, name: "isType" }); }
|
|
6049
5858
|
}
|
|
6050
5859
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: IsTypePipe, decorators: [{
|
|
6051
5860
|
type: Pipe,
|
|
@@ -6061,8 +5870,8 @@ class JoinPipe {
|
|
|
6061
5870
|
? value.join(separator)
|
|
6062
5871
|
: "";
|
|
6063
5872
|
}
|
|
6064
|
-
static
|
|
6065
|
-
static
|
|
5873
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: JoinPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5874
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: JoinPipe, isStandalone: false, name: "join" }); }
|
|
6066
5875
|
}
|
|
6067
5876
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: JoinPipe, decorators: [{
|
|
6068
5877
|
type: Pipe,
|
|
@@ -6081,8 +5890,8 @@ class KeysPipe {
|
|
|
6081
5890
|
? Array.from(value.keys())
|
|
6082
5891
|
: Object.keys(value);
|
|
6083
5892
|
}
|
|
6084
|
-
static
|
|
6085
|
-
static
|
|
5893
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5894
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: KeysPipe, isStandalone: false, name: "keys" }); }
|
|
6086
5895
|
}
|
|
6087
5896
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: KeysPipe, decorators: [{
|
|
6088
5897
|
type: Pipe,
|
|
@@ -6108,8 +5917,8 @@ class MapPipe {
|
|
|
6108
5917
|
};
|
|
6109
5918
|
return values.map((value, index) => mapperFunc(value, index, params));
|
|
6110
5919
|
}
|
|
6111
|
-
static
|
|
6112
|
-
static
|
|
5920
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: MapPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5921
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: MapPipe, isStandalone: false, name: "map" }); }
|
|
6113
5922
|
}
|
|
6114
5923
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: MapPipe, decorators: [{
|
|
6115
5924
|
type: Pipe,
|
|
@@ -6131,8 +5940,8 @@ class MaxPipe {
|
|
|
6131
5940
|
};
|
|
6132
5941
|
return ArrayUtils.max(value, (item, index) => maxSelector(item, index, params));
|
|
6133
5942
|
}
|
|
6134
|
-
static
|
|
6135
|
-
static
|
|
5943
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: MaxPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5944
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: MaxPipe, isStandalone: false, name: "max" }); }
|
|
6136
5945
|
}
|
|
6137
5946
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: MaxPipe, decorators: [{
|
|
6138
5947
|
type: Pipe,
|
|
@@ -6154,8 +5963,8 @@ class MinPipe {
|
|
|
6154
5963
|
};
|
|
6155
5964
|
return ArrayUtils.min(value, (item, index) => minSelector(item, index, params));
|
|
6156
5965
|
}
|
|
6157
|
-
static
|
|
6158
|
-
static
|
|
5966
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: MinPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5967
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: MinPipe, isStandalone: false, name: "min" }); }
|
|
6159
5968
|
}
|
|
6160
5969
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: MinPipe, decorators: [{
|
|
6161
5970
|
type: Pipe,
|
|
@@ -6169,8 +5978,8 @@ class PopPipe {
|
|
|
6169
5978
|
transform(value) {
|
|
6170
5979
|
return !Array.isArray(value) ? null : Array.from(value).pop();
|
|
6171
5980
|
}
|
|
6172
|
-
static
|
|
6173
|
-
static
|
|
5981
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: PopPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5982
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: PopPipe, isStandalone: false, name: "pop" }); }
|
|
6174
5983
|
}
|
|
6175
5984
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: PopPipe, decorators: [{
|
|
6176
5985
|
type: Pipe,
|
|
@@ -6197,8 +6006,8 @@ class ReducePipe {
|
|
|
6197
6006
|
};
|
|
6198
6007
|
return values.reduce((result, value, index) => mapperFunc(result, value, index, params), source);
|
|
6199
6008
|
}
|
|
6200
|
-
static
|
|
6201
|
-
static
|
|
6009
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ReducePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
6010
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: ReducePipe, isStandalone: false, name: "reduce" }); }
|
|
6202
6011
|
}
|
|
6203
6012
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ReducePipe, decorators: [{
|
|
6204
6013
|
type: Pipe,
|
|
@@ -6227,8 +6036,8 @@ class RemapPipe {
|
|
|
6227
6036
|
});
|
|
6228
6037
|
return remapped.map;
|
|
6229
6038
|
}
|
|
6230
|
-
static
|
|
6231
|
-
static
|
|
6039
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: RemapPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
6040
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: RemapPipe, isStandalone: false, name: "remap" }); }
|
|
6232
6041
|
}
|
|
6233
6042
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: RemapPipe, decorators: [{
|
|
6234
6043
|
type: Pipe,
|
|
@@ -6242,8 +6051,8 @@ class ReplacePipe {
|
|
|
6242
6051
|
transform(value, from, to) {
|
|
6243
6052
|
return ObjectUtils.isDefined(value) ? `${value}`.replace(from, to) : ``;
|
|
6244
6053
|
}
|
|
6245
|
-
static
|
|
6246
|
-
static
|
|
6054
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ReplacePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
6055
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: ReplacePipe, isStandalone: false, name: "replace" }); }
|
|
6247
6056
|
}
|
|
6248
6057
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ReplacePipe, decorators: [{
|
|
6249
6058
|
type: Pipe,
|
|
@@ -6264,8 +6073,8 @@ class ReversePipe {
|
|
|
6264
6073
|
}
|
|
6265
6074
|
return result;
|
|
6266
6075
|
}
|
|
6267
|
-
static
|
|
6268
|
-
static
|
|
6076
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ReversePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
6077
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: ReversePipe, isStandalone: false, name: "reverse" }); }
|
|
6269
6078
|
}
|
|
6270
6079
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ReversePipe, decorators: [{
|
|
6271
6080
|
type: Pipe,
|
|
@@ -6276,15 +6085,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
6276
6085
|
}] });
|
|
6277
6086
|
|
|
6278
6087
|
class RoundPipe {
|
|
6279
|
-
formatter;
|
|
6280
6088
|
constructor(formatter) {
|
|
6281
6089
|
this.formatter = formatter;
|
|
6282
6090
|
}
|
|
6283
6091
|
transform(value, precision = 2, divider = 1) {
|
|
6284
6092
|
return this.formatter.roundNumber(value, precision, divider);
|
|
6285
6093
|
}
|
|
6286
|
-
static
|
|
6287
|
-
static
|
|
6094
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: RoundPipe, deps: [{ token: FormatterService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
6095
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: RoundPipe, isStandalone: false, name: "round" }); }
|
|
6288
6096
|
}
|
|
6289
6097
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: RoundPipe, decorators: [{
|
|
6290
6098
|
type: Pipe,
|
|
@@ -6295,7 +6103,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
6295
6103
|
}], ctorParameters: () => [{ type: FormatterService }] });
|
|
6296
6104
|
|
|
6297
6105
|
class SafeHtmlPipe {
|
|
6298
|
-
sanitizer;
|
|
6299
6106
|
constructor(sanitizer) {
|
|
6300
6107
|
this.sanitizer = sanitizer;
|
|
6301
6108
|
}
|
|
@@ -6315,8 +6122,8 @@ class SafeHtmlPipe {
|
|
|
6315
6122
|
throw new Error(`SafePipe unable to bypass security for invalid type: ${type}`);
|
|
6316
6123
|
}
|
|
6317
6124
|
}
|
|
6318
|
-
static
|
|
6319
|
-
static
|
|
6125
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: SafeHtmlPipe, deps: [{ token: i1$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
6126
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: SafeHtmlPipe, isStandalone: false, name: "safe" }); }
|
|
6320
6127
|
}
|
|
6321
6128
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: SafeHtmlPipe, decorators: [{
|
|
6322
6129
|
type: Pipe,
|
|
@@ -6330,8 +6137,8 @@ class ShiftPipe {
|
|
|
6330
6137
|
transform(value) {
|
|
6331
6138
|
return !Array.isArray(value) ? null : Array.from(value).shift();
|
|
6332
6139
|
}
|
|
6333
|
-
static
|
|
6334
|
-
static
|
|
6140
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ShiftPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
6141
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: ShiftPipe, isStandalone: false, name: "shift" }); }
|
|
6335
6142
|
}
|
|
6336
6143
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ShiftPipe, decorators: [{
|
|
6337
6144
|
type: Pipe,
|
|
@@ -6345,8 +6152,8 @@ class SplitPipe {
|
|
|
6345
6152
|
transform(value, separator = ".") {
|
|
6346
6153
|
return `${value}`.split(separator);
|
|
6347
6154
|
}
|
|
6348
|
-
static
|
|
6349
|
-
static
|
|
6155
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: SplitPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
6156
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: SplitPipe, isStandalone: false, name: "split" }); }
|
|
6350
6157
|
}
|
|
6351
6158
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: SplitPipe, decorators: [{
|
|
6352
6159
|
type: Pipe,
|
|
@@ -6362,8 +6169,8 @@ class SyncAsyncPipe extends AsyncPipe {
|
|
|
6362
6169
|
? super.transform(value)
|
|
6363
6170
|
: value;
|
|
6364
6171
|
}
|
|
6365
|
-
static
|
|
6366
|
-
static
|
|
6172
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: SyncAsyncPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
6173
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: SyncAsyncPipe, isStandalone: false, name: "syncAsync", pure: false }); }
|
|
6367
6174
|
}
|
|
6368
6175
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: SyncAsyncPipe, decorators: [{
|
|
6369
6176
|
type: Pipe,
|
|
@@ -6375,14 +6182,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
6375
6182
|
}] });
|
|
6376
6183
|
|
|
6377
6184
|
class TranslatePipe {
|
|
6378
|
-
cdr;
|
|
6379
|
-
language;
|
|
6380
|
-
dictionary;
|
|
6381
|
-
enabled;
|
|
6382
|
-
query;
|
|
6383
|
-
args;
|
|
6384
|
-
params;
|
|
6385
|
-
lastValue;
|
|
6386
6185
|
get currentLang() {
|
|
6387
6186
|
return this.language.currentLanguage;
|
|
6388
6187
|
}
|
|
@@ -6446,9 +6245,9 @@ class TranslatePipe {
|
|
|
6446
6245
|
}
|
|
6447
6246
|
return this.lastValue;
|
|
6448
6247
|
}
|
|
6449
|
-
static
|
|
6450
|
-
static
|
|
6451
|
-
static
|
|
6248
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: TranslatePipe, deps: [{ token: i0.ChangeDetectorRef }, { token: LANGUAGE_SERVICE }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
6249
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: TranslatePipe, isStandalone: false, name: "translate", pure: false }); }
|
|
6250
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: TranslatePipe }); }
|
|
6452
6251
|
}
|
|
6453
6252
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: TranslatePipe, decorators: [{
|
|
6454
6253
|
type: Injectable
|
|
@@ -6473,8 +6272,8 @@ class ValuesPipe {
|
|
|
6473
6272
|
? value
|
|
6474
6273
|
: Object.keys(value).map(key => value[key]);
|
|
6475
6274
|
}
|
|
6476
|
-
static
|
|
6477
|
-
static
|
|
6275
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ValuesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
6276
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: ValuesPipe, isStandalone: false, name: "values" }); }
|
|
6478
6277
|
}
|
|
6479
6278
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ValuesPipe, decorators: [{
|
|
6480
6279
|
type: Pipe,
|
|
@@ -6485,17 +6284,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
6485
6284
|
}] });
|
|
6486
6285
|
|
|
6487
6286
|
class AsyncMethodBase {
|
|
6488
|
-
disabled = signal(false);
|
|
6489
|
-
context = input({});
|
|
6490
|
-
onSuccess = output();
|
|
6491
|
-
onError = output();
|
|
6492
|
-
toaster = inject(TOASTER_SERVICE);
|
|
6493
|
-
cdr = inject(ChangeDetectorRef);
|
|
6494
|
-
element = inject(ElementRef);
|
|
6495
|
-
loading = signal(false);
|
|
6496
|
-
target = signal(this.element.nativeElement);
|
|
6497
|
-
previousTarget = computedPrevious(this.target);
|
|
6498
6287
|
constructor() {
|
|
6288
|
+
this.disabled = signal(false);
|
|
6289
|
+
this.context = input({});
|
|
6290
|
+
this.onSuccess = output();
|
|
6291
|
+
this.onError = output();
|
|
6292
|
+
this.toaster = inject(TOASTER_SERVICE);
|
|
6293
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
6294
|
+
this.element = inject(ElementRef);
|
|
6295
|
+
this.loading = signal(false);
|
|
6296
|
+
this.target = signal(this.element.nativeElement);
|
|
6297
|
+
this.previousTarget = computedPrevious(this.target);
|
|
6499
6298
|
effect(() => {
|
|
6500
6299
|
const target = this.target();
|
|
6501
6300
|
if (!target)
|
|
@@ -6567,8 +6366,8 @@ class AsyncMethodBase {
|
|
|
6567
6366
|
getArgs(ev) {
|
|
6568
6367
|
return untracked(() => [this.context(), ev]);
|
|
6569
6368
|
}
|
|
6570
|
-
static
|
|
6571
|
-
static
|
|
6369
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: AsyncMethodBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6370
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.22", type: AsyncMethodBase, isStandalone: false, selector: "[__asmb__]", inputs: { context: { classPropertyName: "context", publicName: "context", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onSuccess: "onSuccess", onError: "onError" }, host: { listeners: { "click": "onClick($event)" } }, usesOnChanges: true, ngImport: i0 }); }
|
|
6572
6371
|
}
|
|
6573
6372
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: AsyncMethodBase, decorators: [{
|
|
6574
6373
|
type: Directive,
|
|
@@ -6582,14 +6381,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
6582
6381
|
}] } });
|
|
6583
6382
|
|
|
6584
6383
|
class AsyncMethodDirective extends AsyncMethodBase {
|
|
6585
|
-
|
|
6384
|
+
constructor() {
|
|
6385
|
+
super(...arguments);
|
|
6386
|
+
this.method = input(null, { alias: "async-method" });
|
|
6387
|
+
}
|
|
6586
6388
|
getMethod() {
|
|
6587
6389
|
return untracked(() => this.method());
|
|
6588
6390
|
}
|
|
6589
|
-
static
|
|
6590
|
-
static
|
|
6391
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: AsyncMethodDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6392
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.22", type: AsyncMethodDirective, isStandalone: false, selector: "[async-method]", inputs: { method: { classPropertyName: "method", publicName: "async-method", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
6591
6393
|
{ provide: AsyncMethodBase, useExisting: AsyncMethodDirective }
|
|
6592
|
-
], exportAs: ["async-method"], usesInheritance: true, ngImport: i0 });
|
|
6394
|
+
], exportAs: ["async-method"], usesInheritance: true, ngImport: i0 }); }
|
|
6593
6395
|
}
|
|
6594
6396
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: AsyncMethodDirective, decorators: [{
|
|
6595
6397
|
type: Directive,
|
|
@@ -6604,8 +6406,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
6604
6406
|
}] });
|
|
6605
6407
|
|
|
6606
6408
|
class AsyncMethodTargetDirective {
|
|
6607
|
-
element;
|
|
6608
|
-
asyncMethod;
|
|
6609
6409
|
constructor(element, asyncMethod) {
|
|
6610
6410
|
this.element = element;
|
|
6611
6411
|
this.asyncMethod = asyncMethod;
|
|
@@ -6615,8 +6415,8 @@ class AsyncMethodTargetDirective {
|
|
|
6615
6415
|
}
|
|
6616
6416
|
asyncMethod.target.set(element.nativeElement);
|
|
6617
6417
|
}
|
|
6618
|
-
static
|
|
6619
|
-
static
|
|
6418
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: AsyncMethodTargetDirective, deps: [{ token: i0.ElementRef }, { token: AsyncMethodBase, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6419
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.22", type: AsyncMethodTargetDirective, isStandalone: false, selector: "[async-method-target]", ngImport: i0 }); }
|
|
6620
6420
|
}
|
|
6621
6421
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: AsyncMethodTargetDirective, decorators: [{
|
|
6622
6422
|
type: Directive,
|
|
@@ -6631,12 +6431,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
6631
6431
|
const defaultClass = "default-image";
|
|
6632
6432
|
const loadingClass = "loading-image";
|
|
6633
6433
|
class BackgroundDirective {
|
|
6634
|
-
http;
|
|
6635
|
-
element;
|
|
6636
|
-
renderer;
|
|
6637
|
-
universal;
|
|
6638
|
-
background;
|
|
6639
|
-
backgroundSize;
|
|
6640
6434
|
constructor(http, element, renderer, universal) {
|
|
6641
6435
|
this.http = http;
|
|
6642
6436
|
this.element = element;
|
|
@@ -6664,8 +6458,8 @@ class BackgroundDirective {
|
|
|
6664
6458
|
return;
|
|
6665
6459
|
this.renderer.setStyle(this.element.nativeElement, "background-size", this.backgroundSize);
|
|
6666
6460
|
}
|
|
6667
|
-
static
|
|
6668
|
-
static
|
|
6461
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: BackgroundDirective, deps: [{ token: i1$1.HttpClient }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: UniversalService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6462
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.22", type: BackgroundDirective, isStandalone: false, selector: "[background]", inputs: { background: "background", backgroundSize: "backgroundSize" }, usesOnChanges: true, ngImport: i0 }); }
|
|
6669
6463
|
}
|
|
6670
6464
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: BackgroundDirective, decorators: [{
|
|
6671
6465
|
type: Directive,
|
|
@@ -6680,11 +6474,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
6680
6474
|
}] } });
|
|
6681
6475
|
|
|
6682
6476
|
class ComponentLoaderDirective {
|
|
6683
|
-
vcr;
|
|
6684
|
-
loader;
|
|
6685
|
-
module;
|
|
6686
|
-
selector;
|
|
6687
|
-
cr;
|
|
6688
6477
|
constructor(vcr, loader) {
|
|
6689
6478
|
this.vcr = vcr;
|
|
6690
6479
|
this.loader = loader;
|
|
@@ -6712,8 +6501,8 @@ class ComponentLoaderDirective {
|
|
|
6712
6501
|
}
|
|
6713
6502
|
this.cr.hostView.destroy();
|
|
6714
6503
|
}
|
|
6715
|
-
static
|
|
6716
|
-
static
|
|
6504
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ComponentLoaderDirective, deps: [{ token: i0.ViewContainerRef }, { token: ComponentLoaderService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6505
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.22", type: ComponentLoaderDirective, isStandalone: false, selector: "[loadComponent]", inputs: { module: "module", selector: ["loadComponent", "selector"] }, usesOnChanges: true, ngImport: i0 }); }
|
|
6717
6506
|
}
|
|
6718
6507
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ComponentLoaderDirective, decorators: [{
|
|
6719
6508
|
type: Directive,
|
|
@@ -6729,14 +6518,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
6729
6518
|
}] } });
|
|
6730
6519
|
|
|
6731
6520
|
class DynamicTableTemplateDirective {
|
|
6732
|
-
ref;
|
|
6733
|
-
column;
|
|
6734
|
-
pure;
|
|
6735
6521
|
constructor(ref) {
|
|
6736
6522
|
this.ref = ref;
|
|
6737
6523
|
}
|
|
6738
|
-
static
|
|
6739
|
-
static
|
|
6524
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: DynamicTableTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6525
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.22", type: DynamicTableTemplateDirective, isStandalone: false, selector: "ng-template[column]", inputs: { column: "column", pure: "pure" }, ngImport: i0 }); }
|
|
6740
6526
|
}
|
|
6741
6527
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: DynamicTableTemplateDirective, decorators: [{
|
|
6742
6528
|
type: Directive,
|
|
@@ -6751,9 +6537,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
6751
6537
|
}] } });
|
|
6752
6538
|
|
|
6753
6539
|
class GlobalTemplateDirective {
|
|
6754
|
-
globalTemplates;
|
|
6755
|
-
template;
|
|
6756
|
-
id;
|
|
6757
6540
|
constructor(globalTemplates, template) {
|
|
6758
6541
|
this.globalTemplates = globalTemplates;
|
|
6759
6542
|
this.template = template;
|
|
@@ -6764,8 +6547,8 @@ class GlobalTemplateDirective {
|
|
|
6764
6547
|
ngOnDestroy() {
|
|
6765
6548
|
this.globalTemplates.remove(this.id);
|
|
6766
6549
|
}
|
|
6767
|
-
static
|
|
6768
|
-
static
|
|
6550
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: GlobalTemplateDirective, deps: [{ token: GlobalTemplateService }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6551
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.22", type: GlobalTemplateDirective, isStandalone: false, selector: "[globalTemplate]", inputs: { id: ["globalTemplate", "id"] }, ngImport: i0 }); }
|
|
6769
6552
|
}
|
|
6770
6553
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: GlobalTemplateDirective, decorators: [{
|
|
6771
6554
|
type: Directive,
|
|
@@ -6779,17 +6562,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
6779
6562
|
}] } });
|
|
6780
6563
|
|
|
6781
6564
|
class IconDirective {
|
|
6782
|
-
element;
|
|
6783
|
-
renderer;
|
|
6784
|
-
icons;
|
|
6785
|
-
icon;
|
|
6786
|
-
activeIcon;
|
|
6787
|
-
active;
|
|
6788
|
-
activeChange;
|
|
6789
6565
|
get isActive() {
|
|
6790
6566
|
return this.active;
|
|
6791
6567
|
}
|
|
6792
|
-
iconsLoaded;
|
|
6793
6568
|
constructor(element, renderer, icons) {
|
|
6794
6569
|
this.element = element;
|
|
6795
6570
|
this.renderer = renderer;
|
|
@@ -6823,8 +6598,8 @@ class IconDirective {
|
|
|
6823
6598
|
this.element.nativeElement.innerHTML = icon;
|
|
6824
6599
|
});
|
|
6825
6600
|
}
|
|
6826
|
-
static
|
|
6827
|
-
static
|
|
6601
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: IconDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: ICON_SERVICE }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6602
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.22", type: IconDirective, isStandalone: false, selector: "i[icon],b[icon],p[icon],span[icon],a[icon],h1[icon],h2[icon],h3[icon],h4[icon]", inputs: { icon: "icon", activeIcon: "activeIcon", active: "active" }, outputs: { activeChange: "activeChange" }, host: { listeners: { "click": "click()" }, properties: { "class.active": "this.isActive" } }, usesOnChanges: true, ngImport: i0 }); }
|
|
6828
6603
|
}
|
|
6829
6604
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: IconDirective, decorators: [{
|
|
6830
6605
|
type: Directive,
|
|
@@ -6852,11 +6627,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
6852
6627
|
}] } });
|
|
6853
6628
|
|
|
6854
6629
|
class NgxTemplateOutletDirective {
|
|
6855
|
-
_viewContainerRef;
|
|
6856
|
-
viewRef;
|
|
6857
|
-
context;
|
|
6858
|
-
additionalContext;
|
|
6859
|
-
ngxTemplateOutlet;
|
|
6860
6630
|
static hasContextShapeChanged(ctxChange) {
|
|
6861
6631
|
const prevCtxKeys = Object.keys(ctxChange.previousValue || {});
|
|
6862
6632
|
const currCtxKeys = Object.keys(ctxChange.currentValue || {});
|
|
@@ -6927,8 +6697,8 @@ class NgxTemplateOutletDirective {
|
|
|
6927
6697
|
context[propName] = ctx[propName];
|
|
6928
6698
|
}
|
|
6929
6699
|
}
|
|
6930
|
-
static
|
|
6931
|
-
static
|
|
6700
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: NgxTemplateOutletDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6701
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.22", type: NgxTemplateOutletDirective, isStandalone: false, selector: "[ngxTemplateOutlet]", inputs: { context: "context", additionalContext: "additionalContext", ngxTemplateOutlet: "ngxTemplateOutlet" }, usesOnChanges: true, ngImport: i0 }); }
|
|
6932
6702
|
}
|
|
6933
6703
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: NgxTemplateOutletDirective, decorators: [{
|
|
6934
6704
|
type: Directive,
|
|
@@ -6945,26 +6715,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
6945
6715
|
}] } });
|
|
6946
6716
|
|
|
6947
6717
|
class PaginationDirective {
|
|
6948
|
-
zone;
|
|
6949
|
-
renderer;
|
|
6950
|
-
element;
|
|
6951
6718
|
get total() {
|
|
6952
6719
|
return this.data ? this.data.total : 0;
|
|
6953
6720
|
}
|
|
6954
6721
|
get items() {
|
|
6955
6722
|
return this.data ? this.data.items : [];
|
|
6956
6723
|
}
|
|
6957
|
-
loader;
|
|
6958
|
-
page;
|
|
6959
|
-
itemsPerPage;
|
|
6960
|
-
updateTime;
|
|
6961
|
-
waitFor;
|
|
6962
|
-
pageChange;
|
|
6963
|
-
onRefresh;
|
|
6964
|
-
maxPage;
|
|
6965
|
-
data;
|
|
6966
|
-
updateTimer;
|
|
6967
|
-
controller;
|
|
6968
6724
|
constructor(zone, renderer, element) {
|
|
6969
6725
|
this.zone = zone;
|
|
6970
6726
|
this.renderer = renderer;
|
|
@@ -7021,8 +6777,8 @@ class PaginationDirective {
|
|
|
7021
6777
|
});
|
|
7022
6778
|
});
|
|
7023
6779
|
}
|
|
7024
|
-
static
|
|
7025
|
-
static
|
|
6780
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: PaginationDirective, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6781
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.22", type: PaginationDirective, isStandalone: false, selector: "[pagination]", inputs: { loader: ["pagination", "loader"], page: "page", itemsPerPage: "itemsPerPage", updateTime: "updateTime", waitFor: "waitFor" }, outputs: { pageChange: "pageChange", onRefresh: "onRefresh" }, exportAs: ["pagination"], usesOnChanges: true, ngImport: i0 }); }
|
|
7026
6782
|
}
|
|
7027
6783
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: PaginationDirective, decorators: [{
|
|
7028
6784
|
type: Directive,
|
|
@@ -7049,10 +6805,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
7049
6805
|
}] } });
|
|
7050
6806
|
|
|
7051
6807
|
class PaginationItemDirective {
|
|
7052
|
-
pagination;
|
|
7053
|
-
viewContainer;
|
|
7054
|
-
templateRef;
|
|
7055
|
-
onRefresh;
|
|
7056
6808
|
constructor(pagination, viewContainer, templateRef) {
|
|
7057
6809
|
this.pagination = pagination;
|
|
7058
6810
|
this.viewContainer = viewContainer;
|
|
@@ -7072,8 +6824,8 @@ class PaginationItemDirective {
|
|
|
7072
6824
|
this.viewContainer.createEmbeddedView(this.templateRef, item);
|
|
7073
6825
|
});
|
|
7074
6826
|
}
|
|
7075
|
-
static
|
|
7076
|
-
static
|
|
6827
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: PaginationItemDirective, deps: [{ token: PaginationDirective }, { token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6828
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.22", type: PaginationItemDirective, isStandalone: false, selector: "[paginationItem]", ngImport: i0 }); }
|
|
7077
6829
|
}
|
|
7078
6830
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: PaginationItemDirective, decorators: [{
|
|
7079
6831
|
type: Directive,
|
|
@@ -7084,12 +6836,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
7084
6836
|
}], ctorParameters: () => [{ type: PaginationDirective }, { type: i0.ViewContainerRef }, { type: i0.TemplateRef }] });
|
|
7085
6837
|
|
|
7086
6838
|
class ResourceIfDirective {
|
|
7087
|
-
http;
|
|
7088
|
-
viewContainer;
|
|
7089
|
-
templateRef;
|
|
7090
|
-
universal;
|
|
7091
|
-
context;
|
|
7092
|
-
resource;
|
|
7093
6839
|
set resourceIf(resource) {
|
|
7094
6840
|
this.resource = resource;
|
|
7095
6841
|
this.renderView();
|
|
@@ -7118,8 +6864,8 @@ class ResourceIfDirective {
|
|
|
7118
6864
|
}, console.log);
|
|
7119
6865
|
}
|
|
7120
6866
|
}
|
|
7121
|
-
static
|
|
7122
|
-
static
|
|
6867
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ResourceIfDirective, deps: [{ token: i1$1.HttpClient }, { token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: UniversalService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6868
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.22", type: ResourceIfDirective, isStandalone: false, selector: "[resourceIf]", inputs: { resourceIf: "resourceIf" }, exportAs: ["resourceIf"], ngImport: i0 }); }
|
|
7123
6869
|
}
|
|
7124
6870
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ResourceIfDirective, decorators: [{
|
|
7125
6871
|
type: Directive,
|
|
@@ -7133,14 +6879,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
7133
6879
|
}] } });
|
|
7134
6880
|
|
|
7135
6881
|
class StickyDirective {
|
|
7136
|
-
cdr;
|
|
7137
|
-
events;
|
|
7138
|
-
element;
|
|
7139
|
-
isSticky;
|
|
7140
|
-
isUpdating;
|
|
7141
|
-
parentElement;
|
|
7142
|
-
updateTimer;
|
|
7143
|
-
eventForwarded;
|
|
7144
6882
|
constructor(cdr, events, element) {
|
|
7145
6883
|
this.cdr = cdr;
|
|
7146
6884
|
this.events = events;
|
|
@@ -7168,8 +6906,8 @@ class StickyDirective {
|
|
|
7168
6906
|
this.cdr.detectChanges();
|
|
7169
6907
|
this.updateTimer.run();
|
|
7170
6908
|
}
|
|
7171
|
-
static
|
|
7172
|
-
static
|
|
6909
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: StickyDirective, deps: [{ token: i0.ChangeDetectorRef }, { token: EventsService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6910
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.22", type: StickyDirective, isStandalone: false, selector: "[sticky]", host: { listeners: { "window:resize": "updateSticky()", "window:scroll": "updateSticky()" }, properties: { "class.sticky": "this.isSticky", "class.sticky-update": "this.isUpdating" } }, ngImport: i0 }); }
|
|
7173
6911
|
}
|
|
7174
6912
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: StickyDirective, decorators: [{
|
|
7175
6913
|
type: Directive,
|
|
@@ -7192,11 +6930,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
7192
6930
|
}] } });
|
|
7193
6931
|
|
|
7194
6932
|
class StickyClassDirective {
|
|
7195
|
-
events;
|
|
7196
|
-
element;
|
|
7197
|
-
renderer;
|
|
7198
|
-
stickyClass;
|
|
7199
|
-
stickyUpdated;
|
|
7200
6933
|
constructor(events, element, renderer) {
|
|
7201
6934
|
this.events = events;
|
|
7202
6935
|
this.element = element;
|
|
@@ -7214,8 +6947,8 @@ class StickyClassDirective {
|
|
|
7214
6947
|
ngOnDestroy() {
|
|
7215
6948
|
this.stickyUpdated.unsubscribe();
|
|
7216
6949
|
}
|
|
7217
|
-
static
|
|
7218
|
-
static
|
|
6950
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: StickyClassDirective, deps: [{ token: EventsService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6951
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.22", type: StickyClassDirective, isStandalone: false, selector: "[stickyClass]", inputs: { stickyClass: "stickyClass" }, ngImport: i0 }); }
|
|
7219
6952
|
}
|
|
7220
6953
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: StickyClassDirective, decorators: [{
|
|
7221
6954
|
type: Directive,
|
|
@@ -7228,54 +6961,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
7228
6961
|
}] } });
|
|
7229
6962
|
|
|
7230
6963
|
class DropdownDirective {
|
|
7231
|
-
|
|
7232
|
-
static active = null;
|
|
7233
|
-
opened;
|
|
7234
|
-
disabled;
|
|
7235
|
-
/**
|
|
7236
|
-
* Determines if the dropdown should be closed even if we click inside it
|
|
7237
|
-
*/
|
|
7238
|
-
closeInside;
|
|
7239
|
-
/**
|
|
7240
|
-
* Determines where the floating element needs to be placed
|
|
7241
|
-
*/
|
|
7242
|
-
attachTo;
|
|
7243
|
-
/**
|
|
7244
|
-
* Determines the boundary element of the floating element when shifting
|
|
7245
|
-
*/
|
|
7246
|
-
boundary;
|
|
7247
|
-
/**
|
|
7248
|
-
* Where to place the floating element relative to the reference element.
|
|
7249
|
-
*/
|
|
7250
|
-
placement;
|
|
7251
|
-
/**
|
|
7252
|
-
* Optimizes the visibility of the floating element by choosing the placement
|
|
7253
|
-
* that has the most space available automatically, without needing to specify a
|
|
7254
|
-
* preferred placement. Alternative to `flip`.
|
|
7255
|
-
* @see https://floating-ui.com/docs/autoPlacement
|
|
7256
|
-
*/
|
|
7257
|
-
autoPlacement;
|
|
7258
|
-
/**
|
|
7259
|
-
* Determines if the dropdown content should be displayed in a fixed full screen view under this window width
|
|
7260
|
-
* @default 0
|
|
7261
|
-
*/
|
|
7262
|
-
mobileViewUnder;
|
|
7263
|
-
/**
|
|
7264
|
-
* Determines if the dropdown content should always be displayed in a fixed full screen view
|
|
7265
|
-
* @default false
|
|
7266
|
-
*/
|
|
7267
|
-
fixed;
|
|
7268
|
-
/**
|
|
7269
|
-
* Determines if the dropdown should react to keys to close like 'Esc'
|
|
7270
|
-
* @default true
|
|
7271
|
-
*/
|
|
7272
|
-
keyboardHandler;
|
|
7273
|
-
onShown;
|
|
7274
|
-
onHidden;
|
|
7275
|
-
onKeyboard;
|
|
7276
|
-
contentElement;
|
|
7277
|
-
onClick;
|
|
7278
|
-
onKeyDown;
|
|
6964
|
+
static { this.active = null; }
|
|
7279
6965
|
get nativeElement() {
|
|
7280
6966
|
return this.element.nativeElement;
|
|
7281
6967
|
}
|
|
@@ -7388,8 +7074,8 @@ class DropdownDirective {
|
|
|
7388
7074
|
}, 10);
|
|
7389
7075
|
return true;
|
|
7390
7076
|
}
|
|
7391
|
-
static
|
|
7392
|
-
static
|
|
7077
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: DropdownDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7078
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.22", type: DropdownDirective, isStandalone: false, selector: "[dd],[drop-down]", inputs: { closeInside: "closeInside", attachTo: "attachTo", boundary: "boundary", placement: "placement", autoPlacement: "autoPlacement", mobileViewUnder: "mobileViewUnder", fixed: "fixed", keyboardHandler: "keyboardHandler", isDisabled: "isDisabled" }, outputs: { onShown: "onShown", onHidden: "onHidden", onKeyboard: "onKeyboard" }, host: { listeners: { "keydown.enter": "show($event)", "keydown.space": "show($event)" }, properties: { "class.open": "this.isOpened", "class.disabled": "this.getDisabled" } }, exportAs: ["dropdown"], ngImport: i0 }); }
|
|
7393
7079
|
}
|
|
7394
7080
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: DropdownDirective, decorators: [{
|
|
7395
7081
|
type: Directive,
|
|
@@ -7438,15 +7124,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
7438
7124
|
|
|
7439
7125
|
const rectProps = ["x", "y", "width", "height"];
|
|
7440
7126
|
class DropdownContentDirective {
|
|
7441
|
-
vcr;
|
|
7442
|
-
rootElem;
|
|
7443
|
-
dropdown;
|
|
7444
|
-
templateRef;
|
|
7445
|
-
subscription;
|
|
7446
|
-
attachTo;
|
|
7447
|
-
attachOutside;
|
|
7448
|
-
lastPlacement;
|
|
7449
|
-
cleanUp;
|
|
7450
7127
|
constructor(vcr, rootElem, dropdown, templateRef) {
|
|
7451
7128
|
this.vcr = vcr;
|
|
7452
7129
|
this.rootElem = rootElem;
|
|
@@ -7626,8 +7303,8 @@ class DropdownContentDirective {
|
|
|
7626
7303
|
this.createView(true);
|
|
7627
7304
|
setTimeout(() => this.destroyView());
|
|
7628
7305
|
}
|
|
7629
|
-
static
|
|
7630
|
-
static
|
|
7306
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: DropdownContentDirective, deps: [{ token: i0.ViewContainerRef }, { token: ROOT_ELEMENT, optional: true }, { token: DropdownDirective, optional: true }, { token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7307
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.22", type: DropdownContentDirective, isStandalone: false, selector: "[dropdownContent]", exportAs: ["dropdown-content"], ngImport: i0 }); }
|
|
7631
7308
|
}
|
|
7632
7309
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: DropdownContentDirective, decorators: [{
|
|
7633
7310
|
type: Directive,
|
|
@@ -7648,9 +7325,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
7648
7325
|
}] }] });
|
|
7649
7326
|
|
|
7650
7327
|
class DropdownToggleDirective extends AsyncMethodBase {
|
|
7651
|
-
|
|
7652
|
-
|
|
7653
|
-
|
|
7328
|
+
constructor() {
|
|
7329
|
+
super(...arguments);
|
|
7330
|
+
this.beforeOpen = input(null);
|
|
7331
|
+
this.switch = input(true);
|
|
7332
|
+
this.dropdown = inject(DropdownDirective);
|
|
7333
|
+
}
|
|
7654
7334
|
getMethod() {
|
|
7655
7335
|
return untracked(() => this.beforeOpen());
|
|
7656
7336
|
}
|
|
@@ -7665,10 +7345,10 @@ class DropdownToggleDirective extends AsyncMethodBase {
|
|
|
7665
7345
|
}
|
|
7666
7346
|
return true;
|
|
7667
7347
|
}
|
|
7668
|
-
static
|
|
7669
|
-
static
|
|
7348
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: DropdownToggleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7349
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.22", type: DropdownToggleDirective, isStandalone: false, selector: "[dropdownToggle]", inputs: { beforeOpen: { classPropertyName: "beforeOpen", publicName: "beforeOpen", isSignal: true, isRequired: false, transformFunction: null }, switch: { classPropertyName: "switch", publicName: "switch", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
7670
7350
|
{ provide: AsyncMethodBase, useExisting: DropdownToggleDirective }
|
|
7671
|
-
], exportAs: ["dropdown-toggle"], usesInheritance: true, ngImport: i0 });
|
|
7351
|
+
], exportAs: ["dropdown-toggle"], usesInheritance: true, ngImport: i0 }); }
|
|
7672
7352
|
}
|
|
7673
7353
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: DropdownToggleDirective, decorators: [{
|
|
7674
7354
|
type: Directive,
|
|
@@ -7683,17 +7363,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
7683
7363
|
}] });
|
|
7684
7364
|
|
|
7685
7365
|
class TabsItemDirective {
|
|
7686
|
-
|
|
7687
|
-
|
|
7688
|
-
|
|
7689
|
-
|
|
7690
|
-
|
|
7691
|
-
|
|
7692
|
-
|
|
7693
|
-
|
|
7694
|
-
|
|
7695
|
-
|
|
7696
|
-
|
|
7366
|
+
constructor() {
|
|
7367
|
+
this.value = input(null, { alias: "tabsItem" });
|
|
7368
|
+
this.label = input("");
|
|
7369
|
+
this.tooltip = input("");
|
|
7370
|
+
this.icon = input("");
|
|
7371
|
+
this.disabled = input(false);
|
|
7372
|
+
this.path = input(null);
|
|
7373
|
+
this.classes = input("");
|
|
7374
|
+
this.element = inject(ElementRef, { optional: true });
|
|
7375
|
+
this.template = inject(TemplateRef, { optional: true });
|
|
7376
|
+
}
|
|
7377
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: TabsItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7378
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.22", type: TabsItemDirective, isStandalone: false, selector: "[tabsItem]", inputs: { value: { classPropertyName: "value", publicName: "tabsItem", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, path: { classPropertyName: "path", publicName: "path", isSignal: true, isRequired: false, transformFunction: null }, classes: { classPropertyName: "classes", publicName: "classes", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
7697
7379
|
}
|
|
7698
7380
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: TabsItemDirective, decorators: [{
|
|
7699
7381
|
type: Directive,
|
|
@@ -7704,11 +7386,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
7704
7386
|
}] });
|
|
7705
7387
|
|
|
7706
7388
|
class TabsTemplateDirective extends TabsItemDirective {
|
|
7707
|
-
|
|
7708
|
-
|
|
7709
|
-
|
|
7389
|
+
constructor() {
|
|
7390
|
+
super(...arguments);
|
|
7391
|
+
this.value = input(null, { alias: "tab" });
|
|
7392
|
+
}
|
|
7393
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: TabsTemplateDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7394
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.22", type: TabsTemplateDirective, isStandalone: false, selector: "ng-template[tab]", inputs: { value: { classPropertyName: "value", publicName: "tab", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
7710
7395
|
{ provide: TabsItemDirective, useExisting: TabsTemplateDirective }
|
|
7711
|
-
], usesInheritance: true, ngImport: i0 });
|
|
7396
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
7712
7397
|
}
|
|
7713
7398
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: TabsTemplateDirective, decorators: [{
|
|
7714
7399
|
type: Directive,
|
|
@@ -7722,22 +7407,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
7722
7407
|
}] });
|
|
7723
7408
|
|
|
7724
7409
|
class UnorderedListItemDirective {
|
|
7725
|
-
elementRef;
|
|
7726
|
-
viewContainer;
|
|
7727
|
-
item;
|
|
7728
|
-
type;
|
|
7729
|
-
data;
|
|
7730
|
-
keyPrefix;
|
|
7731
|
-
listStyle;
|
|
7732
|
-
path;
|
|
7733
|
-
level;
|
|
7734
|
-
templates;
|
|
7735
|
-
defaultTemplates;
|
|
7736
|
-
isArray;
|
|
7737
|
-
isObject;
|
|
7738
|
-
valueIsArray;
|
|
7739
|
-
valueIsObject;
|
|
7740
|
-
valueType;
|
|
7741
7410
|
get elem() {
|
|
7742
7411
|
return this.elementRef.nativeElement;
|
|
7743
7412
|
}
|
|
@@ -7783,8 +7452,8 @@ class UnorderedListItemDirective {
|
|
|
7783
7452
|
return;
|
|
7784
7453
|
this.item.classList.push(className);
|
|
7785
7454
|
}
|
|
7786
|
-
static
|
|
7787
|
-
static
|
|
7455
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: UnorderedListItemDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7456
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.22", type: UnorderedListItemDirective, isStandalone: false, selector: "[unorderedListItem]", inputs: { item: ["unorderedListItem", "item"], type: "type", data: "data", keyPrefix: "keyPrefix", listStyle: "listStyle", path: "path", level: "level", templates: "templates", defaultTemplates: "defaultTemplates" }, usesOnChanges: true, ngImport: i0 }); }
|
|
7788
7457
|
}
|
|
7789
7458
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: UnorderedListItemDirective, decorators: [{
|
|
7790
7459
|
type: Directive,
|
|
@@ -7814,14 +7483,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
7814
7483
|
}] } });
|
|
7815
7484
|
|
|
7816
7485
|
class UnorderedListTemplateDirective {
|
|
7817
|
-
templateRef;
|
|
7818
|
-
type;
|
|
7819
|
-
selector;
|
|
7820
7486
|
constructor(templateRef) {
|
|
7821
7487
|
this.templateRef = templateRef;
|
|
7822
7488
|
}
|
|
7823
|
-
static
|
|
7824
|
-
static
|
|
7489
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: UnorderedListTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7490
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.22", type: UnorderedListTemplateDirective, isStandalone: false, selector: "ng-template[type][selector]", inputs: { type: "type", selector: "selector" }, ngImport: i0 }); }
|
|
7825
7491
|
}
|
|
7826
7492
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: UnorderedListTemplateDirective, decorators: [{
|
|
7827
7493
|
type: Directive,
|
|
@@ -7836,31 +7502,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
7836
7502
|
}] } });
|
|
7837
7503
|
|
|
7838
7504
|
class BtnComponent {
|
|
7839
|
-
|
|
7840
|
-
|
|
7841
|
-
|
|
7842
|
-
|
|
7843
|
-
|
|
7844
|
-
|
|
7845
|
-
|
|
7846
|
-
|
|
7847
|
-
|
|
7848
|
-
|
|
7849
|
-
|
|
7850
|
-
|
|
7851
|
-
|
|
7852
|
-
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
|
|
7858
|
-
|
|
7505
|
+
constructor() {
|
|
7506
|
+
this.label = input("");
|
|
7507
|
+
this.tooltip = input("");
|
|
7508
|
+
this.icon = input("");
|
|
7509
|
+
this.disabled = input(false);
|
|
7510
|
+
this.path = input(null);
|
|
7511
|
+
this.type = input("primary");
|
|
7512
|
+
this.size = input("normal");
|
|
7513
|
+
this.buttonType = inject(BUTTON_TYPE);
|
|
7514
|
+
this.element = inject(ElementRef);
|
|
7515
|
+
this.buttonProps = computed(() => {
|
|
7516
|
+
return {
|
|
7517
|
+
label: this.label(),
|
|
7518
|
+
tooltip: this.tooltip(),
|
|
7519
|
+
icon: this.icon(),
|
|
7520
|
+
disabled: this.disabled(),
|
|
7521
|
+
path: this.path(),
|
|
7522
|
+
type: this.type(),
|
|
7523
|
+
size: this.size()
|
|
7524
|
+
};
|
|
7525
|
+
});
|
|
7526
|
+
}
|
|
7859
7527
|
contains(target) {
|
|
7860
7528
|
return !(target instanceof HTMLElement) || this.element.nativeElement?.contains(target);
|
|
7861
7529
|
}
|
|
7862
|
-
static
|
|
7863
|
-
static
|
|
7530
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: BtnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7531
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.22", type: BtnComponent, isStandalone: false, selector: "btn", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, path: { classPropertyName: "path", publicName: "path", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<ng-container [ngComponentOutlet]=\"buttonType\"\r\n [ngComponentOutletInputs]=\"$any(buttonProps())\"></ng-container>\r\n", dependencies: [{ kind: "directive", type: i1$3.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7864
7532
|
}
|
|
7865
7533
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: BtnComponent, decorators: [{
|
|
7866
7534
|
type: Component,
|
|
@@ -7868,17 +7536,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
7868
7536
|
}] });
|
|
7869
7537
|
|
|
7870
7538
|
class IconComponent {
|
|
7871
|
-
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7539
|
+
constructor() {
|
|
7540
|
+
this.name = input("trash");
|
|
7541
|
+
this.iconType = inject(ICON_TYPE);
|
|
7542
|
+
this.iconMap = inject(ICON_MAP);
|
|
7543
|
+
this.iconProps = computed(() => {
|
|
7544
|
+
const name = this.name();
|
|
7545
|
+
return {
|
|
7546
|
+
name: this.iconMap[name] || name,
|
|
7547
|
+
};
|
|
7548
|
+
});
|
|
7549
|
+
}
|
|
7550
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: IconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7551
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.22", type: IconComponent, isStandalone: false, selector: "icon", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<ng-container [ngComponentOutlet]=\"iconType\"\r\n [ngComponentOutletInputs]=\"iconProps()\"></ng-container>\r\n", dependencies: [{ kind: "directive", type: i1$3.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7882
7552
|
}
|
|
7883
7553
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: IconComponent, decorators: [{
|
|
7884
7554
|
type: Component,
|
|
@@ -7886,18 +7556,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
7886
7556
|
}] });
|
|
7887
7557
|
|
|
7888
7558
|
class BtnDefaultComponent {
|
|
7889
|
-
label;
|
|
7890
|
-
tooltip;
|
|
7891
|
-
icon;
|
|
7892
|
-
disabled;
|
|
7893
|
-
path;
|
|
7894
|
-
type;
|
|
7895
|
-
size;
|
|
7896
7559
|
get bsSize() {
|
|
7897
7560
|
return this.size === "small" ? "btn-sm" : "btn-md";
|
|
7898
7561
|
}
|
|
7899
|
-
static
|
|
7900
|
-
static
|
|
7562
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: BtnDefaultComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7563
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.22", type: BtnDefaultComponent, isStandalone: false, selector: "btn-default", inputs: { label: "label", tooltip: "tooltip", icon: "icon", disabled: "disabled", path: "path", type: "type", size: "size" }, ngImport: i0, template: "<button class=\"default-btn btn\"\r\n type=\"button\"\r\n async-method-target\r\n [title]=\"!tooltip ? '' : tooltip | translate\"\r\n [ngClass]=\"['btn-' + type, bsSize]\">\r\n <icon [name]=\"icon\" *ngIf=\"icon\"></icon>\r\n <span *ngIf=\"label\">{{ label | translate }}</span>\r\n</button>\r\n", styles: [".default-btn{display:flex;gap:5px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: AsyncMethodTargetDirective, selector: "[async-method-target]" }, { kind: "component", type: IconComponent, selector: "icon", inputs: ["name"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
7901
7564
|
}
|
|
7902
7565
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: BtnDefaultComponent, decorators: [{
|
|
7903
7566
|
type: Component,
|
|
@@ -7919,8 +7582,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
7919
7582
|
}] } });
|
|
7920
7583
|
|
|
7921
7584
|
class CloseBtnComponent {
|
|
7922
|
-
static
|
|
7923
|
-
static
|
|
7585
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: CloseBtnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7586
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.22", type: CloseBtnComponent, isStandalone: false, selector: "close-btn", ngImport: i0, template: "", isInline: true, styles: ["close-btn{--close-bg: var(--primary-color, rgba(0, 0, 0, .3));--close-color: #ffffff;--close-size: 18px;--close-distance: 4px;--close-spacing: 8px;position:relative;display:block;width:var(--close-size);height:var(--close-size);cursor:pointer;transition:.2s ease;background-color:var(--close-bg);border-radius:50%}close-btn:before,close-btn:after{--rotation: 45deg;content:\"\";position:absolute;top:50%;left:50%;width:calc(100% - var(--close-spacing));transform:translate(-50%,-50%) rotate(var(--rotation));height:1px;background:var(--close-color);transition:.2s ease}close-btn:after{--rotation: -45deg}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
|
7924
7587
|
}
|
|
7925
7588
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: CloseBtnComponent, decorators: [{
|
|
7926
7589
|
type: Component,
|
|
@@ -7928,36 +7591,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
7928
7591
|
}] });
|
|
7929
7592
|
|
|
7930
7593
|
class ChipsComponent {
|
|
7931
|
-
cdr;
|
|
7932
|
-
testId;
|
|
7933
|
-
value;
|
|
7934
|
-
multiple;
|
|
7935
|
-
disabled;
|
|
7936
|
-
type;
|
|
7937
|
-
min;
|
|
7938
|
-
max;
|
|
7939
|
-
minLength;
|
|
7940
|
-
maxLength;
|
|
7941
|
-
step;
|
|
7942
|
-
placeholder;
|
|
7943
|
-
unique;
|
|
7944
|
-
strict;
|
|
7945
|
-
options;
|
|
7946
|
-
valueChange;
|
|
7947
|
-
chipDropdown;
|
|
7948
|
-
chipButtons;
|
|
7949
|
-
chipInput;
|
|
7950
|
-
inputStyles;
|
|
7951
|
-
valueOptions;
|
|
7952
|
-
filteredOptions;
|
|
7953
|
-
statuses;
|
|
7954
|
-
autoPlacement;
|
|
7955
|
-
undoList;
|
|
7956
|
-
previousValue;
|
|
7957
|
-
onChange = () => { };
|
|
7958
|
-
onTouched = () => { };
|
|
7959
7594
|
constructor(cdr) {
|
|
7960
7595
|
this.cdr = cdr;
|
|
7596
|
+
this.onChange = () => { };
|
|
7597
|
+
this.onTouched = () => { };
|
|
7961
7598
|
this.testId = "chips";
|
|
7962
7599
|
this.value = [];
|
|
7963
7600
|
this.multiple = true;
|
|
@@ -8154,10 +7791,10 @@ class ChipsComponent {
|
|
|
8154
7791
|
const values = this.valueOptions.map(o => o.value);
|
|
8155
7792
|
this.filteredOptions = this.filteredOptions.filter(o => !values.includes(o.value));
|
|
8156
7793
|
}
|
|
8157
|
-
static
|
|
8158
|
-
static
|
|
7794
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ChipsComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7795
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.22", type: ChipsComponent, isStandalone: false, selector: "chips", inputs: { testId: "testId", value: "value", multiple: "multiple", disabled: "disabled", type: "type", min: "min", max: "max", minLength: "minLength", maxLength: "maxLength", step: "step", placeholder: "placeholder", unique: "unique", strict: "strict", options: "options" }, outputs: { valueChange: "valueChange" }, providers: [
|
|
8159
7796
|
{ provide: NG_VALUE_ACCESSOR, useExisting: ChipsComponent, multi: true }
|
|
8160
|
-
], viewQueries: [{ propertyName: "chipDropdown", first: true, predicate: ["chipDropdown"], descendants: true }, { propertyName: "chipButtons", first: true, predicate: ["chipButtons"], descendants: true }, { propertyName: "chipInput", first: true, predicate: ["chipInput"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div dd\r\n attachTo=\"root\"\r\n [closeInside]=\"false\"\r\n [autoPlacement]=\"autoPlacement\"\r\n [ngClass]=\"{disabled: disabled}\" class=\"chips\" #chipDropdown=\"dropdown\">\r\n <input class=\"chips-input\"\r\n dropdownToggle\r\n [switch]=\"false\"\r\n [attr.data-testid]=\"testId + '-input'\"\r\n [type]=\"type == 'number' ? 'number': 'text'\"\r\n [min]=\"min\"\r\n [max]=\"max\"\r\n [step]=\"step\"\r\n [disabled]=\"disabled\"\r\n [placeholder]=\"valueOptions.length == 0 && placeholder | translate\"\r\n [ngStyle]=\"inputStyles\"\r\n (blur)=\"onBlur($event)\"\r\n (keyup)=\"onInput($event)\"\r\n #chipInput/>\r\n <div class=\"chips-buttons\" #chipButtons [ngClass]=\"{disabled: disabled}\" (resize)=\"onResize()\">\r\n <ng-container *ngFor=\"let item of valueOptions; let ix = index; trackBy:trackBy\">\r\n <a class=\"chips-button\" [ngClass]=\"'chips-' + statuses[ix]\" (dblclick)=\"removeItem($event, ix)\">\r\n @if (item.picture) {\r\n <img [src]=\"item.picture | safe:'url'\"\r\n class=\"chip-picture\"\r\n referrerpolicy=\"no-referrer\" [attr.alt]=\"item.label\">\r\n\r\n }\r\n <span class=\"chips-label\"\r\n [attr.data-testid]=\"testId + '-label-' + ix\">{{ item.label }} </span>\r\n <close-btn class=\"chips-remove\"\r\n [attr.data-testid]=\"testId + '-delete-' + ix\"\r\n (click)=\"removeItem($event, ix)\" *ngIf=\"!disabled\"></close-btn>\r\n </a>\r\n </ng-container>\r\n </div>\r\n @if (options) {\r\n <div class=\"chips-dropdown\" *dropdownContent>\r\n <button [ngClass]=\"option.classes\"\r\n [disabled]=\"option.disabled\"\r\n (click)=\"enterOption(option.value)\"\r\n *ngFor=\"let option of filteredOptions\">\r\n <div class=\"select-option\">\r\n @if (option?.picture) {\r\n <img [src]=\"option.picture | safe:'url'\"\r\n class=\"select-option-picture\"\r\n referrerpolicy=\"no-referrer\" [attr.alt]=\"option.label\">\r\n }\r\n <div class=\"select-option-label\">\r\n {{ option.label }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n }\r\n</div>\r\n", styles: [".chips{--chips-border-size: var(--border-size, 1px);--chips-border-radius: var(--border-radius, 5px);--chips-top-border-radius: var(--chips-border-radius) var(--chips-border-radius) 0 0;--chips-bottom-border-radius: 0 0 var(--chips-border-radius) var(--chips-border-radius);--chips-bg-color: var(--bg-color, #ffffff);--chips-border-color: var(--border-color, #ced4da);--chips-highlight-color: var(--highlight-color, var(--primary-color, #888888));--chips-highlight-text-color: var(--highlight-text-color, #ffffff);--chips-text-color: var(--text-color, #151515);--chips-text-size: var(--text-size, 16px);--chips-padding-vertical: 6px;--chips-padding-horizontal: 12px;--chips-padding: var(--chips-padding-vertical) var(--chips-padding-horizontal);--chips-btn-padding: 12px;--chips-btn-gap: calc(var(--chips-btn-padding) / 2);--chips-btn-color: white;--chips-btn-valid-color: rgba(200, 255, 200, .7);--chips-btn-invalid-color: rgba(255, 200, 200, .7);position:relative;margin:5px 0;font-size:var(--chips-text-size);padding:var(--chips-padding);background:var(--chips-bg-color);color:var(--chips-text-color);border:var(--chips-border-size) solid var(--chips-border-color);border-radius:var(--chips-border-radius)}.chips *{box-sizing:border-box}.chips .chips-input{background:var(--chips-bg-color);padding:var(--chips-padding);font-size:var(--chips-text-size);outline:none;border:none;width:100%;-webkit-user-select:none;user-select:none;font-weight:400}.chips .chips-buttons{position:absolute;top:var(--chips-padding-vertical);left:var(--chips-padding-horizontal);max-width:calc(100% - var(--chips-padding-horizontal) * 2);display:flex;gap:5px;overflow:auto;border-radius:var(--chips-border-radius)}.chips .chips-button{background:var(--chipd-btn-color);color:var(--chips-text-color);border:var(--chips-border-size) solid rgba(0,0,0,.2);border-radius:var(--chips-border-radius);padding:var(--chips-padding-vertical) var(--chips-btn-gap) var(--chips-padding-vertical) var(--chips-btn-padding);-webkit-user-select:none;user-select:none;font-weight:400;outline:none;display:flex;gap:var(--chips-btn-gap);justify-content:center;align-items:center;line-height:1.2rem;text-decoration:none}.chips .chips-button.chips-valid{--chipd-btn-color: var(--chips-btn-valid-color) }.chips .chips-button.chips-invalid{--chipd-btn-color: var(--chips-btn-invalid-color) }.chips img.chip-picture{width:28px;height:28px;object-fit:cover}.chips .chips-label{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chips.disabled{opacity:.75}.chips.disabled .chips-button{padding-right:var(--chips-btn-padding)}.chips-dropdown:not(:empty){position:relative;z-index:1;width:var(--toggle-width, 0);display:flex;flex-direction:column;margin:-3px 0;padding:0;list-style:none;border:var(--chips-border-size) solid var(--chips-border-color);background:var(--chips-bg-color);border-radius:var(--chips-bottom-border-radius);overflow:hidden}.chips-dropdown:not(:empty) *{box-sizing:border-box}.chips-dropdown:not(:empty) button{border:none;background:none;cursor:pointer;padding:6px 12px;-webkit-user-select:none;user-select:none;text-align:left}.chips-dropdown:not(:empty) button:hover,.chips-dropdown:not(:empty) button.active{background-color:var(--chips-highlight-color);color:var(--chips-highlight-text-color)}.chips-dropdown:not(:empty) button:hover a,.chips-dropdown:not(:empty) button.active a{color:var(--chips-highlight-text-color)}.chips-dropdown:not(:empty) .select-option{display:flex;gap:8px;align-items:center;justify-content:center}.chips-dropdown:not(:empty) .select-option .select-option-picture{width:32px;height:32px;object-fit:cover}.chips-dropdown:not(:empty) .select-option .select-option-label{flex:1}.dropdown-placement-top .chips-dropdown{border-radius:var(--chips-top-border-radius)}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: DropdownDirective, selector: "[dd],[drop-down]", inputs: ["closeInside", "attachTo", "boundary", "placement", "autoPlacement", "mobileViewUnder", "fixed", "keyboardHandler", "isDisabled"], outputs: ["onShown", "onHidden", "onKeyboard"], exportAs: ["dropdown"] }, { kind: "directive", type: DropdownContentDirective, selector: "[dropdownContent]", exportAs: ["dropdown-content"] }, { kind: "directive", type: DropdownToggleDirective, selector: "[dropdownToggle]", inputs: ["beforeOpen", "switch"], exportAs: ["dropdown-toggle"] }, { kind: "component", type: CloseBtnComponent, selector: "close-btn" }, { kind: "pipe", type: SafeHtmlPipe, name: "safe" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None });
|
|
7797
|
+
], viewQueries: [{ propertyName: "chipDropdown", first: true, predicate: ["chipDropdown"], descendants: true }, { propertyName: "chipButtons", first: true, predicate: ["chipButtons"], descendants: true }, { propertyName: "chipInput", first: true, predicate: ["chipInput"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div dd\r\n attachTo=\"root\"\r\n [closeInside]=\"false\"\r\n [autoPlacement]=\"autoPlacement\"\r\n [ngClass]=\"{disabled: disabled}\" class=\"chips\" #chipDropdown=\"dropdown\">\r\n <input class=\"chips-input\"\r\n dropdownToggle\r\n [switch]=\"false\"\r\n [attr.data-testid]=\"testId + '-input'\"\r\n [type]=\"type == 'number' ? 'number': 'text'\"\r\n [min]=\"min\"\r\n [max]=\"max\"\r\n [step]=\"step\"\r\n [disabled]=\"disabled\"\r\n [placeholder]=\"valueOptions.length == 0 && placeholder | translate\"\r\n [ngStyle]=\"inputStyles\"\r\n (blur)=\"onBlur($event)\"\r\n (keyup)=\"onInput($event)\"\r\n #chipInput/>\r\n <div class=\"chips-buttons\" #chipButtons [ngClass]=\"{disabled: disabled}\" (resize)=\"onResize()\">\r\n <ng-container *ngFor=\"let item of valueOptions; let ix = index; trackBy:trackBy\">\r\n <a class=\"chips-button\" [ngClass]=\"'chips-' + statuses[ix]\" (dblclick)=\"removeItem($event, ix)\">\r\n @if (item.picture) {\r\n <img [src]=\"item.picture | safe:'url'\"\r\n class=\"chip-picture\"\r\n referrerpolicy=\"no-referrer\" [attr.alt]=\"item.label\">\r\n\r\n }\r\n <span class=\"chips-label\"\r\n [attr.data-testid]=\"testId + '-label-' + ix\">{{ item.label }} </span>\r\n <close-btn class=\"chips-remove\"\r\n [attr.data-testid]=\"testId + '-delete-' + ix\"\r\n (click)=\"removeItem($event, ix)\" *ngIf=\"!disabled\"></close-btn>\r\n </a>\r\n </ng-container>\r\n </div>\r\n @if (options) {\r\n <div class=\"chips-dropdown\" *dropdownContent>\r\n <button [ngClass]=\"option.classes\"\r\n [disabled]=\"option.disabled\"\r\n (click)=\"enterOption(option.value)\"\r\n *ngFor=\"let option of filteredOptions\">\r\n <div class=\"select-option\">\r\n @if (option?.picture) {\r\n <img [src]=\"option.picture | safe:'url'\"\r\n class=\"select-option-picture\"\r\n referrerpolicy=\"no-referrer\" [attr.alt]=\"option.label\">\r\n }\r\n <div class=\"select-option-label\">\r\n {{ option.label }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n }\r\n</div>\r\n", styles: [".chips{--chips-border-size: var(--border-size, 1px);--chips-border-radius: var(--border-radius, 5px);--chips-top-border-radius: var(--chips-border-radius) var(--chips-border-radius) 0 0;--chips-bottom-border-radius: 0 0 var(--chips-border-radius) var(--chips-border-radius);--chips-bg-color: var(--bg-color, #ffffff);--chips-border-color: var(--border-color, #ced4da);--chips-highlight-color: var(--highlight-color, var(--primary-color, #888888));--chips-highlight-text-color: var(--highlight-text-color, #ffffff);--chips-text-color: var(--text-color, #151515);--chips-text-size: var(--text-size, 16px);--chips-padding-vertical: 6px;--chips-padding-horizontal: 12px;--chips-padding: var(--chips-padding-vertical) var(--chips-padding-horizontal);--chips-btn-padding: 12px;--chips-btn-gap: calc(var(--chips-btn-padding) / 2);--chips-btn-color: white;--chips-btn-valid-color: rgba(200, 255, 200, .7);--chips-btn-invalid-color: rgba(255, 200, 200, .7);position:relative;margin:5px 0;font-size:var(--chips-text-size);padding:var(--chips-padding);background:var(--chips-bg-color);color:var(--chips-text-color);border:var(--chips-border-size) solid var(--chips-border-color);border-radius:var(--chips-border-radius)}.chips *{box-sizing:border-box}.chips .chips-input{background:var(--chips-bg-color);padding:var(--chips-padding);font-size:var(--chips-text-size);outline:none;border:none;width:100%;-webkit-user-select:none;user-select:none;font-weight:400}.chips .chips-buttons{position:absolute;top:var(--chips-padding-vertical);left:var(--chips-padding-horizontal);max-width:calc(100% - var(--chips-padding-horizontal) * 2);display:flex;gap:5px;overflow:auto;border-radius:var(--chips-border-radius)}.chips .chips-button{background:var(--chipd-btn-color);color:var(--chips-text-color);border:var(--chips-border-size) solid rgba(0,0,0,.2);border-radius:var(--chips-border-radius);padding:var(--chips-padding-vertical) var(--chips-btn-gap) var(--chips-padding-vertical) var(--chips-btn-padding);-webkit-user-select:none;user-select:none;font-weight:400;outline:none;display:flex;gap:var(--chips-btn-gap);justify-content:center;align-items:center;line-height:1.2rem;text-decoration:none}.chips .chips-button.chips-valid{--chipd-btn-color: var(--chips-btn-valid-color) }.chips .chips-button.chips-invalid{--chipd-btn-color: var(--chips-btn-invalid-color) }.chips img.chip-picture{width:28px;height:28px;object-fit:cover}.chips .chips-label{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chips.disabled{opacity:.75}.chips.disabled .chips-button{padding-right:var(--chips-btn-padding)}.chips-dropdown:not(:empty){position:relative;z-index:1;width:var(--toggle-width, 0);display:flex;flex-direction:column;margin:-3px 0;padding:0;list-style:none;border:var(--chips-border-size) solid var(--chips-border-color);background:var(--chips-bg-color);border-radius:var(--chips-bottom-border-radius);overflow:hidden}.chips-dropdown:not(:empty) *{box-sizing:border-box}.chips-dropdown:not(:empty) button{border:none;background:none;cursor:pointer;padding:6px 12px;-webkit-user-select:none;user-select:none;text-align:left}.chips-dropdown:not(:empty) button:hover,.chips-dropdown:not(:empty) button.active{background-color:var(--chips-highlight-color);color:var(--chips-highlight-text-color)}.chips-dropdown:not(:empty) button:hover a,.chips-dropdown:not(:empty) button.active a{color:var(--chips-highlight-text-color)}.chips-dropdown:not(:empty) .select-option{display:flex;gap:8px;align-items:center;justify-content:center}.chips-dropdown:not(:empty) .select-option .select-option-picture{width:32px;height:32px;object-fit:cover}.chips-dropdown:not(:empty) .select-option .select-option-label{flex:1}.dropdown-placement-top .chips-dropdown{border-radius:var(--chips-top-border-radius)}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: DropdownDirective, selector: "[dd],[drop-down]", inputs: ["closeInside", "attachTo", "boundary", "placement", "autoPlacement", "mobileViewUnder", "fixed", "keyboardHandler", "isDisabled"], outputs: ["onShown", "onHidden", "onKeyboard"], exportAs: ["dropdown"] }, { kind: "directive", type: DropdownContentDirective, selector: "[dropdownContent]", exportAs: ["dropdown-content"] }, { kind: "directive", type: DropdownToggleDirective, selector: "[dropdownToggle]", inputs: ["beforeOpen", "switch"], exportAs: ["dropdown-toggle"] }, { kind: "component", type: CloseBtnComponent, selector: "close-btn" }, { kind: "pipe", type: SafeHtmlPipe, name: "safe" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
8161
7798
|
}
|
|
8162
7799
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: ChipsComponent, decorators: [{
|
|
8163
7800
|
type: Component,
|
|
@@ -8206,19 +7843,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
8206
7843
|
}] } });
|
|
8207
7844
|
|
|
8208
7845
|
class CodeEditorComponent {
|
|
8209
|
-
cdr;
|
|
8210
|
-
element;
|
|
8211
|
-
value;
|
|
8212
|
-
lang;
|
|
8213
|
-
disabled;
|
|
8214
|
-
valueChange;
|
|
8215
|
-
onChange;
|
|
8216
|
-
onTouched;
|
|
8217
|
-
langCompartment;
|
|
8218
|
-
extensions;
|
|
8219
|
-
rootElem;
|
|
8220
|
-
editor;
|
|
8221
|
-
editorElem;
|
|
8222
7846
|
get root() {
|
|
8223
7847
|
this.rootElem = this.rootElem || getRoot(this.element.nativeElement);
|
|
8224
7848
|
return this.rootElem;
|
|
@@ -8336,10 +7960,10 @@ class CodeEditorComponent {
|
|
|
8336
7960
|
this.cdr.markForCheck();
|
|
8337
7961
|
this.ngOnChanges();
|
|
8338
7962
|
}
|
|
8339
|
-
static
|
|
8340
|
-
static
|
|
7963
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: CodeEditorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7964
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.22", type: CodeEditorComponent, isStandalone: false, selector: "code-editor", inputs: { value: "value", lang: "lang", disabled: "disabled" }, outputs: { valueChange: "valueChange" }, providers: [
|
|
8341
7965
|
{ provide: NG_VALUE_ACCESSOR, useExisting: CodeEditorComponent, multi: true }
|
|
8342
|
-
], viewQueries: [{ propertyName: "editorElem", first: true, predicate: ["editor"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"code-editor\" [ngClass]=\"{disabled: disabled}\">\r\n <div #editor></div>\r\n</div>\r\n", styles: [".code-editor>div{margin:10px 0}.code-editor>div .cm-editor{outline:none}.code-editor>div .cm-scroller{min-height:150px;max-height:345px;background:#fefefe;border:1px solid #ddd}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
7966
|
+
], viewQueries: [{ propertyName: "editorElem", first: true, predicate: ["editor"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"code-editor\" [ngClass]=\"{disabled: disabled}\">\r\n <div #editor></div>\r\n</div>\r\n", styles: [".code-editor>div{margin:10px 0}.code-editor>div .cm-editor{outline:none}.code-editor>div .cm-scroller{min-height:150px;max-height:345px;background:#fefefe;border:1px solid #ddd}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
8343
7967
|
}
|
|
8344
7968
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: CodeEditorComponent, decorators: [{
|
|
8345
7969
|
type: Component,
|
|
@@ -8360,22 +7984,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
8360
7984
|
}] } });
|
|
8361
7985
|
|
|
8362
7986
|
class DropListComponent {
|
|
8363
|
-
cdr;
|
|
8364
|
-
disabled;
|
|
8365
|
-
unique;
|
|
8366
|
-
message;
|
|
8367
|
-
idField;
|
|
8368
|
-
labelField;
|
|
8369
|
-
value;
|
|
8370
|
-
context;
|
|
8371
|
-
prepareItem;
|
|
8372
|
-
checkFn;
|
|
8373
|
-
dropFn;
|
|
8374
|
-
itemTemplate;
|
|
8375
|
-
onChange;
|
|
8376
|
-
onTouched;
|
|
8377
|
-
valueMap;
|
|
8378
|
-
remove;
|
|
8379
7987
|
constructor(cdr) {
|
|
8380
7988
|
this.cdr = cdr;
|
|
8381
7989
|
this.disabled = false;
|
|
@@ -8462,12 +8070,12 @@ class DropListComponent {
|
|
|
8462
8070
|
this.onChange?.(value);
|
|
8463
8071
|
this.onTouched?.();
|
|
8464
8072
|
}
|
|
8465
|
-
static
|
|
8466
|
-
static
|
|
8073
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: DropListComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8074
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.22", type: DropListComponent, isStandalone: false, selector: "drop-list", inputs: { disabled: "disabled", unique: "unique", message: "message", idField: "idField", labelField: "labelField", value: "value", context: "context", prepareItem: "prepareItem", checkFn: "checkFn", dropFn: "dropFn" }, providers: [{
|
|
8467
8075
|
provide: NG_VALUE_ACCESSOR,
|
|
8468
8076
|
useExisting: forwardRef(() => DropListComponent),
|
|
8469
8077
|
multi: true,
|
|
8470
|
-
}], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<ng-template #defaultTemplate let-item=\"item\">\r\n <div class=\"drop-list-item-label\">\r\n {{ item | getValue:labelField }}\r\n </div>\r\n</ng-template>\r\n<div class=\"drop-list\"\r\n #list\r\n (dragenter)=\"onDragEnter($event, list, this)\"\r\n (dragleave)=\"onDragLeave($event, list)\"\r\n (drop)=\"onDrop($event, list)\">\r\n <div class=\"drop-list-message\"\r\n [ngClass]=\"{'has-value': value?.length}\"\r\n [innerHTML]=\"message | translate | safe:'html'\"\r\n *ngIf=\"message\">\r\n </div>\r\n <ng-container *ngFor=\"let id of value; let ix = index\">\r\n <div class=\"drop-list-item\">\r\n <ng-template #noItemTemplate>\r\n <div class=\"drop-list-item-label just-id\">\r\n {{ id }}\r\n </div>\r\n </ng-template>\r\n <ng-container [ngTemplateOutlet]=\"itemTemplate || defaultTemplate\"\r\n [ngTemplateOutletContext]=\"{item: valueMap[id], id: id, remove: remove}\"\r\n *ngIf=\"valueMap[id]; else noItemTemplate\"></ng-container>\r\n <a class=\"remove-item-btn\" (click)=\"remove(ix)\"></a>\r\n </div>\r\n </ng-container>\r\n</div>\r\n", styles: [".drop-list{--message-size: 20px;--message-color: #7e7e7e;--message-drop-color: #efefef;--remove-bg: var(--primary-color, rgba(0, 0, 0, .2));--remove-color: #ffffff;--remove-size: 18px;--btn-distance: 4px;--remove-spacing: 8px;--btn-top-distance: var(--btn-distance);--btn-right-distance: var(--btn-distance);min-height:100px;border:2px #bfbfbf dashed;border-radius:10px;padding:10px;position:relative;display:flex;align-items:flex-start;justify-content:left;gap:10px;background-color:#0000000d;transition:.2s;flex-wrap:wrap}.drop-list .drop-list-message{position:absolute;display:flex;align-items:center;justify-content:center;width:100%;height:100%;top:0;left:0;pointer-events:none;font-size:var(--message-size);color:var(--message-color);transition:.2s}.drop-list .drop-list-message.has-value{display:none}.drop-list .drop-list-item{position:relative;background:#0003;padding:7px 23px 7px 10px;border-radius:5px;-webkit-user-select:none;user-select:none}.drop-list .drop-list-item-label:not(.just-id){min-width:50px;text-align:center}.drop-list .drop-list-item-label.just-id{max-width:100px;overflow:hidden;text-overflow:ellipsis;color:gray}.drop-list .drop-list-item-delete{font-size:14px;line-height:14px;text-align:center;cursor:pointer;background:#fff;border-radius:2px;height:14px;width:15px;position:absolute;top:4px;right:4px}.drop-list.drop-allowed{background-color:#0003;border-color:gray}.drop-list.drop-allowed .drop-list-message{color:var(--message-drop-color)}.drop-list a.remove-item-btn{--rotation: 45deg;position:absolute;top:var(--btn-top-distance);right:var(--btn-right-distance);width:var(--remove-size);height:var(--remove-size);cursor:pointer;transition:.2s ease;background-color:var(--remove-bg);border-radius:50%}.drop-list a.remove-item-btn:before,.drop-list a.remove-item-btn:after{content:\"\";position:absolute;top:50%;left:50%;width:calc(100% - var(--remove-spacing));transform:translate(-50%,-50%) rotate(var(--rotation));height:1px;background:var(--remove-color);transition:.2s ease}.drop-list a.remove-item-btn:after{--rotation: -45deg}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: GetValuePipe, name: "getValue" }, { kind: "pipe", type: SafeHtmlPipe, name: "safe" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None });
|
|
8078
|
+
}], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<ng-template #defaultTemplate let-item=\"item\">\r\n <div class=\"drop-list-item-label\">\r\n {{ item | getValue:labelField }}\r\n </div>\r\n</ng-template>\r\n<div class=\"drop-list\"\r\n #list\r\n (dragenter)=\"onDragEnter($event, list, this)\"\r\n (dragleave)=\"onDragLeave($event, list)\"\r\n (drop)=\"onDrop($event, list)\">\r\n <div class=\"drop-list-message\"\r\n [ngClass]=\"{'has-value': value?.length}\"\r\n [innerHTML]=\"message | translate | safe:'html'\"\r\n *ngIf=\"message\">\r\n </div>\r\n <ng-container *ngFor=\"let id of value; let ix = index\">\r\n <div class=\"drop-list-item\">\r\n <ng-template #noItemTemplate>\r\n <div class=\"drop-list-item-label just-id\">\r\n {{ id }}\r\n </div>\r\n </ng-template>\r\n <ng-container [ngTemplateOutlet]=\"itemTemplate || defaultTemplate\"\r\n [ngTemplateOutletContext]=\"{item: valueMap[id], id: id, remove: remove}\"\r\n *ngIf=\"valueMap[id]; else noItemTemplate\"></ng-container>\r\n <a class=\"remove-item-btn\" (click)=\"remove(ix)\"></a>\r\n </div>\r\n </ng-container>\r\n</div>\r\n", styles: [".drop-list{--message-size: 20px;--message-color: #7e7e7e;--message-drop-color: #efefef;--remove-bg: var(--primary-color, rgba(0, 0, 0, .2));--remove-color: #ffffff;--remove-size: 18px;--btn-distance: 4px;--remove-spacing: 8px;--btn-top-distance: var(--btn-distance);--btn-right-distance: var(--btn-distance);min-height:100px;border:2px #bfbfbf dashed;border-radius:10px;padding:10px;position:relative;display:flex;align-items:flex-start;justify-content:left;gap:10px;background-color:#0000000d;transition:.2s;flex-wrap:wrap}.drop-list .drop-list-message{position:absolute;display:flex;align-items:center;justify-content:center;width:100%;height:100%;top:0;left:0;pointer-events:none;font-size:var(--message-size);color:var(--message-color);transition:.2s}.drop-list .drop-list-message.has-value{display:none}.drop-list .drop-list-item{position:relative;background:#0003;padding:7px 23px 7px 10px;border-radius:5px;-webkit-user-select:none;user-select:none}.drop-list .drop-list-item-label:not(.just-id){min-width:50px;text-align:center}.drop-list .drop-list-item-label.just-id{max-width:100px;overflow:hidden;text-overflow:ellipsis;color:gray}.drop-list .drop-list-item-delete{font-size:14px;line-height:14px;text-align:center;cursor:pointer;background:#fff;border-radius:2px;height:14px;width:15px;position:absolute;top:4px;right:4px}.drop-list.drop-allowed{background-color:#0003;border-color:gray}.drop-list.drop-allowed .drop-list-message{color:var(--message-drop-color)}.drop-list a.remove-item-btn{--rotation: 45deg;position:absolute;top:var(--btn-top-distance);right:var(--btn-right-distance);width:var(--remove-size);height:var(--remove-size);cursor:pointer;transition:.2s ease;background-color:var(--remove-bg);border-radius:50%}.drop-list a.remove-item-btn:before,.drop-list a.remove-item-btn:after{content:\"\";position:absolute;top:50%;left:50%;width:calc(100% - var(--remove-spacing));transform:translate(-50%,-50%) rotate(var(--rotation));height:1px;background:var(--remove-color);transition:.2s ease}.drop-list a.remove-item-btn:after{--rotation: -45deg}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: GetValuePipe, name: "getValue" }, { kind: "pipe", type: SafeHtmlPipe, name: "safe" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
8471
8079
|
}
|
|
8472
8080
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: DropListComponent, decorators: [{
|
|
8473
8081
|
type: Component,
|
|
@@ -8502,48 +8110,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
8502
8110
|
}] } });
|
|
8503
8111
|
|
|
8504
8112
|
class DropdownBoxComponent {
|
|
8505
|
-
/**
|
|
8506
|
-
* Determines if the dropdown should be closed even if we click inside it
|
|
8507
|
-
*/
|
|
8508
|
-
closeInside;
|
|
8509
|
-
/**
|
|
8510
|
-
* Determines where the floating element needs to be placed
|
|
8511
|
-
*/
|
|
8512
|
-
attachTo;
|
|
8513
|
-
/**
|
|
8514
|
-
* Where to place the floating element relative to the reference element.
|
|
8515
|
-
*/
|
|
8516
|
-
placement;
|
|
8517
|
-
/**
|
|
8518
|
-
* The axis that runs along the alignment of the floating element. Determines
|
|
8519
|
-
* whether to check for most space along this axis.
|
|
8520
|
-
* @default false
|
|
8521
|
-
*/
|
|
8522
|
-
crossAxis;
|
|
8523
|
-
/**
|
|
8524
|
-
* Choose placements with a particular alignment.
|
|
8525
|
-
* @default undefined
|
|
8526
|
-
*/
|
|
8527
|
-
alignment;
|
|
8528
|
-
/**
|
|
8529
|
-
* Whether to choose placements with the opposite alignment if the preferred
|
|
8530
|
-
* alignment does not fit.
|
|
8531
|
-
* @default true
|
|
8532
|
-
*/
|
|
8533
|
-
autoAlignment;
|
|
8534
|
-
/**
|
|
8535
|
-
* Which placements are allowed to be chosen. Placements must be within the
|
|
8536
|
-
* `alignment` option if explicitly set.
|
|
8537
|
-
* @default allPlacements (variable)
|
|
8538
|
-
*/
|
|
8539
|
-
allowedPlacements;
|
|
8540
|
-
/**
|
|
8541
|
-
* Adds a class to the main div element and also to the content
|
|
8542
|
-
* ('drop' by default which translates to 'drop-content-wrapper' in case of content)
|
|
8543
|
-
*/
|
|
8544
|
-
componentClass;
|
|
8545
|
-
autoPlacement;
|
|
8546
|
-
content;
|
|
8547
8113
|
constructor() {
|
|
8548
8114
|
this.closeInside = true;
|
|
8549
8115
|
this.attachTo = "root";
|
|
@@ -8568,8 +8134,8 @@ class DropdownBoxComponent {
|
|
|
8568
8134
|
ngOnChanges() {
|
|
8569
8135
|
this.makeAutoPlacementOpts();
|
|
8570
8136
|
}
|
|
8571
|
-
static
|
|
8572
|
-
static
|
|
8137
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: DropdownBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8138
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.22", type: DropdownBoxComponent, isStandalone: false, selector: "dropdown-box", inputs: { closeInside: "closeInside", attachTo: "attachTo", placement: "placement", crossAxis: "crossAxis", alignment: "alignment", autoAlignment: "autoAlignment", allowedPlacements: "allowedPlacements", componentClass: "componentClass" }, viewQueries: [{ propertyName: "content", first: true, predicate: DropdownContentDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div dd class=\"dropdown-box\"\n [ngClass]=\"componentClass\"\n [closeInside]=\"closeInside\"\n [attachTo]=\"attachTo\"\n [placement]=\"placement\"\n [autoPlacement]=\"autoPlacement\">\n <div class=\"dropdown-box-toggle\" dropdownToggle>\n <a class=\"dropdown-box-toggle-link\">\n <ng-content select=\"[toggle-content]\"></ng-content>\n </a>\n </div>\n <div class=\"dropdown-box-content\" [ngClass]=\"componentClass + '-content-wrapper'\" *dropdownContent>\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".dropdown-box{--dd-border-size: var(--border-size, 1px);--dd-border-radius: 5px;--dd-top-border-radius: var(--dd-border-radius) var(--dd-border-radius) 0 0;--dd-bottom-border-radius: 0 0 var(--dd-border-radius) var(--dd-border-radius);--dd-bg-color: var(--bg-color, #ffffff);--dd-border-color: var(--border-color, #ced4da);--dd-highlight-color: var(--highlight-color, var(--primary-color, #888888));--dd-highlight-text-color: var(--highlight-text-color, #ffffff);--dd-text-color: var(--text-color, #151515);--dd-arrow-size: var(--arrow-size, 6px);--dd-arrow-space: calc(var(--dd-arrow-size) * .5 + 1px);--dd-arrow-color: currentColor;--dd-arrow-rotation: 90;position:relative;z-index:2;display:inline-block;width:var(--content-width, 0);min-width:fit-content}.dropdown-box *{box-sizing:border-box}.dropdown-box a,.dropdown-box span{white-space:nowrap}.dropdown-box.table-sort-dropdown{display:none}.dropdown-box.table-sort-dropdown .table-toggle:hover,.dropdown-box li:hover,.dropdown-box li.active{background-color:var(--dd-highlight-color);color:var(--dd-highlight-text-color)}.dropdown-box.open{--dd-arrow-rotation: -90}.dropdown-box.open .dropdown-box-toggle{border-radius:var(--dd-top-border-radius)}.dropdown-box-toggle{min-width:fit-content;background:var(--dd-bg-color);color:var(--dd-text-color);cursor:pointer;border:var(--dd-border-size) solid var(--dd-border-color);border-radius:5px;padding:6px 12px;-webkit-user-select:none;user-select:none;font-weight:400;outline:none}.dropdown-box-toggle .toggle-placeholder{color:#495057}.dropdown-box-toggle a.dropdown-box-toggle-link{margin-right:calc(2 * var(--dd-arrow-size));padding-right:5px;min-width:fit-content;position:relative;display:block}.dropdown-box-toggle a.dropdown-box-toggle-link:after{content:\"\";position:absolute;left:calc(100% + var(--dd-arrow-size));top:calc(50% - var(--dd-arrow-size));border-top:var(--dd-arrow-size) solid transparent;border-bottom:var(--dd-arrow-size) solid transparent;border-left:var(--dd-arrow-size) solid var(--dd-arrow-color);transform:rotate(calc(var(--dd-arrow-rotation) * 1deg));transition:.2s ease}.dropdown-box-content{position:relative;z-index:1;min-width:var(--toggle-width, 0)}.dropdown-box-content *{box-sizing:border-box}.dropdown-box-content ul{margin:-1px 0 0;padding:0;list-style:none;border:var(--dd-border-size) solid var(--dd-border-color);z-index:1;background:var(--dd-bg-color);border-radius:var(--dd-border-radius);overflow:hidden;min-width:fit-content}.dropdown-box-content li{color:var(--dd-text-color);font-weight:400;text-align:left;min-width:fit-content;cursor:pointer;padding:6px 12px;-webkit-user-select:none;user-select:none}.dropdown-box-content li a{color:var(--dd-text-color);text-decoration:none;display:flex;gap:5px}.dropdown-box-content li:hover,.dropdown-box-content li.active{background-color:var(--dd-highlight-color);color:var(--dd-highlight-text-color)}.dropdown-box-content li:hover a,.dropdown-box-content li.active a{color:var(--dd-highlight-text-color)}.dropdown-placement-top.open .dropdown-box-toggle{border-radius:var(--dd-bottom-border-radius)}.dropdown-placement-top .dropdown-box-content ul{margin-top:0;margin-bottom:-1px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: DropdownDirective, selector: "[dd],[drop-down]", inputs: ["closeInside", "attachTo", "boundary", "placement", "autoPlacement", "mobileViewUnder", "fixed", "keyboardHandler", "isDisabled"], outputs: ["onShown", "onHidden", "onKeyboard"], exportAs: ["dropdown"] }, { kind: "directive", type: DropdownContentDirective, selector: "[dropdownContent]", exportAs: ["dropdown-content"] }, { kind: "directive", type: DropdownToggleDirective, selector: "[dropdownToggle]", inputs: ["beforeOpen", "switch"], exportAs: ["dropdown-toggle"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
8573
8139
|
}
|
|
8574
8140
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: DropdownBoxComponent, decorators: [{
|
|
8575
8141
|
type: Component,
|
|
@@ -8596,32 +8162,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
8596
8162
|
}] } });
|
|
8597
8163
|
|
|
8598
8164
|
class DynamicTableCellComponent {
|
|
8599
|
-
|
|
8600
|
-
|
|
8601
|
-
|
|
8602
|
-
|
|
8603
|
-
|
|
8604
|
-
|
|
8605
|
-
|
|
8606
|
-
|
|
8607
|
-
|
|
8608
|
-
|
|
8609
|
-
|
|
8610
|
-
|
|
8611
|
-
|
|
8612
|
-
|
|
8613
|
-
|
|
8614
|
-
|
|
8615
|
-
|
|
8616
|
-
|
|
8617
|
-
|
|
8618
|
-
|
|
8619
|
-
|
|
8620
|
-
|
|
8621
|
-
|
|
8622
|
-
|
|
8623
|
-
|
|
8624
|
-
|
|
8165
|
+
constructor() {
|
|
8166
|
+
this.language = inject(LANGUAGE_SERVICE);
|
|
8167
|
+
this.globalTemplates = inject(GlobalTemplateService);
|
|
8168
|
+
this.item = input({});
|
|
8169
|
+
this.column = input({ title: "" });
|
|
8170
|
+
this.id = input("");
|
|
8171
|
+
this.globalTemplatePrefix = input("dynamic-table");
|
|
8172
|
+
this.fallbackTemplate = input(null);
|
|
8173
|
+
this.templateKeys = toSignal(this.globalTemplates.templatesUpdated);
|
|
8174
|
+
this.template = computed(() => {
|
|
8175
|
+
const prefix = this.globalTemplatePrefix();
|
|
8176
|
+
const key = `${prefix}-col-${this.id()}`;
|
|
8177
|
+
const keys = this.templateKeys();
|
|
8178
|
+
return !keys?.includes(key) ? null : this.globalTemplates.get(key);
|
|
8179
|
+
});
|
|
8180
|
+
this.context = computed(() => {
|
|
8181
|
+
const item = this.item();
|
|
8182
|
+
const id = this.id();
|
|
8183
|
+
const value = ObjectUtils.getValue(item, id, null);
|
|
8184
|
+
return {
|
|
8185
|
+
item, id, value,
|
|
8186
|
+
column: this.column(),
|
|
8187
|
+
multi: Array.isArray(value)
|
|
8188
|
+
};
|
|
8189
|
+
});
|
|
8190
|
+
}
|
|
8191
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: DynamicTableCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8192
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.22", type: DynamicTableCellComponent, isStandalone: false, selector: "dynamic-table-cell", inputs: { item: { classPropertyName: "item", publicName: "item", isSignal: true, isRequired: false, transformFunction: null }, column: { classPropertyName: "column", publicName: "column", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, globalTemplatePrefix: { classPropertyName: "globalTemplatePrefix", publicName: "globalTemplatePrefix", isSignal: true, isRequired: false, transformFunction: null }, fallbackTemplate: { classPropertyName: "fallbackTemplate", publicName: "fallbackTemplate", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<ng-template #fallback let-value=\"value\">\r\n {{ value ?? '-' }}\r\n</ng-template>\r\n<ng-template #defaultTemplate let-context let-column=\"column\" let-id=\"id\" let-value=\"value\">\r\n @switch (column.filterType) {\r\n @case ('checkbox') {\r\n <div class=\"table-checkbox\">\r\n <icon [name]=\"value ? 'check' : 'xmark'\"></icon>\r\n </div>\r\n }\r\n @case ('enum') {\r\n @let optionPrefix = column.enumPrefix || id;\r\n <div [ngClass]=\"`table-enum enum-${optionPrefix} enum-value-${value}`\">\r\n <span>{{ `${optionPrefix}.${value}` | translate }}</span>\r\n </div>\r\n }\r\n @default {\r\n <ng-container [ngxTemplateOutlet]=\"fallbackTemplate() || fallback\"\r\n [context]=\"context\"></ng-container>\r\n }\r\n }\r\n</ng-template>\r\n<ng-container [ngxTemplateOutlet]=\"template() || defaultTemplate\"\r\n [context]=\"context()\"\r\n [additionalContext]=\"{defaultTemplate}\"></ng-container>\r\n", dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgxTemplateOutletDirective, selector: "[ngxTemplateOutlet]", inputs: ["context", "additionalContext", "ngxTemplateOutlet"] }, { kind: "component", type: IconComponent, selector: "icon", inputs: ["name"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
8625
8193
|
}
|
|
8626
8194
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: DynamicTableCellComponent, decorators: [{
|
|
8627
8195
|
type: Component,
|
|
@@ -8629,20 +8197,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
8629
8197
|
}] });
|
|
8630
8198
|
|
|
8631
8199
|
class PaginationMenuComponent {
|
|
8632
|
-
state;
|
|
8633
|
-
pagination;
|
|
8634
|
-
maxSize;
|
|
8635
|
-
urlParam;
|
|
8636
|
-
directionLinks;
|
|
8637
|
-
boundaryLinks;
|
|
8638
|
-
pages;
|
|
8639
8200
|
get hasPrev() {
|
|
8640
8201
|
return this.pagination.page > 1;
|
|
8641
8202
|
}
|
|
8642
8203
|
get hasNext() {
|
|
8643
8204
|
return this.pagination.page < this.pagination.maxPage;
|
|
8644
8205
|
}
|
|
8645
|
-
onRefresh;
|
|
8646
8206
|
constructor(state, pagination) {
|
|
8647
8207
|
this.state = state;
|
|
8648
8208
|
this.pagination = pagination;
|
|
@@ -8692,8 +8252,8 @@ class PaginationMenuComponent {
|
|
|
8692
8252
|
}
|
|
8693
8253
|
this.pages = pages;
|
|
8694
8254
|
}
|
|
8695
|
-
static
|
|
8696
|
-
static
|
|
8255
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: PaginationMenuComponent, deps: [{ token: StateService }, { token: PaginationDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8256
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.22", type: PaginationMenuComponent, isStandalone: false, selector: "pagination-menu", inputs: { maxSize: "maxSize", urlParam: "urlParam", directionLinks: "directionLinks", boundaryLinks: "boundaryLinks" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"pg-menu\" *ngIf=\"pagination.total > pagination.itemsPerPage\">\r\n <ul class=\"pg-list\">\r\n <li class=\"page-item\" [ngClass]=\"{disabled: !hasPrev}\" *ngIf=\"boundaryLinks\">\r\n <a class=\"page-link boundary-link previous\" (click)=\"paginate(1)\"></a>\r\n </li>\r\n <li class=\"page-item\" [ngClass]=\"{disabled: !hasPrev}\" *ngIf=\"directionLinks\">\r\n <a class=\"page-link direction-link previous\" (click)=\"paginate(pagination.page - 1)\"></a>\r\n </li>\r\n <li class=\"page-item\" [ngClass]=\"{active: pagination.page == page}\" *ngFor=\"let page of pages\">\r\n <a class=\"page-link\" [ngClass]=\"{active: pagination.page == page}\" (click)=\"paginate(page)\">{{ page }}</a>\r\n </li>\r\n <li class=\"page-item\" [ngClass]=\"{disabled: !hasNext}\" *ngIf=\"directionLinks\">\r\n <a class=\"page-link direction-link\" (click)=\"paginate(pagination.page + 1)\"></a>\r\n </li>\r\n <li class=\"page-item\" [ngClass]=\"{disabled: !hasNext}\" *ngIf=\"boundaryLinks\">\r\n <a class=\"page-link boundary-link\" (click)=\"paginate(pagination.maxPage)\"></a>\r\n </li>\r\n </ul>\r\n</div>\r\n", styles: [".pg-menu{--pg-border-size: var(--border-size, 1px);--pg-bg-color: var(--bg-color, #ffffff);--pg-border-color: var(--border-color, #ced4da);--pg-border-radius: var(--border-radius, 5px);--pg-highlight-color: var(--highlight-color, var(--primary-color, #888888));--pg-highlight-text-color: var(--highlight-text-color, #ffffff);--pg-text-color: var(--text-color, #151515);--pg-arrow-content: \"\";--pg-arrow-size: var(--arrow-size, 6px);--pg-arrow-space: calc(var(--pg-arrow-size) * .5 + 1px);--pg-arrow-color: currentColor;display:flex;align-items:center;justify-content:center;min-width:fit-content;margin:10px}.pg-menu *{box-sizing:border-box}.pg-menu ul.pg-list{margin:0;padding:0;list-style:none;border:var(--pg-border-size) solid var(--pg-border-color);background:var(--pg-bg-color);border-radius:var(--pg-border-radius);overflow:hidden;min-width:fit-content;display:flex}.pg-menu li{color:var(--pg-text-color);font-weight:400;text-align:left;min-width:fit-content;cursor:pointer;border-right:var(--pg-border-size) solid var(--pg-border-color);display:flex;align-items:center}.pg-menu li:last-child{border-right:none}.pg-menu li:not(.disabled):hover,.pg-menu li.active{background-color:var(--pg-highlight-color);color:var(--pg-highlight-text-color)}.pg-menu li.disabled a{cursor:default}.pg-menu a{display:block;min-width:36px;min-height:36px;height:auto;line-height:24px;text-align:center;vertical-align:top;padding:6px 12px;color:inherit}.pg-menu a.boundary-link,.pg-menu a.direction-link{position:relative}.pg-menu a.boundary-link:before,.pg-menu a.boundary-link:after,.pg-menu a.direction-link:before,.pg-menu a.direction-link:after{content:var(--pg-arrow-content);position:absolute;left:50%;top:calc(50% - var(--pg-arrow-size));border-top:var(--pg-arrow-size) solid transparent;border-bottom:var(--pg-arrow-size) solid transparent;border-left:var(--pg-arrow-size) solid var(--pg-arrow-color)}.pg-menu a.direction-link:before{display:none}.pg-menu a.direction-link:after{translate:-50% 0}.pg-menu a.boundary-link:before{translate:-100% 0}.pg-menu a.boundary-link.previous:before,.pg-menu a.boundary-link.previous:after,.pg-menu a.direction-link.previous:before,.pg-menu a.direction-link.previous:after{rotate:180deg}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
8697
8257
|
}
|
|
8698
8258
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: PaginationMenuComponent, decorators: [{
|
|
8699
8259
|
type: Component,
|
|
@@ -8709,82 +8269,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
8709
8269
|
}] } });
|
|
8710
8270
|
|
|
8711
8271
|
class DynamicTableComponent {
|
|
8712
|
-
element;
|
|
8713
|
-
dataLoader;
|
|
8714
|
-
data;
|
|
8715
|
-
selected;
|
|
8716
|
-
page;
|
|
8717
|
-
urlParam;
|
|
8718
|
-
parallelData;
|
|
8719
|
-
columns;
|
|
8720
|
-
/**
|
|
8721
|
-
* Parameter for displaying a simple filter search box
|
|
8722
|
-
*/
|
|
8723
|
-
showFilter;
|
|
8724
|
-
/**
|
|
8725
|
-
* Parameter for specifying a label for filter
|
|
8726
|
-
*/
|
|
8727
|
-
filterLabel;
|
|
8728
|
-
/**
|
|
8729
|
-
* Parameter for specifying a placeholder for filter
|
|
8730
|
-
*/
|
|
8731
|
-
placeholder;
|
|
8732
|
-
/**
|
|
8733
|
-
* Parameter for displaying an item per page selector dropdown with the specified numbers
|
|
8734
|
-
*/
|
|
8735
|
-
showItems;
|
|
8736
|
-
/**
|
|
8737
|
-
* Parameter for setting how many items should be displayed by default
|
|
8738
|
-
*/
|
|
8739
|
-
itemsPerPage;
|
|
8740
|
-
updateTime;
|
|
8741
|
-
filterTime;
|
|
8742
|
-
maxPages;
|
|
8743
|
-
directionLinks;
|
|
8744
|
-
boundaryLinks;
|
|
8745
|
-
orderBy;
|
|
8746
|
-
orderDescending;
|
|
8747
|
-
testId;
|
|
8748
|
-
titlePrefix;
|
|
8749
|
-
dragStartFn;
|
|
8750
|
-
dragEnterFn;
|
|
8751
|
-
dropFn;
|
|
8752
|
-
tableId;
|
|
8753
|
-
filter;
|
|
8754
|
-
query;
|
|
8755
|
-
hasQuery;
|
|
8756
|
-
columnDefs;
|
|
8757
|
-
cols;
|
|
8758
|
-
sortable;
|
|
8759
8272
|
get items() {
|
|
8760
8273
|
return !this.pagination ? [] : this.pagination.items;
|
|
8761
8274
|
}
|
|
8762
|
-
localData;
|
|
8763
|
-
subscription;
|
|
8764
|
-
rowTemplate;
|
|
8765
|
-
wrapperTemplate;
|
|
8766
|
-
columnsTemplate;
|
|
8767
|
-
defaultRowTemplate;
|
|
8768
|
-
defaultWrapperTemplate;
|
|
8769
|
-
pagination;
|
|
8770
|
-
globalTemplatePrefix = input("dynamic-table");
|
|
8771
|
-
fallbackTemplate = contentChild("fallbackTemplate");
|
|
8772
|
-
templateDirectives = contentChildren(DynamicTableTemplateDirective);
|
|
8773
|
-
templates = computed(() => {
|
|
8774
|
-
return (this.templateDirectives() || []).reduce((result, directive) => {
|
|
8775
|
-
if (ObjectUtils.isArray(directive.column)) {
|
|
8776
|
-
directive.column.forEach(column => {
|
|
8777
|
-
result[column] = directive;
|
|
8778
|
-
});
|
|
8779
|
-
return result;
|
|
8780
|
-
}
|
|
8781
|
-
if (!ObjectUtils.isStringWithValue(directive.column))
|
|
8782
|
-
return result;
|
|
8783
|
-
result[directive.column] = directive;
|
|
8784
|
-
return result;
|
|
8785
|
-
}, {});
|
|
8786
|
-
});
|
|
8787
|
-
onClick = output();
|
|
8788
8275
|
static compare(orderBy, a, b) {
|
|
8789
8276
|
a = a.item ? a.item[orderBy] : null;
|
|
8790
8277
|
b = b.item ? b.item[orderBy] : null;
|
|
@@ -8792,6 +8279,29 @@ class DynamicTableComponent {
|
|
|
8792
8279
|
}
|
|
8793
8280
|
constructor(element) {
|
|
8794
8281
|
this.element = element;
|
|
8282
|
+
this.globalTemplatePrefix = input("dynamic-table");
|
|
8283
|
+
this.fallbackTemplate = contentChild("fallbackTemplate");
|
|
8284
|
+
this.templateDirectives = contentChildren(DynamicTableTemplateDirective);
|
|
8285
|
+
this.templates = computed(() => {
|
|
8286
|
+
return (this.templateDirectives() || []).reduce((result, directive) => {
|
|
8287
|
+
if (ObjectUtils.isArray(directive.column)) {
|
|
8288
|
+
directive.column.forEach(column => {
|
|
8289
|
+
result[column] = directive;
|
|
8290
|
+
});
|
|
8291
|
+
return result;
|
|
8292
|
+
}
|
|
8293
|
+
if (!ObjectUtils.isStringWithValue(directive.column))
|
|
8294
|
+
return result;
|
|
8295
|
+
result[directive.column] = directive;
|
|
8296
|
+
return result;
|
|
8297
|
+
}, {});
|
|
8298
|
+
});
|
|
8299
|
+
this.onClick = output();
|
|
8300
|
+
this.loadData = async (page, itemsPerPage, controller) => {
|
|
8301
|
+
const orderBy = this.columnDefs[this.orderBy]?.sort;
|
|
8302
|
+
const dataLoader = this.dataLoader || this.loadLocalData;
|
|
8303
|
+
return dataLoader.call(this, page, itemsPerPage, orderBy, this.orderDescending, this.filter, this.query, controller);
|
|
8304
|
+
};
|
|
8795
8305
|
this.placeholder = "";
|
|
8796
8306
|
this.tableId = UniqueUtils.uuid();
|
|
8797
8307
|
this.orderBy = "";
|
|
@@ -8965,11 +8475,6 @@ class DynamicTableComponent {
|
|
|
8965
8475
|
this.itemsPerPage = count;
|
|
8966
8476
|
this.refresh();
|
|
8967
8477
|
}
|
|
8968
|
-
loadData = async (page, itemsPerPage, controller) => {
|
|
8969
|
-
const orderBy = this.columnDefs[this.orderBy]?.sort;
|
|
8970
|
-
const dataLoader = this.dataLoader || this.loadLocalData;
|
|
8971
|
-
return dataLoader.call(this, page, itemsPerPage, orderBy, this.orderDescending, this.filter, this.query, controller);
|
|
8972
|
-
};
|
|
8973
8478
|
async loadLocalData(page, rowsPerPage, orderBy, orderDescending, filter, query) {
|
|
8974
8479
|
if (!this.localData) {
|
|
8975
8480
|
return {
|
|
@@ -9026,8 +8531,8 @@ class DynamicTableComponent {
|
|
|
9026
8531
|
items: items
|
|
9027
8532
|
};
|
|
9028
8533
|
}
|
|
9029
|
-
static
|
|
9030
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.22", type: DynamicTableComponent, isStandalone: false, selector: "dynamic-table", inputs: { dataLoader: { classPropertyName: "dataLoader", publicName: "dataLoader", isSignal: false, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: false, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: false, isRequired: false, transformFunction: null }, page: { classPropertyName: "page", publicName: "page", isSignal: false, isRequired: false, transformFunction: null }, urlParam: { classPropertyName: "urlParam", publicName: "urlParam", isSignal: false, isRequired: false, transformFunction: null }, parallelData: { classPropertyName: "parallelData", publicName: "parallelData", isSignal: false, isRequired: false, transformFunction: null }, columns: { classPropertyName: "columns", publicName: "columns", isSignal: false, isRequired: false, transformFunction: null }, showFilter: { classPropertyName: "showFilter", publicName: "showFilter", isSignal: false, isRequired: false, transformFunction: null }, filterLabel: { classPropertyName: "filterLabel", publicName: "filterLabel", isSignal: false, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, showItems: { classPropertyName: "showItems", publicName: "showItems", isSignal: false, isRequired: false, transformFunction: null }, itemsPerPage: { classPropertyName: "itemsPerPage", publicName: "itemsPerPage", isSignal: false, isRequired: false, transformFunction: null }, updateTime: { classPropertyName: "updateTime", publicName: "updateTime", isSignal: false, isRequired: false, transformFunction: null }, filterTime: { classPropertyName: "filterTime", publicName: "filterTime", isSignal: false, isRequired: false, transformFunction: null }, maxPages: { classPropertyName: "maxPages", publicName: "maxPages", isSignal: false, isRequired: false, transformFunction: null }, directionLinks: { classPropertyName: "directionLinks", publicName: "directionLinks", isSignal: false, isRequired: false, transformFunction: null }, boundaryLinks: { classPropertyName: "boundaryLinks", publicName: "boundaryLinks", isSignal: false, isRequired: false, transformFunction: null }, orderBy: { classPropertyName: "orderBy", publicName: "orderBy", isSignal: false, isRequired: false, transformFunction: null }, orderDescending: { classPropertyName: "orderDescending", publicName: "orderDescending", isSignal: false, isRequired: false, transformFunction: null }, testId: { classPropertyName: "testId", publicName: "testId", isSignal: false, isRequired: false, transformFunction: null }, titlePrefix: { classPropertyName: "titlePrefix", publicName: "titlePrefix", isSignal: false, isRequired: false, transformFunction: null }, dragStartFn: { classPropertyName: "dragStartFn", publicName: "dragStartFn", isSignal: false, isRequired: false, transformFunction: null }, dragEnterFn: { classPropertyName: "dragEnterFn", publicName: "dragEnterFn", isSignal: false, isRequired: false, transformFunction: null }, dropFn: { classPropertyName: "dropFn", publicName: "dropFn", isSignal: false, isRequired: false, transformFunction: null }, globalTemplatePrefix: { classPropertyName: "globalTemplatePrefix", publicName: "globalTemplatePrefix", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onClick: "onClick" }, queries: [{ propertyName: "fallbackTemplate", first: true, predicate: ["fallbackTemplate"], descendants: true, isSignal: true }, { propertyName: "templateDirectives", predicate: DynamicTableTemplateDirective, isSignal: true }, { propertyName: "rowTemplate", first: true, predicate: ["rowTemplate"], descendants: true, static: true }, { propertyName: "wrapperTemplate", first: true, predicate: ["wrapperTemplate"], descendants: true, static: true }], viewQueries: [{ propertyName: "columnsTemplate", first: true, predicate: ["columnsTemplate"], descendants: true, static: true }, { propertyName: "defaultRowTemplate", first: true, predicate: ["defaultRowTemplate"], descendants: true, static: true }, { propertyName: "defaultWrapperTemplate", first: true, predicate: ["defaultWrapperTemplate"], descendants: true, static: true }, { propertyName: "pagination", first: true, predicate: ["pagination"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "@let columnTemplates = templates();\r\n@let prefix = globalTemplatePrefix();\r\n@let fallback = fallbackTemplate();\r\n\r\n<ng-template #defaultTemplate let-item=\"item\" let-column=\"column\" let-columnDef=\"columnDef\">\r\n <dynamic-table-cell [item]=\"item\"\r\n [column]=\"columnDef\"\r\n [id]=\"column\"\r\n [globalTemplatePrefix]=\"prefix\"\r\n [fallbackTemplate]=\"fallback\"></dynamic-table-cell>\r\n</ng-template>\r\n\r\n<ng-template #columnTemplate let-context let-column=\"column\" let-template=\"template\">\r\n @if (!template?.pure) {\r\n <td [ngClass]=\"'column-' + column\"\r\n [attr.data-testid]=\"testId + '-' + column + '-' + context.rowIndex\">\r\n <ng-container [ngxTemplateOutlet]=\"!template ? defaultTemplate : template.ref\"\r\n [context]=\"context\"></ng-container>\r\n </td>\r\n } @else {\r\n <ng-container [ngxTemplateOutlet]=\"template.ref\" [context]=\"context\"></ng-container>\r\n }\r\n</ng-template>\r\n\r\n<ng-template #columnsTemplate let-context>\r\n <ng-container *ngFor=\"let column of cols\"\r\n [ngxTemplateOutlet]=\"columnTemplate\"\r\n [context]=\"context\"\r\n [additionalContext]=\"{\r\n template: columnTemplates[column],\r\n column: column,\r\n columnDef: columnDefs[column]\r\n }\"></ng-container>\r\n</ng-template>\r\n\r\n<ng-template #defaultRowTemplate let-context>\r\n <tr #elem\r\n [draggable]=\"!!dragStartFn\"\r\n [ngClass]=\"{active: selected === context.item}\"\r\n (dragstart)=\"onDragStart($event, elem, context.item)\"\r\n (dragenter)=\"onDragEnter($event, elem, context.item)\"\r\n (dragleave)=\"onDragLeave($event, elem)\"\r\n (drop)=\"onDrop($event, elem, context.item)\"\r\n (click)=\"onClick.emit(context.item)\">\r\n <ng-container [ngxTemplateOutlet]=\"columnsTemplate\"\r\n [context]=\"context\"></ng-container>\r\n </tr>\r\n</ng-template>\r\n\r\n<ng-template #headerTemplate let-column=\"column\" let-toggle=\"toggle\">\r\n <ng-template #defaultCol>\r\n <span>{{ columnDefs[column].title | translate }}</span>\r\n </ng-template>\r\n <ng-template #emptyCol>\r\n <span>-</span>\r\n </ng-template>\r\n <ng-container *ngIf=\"columnDefs[column]; else emptyCol\">\r\n <a *ngIf=\"columnDefs[column].sort; else defaultCol\"\r\n [ngClass]=\"['sort', orderBy !== column ? '' : (orderDescending ? 'sort-desc' : 'sort-asc')]\"\r\n (click)=\"setSorting(column, toggle)\">\r\n <span>{{ columnDefs[column].title | translate }}</span>\r\n </a>\r\n </ng-container>\r\n</ng-template>\r\n\r\n<div class=\"dynamic-table\">\r\n <div class=\"table-features-row\">\r\n <ng-content select=\"[table-features-before]\"></ng-content>\r\n @if (showFilter) {\r\n <div class=\"table-input-wrap table-search-filter\">\r\n <label *ngIf=\"filterLabel\" [attr.for]=\"tableId\">\r\n {{ filterLabel | translate }}\r\n </label>\r\n <input type=\"text\"\r\n class=\"search-input\"\r\n [attr.id]=\"tableId\"\r\n [attr.data-testid]=\"testId + '-filter-input'\"\r\n [placeholder]=\"placeholder | translate\"\r\n [ngModel]=\"filter\"\r\n (ngModelChange)=\"setFilter($event)\"/>\r\n </div>\r\n }\r\n @if (sortable) {\r\n <dropdown-box componentClass=\"sort-dropdown\" #sortDd>\r\n <ng-container toggle-content\r\n [ngTemplateOutlet]=\"headerTemplate\"\r\n [ngTemplateOutletContext]=\"{column: orderBy, toggle: sortDd}\"></ng-container>\r\n <ul>\r\n <ng-container *ngFor=\"let column of cols\">\r\n <li [ngClass]=\"'sort-column sort-' + column\" *ngIf=\"columnDefs[column].sort\">\r\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"\r\n [ngTemplateOutletContext]=\"{column: column}\"></ng-container>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </dropdown-box>\r\n }\r\n @if (showItems) {\r\n <div class=\"table-input-wrap table-items-count\">\r\n <label>\r\n {{ 'label.items.before' | translate }}\r\n </label>\r\n <dropdown-box>\r\n <ng-container toggle-content>\r\n {{ itemsPerPage }}\r\n </ng-container>\r\n <ul>\r\n <ng-container *ngFor=\"let count of showItems\">\r\n <li [ngClass]=\"'item-count count-' + count\" (click)=\"setItemsPerPage(count)\">\r\n {{ count }}\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </dropdown-box>\r\n <label>\r\n {{ 'label.items.after' | translate }}\r\n </label>\r\n </div>\r\n }\r\n <ng-content select=\"[table-features-after]\"></ng-content>\r\n </div>\r\n <div class=\"table-content-row\"\r\n #pagination=\"pagination\"\r\n [pagination]=\"loadData\"\r\n [page]=\"page\"\r\n [itemsPerPage]=\"itemsPerPage\"\r\n [updateTime]=\"updateTime\">\r\n <pagination-menu [urlParam]=\"urlParam\" [maxSize]=\"maxPages\" [directionLinks]=\"directionLinks\"\r\n [boundaryLinks]=\"boundaryLinks\"></pagination-menu>\r\n <div class=\"table-responsive\">\r\n <ng-template #defaultWrapperTemplate>\r\n <table class=\"table table-striped\">\r\n <thead>\r\n <tr>\r\n <th *ngFor=\"let column of cols\" [ngClass]=\"'header-column column-' + column\">\r\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"\r\n [ngTemplateOutletContext]=\"{column: column}\"></ng-container>\r\n </th>\r\n </tr>\r\n <tr *ngIf=\"hasQuery\">\r\n @for (column of cols; track column) {\r\n @let columnDef = columnDefs[column];\r\n <th [ngClass]=\"['column-' + column, 'filter-column', 'filter-column-' + columnDef.filterType]\">\r\n @if (columnDef.filter) {\r\n @switch (columnDef.filterType) {\r\n @case ('enum') {\r\n @let optionPrefix = columnDefs[column].enumPrefix || column;\r\n <ng-template #optionItem let-option=\"option\">\r\n <span [ngClass]=\"`table-enum enum-${optionPrefix} enum-value-${option}`\">\r\n <span>{{ `${optionPrefix}.${option}` | translate }}</span>\r\n </span>\r\n </ng-template>\r\n <dropdown-box componentClass=\"filter-box\"\r\n [ngClass]=\"'filter-box-' + column\"\r\n [closeInside]=\"false\">\r\n <ng-container toggle-content>\r\n <span class=\"toggle-placeholder\" *ngIf=\"!query[column]\">\r\n {{ columnDefs[column].title | translate }}\r\n </span>\r\n <span [ngClass]=\"['option-' + option, column + '-option-' + option, option]\"\r\n *ngFor=\"let option of query[column] | values; let ix = index\">\r\n <ng-container *ngIf=\"ix > 0\"> | </ng-container>\r\n <ng-container [ngTemplateOutlet]=\"optionItem\"\r\n [ngTemplateOutletContext]=\"{option: option}\"></ng-container>\r\n </span>\r\n </ng-container>\r\n <ul>\r\n @for (option of columnDefs[column].enum; track option) {\r\n <li (click)=\"setQueryValue(column, option)\">\r\n <a class=\"toggle-link\" [ngClass]=\"'toggle-link-' + column\">\r\n <input type=\"checkbox\" [checked]=\"query[column] | includes: option\">\r\n <ng-container [ngTemplateOutlet]=\"optionItem\"\r\n [ngTemplateOutletContext]=\"{option: option}\"></ng-container>\r\n </a>\r\n </li>\r\n }\r\n </ul>\r\n </dropdown-box>\r\n }\r\n @case ('checkbox') {\r\n <input type=\"checkbox\"\r\n class=\"table-checkbox\"\r\n [attr.data-testid]=\"testId + '-filter-' + column\"\r\n [placeholder]=\"columnDefs[column].title | translate\"\r\n [checked]=\"query[column] === true\"\r\n [indeterminate]=\"query[column] === undefined\"\r\n (click)=\"setQueryValue(column)\"/>\r\n }\r\n @default {\r\n <input class=\"search-input\"\r\n type=\"text\"\r\n [attr.data-testid]=\"testId + '-filter-' + column\"\r\n [placeholder]=\"columnDefs[column].title | translate\"\r\n [ngModel]=\"query[column]\"\r\n (ngModelChange)=\"setQueryValue(column, $event)\"/>\r\n }\r\n }\r\n }\r\n </th>\r\n }\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <ng-container *paginationItem=\"let context\"\r\n [ngxTemplateOutlet]=\"rowTemplate\"\r\n [context]=\"context\"\r\n [additionalContext]=\"this\"></ng-container>\r\n <tr>\r\n <!-- Just an anchor/helper row for the loading state -->\r\n <td colspan=\"100%\"></td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </ng-template>\r\n\r\n <div class=\"table-wrapper\">\r\n <ng-content select=\"[table-top]\"></ng-content>\r\n <ng-container [ngxTemplateOutlet]=\"wrapperTemplate || defaultWrapperTemplate\"\r\n [context]=\"this\"></ng-container>\r\n <ng-content select=\"[table-bottom]\"></ng-content>\r\n </div>\r\n </div>\r\n <pagination-menu [urlParam]=\"urlParam\" [maxSize]=\"maxPages\" [directionLinks]=\"directionLinks\"\r\n [boundaryLinks]=\"boundaryLinks\"></pagination-menu>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";@keyframes table-load-spin{to{rotate:360deg}}.dynamic-table{--table-bg: transparent;--table-stripe-bg: rgba(210, 210, 210, .35);--border-size: 1px;--border-color: #ced4da;--bg-color: #ffffff;--text-color: #151515;--highlight-color: var(--primary-color, #888888);--highlight-text-color: #ffffff;--display-toggle: none;--arrow-size: 6px;--arrow-rotation: 90;--arrow-space: calc(var(--arrow-size) * .5 + 1px);--arrow-color: #c6c6c6}.dynamic-table *{box-sizing:border-box}.dynamic-table div.table-enum,.dynamic-table div.table-checkbox{text-align:center}.dynamic-table .search-input{background:var(--bg-color);color:var(--text-color);border:var(--border-size) solid var(--border-color);padding:var(--element-padding, 6px 12px);border-radius:5px;-webkit-user-select:none;user-select:none;font-weight:400;font-size:var(--table-input-font-size, 15px);line-height:var(--table-input-line-height, 18px);outline:none}.dynamic-table .search-input .toggle-placeholder,.dynamic-table .search-input ::placeholder{color:#495057}.dynamic-table .table-responsive{border:1px solid var(--border-color);overflow:hidden;overflow-x:auto;margin-bottom:1rem}.dynamic-table .table-features-row:not(:empty){display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between;margin-bottom:20px}.dynamic-table .table-content-row,.dynamic-table .table-content-row tbody{position:relative}.dynamic-table .table-content-row tbody tr:last-child td:first-child{padding:0;border-bottom-width:0}.dynamic-table .table-content-row.loading tbody{height:50px}.dynamic-table .table-content-row.loading tbody tr:last-child td:first-child:before{content:\"\";display:table-row;position:absolute;inset:1px;background-color:#32323240;z-index:1}.dynamic-table .table-content-row.loading tbody tr:last-child td:first-child:after{content:\"\";display:table-row;position:absolute;width:25px;height:25px;border:3px solid rgba(255,255,255,.75);border-radius:50%;border-left-color:transparent;border-right-color:transparent;animation:table-load-spin 575ms infinite linear;vertical-align:middle;margin-right:5px;top:50%;left:50%;translate:-50% -50%;z-index:2}.dynamic-table .sort-dropdown{display:none}.dynamic-table .table-input-wrap{display:flex;align-items:center;flex:1;gap:5px}.dynamic-table .table-input-wrap>label{margin:0;font-weight:700}.dynamic-table .table-input-wrap>input{width:300px;max-width:90%}.dynamic-table .table-items-count{flex:1}.dynamic-table .table-wrapper{position:relative}.dynamic-table table.table{border-collapse:collapse;margin:0;width:100%;font-family:inherit;font-size:inherit}.dynamic-table table.table th{text-align:left}.dynamic-table table.table th,.dynamic-table table.table td{text-align:left;padding:6px 12px;border:1px solid var(--border-color);vertical-align:middle;white-space:nowrap;width:var(--cell-width, 25%);min-width:fit-content}.dynamic-table table.table-sm th,.dynamic-table table.table-sm td{font-size:var(--font-size-sm);padding:4px 6px}.dynamic-table table.table thead th{font-weight:500}.dynamic-table table.table thead th .dropdown-box{display:block;width:100%;text-align:left}.dynamic-table table.table thead th .search-input{width:100%;padding:7px 12px}.dynamic-table table.table thead th span{display:inline-block;vertical-align:top}.dynamic-table table.table thead th a{cursor:pointer;text-align:left}.dynamic-table table.table thead th.filter-column{text-align:center}.dynamic-table table.table thead tr:first-child th{border-top-width:0}.dynamic-table table.table tbody tr:last-child td{border-top-width:0}.dynamic-table table.table tbody tr:last-child td,.dynamic-table table.table tbody tr:nth-last-child(2) td{border-bottom-width:0}.dynamic-table table.table thead tr th,.dynamic-table table.table tbody tr td{background-color:var(--table-bg)}.dynamic-table table.table thead tr th:first-child,.dynamic-table table.table tbody tr td:first-child{border-left-width:0}.dynamic-table table.table thead tr th:last-child,.dynamic-table table.table tbody tr td:last-child{border-right-width:0}.dynamic-table table.table tbody tr.active td{background-color:var(--highlight-color);color:var(--highlight-text-color)}.dynamic-table .table-striped>tbody>tr:nth-of-type(odd) td{background-color:var(--table-stripe-bg)}.dynamic-table .table-striped>tbody>tr:nth-of-type(odd).active td{background-color:var(--highlight-color);color:var(--highlight-text-color)}.sort-dropdown .dropdown-box-toggle a.dropdown-box-toggle-link{margin-right:0;padding-right:0}.sort-dropdown .dropdown-box-toggle a.dropdown-box-toggle-link:after{display:none}.sort-dropdown-content-wrapper a.sort,.dynamic-table a.sort{position:relative;display:block;margin-right:calc(var(--arrow-size) * 2);-webkit-user-select:none;user-select:none;padding-right:5px}.sort-dropdown-content-wrapper a.sort:before,.sort-dropdown-content-wrapper a.sort:after,.dynamic-table a.sort:before,.dynamic-table a.sort:after{content:\"\";position:absolute;transition:.2s ease;left:calc(100% + var(--arrow-size));top:calc(50% - var(--arrow-size));border-top:var(--arrow-size) solid transparent;border-bottom:var(--arrow-size) solid transparent;border-left:var(--arrow-size) solid var(--arrow-color);transform:rotate(calc(var(--arrow-rotation) * 1deg)) translate(var(--arrow-space))}.sort-dropdown-content-wrapper a.sort:before,.dynamic-table a.sort:before{--arrow-rotation: -90}.sort-dropdown-content-wrapper a.sort.sort-desc:before,.dynamic-table a.sort.sort-desc:before{--arrow-color: black}.sort-dropdown-content-wrapper a.sort.sort-asc:after,.dynamic-table a.sort.sort-asc:after{--arrow-color: black}.table-enum{--enum-color: #c6c6c6;--enum-radius: 5px}.table-enum span{display:inline-block;padding:2px 5px;background:color-mix(in srgb,var(--enum-color),rgba(255,255,255,.4666666667) 50%);color:color-mix(in srgb,var(--enum-color),#000 70%);border:1px solid var(--enum-color);border-radius:var(--enum-radius);-webkit-user-select:none;user-select:none}input.table-checkbox{appearance:none;cursor:pointer;width:16px;height:16px;border:1px solid black;border-radius:3px;background-color:#fff;position:relative;font-size:11px;line-height:11px;vertical-align:middle}input.table-checkbox:focus{outline:none}input.table-checkbox:focus-visible{outline:2px solid #acacac;outline-offset:0}input.table-checkbox:after{position:absolute;content:\"\\2716\\fe0e\";text-align:center;width:100%;height:100%}input.table-checkbox:checked:after{content:\"\\2714\\fe0e\"}input.table-checkbox:indeterminate:after{content:\"\\2501\"}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgxTemplateOutletDirective, selector: "[ngxTemplateOutlet]", inputs: ["context", "additionalContext", "ngxTemplateOutlet"] }, { kind: "directive", type: PaginationDirective, selector: "[pagination]", inputs: ["pagination", "page", "itemsPerPage", "updateTime", "waitFor"], outputs: ["pageChange", "onRefresh"], exportAs: ["pagination"] }, { kind: "directive", type: PaginationItemDirective, selector: "[paginationItem]" }, { kind: "component", type: DropdownBoxComponent, selector: "dropdown-box", inputs: ["closeInside", "attachTo", "placement", "crossAxis", "alignment", "autoAlignment", "allowedPlacements", "componentClass"] }, { kind: "component", type: DynamicTableCellComponent, selector: "dynamic-table-cell", inputs: ["item", "column", "id", "globalTemplatePrefix", "fallbackTemplate"] }, { kind: "component", type: PaginationMenuComponent, selector: "pagination-menu", inputs: ["maxSize", "urlParam", "directionLinks", "boundaryLinks"] }, { kind: "pipe", type: IncludesPipe, name: "includes" }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "pipe", type: ValuesPipe, name: "values" }], encapsulation: i0.ViewEncapsulation.None });
|
|
8534
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: DynamicTableComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8535
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.22", type: DynamicTableComponent, isStandalone: false, selector: "dynamic-table", inputs: { dataLoader: { classPropertyName: "dataLoader", publicName: "dataLoader", isSignal: false, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: false, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: false, isRequired: false, transformFunction: null }, page: { classPropertyName: "page", publicName: "page", isSignal: false, isRequired: false, transformFunction: null }, urlParam: { classPropertyName: "urlParam", publicName: "urlParam", isSignal: false, isRequired: false, transformFunction: null }, parallelData: { classPropertyName: "parallelData", publicName: "parallelData", isSignal: false, isRequired: false, transformFunction: null }, columns: { classPropertyName: "columns", publicName: "columns", isSignal: false, isRequired: false, transformFunction: null }, showFilter: { classPropertyName: "showFilter", publicName: "showFilter", isSignal: false, isRequired: false, transformFunction: null }, filterLabel: { classPropertyName: "filterLabel", publicName: "filterLabel", isSignal: false, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, showItems: { classPropertyName: "showItems", publicName: "showItems", isSignal: false, isRequired: false, transformFunction: null }, itemsPerPage: { classPropertyName: "itemsPerPage", publicName: "itemsPerPage", isSignal: false, isRequired: false, transformFunction: null }, updateTime: { classPropertyName: "updateTime", publicName: "updateTime", isSignal: false, isRequired: false, transformFunction: null }, filterTime: { classPropertyName: "filterTime", publicName: "filterTime", isSignal: false, isRequired: false, transformFunction: null }, maxPages: { classPropertyName: "maxPages", publicName: "maxPages", isSignal: false, isRequired: false, transformFunction: null }, directionLinks: { classPropertyName: "directionLinks", publicName: "directionLinks", isSignal: false, isRequired: false, transformFunction: null }, boundaryLinks: { classPropertyName: "boundaryLinks", publicName: "boundaryLinks", isSignal: false, isRequired: false, transformFunction: null }, orderBy: { classPropertyName: "orderBy", publicName: "orderBy", isSignal: false, isRequired: false, transformFunction: null }, orderDescending: { classPropertyName: "orderDescending", publicName: "orderDescending", isSignal: false, isRequired: false, transformFunction: null }, testId: { classPropertyName: "testId", publicName: "testId", isSignal: false, isRequired: false, transformFunction: null }, titlePrefix: { classPropertyName: "titlePrefix", publicName: "titlePrefix", isSignal: false, isRequired: false, transformFunction: null }, dragStartFn: { classPropertyName: "dragStartFn", publicName: "dragStartFn", isSignal: false, isRequired: false, transformFunction: null }, dragEnterFn: { classPropertyName: "dragEnterFn", publicName: "dragEnterFn", isSignal: false, isRequired: false, transformFunction: null }, dropFn: { classPropertyName: "dropFn", publicName: "dropFn", isSignal: false, isRequired: false, transformFunction: null }, globalTemplatePrefix: { classPropertyName: "globalTemplatePrefix", publicName: "globalTemplatePrefix", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onClick: "onClick" }, queries: [{ propertyName: "fallbackTemplate", first: true, predicate: ["fallbackTemplate"], descendants: true, isSignal: true }, { propertyName: "templateDirectives", predicate: DynamicTableTemplateDirective, isSignal: true }, { propertyName: "rowTemplate", first: true, predicate: ["rowTemplate"], descendants: true, static: true }, { propertyName: "wrapperTemplate", first: true, predicate: ["wrapperTemplate"], descendants: true, static: true }], viewQueries: [{ propertyName: "columnsTemplate", first: true, predicate: ["columnsTemplate"], descendants: true, static: true }, { propertyName: "defaultRowTemplate", first: true, predicate: ["defaultRowTemplate"], descendants: true, static: true }, { propertyName: "defaultWrapperTemplate", first: true, predicate: ["defaultWrapperTemplate"], descendants: true, static: true }, { propertyName: "pagination", first: true, predicate: ["pagination"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "@let columnTemplates = templates();\r\n@let prefix = globalTemplatePrefix();\r\n@let fallback = fallbackTemplate();\r\n\r\n<ng-template #defaultTemplate let-item=\"item\" let-column=\"column\" let-columnDef=\"columnDef\">\r\n <dynamic-table-cell [item]=\"item\"\r\n [column]=\"columnDef\"\r\n [id]=\"column\"\r\n [globalTemplatePrefix]=\"prefix\"\r\n [fallbackTemplate]=\"fallback\"></dynamic-table-cell>\r\n</ng-template>\r\n\r\n<ng-template #columnTemplate let-context let-column=\"column\" let-template=\"template\">\r\n @if (!template?.pure) {\r\n <td [ngClass]=\"'column-' + column\"\r\n [attr.data-testid]=\"testId + '-' + column + '-' + context.rowIndex\">\r\n <ng-container [ngxTemplateOutlet]=\"!template ? defaultTemplate : template.ref\"\r\n [context]=\"context\"></ng-container>\r\n </td>\r\n } @else {\r\n <ng-container [ngxTemplateOutlet]=\"template.ref\" [context]=\"context\"></ng-container>\r\n }\r\n</ng-template>\r\n\r\n<ng-template #columnsTemplate let-context>\r\n <ng-container *ngFor=\"let column of cols\"\r\n [ngxTemplateOutlet]=\"columnTemplate\"\r\n [context]=\"context\"\r\n [additionalContext]=\"{\r\n template: columnTemplates[column],\r\n column: column,\r\n columnDef: columnDefs[column]\r\n }\"></ng-container>\r\n</ng-template>\r\n\r\n<ng-template #defaultRowTemplate let-context>\r\n <tr #elem\r\n [draggable]=\"!!dragStartFn\"\r\n [ngClass]=\"{active: selected === context.item}\"\r\n (dragstart)=\"onDragStart($event, elem, context.item)\"\r\n (dragenter)=\"onDragEnter($event, elem, context.item)\"\r\n (dragleave)=\"onDragLeave($event, elem)\"\r\n (drop)=\"onDrop($event, elem, context.item)\"\r\n (click)=\"onClick.emit(context.item)\">\r\n <ng-container [ngxTemplateOutlet]=\"columnsTemplate\"\r\n [context]=\"context\"></ng-container>\r\n </tr>\r\n</ng-template>\r\n\r\n<ng-template #headerTemplate let-column=\"column\" let-toggle=\"toggle\">\r\n <ng-template #defaultCol>\r\n <span>{{ columnDefs[column].title | translate }}</span>\r\n </ng-template>\r\n <ng-template #emptyCol>\r\n <span>-</span>\r\n </ng-template>\r\n <ng-container *ngIf=\"columnDefs[column]; else emptyCol\">\r\n <a *ngIf=\"columnDefs[column].sort; else defaultCol\"\r\n [ngClass]=\"['sort', orderBy !== column ? '' : (orderDescending ? 'sort-desc' : 'sort-asc')]\"\r\n (click)=\"setSorting(column, toggle)\">\r\n <span>{{ columnDefs[column].title | translate }}</span>\r\n </a>\r\n </ng-container>\r\n</ng-template>\r\n\r\n<div class=\"dynamic-table\">\r\n <div class=\"table-features-row\">\r\n <ng-content select=\"[table-features-before]\"></ng-content>\r\n @if (showFilter) {\r\n <div class=\"table-input-wrap table-search-filter\">\r\n <label *ngIf=\"filterLabel\" [attr.for]=\"tableId\">\r\n {{ filterLabel | translate }}\r\n </label>\r\n <input type=\"text\"\r\n class=\"search-input\"\r\n [attr.id]=\"tableId\"\r\n [attr.data-testid]=\"testId + '-filter-input'\"\r\n [placeholder]=\"placeholder | translate\"\r\n [ngModel]=\"filter\"\r\n (ngModelChange)=\"setFilter($event)\"/>\r\n </div>\r\n }\r\n @if (sortable) {\r\n <dropdown-box componentClass=\"sort-dropdown\" #sortDd>\r\n <ng-container toggle-content\r\n [ngTemplateOutlet]=\"headerTemplate\"\r\n [ngTemplateOutletContext]=\"{column: orderBy, toggle: sortDd}\"></ng-container>\r\n <ul>\r\n <ng-container *ngFor=\"let column of cols\">\r\n <li [ngClass]=\"'sort-column sort-' + column\" *ngIf=\"columnDefs[column].sort\">\r\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"\r\n [ngTemplateOutletContext]=\"{column: column}\"></ng-container>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </dropdown-box>\r\n }\r\n @if (showItems) {\r\n <div class=\"table-input-wrap table-items-count\">\r\n <label>\r\n {{ 'label.items.before' | translate }}\r\n </label>\r\n <dropdown-box>\r\n <ng-container toggle-content>\r\n {{ itemsPerPage }}\r\n </ng-container>\r\n <ul>\r\n <ng-container *ngFor=\"let count of showItems\">\r\n <li [ngClass]=\"'item-count count-' + count\" (click)=\"setItemsPerPage(count)\">\r\n {{ count }}\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </dropdown-box>\r\n <label>\r\n {{ 'label.items.after' | translate }}\r\n </label>\r\n </div>\r\n }\r\n <ng-content select=\"[table-features-after]\"></ng-content>\r\n </div>\r\n <div class=\"table-content-row\"\r\n #pagination=\"pagination\"\r\n [pagination]=\"loadData\"\r\n [page]=\"page\"\r\n [itemsPerPage]=\"itemsPerPage\"\r\n [updateTime]=\"updateTime\">\r\n <pagination-menu [urlParam]=\"urlParam\" [maxSize]=\"maxPages\" [directionLinks]=\"directionLinks\"\r\n [boundaryLinks]=\"boundaryLinks\"></pagination-menu>\r\n <div class=\"table-responsive\">\r\n <ng-template #defaultWrapperTemplate>\r\n <table class=\"table table-striped\">\r\n <thead>\r\n <tr>\r\n <th *ngFor=\"let column of cols\" [ngClass]=\"'header-column column-' + column\">\r\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"\r\n [ngTemplateOutletContext]=\"{column: column}\"></ng-container>\r\n </th>\r\n </tr>\r\n <tr *ngIf=\"hasQuery\">\r\n @for (column of cols; track column) {\r\n @let columnDef = columnDefs[column];\r\n <th [ngClass]=\"['column-' + column, 'filter-column', 'filter-column-' + columnDef.filterType]\">\r\n @if (columnDef.filter) {\r\n @switch (columnDef.filterType) {\r\n @case ('enum') {\r\n @let optionPrefix = columnDefs[column].enumPrefix || column;\r\n <ng-template #optionItem let-option=\"option\">\r\n <span [ngClass]=\"`table-enum enum-${optionPrefix} enum-value-${option}`\">\r\n <span>{{ `${optionPrefix}.${option}` | translate }}</span>\r\n </span>\r\n </ng-template>\r\n <dropdown-box componentClass=\"filter-box\"\r\n [ngClass]=\"'filter-box-' + column\"\r\n [closeInside]=\"false\">\r\n <ng-container toggle-content>\r\n <span class=\"toggle-placeholder\" *ngIf=\"!query[column]\">\r\n {{ columnDefs[column].title | translate }}\r\n </span>\r\n <span [ngClass]=\"['option-' + option, column + '-option-' + option, option]\"\r\n *ngFor=\"let option of query[column] | values; let ix = index\">\r\n <ng-container *ngIf=\"ix > 0\"> | </ng-container>\r\n <ng-container [ngTemplateOutlet]=\"optionItem\"\r\n [ngTemplateOutletContext]=\"{option: option}\"></ng-container>\r\n </span>\r\n </ng-container>\r\n <ul>\r\n @for (option of columnDefs[column].enum; track option) {\r\n <li (click)=\"setQueryValue(column, option)\">\r\n <a class=\"toggle-link\" [ngClass]=\"'toggle-link-' + column\">\r\n <input type=\"checkbox\" [checked]=\"query[column] | includes: option\">\r\n <ng-container [ngTemplateOutlet]=\"optionItem\"\r\n [ngTemplateOutletContext]=\"{option: option}\"></ng-container>\r\n </a>\r\n </li>\r\n }\r\n </ul>\r\n </dropdown-box>\r\n }\r\n @case ('checkbox') {\r\n <input type=\"checkbox\"\r\n class=\"table-checkbox\"\r\n [attr.data-testid]=\"testId + '-filter-' + column\"\r\n [placeholder]=\"columnDefs[column].title | translate\"\r\n [checked]=\"query[column] === true\"\r\n [indeterminate]=\"query[column] === undefined\"\r\n (click)=\"setQueryValue(column)\"/>\r\n }\r\n @default {\r\n <input class=\"search-input\"\r\n type=\"text\"\r\n [attr.data-testid]=\"testId + '-filter-' + column\"\r\n [placeholder]=\"columnDefs[column].title | translate\"\r\n [ngModel]=\"query[column]\"\r\n (ngModelChange)=\"setQueryValue(column, $event)\"/>\r\n }\r\n }\r\n }\r\n </th>\r\n }\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <ng-container *paginationItem=\"let context\"\r\n [ngxTemplateOutlet]=\"rowTemplate\"\r\n [context]=\"context\"\r\n [additionalContext]=\"this\"></ng-container>\r\n <tr>\r\n <!-- Just an anchor/helper row for the loading state -->\r\n <td colspan=\"100%\"></td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </ng-template>\r\n\r\n <div class=\"table-wrapper\">\r\n <ng-content select=\"[table-top]\"></ng-content>\r\n <ng-container [ngxTemplateOutlet]=\"wrapperTemplate || defaultWrapperTemplate\"\r\n [context]=\"this\"></ng-container>\r\n <ng-content select=\"[table-bottom]\"></ng-content>\r\n </div>\r\n </div>\r\n <pagination-menu [urlParam]=\"urlParam\" [maxSize]=\"maxPages\" [directionLinks]=\"directionLinks\"\r\n [boundaryLinks]=\"boundaryLinks\"></pagination-menu>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";@keyframes table-load-spin{to{rotate:360deg}}.dynamic-table{--table-bg: transparent;--table-stripe-bg: rgba(210, 210, 210, .35);--border-size: 1px;--border-color: #ced4da;--bg-color: #ffffff;--text-color: #151515;--highlight-color: var(--primary-color, #888888);--highlight-text-color: #ffffff;--display-toggle: none;--arrow-size: 6px;--arrow-rotation: 90;--arrow-space: calc(var(--arrow-size) * .5 + 1px);--arrow-color: #c6c6c6}.dynamic-table *{box-sizing:border-box}.dynamic-table div.table-enum,.dynamic-table div.table-checkbox{text-align:center}.dynamic-table .search-input{background:var(--bg-color);color:var(--text-color);border:var(--border-size) solid var(--border-color);padding:var(--element-padding, 6px 12px);border-radius:5px;-webkit-user-select:none;user-select:none;font-weight:400;font-size:var(--table-input-font-size, 15px);line-height:var(--table-input-line-height, 18px);outline:none}.dynamic-table .search-input .toggle-placeholder,.dynamic-table .search-input ::placeholder{color:#495057}.dynamic-table .table-responsive{border:1px solid var(--border-color);overflow:hidden;overflow-x:auto;margin-bottom:1rem}.dynamic-table .table-features-row:not(:empty){display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between;margin-bottom:20px}.dynamic-table .table-content-row,.dynamic-table .table-content-row tbody{position:relative}.dynamic-table .table-content-row tbody tr:last-child td:first-child{padding:0;border-bottom-width:0}.dynamic-table .table-content-row.loading tbody{height:50px}.dynamic-table .table-content-row.loading tbody tr:last-child td:first-child:before{content:\"\";display:table-row;position:absolute;inset:1px;background-color:#32323240;z-index:1}.dynamic-table .table-content-row.loading tbody tr:last-child td:first-child:after{content:\"\";display:table-row;position:absolute;width:25px;height:25px;border:3px solid rgba(255,255,255,.75);border-radius:50%;border-left-color:transparent;border-right-color:transparent;animation:table-load-spin 575ms infinite linear;vertical-align:middle;margin-right:5px;top:50%;left:50%;translate:-50% -50%;z-index:2}.dynamic-table .sort-dropdown{display:none}.dynamic-table .table-input-wrap{display:flex;align-items:center;flex:1;gap:5px}.dynamic-table .table-input-wrap>label{margin:0;font-weight:700}.dynamic-table .table-input-wrap>input{width:300px;max-width:90%}.dynamic-table .table-items-count{flex:1}.dynamic-table .table-wrapper{position:relative}.dynamic-table table.table{border-collapse:collapse;margin:0;width:100%;font-family:inherit;font-size:inherit}.dynamic-table table.table th{text-align:left}.dynamic-table table.table th,.dynamic-table table.table td{text-align:left;padding:6px 12px;border:1px solid var(--border-color);vertical-align:middle;white-space:nowrap;width:var(--cell-width, 25%);min-width:fit-content}.dynamic-table table.table-sm th,.dynamic-table table.table-sm td{font-size:var(--font-size-sm);padding:4px 6px}.dynamic-table table.table thead th{font-weight:500}.dynamic-table table.table thead th .dropdown-box{display:block;width:100%;text-align:left}.dynamic-table table.table thead th .search-input{width:100%;padding:7px 12px}.dynamic-table table.table thead th span{display:inline-block;vertical-align:top}.dynamic-table table.table thead th a{cursor:pointer;text-align:left}.dynamic-table table.table thead th.filter-column{text-align:center}.dynamic-table table.table thead tr:first-child th{border-top-width:0}.dynamic-table table.table tbody tr:last-child td{border-top-width:0}.dynamic-table table.table tbody tr:last-child td,.dynamic-table table.table tbody tr:nth-last-child(2) td{border-bottom-width:0}.dynamic-table table.table thead tr th,.dynamic-table table.table tbody tr td{background-color:var(--table-bg)}.dynamic-table table.table thead tr th:first-child,.dynamic-table table.table tbody tr td:first-child{border-left-width:0}.dynamic-table table.table thead tr th:last-child,.dynamic-table table.table tbody tr td:last-child{border-right-width:0}.dynamic-table table.table tbody tr.active td{background-color:var(--highlight-color);color:var(--highlight-text-color)}.dynamic-table .table-striped>tbody>tr:nth-of-type(odd) td{background-color:var(--table-stripe-bg)}.dynamic-table .table-striped>tbody>tr:nth-of-type(odd).active td{background-color:var(--highlight-color);color:var(--highlight-text-color)}.sort-dropdown .dropdown-box-toggle a.dropdown-box-toggle-link{margin-right:0;padding-right:0}.sort-dropdown .dropdown-box-toggle a.dropdown-box-toggle-link:after{display:none}.sort-dropdown-content-wrapper a.sort,.dynamic-table a.sort{position:relative;display:block;margin-right:calc(var(--arrow-size) * 2);-webkit-user-select:none;user-select:none;padding-right:5px}.sort-dropdown-content-wrapper a.sort:before,.sort-dropdown-content-wrapper a.sort:after,.dynamic-table a.sort:before,.dynamic-table a.sort:after{content:\"\";position:absolute;transition:.2s ease;left:calc(100% + var(--arrow-size));top:calc(50% - var(--arrow-size));border-top:var(--arrow-size) solid transparent;border-bottom:var(--arrow-size) solid transparent;border-left:var(--arrow-size) solid var(--arrow-color);transform:rotate(calc(var(--arrow-rotation) * 1deg)) translate(var(--arrow-space))}.sort-dropdown-content-wrapper a.sort:before,.dynamic-table a.sort:before{--arrow-rotation: -90}.sort-dropdown-content-wrapper a.sort.sort-desc:before,.dynamic-table a.sort.sort-desc:before{--arrow-color: black}.sort-dropdown-content-wrapper a.sort.sort-asc:after,.dynamic-table a.sort.sort-asc:after{--arrow-color: black}.table-enum{--enum-color: #c6c6c6;--enum-radius: 5px}.table-enum span{display:inline-block;padding:2px 5px;background:color-mix(in srgb,var(--enum-color),rgba(255,255,255,.4666666667) 50%);color:color-mix(in srgb,var(--enum-color),#000 70%);border:1px solid var(--enum-color);border-radius:var(--enum-radius);-webkit-user-select:none;user-select:none}input.table-checkbox{appearance:none;cursor:pointer;width:16px;height:16px;border:1px solid black;border-radius:3px;background-color:#fff;position:relative;font-size:11px;line-height:11px;vertical-align:middle}input.table-checkbox:focus{outline:none}input.table-checkbox:focus-visible{outline:2px solid #acacac;outline-offset:0}input.table-checkbox:after{position:absolute;content:\"\\2716\\fe0e\";text-align:center;width:100%;height:100%}input.table-checkbox:checked:after{content:\"\\2714\\fe0e\"}input.table-checkbox:indeterminate:after{content:\"\\2501\"}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgxTemplateOutletDirective, selector: "[ngxTemplateOutlet]", inputs: ["context", "additionalContext", "ngxTemplateOutlet"] }, { kind: "directive", type: PaginationDirective, selector: "[pagination]", inputs: ["pagination", "page", "itemsPerPage", "updateTime", "waitFor"], outputs: ["pageChange", "onRefresh"], exportAs: ["pagination"] }, { kind: "directive", type: PaginationItemDirective, selector: "[paginationItem]" }, { kind: "component", type: DropdownBoxComponent, selector: "dropdown-box", inputs: ["closeInside", "attachTo", "placement", "crossAxis", "alignment", "autoAlignment", "allowedPlacements", "componentClass"] }, { kind: "component", type: DynamicTableCellComponent, selector: "dynamic-table-cell", inputs: ["item", "column", "id", "globalTemplatePrefix", "fallbackTemplate"] }, { kind: "component", type: PaginationMenuComponent, selector: "pagination-menu", inputs: ["maxSize", "urlParam", "directionLinks", "boundaryLinks"] }, { kind: "pipe", type: IncludesPipe, name: "includes" }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "pipe", type: ValuesPipe, name: "values" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
9031
8536
|
}
|
|
9032
8537
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: DynamicTableComponent, decorators: [{
|
|
9033
8538
|
type: Component,
|
|
@@ -9101,8 +8606,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
9101
8606
|
}] } });
|
|
9102
8607
|
|
|
9103
8608
|
class FakeModuleComponent {
|
|
9104
|
-
static
|
|
9105
|
-
static
|
|
8609
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: FakeModuleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8610
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.22", type: FakeModuleComponent, isStandalone: false, selector: "fake-module-component", ngImport: i0, template: "", isInline: true, encapsulation: i0.ViewEncapsulation.None }); }
|
|
9106
8611
|
}
|
|
9107
8612
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: FakeModuleComponent, decorators: [{
|
|
9108
8613
|
type: Component,
|
|
@@ -9115,9 +8620,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
9115
8620
|
}] });
|
|
9116
8621
|
|
|
9117
8622
|
class IconDefaultComponent {
|
|
9118
|
-
|
|
9119
|
-
|
|
9120
|
-
|
|
8623
|
+
constructor() {
|
|
8624
|
+
this.name = "trash";
|
|
8625
|
+
}
|
|
8626
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: IconDefaultComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8627
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.22", type: IconDefaultComponent, isStandalone: false, selector: "icon-default", inputs: { name: "name" }, ngImport: i0, template: "<i class=\"fa-solid\" [ngClass]=\"'fa-' + name\"></i>\r\n", styles: [".fa-solid{display:inline-block}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
9121
8628
|
}
|
|
9122
8629
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: IconDefaultComponent, decorators: [{
|
|
9123
8630
|
type: Component,
|
|
@@ -9127,10 +8634,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
9127
8634
|
}] } });
|
|
9128
8635
|
|
|
9129
8636
|
class InteractiveItemComponent {
|
|
9130
|
-
pos;
|
|
9131
|
-
rot;
|
|
9132
|
-
mFrame;
|
|
9133
|
-
mShapes;
|
|
9134
8637
|
get id() {
|
|
9135
8638
|
return null;
|
|
9136
8639
|
}
|
|
@@ -9219,16 +8722,6 @@ class InteractiveItemComponent {
|
|
|
9219
8722
|
}
|
|
9220
8723
|
return "pointer";
|
|
9221
8724
|
}
|
|
9222
|
-
direction;
|
|
9223
|
-
disabled;
|
|
9224
|
-
active;
|
|
9225
|
-
canvas;
|
|
9226
|
-
index;
|
|
9227
|
-
canvasParams;
|
|
9228
|
-
otherItems;
|
|
9229
|
-
hitShapes;
|
|
9230
|
-
validPos;
|
|
9231
|
-
validRot;
|
|
9232
8725
|
constructor() {
|
|
9233
8726
|
this.active = false;
|
|
9234
8727
|
this.index = -1;
|
|
@@ -9350,8 +8843,8 @@ class InteractiveItemComponent {
|
|
|
9350
8843
|
calcShape(x, y) {
|
|
9351
8844
|
return new Point(x, y);
|
|
9352
8845
|
}
|
|
9353
|
-
static
|
|
9354
|
-
static
|
|
8846
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: InteractiveItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8847
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.22", type: InteractiveItemComponent, isStandalone: false, selector: "__interactive-item__", inputs: { x: "x", y: "y", position: "position", rotation: "rotation", direction: "direction", disabled: "disabled" }, usesOnChanges: true, ngImport: i0, template: "", isInline: true }); }
|
|
9355
8848
|
}
|
|
9356
8849
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: InteractiveItemComponent, decorators: [{
|
|
9357
8850
|
type: Component,
|
|
@@ -9376,52 +8869,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
9376
8869
|
|
|
9377
8870
|
const emptyDash = [];
|
|
9378
8871
|
class InteractiveCanvasComponent {
|
|
9379
|
-
/**
|
|
9380
|
-
* Injectable options
|
|
9381
|
-
* @private
|
|
9382
|
-
*/
|
|
9383
|
-
options = injectOptions({
|
|
9384
|
-
infinite: false,
|
|
9385
|
-
resizeMode: "fit",
|
|
9386
|
-
panOffset: 0
|
|
9387
|
-
});
|
|
9388
|
-
renderer = inject(Renderer2);
|
|
9389
|
-
universal = inject(UniversalService);
|
|
9390
|
-
/**
|
|
9391
|
-
* Is the canvas infinitely scrollable?
|
|
9392
|
-
*/
|
|
9393
|
-
infinite = input(this.options.infinite);
|
|
9394
|
-
resizeMode = input(this.options.resizeMode);
|
|
9395
|
-
horizontal = input(false);
|
|
9396
|
-
/**
|
|
9397
|
-
* Real life-size width of the canvas
|
|
9398
|
-
*/
|
|
9399
|
-
width = input(100);
|
|
9400
|
-
/**
|
|
9401
|
-
* Real life-size height of the canvas
|
|
9402
|
-
*/
|
|
9403
|
-
height = input(100);
|
|
9404
|
-
/**
|
|
9405
|
-
* Canvas params
|
|
9406
|
-
*/
|
|
9407
|
-
params = input({});
|
|
9408
|
-
/**
|
|
9409
|
-
* Model signal for selected index
|
|
9410
|
-
*/
|
|
9411
|
-
selectedIndex = model(0);
|
|
9412
|
-
/**
|
|
9413
|
-
* Relative offset of the panning. It is based on the rendered canvas height
|
|
9414
|
-
*/
|
|
9415
|
-
panOffset = input(this.options.panOffset);
|
|
9416
|
-
renderCtx = input({});
|
|
9417
|
-
beforeItems = input([]);
|
|
9418
|
-
afterItems = input([]);
|
|
9419
|
-
onRotate = output();
|
|
9420
|
-
onItemPan = output();
|
|
9421
|
-
onItemPanned = output();
|
|
9422
|
-
onPan = output();
|
|
9423
|
-
onPanned = output();
|
|
9424
|
-
itemList = contentChildren(InteractiveItemComponent);
|
|
9425
8872
|
get isInfinite() {
|
|
9426
8873
|
return this.infinite();
|
|
9427
8874
|
}
|
|
@@ -9456,30 +8903,53 @@ class InteractiveCanvasComponent {
|
|
|
9456
8903
|
set hoveredItem(item) {
|
|
9457
8904
|
this.hoveredIndex = !item ? -1 : this.items.indexOf(item);
|
|
9458
8905
|
}
|
|
9459
|
-
xRange;
|
|
9460
|
-
yRange;
|
|
9461
|
-
ratio;
|
|
9462
|
-
styles;
|
|
9463
|
-
ctx;
|
|
9464
|
-
canvasWidth;
|
|
9465
|
-
canvasHeight;
|
|
9466
|
-
fullHeight;
|
|
9467
|
-
viewRatio;
|
|
9468
|
-
rotation;
|
|
9469
|
-
basePan;
|
|
9470
|
-
cycles;
|
|
9471
|
-
excludedAreas;
|
|
9472
|
-
tempCanvas;
|
|
9473
|
-
shouldDraw;
|
|
9474
|
-
hoveredIndex;
|
|
9475
|
-
containerElem;
|
|
9476
|
-
canvasElem;
|
|
9477
|
-
touched;
|
|
9478
|
-
panStartRotation;
|
|
9479
|
-
panStartPos;
|
|
9480
|
-
lockedIndex;
|
|
9481
|
-
oldLength;
|
|
9482
8906
|
constructor() {
|
|
8907
|
+
/**
|
|
8908
|
+
* Injectable options
|
|
8909
|
+
* @private
|
|
8910
|
+
*/
|
|
8911
|
+
this.options = injectOptions({
|
|
8912
|
+
infinite: false,
|
|
8913
|
+
resizeMode: "fit",
|
|
8914
|
+
panOffset: 0
|
|
8915
|
+
});
|
|
8916
|
+
this.renderer = inject(Renderer2);
|
|
8917
|
+
this.universal = inject(UniversalService);
|
|
8918
|
+
/**
|
|
8919
|
+
* Is the canvas infinitely scrollable?
|
|
8920
|
+
*/
|
|
8921
|
+
this.infinite = input(this.options.infinite);
|
|
8922
|
+
this.resizeMode = input(this.options.resizeMode);
|
|
8923
|
+
this.horizontal = input(false);
|
|
8924
|
+
/**
|
|
8925
|
+
* Real life-size width of the canvas
|
|
8926
|
+
*/
|
|
8927
|
+
this.width = input(100);
|
|
8928
|
+
/**
|
|
8929
|
+
* Real life-size height of the canvas
|
|
8930
|
+
*/
|
|
8931
|
+
this.height = input(100);
|
|
8932
|
+
/**
|
|
8933
|
+
* Canvas params
|
|
8934
|
+
*/
|
|
8935
|
+
this.params = input({});
|
|
8936
|
+
/**
|
|
8937
|
+
* Model signal for selected index
|
|
8938
|
+
*/
|
|
8939
|
+
this.selectedIndex = model(0);
|
|
8940
|
+
/**
|
|
8941
|
+
* Relative offset of the panning. It is based on the rendered canvas height
|
|
8942
|
+
*/
|
|
8943
|
+
this.panOffset = input(this.options.panOffset);
|
|
8944
|
+
this.renderCtx = input({});
|
|
8945
|
+
this.beforeItems = input([]);
|
|
8946
|
+
this.afterItems = input([]);
|
|
8947
|
+
this.onRotate = output();
|
|
8948
|
+
this.onItemPan = output();
|
|
8949
|
+
this.onItemPanned = output();
|
|
8950
|
+
this.onPan = output();
|
|
8951
|
+
this.onPanned = output();
|
|
8952
|
+
this.itemList = contentChildren(InteractiveItemComponent);
|
|
9483
8953
|
this.tempCanvas = this.universal.isServer ? null : document.createElement("canvas");
|
|
9484
8954
|
this.shouldDraw = !this.universal.isServer;
|
|
9485
8955
|
this.hoveredIndex = null;
|
|
@@ -9779,8 +9249,8 @@ class InteractiveCanvasComponent {
|
|
|
9779
9249
|
}
|
|
9780
9250
|
ctx.restore();
|
|
9781
9251
|
}
|
|
9782
|
-
static
|
|
9783
|
-
static
|
|
9252
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: InteractiveCanvasComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9253
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.22", type: InteractiveCanvasComponent, isStandalone: false, selector: "interactive-canvas", inputs: { infinite: { classPropertyName: "infinite", publicName: "infinite", isSignal: true, isRequired: false, transformFunction: null }, resizeMode: { classPropertyName: "resizeMode", publicName: "resizeMode", isSignal: true, isRequired: false, transformFunction: null }, horizontal: { classPropertyName: "horizontal", publicName: "horizontal", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, params: { classPropertyName: "params", publicName: "params", isSignal: true, isRequired: false, transformFunction: null }, selectedIndex: { classPropertyName: "selectedIndex", publicName: "selectedIndex", isSignal: true, isRequired: false, transformFunction: null }, panOffset: { classPropertyName: "panOffset", publicName: "panOffset", isSignal: true, isRequired: false, transformFunction: null }, renderCtx: { classPropertyName: "renderCtx", publicName: "renderCtx", isSignal: true, isRequired: false, transformFunction: null }, beforeItems: { classPropertyName: "beforeItems", publicName: "beforeItems", isSignal: true, isRequired: false, transformFunction: null }, afterItems: { classPropertyName: "afterItems", publicName: "afterItems", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selectedIndex: "selectedIndexChange", onRotate: "onRotate", onItemPan: "onItemPan", onItemPanned: "onItemPanned", onPan: "onPan", onPanned: "onPanned" }, host: { listeners: { "window:touchend": "onTouchEnd()", "window:mouseup": "onMouseUp()" } }, queries: [{ propertyName: "itemList", predicate: InteractiveItemComponent, isSignal: true }], viewQueries: [{ propertyName: "containerElem", first: true, predicate: ["containerElem"], descendants: true }, { propertyName: "canvasElem", first: true, predicate: ["canvasElem"], descendants: true }], ngImport: i0, template: "<div #containerElem\r\n [ngClass]=\"['interactive-canvas-container', horizontal() ? 'horizontal' : 'vertical']\"\r\n (resize)=\"resize()\"\r\n (touchstart)=\"onTouchStart($event)\"\r\n (mousedown)=\"onMouseDown($event)\"\r\n (mousemove)=\"onMouseMove($event)\"\r\n (mouseleave)=\"onMouseLeave()\"\r\n (panend)=\"onPanEnd()\"\r\n (panmove)=\"onPanMove($event)\"\r\n (panstart)=\"onPanStart()\">\r\n <canvas #canvasElem class=\"interactive-canvas-element\"></canvas>\r\n</div>\r\n", styles: [".interactive-canvas-container{width:100%;height:100%;position:relative;display:flex;align-items:center;justify-content:center}.interactive-canvas-container .interactive-canvas-element{position:absolute;pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
9784
9254
|
}
|
|
9785
9255
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: InteractiveCanvasComponent, decorators: [{
|
|
9786
9256
|
type: Component,
|
|
@@ -9800,9 +9270,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
9800
9270
|
}] } });
|
|
9801
9271
|
|
|
9802
9272
|
class InteractiveCircleComponent extends InteractiveItemComponent {
|
|
9803
|
-
radius = input(10);
|
|
9804
9273
|
constructor() {
|
|
9805
9274
|
super();
|
|
9275
|
+
this.radius = input(10);
|
|
9806
9276
|
effect(() => {
|
|
9807
9277
|
const radius = this.radius();
|
|
9808
9278
|
this.mFrame = new Rect(0, 0, radius * 2, radius * 2);
|
|
@@ -9812,10 +9282,10 @@ class InteractiveCircleComponent extends InteractiveItemComponent {
|
|
|
9812
9282
|
const radius = untracked(() => this.radius());
|
|
9813
9283
|
return new Circle(x, y, radius * this.canvas.ratio);
|
|
9814
9284
|
}
|
|
9815
|
-
static
|
|
9816
|
-
static
|
|
9285
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: InteractiveCircleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9286
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.22", type: InteractiveCircleComponent, isStandalone: false, selector: "interactive-circle", inputs: { radius: { classPropertyName: "radius", publicName: "radius", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
9817
9287
|
{ provide: InteractiveItemComponent, useExisting: InteractiveCircleComponent },
|
|
9818
|
-
], usesInheritance: true, ngImport: i0, template: "", isInline: true });
|
|
9288
|
+
], usesInheritance: true, ngImport: i0, template: "", isInline: true }); }
|
|
9819
9289
|
}
|
|
9820
9290
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: InteractiveCircleComponent, decorators: [{
|
|
9821
9291
|
type: Component,
|
|
@@ -9830,10 +9300,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
9830
9300
|
}], ctorParameters: () => [] });
|
|
9831
9301
|
|
|
9832
9302
|
class InteractiveRectComponent extends InteractiveItemComponent {
|
|
9833
|
-
width = input(10);
|
|
9834
|
-
height = input(10);
|
|
9835
9303
|
constructor() {
|
|
9836
9304
|
super();
|
|
9305
|
+
this.width = input(10);
|
|
9306
|
+
this.height = input(10);
|
|
9837
9307
|
effect(() => {
|
|
9838
9308
|
this.mFrame = new Rect(0, 0, this.width(), this.height());
|
|
9839
9309
|
});
|
|
@@ -9844,10 +9314,10 @@ class InteractiveRectComponent extends InteractiveItemComponent {
|
|
|
9844
9314
|
const height = untracked(() => this.height());
|
|
9845
9315
|
return new Rect(x, y, width * ratio, height * ratio, this.rotation);
|
|
9846
9316
|
}
|
|
9847
|
-
static
|
|
9848
|
-
static
|
|
9317
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: InteractiveRectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9318
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.22", type: InteractiveRectComponent, isStandalone: false, selector: "interactive-rect", inputs: { width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
9849
9319
|
{ provide: InteractiveItemComponent, useExisting: InteractiveRectComponent },
|
|
9850
|
-
], usesInheritance: true, ngImport: i0, template: "", isInline: true });
|
|
9320
|
+
], usesInheritance: true, ngImport: i0, template: "", isInline: true }); }
|
|
9851
9321
|
}
|
|
9852
9322
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: InteractiveRectComponent, decorators: [{
|
|
9853
9323
|
type: Component,
|
|
@@ -9862,58 +9332,58 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
9862
9332
|
}], ctorParameters: () => [] });
|
|
9863
9333
|
|
|
9864
9334
|
class TabsComponent {
|
|
9865
|
-
|
|
9866
|
-
|
|
9867
|
-
|
|
9868
|
-
|
|
9869
|
-
|
|
9870
|
-
|
|
9871
|
-
|
|
9872
|
-
|
|
9873
|
-
|
|
9874
|
-
|
|
9875
|
-
|
|
9876
|
-
|
|
9877
|
-
|
|
9878
|
-
|
|
9879
|
-
|
|
9880
|
-
|
|
9881
|
-
|
|
9882
|
-
|
|
9883
|
-
|
|
9884
|
-
|
|
9885
|
-
|
|
9886
|
-
|
|
9887
|
-
|
|
9888
|
-
|
|
9889
|
-
|
|
9890
|
-
|
|
9891
|
-
|
|
9892
|
-
|
|
9893
|
-
|
|
9894
|
-
|
|
9895
|
-
|
|
9335
|
+
constructor() {
|
|
9336
|
+
this.router = inject(Router);
|
|
9337
|
+
this.value = model();
|
|
9338
|
+
this.options = input([]);
|
|
9339
|
+
this.type = input("primary");
|
|
9340
|
+
this.size = input("normal");
|
|
9341
|
+
this.testId = input("tabs");
|
|
9342
|
+
this.tabsClass = input("basic-tabs");
|
|
9343
|
+
this.tabItems = contentChildren(TabsItemDirective);
|
|
9344
|
+
this.selectedChange = output();
|
|
9345
|
+
this.template = signal(null);
|
|
9346
|
+
this.tabs = computed(() => {
|
|
9347
|
+
const options = (this.options() || [])
|
|
9348
|
+
.filter(option => ObjectUtils.isStringWithValue(option?.label));
|
|
9349
|
+
const current = this.value();
|
|
9350
|
+
this.tabItems().forEach(item => {
|
|
9351
|
+
const value = item.value();
|
|
9352
|
+
switchClass(item.element?.nativeElement, "hidden-tab", current !== value);
|
|
9353
|
+
if (options.some(o => o.value === value))
|
|
9354
|
+
return;
|
|
9355
|
+
const label = item.label();
|
|
9356
|
+
if (!label)
|
|
9357
|
+
return;
|
|
9358
|
+
options.push({
|
|
9359
|
+
value,
|
|
9360
|
+
label,
|
|
9361
|
+
classes: item.classes(),
|
|
9362
|
+
tooltip: item.tooltip(),
|
|
9363
|
+
icon: item.icon(),
|
|
9364
|
+
disabled: item.disabled(),
|
|
9365
|
+
path: item.path(),
|
|
9366
|
+
template: item.template
|
|
9367
|
+
});
|
|
9896
9368
|
});
|
|
9369
|
+
options.forEach(o => {
|
|
9370
|
+
const active = current === o.value;
|
|
9371
|
+
const classes = (Array.isArray(o.classes) ? o.classes : [o.classes || ""]).filter(c => !!c);
|
|
9372
|
+
classes.push(active ? "active" : "inactive");
|
|
9373
|
+
o.active = active;
|
|
9374
|
+
o.className = classes.join(" ");
|
|
9375
|
+
});
|
|
9376
|
+
return options;
|
|
9897
9377
|
});
|
|
9898
|
-
|
|
9899
|
-
|
|
9900
|
-
|
|
9901
|
-
|
|
9902
|
-
|
|
9903
|
-
|
|
9904
|
-
|
|
9905
|
-
return options;
|
|
9906
|
-
});
|
|
9907
|
-
select = async (option) => {
|
|
9908
|
-
if (option.path) {
|
|
9909
|
-
await this.router.navigateByUrl(option.path);
|
|
9378
|
+
this.select = async (option) => {
|
|
9379
|
+
if (option.path) {
|
|
9380
|
+
await this.router.navigateByUrl(option.path);
|
|
9381
|
+
return null;
|
|
9382
|
+
}
|
|
9383
|
+
this.value.set(option.value);
|
|
9384
|
+
this.selectedChange.emit(option);
|
|
9910
9385
|
return null;
|
|
9911
|
-
}
|
|
9912
|
-
this.value.set(option.value);
|
|
9913
|
-
this.selectedChange.emit(option);
|
|
9914
|
-
return null;
|
|
9915
|
-
};
|
|
9916
|
-
constructor() {
|
|
9386
|
+
};
|
|
9917
9387
|
effect(() => {
|
|
9918
9388
|
const tabOptions = this.tabs();
|
|
9919
9389
|
const selectedOption = tabOptions.find(o => o.active);
|
|
@@ -9926,8 +9396,8 @@ class TabsComponent {
|
|
|
9926
9396
|
}
|
|
9927
9397
|
});
|
|
9928
9398
|
}
|
|
9929
|
-
static
|
|
9930
|
-
static
|
|
9399
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: TabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9400
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.22", type: TabsComponent, isStandalone: false, selector: "tabs", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, testId: { classPropertyName: "testId", publicName: "testId", isSignal: true, isRequired: false, transformFunction: null }, tabsClass: { classPropertyName: "tabsClass", publicName: "tabsClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", selectedChange: "selectedChange" }, queries: [{ propertyName: "tabItems", predicate: TabsItemDirective, isSignal: true }], ngImport: i0, template: "@let tabList = tabs();\r\n@let tabType = type();\r\n@let tabSize = size();\r\n@let tabTemplate = template();\r\n@let testIdPrefix = testId() || \"tabs\";\r\n@if (tabList.length) {\r\n <ul class=\"ui-tabs\" [ngClass]=\"[tabsClass(), 'type-' + tabType]\" [attr.data-testid]=\"testIdPrefix\">\r\n @for (option of tabList; track option.value) {\r\n <li [ngClass]=\"option.className\" [attr.data-testid]=\"testIdPrefix + '-' + option.value\">\r\n <btn [label]=\"option.label\"\r\n [tooltip]=\"option.tooltip\"\r\n [icon]=\"option.icon\"\r\n [disabled]=\"option.disabled\"\r\n [path]=\"option.path\"\r\n [type]=\"option.active ? tabType : 'transparent'\"\r\n [size]=\"tabSize\"\r\n [async-method]=\"select\"\r\n [context]=\"option\"></btn>\r\n </li>\r\n }\r\n </ul>\r\n}\r\n@if (tabTemplate) {\r\n <div class=\"ui-tab\">\r\n <ng-container [ngTemplateOutlet]=\"tabTemplate\"></ng-container>\r\n </div>\r\n}\r\n<ng-content></ng-content>\r\n", styles: [".ui-tabs{--tabs-color: var(--primary-color, var(--bs-primary, var(--mat-sys-primary, #666666)));--tabs-border-radius: var(--element-radius, var(--mat-sys-corner-full, 5px));--tabs-bg: var(--tabs-color);--tabs-margin: 5px;--tabs-padding: 5px;display:flex;gap:5px;margin:0 0 var(--tabs-margin) 0;padding:var(--tabs-padding);position:relative;list-style-type:none}.ui-tabs:before{content:\"\";position:absolute;inset:0;background:var(--tabs-bg);border-radius:var(--tabs-border-radius);opacity:.25;z-index:0}.ui-tabs li{position:relative;z-index:1}.ui-tabs *{box-sizing:border-box}.ui-tabs.type-secondary{--tabs-color: var(--secondary-color, var(--bs-secondary, var(--mat-sys-secondary, #666666)))}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: AsyncMethodDirective, selector: "[async-method]", inputs: ["async-method"], exportAs: ["async-method"] }, { kind: "component", type: BtnComponent, selector: "btn", inputs: ["label", "tooltip", "icon", "disabled", "path", "type", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
9931
9401
|
}
|
|
9932
9402
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: TabsComponent, decorators: [{
|
|
9933
9403
|
type: Component,
|
|
@@ -9935,20 +9405,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
9935
9405
|
}], ctorParameters: () => [] });
|
|
9936
9406
|
|
|
9937
9407
|
class UnorderedListComponent {
|
|
9938
|
-
cdr;
|
|
9939
|
-
data;
|
|
9940
|
-
keyPrefix;
|
|
9941
|
-
listStyle;
|
|
9942
|
-
path;
|
|
9943
|
-
level;
|
|
9944
|
-
templates;
|
|
9945
|
-
isArray;
|
|
9946
|
-
isObject;
|
|
9947
|
-
defaultTemplates;
|
|
9948
|
-
templateDirectives;
|
|
9949
|
-
defaultKeyTemplate;
|
|
9950
|
-
defaultValueTemplate;
|
|
9951
|
-
defaultItemTemplate;
|
|
9952
9408
|
constructor(cdr) {
|
|
9953
9409
|
this.cdr = cdr;
|
|
9954
9410
|
this.keyPrefix = "";
|
|
@@ -9973,8 +9429,8 @@ class UnorderedListComponent {
|
|
|
9973
9429
|
};
|
|
9974
9430
|
this.cdr.detectChanges();
|
|
9975
9431
|
}
|
|
9976
|
-
static
|
|
9977
|
-
static
|
|
9432
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: UnorderedListComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9433
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.22", type: UnorderedListComponent, isStandalone: false, selector: "unordered-list", inputs: { data: "data", keyPrefix: "keyPrefix", listStyle: "listStyle", path: "path", level: "level", templates: "templates" }, queries: [{ propertyName: "templateDirectives", predicate: UnorderedListTemplateDirective }], viewQueries: [{ propertyName: "defaultKeyTemplate", first: true, predicate: ["defaultKeyTemplate"], descendants: true }, { propertyName: "defaultValueTemplate", first: true, predicate: ["defaultValueTemplate"], descendants: true }, { propertyName: "defaultItemTemplate", first: true, predicate: ["defaultItemTemplate"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<ng-template let-keyPrefix=\"keyPrefix\" let-key=\"item.key\" #defaultKeyTemplate>\r\n {{ (keyPrefix ? keyPrefix + key : key) | translate }}:\r\n</ng-template>\r\n<ng-template let-keyPrefix=\"keyPrefix\" let-listStyle=\"listStyle\" let-key=\"item.key\" let-value=\"item.value\" let-path=\"path\"\r\n let-templates=\"templates\" let-type=\"valueType\" #defaultValueTemplate>\r\n @if (type === 'enum') {\r\n <span [ngClass]=\"`list-enum enum-${key} enum-value-${value}`\">\r\n <span>{{ `${key}.${value}` | translate }}</span>\r\n </span>\r\n }\r\n @else if (type === 'object' || type === 'array') {\r\n <unordered-list [data]=\"value\"\r\n [keyPrefix]=\"keyPrefix\"\r\n [listStyle]=\"listStyle\"\r\n [path]=\"path\"\r\n [level]=\"level + 1\"\r\n [templates]=\"templates\"></unordered-list>\r\n } @else {\r\n <span [innerHTML]=\"value\"></span>\r\n }\r\n</ng-template>\r\n<ng-template let-item=\"item\" let-data=\"data\" let-keyPrefix=\"keyPrefix\" let-listStyle=\"listStyle\" let-path=\"path\" let-level=\"level\" let-templates=\"templates\" #defaultItemTemplate>\r\n <ng-template #itemKey>\r\n <ng-container [unorderedListItem]=\"item\"\r\n type=\"key\"\r\n [data]=\"data\"\r\n [keyPrefix]=\"keyPrefix\"\r\n [listStyle]=\"listStyle\"\r\n [path]=\"path\"\r\n [level]=\"level\"\r\n [templates]=\"templates\"\r\n [defaultTemplates]=\"defaultTemplates\"></ng-container>\r\n </ng-template>\r\n <ng-template #itemValue>\r\n <ng-container [unorderedListItem]=\"item\"\r\n type=\"value\"\r\n [data]=\"data\"\r\n [keyPrefix]=\"keyPrefix\"\r\n [listStyle]=\"listStyle\"\r\n [path]=\"path\"\r\n [level]=\"level\"\r\n [templates]=\"templates\"\r\n [defaultTemplates]=\"defaultTemplates\"></ng-container>\r\n </ng-template>\r\n <ng-container *ngIf=\"!isArray\">\r\n <th *ngIf=\"listStyle == 'table'; else itemKey\">\r\n <ng-container [ngTemplateOutlet]=\"itemKey\"></ng-container>\r\n </th>\r\n </ng-container>\r\n <td *ngIf=\"listStyle == 'table'; else itemValue\">\r\n <ng-container [ngTemplateOutlet]=\"itemValue\"></ng-container>\r\n </td>\r\n</ng-template>\r\n<ng-template #value>\r\n <span [innerHTML]=\"data\"></span>\r\n</ng-template>\r\n<ng-container *ngIf=\"(isObject || isArray); else value\" [ngSwitch]=\"listStyle\">\r\n <ul [ngClass]=\"'level-' + level\" *ngSwitchCase=\"'list'\">\r\n <li *ngFor=\"let item of data | entries\" [ngClass]=\"item.classList\">\r\n <ng-container type=\"item\"\r\n [unorderedListItem]=\"item\"\r\n [data]=\"data\"\r\n [keyPrefix]=\"keyPrefix\"\r\n [listStyle]=\"listStyle\"\r\n [path]=\"path ? path + '.' + item.key : item.key\"\r\n [level]=\"level\"\r\n [templates]=\"templates\"\r\n [defaultTemplates]=\"defaultTemplates\"></ng-container>\r\n </li>\r\n </ul>\r\n <table [ngClass]=\"'level-' + level\" *ngSwitchDefault>\r\n <tr *ngFor=\"let item of data | entries\" [ngClass]=\"item.classList\">\r\n <ng-container type=\"item\"\r\n [unorderedListItem]=\"item\"\r\n [data]=\"data\"\r\n [keyPrefix]=\"keyPrefix\"\r\n [listStyle]=\"listStyle\"\r\n [path]=\"path ? path + '.' + item.key : item.key\"\r\n [level]=\"level\"\r\n [templates]=\"templates\"\r\n [defaultTemplates]=\"defaultTemplates\"></ng-container>\r\n </tr>\r\n </table>\r\n</ng-container>\r\n", styles: [".unordered-list *{box-sizing:border-box}.list-enum{--enum-color: #c6c6c6;--enum-radius: 5px}.list-enum span{display:inline-block;padding:2px 5px;background:color-mix(in srgb,var(--enum-color),rgba(255,255,255,.4666666667) 50%);color:color-mix(in srgb,var(--enum-color),#000 70%);border:1px solid var(--enum-color);border-radius:var(--enum-radius);-webkit-user-select:none;user-select:none}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$3.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: UnorderedListItemDirective, selector: "[unorderedListItem]", inputs: ["unorderedListItem", "type", "data", "keyPrefix", "listStyle", "path", "level", "templates", "defaultTemplates"] }, { kind: "component", type: UnorderedListComponent, selector: "unordered-list", inputs: ["data", "keyPrefix", "listStyle", "path", "level", "templates"] }, { kind: "pipe", type: EntriesPipe, name: "entries" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
9978
9434
|
}
|
|
9979
9435
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: UnorderedListComponent, decorators: [{
|
|
9980
9436
|
type: Component,
|
|
@@ -10006,32 +9462,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
10006
9462
|
}] } });
|
|
10007
9463
|
|
|
10008
9464
|
class UploadComponent {
|
|
10009
|
-
cdr;
|
|
10010
|
-
element;
|
|
10011
|
-
api;
|
|
10012
|
-
toaster;
|
|
10013
|
-
value;
|
|
10014
|
-
disabled;
|
|
10015
|
-
inline;
|
|
10016
|
-
accept;
|
|
10017
|
-
baseUrl;
|
|
10018
|
-
message;
|
|
10019
|
-
multiple;
|
|
10020
|
-
buttonText;
|
|
10021
|
-
makeUpload;
|
|
10022
|
-
preProcess;
|
|
10023
|
-
onUploaded;
|
|
10024
|
-
onRemove;
|
|
10025
|
-
uploadBtn;
|
|
10026
|
-
acceptAttr;
|
|
10027
|
-
isImage;
|
|
10028
|
-
dropAllowed;
|
|
10029
|
-
processing;
|
|
10030
|
-
onChange;
|
|
10031
|
-
onTouched;
|
|
10032
|
-
rootElem;
|
|
10033
|
-
fileImageCache;
|
|
10034
|
-
acceptTypes;
|
|
10035
9465
|
get http() {
|
|
10036
9466
|
return this.api.client;
|
|
10037
9467
|
}
|
|
@@ -10241,10 +9671,10 @@ class UploadComponent {
|
|
|
10241
9671
|
type = type.split("/").pop().replace(/\./g, "");
|
|
10242
9672
|
return this.acceptTypes.includes(type);
|
|
10243
9673
|
}
|
|
10244
|
-
static
|
|
10245
|
-
static
|
|
9674
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: UploadComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: API_SERVICE }, { token: TOASTER_SERVICE }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9675
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.22", type: UploadComponent, isStandalone: false, selector: "upload", inputs: { value: "value", disabled: "disabled", inline: "inline", accept: "accept", baseUrl: "baseUrl", message: "message", multiple: "multiple", buttonText: "buttonText", makeUpload: "makeUpload", preProcess: "preProcess" }, outputs: { onUploaded: "onUploaded", onRemove: "onRemove" }, providers: [
|
|
10246
9676
|
{ provide: NG_VALUE_ACCESSOR, useExisting: UploadComponent, multi: true }
|
|
10247
|
-
], viewQueries: [{ propertyName: "uploadBtn", first: true, predicate: ["uploadBtn"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<ng-template #itemBgTemplate let-bg=\"bg\">\r\n @if (bg) {\r\n <div class=\"upload-item-bg\" [ngStyle]=\"{backgroundImage: `url('${bg}')`}\">\r\n <div>\r\n <img alt=\"item image\" [src]=\"bg | safe: 'url'\" />\r\n </div>\r\n </div>\r\n }\r\n</ng-template>\r\n<ng-template #itemTemplate let-item=\"item\" let-index=\"index\">\r\n <div class=\"upload-item\">\r\n <ng-container [ngTemplateOutlet]=\"itemBgTemplate\"\r\n [ngTemplateOutletContext]=\"{bg: isImage || (item | isType: 'file') ? getUrl(item) : null}\">\r\n </ng-container>\r\n @if (!disabled) {\r\n <close-btn class=\"remove-item-btn\" (click)=\"removeItem(index)\"></close-btn>\r\n }\r\n<!-- <btn size=\"small\" class=\"download-item-btn\" icon=\"download\"></btn>-->\r\n </div>\r\n</ng-template>\r\n\r\n<div class=\"file-upload\" [ngClass]=\"{disabled: disabled}\">\r\n <div class=\"upload-input\" [ngClass]=\"{'drop-allowed': dropAllowed}\">\r\n <input type=\"file\"\r\n #input\r\n [disabled]=\"disabled\"\r\n [multiple]=\"multiple\"\r\n [accept]=\"acceptAttr\"\r\n (dragenter)=\"onDragEnter($event)\"\r\n (dragleave)=\"onDrop()\"\r\n (drop)=\"onDrop()\"\r\n (click)=\"onInputClick($event)\"\r\n (blur)=\"onTouched($event)\"\r\n (change)=\"onInputChange($event)\"/>\r\n @if (message) {\r\n <div class=\"upload-message\"\r\n [ngClass]=\"{'has-value': $any(value)?.length}\"\r\n [innerHTML]=\"message | translate | safe:'html'\">\r\n </div>\r\n }\r\n <div class=\"upload-container\">\r\n\r\n <ng-container [ngTemplateOutlet]=\"itemTemplate\"\r\n [ngTemplateOutletContext]=\"{item: value, index: 0}\"\r\n *ngIf=\"!multiple && value\">\r\n </ng-container>\r\n <ng-container *ngIf=\"multiple\">\r\n <ng-container [ngTemplateOutlet]=\"itemTemplate\"\r\n [ngTemplateOutletContext]=\"{item: item, index: ix}\"\r\n *ngFor=\"let item of $any(value); let ix = index\">\r\n </ng-container>\r\n </ng-container>\r\n\r\n <div class=\"upload-item\" *ngFor=\"let proc of processing\">\r\n <ng-container [ngTemplateOutlet]=\"itemBgTemplate\"\r\n [ngTemplateOutletContext]=\"{bg: proc.preview}\">\r\n </ng-container>\r\n <div class=\"upload-progress\">\r\n <div class=\"upload-progress-num\">{{ proc.progress }}%</div>\r\n <div class=\"upload-progress-bar\" [ngStyle]=\"{width: proc.progress + '%'}\">\r\n\r\n </div>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n @if (!disabled) {\r\n <btn class=\"upload-btn\" #uploadBtn [label]=\"buttonText\" (click)=\"input.click()\"></btn>\r\n }\r\n </div>\r\n</div>\r\n", styles: [".file-upload{--upload-bg-lightness: 85%;--upload-bg-opacity: 1;--upload-padding: 5px;--upload-border-width: 2px;--upload-border-color: rgba(0, 0, 0, .25);--upload-progress-bg: var(--primary-color, var(--mat-sys-primary, black));--upload-progress-text: var(--text-color, var(--mat-sys-on-primary, white));--upload-item-size: 120px;--upload-item-radius: 5px;--message-size: 20px;--message-color: #7e7e7e;--message-drop-color: #474747;--btn-distance: 3px;--btn-top-distance: var(--btn-distance);--btn-left-distance: var(--btn-distance);--btn-right-distance: var(--btn-distance);margin:5px 0}.file-upload *{box-sizing:border-box}.file-upload.disabled{--upload-bg-lightness: 75%}.file-upload input[type=file]{display:block;position:absolute;inset:0;opacity:0}.file-upload input[type=file]::file-selector-button{width:100%;height:100%}.file-upload .upload-input{width:100%;border:var(--upload-border-width) var(--upload-border-color) dashed;border-radius:var(--upload-item-radius);background-color:hsl(0,0%,var(--upload-bg-lightness),var(--upload-bg-opacity));transition:.2s;flex-wrap:wrap;position:relative;padding:var(--upload-padding)}.file-upload .upload-input .upload-message{position:absolute;display:flex;align-items:center;justify-content:center;width:100%;height:100%;top:0;left:0;pointer-events:none;font-size:var(--message-size);color:var(--message-color);transition:.2s}.file-upload .upload-input .upload-message.has-value{display:none}.file-upload .upload-input .upload-container{position:relative;pointer-events:none;min-height:var(--upload-item-size);display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}.file-upload .upload-input .upload-item{position:relative;pointer-events:auto;width:var(--upload-item-size);height:var(--upload-item-size);border-radius:var(--upload-item-radius);border:2px solid white;overflow:hidden;display:flex;align-items:center;justify-content:center}.file-upload .upload-input .upload-item-bg{background:#fff center center no-repeat;background-size:cover;position:absolute;inset:0}.file-upload .upload-input .upload-item-bg div{width:100%;height:100%;display:flex;justify-content:center;align-items:center;backdrop-filter:blur(15px)}.file-upload .upload-input .upload-item-bg img{max-width:100%;max-height:100%;object-fit:contain;background:#ffffffbf}.file-upload .upload-input .upload-progress{position:relative;width:90%;height:15px;border:1px solid darkgrey;background:#ffffff80}.file-upload .upload-input .upload-progress-bar{position:absolute;height:15px;background:var(--upload-progress-bg);top:0}.file-upload .upload-input .upload-progress-num{position:relative;z-index:1;font-size:12px;line-height:15px;text-align:center;color:var(--upload-progress-text)}.file-upload .upload-input.drop-allowed{--upload-bg-lightness: 95%}.file-upload .upload-input.drop-allowed .upload-message{color:var(--message-drop-color)}.file-upload .upload-btn{position:relative;margin-top:5px;width:fit-content;display:block}.file-upload .remove-item-btn{position:absolute;top:var(--btn-top-distance);right:var(--btn-right-distance)}.file-upload .download-item-btn{position:absolute;top:var(--btn-top-distance);left:var(--btn-left-distance)}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: BtnComponent, selector: "btn", inputs: ["label", "tooltip", "icon", "disabled", "path", "type", "size"] }, { kind: "component", type: CloseBtnComponent, selector: "close-btn" }, { kind: "pipe", type: IsTypePipe, name: "isType" }, { kind: "pipe", type: SafeHtmlPipe, name: "safe" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None });
|
|
9677
|
+
], viewQueries: [{ propertyName: "uploadBtn", first: true, predicate: ["uploadBtn"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<ng-template #itemBgTemplate let-bg=\"bg\">\r\n @if (bg) {\r\n <div class=\"upload-item-bg\" [ngStyle]=\"{backgroundImage: `url('${bg}')`}\">\r\n <div>\r\n <img alt=\"item image\" [src]=\"bg | safe: 'url'\" />\r\n </div>\r\n </div>\r\n }\r\n</ng-template>\r\n<ng-template #itemTemplate let-item=\"item\" let-index=\"index\">\r\n <div class=\"upload-item\">\r\n <ng-container [ngTemplateOutlet]=\"itemBgTemplate\"\r\n [ngTemplateOutletContext]=\"{bg: isImage || (item | isType: 'file') ? getUrl(item) : null}\">\r\n </ng-container>\r\n @if (!disabled) {\r\n <close-btn class=\"remove-item-btn\" (click)=\"removeItem(index)\"></close-btn>\r\n }\r\n<!-- <btn size=\"small\" class=\"download-item-btn\" icon=\"download\"></btn>-->\r\n </div>\r\n</ng-template>\r\n\r\n<div class=\"file-upload\" [ngClass]=\"{disabled: disabled}\">\r\n <div class=\"upload-input\" [ngClass]=\"{'drop-allowed': dropAllowed}\">\r\n <input type=\"file\"\r\n #input\r\n [disabled]=\"disabled\"\r\n [multiple]=\"multiple\"\r\n [accept]=\"acceptAttr\"\r\n (dragenter)=\"onDragEnter($event)\"\r\n (dragleave)=\"onDrop()\"\r\n (drop)=\"onDrop()\"\r\n (click)=\"onInputClick($event)\"\r\n (blur)=\"onTouched($event)\"\r\n (change)=\"onInputChange($event)\"/>\r\n @if (message) {\r\n <div class=\"upload-message\"\r\n [ngClass]=\"{'has-value': $any(value)?.length}\"\r\n [innerHTML]=\"message | translate | safe:'html'\">\r\n </div>\r\n }\r\n <div class=\"upload-container\">\r\n\r\n <ng-container [ngTemplateOutlet]=\"itemTemplate\"\r\n [ngTemplateOutletContext]=\"{item: value, index: 0}\"\r\n *ngIf=\"!multiple && value\">\r\n </ng-container>\r\n <ng-container *ngIf=\"multiple\">\r\n <ng-container [ngTemplateOutlet]=\"itemTemplate\"\r\n [ngTemplateOutletContext]=\"{item: item, index: ix}\"\r\n *ngFor=\"let item of $any(value); let ix = index\">\r\n </ng-container>\r\n </ng-container>\r\n\r\n <div class=\"upload-item\" *ngFor=\"let proc of processing\">\r\n <ng-container [ngTemplateOutlet]=\"itemBgTemplate\"\r\n [ngTemplateOutletContext]=\"{bg: proc.preview}\">\r\n </ng-container>\r\n <div class=\"upload-progress\">\r\n <div class=\"upload-progress-num\">{{ proc.progress }}%</div>\r\n <div class=\"upload-progress-bar\" [ngStyle]=\"{width: proc.progress + '%'}\">\r\n\r\n </div>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n @if (!disabled) {\r\n <btn class=\"upload-btn\" #uploadBtn [label]=\"buttonText\" (click)=\"input.click()\"></btn>\r\n }\r\n </div>\r\n</div>\r\n", styles: [".file-upload{--upload-bg-lightness: 85%;--upload-bg-opacity: 1;--upload-padding: 5px;--upload-border-width: 2px;--upload-border-color: rgba(0, 0, 0, .25);--upload-progress-bg: var(--primary-color, var(--mat-sys-primary, black));--upload-progress-text: var(--text-color, var(--mat-sys-on-primary, white));--upload-item-size: 120px;--upload-item-radius: 5px;--message-size: 20px;--message-color: #7e7e7e;--message-drop-color: #474747;--btn-distance: 3px;--btn-top-distance: var(--btn-distance);--btn-left-distance: var(--btn-distance);--btn-right-distance: var(--btn-distance);margin:5px 0}.file-upload *{box-sizing:border-box}.file-upload.disabled{--upload-bg-lightness: 75%}.file-upload input[type=file]{display:block;position:absolute;inset:0;opacity:0}.file-upload input[type=file]::file-selector-button{width:100%;height:100%}.file-upload .upload-input{width:100%;border:var(--upload-border-width) var(--upload-border-color) dashed;border-radius:var(--upload-item-radius);background-color:hsl(0,0%,var(--upload-bg-lightness),var(--upload-bg-opacity));transition:.2s;flex-wrap:wrap;position:relative;padding:var(--upload-padding)}.file-upload .upload-input .upload-message{position:absolute;display:flex;align-items:center;justify-content:center;width:100%;height:100%;top:0;left:0;pointer-events:none;font-size:var(--message-size);color:var(--message-color);transition:.2s}.file-upload .upload-input .upload-message.has-value{display:none}.file-upload .upload-input .upload-container{position:relative;pointer-events:none;min-height:var(--upload-item-size);display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}.file-upload .upload-input .upload-item{position:relative;pointer-events:auto;width:var(--upload-item-size);height:var(--upload-item-size);border-radius:var(--upload-item-radius);border:2px solid white;overflow:hidden;display:flex;align-items:center;justify-content:center}.file-upload .upload-input .upload-item-bg{background:#fff center center no-repeat;background-size:cover;position:absolute;inset:0}.file-upload .upload-input .upload-item-bg div{width:100%;height:100%;display:flex;justify-content:center;align-items:center;backdrop-filter:blur(15px)}.file-upload .upload-input .upload-item-bg img{max-width:100%;max-height:100%;object-fit:contain;background:#ffffffbf}.file-upload .upload-input .upload-progress{position:relative;width:90%;height:15px;border:1px solid darkgrey;background:#ffffff80}.file-upload .upload-input .upload-progress-bar{position:absolute;height:15px;background:var(--upload-progress-bg);top:0}.file-upload .upload-input .upload-progress-num{position:relative;z-index:1;font-size:12px;line-height:15px;text-align:center;color:var(--upload-progress-text)}.file-upload .upload-input.drop-allowed{--upload-bg-lightness: 95%}.file-upload .upload-input.drop-allowed .upload-message{color:var(--message-drop-color)}.file-upload .upload-btn{position:relative;margin-top:5px;width:fit-content;display:block}.file-upload .remove-item-btn{position:absolute;top:var(--btn-top-distance);right:var(--btn-right-distance)}.file-upload .download-item-btn{position:absolute;top:var(--btn-top-distance);left:var(--btn-left-distance)}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: BtnComponent, selector: "btn", inputs: ["label", "tooltip", "icon", "disabled", "path", "type", "size"] }, { kind: "component", type: CloseBtnComponent, selector: "close-btn" }, { kind: "pipe", type: IsTypePipe, name: "isType" }, { kind: "pipe", type: SafeHtmlPipe, name: "safe" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
10248
9678
|
}
|
|
10249
9679
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: UploadComponent, decorators: [{
|
|
10250
9680
|
type: Component,
|
|
@@ -10287,16 +9717,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
10287
9717
|
}] } });
|
|
10288
9718
|
|
|
10289
9719
|
class WysiwygComponent {
|
|
10290
|
-
cdr;
|
|
10291
|
-
element;
|
|
10292
|
-
value;
|
|
10293
|
-
disabled;
|
|
10294
|
-
valueChange;
|
|
10295
|
-
onChange;
|
|
10296
|
-
onTouched;
|
|
10297
|
-
rootElem;
|
|
10298
|
-
editor;
|
|
10299
|
-
editorElem;
|
|
10300
9720
|
get root() {
|
|
10301
9721
|
this.rootElem = this.rootElem || getRoot(this.element.nativeElement);
|
|
10302
9722
|
return this.rootElem;
|
|
@@ -10355,10 +9775,10 @@ class WysiwygComponent {
|
|
|
10355
9775
|
this.cdr.markForCheck();
|
|
10356
9776
|
this.ngOnChanges();
|
|
10357
9777
|
}
|
|
10358
|
-
static
|
|
10359
|
-
static
|
|
9778
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: WysiwygComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9779
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.22", type: WysiwygComponent, isStandalone: false, selector: "wysiwyg", inputs: { value: "value", disabled: "disabled" }, outputs: { valueChange: "valueChange" }, providers: [
|
|
10360
9780
|
{ provide: NG_VALUE_ACCESSOR, useExisting: WysiwygComponent, multi: true }
|
|
10361
|
-
], viewQueries: [{ propertyName: "editorElem", first: true, predicate: ["editor"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"wysiwyg form-control\" [ngClass]=\"{disabled: disabled}\">\r\n <div #editor></div>\r\n</div>\r\n", styles: [".file-upload{--upload-bg-lightness: 85%;--upload-bg-opacity: 1;--upload-padding: 5px;--upload-border-width: 2px;--upload-border-color: rgba(0, 0, 0, .25);--upload-progress-bg: var(--primary-color, var(--mat-sys-primary, black));--upload-progress-text: var(--text-color, var(--mat-sys-on-primary, white));--upload-item-size: 120px;--upload-item-radius: 5px;--message-size: 20px;--message-color: #7e7e7e;--message-drop-color: #474747;--btn-distance: 3px;--btn-top-distance: var(--btn-distance);--btn-left-distance: var(--btn-distance);--btn-right-distance: var(--btn-distance);margin:5px 0}.file-upload *{box-sizing:border-box}.file-upload.disabled{--upload-bg-lightness: 75%}.file-upload input[type=file]{display:block;position:absolute;inset:0;opacity:0}.file-upload input[type=file]::file-selector-button{width:100%;height:100%}.file-upload .upload-input{width:100%;border:var(--upload-border-width) var(--upload-border-color) dashed;border-radius:var(--upload-item-radius);background-color:hsl(0,0%,var(--upload-bg-lightness),var(--upload-bg-opacity));transition:.2s;flex-wrap:wrap;position:relative;padding:var(--upload-padding)}.file-upload .upload-input .upload-message{position:absolute;display:flex;align-items:center;justify-content:center;width:100%;height:100%;top:0;left:0;pointer-events:none;font-size:var(--message-size);color:var(--message-color);transition:.2s}.file-upload .upload-input .upload-message.has-value{display:none}.file-upload .upload-input .upload-container{position:relative;pointer-events:none;min-height:var(--upload-item-size);display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}.file-upload .upload-input .upload-item{position:relative;pointer-events:auto;width:var(--upload-item-size);height:var(--upload-item-size);border-radius:var(--upload-item-radius);border:2px solid white;overflow:hidden;display:flex;align-items:center;justify-content:center}.file-upload .upload-input .upload-item-bg{background:#fff center center no-repeat;background-size:cover;position:absolute;inset:0}.file-upload .upload-input .upload-item-bg div{width:100%;height:100%;display:flex;justify-content:center;align-items:center;backdrop-filter:blur(15px)}.file-upload .upload-input .upload-item-bg img{max-width:100%;max-height:100%;object-fit:contain;background:#ffffffbf}.file-upload .upload-input .upload-progress{position:relative;width:90%;height:15px;border:1px solid darkgrey;background:#ffffff80}.file-upload .upload-input .upload-progress-bar{position:absolute;height:15px;background:var(--upload-progress-bg);top:0}.file-upload .upload-input .upload-progress-num{position:relative;z-index:1;font-size:12px;line-height:15px;text-align:center;color:var(--upload-progress-text)}.file-upload .upload-input.drop-allowed{--upload-bg-lightness: 95%}.file-upload .upload-input.drop-allowed .upload-message{color:var(--message-drop-color)}.file-upload .upload-btn{position:relative;margin-top:5px;width:fit-content;display:block}.file-upload .remove-item-btn{position:absolute;top:var(--btn-top-distance);right:var(--btn-right-distance)}.file-upload .download-item-btn{position:absolute;top:var(--btn-top-distance);left:var(--btn-left-distance)}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
9781
|
+
], viewQueries: [{ propertyName: "editorElem", first: true, predicate: ["editor"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"wysiwyg form-control\" [ngClass]=\"{disabled: disabled}\">\r\n <div #editor></div>\r\n</div>\r\n", styles: [".file-upload{--upload-bg-lightness: 85%;--upload-bg-opacity: 1;--upload-padding: 5px;--upload-border-width: 2px;--upload-border-color: rgba(0, 0, 0, .25);--upload-progress-bg: var(--primary-color, var(--mat-sys-primary, black));--upload-progress-text: var(--text-color, var(--mat-sys-on-primary, white));--upload-item-size: 120px;--upload-item-radius: 5px;--message-size: 20px;--message-color: #7e7e7e;--message-drop-color: #474747;--btn-distance: 3px;--btn-top-distance: var(--btn-distance);--btn-left-distance: var(--btn-distance);--btn-right-distance: var(--btn-distance);margin:5px 0}.file-upload *{box-sizing:border-box}.file-upload.disabled{--upload-bg-lightness: 75%}.file-upload input[type=file]{display:block;position:absolute;inset:0;opacity:0}.file-upload input[type=file]::file-selector-button{width:100%;height:100%}.file-upload .upload-input{width:100%;border:var(--upload-border-width) var(--upload-border-color) dashed;border-radius:var(--upload-item-radius);background-color:hsl(0,0%,var(--upload-bg-lightness),var(--upload-bg-opacity));transition:.2s;flex-wrap:wrap;position:relative;padding:var(--upload-padding)}.file-upload .upload-input .upload-message{position:absolute;display:flex;align-items:center;justify-content:center;width:100%;height:100%;top:0;left:0;pointer-events:none;font-size:var(--message-size);color:var(--message-color);transition:.2s}.file-upload .upload-input .upload-message.has-value{display:none}.file-upload .upload-input .upload-container{position:relative;pointer-events:none;min-height:var(--upload-item-size);display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}.file-upload .upload-input .upload-item{position:relative;pointer-events:auto;width:var(--upload-item-size);height:var(--upload-item-size);border-radius:var(--upload-item-radius);border:2px solid white;overflow:hidden;display:flex;align-items:center;justify-content:center}.file-upload .upload-input .upload-item-bg{background:#fff center center no-repeat;background-size:cover;position:absolute;inset:0}.file-upload .upload-input .upload-item-bg div{width:100%;height:100%;display:flex;justify-content:center;align-items:center;backdrop-filter:blur(15px)}.file-upload .upload-input .upload-item-bg img{max-width:100%;max-height:100%;object-fit:contain;background:#ffffffbf}.file-upload .upload-input .upload-progress{position:relative;width:90%;height:15px;border:1px solid darkgrey;background:#ffffff80}.file-upload .upload-input .upload-progress-bar{position:absolute;height:15px;background:var(--upload-progress-bg);top:0}.file-upload .upload-input .upload-progress-num{position:relative;z-index:1;font-size:12px;line-height:15px;text-align:center;color:var(--upload-progress-text)}.file-upload .upload-input.drop-allowed{--upload-bg-lightness: 95%}.file-upload .upload-input.drop-allowed .upload-message{color:var(--message-drop-color)}.file-upload .upload-btn{position:relative;margin-top:5px;width:fit-content;display:block}.file-upload .remove-item-btn{position:absolute;top:var(--btn-top-distance);right:var(--btn-right-distance)}.file-upload .download-item-btn{position:absolute;top:var(--btn-top-distance);left:var(--btn-left-distance)}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
10362
9782
|
}
|
|
10363
9783
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: WysiwygComponent, decorators: [{
|
|
10364
9784
|
type: Component,
|
|
@@ -10684,11 +10104,11 @@ class NgxUtilsModule {
|
|
|
10684
10104
|
]
|
|
10685
10105
|
};
|
|
10686
10106
|
}
|
|
10687
|
-
static
|
|
10688
|
-
static
|
|
10689
|
-
FormsModule], exports: [ChunkPipe, EntriesPipe, ExtraItemPropertiesPipe, FilterPipe, FindPipe, FormatNumberPipe, GetOffsetPipe, GetTypePipe, GetValuePipe, GlobalTemplatePipe, GroupByPipe, IncludesPipe, IsTypePipe, JoinPipe, KeysPipe, MapPipe, MaxPipe, MinPipe, PopPipe, ReducePipe, RemapPipe, ReplacePipe, ReversePipe, RoundPipe, SafeHtmlPipe, ShiftPipe, SplitPipe, SyncAsyncPipe, TranslatePipe, ValuesPipe, AsyncMethodBase, AsyncMethodDirective, AsyncMethodTargetDirective, BackgroundDirective, ComponentLoaderDirective, DynamicTableTemplateDirective, GlobalTemplateDirective, IconDirective, NgxTemplateOutletDirective, PaginationDirective, PaginationItemDirective, ResourceIfDirective, StickyDirective, StickyClassDirective, DropdownDirective, DropdownContentDirective, DropdownToggleDirective, TabsItemDirective, TabsTemplateDirective, UnorderedListItemDirective, UnorderedListTemplateDirective, BtnComponent, BtnDefaultComponent, ChipsComponent, CloseBtnComponent, CodeEditorComponent, DropListComponent, DropdownBoxComponent, DynamicTableComponent, DynamicTableCellComponent, FakeModuleComponent, PaginationMenuComponent, IconComponent, IconDefaultComponent, InteractiveCanvasComponent, InteractiveItemComponent, InteractiveCircleComponent, InteractiveRectComponent, TabsComponent, UnorderedListComponent, UploadComponent, WysiwygComponent, FormsModule] });
|
|
10690
|
-
static
|
|
10691
|
-
FormsModule, FormsModule] });
|
|
10107
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: NgxUtilsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10108
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: NgxUtilsModule, declarations: [ChunkPipe, EntriesPipe, ExtraItemPropertiesPipe, FilterPipe, FindPipe, FormatNumberPipe, GetOffsetPipe, GetTypePipe, GetValuePipe, GlobalTemplatePipe, GroupByPipe, IncludesPipe, IsTypePipe, JoinPipe, KeysPipe, MapPipe, MaxPipe, MinPipe, PopPipe, ReducePipe, RemapPipe, ReplacePipe, ReversePipe, RoundPipe, SafeHtmlPipe, ShiftPipe, SplitPipe, SyncAsyncPipe, TranslatePipe, ValuesPipe, AsyncMethodBase, AsyncMethodDirective, AsyncMethodTargetDirective, BackgroundDirective, ComponentLoaderDirective, DynamicTableTemplateDirective, GlobalTemplateDirective, IconDirective, NgxTemplateOutletDirective, PaginationDirective, PaginationItemDirective, ResourceIfDirective, StickyDirective, StickyClassDirective, DropdownDirective, DropdownContentDirective, DropdownToggleDirective, TabsItemDirective, TabsTemplateDirective, UnorderedListItemDirective, UnorderedListTemplateDirective, BtnComponent, BtnDefaultComponent, ChipsComponent, CloseBtnComponent, CodeEditorComponent, DropListComponent, DropdownBoxComponent, DynamicTableComponent, DynamicTableCellComponent, FakeModuleComponent, PaginationMenuComponent, IconComponent, IconDefaultComponent, InteractiveCanvasComponent, InteractiveItemComponent, InteractiveCircleComponent, InteractiveRectComponent, TabsComponent, UnorderedListComponent, UploadComponent, WysiwygComponent], imports: [CommonModule,
|
|
10109
|
+
FormsModule], exports: [ChunkPipe, EntriesPipe, ExtraItemPropertiesPipe, FilterPipe, FindPipe, FormatNumberPipe, GetOffsetPipe, GetTypePipe, GetValuePipe, GlobalTemplatePipe, GroupByPipe, IncludesPipe, IsTypePipe, JoinPipe, KeysPipe, MapPipe, MaxPipe, MinPipe, PopPipe, ReducePipe, RemapPipe, ReplacePipe, ReversePipe, RoundPipe, SafeHtmlPipe, ShiftPipe, SplitPipe, SyncAsyncPipe, TranslatePipe, ValuesPipe, AsyncMethodBase, AsyncMethodDirective, AsyncMethodTargetDirective, BackgroundDirective, ComponentLoaderDirective, DynamicTableTemplateDirective, GlobalTemplateDirective, IconDirective, NgxTemplateOutletDirective, PaginationDirective, PaginationItemDirective, ResourceIfDirective, StickyDirective, StickyClassDirective, DropdownDirective, DropdownContentDirective, DropdownToggleDirective, TabsItemDirective, TabsTemplateDirective, UnorderedListItemDirective, UnorderedListTemplateDirective, BtnComponent, BtnDefaultComponent, ChipsComponent, CloseBtnComponent, CodeEditorComponent, DropListComponent, DropdownBoxComponent, DynamicTableComponent, DynamicTableCellComponent, FakeModuleComponent, PaginationMenuComponent, IconComponent, IconDefaultComponent, InteractiveCanvasComponent, InteractiveItemComponent, InteractiveCircleComponent, InteractiveRectComponent, TabsComponent, UnorderedListComponent, UploadComponent, WysiwygComponent, FormsModule] }); }
|
|
10110
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: NgxUtilsModule, providers: pipes, imports: [CommonModule,
|
|
10111
|
+
FormsModule, FormsModule] }); }
|
|
10692
10112
|
}
|
|
10693
10113
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: NgxUtilsModule, decorators: [{
|
|
10694
10114
|
type: NgModule,
|