@wavemaker/angular-codegen 11.2.0-next.140405 → 11.2.0-next.140406

Sign up to get free protection for your applications and to get access to all the features.
@@ -82,7 +82,9 @@
82
82
  "./node_modules/hammerjs/hammer.min.js",
83
83
  "./node_modules/iscroll/build/iscroll.js",
84
84
  "./node_modules/js-cookie/src/js.cookie.js",
85
- "./node_modules/jssha/dist/sha256.js"
85
+ "./node_modules/jssha/dist/sha256.js",
86
+ "./node_modules/tabbable/dist/index.min.js",
87
+ "./node_modules/@wavemaker/focus-trap/dist/focus-trap.min.js"
86
88
  ]
87
89
  },
88
90
  "configurations": {
@@ -177,7 +179,9 @@
177
179
  "./node_modules/hammerjs/hammer.min.js",
178
180
  "./node_modules/iscroll/build/iscroll.js",
179
181
  "./node_modules/js-cookie/src/js.cookie.js",
180
- "./node_modules/jssha/dist/sha256.js"
182
+ "./node_modules/jssha/dist/sha256.js",
183
+ "./node_modules/tabbable/dist/index.min.js",
184
+ "./node_modules/@wavemaker/focus-trap/dist/focus-trap.min.js"
181
185
  ],
182
186
  "aot": false,
183
187
  "vendorChunk": true,
@@ -5950,10 +5950,19 @@
5950
5950
  "resolved": "https://registry.npmjs.org/@wavemaker.com/nvd3/-/nvd3-1.0.0.tgz",
5951
5951
  "integrity": "sha512-KwdblvQbf0k51JYt1SJIhhkoQflWsOfgb6MVT9I/kDFpGmm5Z71PXOTNwOGnBFvuqGH6AJVQoM7StE0IK6OmXQ=="
5952
5952
  },
5953
+ "@wavemaker/focus-trap": {
5954
+ "version": "1.0.0",
5955
+ "resolved": "https://registry.npmjs.org/@wavemaker/focus-trap/-/focus-trap-1.0.0.tgz",
5956
+ "integrity": "sha512-ZGQxxL2gdF07h+1nyOzK0jO9QAduv74vBHH42GMV4uHjQvPfuWClwXQEtyBukkX5EXAuOLZNc5X4AWSvOsz0eA==",
5957
+ "requires": {
5958
+ "tabbable": "^6.0.1",
5959
+ "yarn": "^1.22.19"
5960
+ }
5961
+ },
5953
5962
  "@wavemaker/variables": {
5954
- "version": "11.2.0-next.140405",
5955
- "resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.2.0-next.140405.tgz",
5956
- "integrity": "sha512-DOdeamvDgsLQuq9eEtR1H1YsdmWhra71P8O924QIDs/nMPk+p7QW6L8b/on8REPfROYhtcG6vlozXkn7Q77FNw==",
5963
+ "version": "11.2.0-next.140406",
5964
+ "resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.2.0-next.140406.tgz",
5965
+ "integrity": "sha512-p5xTElpiuPZecAEVRWydS1oPw55VV1oVS07YrMfLdtfmj7nHaE8S+sdaHeoB1gHenCY3BGNQXzzorXxnfFA5NA==",
5957
5966
  "requires": {
5958
5967
  "@metrichor/jmespath": "^0.3.1",
5959
5968
  "lodash": "^4.17.21",
@@ -20375,6 +20384,11 @@
20375
20384
  "integrity": "sha512-b19dMThMV4HVFynSAM1++gBHAbk2Tc/osgLIBZMKsyqh34jb2e8Os7T6ZW/Bt3pJFdBTd2JwAnAAEQV7rSNvcQ==",
20376
20385
  "dev": true
20377
20386
  },
20387
+ "tabbable": {
20388
+ "version": "6.0.1",
20389
+ "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.0.1.tgz",
20390
+ "integrity": "sha512-SYJSIgeyXW7EuX1ytdneO5e8jip42oHWg9xl/o3oTYhmXusZVgiA+VlPvjIN+kHii9v90AmzTZEBcsEvuAY+TA=="
20391
+ },
20378
20392
  "tapable": {
20379
20393
  "version": "2.2.1",
20380
20394
  "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz",
@@ -23175,6 +23189,11 @@
23175
23189
  }
23176
23190
  }
23177
23191
  },
23192
+ "yarn": {
23193
+ "version": "1.22.19",
23194
+ "resolved": "https://registry.npmjs.org/yarn/-/yarn-1.22.19.tgz",
23195
+ "integrity": "sha512-/0V5q0WbslqnwP91tirOvldvYISzaqhClxzyUKXYxs07yUILIs5jx/k6CFe8bvKSkds5w+eiOqta39Wk3WxdcQ=="
23196
+ },
23178
23197
  "yauzl": {
23179
23198
  "version": "2.10.0",
23180
23199
  "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",
@@ -46,7 +46,8 @@
46
46
  "@awesome-cordova-plugins/vibration": "5.39.1",
47
47
  "@metrichor/jmespath": "^0.3.1",
48
48
  "@wavemaker.com/nvd3": "1.0.0",
49
- "@wavemaker/variables": "11.2.0-next.140405",
49
+ "@wavemaker/focus-trap": "^1.0.0",
50
+ "@wavemaker/variables": "11.2.0-next.140406",
50
51
  "angular-imask": "6.0.4",
51
52
  "angular2-websocket": "0.9.7",
52
53
  "core-js": "2.5.4",
@@ -70,7 +71,7 @@
70
71
  "tslib": "^2.0.0",
71
72
  "x2js": "3.2.6",
72
73
  "zone.js": "~0.11.4",
73
- "@wavemaker/app-ng-runtime": "11.2.0-next.140405"
74
+ "@wavemaker/app-ng-runtime": "11.2.0-next.140406"
74
75
  },
75
76
  "devDependencies": {
76
77
  "@ampproject/rollup-plugin-closure-compiler": "0.8.5",
@@ -69522,17 +69522,17 @@ ToDatePipe.ctorParameters = () => [
69522
69522
  { type: AbstractI18nService }
69523
69523
  ];
69524
69524
  class ToNumberPipe {
69525
- constructor(decimalPipe, i18Service) {
69525
+ constructor(decimalPipe, i18nService) {
69526
69526
  this.decimalPipe = decimalPipe;
69527
- this.i18Service = i18Service;
69527
+ this.i18nService = i18nService;
69528
69528
  }
69529
69529
  transform(data, fracSize) {
69530
69530
  if (fracSize && !String(fracSize).match(/^(\d+)?\.((\d+)(-(\d+))?)?$/)) {
69531
69531
  fracSize = '1.' + fracSize + '-' + fracSize;
69532
69532
  }
69533
69533
  if (!_.isNaN(+data)) {
69534
- const locale = this.i18Service.getwidgetLocale() ? this.i18Service.getwidgetLocale() : undefined;
69535
- const formattedLocale = locale ? locale['number'] : undefined;
69534
+ const locale = this.i18nService && this.i18nService.getwidgetLocale() ? this.i18nService.getwidgetLocale() : undefined;
69535
+ const formattedLocale = locale ? locale['number'] : null;
69536
69536
  return this.decimalPipe.transform(data, fracSize, formattedLocale);
69537
69537
  }
69538
69538
  }
@@ -69547,13 +69547,13 @@ ToNumberPipe.ctorParameters = () => [
69547
69547
  { type: AbstractI18nService, decorators: [{ type: Inject$1, args: [AbstractI18nService,] }] }
69548
69548
  ];
69549
69549
  class ToCurrencyPipe {
69550
- constructor(decimalPipe, i18Service) {
69550
+ constructor(decimalPipe, i18nService) {
69551
69551
  this.decimalPipe = decimalPipe;
69552
- this.i18Service = i18Service;
69552
+ this.i18nService = i18nService;
69553
69553
  }
69554
69554
  transform(data, currencySymbol, fracSize) {
69555
69555
  const _currencySymbol = (CURRENCY_INFO[currencySymbol] || {}).symbol || currencySymbol || '';
69556
- let _val = new ToNumberPipe(this.decimalPipe, this.i18Service).transform(data, fracSize);
69556
+ let _val = new ToNumberPipe(this.decimalPipe, this.i18nService).transform(data, fracSize);
69557
69557
  const isNegativeNumber = _.startsWith(_val, '-');
69558
69558
  if (isNegativeNumber) {
69559
69559
  _val = _val.replace('-', '');
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/angular-codegen",
3
- "version": "11.2.0-next.140405",
3
+ "version": "11.2.0-next.140406",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {