@wavemaker/app-ng-runtime 12.0.0-next.1417146 → 12.0.0-next.1417152
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.
- app-ng-runtime/components/chart/bundles/index.umd.js +1 -1
- app-ng-runtime/components/chart/esm2022/chart.utils.mjs +2 -2
- app-ng-runtime/components/chart/fesm2022/index.mjs +1 -1
- app-ng-runtime/components/chart/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +1 -0
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +4 -0
- app-ng-runtime/components/input/epoch/esm2022/base-date-time.component.mjs +4 -1
- app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +2 -1
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +4 -0
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/bundles/index.umd.js +11 -8
- app-ng-runtime/core/esm2022/services/custom-icons-loader.service.mjs +9 -10
- app-ng-runtime/core/esm2022/utils/utils.mjs +4 -1
- app-ng-runtime/core/fesm2022/index.mjs +11 -8
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/utils/utils.d.ts +1 -0
- app-ng-runtime/mobile/runtime/bundles/index.umd.js +1 -1
- app-ng-runtime/mobile/runtime/esm2022/services/http-interceptor.service.mjs +3 -3
- app-ng-runtime/mobile/runtime/fesm2022/index.mjs +2 -2
- app-ng-runtime/mobile/runtime/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/dynamic/app/app.module.d.ts +0 -2
- app-ng-runtime/runtime/dynamic/app/xsrfconfig.module.d.ts +9 -0
- app-ng-runtime/runtime/dynamic/bundles/index.umd.js +47 -13
- app-ng-runtime/runtime/dynamic/esm2022/app/app.module.mjs +6 -15
- app-ng-runtime/runtime/dynamic/esm2022/app/xsrfconfig.module.mjs +49 -0
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +51 -15
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/security/bundles/index.umd.js +5 -0
- app-ng-runtime/security/esm2022/security.service.mjs +6 -1
- app-ng-runtime/security/fesm2022/index.mjs +5 -0
- app-ng-runtime/security/fesm2022/index.mjs.map +1 -1
|
@@ -3821,6 +3821,9 @@
|
|
|
3821
3821
|
return findViewParent(parentlView);
|
|
3822
3822
|
}*/
|
|
3823
3823
|
};
|
|
3824
|
+
const getFontConfig = () => {
|
|
3825
|
+
return _WM_APP_PROPERTIES.fontConfig ? _WM_APP_PROPERTIES.fontConfig : {};
|
|
3826
|
+
};
|
|
3824
3827
|
/*export const getParent = (parent: any) => {
|
|
3825
3828
|
if(parent.hasOwnProperty("isDynamicComponent") || parent.hasOwnProperty("isPageComponent")) {
|
|
3826
3829
|
return parent
|
|
@@ -3868,6 +3871,7 @@
|
|
|
3868
3871
|
getDisplayDateTimeFormat: getDisplayDateTimeFormat,
|
|
3869
3872
|
getEvaluatedExprValue: getEvaluatedExprValue,
|
|
3870
3873
|
getFiles: getFiles,
|
|
3874
|
+
getFontConfig: getFontConfig,
|
|
3871
3875
|
getFormattedDate: getFormattedDate,
|
|
3872
3876
|
getMomentLocaleObject: getMomentLocaleObject,
|
|
3873
3877
|
getNativeDateObject: getNativeDateObject,
|
|
@@ -4308,14 +4312,13 @@
|
|
|
4308
4312
|
this.http = i0.inject(i1.HttpClient);
|
|
4309
4313
|
}
|
|
4310
4314
|
load() {
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
}, (error) => { });
|
|
4315
|
+
let fontConfig = getFontConfig();
|
|
4316
|
+
const cssPaths = [], regex = /"csspath":\s*"([^"]+)"/g;
|
|
4317
|
+
let match;
|
|
4318
|
+
while ((match = regex.exec(fontConfig)) !== null) {
|
|
4319
|
+
cssPaths.push(match[1]);
|
|
4320
|
+
}
|
|
4321
|
+
loadStyleSheets(cssPaths);
|
|
4319
4322
|
}
|
|
4320
4323
|
static { this.ɵfac = function CustomIconsLoaderService_Factory(t) { return new (t || CustomIconsLoaderService)(); }; }
|
|
4321
4324
|
static { this.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: CustomIconsLoaderService, factory: CustomIconsLoaderService.ɵfac, providedIn: 'root' }); }
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { inject, Injectable } from '@angular/core';
|
|
2
2
|
import { HttpClient } from '@angular/common/http';
|
|
3
|
-
import { loadStyleSheets } from "../utils/utils";
|
|
3
|
+
import { getFontConfig, loadStyleSheets } from "../utils/utils";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export class CustomIconsLoaderService {
|
|
6
6
|
constructor() {
|
|
7
7
|
this.http = inject(HttpClient);
|
|
8
8
|
}
|
|
9
9
|
load() {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}, (error) => { });
|
|
10
|
+
let fontConfig = getFontConfig();
|
|
11
|
+
const cssPaths = [], regex = /"csspath":\s*"([^"]+)"/g;
|
|
12
|
+
let match;
|
|
13
|
+
while ((match = regex.exec(fontConfig)) !== null) {
|
|
14
|
+
cssPaths.push(match[1]);
|
|
15
|
+
}
|
|
16
|
+
loadStyleSheets(cssPaths);
|
|
18
17
|
}
|
|
19
18
|
static { this.ɵfac = function CustomIconsLoaderService_Factory(t) { return new (t || CustomIconsLoaderService)(); }; }
|
|
20
19
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CustomIconsLoaderService, factory: CustomIconsLoaderService.ɵfac, providedIn: 'root' }); }
|
|
@@ -23,4 +22,4 @@ export class CustomIconsLoaderService {
|
|
|
23
22
|
type: Injectable,
|
|
24
23
|
args: [{ providedIn: 'root' }]
|
|
25
24
|
}], null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