@wavemaker-ai/app-ng-runtime 1.0.0-rc.324 → 1.0.0-rc.328

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.
Files changed (90) hide show
  1. package/build-task/bundles/index.umd.js +1 -1
  2. package/build-task/fesm2022/index.mjs +1 -1
  3. package/build-task/fesm2022/index.mjs.map +1 -1
  4. package/components/base/bundles/index.umd.js +42 -16
  5. package/components/base/fesm2022/index.mjs +42 -16
  6. package/components/base/fesm2022/index.mjs.map +1 -1
  7. package/components/base/index.d.ts +4 -1
  8. package/components/basic/anchor/bundles/index.umd.js +1 -1
  9. package/components/basic/anchor/fesm2022/index.mjs +1 -1
  10. package/components/basic/anchor/fesm2022/index.mjs.map +1 -1
  11. package/components/basic/icon/bundles/index.umd.js +1 -1
  12. package/components/basic/icon/fesm2022/index.mjs +1 -1
  13. package/components/basic/icon/fesm2022/index.mjs.map +1 -1
  14. package/components/basic/search/bundles/index.umd.js +1 -1
  15. package/components/basic/search/fesm2022/index.mjs +1 -1
  16. package/components/basic/search/fesm2022/index.mjs.map +1 -1
  17. package/components/basic/spinner/bundles/index.umd.js +1 -1
  18. package/components/basic/spinner/fesm2022/index.mjs +1 -1
  19. package/components/basic/spinner/fesm2022/index.mjs.map +1 -1
  20. package/components/chart/bundles/index.umd.js +1 -1
  21. package/components/chart/fesm2022/index.mjs +1 -1
  22. package/components/chart/fesm2022/index.mjs.map +1 -1
  23. package/components/containers/accordion/bundles/index.umd.js +6 -1
  24. package/components/containers/accordion/fesm2022/index.mjs +6 -1
  25. package/components/containers/accordion/fesm2022/index.mjs.map +1 -1
  26. package/components/containers/accordion/index.d.ts +2 -0
  27. package/components/containers/panel/bundles/index.umd.js +1 -1
  28. package/components/containers/panel/fesm2022/index.mjs +1 -1
  29. package/components/containers/panel/fesm2022/index.mjs.map +1 -1
  30. package/components/containers/tabs/bundles/index.umd.js +1 -1
  31. package/components/containers/tabs/fesm2022/index.mjs +1 -1
  32. package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
  33. package/components/containers/wizard/bundles/index.umd.js +1 -1
  34. package/components/containers/wizard/fesm2022/index.mjs +1 -1
  35. package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
  36. package/components/data/card/bundles/index.umd.js +1 -1
  37. package/components/data/card/fesm2022/index.mjs +1 -1
  38. package/components/data/card/fesm2022/index.mjs.map +1 -1
  39. package/components/data/form/bundles/index.umd.js +5 -3
  40. package/components/data/form/fesm2022/index.mjs +5 -3
  41. package/components/data/form/fesm2022/index.mjs.map +1 -1
  42. package/components/data/list/bundles/index.umd.js +1 -1
  43. package/components/data/list/fesm2022/index.mjs +1 -1
  44. package/components/data/list/fesm2022/index.mjs.map +1 -1
  45. package/components/data/table/bundles/index.umd.js +9 -2
  46. package/components/data/table/fesm2022/index.mjs +9 -2
  47. package/components/data/table/fesm2022/index.mjs.map +1 -1
  48. package/components/dialogs/default/bundles/index.umd.js +1 -1
  49. package/components/dialogs/default/fesm2022/index.mjs +1 -1
  50. package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
  51. package/components/input/button/bundles/index.umd.js +1 -1
  52. package/components/input/button/fesm2022/index.mjs +1 -1
  53. package/components/input/button/fesm2022/index.mjs.map +1 -1
  54. package/components/input/checkbox/bundles/index.umd.js +1 -1
  55. package/components/input/checkbox/fesm2022/index.mjs +1 -1
  56. package/components/input/checkbox/fesm2022/index.mjs.map +1 -1
  57. package/components/input/epoch/base-date-time/bundles/index.umd.js +2 -1
  58. package/components/input/epoch/base-date-time/fesm2022/index.mjs +2 -1
  59. package/components/input/epoch/base-date-time/fesm2022/index.mjs.map +1 -1
  60. package/components/input/file-upload/bundles/index.umd.js +1 -1
  61. package/components/input/file-upload/fesm2022/index.mjs +1 -1
  62. package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
  63. package/components/input/rating/bundles/index.umd.js +1 -1
  64. package/components/input/rating/fesm2022/index.mjs +1 -1
  65. package/components/input/rating/fesm2022/index.mjs.map +1 -1
  66. package/components/input/slider/bundles/index.umd.js +1 -1
  67. package/components/input/slider/fesm2022/index.mjs +1 -1
  68. package/components/input/slider/fesm2022/index.mjs.map +1 -1
  69. package/components/input/switch/bundles/index.umd.js +1 -1
  70. package/components/input/switch/fesm2022/index.mjs +1 -1
  71. package/components/input/switch/fesm2022/index.mjs.map +1 -1
  72. package/components/input/text/bundles/index.umd.js +1 -1
  73. package/components/input/text/fesm2022/index.mjs +1 -1
  74. package/components/input/text/fesm2022/index.mjs.map +1 -1
  75. package/components/navigation/breadcrumb/bundles/index.umd.js +3 -3
  76. package/components/navigation/breadcrumb/fesm2022/index.mjs +4 -4
  77. package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
  78. package/components/navigation/menu/bundles/index.umd.js +1 -1
  79. package/components/navigation/menu/fesm2022/index.mjs +1 -1
  80. package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
  81. package/components/navigation/navbar/bundles/index.umd.js +1 -1
  82. package/components/navigation/navbar/fesm2022/index.mjs +1 -1
  83. package/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
  84. package/components/page/default/bundles/index.umd.js +1 -0
  85. package/components/page/default/fesm2022/index.mjs +1 -0
  86. package/components/page/default/fesm2022/index.mjs.map +1 -1
  87. package/npm-shrinkwrap.json +2 -2
  88. package/package-lock.json +2 -2
  89. package/package.json +1 -1
  90. package/scripts/datatable/datatable.js +10 -3
