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

Sign up to get free protection for your applications and to get access to all the features.
@@ -68,7 +68,7 @@
68
68
  "tslib": "^2.0.0",
69
69
  "x2js": "3.2.6",
70
70
  "zone.js": "~0.11.4",
71
- "@wavemaker/app-ng-runtime": "11.2.0-rc.5195"
71
+ "@wavemaker/app-ng-runtime": "11.2.0-rc.5203"
72
72
  },
73
73
  "devDependencies": {
74
74
  "@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$r = new IDGenerator('wm_carousel_ref_');
44973
+ const idGen$q = 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$r.nextUid();
44980
+ const counter = idGen$q.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$q = new IDGenerator('wm_anchor');
45081
+ const idGen$p = new IDGenerator('wm_anchor');
45082
45082
  register('wm-anchor', () => {
45083
45083
  return {
45084
45084
  pre: (attrs) => {
45085
- const counter = idGen$q.nextUid();
45085
+ const counter = idGen$p.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$p = new IDGenerator('wm_html');
45113
+ const idGen$o = new IDGenerator('wm_html');
45114
45114
  register('wm-html', () => {
45115
45115
  return {
45116
45116
  pre: (attrs) => {
45117
- const counter = idGen$p.nextUid();
45117
+ const counter = idGen$o.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,12 +45156,10 @@ 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');
45160
45159
  register('wm-label', () => {
45161
45160
  return {
45162
45161
  pre: (attrs) => {
45163
- const counter = idGen$o.nextUid();
45164
- return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint || 'Label text'" ${getAttrMarkup(attrs)}>`;
45162
+ return `<${tagName$1v} wmLabel ${getAttrMarkup(attrs)}>`;
45165
45163
  },
45166
45164
  post: () => `</${tagName$1v}>`
45167
45165
  };
@@ -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$r = new IDGenerator('wm_carousel_ref_');
44973
+ const idGen$q = 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$r.nextUid();
44980
+ const counter = idGen$q.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$q = new IDGenerator('wm_anchor');
45081
+ const idGen$p = new IDGenerator('wm_anchor');
45082
45082
  register('wm-anchor', () => {
45083
45083
  return {
45084
45084
  pre: (attrs) => {
45085
- const counter = idGen$q.nextUid();
45085
+ const counter = idGen$p.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$p = new IDGenerator('wm_html');
45113
+ const idGen$o = new IDGenerator('wm_html');
45114
45114
  register('wm-html', () => {
45115
45115
  return {
45116
45116
  pre: (attrs) => {
45117
- const counter = idGen$p.nextUid();
45117
+ const counter = idGen$o.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,12 +45156,10 @@ 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');
45160
45159
  register('wm-label', () => {
45161
45160
  return {
45162
45161
  pre: (attrs) => {
45163
- const counter = idGen$o.nextUid();
45164
- return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint || 'Label text'" ${getAttrMarkup(attrs)}>`;
45162
+ return `<${tagName$1v} wmLabel ${getAttrMarkup(attrs)}>`;
45165
45163
  },
45166
45164
  post: () => `</${tagName$1v}>`
45167
45165
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/angular-codegen",
3
- "version": "11.2.0-rc.5195",
3
+ "version": "11.2.0-rc.5203",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {