@wavemaker/angular-app 11.14.1-22.647589 → 11.14.1-24.647644
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 +147 -147
- package/package-lock.json +147 -147
- package/package.json +5 -5
|
@@ -148116,13 +148116,13 @@ const FIRST_TIME_WATCH$1 = {};
|
|
|
148116
148116
|
Object.freeze(FIRST_TIME_WATCH$1);
|
|
148117
148117
|
const arrayConsumer$1 = (listenerFn, restExpr, newVal, oldVal) => {
|
|
148118
148118
|
let data = newVal, formattedData;
|
|
148119
|
-
if (
|
|
148119
|
+
if (isArray$1(data)) {
|
|
148120
148120
|
formattedData = data.map(function (datum) {
|
|
148121
148121
|
return findValueOf$1(datum, restExpr);
|
|
148122
148122
|
});
|
|
148123
148123
|
// If resulting structure is an array of array, flatten it
|
|
148124
|
-
if (
|
|
148125
|
-
formattedData =
|
|
148124
|
+
if (isArray$1(formattedData[0])) {
|
|
148125
|
+
formattedData = flatten$2(formattedData);
|
|
148126
148126
|
}
|
|
148127
148127
|
listenerFn(formattedData, oldVal);
|
|
148128
148128
|
}
|
|
@@ -148167,19 +148167,6 @@ const $watch$1 = (expr, $scope, $locals, listener, identifier = watchIdGenerator
|
|
|
148167
148167
|
};
|
|
148168
148168
|
const $unwatch$1 = identifier => registry$1.delete(identifier);
|
|
148169
148169
|
window.watchRegistry = registry$1;
|
|
148170
|
-
window.__WM_DEBUG_WATCHERS__ = false;
|
|
148171
|
-
/*export const $invokeWatchers = (force?: boolean, ignoreMuted?: boolean) => {
|
|
148172
|
-
if (force) {
|
|
148173
|
-
triggerWatchers(ignoreMuted);
|
|
148174
|
-
} else {
|
|
148175
|
-
|
|
148176
|
-
if (skipWatchers) {
|
|
148177
|
-
skipWatchers = false;
|
|
148178
|
-
return;
|
|
148179
|
-
}
|
|
148180
|
-
debouncedTriggerWatchers();
|
|
148181
|
-
}
|
|
148182
|
-
};*/
|
|
148183
148170
|
const $appDigest$1 = (() => {
|
|
148184
148171
|
return (force) => {
|
|
148185
148172
|
{
|
|
@@ -148242,8 +148229,8 @@ var Operation$1;
|
|
|
148242
148229
|
const DataSource$1 = {
|
|
148243
148230
|
Operation: Operation$1
|
|
148244
148231
|
};
|
|
148245
|
-
|
|
148246
|
-
}
|
|
148232
|
+
class App {
|
|
148233
|
+
}
|
|
148247
148234
|
let AbstractI18nService$1 = class AbstractI18nService {
|
|
148248
148235
|
};
|
|
148249
148236
|
|
|
@@ -148261,7 +148248,6 @@ const REGEX$1 = {
|
|
|
148261
148248
|
SUPPORTED_AUDIO_FORMAT: /\.(mp3|ogg|webm|wma|3gp|wav|m4a)$/i,
|
|
148262
148249
|
SUPPORTED_VIDEO_FORMAT: /\.(mp4|ogg|webm|wmv|mpeg|mpg|avi|mov)$/i,
|
|
148263
148250
|
VALID_WEB_URL: /^(http[s]?:\/\/)(www\.){0,1}[a-zA-Z0-9=:?\/\.\-]+(\.[a-zA-Z]{2,5}[\.]{0,1})?/,
|
|
148264
|
-
VALID_IMAGE_URL: /^(https?|blob|data|file|ftp):/i,
|
|
148265
148251
|
REPLACE_PATTERN: /\$\{([^\}]+)\}/g,
|
|
148266
148252
|
DATA_URL: /^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s]*)\s*$/i,
|
|
148267
148253
|
ISO_DATE_FORMAT: /(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2})(\.\d+)?([+-]\d{2}:?\d{2}|Z)$/
|
|
@@ -148484,9 +148470,6 @@ const isVideoFile$1 = (fileName) => {
|
|
|
148484
148470
|
const isValidWebURL$1 = (url) => {
|
|
148485
148471
|
return (REGEX$1.VALID_WEB_URL).test(url);
|
|
148486
148472
|
};
|
|
148487
|
-
const isValidImageUrl$1 = (url) => {
|
|
148488
|
-
return (REGEX$1.VALID_IMAGE_URL).test(url?.trim());
|
|
148489
|
-
};
|
|
148490
148473
|
/*This function returns the url to the resource after checking the validity of url*/
|
|
148491
148474
|
const getResourceURL$1 = (urlString) => {
|
|
148492
148475
|
return urlString;
|
|
@@ -149740,7 +149723,6 @@ var Utils$1 = /*#__PURE__*/Object.freeze({
|
|
|
149740
149723
|
isPageable: isPageable$1,
|
|
149741
149724
|
isSafari: isSafari$1,
|
|
149742
149725
|
isTablet: isTablet$1,
|
|
149743
|
-
isValidImageUrl: isValidImageUrl$1,
|
|
149744
149726
|
isValidWebURL: isValidWebURL$1,
|
|
149745
149727
|
isVideoFile: isVideoFile$1,
|
|
149746
149728
|
loadScript: loadScript$1,
|
|
@@ -150975,14 +150957,14 @@ class ToDatePipe extends WmPipe {
|
|
|
150975
150957
|
}
|
|
150976
150958
|
return this.returnFn('', arguments, this.app.Variables);
|
|
150977
150959
|
}
|
|
150978
|
-
constructor(datePipe, i18nService,
|
|
150960
|
+
constructor(datePipe, i18nService, customPipeManager) {
|
|
150979
150961
|
super('toDate', customPipeManager);
|
|
150980
150962
|
this.datePipe = datePipe;
|
|
150981
150963
|
this.i18nService = i18nService;
|
|
150982
|
-
this.app = app;
|
|
150983
150964
|
this.customPipeManager = customPipeManager;
|
|
150965
|
+
this.app = inject(App);
|
|
150984
150966
|
}
|
|
150985
|
-
static { this.ɵfac = function ToDatePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ToDatePipe)(ɵɵdirectiveInject(DatePipe, 16), ɵɵdirectiveInject(AbstractI18nService$1, 16), ɵɵdirectiveInject(
|
|
150967
|
+
static { this.ɵfac = function ToDatePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ToDatePipe)(ɵɵdirectiveInject(DatePipe, 16), ɵɵdirectiveInject(AbstractI18nService$1, 16), ɵɵdirectiveInject(CustomPipeManager$1, 16)); }; }
|
|
150986
150968
|
static { this.ɵpipe = /*@__PURE__*/ ɵɵdefinePipe({ name: "toDate", type: ToDatePipe, pure: true, standalone: true }); }
|
|
150987
150969
|
}
|
|
150988
150970
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ToDatePipe, [{
|
|
@@ -150991,7 +150973,7 @@ class ToDatePipe extends WmPipe {
|
|
|
150991
150973
|
standalone: true,
|
|
150992
150974
|
name: 'toDate'
|
|
150993
150975
|
}]
|
|
150994
|
-
}], () => [{ type: DatePipe }, { type: AbstractI18nService$1 }, { type:
|
|
150976
|
+
}], () => [{ type: DatePipe }, { type: AbstractI18nService$1 }, { type: CustomPipeManager$1 }], null); })();
|
|
150995
150977
|
class ToNumberPipe {
|
|
150996
150978
|
transform(data, fracSize) {
|
|
150997
150979
|
if (fracSize && !String(fracSize).match(/^(\d+)?\.((\d+)(-(\d+))?)?$/)) {
|
|
@@ -151079,9 +151061,9 @@ class SuffixPipe {
|
|
|
151079
151061
|
* Custom pipe: It is work as interceptor between the user custom pipe function and angular pipe
|
|
151080
151062
|
*/
|
|
151081
151063
|
class CustomPipe {
|
|
151082
|
-
constructor(
|
|
151083
|
-
this.app = app;
|
|
151064
|
+
constructor(custmeUserPipe) {
|
|
151084
151065
|
this.custmeUserPipe = custmeUserPipe;
|
|
151066
|
+
this.app = inject(App);
|
|
151085
151067
|
}
|
|
151086
151068
|
transform(data, pipename) {
|
|
151087
151069
|
let argumentArr = [];
|
|
@@ -151101,7 +151083,7 @@ class CustomPipe {
|
|
|
151101
151083
|
return data;
|
|
151102
151084
|
}
|
|
151103
151085
|
}
|
|
151104
|
-
static { this.ɵfac = function CustomPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CustomPipe)(ɵɵdirectiveInject(
|
|
151086
|
+
static { this.ɵfac = function CustomPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CustomPipe)(ɵɵdirectiveInject(CustomPipeManager$1, 16)); }; }
|
|
151105
151087
|
static { this.ɵpipe = /*@__PURE__*/ ɵɵdefinePipe({ name: "custom", type: CustomPipe, pure: true, standalone: true }); }
|
|
151106
151088
|
}
|
|
151107
151089
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(CustomPipe, [{
|
|
@@ -151110,7 +151092,7 @@ class CustomPipe {
|
|
|
151110
151092
|
standalone: true,
|
|
151111
151093
|
name: 'custom'
|
|
151112
151094
|
}]
|
|
151113
|
-
}], () => [{ type:
|
|
151095
|
+
}], () => [{ type: CustomPipeManager$1 }], null); })();
|
|
151114
151096
|
class TimeFromNowPipe {
|
|
151115
151097
|
transform(data) {
|
|
151116
151098
|
let timestamp;
|
|
@@ -204009,13 +203991,13 @@ const FIRST_TIME_WATCH = {};
|
|
|
204009
203991
|
Object.freeze(FIRST_TIME_WATCH);
|
|
204010
203992
|
const arrayConsumer = (listenerFn, restExpr, newVal, oldVal) => {
|
|
204011
203993
|
let data = newVal, formattedData;
|
|
204012
|
-
if (
|
|
203994
|
+
if (isArray(data)) {
|
|
204013
203995
|
formattedData = data.map(function (datum) {
|
|
204014
203996
|
return findValueOf(datum, restExpr);
|
|
204015
203997
|
});
|
|
204016
203998
|
// If resulting structure is an array of array, flatten it
|
|
204017
|
-
if (
|
|
204018
|
-
formattedData =
|
|
203999
|
+
if (isArray(formattedData[0])) {
|
|
204000
|
+
formattedData = flatten(formattedData);
|
|
204019
204001
|
}
|
|
204020
204002
|
listenerFn(formattedData, oldVal);
|
|
204021
204003
|
}
|
|
@@ -204060,19 +204042,6 @@ const $watch = (expr, $scope, $locals, listener, identifier = watchIdGenerator.n
|
|
|
204060
204042
|
};
|
|
204061
204043
|
const $unwatch = identifier => registry.delete(identifier);
|
|
204062
204044
|
window.watchRegistry = registry;
|
|
204063
|
-
window.__WM_DEBUG_WATCHERS__ = false;
|
|
204064
|
-
/*export const $invokeWatchers = (force?: boolean, ignoreMuted?: boolean) => {
|
|
204065
|
-
if (force) {
|
|
204066
|
-
triggerWatchers(ignoreMuted);
|
|
204067
|
-
} else {
|
|
204068
|
-
|
|
204069
|
-
if (skipWatchers) {
|
|
204070
|
-
skipWatchers = false;
|
|
204071
|
-
return;
|
|
204072
|
-
}
|
|
204073
|
-
debouncedTriggerWatchers();
|
|
204074
|
-
}
|
|
204075
|
-
};*/
|
|
204076
204045
|
const $appDigest = (() => {
|
|
204077
204046
|
return (force) => {
|
|
204078
204047
|
{
|
|
@@ -204135,8 +204104,6 @@ var Operation;
|
|
|
204135
204104
|
const DataSource = {
|
|
204136
204105
|
Operation
|
|
204137
204106
|
};
|
|
204138
|
-
class App {
|
|
204139
|
-
}
|
|
204140
204107
|
class AbstractI18nService {
|
|
204141
204108
|
}
|
|
204142
204109
|
|
|
@@ -204154,7 +204121,6 @@ const REGEX = {
|
|
|
204154
204121
|
SUPPORTED_AUDIO_FORMAT: /\.(mp3|ogg|webm|wma|3gp|wav|m4a)$/i,
|
|
204155
204122
|
SUPPORTED_VIDEO_FORMAT: /\.(mp4|ogg|webm|wmv|mpeg|mpg|avi|mov)$/i,
|
|
204156
204123
|
VALID_WEB_URL: /^(http[s]?:\/\/)(www\.){0,1}[a-zA-Z0-9=:?\/\.\-]+(\.[a-zA-Z]{2,5}[\.]{0,1})?/,
|
|
204157
|
-
VALID_IMAGE_URL: /^(https?|blob|data|file|ftp):/i,
|
|
204158
204124
|
REPLACE_PATTERN: /\$\{([^\}]+)\}/g,
|
|
204159
204125
|
DATA_URL: /^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s]*)\s*$/i,
|
|
204160
204126
|
ISO_DATE_FORMAT: /(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2})(\.\d+)?([+-]\d{2}:?\d{2}|Z)$/
|
|
@@ -204377,9 +204343,6 @@ const isVideoFile = (fileName) => {
|
|
|
204377
204343
|
const isValidWebURL = (url) => {
|
|
204378
204344
|
return (REGEX.VALID_WEB_URL).test(url);
|
|
204379
204345
|
};
|
|
204380
|
-
const isValidImageUrl = (url) => {
|
|
204381
|
-
return (REGEX.VALID_IMAGE_URL).test(url?.trim());
|
|
204382
|
-
};
|
|
204383
204346
|
/*This function returns the url to the resource after checking the validity of url*/
|
|
204384
204347
|
const getResourceURL = (urlString) => {
|
|
204385
204348
|
return urlString;
|
|
@@ -205633,7 +205596,6 @@ var Utils = /*#__PURE__*/Object.freeze({
|
|
|
205633
205596
|
isPageable: isPageable,
|
|
205634
205597
|
isSafari: isSafari,
|
|
205635
205598
|
isTablet: isTablet,
|
|
205636
|
-
isValidImageUrl: isValidImageUrl,
|
|
205637
205599
|
isValidWebURL: isValidWebURL,
|
|
205638
205600
|
isVideoFile: isVideoFile,
|
|
205639
205601
|
loadScript: loadScript,
|
|
@@ -208473,7 +208435,7 @@ class PipeProvider {
|
|
|
208473
208435
|
this.preparePipeMeta(CurrencyPipe$1, 'currency', true, [this._locale]),
|
|
208474
208436
|
this.preparePipeMeta(DatePipe$1, 'date', true, [this._locale]),
|
|
208475
208437
|
this.preparePipeMeta(ToDatePipe, 'toDate', true, [
|
|
208476
|
-
new DatePipe$1(this._locale), undefined, this.injector.get(
|
|
208438
|
+
new DatePipe$1(this._locale), undefined, this.injector.get(CustomPipeManager)
|
|
208477
208439
|
]),
|
|
208478
208440
|
this.preparePipeMeta(ToNumberPipe, 'toNumber', true, [
|
|
208479
208441
|
new DecimalPipe$1(this._locale),
|
|
@@ -208490,7 +208452,7 @@ class PipeProvider {
|
|
|
208490
208452
|
new DecimalPipe$1(this._locale)
|
|
208491
208453
|
]),
|
|
208492
208454
|
this.preparePipeMeta(StringToNumberPipe, 'stringToNumber', true),
|
|
208493
|
-
this.preparePipeMeta(CustomPipe, 'custom', true, [this.injector.get(
|
|
208455
|
+
this.preparePipeMeta(CustomPipe, 'custom', true, [this.injector.get(CustomPipeManager)]),
|
|
208494
208456
|
this.preparePipeMeta(TrustAsPipe, 'trustAs', true, [this.domSanitizer]),
|
|
208495
208457
|
this.preparePipeMeta(SanitizePipe, 'sanitize', true, [this.domSanitizer]),
|
|
208496
208458
|
this.preparePipeMeta(TemplateReplacePipe, 'templateReplace', true),
|
|
@@ -100524,13 +100524,13 @@ const FIRST_TIME_WATCH = {};
|
|
|
100524
100524
|
Object.freeze(FIRST_TIME_WATCH);
|
|
100525
100525
|
const arrayConsumer = (listenerFn, restExpr, newVal, oldVal) => {
|
|
100526
100526
|
let data = newVal, formattedData;
|
|
100527
|
-
if (
|
|
100527
|
+
if (isArray(data)) {
|
|
100528
100528
|
formattedData = data.map(function (datum) {
|
|
100529
100529
|
return findValueOf(datum, restExpr);
|
|
100530
100530
|
});
|
|
100531
100531
|
// If resulting structure is an array of array, flatten it
|
|
100532
|
-
if (
|
|
100533
|
-
formattedData =
|
|
100532
|
+
if (isArray(formattedData[0])) {
|
|
100533
|
+
formattedData = flatten$1(formattedData);
|
|
100534
100534
|
}
|
|
100535
100535
|
listenerFn(formattedData, oldVal);
|
|
100536
100536
|
}
|
|
@@ -100575,19 +100575,6 @@ const $watch = (expr, $scope, $locals, listener, identifier = watchIdGenerator.n
|
|
|
100575
100575
|
};
|
|
100576
100576
|
const $unwatch = identifier => registry.delete(identifier);
|
|
100577
100577
|
window.watchRegistry = registry;
|
|
100578
|
-
window.__WM_DEBUG_WATCHERS__ = false;
|
|
100579
|
-
/*export const $invokeWatchers = (force?: boolean, ignoreMuted?: boolean) => {
|
|
100580
|
-
if (force) {
|
|
100581
|
-
triggerWatchers(ignoreMuted);
|
|
100582
|
-
} else {
|
|
100583
|
-
|
|
100584
|
-
if (skipWatchers) {
|
|
100585
|
-
skipWatchers = false;
|
|
100586
|
-
return;
|
|
100587
|
-
}
|
|
100588
|
-
debouncedTriggerWatchers();
|
|
100589
|
-
}
|
|
100590
|
-
};*/
|
|
100591
100578
|
const $appDigest = (() => {
|
|
100592
100579
|
return (force) => {
|
|
100593
100580
|
{
|
|
@@ -100665,7 +100652,6 @@ const REGEX = {
|
|
|
100665
100652
|
SUPPORTED_AUDIO_FORMAT: /\.(mp3|ogg|webm|wma|3gp|wav|m4a)$/i,
|
|
100666
100653
|
SUPPORTED_VIDEO_FORMAT: /\.(mp4|ogg|webm|wmv|mpeg|mpg|avi|mov)$/i,
|
|
100667
100654
|
VALID_WEB_URL: /^(http[s]?:\/\/)(www\.){0,1}[a-zA-Z0-9=:?\/\.\-]+(\.[a-zA-Z]{2,5}[\.]{0,1})?/,
|
|
100668
|
-
VALID_IMAGE_URL: /^(https?|blob|data|file|ftp):/i,
|
|
100669
100655
|
REPLACE_PATTERN: /\$\{([^\}]+)\}/g,
|
|
100670
100656
|
DATA_URL: /^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s]*)\s*$/i,
|
|
100671
100657
|
ISO_DATE_FORMAT: /(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2})(\.\d+)?([+-]\d{2}:?\d{2}|Z)$/
|
|
@@ -100888,9 +100874,6 @@ const isVideoFile = (fileName) => {
|
|
|
100888
100874
|
const isValidWebURL = (url) => {
|
|
100889
100875
|
return (REGEX.VALID_WEB_URL).test(url);
|
|
100890
100876
|
};
|
|
100891
|
-
const isValidImageUrl = (url) => {
|
|
100892
|
-
return (REGEX.VALID_IMAGE_URL).test(url?.trim());
|
|
100893
|
-
};
|
|
100894
100877
|
/*This function returns the url to the resource after checking the validity of url*/
|
|
100895
100878
|
const getResourceURL = (urlString) => {
|
|
100896
100879
|
return urlString;
|
|
@@ -102144,7 +102127,6 @@ var Utils = /*#__PURE__*/Object.freeze({
|
|
|
102144
102127
|
isPageable: isPageable,
|
|
102145
102128
|
isSafari: isSafari,
|
|
102146
102129
|
isTablet: isTablet,
|
|
102147
|
-
isValidImageUrl: isValidImageUrl,
|
|
102148
102130
|
isValidWebURL: isValidWebURL,
|
|
102149
102131
|
isVideoFile: isVideoFile,
|
|
102150
102132
|
loadScript: loadScript,
|
package/dependency-report.html
CHANGED