@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.
Files changed (32) hide show
  1. app-ng-runtime/components/chart/bundles/index.umd.js +1 -1
  2. app-ng-runtime/components/chart/esm2022/chart.utils.mjs +2 -2
  3. app-ng-runtime/components/chart/fesm2022/index.mjs +1 -1
  4. app-ng-runtime/components/chart/fesm2022/index.mjs.map +1 -1
  5. app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +1 -0
  6. app-ng-runtime/components/input/epoch/bundles/index.umd.js +4 -0
  7. app-ng-runtime/components/input/epoch/esm2022/base-date-time.component.mjs +4 -1
  8. app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +2 -1
  9. app-ng-runtime/components/input/epoch/fesm2022/index.mjs +4 -0
  10. app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
  11. app-ng-runtime/core/bundles/index.umd.js +11 -8
  12. app-ng-runtime/core/esm2022/services/custom-icons-loader.service.mjs +9 -10
  13. app-ng-runtime/core/esm2022/utils/utils.mjs +4 -1
  14. app-ng-runtime/core/fesm2022/index.mjs +11 -8
  15. app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
  16. app-ng-runtime/core/utils/utils.d.ts +1 -0
  17. app-ng-runtime/mobile/runtime/bundles/index.umd.js +1 -1
  18. app-ng-runtime/mobile/runtime/esm2022/services/http-interceptor.service.mjs +3 -3
  19. app-ng-runtime/mobile/runtime/fesm2022/index.mjs +2 -2
  20. app-ng-runtime/mobile/runtime/fesm2022/index.mjs.map +1 -1
  21. app-ng-runtime/package.json +1 -1
  22. app-ng-runtime/runtime/dynamic/app/app.module.d.ts +0 -2
  23. app-ng-runtime/runtime/dynamic/app/xsrfconfig.module.d.ts +9 -0
  24. app-ng-runtime/runtime/dynamic/bundles/index.umd.js +47 -13
  25. app-ng-runtime/runtime/dynamic/esm2022/app/app.module.mjs +6 -15
  26. app-ng-runtime/runtime/dynamic/esm2022/app/xsrfconfig.module.mjs +49 -0
  27. app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +51 -15
  28. app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
  29. app-ng-runtime/security/bundles/index.umd.js +5 -0
  30. app-ng-runtime/security/esm2022/security.service.mjs +6 -1
  31. app-ng-runtime/security/fesm2022/index.mjs +5 -0
  32. app-ng-runtime/security/fesm2022/index.mjs.map +1 -1
@@ -3815,6 +3815,9 @@ const findViewParent = (lView) => {
3815
3815
  return findViewParent(parentlView);
3816
3816
  }*/
3817
3817
  };
3818
+ const getFontConfig = () => {
3819
+ return _WM_APP_PROPERTIES.fontConfig ? _WM_APP_PROPERTIES.fontConfig : {};
3820
+ };
3818
3821
  /*export const getParent = (parent: any) => {
3819
3822
  if(parent.hasOwnProperty("isDynamicComponent") || parent.hasOwnProperty("isPageComponent")) {
3820
3823
  return parent
@@ -3862,6 +3865,7 @@ var Utils = /*#__PURE__*/Object.freeze({
3862
3865
  getDisplayDateTimeFormat: getDisplayDateTimeFormat,
3863
3866
  getEvaluatedExprValue: getEvaluatedExprValue,
3864
3867
  getFiles: getFiles,
3868
+ getFontConfig: getFontConfig,
3865
3869
  getFormattedDate: getFormattedDate,
3866
3870
  getMomentLocaleObject: getMomentLocaleObject,
3867
3871
  getNativeDateObject: getNativeDateObject,
@@ -4306,14 +4310,13 @@ class CustomIconsLoaderService {
4306
4310
  this.http = inject(HttpClient);
4307
4311
  }
4308
4312
  load() {
4309
- this.http.get('./font.config.js', { responseType: 'text' }).subscribe((fontConfig) => {
4310
- const cssPaths = [], regex = /"csspath":\s*"([^"]+)"/g;
4311
- let match;
4312
- while ((match = regex.exec(fontConfig)) !== null) {
4313
- cssPaths.push(match[1]);
4314
- }
4315
- loadStyleSheets(cssPaths);
4316
- }, (error) => { });
4313
+ let fontConfig = getFontConfig();
4314
+ const cssPaths = [], regex = /"csspath":\s*"([^"]+)"/g;
4315
+ let match;
4316
+ while ((match = regex.exec(fontConfig)) !== null) {
4317
+ cssPaths.push(match[1]);
4318
+ }
4319
+ loadStyleSheets(cssPaths);
4317
4320
  }
4318
4321
  static { this.ɵfac = function CustomIconsLoaderService_Factory(t) { return new (t || CustomIconsLoaderService)(); }; }
4319
4322
  static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CustomIconsLoaderService, factory: CustomIconsLoaderService.ɵfac, providedIn: 'root' }); }