@wavemaker-ai/app-ng-runtime 1.0.0-rc.322 → 1.0.0-rc.324

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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@wavemaker-ai/app-ng-runtime",
3
- "version": "1.0.0-rc.322",
3
+ "version": "1.0.0-rc.324",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@wavemaker-ai/app-ng-runtime",
9
- "version": "1.0.0-rc.322",
9
+ "version": "1.0.0-rc.324",
10
10
  "license": "MIT",
11
11
  "engines": {
12
12
  "node": ">=18.16.1",
package/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@wavemaker-ai/app-ng-runtime",
3
- "version": "1.0.0-rc.322",
3
+ "version": "1.0.0-rc.324",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@wavemaker-ai/app-ng-runtime",
9
- "version": "1.0.0-rc.322",
9
+ "version": "1.0.0-rc.324",
10
10
  "license": "MIT",
11
11
  "engines": {
12
12
  "node": ">=18.16.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker-ai/app-ng-runtime",
3
- "version": "1.0.0-rc.322",
3
+ "version": "1.0.0-rc.324",
4
4
  "description": "All modules required for a WaveMaker application.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -3801,10 +3801,10 @@
3801
3801
  else {
3802
3802
  this.bundleLoaded.fullCalendar = true;
3803
3803
  }
3804
- const promises = [this.loadAngularLocaleBundle(libLocale.angular)];
3805
- if (libLocale.angular) {
3806
- promises.push(this.loadAppLocaleBundle());
3807
- }
3804
+ const promises = [
3805
+ this.loadAngularLocaleBundle(libLocale.angular),
3806
+ this.loadAppLocaleBundle()
3807
+ ];
3808
3808
  return Promise.all(promises);
3809
3809
  }
3810
3810
  setTimezone(locale, compInstance) {
@@ -3943,7 +3943,10 @@
3943
3943
  }
3944
3944
  notifyLocaleChanged() {
3945
3945
  if (this.bundleLoaded.moment && this.bundleLoaded.fullCalendar && this.bundleLoaded.angular && this.bundleLoaded.app) {
3946
+ // Re-evaluate bind: expressions (dataset, caption, placeholder, etc.) against the updated appLocale.
3947
+ i1.$invokeWatchers(true);
3946
3948
  this.app.notify('locale-changed', this.bundleLoaded.libLocale);
3949
+ i1.$appDigest(true);
3947
3950
  }
3948
3951
  }
3949
3952
  static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0__namespace, type: I18nServiceImpl, deps: [{ token: i1$4__namespace.HttpClient }, { token: i2$1__namespace.BsLocaleService }, { token: i1__namespace.AppDefaults }, { token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
@@ -3903,10 +3903,10 @@ class I18nServiceImpl extends AbstractI18nService {
3903
3903
  else {
3904
3904
  this.bundleLoaded.fullCalendar = true;
3905
3905
  }
3906
- const promises = [this.loadAngularLocaleBundle(libLocale.angular)];
3907
- if (libLocale.angular) {
3908
- promises.push(this.loadAppLocaleBundle());
3909
- }
3906
+ const promises = [
3907
+ this.loadAngularLocaleBundle(libLocale.angular),
3908
+ this.loadAppLocaleBundle()
3909
+ ];
3910
3910
  return Promise.all(promises);
3911
3911
  }
3912
3912
  setTimezone(locale, compInstance) {
@@ -4045,7 +4045,10 @@ class I18nServiceImpl extends AbstractI18nService {
4045
4045
  }
4046
4046
  notifyLocaleChanged() {
4047
4047
  if (this.bundleLoaded.moment && this.bundleLoaded.fullCalendar && this.bundleLoaded.angular && this.bundleLoaded.app) {
4048
+ // Re-evaluate bind: expressions (dataset, caption, placeholder, etc.) against the updated appLocale.
4049
+ $invokeWatchers(true);
4048
4050
  this.app.notify('locale-changed', this.bundleLoaded.libLocale);
4051
+ $appDigest(true);
4049
4052
  }
4050
4053
  }
4051
4054
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: I18nServiceImpl, deps: [{ token: i1$4.HttpClient }, { token: i2$1.BsLocaleService }, { token: i1.AppDefaults }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }