@wavemaker/angular-codegen 11.8.0-next.24900 → 11.8.0-next.24901
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.
|
|
39
|
+
"@wavemaker/variables": "11.8.0-next.24901",
|
|
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.
|
|
7277
|
-
"resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.8.0-next.
|
|
7278
|
-
"integrity": "sha512-
|
|
7276
|
+
"version": "11.8.0-next.24901",
|
|
7277
|
+
"resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.8.0-next.24901.tgz",
|
|
7278
|
+
"integrity": "sha512-tsk2fPkY8Q61/kW0SXlBwAbwB3PZPhoUEm9ZBidus3DTVqQsEP7b2zVR3/GwK/LIdvxx4HJdecqnT/Sg2lGPfg==",
|
|
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.
|
|
48
|
+
"@wavemaker/variables": "11.8.0-next.24901",
|
|
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.
|
|
74
|
+
"@wavemaker/app-ng-runtime": "11.8.0-next.24901"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@ampproject/rollup-plugin-closure-compiler": "^0.27.0",
|
|
@@ -69459,10 +69459,15 @@ register('wm-menu', () => {
|
|
|
69459
69459
|
const menuWidth = attrs.get("width");
|
|
69460
69460
|
let styleBinding = '';
|
|
69461
69461
|
if (menuWidth) {
|
|
69462
|
-
|
|
69462
|
+
const units = ['%', 'px'];
|
|
69463
|
+
const hasUnit = units.some(unit => menuWidth.includes(unit));
|
|
69464
|
+
if (hasUnit) {
|
|
69463
69465
|
styleBinding = `[ngStyle]="{'width': '${menuWidth}'}"`;
|
|
69464
|
-
return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
|
|
69465
69466
|
}
|
|
69467
|
+
else {
|
|
69468
|
+
styleBinding = `[ngStyle]="{'width': '${menuWidth}px'}"`;
|
|
69469
|
+
}
|
|
69470
|
+
return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
|
|
69466
69471
|
}
|
|
69467
69472
|
else {
|
|
69468
69473
|
return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)}>`;
|
|
@@ -69459,10 +69459,15 @@ register('wm-menu', () => {
|
|
|
69459
69459
|
const menuWidth = attrs.get("width");
|
|
69460
69460
|
let styleBinding = '';
|
|
69461
69461
|
if (menuWidth) {
|
|
69462
|
-
|
|
69462
|
+
const units = ['%', 'px'];
|
|
69463
|
+
const hasUnit = units.some(unit => menuWidth.includes(unit));
|
|
69464
|
+
if (hasUnit) {
|
|
69463
69465
|
styleBinding = `[ngStyle]="{'width': '${menuWidth}'}"`;
|
|
69464
|
-
return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
|
|
69465
69466
|
}
|
|
69467
|
+
else {
|
|
69468
|
+
styleBinding = `[ngStyle]="{'width': '${menuWidth}px'}"`;
|
|
69469
|
+
}
|
|
69470
|
+
return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
|
|
69466
69471
|
}
|
|
69467
69472
|
else {
|
|
69468
69473
|
return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)}>`;
|