@@ -502,6 +502,7 @@
502
502
  onDeactivate: () => container.classList.remove('is-active'),
503
503
  allowOutsideClick: allowOutsideClick,
504
504
  setReturnFocus: setReturnFocusElement,
505
+ preventScroll: true,
505
506
  });
506
507
  };
507
508
  /**
@@ -5444,25 +5445,33 @@
5444
5445
  const element = target[0];
5445
5446
  const parent = element?.parentElement;
5446
5447
  const parentStyle = parent ? getComputedStyle(parent) : null;
5447
- const isParentFlex = parentStyle && ['flex', 'inline-flex'].includes(parentStyle.display);
5448
- let isMainAxis = false;
5448
+ const isLayoutWrapper = parent && (parent.classList.contains('app-page-content') || parent.classList.contains('app-content-column'));
5449
+ const isParentFlex = !isLayoutWrapper && parentStyle && ['flex', 'inline-flex'].includes(parentStyle.display);
5450
+ let isWidthMainAxis = false;
5451
+ let isHeightMainAxis = false;
5449
5452
  if (isParentFlex) {
5450
5453
  const flexDir = parentStyle.flexDirection;
5451
5454
  const isRow = ['row', 'row-reverse'].includes(flexDir);
5452
- isMainAxis = (key === 'width' && isRow) || (key === 'height' && !isRow);
5455
+ isWidthMainAxis = (key === 'width' && isRow); // Parent is a row, so width is the main axis
5456
+ isHeightMainAxis = (key === 'height' && !isRow); // Parent is a column, so height is the main axis
5453
5457
  }
5454
5458
  if (nv === 'fill') {
5455
5459
  if (!isParentFlex) {
5460
+ // Not a flex parent: just take the full size.
5456
5461
  styles[key] = '100%';
5457
5462
  }
5458
5463
  else {
5459
5464
  styles[key] = '';
5460
- if (isMainAxis) {
5465
+ // flex properties are set based on the main axis which is determined by the parent's direction
5466
+ if (isWidthMainAxis || isHeightMainAxis) {
5461
5467
  styles['flex-grow'] = '1';
5462
- styles['flex-shrink'] = '';
5468
+ styles['flex-shrink'] = '0';
5469
+ // flex-basis applies only when width is the main axis (row layout) and width is set to fill
5470
+ styles['flex-basis'] = isHeightMainAxis ? '' : '0';
5463
5471
  styles[minKey] = '0';
5464
5472
  }
5465
5473
  else {
5474
+ // Fill in the other direction: just stretch to the parent's size.
5466
5475
  styles['align-self'] = 'stretch';
5467
5476
  }
5468
5477
  }
@@ -5471,8 +5480,9 @@
5471
5480
  if (nv === 'hug')
5472
5481
  styles[key] = 'fit-content';
5473
5482
  if (isParentFlex) {
5474
- if (isMainAxis) {
5475
- styles['flex-grow'] = '';
5483
+ if (isWidthMainAxis || isHeightMainAxis) {
5484
+ // Reset flex properties when width or height is configured as hug.
5485
+ styles['flex-basis'] = '';
5476
5486
  styles['flex-shrink'] = '0'; // intentional — don't shrink fixed sizes
5477
5487
  styles[minKey] = ''; // Need this because flex items default to min-height: auto, meaning they won't shrink smaller than their content.
5478
5488
  }
@@ -5483,6 +5493,8 @@
5483
5493
  else {
5484
5494
  styles['flex-grow'] = '';
5485
5495
  styles['flex-shrink'] = '0';
5496
+ styles['flex-basis'] = '';
5497
+ styles['flex-basis'] = '';
5486
5498
  styles['align-self'] = '';
5487
5499
  styles[minKey] = '';
5488
5500
  }
@@ -6086,14 +6098,14 @@
6086
6098
  i0__namespace.ɵɵelement(0, "i", 0);
6087
6099
  } if (rf & 2) {
6088
6100
  const ctx_r0 = i0__namespace.ɵɵnextContext();
6089
- i0__namespace.ɵɵproperty("ngClass", ctx_r0._svgClasses)("ngStyle", ctx_r0.iconStyle)("iconUrl", ctx_r0.iconurl);
6101
+ i0__namespace.ɵɵproperty("ngClass", ctx_r0._svgClasses)("ngStyle", ctx_r0.iconStyle)("iconUrl", ctx_r0._effectiveIconurl);
6090
6102
  } }
6091
6103
  function WmAppIconComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
6092
6104
  i0__namespace.ɵɵelement(0, "img", 1);
6093
6105
  i0__namespace.ɵɵpipe(1, "image");
6094
6106
  } if (rf & 2) {
6095
6107
  const ctx_r0 = i0__namespace.ɵɵnextContext();
6096
- i0__namespace.ɵɵproperty("ngClass", ctx_r0._imageClasses)("src", i0__namespace.ɵɵpipeBind1(1, 4, ctx_r0.iconurl), i0__namespace.ɵɵsanitizeUrl)("ngStyle", ctx_r0.iconStyle);
6108
+ i0__namespace.ɵɵproperty("ngClass", ctx_r0._imageClasses)("src", i0__namespace.ɵɵpipeBind1(1, 4, ctx_r0._effectiveIconurl), i0__namespace.ɵɵsanitizeUrl)("ngStyle", ctx_r0.iconStyle);
6097
6109
  i0__namespace.ɵɵattribute("alt", ctx_r0.alt || "");
6098
6110
  } }
6099
6111
  function WmAppIconComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
@@ -6126,14 +6138,26 @@
6126
6138
  * working - the wrapper element is layout-transparent.
6127
6139
  */
6128
6140
  class WmAppIconComponent {
6141
+ get _effectiveIconurl() {
6142
+ if (this.iconurl) {
6143
+ return this.iconurl;
6144
+ }
6145
+ return isSvgIconUrl(this.icon) ? this.icon : null;
6146
+ }
6147
+ get _effectiveIconclass() {
6148
+ if (this.iconclass) {
6149
+ return this.iconclass;
6150
+ }
6151
+ return this.icon && !isSvgIconUrl(this.icon) ? this.icon : null;
6152
+ }
6129
6153
  get _isSvg() {
6130
- return isSvgIconUrl(this.iconurl);
6154
+ return isSvgIconUrl(this._effectiveIconurl);
6131
6155
  }
6132
6156
  get _isImage() {
6133
- return !!this.iconurl && !this._isSvg;
6157
+ return !!this._effectiveIconurl && !this._isSvg;
6134
6158
  }
6135
6159
  get _fontClass() {
6136
- return [this.defaultIconClass, this.iconclass]
6160
+ return [this.defaultIconClass, this._effectiveIconclass]
6137
6161
  .filter(Boolean)
6138
6162
  .join(' ');
6139
6163
  }
@@ -6159,7 +6183,7 @@
6159
6183
  static { this.ɵfac = function WmAppIconComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WmAppIconComponent)(); }; }
6160
6184
  static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: WmAppIconComponent, selectors: [["wm-app-icon"]], hostVars: 2, hostBindings: function WmAppIconComponent_HostBindings(rf, ctx) { if (rf & 2) {
6161
6185
  i0__namespace.ɵɵstyleProp("display", "contents");
6162
- } }, inputs: { iconclass: "iconclass", iconurl: "iconurl", defaultIconClass: "defaultIconClass", defaultClasses: "defaultClasses", iconStyle: "iconStyle", alt: "alt" }, decls: 3, vars: 1, consts: [["role", "img", "aria-hidden", "true", "data-identifier", "svg", 3, "ngClass", "ngStyle", "iconUrl"], ["data-identifier", "img", 3, "ngClass", "src", "ngStyle"], ["aria-hidden", "true", 3, "ngClass", "ngStyle"]], template: function WmAppIconComponent_Template(rf, ctx) { if (rf & 1) {
6186
+ } }, inputs: { icon: "icon", iconclass: "iconclass", iconurl: "iconurl", defaultIconClass: "defaultIconClass", defaultClasses: "defaultClasses", iconStyle: "iconStyle", alt: "alt" }, decls: 3, vars: 1, consts: [["role", "img", "aria-hidden", "true", "data-identifier", "svg", 3, "ngClass", "ngStyle", "iconUrl"], ["data-identifier", "img", 3, "ngClass", "src", "ngStyle"], ["aria-hidden", "true", 3, "ngClass", "ngStyle"]], template: function WmAppIconComponent_Template(rf, ctx) { if (rf & 1) {
6163
6187
  i0__namespace.ɵɵconditionalCreate(0, WmAppIconComponent_Conditional_0_Template, 1, 3, "i", 0)(1, WmAppIconComponent_Conditional_1_Template, 2, 6, "img", 1)(2, WmAppIconComponent_Conditional_2_Template, 1, 2, "i", 2);
6164
6188
  } if (rf & 2) {
6165
6189
  i0__namespace.ɵɵconditional(ctx._isSvg ? 0 : ctx._isImage ? 1 : ctx._fontClass ? 2 : -1);
@@ -6182,12 +6206,12 @@
6182
6206
  aria-hidden="true"
6183
6207
  data-identifier="svg"
6184
6208
  [ngStyle]="iconStyle"
6185
- [iconUrl]="iconurl"></i>
6209
+ [iconUrl]="_effectiveIconurl"></i>
6186
6210
  } @else if (_isImage) {
6187
6211
  <img [ngClass]="_imageClasses"
6188
6212
  data-identifier="img"
6189
6213
  [attr.alt]="alt || ''"
6190
- [src]="iconurl | image"
6214
+ [src]="_effectiveIconurl | image"
6191
6215
  [ngStyle]="iconStyle"/>
6192
6216
  } @else if (_fontClass) {
6193
6217
  <i [ngClass]="_fontClasses"
@@ -6196,7 +6220,9 @@
6196
6220
  }
6197
6221
  `
6198
6222
  }]
6199
- }], null, { iconclass: [{
6223
+ }], null, { icon: [{
6224
+ type: i0.Input
6225
+ }], iconclass: [{
6200
6226
  type: i0.Input
6201
6227
  }], iconurl: [{
6202
6228
  type: i0.Input
@@ -492,6 +492,7 @@ const setFocusTrap = (container, allowOutsideClick, setReturnFocusElement) => {
492
492
  onDeactivate: () => container.classList.remove('is-active'),
493
493
  allowOutsideClick: allowOutsideClick,
494
494
  setReturnFocus: setReturnFocusElement,
495
+ preventScroll: true,
495
496
  });
496
497
  };
497
498
  /**
@@ -5445,25 +5446,33 @@ function AutoLayout(options = {}) {
5445
5446
  const element = target[0];
5446
5447
  const parent = element?.parentElement;
5447
5448
  const parentStyle = parent ? getComputedStyle(parent) : null;
5448
- const isParentFlex = parentStyle && ['flex', 'inline-flex'].includes(parentStyle.display);
5449
- let isMainAxis = false;
5449
+ const isLayoutWrapper = parent && (parent.classList.contains('app-page-content') || parent.classList.contains('app-content-column'));
5450
+ const isParentFlex = !isLayoutWrapper && parentStyle && ['flex', 'inline-flex'].includes(parentStyle.display);
5451
+ let isWidthMainAxis = false;
5452
+ let isHeightMainAxis = false;
5450
5453
  if (isParentFlex) {
5451
5454
  const flexDir = parentStyle.flexDirection;
5452
5455
  const isRow = ['row', 'row-reverse'].includes(flexDir);
5453
- isMainAxis = (key === 'width' && isRow) || (key === 'height' && !isRow);
5456
+ isWidthMainAxis = (key === 'width' && isRow); // Parent is a row, so width is the main axis
5457
+ isHeightMainAxis = (key === 'height' && !isRow); // Parent is a column, so height is the main axis
5454
5458
  }
5455
5459
  if (nv === 'fill') {
5456
5460
  if (!isParentFlex) {
5461
+ // Not a flex parent: just take the full size.
5457
5462
  styles[key] = '100%';
5458
5463
  }
5459
5464
  else {
5460
5465
  styles[key] = '';
5461
- if (isMainAxis) {
5466
+ // flex properties are set based on the main axis which is determined by the parent's direction
5467
+ if (isWidthMainAxis || isHeightMainAxis) {
5462
5468
  styles['flex-grow'] = '1';
5463
- styles['flex-shrink'] = '';
5469
+ styles['flex-shrink'] = '0';
5470
+ // flex-basis applies only when width is the main axis (row layout) and width is set to fill
5471
+ styles['flex-basis'] = isHeightMainAxis ? '' : '0';
5464
5472
  styles[minKey] = '0';
5465
5473
  }
5466
5474
  else {
5475
+ // Fill in the other direction: just stretch to the parent's size.
5467
5476
  styles['align-self'] = 'stretch';
5468
5477
  }
5469
5478
  }
@@ -5472,8 +5481,9 @@ function AutoLayout(options = {}) {
5472
5481
  if (nv === 'hug')
5473
5482
  styles[key] = 'fit-content';
5474
5483
  if (isParentFlex) {
5475
- if (isMainAxis) {
5476
- styles['flex-grow'] = '';
5484
+ if (isWidthMainAxis || isHeightMainAxis) {
5485
+ // Reset flex properties when width or height is configured as hug.
5486
+ styles['flex-basis'] = '';
5477
5487
  styles['flex-shrink'] = '0'; // intentional — don't shrink fixed sizes
5478
5488
  styles[minKey] = ''; // Need this because flex items default to min-height: auto, meaning they won't shrink smaller than their content.
5479
5489
  }
@@ -5484,6 +5494,8 @@ function AutoLayout(options = {}) {
5484
5494
  else {
5485
5495
  styles['flex-grow'] = '';
5486
5496
  styles['flex-shrink'] = '0';
5497
+ styles['flex-basis'] = '';
5498
+ styles['flex-basis'] = '';
5487
5499
  styles['align-self'] = '';
5488
5500
  styles[minKey] = '';
5489
5501
  }
@@ -6087,14 +6099,14 @@ function WmAppIconComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
6087
6099
  i0.ɵɵelement(0, "i", 0);
6088
6100
  } if (rf & 2) {
6089
6101
  const ctx_r0 = i0.ɵɵnextContext();
6090
- i0.ɵɵproperty("ngClass", ctx_r0._svgClasses)("ngStyle", ctx_r0.iconStyle)("iconUrl", ctx_r0.iconurl);
6102
+ i0.ɵɵproperty("ngClass", ctx_r0._svgClasses)("ngStyle", ctx_r0.iconStyle)("iconUrl", ctx_r0._effectiveIconurl);
6091
6103
  } }
6092
6104
  function WmAppIconComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
6093
6105
  i0.ɵɵelement(0, "img", 1);
6094
6106
  i0.ɵɵpipe(1, "image");
6095
6107
  } if (rf & 2) {
6096
6108
  const ctx_r0 = i0.ɵɵnextContext();
6097
- i0.ɵɵproperty("ngClass", ctx_r0._imageClasses)("src", i0.ɵɵpipeBind1(1, 4, ctx_r0.iconurl), i0.ɵɵsanitizeUrl)("ngStyle", ctx_r0.iconStyle);
6109
+ i0.ɵɵproperty("ngClass", ctx_r0._imageClasses)("src", i0.ɵɵpipeBind1(1, 4, ctx_r0._effectiveIconurl), i0.ɵɵsanitizeUrl)("ngStyle", ctx_r0.iconStyle);
6098
6110
  i0.ɵɵattribute("alt", ctx_r0.alt || "");
6099
6111
  } }
6100
6112
  function WmAppIconComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
@@ -6127,14 +6139,26 @@ function WmAppIconComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
6127
6139
  * working - the wrapper element is layout-transparent.
6128
6140
  */
6129
6141
  class WmAppIconComponent {
6142
+ get _effectiveIconurl() {
6143
+ if (this.iconurl) {
6144
+ return this.iconurl;
6145
+ }
6146
+ return isSvgIconUrl(this.icon) ? this.icon : null;
6147
+ }
6148
+ get _effectiveIconclass() {
6149
+ if (this.iconclass) {
6150
+ return this.iconclass;
6151
+ }
6152
+ return this.icon && !isSvgIconUrl(this.icon) ? this.icon : null;
6153
+ }
6130
6154
  get _isSvg() {
6131
- return isSvgIconUrl(this.iconurl);
6155
+ return isSvgIconUrl(this._effectiveIconurl);
6132
6156
  }
6133
6157
  get _isImage() {
6134
- return !!this.iconurl && !this._isSvg;
6158
+ return !!this._effectiveIconurl && !this._isSvg;
6135
6159
  }
6136
6160
  get _fontClass() {
6137
- return [this.defaultIconClass, this.iconclass]
6161
+ return [this.defaultIconClass, this._effectiveIconclass]
6138
6162
  .filter(Boolean)
6139
6163
  .join(' ');
6140
6164
  }
@@ -6160,7 +6184,7 @@ class WmAppIconComponent {
6160
6184
  static { this.ɵfac = function WmAppIconComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WmAppIconComponent)(); }; }
6161
6185
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WmAppIconComponent, selectors: [["wm-app-icon"]], hostVars: 2, hostBindings: function WmAppIconComponent_HostBindings(rf, ctx) { if (rf & 2) {
6162
6186
  i0.ɵɵstyleProp("display", "contents");
6163
- } }, inputs: { iconclass: "iconclass", iconurl: "iconurl", defaultIconClass: "defaultIconClass", defaultClasses: "defaultClasses", iconStyle: "iconStyle", alt: "alt" }, decls: 3, vars: 1, consts: [["role", "img", "aria-hidden", "true", "data-identifier", "svg", 3, "ngClass", "ngStyle", "iconUrl"], ["data-identifier", "img", 3, "ngClass", "src", "ngStyle"], ["aria-hidden", "true", 3, "ngClass", "ngStyle"]], template: function WmAppIconComponent_Template(rf, ctx) { if (rf & 1) {
6187
+ } }, inputs: { icon: "icon", iconclass: "iconclass", iconurl: "iconurl", defaultIconClass: "defaultIconClass", defaultClasses: "defaultClasses", iconStyle: "iconStyle", alt: "alt" }, decls: 3, vars: 1, consts: [["role", "img", "aria-hidden", "true", "data-identifier", "svg", 3, "ngClass", "ngStyle", "iconUrl"], ["data-identifier", "img", 3, "ngClass", "src", "ngStyle"], ["aria-hidden", "true", 3, "ngClass", "ngStyle"]], template: function WmAppIconComponent_Template(rf, ctx) { if (rf & 1) {
6164
6188
  i0.ɵɵconditionalCreate(0, WmAppIconComponent_Conditional_0_Template, 1, 3, "i", 0)(1, WmAppIconComponent_Conditional_1_Template, 2, 6, "img", 1)(2, WmAppIconComponent_Conditional_2_Template, 1, 2, "i", 2);
6165
6189
  } if (rf & 2) {
6166
6190
  i0.ɵɵconditional(ctx._isSvg ? 0 : ctx._isImage ? 1 : ctx._fontClass ? 2 : -1);
@@ -6183,12 +6207,12 @@ class WmAppIconComponent {
6183
6207
  aria-hidden="true"
6184
6208
  data-identifier="svg"
6185
6209
  [ngStyle]="iconStyle"
6186
- [iconUrl]="iconurl"></i>
6210
+ [iconUrl]="_effectiveIconurl"></i>
6187
6211
  } @else if (_isImage) {
6188
6212
  <img [ngClass]="_imageClasses"
6189
6213
  data-identifier="img"
6190
6214
  [attr.alt]="alt || ''"
6191
- [src]="iconurl | image"
6215
+ [src]="_effectiveIconurl | image"
6192
6216
  [ngStyle]="iconStyle"/>
6193
6217
  } @else if (_fontClass) {
6194
6218
  <i [ngClass]="_fontClasses"
@@ -6197,7 +6221,9 @@ class WmAppIconComponent {
6197
6221
  }
6198
6222
  `
6199
6223
  }]
6200
- }], null, { iconclass: [{
6224
+ }], null, { icon: [{
6225
+ type: Input
6226
+ }], iconclass: [{
6201
6227
  type: Input
6202
6228
  }], iconurl: [{
6203
6229
  type: Input