@wavemaker/angular-codegen 11.14.1-rc.6286 → 11.14.1-rc.6304

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.
@@ -5867,14 +5867,14 @@ function createNgModuleType(meta) {
5867
5867
  if (meta.kind === R3NgModuleMetadataKind.Local) {
5868
5868
  return new ExpressionType$1(meta.type.value);
5869
5869
  }
5870
- const { type: moduleType, declarations, exports, imports, includeImportTypes, publicDeclarationTypes, } = meta;
5870
+ const { type: moduleType, declarations, exports: exports$1, imports, includeImportTypes, publicDeclarationTypes, } = meta;
5871
5871
  return new ExpressionType$1(importExpr(Identifiers.NgModuleDeclaration, [
5872
5872
  new ExpressionType$1(moduleType.type),
5873
5873
  publicDeclarationTypes === null
5874
5874
  ? tupleTypeOf(declarations)
5875
5875
  : tupleOfTypes(publicDeclarationTypes),
5876
5876
  includeImportTypes ? tupleTypeOf(imports) : NONE_TYPE,
5877
- tupleTypeOf(exports),
5877
+ tupleTypeOf(exports$1),
5878
5878
  ]));
5879
5879
  }
5880
5880
  /**
@@ -33117,7 +33117,7 @@ function verifySemanticsOfNgModuleDef$1(moduleType, allowDuplicateDeclarationsIn
33117
33117
  verifySemanticsOfNgModuleImport(modOrStandaloneCmpt, moduleType);
33118
33118
  verifySemanticsOfNgModuleDef$1(modOrStandaloneCmpt, false, moduleType);
33119
33119
  });
33120
- const exports = maybeUnwrapFn$1(ngModuleDef.exports);
33120
+ const exports$1 = maybeUnwrapFn$1(ngModuleDef.exports);
33121
33121
  declarations.forEach(verifyDeclarationsHaveDefinitions);
33122
33122
  declarations.forEach(verifyDirectivesHaveSelector);
33123
33123
  declarations.forEach((declarationType) => verifyNotStandalone(declarationType, moduleType));
@@ -33125,7 +33125,7 @@ function verifySemanticsOfNgModuleDef$1(moduleType, allowDuplicateDeclarationsIn
33125
33125
  ...declarations.map(resolveForwardRef$1),
33126
33126
  ...flatten$3(imports.map(computeCombinedExports$1)).map(resolveForwardRef$1),
33127
33127
  ];
33128
- exports.forEach(verifyExportsAreDeclaredOrReExported);
33128
+ exports$1.forEach(verifyExportsAreDeclaredOrReExported);
33129
33129
  declarations.forEach((decl) => verifyDeclarationIsUnique(decl, allowDuplicateDeclarationsInRoot));
33130
33130
  const ngModule = getAnnotation$1(moduleType, 'NgModule');
33131
33131
  if (ngModule) {
@@ -81193,7 +81193,7 @@ function verifySemanticsOfNgModuleDef(moduleType, allowDuplicateDeclarationsInRo
81193
81193
  verifySemanticsOfNgModuleImport(modOrStandaloneCmpt, moduleType);
81194
81194
  verifySemanticsOfNgModuleDef(modOrStandaloneCmpt, false, moduleType);
81195
81195
  });
81196
- const exports = maybeUnwrapFn(ngModuleDef.exports);
81196
+ const exports$1 = maybeUnwrapFn(ngModuleDef.exports);
81197
81197
  declarations.forEach(verifyDeclarationsHaveDefinitions);
81198
81198
  declarations.forEach(verifyDirectivesHaveSelector);
81199
81199
  declarations.forEach((declarationType) => verifyNotStandalone(declarationType, moduleType));
@@ -81201,7 +81201,7 @@ function verifySemanticsOfNgModuleDef(moduleType, allowDuplicateDeclarationsInRo
81201
81201
  ...declarations.map(resolveForwardRef),
81202
81202
  ...flatten$1(imports.map(computeCombinedExports)).map(resolveForwardRef),
81203
81203
  ];
81204
- exports.forEach(verifyExportsAreDeclaredOrReExported);
81204
+ exports$1.forEach(verifyExportsAreDeclaredOrReExported);
81205
81205
  declarations.forEach((decl) => verifyDeclarationIsUnique(decl, allowDuplicateDeclarationsInRoot));
81206
81206
  const ngModule = getAnnotation(moduleType, 'NgModule');
81207
81207
  if (ngModule) {
@@ -102019,14 +102019,14 @@ function createNgModuleType$1(meta) {
102019
102019
  if (meta.kind === R3NgModuleMetadataKind$1.Local) {
102020
102020
  return new ExpressionType$1$1(meta.type.value);
102021
102021
  }
102022
- const { type: moduleType, declarations, exports, imports, includeImportTypes, publicDeclarationTypes, } = meta;
102022
+ const { type: moduleType, declarations, exports: exports$1, imports, includeImportTypes, publicDeclarationTypes, } = meta;
102023
102023
  return new ExpressionType$1$1(importExpr$1(Identifiers$1.NgModuleDeclaration, [
102024
102024
  new ExpressionType$1$1(moduleType.type),
102025
102025
  publicDeclarationTypes === null
102026
102026
  ? tupleTypeOf$1(declarations)
102027
102027
  : tupleOfTypes$1(publicDeclarationTypes),
102028
102028
  includeImportTypes ? tupleTypeOf$1(imports) : NONE_TYPE$1,
102029
- tupleTypeOf$1(exports),
102029
+ tupleTypeOf$1(exports$1),
102030
102030
  ]));
102031
102031
  }
102032
102032
  /**
@@ -133049,7 +133049,7 @@ var hasRequiredEntities$1;
133049
133049
  function requireEntities$1 () {
133050
133050
  if (hasRequiredEntities$1) return entities$1;
133051
133051
  hasRequiredEntities$1 = 1;
133052
- (function (exports) {
133052
+ (function (exports$1) {
133053
133053
 
133054
133054
  var freeze = requireConventions$1().freeze;
133055
133055
 
@@ -133060,7 +133060,7 @@ function requireEntities$1 () {
133060
133060
  * @see https://www.w3.org/TR/2008/REC-xml-20081126/#sec-predefined-ent W3C XML 1.0
133061
133061
  * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined_entities_in_XML Wikipedia
133062
133062
  */
133063
- exports.XML_ENTITIES = freeze({
133063
+ exports$1.XML_ENTITIES = freeze({
133064
133064
  amp: '&',
133065
133065
  apos: "'",
133066
133066
  gt: '>',
@@ -133082,7 +133082,7 @@ function requireEntities$1 () {
133082
133082
  * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Character_entity_references_in_HTML Wikipedia (HTML)
133083
133083
  * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Entities_representing_special_characters_in_XHTML Wikpedia (XHTML)
133084
133084
  */
133085
- exports.HTML_ENTITIES = freeze({
133085
+ exports$1.HTML_ENTITIES = freeze({
133086
133086
  Aacute: '\u00C1',
133087
133087
  aacute: '\u00E1',
133088
133088
  Abreve: '\u0102',
@@ -135214,7 +135214,7 @@ function requireEntities$1 () {
135214
135214
  * @deprecated use `HTML_ENTITIES` instead
135215
135215
  * @see HTML_ENTITIES
135216
135216
  */
135217
- exports.entityMap = exports.HTML_ENTITIES;
135217
+ exports$1.entityMap = exports$1.HTML_ENTITIES;
135218
135218
  } (entities$1));
135219
135219
  return entities$1;
135220
135220
  }
@@ -137022,7 +137022,7 @@ var hasRequiredMoment$1;
137022
137022
  function requireMoment$1 () {
137023
137023
  if (hasRequiredMoment$1) return moment$2.exports;
137024
137024
  hasRequiredMoment$1 = 1;
137025
- (function (module, exports) {
137025
+ (function (module, exports$1) {
137026
137026
  (function (global, factory) {
137027
137027
  module.exports = factory() ;
137028
137028
  }(this, (function () {
@@ -147964,8 +147964,8 @@ var Operation$1;
147964
147964
  const DataSource$1 = {
147965
147965
  Operation: Operation$1
147966
147966
  };
147967
- class App {
147968
- }
147967
+ let App$1 = class App {
147968
+ };
147969
147969
  let AbstractI18nService$1 = class AbstractI18nService {
147970
147970
  };
147971
147971
 
@@ -147983,6 +147983,7 @@ const REGEX$1 = {
147983
147983
  SUPPORTED_AUDIO_FORMAT: /\.(mp3|ogg|webm|wma|3gp|wav|m4a)$/i,
147984
147984
  SUPPORTED_VIDEO_FORMAT: /\.(mp4|ogg|webm|wmv|mpeg|mpg|avi|mov)$/i,
147985
147985
  VALID_WEB_URL: /^(http[s]?:\/\/)(www\.){0,1}[a-zA-Z0-9=:?\/\.\-]+(\.[a-zA-Z]{2,5}[\.]{0,1})?/,
147986
+ VALID_IMAGE_URL: /^(https?|blob|data|file|ftp):/i,
147986
147987
  REPLACE_PATTERN: /\$\{([^\}]+)\}/g,
147987
147988
  DATA_URL: /^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s]*)\s*$/i,
147988
147989
  ISO_DATE_FORMAT: /(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2})(\.\d+)?([+-]\d{2}:?\d{2}|Z)$/
@@ -148205,6 +148206,9 @@ const isVideoFile$1 = (fileName) => {
148205
148206
  const isValidWebURL$1 = (url) => {
148206
148207
  return (REGEX$1.VALID_WEB_URL).test(url);
148207
148208
  };
148209
+ const isValidImageUrl$1 = (url) => {
148210
+ return (REGEX$1.VALID_IMAGE_URL).test(url?.trim());
148211
+ };
148208
148212
  /*This function returns the url to the resource after checking the validity of url*/
148209
148213
  const getResourceURL$1 = (urlString) => {
148210
148214
  return urlString;
@@ -149458,6 +149462,7 @@ var Utils$1 = /*#__PURE__*/Object.freeze({
149458
149462
  isPageable: isPageable$1,
149459
149463
  isSafari: isSafari$1,
149460
149464
  isTablet: isTablet$1,
149465
+ isValidImageUrl: isValidImageUrl$1,
149461
149466
  isValidWebURL: isValidWebURL$1,
149462
149467
  isVideoFile: isVideoFile$1,
149463
149468
  loadScript: loadScript$1,
@@ -150692,14 +150697,14 @@ class ToDatePipe extends WmPipe {
150692
150697
  }
150693
150698
  return this.returnFn('', arguments, this.app.Variables);
150694
150699
  }
150695
- constructor(datePipe, i18nService, customPipeManager) {
150700
+ constructor(datePipe, i18nService, app, customPipeManager) {
150696
150701
  super('toDate', customPipeManager);
150697
150702
  this.datePipe = datePipe;
150698
150703
  this.i18nService = i18nService;
150704
+ this.app = app;
150699
150705
  this.customPipeManager = customPipeManager;
150700
- this.app = inject(App);
150701
150706
  }
150702
- static { this.ɵfac = function ToDatePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ToDatePipe)(ɵɵdirectiveInject(DatePipe, 16), ɵɵdirectiveInject(AbstractI18nService$1, 16), ɵɵdirectiveInject(CustomPipeManager$1, 16)); }; }
150707
+ static { this.ɵfac = function ToDatePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ToDatePipe)(ɵɵdirectiveInject(DatePipe, 16), ɵɵdirectiveInject(AbstractI18nService$1, 16), ɵɵdirectiveInject(App$1, 16), ɵɵdirectiveInject(CustomPipeManager$1, 16)); }; }
150703
150708
  static { this.ɵpipe = /*@__PURE__*/ ɵɵdefinePipe({ name: "toDate", type: ToDatePipe, pure: true, standalone: true }); }
150704
150709
  }
150705
150710
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ToDatePipe, [{
@@ -150708,7 +150713,7 @@ class ToDatePipe extends WmPipe {
150708
150713
  standalone: true,
150709
150714
  name: 'toDate'
150710
150715
  }]
150711
- }], () => [{ type: DatePipe }, { type: AbstractI18nService$1 }, { type: CustomPipeManager$1 }], null); })();
150716
+ }], () => [{ type: DatePipe }, { type: AbstractI18nService$1 }, { type: App$1 }, { type: CustomPipeManager$1 }], null); })();
150712
150717
  class ToNumberPipe {
150713
150718
  transform(data, fracSize) {
150714
150719
  if (fracSize && !String(fracSize).match(/^(\d+)?\.((\d+)(-(\d+))?)?$/)) {
@@ -150796,9 +150801,9 @@ class SuffixPipe {
150796
150801
  * Custom pipe: It is work as interceptor between the user custom pipe function and angular pipe
150797
150802
  */
150798
150803
  class CustomPipe {
150799
- constructor(custmeUserPipe) {
150804
+ constructor(app, custmeUserPipe) {
150805
+ this.app = app;
150800
150806
  this.custmeUserPipe = custmeUserPipe;
150801
- this.app = inject(App);
150802
150807
  }
150803
150808
  transform(data, pipename) {
150804
150809
  let argumentArr = [];
@@ -150818,7 +150823,7 @@ class CustomPipe {
150818
150823
  return data;
150819
150824
  }
150820
150825
  }
150821
- static { this.ɵfac = function CustomPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CustomPipe)(ɵɵdirectiveInject(CustomPipeManager$1, 16)); }; }
150826
+ static { this.ɵfac = function CustomPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CustomPipe)(ɵɵdirectiveInject(App$1, 16), ɵɵdirectiveInject(CustomPipeManager$1, 16)); }; }
150822
150827
  static { this.ɵpipe = /*@__PURE__*/ ɵɵdefinePipe({ name: "custom", type: CustomPipe, pure: true, standalone: true }); }
150823
150828
  }
150824
150829
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(CustomPipe, [{
@@ -150827,7 +150832,7 @@ class CustomPipe {
150827
150832
  standalone: true,
150828
150833
  name: 'custom'
150829
150834
  }]
150830
- }], () => [{ type: CustomPipeManager$1 }], null); })();
150835
+ }], () => [{ type: App$1 }, { type: CustomPipeManager$1 }], null); })();
150831
150836
  class TimeFromNowPipe {
150832
150837
  transform(data) {
150833
150838
  let timestamp;
@@ -158694,14 +158699,14 @@ function createNgModuleType(meta) {
158694
158699
  if (meta.kind === R3NgModuleMetadataKind.Local) {
158695
158700
  return new ExpressionType$1(meta.type.value);
158696
158701
  }
158697
- const { type: moduleType, declarations, exports, imports, includeImportTypes, publicDeclarationTypes, } = meta;
158702
+ const { type: moduleType, declarations, exports: exports$1, imports, includeImportTypes, publicDeclarationTypes, } = meta;
158698
158703
  return new ExpressionType$1(importExpr(Identifiers.NgModuleDeclaration, [
158699
158704
  new ExpressionType$1(moduleType.type),
158700
158705
  publicDeclarationTypes === null
158701
158706
  ? tupleTypeOf(declarations)
158702
158707
  : tupleOfTypes(publicDeclarationTypes),
158703
158708
  includeImportTypes ? tupleTypeOf(imports) : NONE_TYPE,
158704
- tupleTypeOf(exports),
158709
+ tupleTypeOf(exports$1),
158705
158710
  ]));
158706
158711
  }
158707
158712
  /**
@@ -189724,7 +189729,7 @@ var hasRequiredEntities;
189724
189729
  function requireEntities () {
189725
189730
  if (hasRequiredEntities) return entities;
189726
189731
  hasRequiredEntities = 1;
189727
- (function (exports) {
189732
+ (function (exports$1) {
189728
189733
 
189729
189734
  var freeze = requireConventions().freeze;
189730
189735
 
@@ -189735,7 +189740,7 @@ function requireEntities () {
189735
189740
  * @see https://www.w3.org/TR/2008/REC-xml-20081126/#sec-predefined-ent W3C XML 1.0
189736
189741
  * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined_entities_in_XML Wikipedia
189737
189742
  */
189738
- exports.XML_ENTITIES = freeze({
189743
+ exports$1.XML_ENTITIES = freeze({
189739
189744
  amp: '&',
189740
189745
  apos: "'",
189741
189746
  gt: '>',
@@ -189757,7 +189762,7 @@ function requireEntities () {
189757
189762
  * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Character_entity_references_in_HTML Wikipedia (HTML)
189758
189763
  * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Entities_representing_special_characters_in_XHTML Wikpedia (XHTML)
189759
189764
  */
189760
- exports.HTML_ENTITIES = freeze({
189765
+ exports$1.HTML_ENTITIES = freeze({
189761
189766
  Aacute: '\u00C1',
189762
189767
  aacute: '\u00E1',
189763
189768
  Abreve: '\u0102',
@@ -191889,7 +191894,7 @@ function requireEntities () {
191889
191894
  * @deprecated use `HTML_ENTITIES` instead
191890
191895
  * @see HTML_ENTITIES
191891
191896
  */
191892
- exports.entityMap = exports.HTML_ENTITIES;
191897
+ exports$1.entityMap = exports$1.HTML_ENTITIES;
191893
191898
  } (entities));
191894
191899
  return entities;
191895
191900
  }
@@ -193697,7 +193702,7 @@ var hasRequiredMoment;
193697
193702
  function requireMoment () {
193698
193703
  if (hasRequiredMoment) return moment$1.exports;
193699
193704
  hasRequiredMoment = 1;
193700
- (function (module, exports) {
193705
+ (function (module, exports$1) {
193701
193706
  (function (global, factory) {
193702
193707
  module.exports = factory() ;
193703
193708
  }(this, (function () {
@@ -203574,6 +203579,8 @@ var Operation;
203574
203579
  const DataSource = {
203575
203580
  Operation
203576
203581
  };
203582
+ class App {
203583
+ }
203577
203584
  class AbstractI18nService {
203578
203585
  }
203579
203586
 
@@ -203591,6 +203598,7 @@ const REGEX = {
203591
203598
  SUPPORTED_AUDIO_FORMAT: /\.(mp3|ogg|webm|wma|3gp|wav|m4a)$/i,
203592
203599
  SUPPORTED_VIDEO_FORMAT: /\.(mp4|ogg|webm|wmv|mpeg|mpg|avi|mov)$/i,
203593
203600
  VALID_WEB_URL: /^(http[s]?:\/\/)(www\.){0,1}[a-zA-Z0-9=:?\/\.\-]+(\.[a-zA-Z]{2,5}[\.]{0,1})?/,
203601
+ VALID_IMAGE_URL: /^(https?|blob|data|file|ftp):/i,
203594
203602
  REPLACE_PATTERN: /\$\{([^\}]+)\}/g,
203595
203603
  DATA_URL: /^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s]*)\s*$/i,
203596
203604
  ISO_DATE_FORMAT: /(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2})(\.\d+)?([+-]\d{2}:?\d{2}|Z)$/
@@ -203813,6 +203821,9 @@ const isVideoFile = (fileName) => {
203813
203821
  const isValidWebURL = (url) => {
203814
203822
  return (REGEX.VALID_WEB_URL).test(url);
203815
203823
  };
203824
+ const isValidImageUrl = (url) => {
203825
+ return (REGEX.VALID_IMAGE_URL).test(url?.trim());
203826
+ };
203816
203827
  /*This function returns the url to the resource after checking the validity of url*/
203817
203828
  const getResourceURL = (urlString) => {
203818
203829
  return urlString;
@@ -205066,6 +205077,7 @@ var Utils = /*#__PURE__*/Object.freeze({
205066
205077
  isPageable: isPageable,
205067
205078
  isSafari: isSafari,
205068
205079
  isTablet: isTablet,
205080
+ isValidImageUrl: isValidImageUrl,
205069
205081
  isValidWebURL: isValidWebURL,
205070
205082
  isVideoFile: isVideoFile,
205071
205083
  loadScript: loadScript,
@@ -207905,7 +207917,7 @@ class PipeProvider {
207905
207917
  this.preparePipeMeta(CurrencyPipe$1, 'currency', true, [this._locale]),
207906
207918
  this.preparePipeMeta(DatePipe$1, 'date', true, [this._locale]),
207907
207919
  this.preparePipeMeta(ToDatePipe, 'toDate', true, [
207908
- new DatePipe$1(this._locale), undefined, this.injector.get(CustomPipeManager)
207920
+ new DatePipe$1(this._locale), undefined, this.injector.get(App), this.injector.get(CustomPipeManager)
207909
207921
  ]),
207910
207922
  this.preparePipeMeta(ToNumberPipe, 'toNumber', true, [
207911
207923
  new DecimalPipe$1(this._locale),
@@ -207922,7 +207934,7 @@ class PipeProvider {
207922
207934
  new DecimalPipe$1(this._locale)
207923
207935
  ]),
207924
207936
  this.preparePipeMeta(StringToNumberPipe, 'stringToNumber', true),
207925
- this.preparePipeMeta(CustomPipe, 'custom', true, [this.injector.get(CustomPipeManager)]),
207937
+ this.preparePipeMeta(CustomPipe, 'custom', true, [this.injector.get(App), this.injector.get(CustomPipeManager)]),
207926
207938
  this.preparePipeMeta(TrustAsPipe, 'trustAs', true, [this.domSanitizer]),
207927
207939
  this.preparePipeMeta(SanitizePipe, 'sanitize', true, [this.domSanitizer]),
207928
207940
  this.preparePipeMeta(TemplateReplacePipe, 'templateReplace', true),
@@ -5867,14 +5867,14 @@ function createNgModuleType(meta) {
5867
5867
  if (meta.kind === R3NgModuleMetadataKind.Local) {
5868
5868
  return new ExpressionType$1(meta.type.value);
5869
5869
  }
5870
- const { type: moduleType, declarations, exports, imports, includeImportTypes, publicDeclarationTypes, } = meta;
5870
+ const { type: moduleType, declarations, exports: exports$1, imports, includeImportTypes, publicDeclarationTypes, } = meta;
5871
5871
  return new ExpressionType$1(importExpr(Identifiers.NgModuleDeclaration, [
5872
5872
  new ExpressionType$1(moduleType.type),
5873
5873
  publicDeclarationTypes === null
5874
5874
  ? tupleTypeOf(declarations)
5875
5875
  : tupleOfTypes(publicDeclarationTypes),
5876
5876
  includeImportTypes ? tupleTypeOf(imports) : NONE_TYPE,
5877
- tupleTypeOf(exports),
5877
+ tupleTypeOf(exports$1),
5878
5878
  ]));
5879
5879
  }
5880
5880
  /**
@@ -39572,7 +39572,7 @@ var hasRequiredEntities;
39572
39572
  function requireEntities () {
39573
39573
  if (hasRequiredEntities) return entities;
39574
39574
  hasRequiredEntities = 1;
39575
- (function (exports) {
39575
+ (function (exports$1) {
39576
39576
 
39577
39577
  var freeze = requireConventions().freeze;
39578
39578
 
@@ -39583,7 +39583,7 @@ function requireEntities () {
39583
39583
  * @see https://www.w3.org/TR/2008/REC-xml-20081126/#sec-predefined-ent W3C XML 1.0
39584
39584
  * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined_entities_in_XML Wikipedia
39585
39585
  */
39586
- exports.XML_ENTITIES = freeze({
39586
+ exports$1.XML_ENTITIES = freeze({
39587
39587
  amp: '&',
39588
39588
  apos: "'",
39589
39589
  gt: '>',
@@ -39605,7 +39605,7 @@ function requireEntities () {
39605
39605
  * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Character_entity_references_in_HTML Wikipedia (HTML)
39606
39606
  * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Entities_representing_special_characters_in_XHTML Wikpedia (XHTML)
39607
39607
  */
39608
- exports.HTML_ENTITIES = freeze({
39608
+ exports$1.HTML_ENTITIES = freeze({
39609
39609
  Aacute: '\u00C1',
39610
39610
  aacute: '\u00E1',
39611
39611
  Abreve: '\u0102',
@@ -41737,7 +41737,7 @@ function requireEntities () {
41737
41737
  * @deprecated use `HTML_ENTITIES` instead
41738
41738
  * @see HTML_ENTITIES
41739
41739
  */
41740
- exports.entityMap = exports.HTML_ENTITIES;
41740
+ exports$1.entityMap = exports$1.HTML_ENTITIES;
41741
41741
  } (entities));
41742
41742
  return entities;
41743
41743
  }
@@ -43545,7 +43545,7 @@ var hasRequiredMoment;
43545
43545
  function requireMoment () {
43546
43546
  if (hasRequiredMoment) return moment$1.exports;
43547
43547
  hasRequiredMoment = 1;
43548
- (function (module, exports) {
43548
+ (function (module, exports$1) {
43549
43549
  (function (global, factory) {
43550
43550
  module.exports = factory() ;
43551
43551
  }(this, (function () {
@@ -81680,7 +81680,7 @@ function verifySemanticsOfNgModuleDef(moduleType, allowDuplicateDeclarationsInRo
81680
81680
  verifySemanticsOfNgModuleImport(modOrStandaloneCmpt, moduleType);
81681
81681
  verifySemanticsOfNgModuleDef(modOrStandaloneCmpt, false, moduleType);
81682
81682
  });
81683
- const exports = maybeUnwrapFn(ngModuleDef.exports);
81683
+ const exports$1 = maybeUnwrapFn(ngModuleDef.exports);
81684
81684
  declarations.forEach(verifyDeclarationsHaveDefinitions);
81685
81685
  declarations.forEach(verifyDirectivesHaveSelector);
81686
81686
  declarations.forEach((declarationType) => verifyNotStandalone(declarationType, moduleType));
@@ -81688,7 +81688,7 @@ function verifySemanticsOfNgModuleDef(moduleType, allowDuplicateDeclarationsInRo
81688
81688
  ...declarations.map(resolveForwardRef),
81689
81689
  ...flatten(imports.map(computeCombinedExports)).map(resolveForwardRef),
81690
81690
  ];
81691
- exports.forEach(verifyExportsAreDeclaredOrReExported);
81691
+ exports$1.forEach(verifyExportsAreDeclaredOrReExported);
81692
81692
  declarations.forEach((decl) => verifyDeclarationIsUnique(decl, allowDuplicateDeclarationsInRoot));
81693
81693
  const ngModule = getAnnotation(moduleType, 'NgModule');
81694
81694
  if (ngModule) {
@@ -100387,6 +100387,7 @@ const REGEX = {
100387
100387
  SUPPORTED_AUDIO_FORMAT: /\.(mp3|ogg|webm|wma|3gp|wav|m4a)$/i,
100388
100388
  SUPPORTED_VIDEO_FORMAT: /\.(mp4|ogg|webm|wmv|mpeg|mpg|avi|mov)$/i,
100389
100389
  VALID_WEB_URL: /^(http[s]?:\/\/)(www\.){0,1}[a-zA-Z0-9=:?\/\.\-]+(\.[a-zA-Z]{2,5}[\.]{0,1})?/,
100390
+ VALID_IMAGE_URL: /^(https?|blob|data|file|ftp):/i,
100390
100391
  REPLACE_PATTERN: /\$\{([^\}]+)\}/g,
100391
100392
  DATA_URL: /^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s]*)\s*$/i,
100392
100393
  ISO_DATE_FORMAT: /(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2})(\.\d+)?([+-]\d{2}:?\d{2}|Z)$/
@@ -100609,6 +100610,9 @@ const isVideoFile = (fileName) => {
100609
100610
  const isValidWebURL = (url) => {
100610
100611
  return (REGEX.VALID_WEB_URL).test(url);
100611
100612
  };
100613
+ const isValidImageUrl = (url) => {
100614
+ return (REGEX.VALID_IMAGE_URL).test(url?.trim());
100615
+ };
100612
100616
  /*This function returns the url to the resource after checking the validity of url*/
100613
100617
  const getResourceURL = (urlString) => {
100614
100618
  return urlString;
@@ -101862,6 +101866,7 @@ var Utils = /*#__PURE__*/Object.freeze({
101862
101866
  isPageable: isPageable,
101863
101867
  isSafari: isSafari,
101864
101868
  isTablet: isTablet,
101869
+ isValidImageUrl: isValidImageUrl,
101865
101870
  isValidWebURL: isValidWebURL,
101866
101871
  isVideoFile: isVideoFile,
101867
101872
  loadScript: loadScript,
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@wavemaker/angular-codegen",
3
- "version": "11.14.1-rc.6286",
3
+ "version": "11.14.1-rc.6304",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@wavemaker/angular-codegen",
9
- "version": "11.14.1-rc.6286",
9
+ "version": "11.14.1-rc.6304",
10
10
  "license": "ISC",
11
11
  "dependencies": {
12
- "@wavemaker/angular-app": "11.14.1-rc.6286",
12
+ "@wavemaker/angular-app": "11.14.1-rc.6304",
13
13
  "archiver": "^7.0.1",
14
14
  "cheerio": "1.0.0-rc.12",
15
15
  "decode-uri-component": "^0.2.0",
@@ -1340,8 +1340,8 @@
1340
1340
  }
1341
1341
  },
1342
1342
  "node_modules/@types/node": {
1343
- "version": "24.9.2",
1344
- "integrity": "sha512-uWN8YqxXxqFMX2RqGOrumsKeti4LlmIMIyV0lgut4jx7KQBcBiW6vkDtIBvHnHIquwNfJhk8v2OtmO8zXWHfPA==",
1343
+ "version": "24.10.1",
1344
+ "integrity": "sha512-GNWcUTRBgIRJD5zj+Tq0fKOJ5XZajIiBroOF0yvj2bSU1WvNdYS/dn9UxwsujGW4JX06dnHyjV2y9rRaybH0iQ==",
1345
1345
  "dev": true,
1346
1346
  "license": "MIT",
1347
1347
  "dependencies": {
@@ -1361,8 +1361,8 @@
1361
1361
  "license": "MIT"
1362
1362
  },
1363
1363
  "node_modules/@types/yargs": {
1364
- "version": "16.0.10",
1365
- "integrity": "sha512-0xbOE6Ht/oj0MTVVXCCdEZzUk7adwW3YB1Tg1ZBm95jrkrUMI0VA4sf3SgxC1TG8p5aKkn3jxT9A2BDw1mM/TQ==",
1364
+ "version": "16.0.11",
1365
+ "integrity": "sha512-sbtvk8wDN+JvEdabmZExoW/HNr1cB7D/j4LT08rMiuikfA7m/JNJg7ATQcgzs34zHnoScDkY0ZRSl29Fkmk36g==",
1366
1366
  "dev": true,
1367
1367
  "license": "MIT",
1368
1368
  "dependencies": {
@@ -1376,8 +1376,8 @@
1376
1376
  "license": "MIT"
1377
1377
  },
1378
1378
  "node_modules/@wavemaker/angular-app": {
1379
- "version": "11.14.1-rc.6286",
1380
- "integrity": "sha512-VuUgeKf5ZmJ7mOYy4knwQhbcIbXWLYk3zaqxRWNJ2hT+/YP+J3naG2roUXINt2FXs1xRNxOHtNaVwxXjKqLaHw==",
1379
+ "version": "11.14.1-rc.6304",
1380
+ "integrity": "sha512-I8js0mcjmQc38oWVbfZKl7NoGQFMbyK0d8eYPrNfAV7lbGWa3tBYle1H/NN9xcNGG29VyCOHXbIR9nqhUOf6Pg==",
1381
1381
  "dependencies": {
1382
1382
  "@angular/animations": "18.2.13",
1383
1383
  "@angular/common": "18.2.13",
@@ -1394,12 +1394,12 @@
1394
1394
  "@fullcalendar/list": "6.1.18",
1395
1395
  "@fullcalendar/timegrid": "6.1.18",
1396
1396
  "@metrichor/jmespath": "0.3.1",
1397
- "@wavemaker/app-ng-runtime": "11.14.1-rc.6286",
1398
- "@wavemaker/custom-widgets-m3": "11.14.1-rc.6286",
1397
+ "@wavemaker/app-ng-runtime": "11.14.1-rc.6304",
1398
+ "@wavemaker/custom-widgets-m3": "11.14.1-rc.6304",
1399
1399
  "@wavemaker/focus-trap": "1.0.1",
1400
- "@wavemaker/foundation-css": "11.14.1-rc.6286",
1400
+ "@wavemaker/foundation-css": "11.14.1-rc.6304",
1401
1401
  "@wavemaker/nvd3": "1.8.15",
1402
- "@wavemaker/variables": "11.14.1-rc.6286",
1402
+ "@wavemaker/variables": "11.14.1-rc.6304",
1403
1403
  "@ztree/ztree_v3": "3.5.48",
1404
1404
  "acorn": "^8.15.0",
1405
1405
  "angular-imask": "7.6.1",
@@ -1434,8 +1434,8 @@
1434
1434
  }
1435
1435
  },
1436
1436
  "node_modules/@wavemaker/app-ng-runtime": {
1437
- "version": "11.14.1-rc.6286",
1438
- "integrity": "sha512-yn31TtpaEqVtouVvGxv7MTgkC/oL9MQ5Rflg4YeTfb9SZrss1D2btvBlu4Hu6gr43upBcuzqsRHySt+Lm6qoDA==",
1437
+ "version": "11.14.1-rc.6304",
1438
+ "integrity": "sha512-d0vWkIH/Qs9tlUEELH/ajWnkxfa8CEV0OpDfPPUgJ7maRQnVI3UvFc1Qk9+bJ3NKX0/kmm7aE760k7z+rfEIWg==",
1439
1439
  "license": "MIT",
1440
1440
  "engines": {
1441
1441
  "node": ">=18.16.1",
@@ -1443,8 +1443,8 @@
1443
1443
  }
1444
1444
  },
1445
1445
  "node_modules/@wavemaker/custom-widgets-m3": {
1446
- "version": "11.14.1-rc.6286",
1447
- "integrity": "sha512-w5eUY9rUBXPoIjdXqWv5oWyxpQLMLBqY478cPIslYPCOhA/EtB15zuC0TLNjlVw6oeAO8UeSSNB76qeOVeh+qA==",
1446
+ "version": "11.14.1-rc.6304",
1447
+ "integrity": "sha512-kKLq8hXQuySu/Qs8Ox02butmj4HGmXtv9oNdX89UdPy3Bc/6izzD9lfA1F5ypZmBI1WFr9kB8Sl3CZ3GLspcKg==",
1448
1448
  "license": "ISC"
1449
1449
  },
1450
1450
  "node_modules/@wavemaker/focus-trap": {
@@ -1457,8 +1457,8 @@
1457
1457
  }
1458
1458
  },
1459
1459
  "node_modules/@wavemaker/foundation-css": {
1460
- "version": "11.14.1-rc.6286",
1461
- "integrity": "sha512-uXFIWP0oVmwQFqA10rTt9QW5yXqvPyOxHjFtHWSfCqApuqMfMKL13ZZ6KgfZKdJ0/Y/Z0FMg9EdMPG8bsbpvUw==",
1460
+ "version": "11.14.1-rc.6304",
1461
+ "integrity": "sha512-SzlYBuEzoiLoA46NhTNQZrZ5E26w4KHdzXThA9ilHF1+yrrqUPYbDJXpktPhGZFfwK6dQtwVoH+UqKr9fIQ8Xg==",
1462
1462
  "license": "ISC",
1463
1463
  "dependencies": {
1464
1464
  "chroma-js": "^3.1.2"
@@ -1473,8 +1473,8 @@
1473
1473
  }
1474
1474
  },
1475
1475
  "node_modules/@wavemaker/variables": {
1476
- "version": "11.14.1-rc.6286",
1477
- "integrity": "sha512-o/c0MdsBsev+BIEHbeJACaM0DyHQ40lNA/2/MMfVkyRyNZxmZTBCNTw968pomwo2G0HtNLsmlvqxuj0cTI/p4g==",
1476
+ "version": "11.14.1-rc.6304",
1477
+ "integrity": "sha512-wgLAvWoP6Ezw9UHonONezoeHuGFCndg0duwmwKcqQ19Xp1FXmyoRSlHLkOmrw4lgGcdCRK/KU1JGFAPN3qsCBQ==",
1478
1478
  "license": "ISC",
1479
1479
  "dependencies": {
1480
1480
  "@metrichor/jmespath": "^0.3.1",
@@ -1877,8 +1877,8 @@
1877
1877
  "license": "MIT"
1878
1878
  },
1879
1879
  "node_modules/bare-events": {
1880
- "version": "2.8.1",
1881
- "integrity": "sha512-oxSAxTS1hRfnyit2CL5QpAOS5ixfBjj6ex3yTNvXyY/kE719jQ/IjuESJBK2w5v4wwQRAHGseVJXx9QBYOtFGQ==",
1880
+ "version": "2.8.2",
1881
+ "integrity": "sha512-riJjyv1/mHLIPX4RwiK+oW9/4c3TEUeORHKefKAKnZ5kyslbN+HXowtbaVEqt4IMUB7OXlfixcs6gsFeo/jhiQ==",
1882
1882
  "license": "Apache-2.0",
1883
1883
  "peerDependencies": {
1884
1884
  "bare-abort-controller": "*"
@@ -1909,8 +1909,8 @@
1909
1909
  "license": "MIT"
1910
1910
  },
1911
1911
  "node_modules/baseline-browser-mapping": {
1912
- "version": "2.8.22",
1913
- "integrity": "sha512-/tk9kky/d8T8CTXIQYASLyhAxR5VwL3zct1oAoVTaOUHwrmsGnfbRwNdEq+vOl2BN8i3PcDdP0o4Q+jjKQoFbQ==",
1912
+ "version": "2.8.31",
1913
+ "integrity": "sha512-a28v2eWrrRWPpJSzxc+mKwm0ZtVx/G8SepdQZDArnXYU/XS+IF6mp8aB/4E+hH1tyGCoDo3KlUCdlSxGDsRkAw==",
1914
1914
  "dev": true,
1915
1915
  "license": "Apache-2.0",
1916
1916
  "bin": {
@@ -2024,8 +2024,8 @@
2024
2024
  "license": "BSD-2-Clause"
2025
2025
  },
2026
2026
  "node_modules/browserslist": {
2027
- "version": "4.27.0",
2028
- "integrity": "sha512-AXVQwdhot1eqLihwasPElhX2tAZiBjWdJ9i/Zcj2S6QYIjkx62OKSfnobkriB81C3l4w0rVy3Nt4jaTBltYEpw==",
2027
+ "version": "4.28.0",
2028
+ "integrity": "sha512-tbydkR/CxfMwelN0vwdP/pLkDwyAASZ+VfWm4EOwlB6SWhx1sYnWLqo8N5j0rAzPfzfRaxt0mM/4wPU/Su84RQ==",
2029
2029
  "dev": true,
2030
2030
  "funding": [
2031
2031
  {
@@ -2043,10 +2043,10 @@
2043
2043
  ],
2044
2044
  "license": "MIT",
2045
2045
  "dependencies": {
2046
- "baseline-browser-mapping": "^2.8.19",
2047
- "caniuse-lite": "^1.0.30001751",
2048
- "electron-to-chromium": "^1.5.238",
2049
- "node-releases": "^2.0.26",
2046
+ "baseline-browser-mapping": "^2.8.25",
2047
+ "caniuse-lite": "^1.0.30001754",
2048
+ "electron-to-chromium": "^1.5.249",
2049
+ "node-releases": "^2.0.27",
2050
2050
  "update-browserslist-db": "^1.1.4"
2051
2051
  },
2052
2052
  "bin": {
@@ -2190,8 +2190,8 @@
2190
2190
  }
2191
2191
  },
2192
2192
  "node_modules/caniuse-lite": {
2193
- "version": "1.0.30001752",
2194
- "integrity": "sha512-vKUk7beoukxE47P5gcVNKkDRzXdVofotshHwfR9vmpeFKxmI5PBpgOMC18LUJUA/DvJ70Y7RveasIBraqsyO/g==",
2193
+ "version": "1.0.30001757",
2194
+ "integrity": "sha512-r0nnL/I28Zi/yjk1el6ilj27tKcdjLsNqAOZr0yVjWPrSQyHgKI2INaEWw21bAQSv2LXRt1XuCS/GomNpWOxsQ==",
2195
2195
  "dev": true,
2196
2196
  "funding": [
2197
2197
  {
@@ -2533,8 +2533,8 @@
2533
2533
  "license": "MIT"
2534
2534
  },
2535
2535
  "node_modules/core-js-pure": {
2536
- "version": "3.46.0",
2537
- "integrity": "sha512-NMCW30bHNofuhwLhYPt66OLOKTMbOhgTTatKVbaQC3KRHpTCiRIBYvtshr+NBYSnBxwAFhjW/RfJ0XbIjS16rw==",
2536
+ "version": "3.47.0",
2537
+ "integrity": "sha512-BcxeDbzUrRnXGYIVAGFtcGQVNpFcUhVjr6W7F8XktvQW2iJP9e66GP6xdKotCRFlrxBvNIBrhwKteRXqMV86Nw==",
2538
2538
  "hasInstallScript": true,
2539
2539
  "license": "MIT",
2540
2540
  "funding": {
@@ -3277,8 +3277,8 @@
3277
3277
  "license": "MIT"
3278
3278
  },
3279
3279
  "node_modules/electron-to-chromium": {
3280
- "version": "1.5.244",
3281
- "integrity": "sha512-OszpBN7xZX4vWMPJwB9illkN/znA8M36GQqQxi6MNy9axWxhOfJyZZJtSLQCpEFLHP2xK33BiWx9aIuIEXVCcw==",
3280
+ "version": "1.5.260",
3281
+ "integrity": "sha512-ov8rBoOBhVawpzdre+Cmz4FB+y66Eqrk6Gwqd8NGxuhv99GQ8XqMAr351KEkOt7gukXWDg6gJWEMKgL2RLMPtA==",
3282
3282
  "dev": true,
3283
3283
  "license": "ISC"
3284
3284
  },
@@ -3822,8 +3822,8 @@
3822
3822
  }
3823
3823
  },
3824
3824
  "node_modules/glob": {
3825
- "version": "10.4.5",
3826
- "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==",
3825
+ "version": "10.5.0",
3826
+ "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
3827
3827
  "license": "ISC",
3828
3828
  "dependencies": {
3829
3829
  "foreground-child": "^3.1.0",
@@ -5264,8 +5264,8 @@
5264
5264
  "license": "MIT"
5265
5265
  },
5266
5266
  "node_modules/js-yaml": {
5267
- "version": "3.14.1",
5268
- "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
5267
+ "version": "3.14.2",
5268
+ "integrity": "sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==",
5269
5269
  "dev": true,
5270
5270
  "license": "MIT",
5271
5271
  "dependencies": {