@wavemaker/angular-codegen 11.8.0-rc.5679 → 11.8.0-rc.5684

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.11",
39
- "@wavemaker/variables": "11.8.0-rc.5679",
39
+ "@wavemaker/variables": "11.8.0-rc.5684",
40
40
  "@ztree/ztree_v3": "3.5.48",
41
41
  "angular-imask": "^7.6.1",
42
42
  "angular2-websocket": "0.9.7",
@@ -6452,9 +6452,9 @@
6452
6452
  }
6453
6453
  },
6454
6454
  "node_modules/@wavemaker/variables": {
6455
- "version": "11.8.0-rc.5679",
6456
- "resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.8.0-rc.5679.tgz",
6457
- "integrity": "sha512-FgIYD5PexIiz8lLMVCNJqMQr9b8CvLL77kTwDeVVvFFhFsHQe+3hPFeCDRf6rYaF9s5B46w7QqEL9qGNOpwxxg==",
6455
+ "version": "11.8.0-rc.5684",
6456
+ "resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.8.0-rc.5684.tgz",
6457
+ "integrity": "sha512-/NeX84/NzbrF2/FIqsG9VpaJnRCwyp58QlY6C7eJe486PLITm+ewuqEhlcX+XcMguFxpl7NxbsMDsRevXrO++A==",
6458
6458
  "dependencies": {
6459
6459
  "@metrichor/jmespath": "^0.3.1",
6460
6460
  "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.11",
48
- "@wavemaker/variables": "11.8.0-rc.5679",
48
+ "@wavemaker/variables": "11.8.0-rc.5684",
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.8.0-rc.5679"
73
+ "@wavemaker/app-ng-runtime": "11.8.0-rc.5684"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@ampproject/rollup-plugin-closure-compiler": "^0.27.0",
@@ -90408,10 +90408,10 @@ register('wm-carousel-template', () => {
90408
90408
  pre: (attrs, shared, parentCarousel) => {
90409
90409
  const carouselRef = parentCarousel.get('carousel_ref');
90410
90410
  return `<div *ngIf="!${carouselRef}.fieldDefs">{{${carouselRef}.nodatamessage}}</div>
90411
- <${carouselContentTagName} wmCarouselTemplate ${getAttrMarkup(attrs)} *ngFor="let item of ${carouselRef}.fieldDefs; let i = index;">
90411
+ <${carouselContentTagName} wmCarouselTemplate #carouselTemplateRef="carouselTemplateRef" ${getAttrMarkup(attrs)} *ngFor="let item of ${carouselRef}.fieldDefs; let i = index;">
90412
90412
  <ng-container [ngTemplateOutlet]="carouselTempRef${counter$1}"
90413
90413
  [ngTemplateOutletContext]="{item:item, index:i}"
90414
- [ngTemplateOutletInjector]="${carouselRef}.createCustomInjector('carousel_item_' + i, {item:item, index:i})"></ng-container>
90414
+ [ngTemplateOutletInjector]="${carouselRef}.createCustomInjector('carousel_item_' + carouselTemplateRef.trackId, {item:item, index:i})"></ng-container>
90415
90415
  </${carouselContentTagName}>
90416
90416
  <ng-template #carouselTempRef${counter$1++} let-item="item" let-index="index">`;
90417
90417
  },
@@ -90945,10 +90945,10 @@ register('wm-repeat-template', () => {
90945
90945
  const widgetRef = (parentAccordion && parentAccordion.get('accordion_ref')) || (parentTab && parentTab.get('tabs_ref'));
90946
90946
  if (widgetRef) {
90947
90947
  return `<div *ngIf="${widgetRef}.fieldDefs && !${widgetRef}.fieldDefs.length">{{${widgetRef}.nodatamessage}}</div>
90948
- <${dynamicTemplateTagName} wmRepeatTemplate ${getAttrMarkup(attrs)} *ngFor="let item of ${widgetRef}.fieldDefs; let i = index;">
90948
+ <${dynamicTemplateTagName} wmRepeatTemplate #repeatItemRef="repeatItemRef" ${getAttrMarkup(attrs)} *ngFor="let item of ${widgetRef}.fieldDefs; let i = index;">
90949
90949
  <ng-container [ngTemplateOutlet]="widgetRef${counter}"
90950
90950
  [ngTemplateOutletContext]="{item:item, index:i}"
90951
- [ngTemplateOutletInjector]="${widgetRef}.createCustomInjector('dynamic_widget_'+ i, {item:item, index:i})"></ng-container>
90951
+ [ngTemplateOutletInjector]="${widgetRef}.createCustomInjector('dynamic_pane_' + repeatItemRef.trackId, {item:item, index:i})"></ng-container>
90952
90952
  </${dynamicTemplateTagName}>
90953
90953
  <ng-template #widgetRef${counter++} let-item="item" let-index="index">`;
90954
90954
  }
@@ -101599,10 +101599,10 @@ register('wm-carousel-template', () => {
101599
101599
  pre: (attrs, shared, parentCarousel) => {
101600
101600
  const carouselRef = parentCarousel.get('carousel_ref');
101601
101601
  return `<div *ngIf="!${carouselRef}.fieldDefs">{{${carouselRef}.nodatamessage}}</div>
101602
- <${carouselContentTagName} wmCarouselTemplate ${getAttrMarkup(attrs)} *ngFor="let item of ${carouselRef}.fieldDefs; let i = index;">
101602
+ <${carouselContentTagName} wmCarouselTemplate #carouselTemplateRef="carouselTemplateRef" ${getAttrMarkup(attrs)} *ngFor="let item of ${carouselRef}.fieldDefs; let i = index;">
101603
101603
  <ng-container [ngTemplateOutlet]="carouselTempRef${counter$1}"
101604
101604
  [ngTemplateOutletContext]="{item:item, index:i}"
101605
- [ngTemplateOutletInjector]="${carouselRef}.createCustomInjector('carousel_item_' + i, {item:item, index:i})"></ng-container>
101605
+ [ngTemplateOutletInjector]="${carouselRef}.createCustomInjector('carousel_item_' + carouselTemplateRef.trackId, {item:item, index:i})"></ng-container>
101606
101606
  </${carouselContentTagName}>
101607
101607
  <ng-template #carouselTempRef${counter$1++} let-item="item" let-index="index">`;
101608
101608
  },
@@ -102136,10 +102136,10 @@ register('wm-repeat-template', () => {
102136
102136
  const widgetRef = (parentAccordion && parentAccordion.get('accordion_ref')) || (parentTab && parentTab.get('tabs_ref'));
102137
102137
  if (widgetRef) {
102138
102138
  return `<div *ngIf="${widgetRef}.fieldDefs && !${widgetRef}.fieldDefs.length">{{${widgetRef}.nodatamessage}}</div>
102139
- <${dynamicTemplateTagName} wmRepeatTemplate ${getAttrMarkup(attrs)} *ngFor="let item of ${widgetRef}.fieldDefs; let i = index;">
102139
+ <${dynamicTemplateTagName} wmRepeatTemplate #repeatItemRef="repeatItemRef" ${getAttrMarkup(attrs)} *ngFor="let item of ${widgetRef}.fieldDefs; let i = index;">
102140
102140
  <ng-container [ngTemplateOutlet]="widgetRef${counter}"
102141
102141
  [ngTemplateOutletContext]="{item:item, index:i}"
102142
- [ngTemplateOutletInjector]="${widgetRef}.createCustomInjector('dynamic_widget_'+ i, {item:item, index:i})"></ng-container>
102142
+ [ngTemplateOutletInjector]="${widgetRef}.createCustomInjector('dynamic_pane_' + repeatItemRef.trackId, {item:item, index:i})"></ng-container>
102143
102143
  </${dynamicTemplateTagName}>
102144
102144
  <ng-template #widgetRef${counter++} let-item="item" let-index="index">`;
102145
102145
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/angular-codegen",
3
- "version": "11.8.0-rc.5679",
3
+ "version": "11.8.0-rc.5684",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {