@wavemaker/angular-codegen 11.15.5-rc.647771 → 11.15.5-rc.647878

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.
@@ -143164,7 +143164,7 @@ function requireMomentTimezone$1 () {
143164
143164
  hasRequiredMomentTimezone$1 = 1;
143165
143165
  (function (module) {
143166
143166
  //! moment-timezone.js
143167
- //! version : 0.6.5
143167
+ //! version : 0.6.6
143168
143168
  //! Copyright (c) JS Foundation and other contributors
143169
143169
  //! license : MIT
143170
143170
  //! github.com/moment/moment-timezone
@@ -143190,7 +143190,7 @@ function requireMomentTimezone$1 () {
143190
143190
  // return moment;
143191
143191
  // }
143192
143192
 
143193
- var VERSION = "0.6.5",
143193
+ var VERSION = "0.6.6",
143194
143194
  zones = {},
143195
143195
  links = {},
143196
143196
  countries = {},
@@ -143429,6 +143429,10 @@ function requireMomentTimezone$1 () {
143429
143429
  Current Timezone
143430
143430
  ************************************/
143431
143431
 
143432
+ function hasOwnProp(a, b) {
143433
+ return Object.prototype.hasOwnProperty.call(a, b);
143434
+ }
143435
+
143432
143436
  function OffsetAt(at) {
143433
143437
  var timeString = at.toTimeString();
143434
143438
  var abbr = timeString.match(/\([a-z ]+\)/i);
@@ -143541,12 +143545,12 @@ function requireMomentTimezone$1 () {
143541
143545
 
143542
143546
  for (i = 0; i < offsetsLength; i++) {
143543
143547
  offset = offsets[i].offset;
143544
- if (checkedOffsets.hasOwnProperty(offset)) {
143548
+ if (hasOwnProp(checkedOffsets, offset)) {
143545
143549
  continue;
143546
143550
  }
143547
143551
  guessesOffset = guesses[offset] || {};
143548
143552
  for (j in guessesOffset) {
143549
- if (guessesOffset.hasOwnProperty(j)) {
143553
+ if (hasOwnProp(guessesOffset, j)) {
143550
143554
  filteredGuesses[j] = true;
143551
143555
  }
143552
143556
  }
@@ -143554,7 +143558,7 @@ function requireMomentTimezone$1 () {
143554
143558
  }
143555
143559
 
143556
143560
  for (i in filteredGuesses) {
143557
- if (filteredGuesses.hasOwnProperty(i)) {
143561
+ if (hasOwnProp(filteredGuesses, i)) {
143558
143562
  out.push(names[i]);
143559
143563
  }
143560
143564
  }
@@ -143609,7 +143613,7 @@ function requireMomentTimezone$1 () {
143609
143613
  ************************************/
143610
143614
 
143611
143615
  function normalizeName (name) {
143612
- return (name || '').toLowerCase().replace(/\//g, '_');
143616
+ return (typeof name === 'string' ? name : '').toLowerCase().replace(/\//g, '_');
143613
143617
  }
143614
143618
 
143615
143619
  function addZone (packed) {
@@ -143633,7 +143637,7 @@ function requireMomentTimezone$1 () {
143633
143637
 
143634
143638
  name = normalizeName(name);
143635
143639
 
143636
- var zone = zones[name];
143640
+ var zone = hasOwnProp(zones, name) ? zones[name] : undefined;
143637
143641
  var link;
143638
143642
 
143639
143643
  if (zone instanceof Zone) {
@@ -143647,7 +143651,7 @@ function requireMomentTimezone$1 () {
143647
143651
  }
143648
143652
 
143649
143653
  // Pass getZone to prevent recursion more than 1 level deep
143650
- if (links[name] && caller !== getZone && (link = getZone(links[name], getZone))) {
143654
+ if (hasOwnProp(links, name) && caller !== getZone && (link = getZone(links[name], getZone))) {
143651
143655
  zone = zones[name] = new Zone();
143652
143656
  zone._set(link);
143653
143657
  zone.name = names[name];
@@ -143661,7 +143665,7 @@ function requireMomentTimezone$1 () {
143661
143665
  var i, out = [];
143662
143666
 
143663
143667
  for (i in names) {
143664
- if (names.hasOwnProperty(i) && (zones[i] || zones[links[i]]) && names[i]) {
143668
+ if (hasOwnProp(names, i) && (zones[i] || zones[links[i]]) && names[i]) {
143665
143669
  out.push(names[i]);
143666
143670
  }
143667
143671
  }
@@ -143709,8 +143713,9 @@ function requireMomentTimezone$1 () {
143709
143713
  }
143710
143714
 
143711
143715
  function getCountry (name) {
143716
+ if (typeof name !== 'string') return null;
143712
143717
  name = name.toUpperCase();
143713
- return countries[name] || null;
143718
+ return hasOwnProp(countries, name) ? countries[name] : null;
143714
143719
  }
143715
143720
 
143716
143721
  function zonesForCountry(country, with_offset) {
@@ -143763,7 +143768,7 @@ function requireMomentTimezone$1 () {
143763
143768
  return Object.getOwnPropertyNames(input).length > 0;
143764
143769
  }
143765
143770
  for (prop in input) {
143766
- if (Object.prototype.hasOwnProperty.call(input, prop)) {
143771
+ if (hasOwnProp(input, prop)) {
143767
143772
  return true;
143768
143773
  }
143769
143774
  }
@@ -200519,7 +200524,7 @@ function requireMomentTimezone () {
200519
200524
  hasRequiredMomentTimezone = 1;
200520
200525
  (function (module) {
200521
200526
  //! moment-timezone.js
200522
- //! version : 0.6.5
200527
+ //! version : 0.6.6
200523
200528
  //! Copyright (c) JS Foundation and other contributors
200524
200529
  //! license : MIT
200525
200530
  //! github.com/moment/moment-timezone
@@ -200545,7 +200550,7 @@ function requireMomentTimezone () {
200545
200550
  // return moment;
200546
200551
  // }
200547
200552
 
200548
- var VERSION = "0.6.5",
200553
+ var VERSION = "0.6.6",
200549
200554
  zones = {},
200550
200555
  links = {},
200551
200556
  countries = {},
@@ -200784,6 +200789,10 @@ function requireMomentTimezone () {
200784
200789
  Current Timezone
200785
200790
  ************************************/
200786
200791
 
200792
+ function hasOwnProp(a, b) {
200793
+ return Object.prototype.hasOwnProperty.call(a, b);
200794
+ }
200795
+
200787
200796
  function OffsetAt(at) {
200788
200797
  var timeString = at.toTimeString();
200789
200798
  var abbr = timeString.match(/\([a-z ]+\)/i);
@@ -200896,12 +200905,12 @@ function requireMomentTimezone () {
200896
200905
 
200897
200906
  for (i = 0; i < offsetsLength; i++) {
200898
200907
  offset = offsets[i].offset;
200899
- if (checkedOffsets.hasOwnProperty(offset)) {
200908
+ if (hasOwnProp(checkedOffsets, offset)) {
200900
200909
  continue;
200901
200910
  }
200902
200911
  guessesOffset = guesses[offset] || {};
200903
200912
  for (j in guessesOffset) {
200904
- if (guessesOffset.hasOwnProperty(j)) {
200913
+ if (hasOwnProp(guessesOffset, j)) {
200905
200914
  filteredGuesses[j] = true;
200906
200915
  }
200907
200916
  }
@@ -200909,7 +200918,7 @@ function requireMomentTimezone () {
200909
200918
  }
200910
200919
 
200911
200920
  for (i in filteredGuesses) {
200912
- if (filteredGuesses.hasOwnProperty(i)) {
200921
+ if (hasOwnProp(filteredGuesses, i)) {
200913
200922
  out.push(names[i]);
200914
200923
  }
200915
200924
  }
@@ -200964,7 +200973,7 @@ function requireMomentTimezone () {
200964
200973
  ************************************/
200965
200974
 
200966
200975
  function normalizeName (name) {
200967
- return (name || '').toLowerCase().replace(/\//g, '_');
200976
+ return (typeof name === 'string' ? name : '').toLowerCase().replace(/\//g, '_');
200968
200977
  }
200969
200978
 
200970
200979
  function addZone (packed) {
@@ -200988,7 +200997,7 @@ function requireMomentTimezone () {
200988
200997
 
200989
200998
  name = normalizeName(name);
200990
200999
 
200991
- var zone = zones[name];
201000
+ var zone = hasOwnProp(zones, name) ? zones[name] : undefined;
200992
201001
  var link;
200993
201002
 
200994
201003
  if (zone instanceof Zone) {
@@ -201002,7 +201011,7 @@ function requireMomentTimezone () {
201002
201011
  }
201003
201012
 
201004
201013
  // Pass getZone to prevent recursion more than 1 level deep
201005
- if (links[name] && caller !== getZone && (link = getZone(links[name], getZone))) {
201014
+ if (hasOwnProp(links, name) && caller !== getZone && (link = getZone(links[name], getZone))) {
201006
201015
  zone = zones[name] = new Zone();
201007
201016
  zone._set(link);
201008
201017
  zone.name = names[name];
@@ -201016,7 +201025,7 @@ function requireMomentTimezone () {
201016
201025
  var i, out = [];
201017
201026
 
201018
201027
  for (i in names) {
201019
- if (names.hasOwnProperty(i) && (zones[i] || zones[links[i]]) && names[i]) {
201028
+ if (hasOwnProp(names, i) && (zones[i] || zones[links[i]]) && names[i]) {
201020
201029
  out.push(names[i]);
201021
201030
  }
201022
201031
  }
@@ -201064,8 +201073,9 @@ function requireMomentTimezone () {
201064
201073
  }
201065
201074
 
201066
201075
  function getCountry (name) {
201076
+ if (typeof name !== 'string') return null;
201067
201077
  name = name.toUpperCase();
201068
- return countries[name] || null;
201078
+ return hasOwnProp(countries, name) ? countries[name] : null;
201069
201079
  }
201070
201080
 
201071
201081
  function zonesForCountry(country, with_offset) {
@@ -201118,7 +201128,7 @@ function requireMomentTimezone () {
201118
201128
  return Object.getOwnPropertyNames(input).length > 0;
201119
201129
  }
201120
201130
  for (prop in input) {
201121
- if (Object.prototype.hasOwnProperty.call(input, prop)) {
201131
+ if (hasOwnProp(input, prop)) {
201122
201132
  return true;
201123
201133
  }
201124
201134
  }
@@ -49692,7 +49692,7 @@ function requireMomentTimezone () {
49692
49692
  hasRequiredMomentTimezone = 1;
49693
49693
  (function (module) {
49694
49694
  //! moment-timezone.js
49695
- //! version : 0.6.5
49695
+ //! version : 0.6.6
49696
49696
  //! Copyright (c) JS Foundation and other contributors
49697
49697
  //! license : MIT
49698
49698
  //! github.com/moment/moment-timezone
@@ -49718,7 +49718,7 @@ function requireMomentTimezone () {
49718
49718
  // return moment;
49719
49719
  // }
49720
49720
 
49721
- var VERSION = "0.6.5",
49721
+ var VERSION = "0.6.6",
49722
49722
  zones = {},
49723
49723
  links = {},
49724
49724
  countries = {},
@@ -49957,6 +49957,10 @@ function requireMomentTimezone () {
49957
49957
  Current Timezone
49958
49958
  ************************************/
49959
49959
 
49960
+ function hasOwnProp(a, b) {
49961
+ return Object.prototype.hasOwnProperty.call(a, b);
49962
+ }
49963
+
49960
49964
  function OffsetAt(at) {
49961
49965
  var timeString = at.toTimeString();
49962
49966
  var abbr = timeString.match(/\([a-z ]+\)/i);
@@ -50069,12 +50073,12 @@ function requireMomentTimezone () {
50069
50073
 
50070
50074
  for (i = 0; i < offsetsLength; i++) {
50071
50075
  offset = offsets[i].offset;
50072
- if (checkedOffsets.hasOwnProperty(offset)) {
50076
+ if (hasOwnProp(checkedOffsets, offset)) {
50073
50077
  continue;
50074
50078
  }
50075
50079
  guessesOffset = guesses[offset] || {};
50076
50080
  for (j in guessesOffset) {
50077
- if (guessesOffset.hasOwnProperty(j)) {
50081
+ if (hasOwnProp(guessesOffset, j)) {
50078
50082
  filteredGuesses[j] = true;
50079
50083
  }
50080
50084
  }
@@ -50082,7 +50086,7 @@ function requireMomentTimezone () {
50082
50086
  }
50083
50087
 
50084
50088
  for (i in filteredGuesses) {
50085
- if (filteredGuesses.hasOwnProperty(i)) {
50089
+ if (hasOwnProp(filteredGuesses, i)) {
50086
50090
  out.push(names[i]);
50087
50091
  }
50088
50092
  }
@@ -50137,7 +50141,7 @@ function requireMomentTimezone () {
50137
50141
  ************************************/
50138
50142
 
50139
50143
  function normalizeName (name) {
50140
- return (name || '').toLowerCase().replace(/\//g, '_');
50144
+ return (typeof name === 'string' ? name : '').toLowerCase().replace(/\//g, '_');
50141
50145
  }
50142
50146
 
50143
50147
  function addZone (packed) {
@@ -50161,7 +50165,7 @@ function requireMomentTimezone () {
50161
50165
 
50162
50166
  name = normalizeName(name);
50163
50167
 
50164
- var zone = zones[name];
50168
+ var zone = hasOwnProp(zones, name) ? zones[name] : undefined;
50165
50169
  var link;
50166
50170
 
50167
50171
  if (zone instanceof Zone) {
@@ -50175,7 +50179,7 @@ function requireMomentTimezone () {
50175
50179
  }
50176
50180
 
50177
50181
  // Pass getZone to prevent recursion more than 1 level deep
50178
- if (links[name] && caller !== getZone && (link = getZone(links[name], getZone))) {
50182
+ if (hasOwnProp(links, name) && caller !== getZone && (link = getZone(links[name], getZone))) {
50179
50183
  zone = zones[name] = new Zone();
50180
50184
  zone._set(link);
50181
50185
  zone.name = names[name];
@@ -50189,7 +50193,7 @@ function requireMomentTimezone () {
50189
50193
  var i, out = [];
50190
50194
 
50191
50195
  for (i in names) {
50192
- if (names.hasOwnProperty(i) && (zones[i] || zones[links[i]]) && names[i]) {
50196
+ if (hasOwnProp(names, i) && (zones[i] || zones[links[i]]) && names[i]) {
50193
50197
  out.push(names[i]);
50194
50198
  }
50195
50199
  }
@@ -50237,8 +50241,9 @@ function requireMomentTimezone () {
50237
50241
  }
50238
50242
 
50239
50243
  function getCountry (name) {
50244
+ if (typeof name !== 'string') return null;
50240
50245
  name = name.toUpperCase();
50241
- return countries[name] || null;
50246
+ return hasOwnProp(countries, name) ? countries[name] : null;
50242
50247
  }
50243
50248
 
50244
50249
  function zonesForCountry(country, with_offset) {
@@ -50291,7 +50296,7 @@ function requireMomentTimezone () {
50291
50296
  return Object.getOwnPropertyNames(input).length > 0;
50292
50297
  }
50293
50298
  for (prop in input) {
50294
- if (Object.prototype.hasOwnProperty.call(input, prop)) {
50299
+ if (hasOwnProp(input, prop)) {
50295
50300
  return true;
50296
50301
  }
50297
50302
  }