@wavemaker/angular-codegen 12.0.0-next.45104 → 12.0.0-next.45127

Sign up to get free protection for your applications and to get access to all the features.
@@ -71,6 +71,7 @@ import "hammerjs/hammer.min.js";
71
71
  import "iscroll/build/iscroll.js";
72
72
  import "tabbable/dist/index.umd.min.js";
73
73
  import "@wavemaker/focus-trap/dist/focus-trap.umd.min.js";
74
+ import "x2js"
74
75
 
75
76
 
76
77
 
@@ -126424,15 +126424,15 @@ var dataViewCtorString$1 = toSource$1(DataView$1$1),
126424
126424
  * @param {*} value The value to query.
126425
126425
  * @returns {string} Returns the `toStringTag`.
126426
126426
  */
126427
- var getTag$1 = baseGetTag$1;
126427
+ var getTag$2 = baseGetTag$1;
126428
126428
 
126429
126429
  // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
126430
- if ((DataView$1$1 && getTag$1(new DataView$1$1(new ArrayBuffer(1))) != dataViewTag$3$1) ||
126431
- (Map$1$1 && getTag$1(new Map$1$1) != mapTag$8$1) ||
126432
- (Promise$1$1 && getTag$1(Promise$1$1.resolve()) != promiseTag$1) ||
126433
- (Set$1$1 && getTag$1(new Set$1$1) != setTag$8$1) ||
126434
- (WeakMap$1$1 && getTag$1(new WeakMap$1$1) != weakMapTag$2$1)) {
126435
- getTag$1 = function(value) {
126430
+ if ((DataView$1$1 && getTag$2(new DataView$1$1(new ArrayBuffer(1))) != dataViewTag$3$1) ||
126431
+ (Map$1$1 && getTag$2(new Map$1$1) != mapTag$8$1) ||
126432
+ (Promise$1$1 && getTag$2(Promise$1$1.resolve()) != promiseTag$1) ||
126433
+ (Set$1$1 && getTag$2(new Set$1$1) != setTag$8$1) ||
126434
+ (WeakMap$1$1 && getTag$2(new WeakMap$1$1) != weakMapTag$2$1)) {
126435
+ getTag$2 = function(value) {
126436
126436
  var result = baseGetTag$1(value),
126437
126437
  Ctor = result == objectTag$2$1 ? value.constructor : undefined,
126438
126438
  ctorString = Ctor ? toSource$1(Ctor) : '';
@@ -126450,7 +126450,7 @@ if ((DataView$1$1 && getTag$1(new DataView$1$1(new ArrayBuffer(1))) != dataViewT
126450
126450
  };
126451
126451
  }
126452
126452
 
126453
- var getTag$1$1 = getTag$1;
126453
+ var getTag$1$1 = getTag$2;
126454
126454
 
126455
126455
  /** Used for built-in method references. */
126456
126456
  var objectProto$c$1 = Object.prototype;
@@ -143816,7 +143816,6 @@ const REGEX$1 = {
143816
143816
  IPOD: /iPod/i,
143817
143817
  IPAD: /iPad/i,
143818
143818
  MAC: /Mac/i,
143819
- MACINTEL: /MacIntel/i,
143820
143819
  ANDROID_TABLET: /android|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i,
143821
143820
  MOBILE: /Mobile/i,
143822
143821
  WINDOWS: /Windows Phone/i,
@@ -143868,9 +143867,10 @@ const isAndroidTablet$1 = () => REGEX$1.ANDROID_TABLET.test(userAgent$1) && !((/
143868
143867
  const isIphone$1 = () => REGEX$1.IPHONE.test(userAgent$1);
143869
143868
  const isIpod$1 = () => REGEX$1.IPOD.test(userAgent$1);
143870
143869
  const isIpad$1 = () => {
143871
- return REGEX$1.IPAD.test(userAgent$1) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && (REGEX$1.MAC.test(window.navigator.platform) || REGEX$1.MACINTEL.test(window.navigator.platform)));
143870
+ return REGEX$1.IPAD.test(userAgent$1) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && REGEX$1.MAC.test(window.navigator.platform));
143872
143871
  };
143873
143872
  const isIos$1 = () => isIphone$1() || isIpod$1() || isIpad$1();
143873
+ const isSafari$1 = () => navigator.userAgent.indexOf('Safari') !== -1 && navigator.userAgent.indexOf('Chrome') === -1;
143874
143874
  const isLargeTabletLandscape$1 = (landScapeWidth, landScapeHeight) => {
143875
143875
  const width = landScapeWidth || '1366px';
143876
143876
  const height = landScapeHeight || '1024px';
@@ -144092,7 +144092,7 @@ const getFormattedDate$1 = (datePipe, dateObj, format, timeZone, isTimeStampType
144092
144092
  if (format === 'UTC') {
144093
144093
  return new Date(dateObj).toISOString();
144094
144094
  }
144095
- if (timeZone) {
144095
+ if (timeZone && timeZone !== moment.defaultZone?.name) {
144096
144096
  const momentFormat = format.replaceAll('y', 'Y').replaceAll('d', 'D').replace('a', 'A');
144097
144097
  if (isIntervalDateTime) { // dates which are of type time widget (value is hh:mm:ss) but returned as date string from time comp
144098
144098
  return moment(dateObj).format(momentFormat);
@@ -144484,6 +144484,7 @@ const isEqualWithFields$1 = (obj1, obj2, compareBy) => {
144484
144484
  // compareBy can be 'id' or 'id1, id2' or 'id1, id2:id3'
144485
144485
  // Split the compareby comma separated values
144486
144486
  let _compareBy = isArray$2(compareBy) ? compareBy : split$1(compareBy, ',');
144487
+ //@ts-ignore
144487
144488
  _compareBy = map$2(_compareBy, trim$1);
144488
144489
  return isEqualWith$1(obj1, obj2, function (o1, o2) {
144489
144490
  return every$1(_compareBy, function (cb) {
@@ -145338,6 +145339,7 @@ var Utils$1 = /*#__PURE__*/Object.freeze({
145338
145339
  isNumberType: isNumberType$1,
145339
145340
  isObject: isObject$3,
145340
145341
  isPageable: isPageable$1,
145342
+ isSafari: isSafari$1,
145341
145343
  isTablet: isTablet$1,
145342
145344
  isValidWebURL: isValidWebURL$1,
145343
145345
  isVideoFile: isVideoFile$1,
@@ -146875,7 +146877,7 @@ class FileIconClassPipe {
146875
146877
  class StateClassPipe {
146876
146878
  transform(state) {
146877
146879
  const stateClassMap = {
146878
- 'success': 'wi wi-done text-success',
146880
+ 'success': 'wi wi-check-circle text-success',
146879
146881
  'error': 'wi wi-error text-danger'
146880
146882
  };
146881
146883
  return stateClassMap[state.toLowerCase()];
@@ -185794,6 +185796,8 @@ if ((DataView$1 && getTag(new DataView$1(new ArrayBuffer(1))) != dataViewTag$3)
185794
185796
  };
185795
185797
  }
185796
185798
 
185799
+ var getTag$1 = getTag;
185800
+
185797
185801
  /** Used for built-in method references. */
185798
185802
  var objectProto$c = Object.prototype;
185799
185803
 
@@ -185986,7 +185990,7 @@ var mapTag$6 = '[object Map]';
185986
185990
  * @returns {boolean} Returns `true` if `value` is a map, else `false`.
185987
185991
  */
185988
185992
  function baseIsMap(value) {
185989
- return isObjectLike(value) && getTag(value) == mapTag$6;
185993
+ return isObjectLike(value) && getTag$1(value) == mapTag$6;
185990
185994
  }
185991
185995
 
185992
185996
  /* Node.js helper references. */
@@ -186022,7 +186026,7 @@ var setTag$6 = '[object Set]';
186022
186026
  * @returns {boolean} Returns `true` if `value` is a set, else `false`.
186023
186027
  */
186024
186028
  function baseIsSet(value) {
186025
- return isObjectLike(value) && getTag(value) == setTag$6;
186029
+ return isObjectLike(value) && getTag$1(value) == setTag$6;
186026
186030
  }
186027
186031
 
186028
186032
  /* Node.js helper references. */
@@ -186135,7 +186139,7 @@ function baseClone(value, bitmask, customizer, key, object, stack) {
186135
186139
  return copyArray(value, result);
186136
186140
  }
186137
186141
  } else {
186138
- var tag = getTag(value),
186142
+ var tag = getTag$1(value),
186139
186143
  isFunc = tag == funcTag || tag == genTag;
186140
186144
 
186141
186145
  if (isBuffer(value)) {
@@ -186843,8 +186847,8 @@ var hasOwnProperty$9 = objectProto$a.hasOwnProperty;
186843
186847
  function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
186844
186848
  var objIsArr = isArray(object),
186845
186849
  othIsArr = isArray(other),
186846
- objTag = objIsArr ? arrayTag : getTag(object),
186847
- othTag = othIsArr ? arrayTag : getTag(other);
186850
+ objTag = objIsArr ? arrayTag : getTag$1(object),
186851
+ othTag = othIsArr ? arrayTag : getTag$1(other);
186848
186852
 
186849
186853
  objTag = objTag == argsTag ? objectTag : objTag;
186850
186854
  othTag = othTag == argsTag ? objectTag : othTag;
@@ -188919,7 +188923,7 @@ var mapTag$3 = '[object Map]',
188919
188923
  */
188920
188924
  function createToPairs(keysFunc) {
188921
188925
  return function(object) {
188922
- var tag = getTag(object);
188926
+ var tag = getTag$1(object);
188923
188927
  if (tag == mapTag$3) {
188924
188928
  return mapToArray(object);
188925
188929
  }
@@ -191166,7 +191170,7 @@ function isEmpty(value) {
191166
191170
  isBuffer(value) || isTypedArray(value) || isArguments(value))) {
191167
191171
  return !value.length;
191168
191172
  }
191169
- var tag = getTag(value);
191173
+ var tag = getTag$1(value);
191170
191174
  if (tag == mapTag$2 || tag == setTag$2) {
191171
191175
  return !value.size;
191172
191176
  }
@@ -191654,7 +191658,7 @@ var weakMapTag = '[object WeakMap]';
191654
191658
  * // => false
191655
191659
  */
191656
191660
  function isWeakMap(value) {
191657
- return isObjectLike(value) && getTag(value) == weakMapTag;
191661
+ return isObjectLike(value) && getTag$1(value) == weakMapTag;
191658
191662
  }
191659
191663
 
191660
191664
  /** `Object#toString` result references. */
@@ -192625,7 +192629,7 @@ function toArray(value) {
192625
192629
  if (symIterator$1 && value[symIterator$1]) {
192626
192630
  return iteratorToArray(value[symIterator$1]());
192627
192631
  }
192628
- var tag = getTag(value),
192632
+ var tag = getTag$1(value),
192629
192633
  func = tag == mapTag$1 ? mapToArray : (tag == setTag$1 ? setToArray : values);
192630
192634
 
192631
192635
  return func(value);
@@ -194964,7 +194968,7 @@ function size(collection) {
194964
194968
  if (isArrayLike(collection)) {
194965
194969
  return isString(collection) ? stringSize(collection) : collection.length;
194966
194970
  }
194967
- var tag = getTag(collection);
194971
+ var tag = getTag$1(collection);
194968
194972
  if (tag == mapTag || tag == setTag) {
194969
194973
  return collection.size;
194970
194974
  }
@@ -202093,7 +202097,6 @@ const REGEX = {
202093
202097
  IPOD: /iPod/i,
202094
202098
  IPAD: /iPad/i,
202095
202099
  MAC: /Mac/i,
202096
- MACINTEL: /MacIntel/i,
202097
202100
  ANDROID_TABLET: /android|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i,
202098
202101
  MOBILE: /Mobile/i,
202099
202102
  WINDOWS: /Windows Phone/i,
@@ -202145,9 +202148,10 @@ const isAndroidTablet = () => REGEX.ANDROID_TABLET.test(userAgent) && !((/Tablet
202145
202148
  const isIphone = () => REGEX.IPHONE.test(userAgent);
202146
202149
  const isIpod = () => REGEX.IPOD.test(userAgent);
202147
202150
  const isIpad = () => {
202148
- return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && (REGEX.MAC.test(window.navigator.platform) || REGEX.MACINTEL.test(window.navigator.platform)));
202151
+ return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && REGEX.MAC.test(window.navigator.platform));
202149
202152
  };
202150
202153
  const isIos = () => isIphone() || isIpod() || isIpad();
202154
+ const isSafari = () => navigator.userAgent.indexOf('Safari') !== -1 && navigator.userAgent.indexOf('Chrome') === -1;
202151
202155
  const isLargeTabletLandscape = (landScapeWidth, landScapeHeight) => {
202152
202156
  const width = landScapeWidth || '1366px';
202153
202157
  const height = landScapeHeight || '1024px';
@@ -202369,7 +202373,7 @@ const getFormattedDate = (datePipe, dateObj, format, timeZone, isTimeStampType,
202369
202373
  if (format === 'UTC') {
202370
202374
  return new Date(dateObj).toISOString();
202371
202375
  }
202372
- if (timeZone) {
202376
+ if (timeZone && timeZone !== moment.defaultZone?.name) {
202373
202377
  const momentFormat = format.replaceAll('y', 'Y').replaceAll('d', 'D').replace('a', 'A');
202374
202378
  if (isIntervalDateTime) { // dates which are of type time widget (value is hh:mm:ss) but returned as date string from time comp
202375
202379
  return moment(dateObj).format(momentFormat);
@@ -202761,6 +202765,7 @@ const isEqualWithFields = (obj1, obj2, compareBy) => {
202761
202765
  // compareBy can be 'id' or 'id1, id2' or 'id1, id2:id3'
202762
202766
  // Split the compareby comma separated values
202763
202767
  let _compareBy = isArray(compareBy) ? compareBy : split(compareBy, ',');
202768
+ //@ts-ignore
202764
202769
  _compareBy = map(_compareBy, trim);
202765
202770
  return isEqualWith(obj1, obj2, function (o1, o2) {
202766
202771
  return every(_compareBy, function (cb) {
@@ -203615,6 +203620,7 @@ var Utils = /*#__PURE__*/Object.freeze({
203615
203620
  isNumberType: isNumberType,
203616
203621
  isObject: isObject,
203617
203622
  isPageable: isPageable,
203623
+ isSafari: isSafari,
203618
203624
  isTablet: isTablet,
203619
203625
  isValidWebURL: isValidWebURL,
203620
203626
  isVideoFile: isVideoFile,
@@ -86226,7 +86226,7 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
86226
86226
  tmpl = `<ul role="group" wmCheckboxset ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} ${showTmpl}></ul>`;
86227
86227
  break;
86228
86228
  case FormWidgetType.CHIPS:
86229
- tmpl = `<ul wmChips role="input" debouncetime="${attrs.get('debouncetime')}" ${innerTmpl} ${showTmpl}></ul>`;
86229
+ tmpl = `<ul wmChips debouncetime="${attrs.get('debouncetime')}" ${innerTmpl} ${showTmpl}></ul>`;
86230
86230
  break;
86231
86231
  case FormWidgetType.COLORPICKER:
86232
86232
  tmpl = `<div wmColorPicker ${attrs.get('required') === 'true' ? 'required=true' : ''} ${innerTmpl} ${showTmpl}></div>`;
@@ -86244,10 +86244,10 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
86244
86244
  tmpl = `<div wmDateTime ${attrs.get('required') === 'true' ? 'required=true' : ''} dataentrymode="${attrs.get('dataentrymode')}" ${innerTmpl} ${showTmpl}></div>`;
86245
86245
  break;
86246
86246
  case FormWidgetType.NUMBER:
86247
- tmpl = `<div wmNumber ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="number" aria-label="Only numbers" ${updateOnTmpl} ${showTmpl}></div>`;
86247
+ tmpl = `<div wmNumber ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="number" ${updateOnTmpl} ${showTmpl}></div>`;
86248
86248
  break;
86249
86249
  case FormWidgetType.PASSWORD:
86250
- tmpl = `<wm-input ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="password" aria-label="Enter password" ${updateOnTmpl} ${showTmpl}></wm-input>`;
86250
+ tmpl = `<wm-input ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="password" ${updateOnTmpl} ${showTmpl}></wm-input>`;
86251
86251
  break;
86252
86252
  case FormWidgetType.RADIOSET:
86253
86253
  tmpl = `<ul role="radiogroup" wmRadioset ${innerTmpl} ${showTmpl}></ul>`;
@@ -86262,7 +86262,7 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
86262
86262
  tmpl = `<wm-select ${attrs.get('required') === 'true' ? 'required=true' : ''} ${innerTmpl} ${showTmpl}></wm-select>`;
86263
86263
  break;
86264
86264
  case FormWidgetType.TOGGLE:
86265
- tmpl = `<div wmCheckbox ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="toggle" role="checkbox" aria-label="Toggle button" ${showTmpl}></div>`;
86265
+ tmpl = `<div wmCheckbox ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="toggle" ${showTmpl}></div>`;
86266
86266
  break;
86267
86267
  case FormWidgetType.SLIDER:
86268
86268
  tmpl = `<div wmSlider ${innerTmpl} ${showTmpl}></div>`;
@@ -86275,13 +86275,13 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
86275
86275
  tmpl = `<wm-input ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="${attrs.get(inputType) || 'text'}" ${updateOnTmpl} ${showTmpl}></wm-input>`;
86276
86276
  break;
86277
86277
  case FormWidgetType.TEXTAREA:
86278
- tmpl = `<wm-textarea ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} role="textbox" ${updateOnTmpl} ${showTmpl}></wm-textarea>`;
86278
+ tmpl = `<wm-textarea ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} ${updateOnTmpl} ${showTmpl}></wm-textarea>`;
86279
86279
  break;
86280
86280
  case FormWidgetType.TIME:
86281
86281
  tmpl = `<div wmTime ${attrs.get('required') === 'true' ? 'required=true' : ''} dataentrymode="${attrs.get('dataentrymode')}" ${innerTmpl} ${showTmpl}></div>`;
86282
86282
  break;
86283
86283
  case FormWidgetType.TIMESTAMP:
86284
- tmpl = `<div wmDateTime ${attrs.get('required') === 'true' ? 'required=true' : ''} dataentrymode="${attrs.get('dataentrymode')}" ${innerTmpl} role="input" ${showTmpl}></div>`;
86284
+ tmpl = `<div wmDateTime ${attrs.get('required') === 'true' ? 'required=true' : ''} dataentrymode="${attrs.get('dataentrymode')}" ${innerTmpl} ${showTmpl}></div>`;
86285
86285
  break;
86286
86286
  case FormWidgetType.UPLOAD:
86287
86287
  const counter = options.counter;
@@ -87130,7 +87130,6 @@ const REGEX = {
87130
87130
  IPOD: /iPod/i,
87131
87131
  IPAD: /iPad/i,
87132
87132
  MAC: /Mac/i,
87133
- MACINTEL: /MacIntel/i,
87134
87133
  ANDROID_TABLET: /android|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i,
87135
87134
  MOBILE: /Mobile/i,
87136
87135
  WINDOWS: /Windows Phone/i,
@@ -87182,9 +87181,10 @@ const isAndroidTablet = () => REGEX.ANDROID_TABLET.test(userAgent) && !((/Tablet
87182
87181
  const isIphone = () => REGEX.IPHONE.test(userAgent);
87183
87182
  const isIpod = () => REGEX.IPOD.test(userAgent);
87184
87183
  const isIpad = () => {
87185
- return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && (REGEX.MAC.test(window.navigator.platform) || REGEX.MACINTEL.test(window.navigator.platform)));
87184
+ return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && REGEX.MAC.test(window.navigator.platform));
87186
87185
  };
87187
87186
  const isIos = () => isIphone() || isIpod() || isIpad();
87187
+ const isSafari = () => navigator.userAgent.indexOf('Safari') !== -1 && navigator.userAgent.indexOf('Chrome') === -1;
87188
87188
  const isLargeTabletLandscape = (landScapeWidth, landScapeHeight) => {
87189
87189
  const width = landScapeWidth || '1366px';
87190
87190
  const height = landScapeHeight || '1024px';
@@ -87406,7 +87406,7 @@ const getFormattedDate = (datePipe, dateObj, format, timeZone, isTimeStampType,
87406
87406
  if (format === 'UTC') {
87407
87407
  return new Date(dateObj).toISOString();
87408
87408
  }
87409
- if (timeZone) {
87409
+ if (timeZone && timeZone !== moment.defaultZone?.name) {
87410
87410
  const momentFormat = format.replaceAll('y', 'Y').replaceAll('d', 'D').replace('a', 'A');
87411
87411
  if (isIntervalDateTime) { // dates which are of type time widget (value is hh:mm:ss) but returned as date string from time comp
87412
87412
  return moment(dateObj).format(momentFormat);
@@ -87798,6 +87798,7 @@ const isEqualWithFields = (obj1, obj2, compareBy) => {
87798
87798
  // compareBy can be 'id' or 'id1, id2' or 'id1, id2:id3'
87799
87799
  // Split the compareby comma separated values
87800
87800
  let _compareBy = isArray$1(compareBy) ? compareBy : split(compareBy, ',');
87801
+ //@ts-ignore
87801
87802
  _compareBy = map$1(_compareBy, trim);
87802
87803
  return isEqualWith(obj1, obj2, function (o1, o2) {
87803
87804
  return every(_compareBy, function (cb) {
@@ -88652,6 +88653,7 @@ var Utils = /*#__PURE__*/Object.freeze({
88652
88653
  isNumberType: isNumberType,
88653
88654
  isObject: isObject,
88654
88655
  isPageable: isPageable,
88656
+ isSafari: isSafari,
88655
88657
  isTablet: isTablet,
88656
88658
  isValidWebURL: isValidWebURL,
88657
88659
  isVideoFile: isVideoFile,
@@ -90494,13 +90496,13 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
90494
90496
 
90495
90497
  const carouselTagName = 'carousel';
90496
90498
  const dataSetKey$5 = 'dataset';
90497
- const idGen$t = new IDGenerator('wm_carousel_ref_');
90499
+ const idGen$u = new IDGenerator('wm_carousel_ref_');
90498
90500
  const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
90499
90501
  register('wm-carousel', () => {
90500
90502
  return {
90501
90503
  pre: (attrs, shared) => {
90502
90504
  // generating unique Id for the carousel
90503
- const counter = idGen$t.nextUid();
90505
+ const counter = idGen$u.nextUid();
90504
90506
  shared.set('carousel_ref', counter);
90505
90507
  return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
90506
90508
  },
@@ -90602,12 +90604,12 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
90602
90604
  });
90603
90605
 
90604
90606
  const tagName$1C = 'a';
90605
- const idGen$s = new IDGenerator('wm_anchor');
90607
+ const idGen$t = new IDGenerator('wm_anchor');
90606
90608
  register('wm-anchor', () => {
90607
90609
  return {
90608
90610
  pre: (attrs) => {
90609
- const counter = idGen$s.nextUid();
90610
- return `<${tagName$1C} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.hint || ${counter}.caption" ${getAttrMarkup(attrs)}>`;
90611
+ const counter = idGen$t.nextUid();
90612
+ return `<${tagName$1C} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${getAttrMarkup(attrs)}>`;
90611
90613
  },
90612
90614
  post: () => `</${tagName$1C}>`
90613
90615
  };
@@ -90634,12 +90636,12 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
90634
90636
  });
90635
90637
 
90636
90638
  const tagName$1A = 'div';
90637
- const idGen$r = new IDGenerator('wm_html');
90639
+ const idGen$s = new IDGenerator('wm_html');
90638
90640
  register('wm-html', () => {
90639
90641
  return {
90640
90642
  pre: (attrs) => {
90641
- const counter = idGen$r.nextUid();
90642
- return `<${tagName$1A} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
90643
+ const counter = idGen$s.nextUid();
90644
+ return `<${tagName$1A} wmHtml #${counter}="wmHtml" role="application" [attr.aria-label]="${counter}.arialabel || 'HTML content'" ${getAttrMarkup(attrs)}>`;
90643
90645
  },
90644
90646
  post: () => `</${tagName$1A}>`
90645
90647
  };
@@ -90654,7 +90656,7 @@ var html_build$1 = /*#__PURE__*/Object.freeze({
90654
90656
  const tagName$1z = 'span';
90655
90657
  register('wm-icon', () => {
90656
90658
  return {
90657
- pre: attrs => `<${tagName$1z} wmIcon aria-hidden="true" ${getAttrMarkup(attrs)}>`,
90659
+ pre: attrs => `<${tagName$1z} wmIcon ${getAttrMarkup(attrs)}>`,
90658
90660
  post: () => `</${tagName$1z}>`
90659
90661
  };
90660
90662
  });
@@ -90680,7 +90682,7 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
90680
90682
  });
90681
90683
 
90682
90684
  let tagName$1x = 'p';
90683
- const idGen$q = new IDGenerator('wm_label');
90685
+ const idGen$r = new IDGenerator('wm_label');
90684
90686
  register('wm-label', () => {
90685
90687
  return {
90686
90688
  pre: (attrs) => {
@@ -90694,8 +90696,8 @@ register('wm-label', () => {
90694
90696
  else {
90695
90697
  tagName$1x = 'label';
90696
90698
  }
90697
- const counter = idGen$q.nextUid();
90698
- return `<${tagName$1x} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
90699
+ const counter = idGen$r.nextUid();
90700
+ return `<${tagName$1x} wmLabel #${counter}="wmLabel" ${getAttrMarkup(attrs)}>`;
90699
90701
  },
90700
90702
  post: () => `</${tagName$1x}>`
90701
90703
  };
@@ -90708,12 +90710,12 @@ var label_build$1 = /*#__PURE__*/Object.freeze({
90708
90710
  });
90709
90711
 
90710
90712
  const tagName$1w = 'img';
90711
- const idGen$p = new IDGenerator('wm_picture');
90713
+ const idGen$q = new IDGenerator('wm_picture');
90712
90714
  register('wm-picture', () => {
90713
90715
  return {
90714
90716
  pre: (attrs) => {
90715
- const counter = idGen$p.nextUid();
90716
- return `<${tagName$1w} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.hint || 'Image'" ${getAttrMarkup(attrs)}>`;
90717
+ const counter = idGen$q.nextUid();
90718
+ return `<${tagName$1w} wmPicture #${counter}="wmPicture" [alt]="${counter}.alttext" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.arialabel || 'Image'" ${getAttrMarkup(attrs)}>`;
90717
90719
  }
90718
90720
  };
90719
90721
  });
@@ -90725,12 +90727,12 @@ var picture_build$1 = /*#__PURE__*/Object.freeze({
90725
90727
  });
90726
90728
 
90727
90729
  const tagName$1v = 'div';
90728
- const idGen$o = new IDGenerator('wm_spinner');
90730
+ const idGen$p = new IDGenerator('wm_spinner');
90729
90731
  register('wm-spinner', () => {
90730
90732
  return {
90731
90733
  pre: (attrs) => {
90732
- const counter = idGen$o.nextUid();
90733
- return `<${tagName$1v} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.hint || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
90734
+ const counter = idGen$p.nextUid();
90735
+ return `<${tagName$1v} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.arialabel || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
90734
90736
  },
90735
90737
  post: () => `</${tagName$1v}>`
90736
90738
  };
@@ -90782,9 +90784,13 @@ var progressBar_build$1 = /*#__PURE__*/Object.freeze({
90782
90784
  });
90783
90785
 
90784
90786
  const tagName$1t = 'div';
90787
+ const idGen$o = new IDGenerator('wm_progress_circle');
90785
90788
  register('wm-progress-circle', () => {
90786
90789
  return {
90787
- pre: attrs => `<${tagName$1t} wmProgressCircle ${getAttrMarkup(attrs)}>`,
90790
+ pre: (attrs) => {
90791
+ const counter = idGen$o.nextUid();
90792
+ return `<${tagName$1t} wmProgressCircle #${counter}="wmProgressCircle" role="progressbar" [attr.aria-label]="${counter}.arialabel || 'circle-progress'" [attr.hint]="${counter}.hint" [attr.aria-valuetext]="${counter}.displayValue" [attr.aria-valuemin]="${counter}.minvalue" [attr.aria-valuemax]="${counter}.maxvalue" ${getAttrMarkup(attrs)}>`;
90793
+ },
90788
90794
  post: () => `</${tagName$1t}>`
90789
90795
  };
90790
90796
  });
@@ -90801,7 +90807,7 @@ register('wm-richtexteditor', () => {
90801
90807
  return {
90802
90808
  pre: (attrs) => {
90803
90809
  const counter = idGen$n.nextUid();
90804
- return `<${tagName$1s} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.hint || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
90810
+ return `<${tagName$1s} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.arialabel || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
90805
90811
  },
90806
90812
  post: () => `</${tagName$1s}>`
90807
90813
  };
@@ -91166,7 +91172,7 @@ var tabPane_build$1 = /*#__PURE__*/Object.freeze({
91166
91172
  const tagName$19 = 'div';
91167
91173
  register('wm-tile', () => {
91168
91174
  return {
91169
- pre: attrs => `<${tagName$19} wmTile aria-describedby="Tile" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91175
+ pre: attrs => `<${tagName$19} wmTile wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91170
91176
  post: () => `</${tagName$19}>`
91171
91177
  };
91172
91178
  });
@@ -91216,7 +91222,7 @@ register('wm-barcodescanner', () => {
91216
91222
  return {
91217
91223
  pre: (attrs) => {
91218
91224
  const counter = idGen$h.nextUid();
91219
- return `<${tagName$16} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.hint || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
91225
+ return `<${tagName$16} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.arialabel || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
91220
91226
  },
91221
91227
  post: () => `</${tagName$16}>`
91222
91228
  };
@@ -91234,7 +91240,7 @@ register('wm-camera', () => {
91234
91240
  return {
91235
91241
  pre: (attrs) => {
91236
91242
  const counter = idGen$g.nextUid();
91237
- return `<${tagName$15} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.hint || 'Camera'" ${getAttrMarkup(attrs)}>`;
91243
+ return `<${tagName$15} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.arialabel || 'Camera'" ${getAttrMarkup(attrs)}>`;
91238
91244
  },
91239
91245
  post: () => `</${tagName$15}>`
91240
91246
  };
@@ -91249,7 +91255,7 @@ var camera_build$1 = /*#__PURE__*/Object.freeze({
91249
91255
  const tagName$14 = 'div';
91250
91256
  register('wm-alertdialog', () => {
91251
91257
  return {
91252
- pre: attrs => `<${tagName$14} wmAlertDialog role="alertdialog" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91258
+ pre: attrs => `<${tagName$14} wmAlertDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91253
91259
  post: () => `</${tagName$14}>`
91254
91260
  };
91255
91261
  });
@@ -91565,7 +91571,7 @@ const registerFormField = (isFormField) => {
91565
91571
  const dataRole = isFormField ? 'form-field' : 'filter-field';
91566
91572
  const formFieldErrorMsgId = 'wmform-field-error-' + generateGUId();
91567
91573
  const validationMsg = isFormField ? `<p *ngIf="${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode"
91568
- class="help-block text-danger" aria-hidden="false"
91574
+ class="help-block text-danger" aria-hidden="false" role="alert"
91569
91575
  aria-live="assertive" [attr.aria-label]="${counter}.validationmessage" id="${formFieldErrorMsgId}"><span aria-hidden="true" [textContent]="${counter}.validationmessage"></span></p>` : '';
91570
91576
  const eventsTmpl = widgetType === FormWidgetType.UPLOAD ? '' : getEventsTemplate(attrs);
91571
91577
  const controlLayout = isMobileApp() ? 'col-xs-12' : 'col-sm-12';
@@ -91794,7 +91800,7 @@ register('wm-calendar', () => {
91794
91800
  return {
91795
91801
  pre: (attrs) => {
91796
91802
  let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';
91797
- return `<${tagName$W} wmCalendar redrawable style="width:100%" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
91803
+ return `<${tagName$W} wmCalendar redrawable style="width:100%" role="region" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
91798
91804
  },
91799
91805
  post: () => `</${tagName$W}>`
91800
91806
  };
@@ -91823,7 +91829,7 @@ var chips_build$1 = /*#__PURE__*/Object.freeze({
91823
91829
  const tagName$U = 'div';
91824
91830
  register('wm-colorpicker', () => {
91825
91831
  return {
91826
- pre: attrs => `<${tagName$U} wmColorPicker ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91832
+ pre: attrs => `<${tagName$U} wmColorPicker ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91827
91833
  post: () => `</${tagName$U}>`
91828
91834
  };
91829
91835
  });
@@ -91837,7 +91843,7 @@ var colorPicker_build$1 = /*#__PURE__*/Object.freeze({
91837
91843
  const tagName$T = 'div';
91838
91844
  register('wm-currency', () => {
91839
91845
  return {
91840
- pre: attrs => `<${tagName$T} wmCurrency ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91846
+ pre: attrs => `<${tagName$T} wmCurrency ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91841
91847
  post: () => `</${tagName$T}>`
91842
91848
  };
91843
91849
  });
@@ -91851,7 +91857,7 @@ var currency_build$1 = /*#__PURE__*/Object.freeze({
91851
91857
  const tagName$S = 'div';
91852
91858
  register('wm-buttongroup', () => {
91853
91859
  return {
91854
- pre: attrs => `<${tagName$S} wmButtonGroup role="group" aria-labelledby="button group" ${getAttrMarkup(attrs)}>`,
91860
+ pre: attrs => `<${tagName$S} wmButtonGroup role="group" ${getAttrMarkup(attrs)}>`,
91855
91861
  post: () => `</${tagName$S}>`
91856
91862
  };
91857
91863
  });
@@ -91868,7 +91874,7 @@ register('wm-button', () => {
91868
91874
  return {
91869
91875
  pre: (attrs) => {
91870
91876
  const counter = idGen$d.nextUid();
91871
- return `<${tagName$R} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.hint || ${counter}.caption || null" ${getAttrMarkup(attrs)}>`;
91877
+ return `<${tagName$R} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${getAttrMarkup(attrs)}>`;
91872
91878
  },
91873
91879
  post: () => `</${tagName$R}>`
91874
91880
  };
@@ -91970,7 +91976,7 @@ register('wm-switch', () => {
91970
91976
  return {
91971
91977
  pre: (attrs) => {
91972
91978
  const counter = idGen$c.nextUid();
91973
- return `<${tagName$K} wmSwitch #${counter}="wmSwitch" [attr.aria-label]="${counter}.hint || 'Switch button'" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;
91979
+ return `<${tagName$K} wmSwitch #${counter}="wmSwitch" role="group" [attr.aria-label]="${counter}.arialabel || 'Switch choose options'" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;
91974
91980
  },
91975
91981
  post: () => `</${tagName$K}>`
91976
91982
  };
@@ -92060,6 +92066,10 @@ register('wm-fileupload', () => {
92060
92066
  const onSelectBinding = getDataSource(attrs.get('select.event'));
92061
92067
  attrs.set('datasource.bind', onSelectBinding);
92062
92068
  }
92069
+ if (attrs.get('delete.event')) {
92070
+ const onDeleteBinding = getDataSource(attrs.get('delete.event'));
92071
+ attrs.set('deletedatasource.bind', onDeleteBinding);
92072
+ }
92063
92073
  return `<${tagName$E} wmFileUpload ${getAttrMarkup(attrs)} role="input">`;
92064
92074
  },
92065
92075
  post: () => `</${tagName$E}>`
@@ -92477,7 +92487,7 @@ register('wm-page', () => {
92477
92487
  },
92478
92488
  pre: (attrs) => {
92479
92489
  const counter = idGen$9.nextUid();
92480
- return `<${tagName$r} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
92490
+ return `<${tagName$r} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.arialabel" ${getAttrMarkup(attrs)}>`;
92481
92491
  },
92482
92492
  post: () => `</${tagName$r}>`
92483
92493
  };
@@ -92495,7 +92505,7 @@ register('wm-layout', () => {
92495
92505
  return {
92496
92506
  pre: (attrs) => {
92497
92507
  const counter = idGen$8.nextUid();
92498
- return `<${tagName$q} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.hint || 'Main page content'" ${getAttrMarkup(attrs)}>`;
92508
+ return `<${tagName$q} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.arialabel" ${getAttrMarkup(attrs)}>`;
92499
92509
  },
92500
92510
  post: () => `</${tagName$q}>`
92501
92511
  };
@@ -92555,7 +92565,7 @@ register('wm-footer', () => {
92555
92565
  return {
92556
92566
  pre: (attrs) => {
92557
92567
  const counter = idGen$7.nextUid();
92558
- return `<${tagName$m} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.hint || 'Page footer'" ${getAttrMarkup(attrs)}>`;
92568
+ return `<${tagName$m} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.arialabel || 'Page footer'" ${getAttrMarkup(attrs)}>`;
92559
92569
  },
92560
92570
  post: () => `</${tagName$m}>`
92561
92571
  };
@@ -92573,7 +92583,7 @@ register('wm-header', () => {
92573
92583
  return {
92574
92584
  pre: (attrs) => {
92575
92585
  const counter = idGen$6.nextUid();
92576
- return `<${tagName$l} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.hint || 'Page header'" ${getAttrMarkup(attrs)}>`;
92586
+ return `<${tagName$l} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.arialabel || 'Page header'" ${getAttrMarkup(attrs)}>`;
92577
92587
  },
92578
92588
  post: () => `</${tagName$l}>`
92579
92589
  };
@@ -92591,7 +92601,7 @@ register('wm-left-panel', () => {
92591
92601
  return {
92592
92602
  pre: (attrs) => {
92593
92603
  const counter = idGen$5.nextUid();
92594
- return `<${tagName$k} wmLeftPanel #${counter}="wmLeftPanel" partialContainer data-role="page-left-panel" [attr.aria-label]="${counter}.hint || 'Left navigation panel'" wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`;
92604
+ return `<${tagName$k} wmLeftPanel #${counter}="wmLeftPanel" partialContainer data-role="page-left-panel" [attr.aria-label]="${counter}.arialabel || 'Left navigation panel'" wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`;
92595
92605
  },
92596
92606
  post: () => `</${tagName$k}>`
92597
92607
  };
@@ -92623,7 +92633,7 @@ register('wm-right-panel', () => {
92623
92633
  return {
92624
92634
  pre: (attrs) => {
92625
92635
  const counter = idGen$4.nextUid();
92626
- return `<${tagName$i} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.hint || 'Right navigation panel'" ${getAttrMarkup(attrs)}>`;
92636
+ return `<${tagName$i} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.arialabel || 'Right navigation panel'" ${getAttrMarkup(attrs)}>`;
92627
92637
  },
92628
92638
  post: () => `</${tagName$i}>`
92629
92639
  };
@@ -92689,7 +92699,7 @@ register('wm-top-nav', () => {
92689
92699
  return {
92690
92700
  pre: (attrs) => {
92691
92701
  const counter = idGen$3.nextUid();
92692
- return `<${tagName$f} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.hint || 'Second level navigation'" ${getAttrMarkup(attrs)}>`;
92702
+ return `<${tagName$f} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.arialabel || 'Second level navigation'" ${getAttrMarkup(attrs)}>`;
92693
92703
  },
92694
92704
  post: () => `</${tagName$f}>`
92695
92705
  };