@wavemaker/angular-codegen 11.9.0-next.24960 → 11.9.0-next.27456

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.
@@ -36,7 +36,7 @@
36
36
  "@metrichor/jmespath": "0.3.1",
37
37
  "@wavemaker/focus-trap": "1.0.1",
38
38
  "@wavemaker/nvd3": "1.8.12",
39
- "@wavemaker/variables": "11.9.0-next.24960",
39
+ "@wavemaker/variables": "11.9.0-next.27456",
40
40
  "@ztree/ztree_v3": "3.5.48",
41
41
  "angular-imask": "^7.6.1",
42
42
  "angular2-websocket": "0.9.7",
@@ -6943,9 +6943,9 @@
6943
6943
  }
6944
6944
  },
6945
6945
  "node_modules/@wavemaker/variables": {
6946
- "version": "11.9.0-next.24960",
6947
- "resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.9.0-next.24960.tgz",
6948
- "integrity": "sha512-j4eDP5sWk8sFEYRVvMs4BfKBTSl1o/PGaWY22W1Tx/S32/alHNnS3RT+6VagtW9DF/5lexhcAkKX4gWyVjms5A==",
6946
+ "version": "11.9.0-next.27456",
6947
+ "resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.9.0-next.27456.tgz",
6948
+ "integrity": "sha512-ugWL9GpPhAf3u2U5sVHBP0ZD3eJBvZdOnRBxWQHyMqHSpaPQDhfmaSr8fQo3D+o4SFvTNdRWBG+pJyFo8J38Cw==",
6949
6949
  "dependencies": {
6950
6950
  "@metrichor/jmespath": "^0.3.1",
6951
6951
  "he": "^1.2.0",
@@ -45,7 +45,7 @@
45
45
  "@metrichor/jmespath": "0.3.1",
46
46
  "@wavemaker/focus-trap": "1.0.1",
47
47
  "@wavemaker/nvd3": "1.8.12",
48
- "@wavemaker/variables": "11.9.0-next.24960",
48
+ "@wavemaker/variables": "11.9.0-next.27456",
49
49
  "@ztree/ztree_v3": "3.5.48",
50
50
  "angular-imask": "^7.6.1",
51
51
  "angular2-websocket": "0.9.7",
@@ -70,7 +70,7 @@
70
70
  "tslib": "2.4.1",
71
71
  "x2js": "3.4.4",
72
72
  "zone.js": "0.14.7",
73
- "@wavemaker/app-ng-runtime": "11.9.0-next.24960"
73
+ "@wavemaker/app-ng-runtime": "11.9.0-next.27456"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@ampproject/rollup-plugin-closure-compiler": "^0.27.0",
@@ -90351,13 +90351,13 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
90351
90351
 
90352
90352
  const carouselTagName = 'carousel';
90353
90353
  const dataSetKey$5 = 'dataset';
90354
- const idGen$s = new IDGenerator('wm_carousel_ref_');
90354
+ const idGen$t = new IDGenerator('wm_carousel_ref_');
90355
90355
  const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
90356
90356
  register('wm-carousel', () => {
90357
90357
  return {
90358
90358
  pre: (attrs, shared) => {
90359
90359
  // generating unique Id for the carousel
90360
- const counter = idGen$s.nextUid();
90360
+ const counter = idGen$t.nextUid();
90361
90361
  shared.set('carousel_ref', counter);
90362
90362
  return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
90363
90363
  },
@@ -90459,11 +90459,11 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
90459
90459
  });
90460
90460
 
90461
90461
  const tagName$1A = 'a';
90462
- const idGen$r = new IDGenerator('wm_anchor');
90462
+ const idGen$s = new IDGenerator('wm_anchor');
90463
90463
  register('wm-anchor', () => {
90464
90464
  return {
90465
90465
  pre: (attrs) => {
90466
- const counter = idGen$r.nextUid();
90466
+ const counter = idGen$s.nextUid();
90467
90467
  return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${getAttrMarkup(attrs)}>`;
90468
90468
  },
90469
90469
  post: () => `</${tagName$1A}>`
@@ -90491,11 +90491,11 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
90491
90491
  });
90492
90492
 
90493
90493
  const tagName$1y = 'div';
90494
- const idGen$q = new IDGenerator('wm_html');
90494
+ const idGen$r = new IDGenerator('wm_html');
90495
90495
  register('wm-html', () => {
90496
90496
  return {
90497
90497
  pre: (attrs) => {
90498
- const counter = idGen$q.nextUid();
90498
+ const counter = idGen$r.nextUid();
90499
90499
  return `<${tagName$1y} wmHtml #${counter}="wmHtml" role="application" [attr.aria-label]="${counter}.arialabel || 'HTML content'" ${getAttrMarkup(attrs)}>`;
90500
90500
  },
90501
90501
  post: () => `</${tagName$1y}>`
@@ -90537,7 +90537,7 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
90537
90537
  });
90538
90538
 
90539
90539
  let tagName$1v = 'p';
90540
- const idGen$p = new IDGenerator('wm_label');
90540
+ const idGen$q = new IDGenerator('wm_label');
90541
90541
  register('wm-label', () => {
90542
90542
  return {
90543
90543
  pre: (attrs) => {
@@ -90551,7 +90551,7 @@ register('wm-label', () => {
90551
90551
  else {
90552
90552
  tagName$1v = 'label';
90553
90553
  }
90554
- const counter = idGen$p.nextUid();
90554
+ const counter = idGen$q.nextUid();
90555
90555
  return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.arialabel" ${getAttrMarkup(attrs)}>`;
90556
90556
  },
90557
90557
  post: () => `</${tagName$1v}>`
@@ -90565,11 +90565,11 @@ var label_build$1 = /*#__PURE__*/Object.freeze({
90565
90565
  });
90566
90566
 
90567
90567
  const tagName$1u = 'img';
90568
- const idGen$o = new IDGenerator('wm_picture');
90568
+ const idGen$p = new IDGenerator('wm_picture');
90569
90569
  register('wm-picture', () => {
90570
90570
  return {
90571
90571
  pre: (attrs) => {
90572
- const counter = idGen$o.nextUid();
90572
+ const counter = idGen$p.nextUid();
90573
90573
  return `<${tagName$1u} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.arialabel || 'Image'" ${getAttrMarkup(attrs)}>`;
90574
90574
  }
90575
90575
  };
@@ -90582,11 +90582,11 @@ var picture_build$1 = /*#__PURE__*/Object.freeze({
90582
90582
  });
90583
90583
 
90584
90584
  const tagName$1t = 'div';
90585
- const idGen$n = new IDGenerator('wm_spinner');
90585
+ const idGen$o = new IDGenerator('wm_spinner');
90586
90586
  register('wm-spinner', () => {
90587
90587
  return {
90588
90588
  pre: (attrs) => {
90589
- const counter = idGen$n.nextUid();
90589
+ const counter = idGen$o.nextUid();
90590
90590
  return `<${tagName$1t} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.arialabel || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
90591
90591
  },
90592
90592
  post: () => `</${tagName$1t}>`
@@ -90639,9 +90639,13 @@ var progressBar_build$1 = /*#__PURE__*/Object.freeze({
90639
90639
  });
90640
90640
 
90641
90641
  const tagName$1r = 'div';
90642
+ const idGen$n = new IDGenerator('wm_progress_circle');
90642
90643
  register('wm-progress-circle', () => {
90643
90644
  return {
90644
- pre: attrs => `<${tagName$1r} wmProgressCircle ${getAttrMarkup(attrs)}>`,
90645
+ pre: (attrs) => {
90646
+ const counter = idGen$n.nextUid();
90647
+ return `<${tagName$1r} wmProgressCircle #${counter}="wmProgressCircle" role="progressbar" [attr.aria-label]="${counter}.arialabel || 'circle-progress'" [attr.hint]="${counter}.hint" [attr.aria-valuetext]="${counter}.displayValue" [attr.aria-valuemin]="${counter}.minvalue" [attr.aria-valuemax]="${counter}.maxvalue" ${getAttrMarkup(attrs)}>`;
90648
+ },
90645
90649
  post: () => `</${tagName$1r}>`
90646
90650
  };
90647
90651
  });
@@ -101542,13 +101542,13 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
101542
101542
 
101543
101543
  const carouselTagName = 'carousel';
101544
101544
  const dataSetKey$5 = 'dataset';
101545
- const idGen$s = new IDGenerator('wm_carousel_ref_');
101545
+ const idGen$t = new IDGenerator('wm_carousel_ref_');
101546
101546
  const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
101547
101547
  register('wm-carousel', () => {
101548
101548
  return {
101549
101549
  pre: (attrs, shared) => {
101550
101550
  // generating unique Id for the carousel
101551
- const counter = idGen$s.nextUid();
101551
+ const counter = idGen$t.nextUid();
101552
101552
  shared.set('carousel_ref', counter);
101553
101553
  return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
101554
101554
  },
@@ -101650,11 +101650,11 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
101650
101650
  });
101651
101651
 
101652
101652
  const tagName$1A = 'a';
101653
- const idGen$r = new IDGenerator('wm_anchor');
101653
+ const idGen$s = new IDGenerator('wm_anchor');
101654
101654
  register('wm-anchor', () => {
101655
101655
  return {
101656
101656
  pre: (attrs) => {
101657
- const counter = idGen$r.nextUid();
101657
+ const counter = idGen$s.nextUid();
101658
101658
  return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${getAttrMarkup(attrs)}>`;
101659
101659
  },
101660
101660
  post: () => `</${tagName$1A}>`
@@ -101682,11 +101682,11 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
101682
101682
  });
101683
101683
 
101684
101684
  const tagName$1y = 'div';
101685
- const idGen$q = new IDGenerator('wm_html');
101685
+ const idGen$r = new IDGenerator('wm_html');
101686
101686
  register('wm-html', () => {
101687
101687
  return {
101688
101688
  pre: (attrs) => {
101689
- const counter = idGen$q.nextUid();
101689
+ const counter = idGen$r.nextUid();
101690
101690
  return `<${tagName$1y} wmHtml #${counter}="wmHtml" role="application" [attr.aria-label]="${counter}.arialabel || 'HTML content'" ${getAttrMarkup(attrs)}>`;
101691
101691
  },
101692
101692
  post: () => `</${tagName$1y}>`
@@ -101728,7 +101728,7 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
101728
101728
  });
101729
101729
 
101730
101730
  let tagName$1v = 'p';
101731
- const idGen$p = new IDGenerator('wm_label');
101731
+ const idGen$q = new IDGenerator('wm_label');
101732
101732
  register('wm-label', () => {
101733
101733
  return {
101734
101734
  pre: (attrs) => {
@@ -101742,7 +101742,7 @@ register('wm-label', () => {
101742
101742
  else {
101743
101743
  tagName$1v = 'label';
101744
101744
  }
101745
- const counter = idGen$p.nextUid();
101745
+ const counter = idGen$q.nextUid();
101746
101746
  return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.arialabel" ${getAttrMarkup(attrs)}>`;
101747
101747
  },
101748
101748
  post: () => `</${tagName$1v}>`
@@ -101756,11 +101756,11 @@ var label_build$1 = /*#__PURE__*/Object.freeze({
101756
101756
  });
101757
101757
 
101758
101758
  const tagName$1u = 'img';
101759
- const idGen$o = new IDGenerator('wm_picture');
101759
+ const idGen$p = new IDGenerator('wm_picture');
101760
101760
  register('wm-picture', () => {
101761
101761
  return {
101762
101762
  pre: (attrs) => {
101763
- const counter = idGen$o.nextUid();
101763
+ const counter = idGen$p.nextUid();
101764
101764
  return `<${tagName$1u} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.arialabel || 'Image'" ${getAttrMarkup(attrs)}>`;
101765
101765
  }
101766
101766
  };
@@ -101773,11 +101773,11 @@ var picture_build$1 = /*#__PURE__*/Object.freeze({
101773
101773
  });
101774
101774
 
101775
101775
  const tagName$1t = 'div';
101776
- const idGen$n = new IDGenerator('wm_spinner');
101776
+ const idGen$o = new IDGenerator('wm_spinner');
101777
101777
  register('wm-spinner', () => {
101778
101778
  return {
101779
101779
  pre: (attrs) => {
101780
- const counter = idGen$n.nextUid();
101780
+ const counter = idGen$o.nextUid();
101781
101781
  return `<${tagName$1t} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.arialabel || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
101782
101782
  },
101783
101783
  post: () => `</${tagName$1t}>`
@@ -101830,9 +101830,13 @@ var progressBar_build$1 = /*#__PURE__*/Object.freeze({
101830
101830
  });
101831
101831
 
101832
101832
  const tagName$1r = 'div';
101833
+ const idGen$n = new IDGenerator('wm_progress_circle');
101833
101834
  register('wm-progress-circle', () => {
101834
101835
  return {
101835
- pre: attrs => `<${tagName$1r} wmProgressCircle ${getAttrMarkup(attrs)}>`,
101836
+ pre: (attrs) => {
101837
+ const counter = idGen$n.nextUid();
101838
+ return `<${tagName$1r} wmProgressCircle #${counter}="wmProgressCircle" role="progressbar" [attr.aria-label]="${counter}.arialabel || 'circle-progress'" [attr.hint]="${counter}.hint" [attr.aria-valuetext]="${counter}.displayValue" [attr.aria-valuemin]="${counter}.minvalue" [attr.aria-valuemax]="${counter}.maxvalue" ${getAttrMarkup(attrs)}>`;
101839
+ },
101836
101840
  post: () => `</${tagName$1r}>`
101837
101841
  };
101838
101842
  });
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/angular-codegen",
3
- "version": "11.9.0-next.24960",
3
+ "version": "11.9.0-next.27456",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {