@wavemaker/angular-codegen 11.5.2-rc.5436 → 11.5.3-next.141100

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.
@@ -150,9 +150,9 @@
150
150
  }
151
151
  ],
152
152
  "optimization": {
153
- "scripts": false,
153
+ "scripts": true,
154
154
  "styles": {
155
- "minify": false,
155
+ "minify": true,
156
156
  "inlineCritical": false
157
157
  },
158
158
  "fonts": true
@@ -47,7 +47,7 @@
47
47
  "@metrichor/jmespath": "^0.3.1",
48
48
  "@wavemaker.com/nvd3": "1.0.0",
49
49
  "@wavemaker/focus-trap": "^1.0.0",
50
- "@wavemaker/variables": "11.5.2-rc.5436",
50
+ "@wavemaker/variables": "11.5.3-next.141100",
51
51
  "@ztree/ztree_v3": "^3.5.48",
52
52
  "angular-imask": "6.3.0",
53
53
  "angular2-websocket": "0.9.7",
@@ -72,7 +72,7 @@
72
72
  "tslib": "2.4.1",
73
73
  "x2js": "^3.4.4",
74
74
  "zone.js": "~0.11.4",
75
- "@wavemaker/app-ng-runtime": "11.5.2-rc.5436"
75
+ "@wavemaker/app-ng-runtime": "11.5.3-next.141100"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@ampproject/rollup-plugin-closure-compiler": "^0.27.0",
@@ -93896,7 +93896,7 @@ const getUpdatedWatcInfo$1 = (expr, acceptsArray, listener) => {
93896
93896
  };
93897
93897
  const $watch$1 = (expr, $scope, $locals, listener, identifier = watchIdGenerator$1.nextUid(), doNotClone = false, config = {}, isMuted) => {
93898
93898
  if (expr.indexOf('[$i]') !== -1) {
93899
- let watchInfo = getUpdatedWatcInfo$1(expr, config && (config.arrayType || config.isList), listener);
93899
+ let watchInfo = getUpdatedWatcInfo$1(expr, config && config.arrayType, listener);
93900
93900
  expr = watchInfo.expr;
93901
93901
  listener = watchInfo.listener;
93902
93902
  }
@@ -95389,40 +95389,6 @@ const setListClass$1 = (scope) => {
95389
95389
  scope.itemsPerRowClass = 'col-xs-12';
95390
95390
  }
95391
95391
  };
95392
- const findParent$1 = (lView, viewParentApp) => {
95393
- let parent = findViewParent$1(lView);
95394
- return parent ? parent : viewParentApp;
95395
- };
95396
- const findViewParent$1 = (lView) => {
95397
- return lView[16] ? lView[16][8] : lView[16];
95398
- /*if(lView[3] === null) {
95399
- return lView[8];
95400
- }
95401
- let parentlView = lView[3];
95402
- if(typeof lView[1] === "boolean") {
95403
- return findViewParent(parentlView);
95404
- }
95405
- let componentType = lView[1]["type"];
95406
- if(componentType === 0 || componentType === 1) {
95407
- let p = lView[8];
95408
- // ts-ignore
95409
- if(p.hasOwnProperty("isDialogComponent") || p.hasOwnProperty("isContainerDirective")) {
95410
- return findViewParent(parentlView);
95411
- } else {
95412
- return p;
95413
- }
95414
- } else {
95415
- return findViewParent(parentlView);
95416
- }*/
95417
- };
95418
- /*export const getParent = (parent: any) => {
95419
- if(parent.hasOwnProperty("isDynamicComponent") || parent.hasOwnProperty("isPageComponent")) {
95420
- return parent
95421
- } else{
95422
- return parent.viewParent ? getParent(parent.viewParent) : parent;
95423
- }
95424
-
95425
- }*/
95426
95392
 
95427
95393
  var Utils$1 = /*#__PURE__*/Object.freeze({
95428
95394
  __proto__: null,
@@ -95447,10 +95413,8 @@ var Utils$1 = /*#__PURE__*/Object.freeze({
95447
95413
  extractCurrentItemExpr: extractCurrentItemExpr$1,
95448
95414
  extractType: extractType$1,
95449
95415
  fetchContent: fetchContent$1,
95450
- findParent: findParent$1,
95451
95416
  findRootContainer: findRootContainer$1,
95452
95417
  findValueOf: findValueOf$1,
95453
- findViewParent: findViewParent$1,
95454
95418
  generateGUId: generateGUId$1,
95455
95419
  getAbortableDefer: getAbortableDefer$1,
95456
95420
  getAndroidVersion: getAndroidVersion$1,
@@ -120704,7 +120668,7 @@ const getUpdatedWatcInfo = (expr, acceptsArray, listener) => {
120704
120668
  };
120705
120669
  const $watch = (expr, $scope, $locals, listener, identifier = watchIdGenerator.nextUid(), doNotClone = false, config = {}, isMuted) => {
120706
120670
  if (expr.indexOf('[$i]') !== -1) {
120707
- let watchInfo = getUpdatedWatcInfo(expr, config && (config.arrayType || config.isList), listener);
120671
+ let watchInfo = getUpdatedWatcInfo(expr, config && config.arrayType, listener);
120708
120672
  expr = watchInfo.expr;
120709
120673
  listener = watchInfo.listener;
120710
120674
  }
@@ -122197,40 +122161,6 @@ const setListClass = (scope) => {
122197
122161
  scope.itemsPerRowClass = 'col-xs-12';
122198
122162
  }
122199
122163
  };
122200
- const findParent = (lView, viewParentApp) => {
122201
- let parent = findViewParent(lView);
122202
- return parent ? parent : viewParentApp;
122203
- };
122204
- const findViewParent = (lView) => {
122205
- return lView[16] ? lView[16][8] : lView[16];
122206
- /*if(lView[3] === null) {
122207
- return lView[8];
122208
- }
122209
- let parentlView = lView[3];
122210
- if(typeof lView[1] === "boolean") {
122211
- return findViewParent(parentlView);
122212
- }
122213
- let componentType = lView[1]["type"];
122214
- if(componentType === 0 || componentType === 1) {
122215
- let p = lView[8];
122216
- // ts-ignore
122217
- if(p.hasOwnProperty("isDialogComponent") || p.hasOwnProperty("isContainerDirective")) {
122218
- return findViewParent(parentlView);
122219
- } else {
122220
- return p;
122221
- }
122222
- } else {
122223
- return findViewParent(parentlView);
122224
- }*/
122225
- };
122226
- /*export const getParent = (parent: any) => {
122227
- if(parent.hasOwnProperty("isDynamicComponent") || parent.hasOwnProperty("isPageComponent")) {
122228
- return parent
122229
- } else{
122230
- return parent.viewParent ? getParent(parent.viewParent) : parent;
122231
- }
122232
-
122233
- }*/
122234
122164
 
122235
122165
  var Utils = /*#__PURE__*/Object.freeze({
122236
122166
  __proto__: null,
@@ -122255,10 +122185,8 @@ var Utils = /*#__PURE__*/Object.freeze({
122255
122185
  extractCurrentItemExpr: extractCurrentItemExpr,
122256
122186
  extractType: extractType,
122257
122187
  fetchContent: fetchContent,
122258
- findParent: findParent,
122259
122188
  findRootContainer: findRootContainer,
122260
122189
  findValueOf: findValueOf,
122261
- findViewParent: findViewParent,
122262
122190
  generateGUId: generateGUId,
122263
122191
  getAbortableDefer: getAbortableDefer,
122264
122192
  getAndroidVersion: getAndroidVersion,
@@ -57524,7 +57524,7 @@ const getUpdatedWatcInfo = (expr, acceptsArray, listener) => {
57524
57524
  };
57525
57525
  const $watch = (expr, $scope, $locals, listener, identifier = watchIdGenerator.nextUid(), doNotClone = false, config = {}, isMuted) => {
57526
57526
  if (expr.indexOf('[$i]') !== -1) {
57527
- let watchInfo = getUpdatedWatcInfo(expr, config && (config.arrayType || config.isList), listener);
57527
+ let watchInfo = getUpdatedWatcInfo(expr, config && config.arrayType, listener);
57528
57528
  expr = watchInfo.expr;
57529
57529
  listener = watchInfo.listener;
57530
57530
  }
@@ -59015,40 +59015,6 @@ const setListClass = (scope) => {
59015
59015
  scope.itemsPerRowClass = 'col-xs-12';
59016
59016
  }
59017
59017
  };
59018
- const findParent = (lView, viewParentApp) => {
59019
- let parent = findViewParent(lView);
59020
- return parent ? parent : viewParentApp;
59021
- };
59022
- const findViewParent = (lView) => {
59023
- return lView[16] ? lView[16][8] : lView[16];
59024
- /*if(lView[3] === null) {
59025
- return lView[8];
59026
- }
59027
- let parentlView = lView[3];
59028
- if(typeof lView[1] === "boolean") {
59029
- return findViewParent(parentlView);
59030
- }
59031
- let componentType = lView[1]["type"];
59032
- if(componentType === 0 || componentType === 1) {
59033
- let p = lView[8];
59034
- // ts-ignore
59035
- if(p.hasOwnProperty("isDialogComponent") || p.hasOwnProperty("isContainerDirective")) {
59036
- return findViewParent(parentlView);
59037
- } else {
59038
- return p;
59039
- }
59040
- } else {
59041
- return findViewParent(parentlView);
59042
- }*/
59043
- };
59044
- /*export const getParent = (parent: any) => {
59045
- if(parent.hasOwnProperty("isDynamicComponent") || parent.hasOwnProperty("isPageComponent")) {
59046
- return parent
59047
- } else{
59048
- return parent.viewParent ? getParent(parent.viewParent) : parent;
59049
- }
59050
-
59051
- }*/
59052
59018
 
59053
59019
  var Utils = /*#__PURE__*/Object.freeze({
59054
59020
  __proto__: null,
@@ -59073,10 +59039,8 @@ var Utils = /*#__PURE__*/Object.freeze({
59073
59039
  extractCurrentItemExpr: extractCurrentItemExpr,
59074
59040
  extractType: extractType,
59075
59041
  fetchContent: fetchContent,
59076
- findParent: findParent,
59077
59042
  findRootContainer: findRootContainer,
59078
59043
  findValueOf: findValueOf,
59079
- findViewParent: findViewParent,
59080
59044
  generateGUId: generateGUId,
59081
59045
  getAbortableDefer: getAbortableDefer,
59082
59046
  getAndroidVersion: getAndroidVersion,
@@ -62134,9 +62098,6 @@ const buildTask = (directiveAttr = '') => {
62134
62098
  const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';
62135
62099
  const counter = idGen$d.nextUid();
62136
62100
  const dependsOn = attrs.get('dependson') ? `dependson="${attrs.get('dependson')}"` : '';
62137
- if (dependsOn) {
62138
- attrs.set('dependsontable', attrs.get('dependson'));
62139
- }
62140
62101
  const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';
62141
62102
  const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];
62142
62103
  attrs.delete('dependson');
@@ -62181,8 +62142,7 @@ const buildTask = (directiveAttr = '') => {
62181
62142
  <div class="form-elements panel-body" >`;
62182
62143
  }
62183
62144
  tmpl = getAttrMarkup(attrs);
62184
- const dependsOnTmpl = dependsOn ? `<div ${dependsOn}>` : '';
62185
- return `${dependsOnTmpl}${liveFormTmpl} ${tmpl}>
62145
+ return `${liveFormTmpl} ${tmpl} ${dependsOn}>
62186
62146
  ${buttonTemplate} ${mobileFormContentTmpl}`;
62187
62147
  },
62188
62148
  post: (attrs) => {
@@ -62192,9 +62152,6 @@ const buildTask = (directiveAttr = '') => {
62192
62152
  if (attrs.get('formlayout') === 'page') {
62193
62153
  return `</div></${tagName$V}>`;
62194
62154
  }
62195
- if (attrs.get('dependsontable')) {
62196
- return `</${tagName$V}></div>`;
62197
- }
62198
62155
  return `</${tagName$V}>`;
62199
62156
  },
62200
62157
  provide: (attrs, shared) => {
@@ -57524,7 +57524,7 @@ const getUpdatedWatcInfo = (expr, acceptsArray, listener) => {
57524
57524
  };
57525
57525
  const $watch = (expr, $scope, $locals, listener, identifier = watchIdGenerator.nextUid(), doNotClone = false, config = {}, isMuted) => {
57526
57526
  if (expr.indexOf('[$i]') !== -1) {
57527
- let watchInfo = getUpdatedWatcInfo(expr, config && (config.arrayType || config.isList), listener);
57527
+ let watchInfo = getUpdatedWatcInfo(expr, config && config.arrayType, listener);
57528
57528
  expr = watchInfo.expr;
57529
57529
  listener = watchInfo.listener;
57530
57530
  }
@@ -59015,40 +59015,6 @@ const setListClass = (scope) => {
59015
59015
  scope.itemsPerRowClass = 'col-xs-12';
59016
59016
  }
59017
59017
  };
59018
- const findParent = (lView, viewParentApp) => {
59019
- let parent = findViewParent(lView);
59020
- return parent ? parent : viewParentApp;
59021
- };
59022
- const findViewParent = (lView) => {
59023
- return lView[16] ? lView[16][8] : lView[16];
59024
- /*if(lView[3] === null) {
59025
- return lView[8];
59026
- }
59027
- let parentlView = lView[3];
59028
- if(typeof lView[1] === "boolean") {
59029
- return findViewParent(parentlView);
59030
- }
59031
- let componentType = lView[1]["type"];
59032
- if(componentType === 0 || componentType === 1) {
59033
- let p = lView[8];
59034
- // ts-ignore
59035
- if(p.hasOwnProperty("isDialogComponent") || p.hasOwnProperty("isContainerDirective")) {
59036
- return findViewParent(parentlView);
59037
- } else {
59038
- return p;
59039
- }
59040
- } else {
59041
- return findViewParent(parentlView);
59042
- }*/
59043
- };
59044
- /*export const getParent = (parent: any) => {
59045
- if(parent.hasOwnProperty("isDynamicComponent") || parent.hasOwnProperty("isPageComponent")) {
59046
- return parent
59047
- } else{
59048
- return parent.viewParent ? getParent(parent.viewParent) : parent;
59049
- }
59050
-
59051
- }*/
59052
59018
 
59053
59019
  var Utils = /*#__PURE__*/Object.freeze({
59054
59020
  __proto__: null,
@@ -59073,10 +59039,8 @@ var Utils = /*#__PURE__*/Object.freeze({
59073
59039
  extractCurrentItemExpr: extractCurrentItemExpr,
59074
59040
  extractType: extractType,
59075
59041
  fetchContent: fetchContent,
59076
- findParent: findParent,
59077
59042
  findRootContainer: findRootContainer,
59078
59043
  findValueOf: findValueOf,
59079
- findViewParent: findViewParent,
59080
59044
  generateGUId: generateGUId,
59081
59045
  getAbortableDefer: getAbortableDefer,
59082
59046
  getAndroidVersion: getAndroidVersion,
@@ -62134,9 +62098,6 @@ const buildTask = (directiveAttr = '') => {
62134
62098
  const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';
62135
62099
  const counter = idGen$d.nextUid();
62136
62100
  const dependsOn = attrs.get('dependson') ? `dependson="${attrs.get('dependson')}"` : '';
62137
- if (dependsOn) {
62138
- attrs.set('dependsontable', attrs.get('dependson'));
62139
- }
62140
62101
  const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';
62141
62102
  const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];
62142
62103
  attrs.delete('dependson');
@@ -62181,8 +62142,7 @@ const buildTask = (directiveAttr = '') => {
62181
62142
  <div class="form-elements panel-body" >`;
62182
62143
  }
62183
62144
  tmpl = getAttrMarkup(attrs);
62184
- const dependsOnTmpl = dependsOn ? `<div ${dependsOn}>` : '';
62185
- return `${dependsOnTmpl}${liveFormTmpl} ${tmpl}>
62145
+ return `${liveFormTmpl} ${tmpl} ${dependsOn}>
62186
62146
  ${buttonTemplate} ${mobileFormContentTmpl}`;
62187
62147
  },
62188
62148
  post: (attrs) => {
@@ -62192,9 +62152,6 @@ const buildTask = (directiveAttr = '') => {
62192
62152
  if (attrs.get('formlayout') === 'page') {
62193
62153
  return `</div></${tagName$V}>`;
62194
62154
  }
62195
- if (attrs.get('dependsontable')) {
62196
- return `</${tagName$V}></div>`;
62197
- }
62198
62155
  return `</${tagName$V}>`;
62199
62156
  },
62200
62157
  provide: (attrs, shared) => {
@@ -43,8 +43,8 @@ const downloadNPMPackage = (packageInfo) => {
43
43
  npmInstallCMD = 'npm init -y && ' + npmInstallCMD + packageInfo.scope + '/' + packageInfo.name + '@' + packageInfo.version;
44
44
  }
45
45
 
46
- executeSyncCmd('cd ' + PATH_NPM_PACKAGE + ' && ' + npmInstallCMD, (errMsg) => {
47
- console.log(packageInfo.infoMsg + ' Something wrong with npm installation ', errMsg);
46
+ executeSyncCmd('cd ' + PATH_NPM_PACKAGE + ' && ' + npmInstallCMD, () => {
47
+ console.log(packageInfo.infoMsg + ' Something wrong with npm installation');
48
48
  }, packageInfo.infoMsg);
49
49
 
50
50
  fs.writeFileSync(PATH_NPM_PACKAGE_SUCCESS, packageInfo.successMsg);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/angular-codegen",
3
- "version": "11.5.2-rc.5436",
3
+ "version": "11.5.3-next.141100",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {