@wavemaker/app-ng-runtime 11.4.3-next.25756 → 11.4.3-next.25758

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 (40) hide show
  1. app-ng-runtime/components/input/calendar/bundles/index.umd.js +11 -1
  2. app-ng-runtime/components/input/calendar/bundles/index.umd.js.map +1 -1
  3. app-ng-runtime/components/input/calendar/calendar.component.d.ts +4 -2
  4. app-ng-runtime/components/input/calendar/esm2015/calendar.component.js +12 -2
  5. app-ng-runtime/components/input/calendar/fesm2015/index.js +11 -1
  6. app-ng-runtime/components/input/calendar/fesm2015/index.js.map +1 -1
  7. app-ng-runtime/components/input/calendar/index.metadata.json +1 -1
  8. app-ng-runtime/components/input/default/bundles/index.umd.js +9 -3
  9. app-ng-runtime/components/input/default/bundles/index.umd.js.map +1 -1
  10. app-ng-runtime/components/input/default/dataset-aware-form.component.d.ts +4 -2
  11. app-ng-runtime/components/input/default/esm2015/base-form-custom.component.js +2 -4
  12. app-ng-runtime/components/input/default/esm2015/dataset-aware-form.component.js +9 -1
  13. app-ng-runtime/components/input/default/fesm2015/index.js +9 -3
  14. app-ng-runtime/components/input/default/fesm2015/index.js.map +1 -1
  15. app-ng-runtime/components/input/default/index.metadata.json +1 -1
  16. app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +1 -0
  17. app-ng-runtime/components/input/epoch/bundles/index.umd.js +21 -23
  18. app-ng-runtime/components/input/epoch/bundles/index.umd.js.map +1 -1
  19. app-ng-runtime/components/input/epoch/esm2015/base-date-time.component.js +17 -19
  20. app-ng-runtime/components/input/epoch/esm2015/date/date.component.js +2 -2
  21. app-ng-runtime/components/input/epoch/esm2015/date-time/date-time-picker.component.js +10 -10
  22. app-ng-runtime/components/input/epoch/esm2015/date-time/date-time.component.js +2 -2
  23. app-ng-runtime/components/input/epoch/esm2015/time/time.component.js +2 -2
  24. app-ng-runtime/components/input/epoch/fesm2015/index.js +28 -30
  25. app-ng-runtime/components/input/epoch/fesm2015/index.js.map +1 -1
  26. app-ng-runtime/components/input/epoch/index.metadata.json +1 -1
  27. app-ng-runtime/core/bundles/index.umd.js +4 -2
  28. app-ng-runtime/core/bundles/index.umd.js.map +1 -1
  29. app-ng-runtime/core/esm2015/services/state-persistence.service.js +4 -2
  30. app-ng-runtime/core/esm2015/utils/utils.js +2 -2
  31. app-ng-runtime/core/fesm2015/index.js +4 -2
  32. app-ng-runtime/core/fesm2015/index.js.map +1 -1
  33. app-ng-runtime/package.json +1 -1
  34. app-ng-runtime/runtime/base/bundles/index.umd.js +35 -2
  35. app-ng-runtime/runtime/base/bundles/index.umd.js.map +1 -1
  36. app-ng-runtime/runtime/base/esm2015/services/i18n.service.js +35 -3
  37. app-ng-runtime/runtime/base/fesm2015/index.js +34 -2
  38. app-ng-runtime/runtime/base/fesm2015/index.js.map +1 -1
  39. app-ng-runtime/runtime/base/index.metadata.json +1 -1
  40. app-ng-runtime/runtime/base/services/i18n.service.d.ts +2 -0
@@ -3745,7 +3745,7 @@ const VALIDATOR = {
3745
3745
  EXCLUDEDAYS: 'excludedays'
3746
3746
  };
3747
3747
  const transformFileURI = (url) => {
3748
- if (url && hasCordova() && url.startsWith('file://')) {
3748
+ if (_.isString(url) && hasCordova() && url.startsWith('file://')) {
3749
3749
  if (isIos()) {
3750
3750
  return url.replace('file://', '/_app_file_');
3751
3751
  }
@@ -4628,7 +4628,9 @@ class StatePersistence {
4628
4628
  if (!_.get(parsedObj, [stateParam]) && !_.get(parsedObj, key)) {
4629
4629
  return;
4630
4630
  }
4631
- if (_.get(parsedObj, stateParam + '.' + key)) {
4631
+ // Fix for [WMS-24698]: when table is inside a prefab, state persistence key is like "TestLabel_11.TestLabel_1.staticVariable1Table1"
4632
+ // _.get(parsedObj, stateParam + '.' + key) is undefined so using (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key]) condition.
4633
+ if (_.get(parsedObj, stateParam + '.' + key) || (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key])) {
4632
4634
  if (subParam) {
4633
4635
  delete parsedObj[stateParam][key][subParam];
4634
4636
  }