@wavemaker/angular-codegen 11.8.0-next.24896 → 11.8.0-next.24898

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.0",
38
38
  "@wavemaker/nvd3": "1.8.11",
39
- "@wavemaker/variables": "11.8.0-next.24896",
39
+ "@wavemaker/variables": "11.8.0-next.24898",
40
40
  "@ztree/ztree_v3": "3.5.48",
41
41
  "angular-imask": "^7.6.1",
42
42
  "angular2-websocket": "0.9.7",
@@ -7273,9 +7273,9 @@
7273
7273
  }
7274
7274
  },
7275
7275
  "node_modules/@wavemaker/variables": {
7276
- "version": "11.8.0-next.24896",
7277
- "resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.8.0-next.24896.tgz",
7278
- "integrity": "sha512-IRiioJZsvEPFEg6hMA715SMln/CMPEglAaGFNtlZCQrTNCAUXbqf5KkBqjDCzjDEMNrNJs37mRkMWgoHyDCp9Q==",
7276
+ "version": "11.8.0-next.24898",
7277
+ "resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.8.0-next.24898.tgz",
7278
+ "integrity": "sha512-wWdbww7x8zKrlqIAQOixWFuSnBVDcId7I2qK5FE8du7oqJfgEBDKhR6ajScXeyZppfrkfonB1dPqNm6rLpb8fw==",
7279
7279
  "dependencies": {
7280
7280
  "@metrichor/jmespath": "^0.3.1",
7281
7281
  "he": "^1.2.0",
@@ -45,7 +45,7 @@
45
45
  "@metrichor/jmespath": "0.3.1",
46
46
  "@wavemaker/focus-trap": "1.0.0",
47
47
  "@wavemaker/nvd3": "1.8.11",
48
- "@wavemaker/variables": "11.8.0-next.24896",
48
+ "@wavemaker/variables": "11.8.0-next.24898",
49
49
  "@ztree/ztree_v3": "3.5.48",
50
50
  "angular-imask": "^7.6.1",
51
51
  "angular2-websocket": "0.9.7",
@@ -71,7 +71,7 @@
71
71
  "tslib": "2.4.1",
72
72
  "x2js": "3.4.4",
73
73
  "zone.js": "0.13.3",
74
- "@wavemaker/app-ng-runtime": "11.8.0-next.24896"
74
+ "@wavemaker/app-ng-runtime": "11.8.0-next.24898"
75
75
  },
76
76
  "devDependencies": {
77
77
  "@ampproject/rollup-plugin-closure-compiler": "^0.27.0",
@@ -69455,7 +69455,19 @@ var breadcrumb_build$1 = /*#__PURE__*/Object.freeze({
69455
69455
  const tagName$u = 'div';
69456
69456
  register('wm-menu', () => {
69457
69457
  return {
69458
- pre: attrs => `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)}>`,
69458
+ pre: attrs => {
69459
+ const menuWidth = attrs.get("width");
69460
+ let styleBinding = '';
69461
+ if (menuWidth) {
69462
+ if (menuWidth.indexOf('%') > -1 || menuWidth.indexOf('px') > -1) {
69463
+ styleBinding = `[ngStyle]="{'width': '${menuWidth}'}"`;
69464
+ return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
69465
+ }
69466
+ }
69467
+ else {
69468
+ return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)}>`;
69469
+ }
69470
+ },
69459
69471
  post: () => `</${tagName$u}>`
69460
69472
  };
69461
69473
  });
@@ -69455,7 +69455,19 @@ var breadcrumb_build$1 = /*#__PURE__*/Object.freeze({
69455
69455
  const tagName$u = 'div';
69456
69456
  register('wm-menu', () => {
69457
69457
  return {
69458
- pre: attrs => `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)}>`,
69458
+ pre: attrs => {
69459
+ const menuWidth = attrs.get("width");
69460
+ let styleBinding = '';
69461
+ if (menuWidth) {
69462
+ if (menuWidth.indexOf('%') > -1 || menuWidth.indexOf('px') > -1) {
69463
+ styleBinding = `[ngStyle]="{'width': '${menuWidth}'}"`;
69464
+ return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
69465
+ }
69466
+ }
69467
+ else {
69468
+ return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)}>`;
69469
+ }
69470
+ },
69459
69471
  post: () => `</${tagName$u}>`
69460
69472
  };
69461
69473
  });
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/angular-codegen",
3
- "version": "11.8.0-next.24896",
3
+ "version": "11.8.0-next.24898",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {