@wavemaker/angular-codegen 11.4.3-next.25756 → 11.4.3-next.25757

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.
@@ -77,6 +77,7 @@
77
77
  "./node_modules/@wavemaker/app-ng-runtime/scripts/swipey/swipey.jquery.plugin.js",
78
78
  "./node_modules/@wavemaker/app-ng-runtime/scripts/jquery.ui.touch-punch/jquery.ui.touch-punch.min.js",
79
79
  "./node_modules/moment/min/moment.min.js",
80
+ "./node_modules/moment-timezone/builds/moment-timezone.min.js",
80
81
  "./node_modules/fullcalendar/main.min.js",
81
82
  "./node_modules/summernote/dist/summernote-lite.min.js",
82
83
  "./node_modules/hammerjs/hammer.min.js",
@@ -176,6 +177,7 @@
176
177
  "./node_modules/jquery-ui/ui/widgets/droppable.js",
177
178
  "./libraries/scripts/datatable/datatable.js",
178
179
  "./node_modules/moment/min/moment.min.js",
180
+ "./node_modules/moment-timezone/builds/moment-timezone.min.js",
179
181
  "./node_modules/fullcalendar/main.min.js",
180
182
  "./node_modules/summernote/dist/summernote-lite.min.js",
181
183
  "./node_modules/hammerjs/hammer.min.js",
@@ -5960,9 +5960,9 @@
5960
5960
  }
5961
5961
  },
5962
5962
  "@wavemaker/variables": {
5963
- "version": "11.4.3-next.25756",
5964
- "resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.4.3-next.25756.tgz",
5965
- "integrity": "sha512-TfsLK4//Y2cePSDfZviXfg2bChDR6yzBygCjQZu0SXqZb2FPGnHEiWZjoZsIuY51UYKihe1Y2mdJjZY0QpS05w==",
5963
+ "version": "11.4.3-next.25757",
5964
+ "resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.4.3-next.25757.tgz",
5965
+ "integrity": "sha512-whF5soHkcc2frphI4aEdOy7yHrowvm+1m4XCDGc5xsaojcelXny1XxZ3NMEKRT8NgKEPYNDjiiOw2yrb+/FsTg==",
5966
5966
  "requires": {
5967
5967
  "@metrichor/jmespath": "^0.3.1",
5968
5968
  "he": "^1.2.0",
@@ -47,7 +47,7 @@
47
47
  "@metrichor/jmespath": "^0.3.1",
48
48
  "@wavemaker.com/nvd3": "1.0.0",
49
49
  "@wavemaker/focus-trap": "^1.0.0",
50
- "@wavemaker/variables": "11.4.3-next.25756",
50
+ "@wavemaker/variables": "11.4.3-next.25757",
51
51
  "@ztree/ztree_v3": "^3.5.48",
52
52
  "angular-imask": "6.0.4",
53
53
  "angular2-websocket": "0.9.7",
@@ -72,7 +72,7 @@
72
72
  "tslib": "^2.0.0",
73
73
  "x2js": "3.2.6",
74
74
  "zone.js": "~0.11.4",
75
- "@wavemaker/app-ng-runtime": "11.4.3-next.25756"
75
+ "@wavemaker/app-ng-runtime": "11.4.3-next.25757"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@ampproject/rollup-plugin-closure-compiler": "0.8.5",
@@ -46992,7 +46992,7 @@ const VALIDATOR = {
46992
46992
  EXCLUDEDAYS: 'excludedays'
46993
46993
  };
46994
46994
  const transformFileURI = (url) => {
46995
- if (url && hasCordova() && url.startsWith('file://')) {
46995
+ if (_.isString(url) && hasCordova() && url.startsWith('file://')) {
46996
46996
  if (isIos()) {
46997
46997
  return url.replace('file://', '/_app_file_');
46998
46998
  }
@@ -47873,7 +47873,9 @@ class StatePersistence {
47873
47873
  if (!_.get(parsedObj, [stateParam]) && !_.get(parsedObj, key)) {
47874
47874
  return;
47875
47875
  }
47876
- if (_.get(parsedObj, stateParam + '.' + key)) {
47876
+ // Fix for [WMS-24698]: when table is inside a prefab, state persistence key is like "TestLabel_11.TestLabel_1.staticVariable1Table1"
47877
+ // _.get(parsedObj, stateParam + '.' + key) is undefined so using (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key]) condition.
47878
+ if (_.get(parsedObj, stateParam + '.' + key) || (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key])) {
47877
47879
  if (subParam) {
47878
47880
  delete parsedObj[stateParam][key][subParam];
47879
47881
  }
@@ -43070,7 +43070,7 @@ const VALIDATOR = {
43070
43070
  EXCLUDEDAYS: 'excludedays'
43071
43071
  };
43072
43072
  const transformFileURI = (url) => {
43073
- if (url && hasCordova() && url.startsWith('file://')) {
43073
+ if (_.isString(url) && hasCordova() && url.startsWith('file://')) {
43074
43074
  if (isIos()) {
43075
43075
  return url.replace('file://', '/_app_file_');
43076
43076
  }
@@ -43951,7 +43951,9 @@ class StatePersistence {
43951
43951
  if (!_.get(parsedObj, [stateParam]) && !_.get(parsedObj, key)) {
43952
43952
  return;
43953
43953
  }
43954
- if (_.get(parsedObj, stateParam + '.' + key)) {
43954
+ // Fix for [WMS-24698]: when table is inside a prefab, state persistence key is like "TestLabel_11.TestLabel_1.staticVariable1Table1"
43955
+ // _.get(parsedObj, stateParam + '.' + key) is undefined so using (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key]) condition.
43956
+ if (_.get(parsedObj, stateParam + '.' + key) || (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key])) {
43955
43957
  if (subParam) {
43956
43958
  delete parsedObj[stateParam][key][subParam];
43957
43959
  }
@@ -43070,7 +43070,7 @@ const VALIDATOR = {
43070
43070
  EXCLUDEDAYS: 'excludedays'
43071
43071
  };
43072
43072
  const transformFileURI = (url) => {
43073
- if (url && hasCordova() && url.startsWith('file://')) {
43073
+ if (_.isString(url) && hasCordova() && url.startsWith('file://')) {
43074
43074
  if (isIos()) {
43075
43075
  return url.replace('file://', '/_app_file_');
43076
43076
  }
@@ -43951,7 +43951,9 @@ class StatePersistence {
43951
43951
  if (!_.get(parsedObj, [stateParam]) && !_.get(parsedObj, key)) {
43952
43952
  return;
43953
43953
  }
43954
- if (_.get(parsedObj, stateParam + '.' + key)) {
43954
+ // Fix for [WMS-24698]: when table is inside a prefab, state persistence key is like "TestLabel_11.TestLabel_1.staticVariable1Table1"
43955
+ // _.get(parsedObj, stateParam + '.' + key) is undefined so using (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key]) condition.
43956
+ if (_.get(parsedObj, stateParam + '.' + key) || (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key])) {
43955
43957
  if (subParam) {
43956
43958
  delete parsedObj[stateParam][key][subParam];
43957
43959
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/angular-codegen",
3
- "version": "11.4.3-next.25756",
3
+ "version": "11.4.3-next.25757",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {