@wavemaker/angular-codegen 11.2.0-rc.5203 → 11.2.0-rc.5204

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,
@@ -5840,6 +5840,15 @@
5840
5840
  "resolved": "https://registry.npmjs.org/@wavemaker.com/nvd3/-/nvd3-1.0.0.tgz",
5841
5841
  "integrity": "sha512-KwdblvQbf0k51JYt1SJIhhkoQflWsOfgb6MVT9I/kDFpGmm5Z71PXOTNwOGnBFvuqGH6AJVQoM7StE0IK6OmXQ=="
5842
5842
  },
5843
+ "@wavemaker/focus-trap": {
5844
+ "version": "1.0.0",
5845
+ "resolved": "https://registry.npmjs.org/@wavemaker/focus-trap/-/focus-trap-1.0.0.tgz",
5846
+ "integrity": "sha512-ZGQxxL2gdF07h+1nyOzK0jO9QAduv74vBHH42GMV4uHjQvPfuWClwXQEtyBukkX5EXAuOLZNc5X4AWSvOsz0eA==",
5847
+ "requires": {
5848
+ "tabbable": "^6.0.1",
5849
+ "yarn": "^1.22.19"
5850
+ }
5851
+ },
5843
5852
  "@webassemblyjs/ast": {
5844
5853
  "version": "1.9.0",
5845
5854
  "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz",
@@ -19866,6 +19875,11 @@
19866
19875
  "integrity": "sha512-b19dMThMV4HVFynSAM1++gBHAbk2Tc/osgLIBZMKsyqh34jb2e8Os7T6ZW/Bt3pJFdBTd2JwAnAAEQV7rSNvcQ==",
19867
19876
  "dev": true
19868
19877
  },
19878
+ "tabbable": {
19879
+ "version": "6.0.1",
19880
+ "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.0.1.tgz",
19881
+ "integrity": "sha512-SYJSIgeyXW7EuX1ytdneO5e8jip42oHWg9xl/o3oTYhmXusZVgiA+VlPvjIN+kHii9v90AmzTZEBcsEvuAY+TA=="
19882
+ },
19869
19883
  "tapable": {
19870
19884
  "version": "2.2.1",
19871
19885
  "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz",
@@ -22611,6 +22625,11 @@
22611
22625
  }
22612
22626
  }
22613
22627
  },
22628
+ "yarn": {
22629
+ "version": "1.22.19",
22630
+ "resolved": "https://registry.npmjs.org/yarn/-/yarn-1.22.19.tgz",
22631
+ "integrity": "sha512-/0V5q0WbslqnwP91tirOvldvYISzaqhClxzyUKXYxs07yUILIs5jx/k6CFe8bvKSkds5w+eiOqta39Wk3WxdcQ=="
22632
+ },
22614
22633
  "yn": {
22615
22634
  "version": "3.1.1",
22616
22635
  "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz",
@@ -45,6 +45,7 @@
45
45
  "@awesome-cordova-plugins/vibration": "5.39.1",
46
46
  "@metrichor/jmespath": "^0.3.1",
47
47
  "@wavemaker.com/nvd3": "1.0.0",
48
+ "@wavemaker/focus-trap": "^1.0.0",
48
49
  "angular-imask": "6.0.4",
49
50
  "angular2-websocket": "0.9.7",
50
51
  "core-js": "2.5.4",
@@ -68,7 +69,7 @@
68
69
  "tslib": "^2.0.0",
69
70
  "x2js": "3.2.6",
70
71
  "zone.js": "~0.11.4",
71
- "@wavemaker/app-ng-runtime": "11.2.0-rc.5203"
72
+ "@wavemaker/app-ng-runtime": "11.2.0-rc.5204"
72
73
  },
73
74
  "devDependencies": {
74
75
  "@ampproject/rollup-plugin-closure-compiler": "0.8.5",
@@ -44970,14 +44970,14 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
44970
44970
 
44971
44971
  const carouselTagName = 'carousel';
44972
44972
  const dataSetKey$5 = 'dataset';
44973
- const idGen$q = new IDGenerator('wm_carousel_ref_');
44973
+ const idGen$r = new IDGenerator('wm_carousel_ref_');
44974
44974
  const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
44975
44975
  const ɵ0$d$1 = isDynamicCarousel;
44976
44976
  register('wm-carousel', () => {
44977
44977
  return {
44978
44978
  pre: (attrs, shared) => {
44979
44979
  // generating unique Id for the carousel
44980
- const counter = idGen$q.nextUid();
44980
+ const counter = idGen$r.nextUid();
44981
44981
  shared.set('carousel_ref', counter);
44982
44982
  return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
44983
44983
  },
@@ -45078,11 +45078,11 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
45078
45078
  });
45079
45079
 
45080
45080
  const tagName$1A = 'a';
45081
- const idGen$p = new IDGenerator('wm_anchor');
45081
+ const idGen$q = new IDGenerator('wm_anchor');
45082
45082
  register('wm-anchor', () => {
45083
45083
  return {
45084
45084
  pre: (attrs) => {
45085
- const counter = idGen$p.nextUid();
45085
+ const counter = idGen$q.nextUid();
45086
45086
  return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.hint || ${counter}.caption || 'Link'" ${getAttrMarkup(attrs)}>`;
45087
45087
  },
45088
45088
  post: () => `</${tagName$1A}>`
@@ -45110,11 +45110,11 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
45110
45110
  });
45111
45111
 
45112
45112
  const tagName$1y = 'div';
45113
- const idGen$o = new IDGenerator('wm_html');
45113
+ const idGen$p = new IDGenerator('wm_html');
45114
45114
  register('wm-html', () => {
45115
45115
  return {
45116
45116
  pre: (attrs) => {
45117
- const counter = idGen$o.nextUid();
45117
+ const counter = idGen$p.nextUid();
45118
45118
  return `<${tagName$1y} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
45119
45119
  },
45120
45120
  post: () => `</${tagName$1y}>`
@@ -45156,10 +45156,12 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
45156
45156
  });
45157
45157
 
45158
45158
  const tagName$1v = 'label';
45159
+ const idGen$o = new IDGenerator('wm_label');
45159
45160
  register('wm-label', () => {
45160
45161
  return {
45161
45162
  pre: (attrs) => {
45162
- return `<${tagName$1v} wmLabel ${getAttrMarkup(attrs)}>`;
45163
+ const counter = idGen$o.nextUid();
45164
+ return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
45163
45165
  },
45164
45166
  post: () => `</${tagName$1v}>`
45165
45167
  };
@@ -44970,14 +44970,14 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
44970
44970
 
44971
44971
  const carouselTagName = 'carousel';
44972
44972
  const dataSetKey$5 = 'dataset';
44973
- const idGen$q = new IDGenerator('wm_carousel_ref_');
44973
+ const idGen$r = new IDGenerator('wm_carousel_ref_');
44974
44974
  const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
44975
44975
  const ɵ0$d$1 = isDynamicCarousel;
44976
44976
  register('wm-carousel', () => {
44977
44977
  return {
44978
44978
  pre: (attrs, shared) => {
44979
44979
  // generating unique Id for the carousel
44980
- const counter = idGen$q.nextUid();
44980
+ const counter = idGen$r.nextUid();
44981
44981
  shared.set('carousel_ref', counter);
44982
44982
  return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
44983
44983
  },
@@ -45078,11 +45078,11 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
45078
45078
  });
45079
45079
 
45080
45080
  const tagName$1A = 'a';
45081
- const idGen$p = new IDGenerator('wm_anchor');
45081
+ const idGen$q = new IDGenerator('wm_anchor');
45082
45082
  register('wm-anchor', () => {
45083
45083
  return {
45084
45084
  pre: (attrs) => {
45085
- const counter = idGen$p.nextUid();
45085
+ const counter = idGen$q.nextUid();
45086
45086
  return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.hint || ${counter}.caption || 'Link'" ${getAttrMarkup(attrs)}>`;
45087
45087
  },
45088
45088
  post: () => `</${tagName$1A}>`
@@ -45110,11 +45110,11 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
45110
45110
  });
45111
45111
 
45112
45112
  const tagName$1y = 'div';
45113
- const idGen$o = new IDGenerator('wm_html');
45113
+ const idGen$p = new IDGenerator('wm_html');
45114
45114
  register('wm-html', () => {
45115
45115
  return {
45116
45116
  pre: (attrs) => {
45117
- const counter = idGen$o.nextUid();
45117
+ const counter = idGen$p.nextUid();
45118
45118
  return `<${tagName$1y} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
45119
45119
  },
45120
45120
  post: () => `</${tagName$1y}>`
@@ -45156,10 +45156,12 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
45156
45156
  });
45157
45157
 
45158
45158
  const tagName$1v = 'label';
45159
+ const idGen$o = new IDGenerator('wm_label');
45159
45160
  register('wm-label', () => {
45160
45161
  return {
45161
45162
  pre: (attrs) => {
45162
- return `<${tagName$1v} wmLabel ${getAttrMarkup(attrs)}>`;
45163
+ const counter = idGen$o.nextUid();
45164
+ return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
45163
45165
  },
45164
45166
  post: () => `</${tagName$1v}>`
45165
45167
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/angular-codegen",
3
- "version": "11.2.0-rc.5203",
3
+ "version": "11.2.0-rc.5204",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {