@wavemaker/angular-codegen 11.14.1-3.6306 → 11.14.1-8.6337
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.
- package/angular-app/dependency-report.html +1 -1
- package/angular-app/npm-shrinkwrap.json +117 -132
- package/angular-app/package-lock.json +117 -132
- package/angular-app/package.json +5 -5
- package/dependencies/pipe-provider.cjs.js +20 -14
- package/dependencies/transpilation-web.cjs.js +10 -7
- package/npm-shrinkwrap.json +168 -90
- package/package-lock.json +168 -90
- package/package.json +2 -2
|
@@ -147900,7 +147900,7 @@ const getUpdatedWatchInfo$1 = (expr, acceptsArray, listener) => {
|
|
|
147900
147900
|
}
|
|
147901
147901
|
const lastIndex = expr.lastIndexOf(ARRAY_INDEX_PLACEHOLDER$1);
|
|
147902
147902
|
const baseExpr = expr.substring(0, lastIndex).replace(ARRAY_INDEX_PLACEHOLDER$1, ARRAY_INDEX_ZERO$1);
|
|
147903
|
-
const restExpr = expr.substring(lastIndex +
|
|
147903
|
+
const restExpr = expr.substring(lastIndex + 5);
|
|
147904
147904
|
const arrayConsumerFn = restExpr
|
|
147905
147905
|
? arrayConsumer$1.bind(undefined, listener, restExpr)
|
|
147906
147906
|
: listener;
|
|
@@ -147923,9 +147923,9 @@ const isStaticExpression$1 = (expr) => {
|
|
|
147923
147923
|
}
|
|
147924
147924
|
const trimmedExpr = expr.trim();
|
|
147925
147925
|
// Expressions that always evaluate to localization strings
|
|
147926
|
-
if (trimmedExpr.includes('appLocale')) {
|
|
147927
|
-
|
|
147928
|
-
}
|
|
147926
|
+
// if (trimmedExpr.includes('appLocale')) {
|
|
147927
|
+
// return true;
|
|
147928
|
+
// }
|
|
147929
147929
|
// Hard-coded static expression names
|
|
147930
147930
|
if (STATIC_EXPRESSION_NAMES$1.includes(trimmedExpr)) {
|
|
147931
147931
|
return true;
|
|
@@ -147998,6 +147998,7 @@ const $watch$1 = (expr, $scope, $locals, listener, identifier = watchIdGenerator
|
|
|
147998
147998
|
const fn = $parseExpr$1();
|
|
147999
147999
|
const scopeType = getScopeType$1($scope);
|
|
148000
148000
|
const scopeName = getScopeName$1($scope, scopeType);
|
|
148001
|
+
const destroyFn = () => $unwatch$1(identifier);
|
|
148001
148002
|
const watchInfo = {
|
|
148002
148003
|
fn: fn.bind(null, $scope, $locals),
|
|
148003
148004
|
listener,
|
|
@@ -148006,7 +148007,8 @@ const $watch$1 = (expr, $scope, $locals, listener, identifier = watchIdGenerator
|
|
|
148006
148007
|
doNotClone,
|
|
148007
148008
|
isMuted,
|
|
148008
148009
|
scopeType,
|
|
148009
|
-
scopeName
|
|
148010
|
+
scopeName,
|
|
148011
|
+
destroyFn
|
|
148010
148012
|
};
|
|
148011
148013
|
// Store in registry
|
|
148012
148014
|
const widgetId = getWidgetId$1(identifier);
|
|
@@ -148021,7 +148023,7 @@ const $watch$1 = (expr, $scope, $locals, listener, identifier = watchIdGenerator
|
|
|
148021
148023
|
else {
|
|
148022
148024
|
registry$1.set(identifier, watchInfo);
|
|
148023
148025
|
}
|
|
148024
|
-
return
|
|
148026
|
+
return destroyFn;
|
|
148025
148027
|
};
|
|
148026
148028
|
/**
|
|
148027
148029
|
* Unwatches a single identifier
|
|
@@ -148031,6 +148033,7 @@ const $unwatch$1 = (identifier) => {
|
|
|
148031
148033
|
if (widgetId) {
|
|
148032
148034
|
const propertyName = getPropertyName$1(identifier);
|
|
148033
148035
|
const widgetGroup = registry$1.get(widgetId);
|
|
148036
|
+
//@ts-ignore
|
|
148034
148037
|
if (widgetGroup && typeof widgetGroup === 'object' && !widgetGroup.fn) {
|
|
148035
148038
|
const watchInfo = widgetGroup[propertyName];
|
|
148036
148039
|
if (watchInfo) {
|
|
@@ -148058,7 +148061,7 @@ const $appDigest$1 = (() => {
|
|
|
148058
148061
|
};
|
|
148059
148062
|
})();
|
|
148060
148063
|
// Export registry for debugging
|
|
148061
|
-
|
|
148064
|
+
window.watchRegistry = registry$1;
|
|
148062
148065
|
|
|
148063
148066
|
var ComponentType$1;
|
|
148064
148067
|
(function (ComponentType) {
|
|
@@ -203665,7 +203668,7 @@ const getUpdatedWatchInfo = (expr, acceptsArray, listener) => {
|
|
|
203665
203668
|
}
|
|
203666
203669
|
const lastIndex = expr.lastIndexOf(ARRAY_INDEX_PLACEHOLDER);
|
|
203667
203670
|
const baseExpr = expr.substring(0, lastIndex).replace(ARRAY_INDEX_PLACEHOLDER, ARRAY_INDEX_ZERO);
|
|
203668
|
-
const restExpr = expr.substring(lastIndex +
|
|
203671
|
+
const restExpr = expr.substring(lastIndex + 5);
|
|
203669
203672
|
const arrayConsumerFn = restExpr
|
|
203670
203673
|
? arrayConsumer.bind(undefined, listener, restExpr)
|
|
203671
203674
|
: listener;
|
|
@@ -203688,9 +203691,9 @@ const isStaticExpression = (expr) => {
|
|
|
203688
203691
|
}
|
|
203689
203692
|
const trimmedExpr = expr.trim();
|
|
203690
203693
|
// Expressions that always evaluate to localization strings
|
|
203691
|
-
if (trimmedExpr.includes('appLocale')) {
|
|
203692
|
-
|
|
203693
|
-
}
|
|
203694
|
+
// if (trimmedExpr.includes('appLocale')) {
|
|
203695
|
+
// return true;
|
|
203696
|
+
// }
|
|
203694
203697
|
// Hard-coded static expression names
|
|
203695
203698
|
if (STATIC_EXPRESSION_NAMES.includes(trimmedExpr)) {
|
|
203696
203699
|
return true;
|
|
@@ -203763,6 +203766,7 @@ const $watch = (expr, $scope, $locals, listener, identifier = watchIdGenerator.n
|
|
|
203763
203766
|
const fn = $parseExpr();
|
|
203764
203767
|
const scopeType = getScopeType($scope);
|
|
203765
203768
|
const scopeName = getScopeName($scope, scopeType);
|
|
203769
|
+
const destroyFn = () => $unwatch(identifier);
|
|
203766
203770
|
const watchInfo = {
|
|
203767
203771
|
fn: fn.bind(null, $scope, $locals),
|
|
203768
203772
|
listener,
|
|
@@ -203771,7 +203775,8 @@ const $watch = (expr, $scope, $locals, listener, identifier = watchIdGenerator.n
|
|
|
203771
203775
|
doNotClone,
|
|
203772
203776
|
isMuted,
|
|
203773
203777
|
scopeType,
|
|
203774
|
-
scopeName
|
|
203778
|
+
scopeName,
|
|
203779
|
+
destroyFn
|
|
203775
203780
|
};
|
|
203776
203781
|
// Store in registry
|
|
203777
203782
|
const widgetId = getWidgetId(identifier);
|
|
@@ -203786,7 +203791,7 @@ const $watch = (expr, $scope, $locals, listener, identifier = watchIdGenerator.n
|
|
|
203786
203791
|
else {
|
|
203787
203792
|
registry.set(identifier, watchInfo);
|
|
203788
203793
|
}
|
|
203789
|
-
return
|
|
203794
|
+
return destroyFn;
|
|
203790
203795
|
};
|
|
203791
203796
|
/**
|
|
203792
203797
|
* Unwatches a single identifier
|
|
@@ -203796,6 +203801,7 @@ const $unwatch = (identifier) => {
|
|
|
203796
203801
|
if (widgetId) {
|
|
203797
203802
|
const propertyName = getPropertyName(identifier);
|
|
203798
203803
|
const widgetGroup = registry.get(widgetId);
|
|
203804
|
+
//@ts-ignore
|
|
203799
203805
|
if (widgetGroup && typeof widgetGroup === 'object' && !widgetGroup.fn) {
|
|
203800
203806
|
const watchInfo = widgetGroup[propertyName];
|
|
203801
203807
|
if (watchInfo) {
|
|
@@ -203823,7 +203829,7 @@ const $appDigest = (() => {
|
|
|
203823
203829
|
};
|
|
203824
203830
|
})();
|
|
203825
203831
|
// Export registry for debugging
|
|
203826
|
-
|
|
203832
|
+
window.watchRegistry = registry;
|
|
203827
203833
|
|
|
203828
203834
|
var ComponentType;
|
|
203829
203835
|
(function (ComponentType) {
|
|
@@ -100308,7 +100308,7 @@ const getUpdatedWatchInfo = (expr, acceptsArray, listener) => {
|
|
|
100308
100308
|
}
|
|
100309
100309
|
const lastIndex = expr.lastIndexOf(ARRAY_INDEX_PLACEHOLDER);
|
|
100310
100310
|
const baseExpr = expr.substring(0, lastIndex).replace(ARRAY_INDEX_PLACEHOLDER, ARRAY_INDEX_ZERO);
|
|
100311
|
-
const restExpr = expr.substring(lastIndex +
|
|
100311
|
+
const restExpr = expr.substring(lastIndex + 5);
|
|
100312
100312
|
const arrayConsumerFn = restExpr
|
|
100313
100313
|
? arrayConsumer.bind(undefined, listener, restExpr)
|
|
100314
100314
|
: listener;
|
|
@@ -100331,9 +100331,9 @@ const isStaticExpression = (expr) => {
|
|
|
100331
100331
|
}
|
|
100332
100332
|
const trimmedExpr = expr.trim();
|
|
100333
100333
|
// Expressions that always evaluate to localization strings
|
|
100334
|
-
if (trimmedExpr.includes('appLocale')) {
|
|
100335
|
-
|
|
100336
|
-
}
|
|
100334
|
+
// if (trimmedExpr.includes('appLocale')) {
|
|
100335
|
+
// return true;
|
|
100336
|
+
// }
|
|
100337
100337
|
// Hard-coded static expression names
|
|
100338
100338
|
if (STATIC_EXPRESSION_NAMES.includes(trimmedExpr)) {
|
|
100339
100339
|
return true;
|
|
@@ -100406,6 +100406,7 @@ const $watch = (expr, $scope, $locals, listener, identifier = watchIdGenerator.n
|
|
|
100406
100406
|
const fn = $parseExpr();
|
|
100407
100407
|
const scopeType = getScopeType($scope);
|
|
100408
100408
|
const scopeName = getScopeName($scope, scopeType);
|
|
100409
|
+
const destroyFn = () => $unwatch(identifier);
|
|
100409
100410
|
const watchInfo = {
|
|
100410
100411
|
fn: fn.bind(null, $scope, $locals),
|
|
100411
100412
|
listener,
|
|
@@ -100414,7 +100415,8 @@ const $watch = (expr, $scope, $locals, listener, identifier = watchIdGenerator.n
|
|
|
100414
100415
|
doNotClone,
|
|
100415
100416
|
isMuted,
|
|
100416
100417
|
scopeType,
|
|
100417
|
-
scopeName
|
|
100418
|
+
scopeName,
|
|
100419
|
+
destroyFn
|
|
100418
100420
|
};
|
|
100419
100421
|
// Store in registry
|
|
100420
100422
|
const widgetId = getWidgetId(identifier);
|
|
@@ -100429,7 +100431,7 @@ const $watch = (expr, $scope, $locals, listener, identifier = watchIdGenerator.n
|
|
|
100429
100431
|
else {
|
|
100430
100432
|
registry.set(identifier, watchInfo);
|
|
100431
100433
|
}
|
|
100432
|
-
return
|
|
100434
|
+
return destroyFn;
|
|
100433
100435
|
};
|
|
100434
100436
|
/**
|
|
100435
100437
|
* Unwatches a single identifier
|
|
@@ -100439,6 +100441,7 @@ const $unwatch = (identifier) => {
|
|
|
100439
100441
|
if (widgetId) {
|
|
100440
100442
|
const propertyName = getPropertyName(identifier);
|
|
100441
100443
|
const widgetGroup = registry.get(widgetId);
|
|
100444
|
+
//@ts-ignore
|
|
100442
100445
|
if (widgetGroup && typeof widgetGroup === 'object' && !widgetGroup.fn) {
|
|
100443
100446
|
const watchInfo = widgetGroup[propertyName];
|
|
100444
100447
|
if (watchInfo) {
|
|
@@ -100466,7 +100469,7 @@ const $appDigest = (() => {
|
|
|
100466
100469
|
};
|
|
100467
100470
|
})();
|
|
100468
100471
|
// Export registry for debugging
|
|
100469
|
-
|
|
100472
|
+
window.watchRegistry = registry;
|
|
100470
100473
|
|
|
100471
100474
|
var ComponentType;
|
|
100472
100475
|
(function (ComponentType) {
|