@rxap/ngx-user 18.0.4 → 18.1.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/esm2022/index.mjs +2 -1
- package/esm2022/lib/openapi/remote-methods/dark-mode-controller-disable.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/dark-mode-controller-enable.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/dark-mode-controller-get.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/dark-mode-controller-toggle.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/language-controller-get.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/language-controller-set.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/profile-controller-get.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/settings-controller-clear-property.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/settings-controller-decrement-property.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/settings-controller-get-property.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/settings-controller-get.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/settings-controller-increment-property.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/settings-controller-pop-property.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/settings-controller-push-property.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/settings-controller-remove-at-property.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/settings-controller-remove-property.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/settings-controller-set-property.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/settings-controller-set.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/settings-controller-shift-property.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/settings-controller-toggle-property.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/settings-controller-unshift-property.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/theme-controller-get.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/theme-controller-set-density.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/theme-controller-set-preset.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/theme-controller-set-typography.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/theme-controller-set.remote-method.mjs +3 -3
- package/esm2022/lib/provide.mjs +13 -0
- package/esm2022/lib/user-profile.data-source.mjs +3 -3
- package/esm2022/lib/user-settings-dark-mode.data-source.mjs +3 -3
- package/esm2022/lib/user-settings-dark-mode.service.mjs +3 -3
- package/esm2022/lib/user-settings-language.data-source.mjs +3 -3
- package/esm2022/lib/user-settings-language.service.mjs +3 -3
- package/esm2022/lib/user-settings-theme.data-source.mjs +3 -3
- package/esm2022/lib/user-settings-theme.service.mjs +38 -21
- package/esm2022/lib/user-settings.data-source.mjs +3 -3
- package/esm2022/lib/user-settings.service.mjs +3 -3
- package/fesm2022/rxap-ngx-user.mjs +240 -212
- package/fesm2022/rxap-ngx-user.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/provide.d.ts +2 -0
- package/lib/user-settings-theme.service.d.ts +18 -10
- package/package.json +28 -27
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { __decorate, __metadata } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Injectable, Inject, inject } from '@angular/core';
|
|
3
|
+
import { Injectable, Inject, inject, isDevMode, APP_INITIALIZER } from '@angular/core';
|
|
4
4
|
import { OpenApiRemoteMethod, RxapOpenApiRemoteMethod } from '@rxap/open-api/remote-method';
|
|
5
|
-
import {
|
|
5
|
+
import { PubSubService, RXAP_TOPICS } from '@rxap/ngx-pub-sub';
|
|
6
|
+
import { IsThemeDensity } from '@rxap/utilities';
|
|
6
7
|
import { map, Subscription, debounceTime, tap } from 'rxjs';
|
|
7
|
-
import {
|
|
8
|
+
import { MethodDataSource, RxapDataSource, PipeDataSource, RxapPipeDataSource } from '@rxap/data-source';
|
|
8
9
|
|
|
9
10
|
let DarkModeControllerDisableRemoteMethod = class DarkModeControllerDisableRemoteMethod extends OpenApiRemoteMethod {
|
|
10
11
|
call() {
|
|
11
12
|
return super.call();
|
|
12
13
|
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
14
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: DarkModeControllerDisableRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: DarkModeControllerDisableRemoteMethod, providedIn: 'root' }); }
|
|
15
16
|
};
|
|
16
17
|
DarkModeControllerDisableRemoteMethod = __decorate([
|
|
17
18
|
RxapOpenApiRemoteMethod({
|
|
@@ -36,7 +37,7 @@ DarkModeControllerDisableRemoteMethod = __decorate([
|
|
|
36
37
|
}`
|
|
37
38
|
})
|
|
38
39
|
], DarkModeControllerDisableRemoteMethod);
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: DarkModeControllerDisableRemoteMethod, decorators: [{
|
|
40
41
|
type: Injectable,
|
|
41
42
|
args: [{
|
|
42
43
|
providedIn: 'root',
|
|
@@ -47,8 +48,8 @@ let DarkModeControllerEnableRemoteMethod = class DarkModeControllerEnableRemoteM
|
|
|
47
48
|
call() {
|
|
48
49
|
return super.call();
|
|
49
50
|
}
|
|
50
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
51
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
51
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: DarkModeControllerEnableRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
52
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: DarkModeControllerEnableRemoteMethod, providedIn: 'root' }); }
|
|
52
53
|
};
|
|
53
54
|
DarkModeControllerEnableRemoteMethod = __decorate([
|
|
54
55
|
RxapOpenApiRemoteMethod({
|
|
@@ -73,7 +74,7 @@ DarkModeControllerEnableRemoteMethod = __decorate([
|
|
|
73
74
|
}`
|
|
74
75
|
})
|
|
75
76
|
], DarkModeControllerEnableRemoteMethod);
|
|
76
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
77
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: DarkModeControllerEnableRemoteMethod, decorators: [{
|
|
77
78
|
type: Injectable,
|
|
78
79
|
args: [{
|
|
79
80
|
providedIn: 'root',
|
|
@@ -84,8 +85,8 @@ let DarkModeControllerGetRemoteMethod = class DarkModeControllerGetRemoteMethod
|
|
|
84
85
|
call() {
|
|
85
86
|
return super.call();
|
|
86
87
|
}
|
|
87
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
88
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
88
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: DarkModeControllerGetRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
89
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: DarkModeControllerGetRemoteMethod, providedIn: 'root' }); }
|
|
89
90
|
};
|
|
90
91
|
DarkModeControllerGetRemoteMethod = __decorate([
|
|
91
92
|
RxapOpenApiRemoteMethod({
|
|
@@ -110,7 +111,7 @@ DarkModeControllerGetRemoteMethod = __decorate([
|
|
|
110
111
|
}`
|
|
111
112
|
})
|
|
112
113
|
], DarkModeControllerGetRemoteMethod);
|
|
113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: DarkModeControllerGetRemoteMethod, decorators: [{
|
|
114
115
|
type: Injectable,
|
|
115
116
|
args: [{
|
|
116
117
|
providedIn: 'root',
|
|
@@ -121,8 +122,8 @@ let DarkModeControllerToggleRemoteMethod = class DarkModeControllerToggleRemoteM
|
|
|
121
122
|
call() {
|
|
122
123
|
return super.call();
|
|
123
124
|
}
|
|
124
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
125
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
125
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: DarkModeControllerToggleRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
126
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: DarkModeControllerToggleRemoteMethod, providedIn: 'root' }); }
|
|
126
127
|
};
|
|
127
128
|
DarkModeControllerToggleRemoteMethod = __decorate([
|
|
128
129
|
RxapOpenApiRemoteMethod({
|
|
@@ -147,7 +148,7 @@ DarkModeControllerToggleRemoteMethod = __decorate([
|
|
|
147
148
|
}`
|
|
148
149
|
})
|
|
149
150
|
], DarkModeControllerToggleRemoteMethod);
|
|
150
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: DarkModeControllerToggleRemoteMethod, decorators: [{
|
|
151
152
|
type: Injectable,
|
|
152
153
|
args: [{
|
|
153
154
|
providedIn: 'root',
|
|
@@ -158,8 +159,8 @@ let LanguageControllerGetRemoteMethod = class LanguageControllerGetRemoteMethod
|
|
|
158
159
|
call() {
|
|
159
160
|
return super.call();
|
|
160
161
|
}
|
|
161
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
162
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
162
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: LanguageControllerGetRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
163
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: LanguageControllerGetRemoteMethod, providedIn: 'root' }); }
|
|
163
164
|
};
|
|
164
165
|
LanguageControllerGetRemoteMethod = __decorate([
|
|
165
166
|
RxapOpenApiRemoteMethod({
|
|
@@ -184,7 +185,7 @@ LanguageControllerGetRemoteMethod = __decorate([
|
|
|
184
185
|
}`
|
|
185
186
|
})
|
|
186
187
|
], LanguageControllerGetRemoteMethod);
|
|
187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: LanguageControllerGetRemoteMethod, decorators: [{
|
|
188
189
|
type: Injectable,
|
|
189
190
|
args: [{
|
|
190
191
|
providedIn: 'root',
|
|
@@ -195,8 +196,8 @@ let LanguageControllerSetRemoteMethod = class LanguageControllerSetRemoteMethod
|
|
|
195
196
|
call(parameters) {
|
|
196
197
|
return super.call(parameters);
|
|
197
198
|
}
|
|
198
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
199
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
199
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: LanguageControllerSetRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
200
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: LanguageControllerSetRemoteMethod, providedIn: 'root' }); }
|
|
200
201
|
};
|
|
201
202
|
LanguageControllerSetRemoteMethod = __decorate([
|
|
202
203
|
RxapOpenApiRemoteMethod({
|
|
@@ -222,7 +223,7 @@ LanguageControllerSetRemoteMethod = __decorate([
|
|
|
222
223
|
}`
|
|
223
224
|
})
|
|
224
225
|
], LanguageControllerSetRemoteMethod);
|
|
225
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: LanguageControllerSetRemoteMethod, decorators: [{
|
|
226
227
|
type: Injectable,
|
|
227
228
|
args: [{
|
|
228
229
|
providedIn: 'root',
|
|
@@ -233,8 +234,8 @@ let ProfileControllerGetRemoteMethod = class ProfileControllerGetRemoteMethod ex
|
|
|
233
234
|
call() {
|
|
234
235
|
return super.call();
|
|
235
236
|
}
|
|
236
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
237
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
237
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ProfileControllerGetRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
238
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ProfileControllerGetRemoteMethod, providedIn: 'root' }); }
|
|
238
239
|
};
|
|
239
240
|
ProfileControllerGetRemoteMethod = __decorate([
|
|
240
241
|
RxapOpenApiRemoteMethod({
|
|
@@ -257,7 +258,7 @@ ProfileControllerGetRemoteMethod = __decorate([
|
|
|
257
258
|
}`
|
|
258
259
|
})
|
|
259
260
|
], ProfileControllerGetRemoteMethod);
|
|
260
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ProfileControllerGetRemoteMethod, decorators: [{
|
|
261
262
|
type: Injectable,
|
|
262
263
|
args: [{
|
|
263
264
|
providedIn: 'root',
|
|
@@ -268,8 +269,8 @@ let SettingsControllerClearPropertyRemoteMethod = class SettingsControllerClearP
|
|
|
268
269
|
call(parameters) {
|
|
269
270
|
return super.call(parameters);
|
|
270
271
|
}
|
|
271
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
272
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
272
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerClearPropertyRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
273
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerClearPropertyRemoteMethod, providedIn: 'root' }); }
|
|
273
274
|
};
|
|
274
275
|
SettingsControllerClearPropertyRemoteMethod = __decorate([
|
|
275
276
|
RxapOpenApiRemoteMethod({
|
|
@@ -295,7 +296,7 @@ SettingsControllerClearPropertyRemoteMethod = __decorate([
|
|
|
295
296
|
}`
|
|
296
297
|
})
|
|
297
298
|
], SettingsControllerClearPropertyRemoteMethod);
|
|
298
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerClearPropertyRemoteMethod, decorators: [{
|
|
299
300
|
type: Injectable,
|
|
300
301
|
args: [{
|
|
301
302
|
providedIn: 'root',
|
|
@@ -306,8 +307,8 @@ let SettingsControllerDecrementPropertyRemoteMethod = class SettingsControllerDe
|
|
|
306
307
|
call(parameters) {
|
|
307
308
|
return super.call(parameters);
|
|
308
309
|
}
|
|
309
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
310
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
310
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerDecrementPropertyRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
311
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerDecrementPropertyRemoteMethod, providedIn: 'root' }); }
|
|
311
312
|
};
|
|
312
313
|
SettingsControllerDecrementPropertyRemoteMethod = __decorate([
|
|
313
314
|
RxapOpenApiRemoteMethod({
|
|
@@ -333,7 +334,7 @@ SettingsControllerDecrementPropertyRemoteMethod = __decorate([
|
|
|
333
334
|
}`
|
|
334
335
|
})
|
|
335
336
|
], SettingsControllerDecrementPropertyRemoteMethod);
|
|
336
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerDecrementPropertyRemoteMethod, decorators: [{
|
|
337
338
|
type: Injectable,
|
|
338
339
|
args: [{
|
|
339
340
|
providedIn: 'root',
|
|
@@ -344,8 +345,8 @@ let SettingsControllerGetPropertyRemoteMethod = class SettingsControllerGetPrope
|
|
|
344
345
|
call(parameters) {
|
|
345
346
|
return super.call(parameters);
|
|
346
347
|
}
|
|
347
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
348
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
348
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerGetPropertyRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
349
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerGetPropertyRemoteMethod, providedIn: 'root' }); }
|
|
349
350
|
};
|
|
350
351
|
SettingsControllerGetPropertyRemoteMethod = __decorate([
|
|
351
352
|
RxapOpenApiRemoteMethod({
|
|
@@ -377,7 +378,7 @@ SettingsControllerGetPropertyRemoteMethod = __decorate([
|
|
|
377
378
|
}`
|
|
378
379
|
})
|
|
379
380
|
], SettingsControllerGetPropertyRemoteMethod);
|
|
380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
381
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerGetPropertyRemoteMethod, decorators: [{
|
|
381
382
|
type: Injectable,
|
|
382
383
|
args: [{
|
|
383
384
|
providedIn: 'root',
|
|
@@ -388,8 +389,8 @@ let SettingsControllerGetRemoteMethod = class SettingsControllerGetRemoteMethod
|
|
|
388
389
|
call() {
|
|
389
390
|
return super.call();
|
|
390
391
|
}
|
|
391
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
392
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
392
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerGetRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
393
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerGetRemoteMethod, providedIn: 'root' }); }
|
|
393
394
|
};
|
|
394
395
|
SettingsControllerGetRemoteMethod = __decorate([
|
|
395
396
|
RxapOpenApiRemoteMethod({
|
|
@@ -452,7 +453,7 @@ SettingsControllerGetRemoteMethod = __decorate([
|
|
|
452
453
|
}`
|
|
453
454
|
})
|
|
454
455
|
], SettingsControllerGetRemoteMethod);
|
|
455
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
456
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerGetRemoteMethod, decorators: [{
|
|
456
457
|
type: Injectable,
|
|
457
458
|
args: [{
|
|
458
459
|
providedIn: 'root',
|
|
@@ -463,8 +464,8 @@ let SettingsControllerIncrementPropertyRemoteMethod = class SettingsControllerIn
|
|
|
463
464
|
call(parameters) {
|
|
464
465
|
return super.call(parameters);
|
|
465
466
|
}
|
|
466
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
467
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
467
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerIncrementPropertyRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
468
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerIncrementPropertyRemoteMethod, providedIn: 'root' }); }
|
|
468
469
|
};
|
|
469
470
|
SettingsControllerIncrementPropertyRemoteMethod = __decorate([
|
|
470
471
|
RxapOpenApiRemoteMethod({
|
|
@@ -490,7 +491,7 @@ SettingsControllerIncrementPropertyRemoteMethod = __decorate([
|
|
|
490
491
|
}`
|
|
491
492
|
})
|
|
492
493
|
], SettingsControllerIncrementPropertyRemoteMethod);
|
|
493
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
494
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerIncrementPropertyRemoteMethod, decorators: [{
|
|
494
495
|
type: Injectable,
|
|
495
496
|
args: [{
|
|
496
497
|
providedIn: 'root',
|
|
@@ -501,8 +502,8 @@ let SettingsControllerPopPropertyRemoteMethod = class SettingsControllerPopPrope
|
|
|
501
502
|
call(parameters) {
|
|
502
503
|
return super.call(parameters);
|
|
503
504
|
}
|
|
504
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
505
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
505
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerPopPropertyRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
506
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerPopPropertyRemoteMethod, providedIn: 'root' }); }
|
|
506
507
|
};
|
|
507
508
|
SettingsControllerPopPropertyRemoteMethod = __decorate([
|
|
508
509
|
RxapOpenApiRemoteMethod({
|
|
@@ -534,7 +535,7 @@ SettingsControllerPopPropertyRemoteMethod = __decorate([
|
|
|
534
535
|
}`
|
|
535
536
|
})
|
|
536
537
|
], SettingsControllerPopPropertyRemoteMethod);
|
|
537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
538
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerPopPropertyRemoteMethod, decorators: [{
|
|
538
539
|
type: Injectable,
|
|
539
540
|
args: [{
|
|
540
541
|
providedIn: 'root',
|
|
@@ -545,8 +546,8 @@ let SettingsControllerPushPropertyRemoteMethod = class SettingsControllerPushPro
|
|
|
545
546
|
call(parameters) {
|
|
546
547
|
return super.call(parameters);
|
|
547
548
|
}
|
|
548
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
549
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
549
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerPushPropertyRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
550
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerPushPropertyRemoteMethod, providedIn: 'root' }); }
|
|
550
551
|
};
|
|
551
552
|
SettingsControllerPushPropertyRemoteMethod = __decorate([
|
|
552
553
|
RxapOpenApiRemoteMethod({
|
|
@@ -572,7 +573,7 @@ SettingsControllerPushPropertyRemoteMethod = __decorate([
|
|
|
572
573
|
}`
|
|
573
574
|
})
|
|
574
575
|
], SettingsControllerPushPropertyRemoteMethod);
|
|
575
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
576
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerPushPropertyRemoteMethod, decorators: [{
|
|
576
577
|
type: Injectable,
|
|
577
578
|
args: [{
|
|
578
579
|
providedIn: 'root',
|
|
@@ -583,8 +584,8 @@ let SettingsControllerRemoveAtPropertyRemoteMethod = class SettingsControllerRem
|
|
|
583
584
|
call(parameters) {
|
|
584
585
|
return super.call(parameters);
|
|
585
586
|
}
|
|
586
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
587
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
587
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerRemoveAtPropertyRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
588
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerRemoveAtPropertyRemoteMethod, providedIn: 'root' }); }
|
|
588
589
|
};
|
|
589
590
|
SettingsControllerRemoveAtPropertyRemoteMethod = __decorate([
|
|
590
591
|
RxapOpenApiRemoteMethod({
|
|
@@ -618,7 +619,7 @@ SettingsControllerRemoveAtPropertyRemoteMethod = __decorate([
|
|
|
618
619
|
}`
|
|
619
620
|
})
|
|
620
621
|
], SettingsControllerRemoveAtPropertyRemoteMethod);
|
|
621
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
622
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerRemoveAtPropertyRemoteMethod, decorators: [{
|
|
622
623
|
type: Injectable,
|
|
623
624
|
args: [{
|
|
624
625
|
providedIn: 'root',
|
|
@@ -629,8 +630,8 @@ let SettingsControllerRemovePropertyRemoteMethod = class SettingsControllerRemov
|
|
|
629
630
|
call(parameters) {
|
|
630
631
|
return super.call(parameters);
|
|
631
632
|
}
|
|
632
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
633
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
633
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerRemovePropertyRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
634
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerRemovePropertyRemoteMethod, providedIn: 'root' }); }
|
|
634
635
|
};
|
|
635
636
|
SettingsControllerRemovePropertyRemoteMethod = __decorate([
|
|
636
637
|
RxapOpenApiRemoteMethod({
|
|
@@ -656,7 +657,7 @@ SettingsControllerRemovePropertyRemoteMethod = __decorate([
|
|
|
656
657
|
}`
|
|
657
658
|
})
|
|
658
659
|
], SettingsControllerRemovePropertyRemoteMethod);
|
|
659
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerRemovePropertyRemoteMethod, decorators: [{
|
|
660
661
|
type: Injectable,
|
|
661
662
|
args: [{
|
|
662
663
|
providedIn: 'root',
|
|
@@ -667,8 +668,8 @@ let SettingsControllerSetPropertyRemoteMethod = class SettingsControllerSetPrope
|
|
|
667
668
|
call(parameters) {
|
|
668
669
|
return super.call(parameters);
|
|
669
670
|
}
|
|
670
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
671
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
671
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerSetPropertyRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
672
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerSetPropertyRemoteMethod, providedIn: 'root' }); }
|
|
672
673
|
};
|
|
673
674
|
SettingsControllerSetPropertyRemoteMethod = __decorate([
|
|
674
675
|
RxapOpenApiRemoteMethod({
|
|
@@ -694,7 +695,7 @@ SettingsControllerSetPropertyRemoteMethod = __decorate([
|
|
|
694
695
|
}`
|
|
695
696
|
})
|
|
696
697
|
], SettingsControllerSetPropertyRemoteMethod);
|
|
697
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
698
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerSetPropertyRemoteMethod, decorators: [{
|
|
698
699
|
type: Injectable,
|
|
699
700
|
args: [{
|
|
700
701
|
providedIn: 'root',
|
|
@@ -705,8 +706,8 @@ let SettingsControllerSetRemoteMethod = class SettingsControllerSetRemoteMethod
|
|
|
705
706
|
call(parameters) {
|
|
706
707
|
return super.call(parameters);
|
|
707
708
|
}
|
|
708
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
709
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
709
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerSetRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
710
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerSetRemoteMethod, providedIn: 'root' }); }
|
|
710
711
|
};
|
|
711
712
|
SettingsControllerSetRemoteMethod = __decorate([
|
|
712
713
|
RxapOpenApiRemoteMethod({
|
|
@@ -763,7 +764,7 @@ SettingsControllerSetRemoteMethod = __decorate([
|
|
|
763
764
|
}`
|
|
764
765
|
})
|
|
765
766
|
], SettingsControllerSetRemoteMethod);
|
|
766
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
767
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerSetRemoteMethod, decorators: [{
|
|
767
768
|
type: Injectable,
|
|
768
769
|
args: [{
|
|
769
770
|
providedIn: 'root',
|
|
@@ -774,8 +775,8 @@ let SettingsControllerShiftPropertyRemoteMethod = class SettingsControllerShiftP
|
|
|
774
775
|
call(parameters) {
|
|
775
776
|
return super.call(parameters);
|
|
776
777
|
}
|
|
777
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
778
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
778
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerShiftPropertyRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
779
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerShiftPropertyRemoteMethod, providedIn: 'root' }); }
|
|
779
780
|
};
|
|
780
781
|
SettingsControllerShiftPropertyRemoteMethod = __decorate([
|
|
781
782
|
RxapOpenApiRemoteMethod({
|
|
@@ -807,7 +808,7 @@ SettingsControllerShiftPropertyRemoteMethod = __decorate([
|
|
|
807
808
|
}`
|
|
808
809
|
})
|
|
809
810
|
], SettingsControllerShiftPropertyRemoteMethod);
|
|
810
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
811
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerShiftPropertyRemoteMethod, decorators: [{
|
|
811
812
|
type: Injectable,
|
|
812
813
|
args: [{
|
|
813
814
|
providedIn: 'root',
|
|
@@ -818,8 +819,8 @@ let SettingsControllerTogglePropertyRemoteMethod = class SettingsControllerToggl
|
|
|
818
819
|
call(parameters) {
|
|
819
820
|
return super.call(parameters);
|
|
820
821
|
}
|
|
821
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
822
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
822
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerTogglePropertyRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
823
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerTogglePropertyRemoteMethod, providedIn: 'root' }); }
|
|
823
824
|
};
|
|
824
825
|
SettingsControllerTogglePropertyRemoteMethod = __decorate([
|
|
825
826
|
RxapOpenApiRemoteMethod({
|
|
@@ -845,7 +846,7 @@ SettingsControllerTogglePropertyRemoteMethod = __decorate([
|
|
|
845
846
|
}`
|
|
846
847
|
})
|
|
847
848
|
], SettingsControllerTogglePropertyRemoteMethod);
|
|
848
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
849
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerTogglePropertyRemoteMethod, decorators: [{
|
|
849
850
|
type: Injectable,
|
|
850
851
|
args: [{
|
|
851
852
|
providedIn: 'root',
|
|
@@ -856,8 +857,8 @@ let SettingsControllerUnshiftPropertyRemoteMethod = class SettingsControllerUnsh
|
|
|
856
857
|
call(parameters) {
|
|
857
858
|
return super.call(parameters);
|
|
858
859
|
}
|
|
859
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
860
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
860
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerUnshiftPropertyRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
861
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerUnshiftPropertyRemoteMethod, providedIn: 'root' }); }
|
|
861
862
|
};
|
|
862
863
|
SettingsControllerUnshiftPropertyRemoteMethod = __decorate([
|
|
863
864
|
RxapOpenApiRemoteMethod({
|
|
@@ -891,7 +892,7 @@ SettingsControllerUnshiftPropertyRemoteMethod = __decorate([
|
|
|
891
892
|
}`
|
|
892
893
|
})
|
|
893
894
|
], SettingsControllerUnshiftPropertyRemoteMethod);
|
|
894
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
895
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SettingsControllerUnshiftPropertyRemoteMethod, decorators: [{
|
|
895
896
|
type: Injectable,
|
|
896
897
|
args: [{
|
|
897
898
|
providedIn: 'root',
|
|
@@ -902,8 +903,8 @@ let ThemeControllerGetRemoteMethod = class ThemeControllerGetRemoteMethod extend
|
|
|
902
903
|
call() {
|
|
903
904
|
return super.call();
|
|
904
905
|
}
|
|
905
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
906
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
906
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ThemeControllerGetRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
907
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ThemeControllerGetRemoteMethod, providedIn: 'root' }); }
|
|
907
908
|
};
|
|
908
909
|
ThemeControllerGetRemoteMethod = __decorate([
|
|
909
910
|
RxapOpenApiRemoteMethod({
|
|
@@ -949,7 +950,7 @@ ThemeControllerGetRemoteMethod = __decorate([
|
|
|
949
950
|
}`
|
|
950
951
|
})
|
|
951
952
|
], ThemeControllerGetRemoteMethod);
|
|
952
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
953
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ThemeControllerGetRemoteMethod, decorators: [{
|
|
953
954
|
type: Injectable,
|
|
954
955
|
args: [{
|
|
955
956
|
providedIn: 'root',
|
|
@@ -960,8 +961,8 @@ let ThemeControllerSetDensityRemoteMethod = class ThemeControllerSetDensityRemot
|
|
|
960
961
|
call(parameters) {
|
|
961
962
|
return super.call(parameters);
|
|
962
963
|
}
|
|
963
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
964
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
964
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ThemeControllerSetDensityRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
965
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ThemeControllerSetDensityRemoteMethod, providedIn: 'root' }); }
|
|
965
966
|
};
|
|
966
967
|
ThemeControllerSetDensityRemoteMethod = __decorate([
|
|
967
968
|
RxapOpenApiRemoteMethod({
|
|
@@ -998,7 +999,7 @@ ThemeControllerSetDensityRemoteMethod = __decorate([
|
|
|
998
999
|
}`
|
|
999
1000
|
})
|
|
1000
1001
|
], ThemeControllerSetDensityRemoteMethod);
|
|
1001
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
1002
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ThemeControllerSetDensityRemoteMethod, decorators: [{
|
|
1002
1003
|
type: Injectable,
|
|
1003
1004
|
args: [{
|
|
1004
1005
|
providedIn: 'root',
|
|
@@ -1009,8 +1010,8 @@ let ThemeControllerSetPresetRemoteMethod = class ThemeControllerSetPresetRemoteM
|
|
|
1009
1010
|
call(parameters) {
|
|
1010
1011
|
return super.call(parameters);
|
|
1011
1012
|
}
|
|
1012
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
1013
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
1013
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ThemeControllerSetPresetRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1014
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ThemeControllerSetPresetRemoteMethod, providedIn: 'root' }); }
|
|
1014
1015
|
};
|
|
1015
1016
|
ThemeControllerSetPresetRemoteMethod = __decorate([
|
|
1016
1017
|
RxapOpenApiRemoteMethod({
|
|
@@ -1038,7 +1039,7 @@ ThemeControllerSetPresetRemoteMethod = __decorate([
|
|
|
1038
1039
|
}`
|
|
1039
1040
|
})
|
|
1040
1041
|
], ThemeControllerSetPresetRemoteMethod);
|
|
1041
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
1042
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ThemeControllerSetPresetRemoteMethod, decorators: [{
|
|
1042
1043
|
type: Injectable,
|
|
1043
1044
|
args: [{
|
|
1044
1045
|
providedIn: 'root',
|
|
@@ -1049,8 +1050,8 @@ let ThemeControllerSetTypographyRemoteMethod = class ThemeControllerSetTypograph
|
|
|
1049
1050
|
call(parameters) {
|
|
1050
1051
|
return super.call(parameters);
|
|
1051
1052
|
}
|
|
1052
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
1053
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
1053
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ThemeControllerSetTypographyRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1054
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ThemeControllerSetTypographyRemoteMethod, providedIn: 'root' }); }
|
|
1054
1055
|
};
|
|
1055
1056
|
ThemeControllerSetTypographyRemoteMethod = __decorate([
|
|
1056
1057
|
RxapOpenApiRemoteMethod({
|
|
@@ -1078,7 +1079,7 @@ ThemeControllerSetTypographyRemoteMethod = __decorate([
|
|
|
1078
1079
|
}`
|
|
1079
1080
|
})
|
|
1080
1081
|
], ThemeControllerSetTypographyRemoteMethod);
|
|
1081
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
1082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ThemeControllerSetTypographyRemoteMethod, decorators: [{
|
|
1082
1083
|
type: Injectable,
|
|
1083
1084
|
args: [{
|
|
1084
1085
|
providedIn: 'root',
|
|
@@ -1089,8 +1090,8 @@ let ThemeControllerSetRemoteMethod = class ThemeControllerSetRemoteMethod extend
|
|
|
1089
1090
|
call(parameters) {
|
|
1090
1091
|
return super.call(parameters);
|
|
1091
1092
|
}
|
|
1092
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
1093
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
1093
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ThemeControllerSetRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1094
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ThemeControllerSetRemoteMethod, providedIn: 'root' }); }
|
|
1094
1095
|
};
|
|
1095
1096
|
ThemeControllerSetRemoteMethod = __decorate([
|
|
1096
1097
|
RxapOpenApiRemoteMethod({
|
|
@@ -1138,38 +1139,19 @@ ThemeControllerSetRemoteMethod = __decorate([
|
|
|
1138
1139
|
}`
|
|
1139
1140
|
})
|
|
1140
1141
|
], ThemeControllerSetRemoteMethod);
|
|
1141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
1142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ThemeControllerSetRemoteMethod, decorators: [{
|
|
1142
1143
|
type: Injectable,
|
|
1143
1144
|
args: [{
|
|
1144
1145
|
providedIn: 'root',
|
|
1145
1146
|
}]
|
|
1146
1147
|
}] });
|
|
1147
1148
|
|
|
1148
|
-
let UserProfileDataSource = class UserProfileDataSource extends MethodDataSource {
|
|
1149
|
-
constructor(method) {
|
|
1150
|
-
super(method, true);
|
|
1151
|
-
}
|
|
1152
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: UserProfileDataSource, deps: [{ token: ProfileControllerGetRemoteMethod }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1153
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: UserProfileDataSource, providedIn: 'root' }); }
|
|
1154
|
-
};
|
|
1155
|
-
UserProfileDataSource = __decorate([
|
|
1156
|
-
RxapDataSource('user-profile'),
|
|
1157
|
-
__metadata("design:paramtypes", [ProfileControllerGetRemoteMethod])
|
|
1158
|
-
], UserProfileDataSource);
|
|
1159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: UserProfileDataSource, decorators: [{
|
|
1160
|
-
type: Injectable,
|
|
1161
|
-
args: [{ providedIn: 'root' }]
|
|
1162
|
-
}], ctorParameters: () => [{ type: ProfileControllerGetRemoteMethod, decorators: [{
|
|
1163
|
-
type: Inject,
|
|
1164
|
-
args: [ProfileControllerGetRemoteMethod]
|
|
1165
|
-
}] }] });
|
|
1166
|
-
|
|
1167
1149
|
let UserSettingsDataSource = class UserSettingsDataSource extends MethodDataSource {
|
|
1168
1150
|
constructor(method) {
|
|
1169
1151
|
super(method, true);
|
|
1170
1152
|
}
|
|
1171
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
1172
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
1153
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsDataSource, deps: [{ token: SettingsControllerGetRemoteMethod }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1154
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsDataSource, providedIn: 'root' }); }
|
|
1173
1155
|
};
|
|
1174
1156
|
UserSettingsDataSource = __decorate([
|
|
1175
1157
|
RxapDataSource({
|
|
@@ -1178,7 +1160,7 @@ UserSettingsDataSource = __decorate([
|
|
|
1178
1160
|
}),
|
|
1179
1161
|
__metadata("design:paramtypes", [SettingsControllerGetRemoteMethod])
|
|
1180
1162
|
], UserSettingsDataSource);
|
|
1181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
1163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsDataSource, decorators: [{
|
|
1182
1164
|
type: Injectable,
|
|
1183
1165
|
args: [{ providedIn: 'root' }]
|
|
1184
1166
|
}], ctorParameters: () => [{ type: SettingsControllerGetRemoteMethod, decorators: [{
|
|
@@ -1186,12 +1168,151 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImpor
|
|
|
1186
1168
|
args: [SettingsControllerGetRemoteMethod]
|
|
1187
1169
|
}] }] });
|
|
1188
1170
|
|
|
1171
|
+
let UserSettingsThemeDataSource = class UserSettingsThemeDataSource extends PipeDataSource {
|
|
1172
|
+
constructor(dataSource) {
|
|
1173
|
+
super(dataSource, map((settings) => settings.theme));
|
|
1174
|
+
}
|
|
1175
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsThemeDataSource, deps: [{ token: UserSettingsDataSource }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1176
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsThemeDataSource, providedIn: 'root' }); }
|
|
1177
|
+
};
|
|
1178
|
+
UserSettingsThemeDataSource = __decorate([
|
|
1179
|
+
RxapPipeDataSource({
|
|
1180
|
+
id: 'user-settings-theme',
|
|
1181
|
+
refreshParent: true,
|
|
1182
|
+
}),
|
|
1183
|
+
__metadata("design:paramtypes", [UserSettingsDataSource])
|
|
1184
|
+
], UserSettingsThemeDataSource);
|
|
1185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsThemeDataSource, decorators: [{
|
|
1186
|
+
type: Injectable,
|
|
1187
|
+
args: [{ providedIn: 'root' }]
|
|
1188
|
+
}], ctorParameters: () => [{ type: UserSettingsDataSource, decorators: [{
|
|
1189
|
+
type: Inject,
|
|
1190
|
+
args: [UserSettingsDataSource]
|
|
1191
|
+
}] }] });
|
|
1192
|
+
|
|
1193
|
+
class UserSettingsThemeService {
|
|
1194
|
+
constructor() {
|
|
1195
|
+
this.getThemeMethod = inject(ThemeControllerGetRemoteMethod);
|
|
1196
|
+
this.setThemeMethod = inject(ThemeControllerSetRemoteMethod);
|
|
1197
|
+
this.setDensityMethod = inject(ThemeControllerSetDensityRemoteMethod);
|
|
1198
|
+
this.setPresetMethod = inject(ThemeControllerSetPresetRemoteMethod);
|
|
1199
|
+
this.setTypographyMethod = inject(ThemeControllerSetTypographyRemoteMethod);
|
|
1200
|
+
this.userSettingsThemeDataSource = inject(UserSettingsThemeDataSource);
|
|
1201
|
+
this.pubSub = inject(PubSubService);
|
|
1202
|
+
}
|
|
1203
|
+
async get() {
|
|
1204
|
+
this.subscribe();
|
|
1205
|
+
return this.getThemeMethod.call();
|
|
1206
|
+
}
|
|
1207
|
+
async set(themeSettings) {
|
|
1208
|
+
this.subscribe();
|
|
1209
|
+
await this.setThemeMethod.call({ requestBody: themeSettings });
|
|
1210
|
+
this.userSettingsThemeDataSource.refresh();
|
|
1211
|
+
}
|
|
1212
|
+
async setDensity(density) {
|
|
1213
|
+
this.subscribe();
|
|
1214
|
+
await this.setDensityMethod.call({ requestBody: { value: density } });
|
|
1215
|
+
this.userSettingsThemeDataSource.refresh();
|
|
1216
|
+
}
|
|
1217
|
+
async setPreset(preset) {
|
|
1218
|
+
this.subscribe();
|
|
1219
|
+
await this.setPresetMethod.call({ requestBody: { value: preset } });
|
|
1220
|
+
this.userSettingsThemeDataSource.refresh();
|
|
1221
|
+
}
|
|
1222
|
+
async setTypography(typography) {
|
|
1223
|
+
this.subscribe();
|
|
1224
|
+
await this.setTypographyMethod.call({ requestBody: { value: typography } });
|
|
1225
|
+
this.userSettingsThemeDataSource.refresh();
|
|
1226
|
+
}
|
|
1227
|
+
/**
|
|
1228
|
+
* Subscribes to three different topics and performs certain actions based on the received data.
|
|
1229
|
+
* This method creates a subscription and adds it to the syncSubscription property.
|
|
1230
|
+
* If syncSubscription is already defined, this method will not create a new subscription.
|
|
1231
|
+
*
|
|
1232
|
+
* The method subscribes to the following topics:
|
|
1233
|
+
* - RXAP_TOPICS.theme.density.changed: It debounces the received event by 1000ms and then performs an action if the event data is of type IsThemeDensity.
|
|
1234
|
+
* - RXAP_TOPICS.theme.preset.changed: It debounces the received event by 1000ms and then performs an action if the event data is of type string.
|
|
1235
|
+
* - RXAP_TOPICS.theme.typography.changed: It debounces the received event by 1000ms and then performs an action if the event data is of type string.
|
|
1236
|
+
*
|
|
1237
|
+
* @returns {void}
|
|
1238
|
+
*/
|
|
1239
|
+
subscribe() {
|
|
1240
|
+
if (this.syncSubscription) {
|
|
1241
|
+
return;
|
|
1242
|
+
}
|
|
1243
|
+
this.syncSubscription = new Subscription();
|
|
1244
|
+
this.syncSubscription.add(this.pubSub.subscribe(RXAP_TOPICS.theme.density.changed).pipe(debounceTime(1000), tap(async (event) => {
|
|
1245
|
+
if (IsThemeDensity(event.data)) {
|
|
1246
|
+
await this.setDensity(event.data);
|
|
1247
|
+
}
|
|
1248
|
+
})).subscribe());
|
|
1249
|
+
this.syncSubscription.add(this.pubSub.subscribe(RXAP_TOPICS.theme.preset.changed).pipe(debounceTime(1000), tap(async (event) => {
|
|
1250
|
+
if (typeof event.data === 'string') {
|
|
1251
|
+
await this.setPreset(event.data);
|
|
1252
|
+
}
|
|
1253
|
+
})).subscribe());
|
|
1254
|
+
this.syncSubscription.add(this.pubSub.subscribe(RXAP_TOPICS.theme.typography.changed).pipe(debounceTime(1000), tap(async (event) => {
|
|
1255
|
+
if (typeof event.data === 'string') {
|
|
1256
|
+
await this.setTypography(event.data);
|
|
1257
|
+
}
|
|
1258
|
+
})).subscribe());
|
|
1259
|
+
}
|
|
1260
|
+
async restore() {
|
|
1261
|
+
if (isDevMode()) {
|
|
1262
|
+
console.log('Restore theme settings from user settings.');
|
|
1263
|
+
}
|
|
1264
|
+
const theme = await this.get();
|
|
1265
|
+
this.pubSub.publish(RXAP_TOPICS.theme.preset.restore, theme.preset);
|
|
1266
|
+
this.pubSub.publish(RXAP_TOPICS.theme.density.restore, theme.density);
|
|
1267
|
+
this.pubSub.publish(RXAP_TOPICS.theme.typography.restore, theme.typography);
|
|
1268
|
+
}
|
|
1269
|
+
ngOnDestroy() {
|
|
1270
|
+
this.syncSubscription?.unsubscribe();
|
|
1271
|
+
}
|
|
1272
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1273
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsThemeService, providedIn: 'root' }); }
|
|
1274
|
+
}
|
|
1275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsThemeService, decorators: [{
|
|
1276
|
+
type: Injectable,
|
|
1277
|
+
args: [{ providedIn: 'root' }]
|
|
1278
|
+
}] });
|
|
1279
|
+
|
|
1280
|
+
function provideUserTheme() {
|
|
1281
|
+
return [
|
|
1282
|
+
{
|
|
1283
|
+
provide: APP_INITIALIZER,
|
|
1284
|
+
useFactory: (userSettingsThemeService) => userSettingsThemeService.restore(),
|
|
1285
|
+
deps: [UserSettingsThemeService],
|
|
1286
|
+
multi: true
|
|
1287
|
+
}
|
|
1288
|
+
];
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
let UserProfileDataSource = class UserProfileDataSource extends MethodDataSource {
|
|
1292
|
+
constructor(method) {
|
|
1293
|
+
super(method, true);
|
|
1294
|
+
}
|
|
1295
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserProfileDataSource, deps: [{ token: ProfileControllerGetRemoteMethod }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1296
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserProfileDataSource, providedIn: 'root' }); }
|
|
1297
|
+
};
|
|
1298
|
+
UserProfileDataSource = __decorate([
|
|
1299
|
+
RxapDataSource('user-profile'),
|
|
1300
|
+
__metadata("design:paramtypes", [ProfileControllerGetRemoteMethod])
|
|
1301
|
+
], UserProfileDataSource);
|
|
1302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserProfileDataSource, decorators: [{
|
|
1303
|
+
type: Injectable,
|
|
1304
|
+
args: [{ providedIn: 'root' }]
|
|
1305
|
+
}], ctorParameters: () => [{ type: ProfileControllerGetRemoteMethod, decorators: [{
|
|
1306
|
+
type: Inject,
|
|
1307
|
+
args: [ProfileControllerGetRemoteMethod]
|
|
1308
|
+
}] }] });
|
|
1309
|
+
|
|
1189
1310
|
let UserSettingsDarkModeDataSource = class UserSettingsDarkModeDataSource extends PipeDataSource {
|
|
1190
1311
|
constructor(dataSource) {
|
|
1191
1312
|
super(dataSource, map((settings) => settings.darkMode));
|
|
1192
1313
|
}
|
|
1193
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
1194
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
1314
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsDarkModeDataSource, deps: [{ token: UserSettingsDataSource }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1315
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsDarkModeDataSource, providedIn: 'root' }); }
|
|
1195
1316
|
};
|
|
1196
1317
|
UserSettingsDarkModeDataSource = __decorate([
|
|
1197
1318
|
RxapPipeDataSource({
|
|
@@ -1200,7 +1321,7 @@ UserSettingsDarkModeDataSource = __decorate([
|
|
|
1200
1321
|
}),
|
|
1201
1322
|
__metadata("design:paramtypes", [UserSettingsDataSource])
|
|
1202
1323
|
], UserSettingsDarkModeDataSource);
|
|
1203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
1324
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsDarkModeDataSource, decorators: [{
|
|
1204
1325
|
type: Injectable,
|
|
1205
1326
|
args: [{ providedIn: 'root' }]
|
|
1206
1327
|
}], ctorParameters: () => [{ type: UserSettingsDataSource, decorators: [{
|
|
@@ -1231,10 +1352,10 @@ class UserSettingsDarkModeService {
|
|
|
1231
1352
|
await this.enableUserSettingsDarkModeMethod.call();
|
|
1232
1353
|
this.userSettingsDarkModeDataSource.refresh();
|
|
1233
1354
|
}
|
|
1234
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
1235
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
1355
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsDarkModeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1356
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsDarkModeService, providedIn: 'root' }); }
|
|
1236
1357
|
}
|
|
1237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
1358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsDarkModeService, decorators: [{
|
|
1238
1359
|
type: Injectable,
|
|
1239
1360
|
args: [{ providedIn: 'root' }]
|
|
1240
1361
|
}] });
|
|
@@ -1243,8 +1364,8 @@ let UserSettingsLanguageDataSource = class UserSettingsLanguageDataSource extend
|
|
|
1243
1364
|
constructor(dataSource) {
|
|
1244
1365
|
super(dataSource, map((settings) => settings.language));
|
|
1245
1366
|
}
|
|
1246
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
1247
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
1367
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsLanguageDataSource, deps: [{ token: UserSettingsDataSource }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1368
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsLanguageDataSource, providedIn: 'root' }); }
|
|
1248
1369
|
};
|
|
1249
1370
|
UserSettingsLanguageDataSource = __decorate([
|
|
1250
1371
|
RxapPipeDataSource({
|
|
@@ -1253,7 +1374,7 @@ UserSettingsLanguageDataSource = __decorate([
|
|
|
1253
1374
|
}),
|
|
1254
1375
|
__metadata("design:paramtypes", [UserSettingsDataSource])
|
|
1255
1376
|
], UserSettingsLanguageDataSource);
|
|
1256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
1377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsLanguageDataSource, decorators: [{
|
|
1257
1378
|
type: Injectable,
|
|
1258
1379
|
args: [{ providedIn: 'root' }]
|
|
1259
1380
|
}], ctorParameters: () => [{ type: UserSettingsDataSource, decorators: [{
|
|
@@ -1285,103 +1406,10 @@ class UserSettingsLanguageService {
|
|
|
1285
1406
|
clearSetLanguageHook() {
|
|
1286
1407
|
this.setLanguageHook.clear();
|
|
1287
1408
|
}
|
|
1288
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
1289
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
1290
|
-
}
|
|
1291
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: UserSettingsLanguageService, decorators: [{
|
|
1292
|
-
type: Injectable,
|
|
1293
|
-
args: [{ providedIn: 'root' }]
|
|
1294
|
-
}] });
|
|
1295
|
-
|
|
1296
|
-
let UserSettingsThemeDataSource = class UserSettingsThemeDataSource extends PipeDataSource {
|
|
1297
|
-
constructor(dataSource) {
|
|
1298
|
-
super(dataSource, map((settings) => settings.theme));
|
|
1299
|
-
}
|
|
1300
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: UserSettingsThemeDataSource, deps: [{ token: UserSettingsDataSource }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1301
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: UserSettingsThemeDataSource, providedIn: 'root' }); }
|
|
1302
|
-
};
|
|
1303
|
-
UserSettingsThemeDataSource = __decorate([
|
|
1304
|
-
RxapPipeDataSource({
|
|
1305
|
-
id: 'user-settings-theme',
|
|
1306
|
-
refreshParent: true,
|
|
1307
|
-
}),
|
|
1308
|
-
__metadata("design:paramtypes", [UserSettingsDataSource])
|
|
1309
|
-
], UserSettingsThemeDataSource);
|
|
1310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: UserSettingsThemeDataSource, decorators: [{
|
|
1311
|
-
type: Injectable,
|
|
1312
|
-
args: [{ providedIn: 'root' }]
|
|
1313
|
-
}], ctorParameters: () => [{ type: UserSettingsDataSource, decorators: [{
|
|
1314
|
-
type: Inject,
|
|
1315
|
-
args: [UserSettingsDataSource]
|
|
1316
|
-
}] }] });
|
|
1317
|
-
|
|
1318
|
-
var ThemeDensity;
|
|
1319
|
-
(function (ThemeDensity) {
|
|
1320
|
-
ThemeDensity[ThemeDensity["Normal"] = 0] = "Normal";
|
|
1321
|
-
ThemeDensity[ThemeDensity["Compact"] = -1] = "Compact";
|
|
1322
|
-
ThemeDensity[ThemeDensity["Dense"] = -2] = "Dense";
|
|
1323
|
-
ThemeDensity[ThemeDensity["VeryDense"] = -3] = "VeryDense";
|
|
1324
|
-
})(ThemeDensity || (ThemeDensity = {}));
|
|
1325
|
-
function IsThemeDensity(value) {
|
|
1326
|
-
return Object.values(ThemeDensity).includes(value);
|
|
1327
|
-
}
|
|
1328
|
-
class UserSettingsThemeService {
|
|
1329
|
-
constructor() {
|
|
1330
|
-
this.getThemeMethod = inject(ThemeControllerGetRemoteMethod);
|
|
1331
|
-
this.setThemeMethod = inject(ThemeControllerSetRemoteMethod);
|
|
1332
|
-
this.setDensityMethod = inject(ThemeControllerSetDensityRemoteMethod);
|
|
1333
|
-
this.setPresetMethod = inject(ThemeControllerSetPresetRemoteMethod);
|
|
1334
|
-
this.setTypographyMethod = inject(ThemeControllerSetTypographyRemoteMethod);
|
|
1335
|
-
this.userSettingsThemeDataSource = inject(UserSettingsThemeDataSource);
|
|
1336
|
-
this.pubSub = inject(PubSubService);
|
|
1337
|
-
}
|
|
1338
|
-
async get() {
|
|
1339
|
-
return this.getThemeMethod.call();
|
|
1340
|
-
}
|
|
1341
|
-
async set(themeSettings) {
|
|
1342
|
-
await this.setThemeMethod.call({ requestBody: themeSettings });
|
|
1343
|
-
this.userSettingsThemeDataSource.refresh();
|
|
1344
|
-
}
|
|
1345
|
-
async setDensity(density) {
|
|
1346
|
-
await this.setDensityMethod.call({ requestBody: { value: density } });
|
|
1347
|
-
this.userSettingsThemeDataSource.refresh();
|
|
1348
|
-
}
|
|
1349
|
-
async setPreset(preset) {
|
|
1350
|
-
await this.setPresetMethod.call({ requestBody: { value: preset } });
|
|
1351
|
-
this.userSettingsThemeDataSource.refresh();
|
|
1352
|
-
}
|
|
1353
|
-
async setTypography(typography) {
|
|
1354
|
-
await this.setTypographyMethod.call({ requestBody: { value: typography } });
|
|
1355
|
-
this.userSettingsThemeDataSource.refresh();
|
|
1356
|
-
}
|
|
1357
|
-
async startSync() {
|
|
1358
|
-
if (this.syncSubscription) {
|
|
1359
|
-
return;
|
|
1360
|
-
}
|
|
1361
|
-
this.syncSubscription = new Subscription();
|
|
1362
|
-
this.syncSubscription.add(this.pubSub.subscribe('rxap.theme.density.change').pipe(debounceTime(1000), tap(async (event) => {
|
|
1363
|
-
if (IsThemeDensity(event.data)) {
|
|
1364
|
-
await this.setDensity(event.data);
|
|
1365
|
-
}
|
|
1366
|
-
})).subscribe());
|
|
1367
|
-
this.syncSubscription.add(this.pubSub.subscribe('rxap.theme.preset.change').pipe(debounceTime(1000), tap(async (event) => {
|
|
1368
|
-
if (typeof event.data === 'string') {
|
|
1369
|
-
await this.setPreset(event.data);
|
|
1370
|
-
}
|
|
1371
|
-
})).subscribe());
|
|
1372
|
-
this.syncSubscription.add(this.pubSub.subscribe('rxap.theme.typography.change').pipe(debounceTime(1000), tap(async (event) => {
|
|
1373
|
-
if (typeof event.data === 'string') {
|
|
1374
|
-
await this.setTypography(event.data);
|
|
1375
|
-
}
|
|
1376
|
-
})).subscribe());
|
|
1377
|
-
}
|
|
1378
|
-
stopSync() {
|
|
1379
|
-
this.syncSubscription?.unsubscribe();
|
|
1380
|
-
}
|
|
1381
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: UserSettingsThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1382
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: UserSettingsThemeService, providedIn: 'root' }); }
|
|
1409
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsLanguageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1410
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsLanguageService, providedIn: 'root' }); }
|
|
1383
1411
|
}
|
|
1384
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
1412
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsLanguageService, decorators: [{
|
|
1385
1413
|
type: Injectable,
|
|
1386
1414
|
args: [{ providedIn: 'root' }]
|
|
1387
1415
|
}] });
|
|
@@ -1399,10 +1427,10 @@ class UserSettingsService {
|
|
|
1399
1427
|
async get() {
|
|
1400
1428
|
return this.getUserSettingsMethod.call();
|
|
1401
1429
|
}
|
|
1402
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
1403
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
1430
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1431
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsService, providedIn: 'root' }); }
|
|
1404
1432
|
}
|
|
1405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
1433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: UserSettingsService, decorators: [{
|
|
1406
1434
|
type: Injectable,
|
|
1407
1435
|
args: [{ providedIn: 'root' }]
|
|
1408
1436
|
}] });
|
|
@@ -1414,5 +1442,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImpor
|
|
|
1414
1442
|
* Generated bundle index. Do not edit.
|
|
1415
1443
|
*/
|
|
1416
1444
|
|
|
1417
|
-
export { DarkModeControllerDisableRemoteMethod, DarkModeControllerEnableRemoteMethod, DarkModeControllerGetRemoteMethod, DarkModeControllerToggleRemoteMethod,
|
|
1445
|
+
export { DarkModeControllerDisableRemoteMethod, DarkModeControllerEnableRemoteMethod, DarkModeControllerGetRemoteMethod, DarkModeControllerToggleRemoteMethod, LanguageControllerGetRemoteMethod, LanguageControllerSetRemoteMethod, ProfileControllerGetRemoteMethod, SettingsControllerClearPropertyRemoteMethod, SettingsControllerDecrementPropertyRemoteMethod, SettingsControllerGetPropertyRemoteMethod, SettingsControllerGetRemoteMethod, SettingsControllerIncrementPropertyRemoteMethod, SettingsControllerPopPropertyRemoteMethod, SettingsControllerPushPropertyRemoteMethod, SettingsControllerRemoveAtPropertyRemoteMethod, SettingsControllerRemovePropertyRemoteMethod, SettingsControllerSetPropertyRemoteMethod, SettingsControllerSetRemoteMethod, SettingsControllerShiftPropertyRemoteMethod, SettingsControllerTogglePropertyRemoteMethod, SettingsControllerUnshiftPropertyRemoteMethod, ThemeControllerGetRemoteMethod, ThemeControllerSetDensityRemoteMethod, ThemeControllerSetPresetRemoteMethod, ThemeControllerSetRemoteMethod, ThemeControllerSetTypographyRemoteMethod, UserProfileDataSource, UserSettingsDarkModeDataSource, UserSettingsDarkModeService, UserSettingsDataSource, UserSettingsLanguageDataSource, UserSettingsLanguageService, UserSettingsService, UserSettingsThemeDataSource, UserSettingsThemeService, provideUserTheme };
|
|
1418
1446
|
//# sourceMappingURL=rxap-ngx-user.mjs.map
|