@wavemaker/angular-app 11.14.1-18.6421 → 11.14.1-18.6428
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/dependencies/pipe-provider.cjs.js +18 -56
- package/dependencies/transpilation-web.cjs.js +3 -21
- package/dependency-report.html +1 -1
- package/npm-shrinkwrap.json +100 -101
- package/package-lock.json +100 -101
- package/package.json +5 -5
|
@@ -147851,13 +147851,13 @@ const FIRST_TIME_WATCH$1 = {};
|
|
|
147851
147851
|
Object.freeze(FIRST_TIME_WATCH$1);
|
|
147852
147852
|
const arrayConsumer$1 = (listenerFn, restExpr, newVal, oldVal) => {
|
|
147853
147853
|
let data = newVal, formattedData;
|
|
147854
|
-
if (
|
|
147854
|
+
if (isArray$1(data)) {
|
|
147855
147855
|
formattedData = data.map(function (datum) {
|
|
147856
147856
|
return findValueOf$1(datum, restExpr);
|
|
147857
147857
|
});
|
|
147858
147858
|
// If resulting structure is an array of array, flatten it
|
|
147859
|
-
if (
|
|
147860
|
-
formattedData =
|
|
147859
|
+
if (isArray$1(formattedData[0])) {
|
|
147860
|
+
formattedData = flatten$2(formattedData);
|
|
147861
147861
|
}
|
|
147862
147862
|
listenerFn(formattedData, oldVal);
|
|
147863
147863
|
}
|
|
@@ -147902,19 +147902,6 @@ const $watch$1 = (expr, $scope, $locals, listener, identifier = watchIdGenerator
|
|
|
147902
147902
|
};
|
|
147903
147903
|
const $unwatch$1 = identifier => registry$1.delete(identifier);
|
|
147904
147904
|
window.watchRegistry = registry$1;
|
|
147905
|
-
window.__WM_DEBUG_WATCHERS__ = false;
|
|
147906
|
-
/*export const $invokeWatchers = (force?: boolean, ignoreMuted?: boolean) => {
|
|
147907
|
-
if (force) {
|
|
147908
|
-
triggerWatchers(ignoreMuted);
|
|
147909
|
-
} else {
|
|
147910
|
-
|
|
147911
|
-
if (skipWatchers) {
|
|
147912
|
-
skipWatchers = false;
|
|
147913
|
-
return;
|
|
147914
|
-
}
|
|
147915
|
-
debouncedTriggerWatchers();
|
|
147916
|
-
}
|
|
147917
|
-
};*/
|
|
147918
147905
|
const $appDigest$1 = (() => {
|
|
147919
147906
|
return (force) => {
|
|
147920
147907
|
{
|
|
@@ -147977,8 +147964,8 @@ var Operation$1;
|
|
|
147977
147964
|
const DataSource$1 = {
|
|
147978
147965
|
Operation: Operation$1
|
|
147979
147966
|
};
|
|
147980
|
-
|
|
147981
|
-
}
|
|
147967
|
+
class App {
|
|
147968
|
+
}
|
|
147982
147969
|
let AbstractI18nService$1 = class AbstractI18nService {
|
|
147983
147970
|
};
|
|
147984
147971
|
|
|
@@ -147996,7 +147983,6 @@ const REGEX$1 = {
|
|
|
147996
147983
|
SUPPORTED_AUDIO_FORMAT: /\.(mp3|ogg|webm|wma|3gp|wav|m4a)$/i,
|
|
147997
147984
|
SUPPORTED_VIDEO_FORMAT: /\.(mp4|ogg|webm|wmv|mpeg|mpg|avi|mov)$/i,
|
|
147998
147985
|
VALID_WEB_URL: /^(http[s]?:\/\/)(www\.){0,1}[a-zA-Z0-9=:?\/\.\-]+(\.[a-zA-Z]{2,5}[\.]{0,1})?/,
|
|
147999
|
-
VALID_IMAGE_URL: /^(https?|blob|data|file|ftp):/i,
|
|
148000
147986
|
REPLACE_PATTERN: /\$\{([^\}]+)\}/g,
|
|
148001
147987
|
DATA_URL: /^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s]*)\s*$/i,
|
|
148002
147988
|
ISO_DATE_FORMAT: /(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2})(\.\d+)?([+-]\d{2}:?\d{2}|Z)$/
|
|
@@ -148219,9 +148205,6 @@ const isVideoFile$1 = (fileName) => {
|
|
|
148219
148205
|
const isValidWebURL$1 = (url) => {
|
|
148220
148206
|
return (REGEX$1.VALID_WEB_URL).test(url);
|
|
148221
148207
|
};
|
|
148222
|
-
const isValidImageUrl$1 = (url) => {
|
|
148223
|
-
return (REGEX$1.VALID_IMAGE_URL).test(url?.trim());
|
|
148224
|
-
};
|
|
148225
148208
|
/*This function returns the url to the resource after checking the validity of url*/
|
|
148226
148209
|
const getResourceURL$1 = (urlString) => {
|
|
148227
148210
|
return urlString;
|
|
@@ -149475,7 +149458,6 @@ var Utils$1 = /*#__PURE__*/Object.freeze({
|
|
|
149475
149458
|
isPageable: isPageable$1,
|
|
149476
149459
|
isSafari: isSafari$1,
|
|
149477
149460
|
isTablet: isTablet$1,
|
|
149478
|
-
isValidImageUrl: isValidImageUrl$1,
|
|
149479
149461
|
isValidWebURL: isValidWebURL$1,
|
|
149480
149462
|
isVideoFile: isVideoFile$1,
|
|
149481
149463
|
loadScript: loadScript$1,
|
|
@@ -150710,14 +150692,14 @@ class ToDatePipe extends WmPipe {
|
|
|
150710
150692
|
}
|
|
150711
150693
|
return this.returnFn('', arguments, this.app.Variables);
|
|
150712
150694
|
}
|
|
150713
|
-
constructor(datePipe, i18nService,
|
|
150695
|
+
constructor(datePipe, i18nService, customPipeManager) {
|
|
150714
150696
|
super('toDate', customPipeManager);
|
|
150715
150697
|
this.datePipe = datePipe;
|
|
150716
150698
|
this.i18nService = i18nService;
|
|
150717
|
-
this.app = app;
|
|
150718
150699
|
this.customPipeManager = customPipeManager;
|
|
150700
|
+
this.app = inject(App);
|
|
150719
150701
|
}
|
|
150720
|
-
static { this.ɵfac = function ToDatePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ToDatePipe)(ɵɵdirectiveInject(DatePipe, 16), ɵɵdirectiveInject(AbstractI18nService$1, 16), ɵɵdirectiveInject(
|
|
150702
|
+
static { this.ɵfac = function ToDatePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ToDatePipe)(ɵɵdirectiveInject(DatePipe, 16), ɵɵdirectiveInject(AbstractI18nService$1, 16), ɵɵdirectiveInject(CustomPipeManager$1, 16)); }; }
|
|
150721
150703
|
static { this.ɵpipe = /*@__PURE__*/ ɵɵdefinePipe({ name: "toDate", type: ToDatePipe, pure: true, standalone: true }); }
|
|
150722
150704
|
}
|
|
150723
150705
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ToDatePipe, [{
|
|
@@ -150726,7 +150708,7 @@ class ToDatePipe extends WmPipe {
|
|
|
150726
150708
|
standalone: true,
|
|
150727
150709
|
name: 'toDate'
|
|
150728
150710
|
}]
|
|
150729
|
-
}], () => [{ type: DatePipe }, { type: AbstractI18nService$1 }, { type:
|
|
150711
|
+
}], () => [{ type: DatePipe }, { type: AbstractI18nService$1 }, { type: CustomPipeManager$1 }], null); })();
|
|
150730
150712
|
class ToNumberPipe {
|
|
150731
150713
|
transform(data, fracSize) {
|
|
150732
150714
|
if (fracSize && !String(fracSize).match(/^(\d+)?\.((\d+)(-(\d+))?)?$/)) {
|
|
@@ -150814,9 +150796,9 @@ class SuffixPipe {
|
|
|
150814
150796
|
* Custom pipe: It is work as interceptor between the user custom pipe function and angular pipe
|
|
150815
150797
|
*/
|
|
150816
150798
|
class CustomPipe {
|
|
150817
|
-
constructor(
|
|
150818
|
-
this.app = app;
|
|
150799
|
+
constructor(custmeUserPipe) {
|
|
150819
150800
|
this.custmeUserPipe = custmeUserPipe;
|
|
150801
|
+
this.app = inject(App);
|
|
150820
150802
|
}
|
|
150821
150803
|
transform(data, pipename) {
|
|
150822
150804
|
let argumentArr = [];
|
|
@@ -150836,7 +150818,7 @@ class CustomPipe {
|
|
|
150836
150818
|
return data;
|
|
150837
150819
|
}
|
|
150838
150820
|
}
|
|
150839
|
-
static { this.ɵfac = function CustomPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CustomPipe)(ɵɵdirectiveInject(
|
|
150821
|
+
static { this.ɵfac = function CustomPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CustomPipe)(ɵɵdirectiveInject(CustomPipeManager$1, 16)); }; }
|
|
150840
150822
|
static { this.ɵpipe = /*@__PURE__*/ ɵɵdefinePipe({ name: "custom", type: CustomPipe, pure: true, standalone: true }); }
|
|
150841
150823
|
}
|
|
150842
150824
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(CustomPipe, [{
|
|
@@ -150845,7 +150827,7 @@ class CustomPipe {
|
|
|
150845
150827
|
standalone: true,
|
|
150846
150828
|
name: 'custom'
|
|
150847
150829
|
}]
|
|
150848
|
-
}], () => [{ type:
|
|
150830
|
+
}], () => [{ type: CustomPipeManager$1 }], null); })();
|
|
150849
150831
|
class TimeFromNowPipe {
|
|
150850
150832
|
transform(data) {
|
|
150851
150833
|
let timestamp;
|
|
@@ -203479,13 +203461,13 @@ const FIRST_TIME_WATCH = {};
|
|
|
203479
203461
|
Object.freeze(FIRST_TIME_WATCH);
|
|
203480
203462
|
const arrayConsumer = (listenerFn, restExpr, newVal, oldVal) => {
|
|
203481
203463
|
let data = newVal, formattedData;
|
|
203482
|
-
if (
|
|
203464
|
+
if (isArray(data)) {
|
|
203483
203465
|
formattedData = data.map(function (datum) {
|
|
203484
203466
|
return findValueOf(datum, restExpr);
|
|
203485
203467
|
});
|
|
203486
203468
|
// If resulting structure is an array of array, flatten it
|
|
203487
|
-
if (
|
|
203488
|
-
formattedData =
|
|
203469
|
+
if (isArray(formattedData[0])) {
|
|
203470
|
+
formattedData = flatten(formattedData);
|
|
203489
203471
|
}
|
|
203490
203472
|
listenerFn(formattedData, oldVal);
|
|
203491
203473
|
}
|
|
@@ -203530,19 +203512,6 @@ const $watch = (expr, $scope, $locals, listener, identifier = watchIdGenerator.n
|
|
|
203530
203512
|
};
|
|
203531
203513
|
const $unwatch = identifier => registry.delete(identifier);
|
|
203532
203514
|
window.watchRegistry = registry;
|
|
203533
|
-
window.__WM_DEBUG_WATCHERS__ = false;
|
|
203534
|
-
/*export const $invokeWatchers = (force?: boolean, ignoreMuted?: boolean) => {
|
|
203535
|
-
if (force) {
|
|
203536
|
-
triggerWatchers(ignoreMuted);
|
|
203537
|
-
} else {
|
|
203538
|
-
|
|
203539
|
-
if (skipWatchers) {
|
|
203540
|
-
skipWatchers = false;
|
|
203541
|
-
return;
|
|
203542
|
-
}
|
|
203543
|
-
debouncedTriggerWatchers();
|
|
203544
|
-
}
|
|
203545
|
-
};*/
|
|
203546
203515
|
const $appDigest = (() => {
|
|
203547
203516
|
return (force) => {
|
|
203548
203517
|
{
|
|
@@ -203605,8 +203574,6 @@ var Operation;
|
|
|
203605
203574
|
const DataSource = {
|
|
203606
203575
|
Operation
|
|
203607
203576
|
};
|
|
203608
|
-
class App {
|
|
203609
|
-
}
|
|
203610
203577
|
class AbstractI18nService {
|
|
203611
203578
|
}
|
|
203612
203579
|
|
|
@@ -203624,7 +203591,6 @@ const REGEX = {
|
|
|
203624
203591
|
SUPPORTED_AUDIO_FORMAT: /\.(mp3|ogg|webm|wma|3gp|wav|m4a)$/i,
|
|
203625
203592
|
SUPPORTED_VIDEO_FORMAT: /\.(mp4|ogg|webm|wmv|mpeg|mpg|avi|mov)$/i,
|
|
203626
203593
|
VALID_WEB_URL: /^(http[s]?:\/\/)(www\.){0,1}[a-zA-Z0-9=:?\/\.\-]+(\.[a-zA-Z]{2,5}[\.]{0,1})?/,
|
|
203627
|
-
VALID_IMAGE_URL: /^(https?|blob|data|file|ftp):/i,
|
|
203628
203594
|
REPLACE_PATTERN: /\$\{([^\}]+)\}/g,
|
|
203629
203595
|
DATA_URL: /^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s]*)\s*$/i,
|
|
203630
203596
|
ISO_DATE_FORMAT: /(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2})(\.\d+)?([+-]\d{2}:?\d{2}|Z)$/
|
|
@@ -203847,9 +203813,6 @@ const isVideoFile = (fileName) => {
|
|
|
203847
203813
|
const isValidWebURL = (url) => {
|
|
203848
203814
|
return (REGEX.VALID_WEB_URL).test(url);
|
|
203849
203815
|
};
|
|
203850
|
-
const isValidImageUrl = (url) => {
|
|
203851
|
-
return (REGEX.VALID_IMAGE_URL).test(url?.trim());
|
|
203852
|
-
};
|
|
203853
203816
|
/*This function returns the url to the resource after checking the validity of url*/
|
|
203854
203817
|
const getResourceURL = (urlString) => {
|
|
203855
203818
|
return urlString;
|
|
@@ -205103,7 +205066,6 @@ var Utils = /*#__PURE__*/Object.freeze({
|
|
|
205103
205066
|
isPageable: isPageable,
|
|
205104
205067
|
isSafari: isSafari,
|
|
205105
205068
|
isTablet: isTablet,
|
|
205106
|
-
isValidImageUrl: isValidImageUrl,
|
|
205107
205069
|
isValidWebURL: isValidWebURL,
|
|
205108
205070
|
isVideoFile: isVideoFile,
|
|
205109
205071
|
loadScript: loadScript,
|
|
@@ -207943,7 +207905,7 @@ class PipeProvider {
|
|
|
207943
207905
|
this.preparePipeMeta(CurrencyPipe$1, 'currency', true, [this._locale]),
|
|
207944
207906
|
this.preparePipeMeta(DatePipe$1, 'date', true, [this._locale]),
|
|
207945
207907
|
this.preparePipeMeta(ToDatePipe, 'toDate', true, [
|
|
207946
|
-
new DatePipe$1(this._locale), undefined, this.injector.get(
|
|
207908
|
+
new DatePipe$1(this._locale), undefined, this.injector.get(CustomPipeManager)
|
|
207947
207909
|
]),
|
|
207948
207910
|
this.preparePipeMeta(ToNumberPipe, 'toNumber', true, [
|
|
207949
207911
|
new DecimalPipe$1(this._locale),
|
|
@@ -207960,7 +207922,7 @@ class PipeProvider {
|
|
|
207960
207922
|
new DecimalPipe$1(this._locale)
|
|
207961
207923
|
]),
|
|
207962
207924
|
this.preparePipeMeta(StringToNumberPipe, 'stringToNumber', true),
|
|
207963
|
-
this.preparePipeMeta(CustomPipe, 'custom', true, [this.injector.get(
|
|
207925
|
+
this.preparePipeMeta(CustomPipe, 'custom', true, [this.injector.get(CustomPipeManager)]),
|
|
207964
207926
|
this.preparePipeMeta(TrustAsPipe, 'trustAs', true, [this.domSanitizer]),
|
|
207965
207927
|
this.preparePipeMeta(SanitizePipe, 'sanitize', true, [this.domSanitizer]),
|
|
207966
207928
|
this.preparePipeMeta(TemplateReplacePipe, 'templateReplace', true),
|
|
@@ -100259,13 +100259,13 @@ const FIRST_TIME_WATCH = {};
|
|
|
100259
100259
|
Object.freeze(FIRST_TIME_WATCH);
|
|
100260
100260
|
const arrayConsumer = (listenerFn, restExpr, newVal, oldVal) => {
|
|
100261
100261
|
let data = newVal, formattedData;
|
|
100262
|
-
if (
|
|
100262
|
+
if (isArray(data)) {
|
|
100263
100263
|
formattedData = data.map(function (datum) {
|
|
100264
100264
|
return findValueOf(datum, restExpr);
|
|
100265
100265
|
});
|
|
100266
100266
|
// If resulting structure is an array of array, flatten it
|
|
100267
|
-
if (
|
|
100268
|
-
formattedData =
|
|
100267
|
+
if (isArray(formattedData[0])) {
|
|
100268
|
+
formattedData = flatten$1(formattedData);
|
|
100269
100269
|
}
|
|
100270
100270
|
listenerFn(formattedData, oldVal);
|
|
100271
100271
|
}
|
|
@@ -100310,19 +100310,6 @@ const $watch = (expr, $scope, $locals, listener, identifier = watchIdGenerator.n
|
|
|
100310
100310
|
};
|
|
100311
100311
|
const $unwatch = identifier => registry.delete(identifier);
|
|
100312
100312
|
window.watchRegistry = registry;
|
|
100313
|
-
window.__WM_DEBUG_WATCHERS__ = false;
|
|
100314
|
-
/*export const $invokeWatchers = (force?: boolean, ignoreMuted?: boolean) => {
|
|
100315
|
-
if (force) {
|
|
100316
|
-
triggerWatchers(ignoreMuted);
|
|
100317
|
-
} else {
|
|
100318
|
-
|
|
100319
|
-
if (skipWatchers) {
|
|
100320
|
-
skipWatchers = false;
|
|
100321
|
-
return;
|
|
100322
|
-
}
|
|
100323
|
-
debouncedTriggerWatchers();
|
|
100324
|
-
}
|
|
100325
|
-
};*/
|
|
100326
100313
|
const $appDigest = (() => {
|
|
100327
100314
|
return (force) => {
|
|
100328
100315
|
{
|
|
@@ -100400,7 +100387,6 @@ const REGEX = {
|
|
|
100400
100387
|
SUPPORTED_AUDIO_FORMAT: /\.(mp3|ogg|webm|wma|3gp|wav|m4a)$/i,
|
|
100401
100388
|
SUPPORTED_VIDEO_FORMAT: /\.(mp4|ogg|webm|wmv|mpeg|mpg|avi|mov)$/i,
|
|
100402
100389
|
VALID_WEB_URL: /^(http[s]?:\/\/)(www\.){0,1}[a-zA-Z0-9=:?\/\.\-]+(\.[a-zA-Z]{2,5}[\.]{0,1})?/,
|
|
100403
|
-
VALID_IMAGE_URL: /^(https?|blob|data|file|ftp):/i,
|
|
100404
100390
|
REPLACE_PATTERN: /\$\{([^\}]+)\}/g,
|
|
100405
100391
|
DATA_URL: /^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s]*)\s*$/i,
|
|
100406
100392
|
ISO_DATE_FORMAT: /(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2})(\.\d+)?([+-]\d{2}:?\d{2}|Z)$/
|
|
@@ -100623,9 +100609,6 @@ const isVideoFile = (fileName) => {
|
|
|
100623
100609
|
const isValidWebURL = (url) => {
|
|
100624
100610
|
return (REGEX.VALID_WEB_URL).test(url);
|
|
100625
100611
|
};
|
|
100626
|
-
const isValidImageUrl = (url) => {
|
|
100627
|
-
return (REGEX.VALID_IMAGE_URL).test(url?.trim());
|
|
100628
|
-
};
|
|
100629
100612
|
/*This function returns the url to the resource after checking the validity of url*/
|
|
100630
100613
|
const getResourceURL = (urlString) => {
|
|
100631
100614
|
return urlString;
|
|
@@ -101879,7 +101862,6 @@ var Utils = /*#__PURE__*/Object.freeze({
|
|
|
101879
101862
|
isPageable: isPageable,
|
|
101880
101863
|
isSafari: isSafari,
|
|
101881
101864
|
isTablet: isTablet,
|
|
101882
|
-
isValidImageUrl: isValidImageUrl,
|
|
101883
101865
|
isValidWebURL: isValidWebURL,
|
|
101884
101866
|
isVideoFile: isVideoFile,
|
|
101885
101867
|
loadScript: loadScript,
|
package/dependency-report.html
CHANGED