@wavemaker/angular-codegen 12.0.0-next.141131 → 12.0.0-next.141138

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.
Files changed (28) hide show
  1. angular-codegen/angular-app/angular.json +13 -1
  2. angular-codegen/angular-app/build-scripts/update-version.js +24 -0
  3. angular-codegen/angular-app/package-lock.json +8431 -10702
  4. angular-codegen/angular-app/package.json +18 -14
  5. angular-codegen/angular-app/src/assets/styles/css/wm-style.css +1 -1
  6. angular-codegen/angular-app/src/framework/util/page-util.ts +1 -3
  7. angular-codegen/angular-app/src/setup-jest.js +1 -0
  8. angular-codegen/angular-app/tsconfig.json +0 -3
  9. angular-codegen/dependencies/expression-parser.cjs.js +1 -40
  10. angular-codegen/dependencies/pipe-provider.cjs.js +41 -303
  11. angular-codegen/dependencies/transpilation-mobile.cjs.js +418 -598
  12. angular-codegen/dependencies/transpilation-web.cjs.js +418 -598
  13. angular-codegen/package.json +1 -1
  14. angular-codegen/src/codegen.js +1 -1
  15. angular-codegen/src/gen-components.js +1 -1
  16. angular-codegen/src/gen-index-html.js +1 -1
  17. angular-codegen/src/handlebar-helpers.js +1 -1
  18. angular-codegen/src/pages-util.js +1 -1
  19. angular-codegen/src/update-angular-json.js +1 -1
  20. angular-codegen/templates/app.module.ts.hbs +1 -5
  21. angular-codegen/templates/page/page.module.ts.hbs +0 -11
  22. angular-codegen/angular-app/src/framework/services/customwidget-config-provider.service.ts +0 -13
  23. angular-codegen/dependencies/custom-widgets-bundle.cjs.js +0 -390
  24. angular-codegen/src/gen-customwidget-config.js +0 -1
  25. angular-codegen/templates/component.config.ts.hbs +0 -1
  26. angular-codegen/templates/customwidget/customwidget-config.ts.hbs +0 -6
  27. angular-codegen/templates/customwidget/customwidget.component.script.js.hbs +0 -3
  28. angular-codegen/templates/customwidget/customwidget.component.ts.hbs +0 -42
@@ -4975,45 +4975,6 @@ class AbstractJsEmitterVisitor extends AbstractEmitterVisitor {
4975
4975
  this.visitAllObjects(param => ctx.print(null, param.name), params, ctx, ',');
4976
4976
  }
4977
4977
  }
4978
-
4979
- /**
4980
- * @fileoverview
4981
- * A module to facilitate use of a Trusted Types policy within the JIT
4982
- * compiler. It lazily constructs the Trusted Types policy, providing helper
4983
- * utilities for promoting strings to Trusted Types. When Trusted Types are not
4984
- * available, strings are used as a fallback.
4985
- * @security All use of this module is security-sensitive and should go through
4986
- * security review.
4987
- */
4988
- /**
4989
- * The Trusted Types policy, or null if Trusted Types are not
4990
- * enabled/supported, or undefined if the policy has not been created yet.
4991
- */
4992
- let policy$2;
4993
- /**
4994
- * Returns the Trusted Types policy, or null if Trusted Types are not
4995
- * enabled/supported. The first call to this function will create the policy.
4996
- */
4997
- function getPolicy$2() {
4998
- if (policy$2 === undefined) {
4999
- const trustedTypes = _global$1['trustedTypes'];
5000
- policy$2 = null;
5001
- if (trustedTypes) {
5002
- try {
5003
- policy$2 = trustedTypes.createPolicy('angular#unsafe-jit', {
5004
- createScript: (s) => s,
5005
- });
5006
- }
5007
- catch {
5008
- // trustedTypes.createPolicy throws if called with a name that is
5009
- // already registered, even in report-only mode. Until the API changes,
5010
- // catch the error not to break the applications functionally. In such
5011
- // cases, the code will fall back to using strings.
5012
- }
5013
- }
5014
- }
5015
- return policy$2;
5016
- }
5017
4978
  /**
5018
4979
  * Unsafely promote a string to a TrustedScript, falling back to strings when
5019
4980
  * Trusted Types are not available.
@@ -5022,7 +4983,7 @@ function getPolicy$2() {
5022
4983
  * interpreted and executed as a script by a browser, e.g. when calling eval.
5023
4984
  */
5024
4985
  function trustedScriptFromString(script) {
5025
- return getPolicy$2()?.createScript(script) || script;
4986
+ return script;
5026
4987
  }
5027
4988
  /**
5028
4989
  * Unsafely call the Function constructor with the given string arguments.
@@ -60426,46 +60387,6 @@ const PRESERVE_HOST_CONTENT = new InjectionToken((typeof ngDevMode === 'undefine
60426
60387
  * is enabled.
60427
60388
  */
60428
60389
  const IS_I18N_HYDRATION_ENABLED = new InjectionToken((typeof ngDevMode === 'undefined' || !!ngDevMode ? 'IS_I18N_HYDRATION_ENABLED' : ''));
60429
-
60430
- /**
60431
- * @fileoverview
60432
- * A module to facilitate use of a Trusted Types policy internally within
60433
- * Angular. It lazily constructs the Trusted Types policy, providing helper
60434
- * utilities for promoting strings to Trusted Types. When Trusted Types are not
60435
- * available, strings are used as a fallback.
60436
- * @security All use of this module is security-sensitive and should go through
60437
- * security review.
60438
- */
60439
- /**
60440
- * The Trusted Types policy, or null if Trusted Types are not
60441
- * enabled/supported, or undefined if the policy has not been created yet.
60442
- */
60443
- let policy$1;
60444
- /**
60445
- * Returns the Trusted Types policy, or null if Trusted Types are not
60446
- * enabled/supported. The first call to this function will create the policy.
60447
- */
60448
- function getPolicy$1() {
60449
- if (policy$1 === undefined) {
60450
- policy$1 = null;
60451
- if (_global.trustedTypes) {
60452
- try {
60453
- policy$1 = _global.trustedTypes.createPolicy('angular', {
60454
- createHTML: (s) => s,
60455
- createScript: (s) => s,
60456
- createScriptURL: (s) => s,
60457
- });
60458
- }
60459
- catch {
60460
- // trustedTypes.createPolicy throws if called with a name that is
60461
- // already registered, even in report-only mode. Until the API changes,
60462
- // catch the error not to break the applications functionally. In such
60463
- // cases, the code will fall back to using strings.
60464
- }
60465
- }
60466
- }
60467
- return policy$1;
60468
- }
60469
60390
  /**
60470
60391
  * Unsafely promote a string to a TrustedHTML, falling back to strings when
60471
60392
  * Trusted Types are not available.
@@ -60476,7 +60397,7 @@ function getPolicy$1() {
60476
60397
  * element.innerHTML.
60477
60398
  */
60478
60399
  function trustedHTMLFromString(html) {
60479
- return getPolicy$1()?.createHTML(html) || html;
60400
+ return html;
60480
60401
  }
60481
60402
  /**
60482
60403
  * Unsafely promote a string to a TrustedScriptURL, falling back to strings
@@ -60488,49 +60409,7 @@ function trustedHTMLFromString(html) {
60488
60409
  * assigning to script.src.
60489
60410
  */
60490
60411
  function trustedScriptURLFromString(url) {
60491
- return getPolicy$1()?.createScriptURL(url) || url;
60492
- }
60493
-
60494
- /**
60495
- * @fileoverview
60496
- * A module to facilitate use of a Trusted Types policy internally within
60497
- * Angular specifically for bypassSecurityTrust* and custom sanitizers. It
60498
- * lazily constructs the Trusted Types policy, providing helper utilities for
60499
- * promoting strings to Trusted Types. When Trusted Types are not available,
60500
- * strings are used as a fallback.
60501
- * @security All use of this module is security-sensitive and should go through
60502
- * security review.
60503
- */
60504
- /**
60505
- * The Trusted Types policy, or null if Trusted Types are not
60506
- * enabled/supported, or undefined if the policy has not been created yet.
60507
- */
60508
- let policy;
60509
- /**
60510
- * Returns the Trusted Types policy, or null if Trusted Types are not
60511
- * enabled/supported. The first call to this function will create the policy.
60512
- */
60513
- function getPolicy() {
60514
- if (policy === undefined) {
60515
- policy = null;
60516
- if (_global.trustedTypes) {
60517
- try {
60518
- policy = _global.trustedTypes
60519
- .createPolicy('angular#unsafe-bypass', {
60520
- createHTML: (s) => s,
60521
- createScript: (s) => s,
60522
- createScriptURL: (s) => s,
60523
- });
60524
- }
60525
- catch {
60526
- // trustedTypes.createPolicy throws if called with a name that is
60527
- // already registered, even in report-only mode. Until the API changes,
60528
- // catch the error not to break the applications functionally. In such
60529
- // cases, the code will fall back to using strings.
60530
- }
60531
- }
60532
- }
60533
- return policy;
60412
+ return url;
60534
60413
  }
60535
60414
  /**
60536
60415
  * Unsafely promote a string to a TrustedHTML, falling back to strings when
@@ -60541,7 +60420,7 @@ function getPolicy() {
60541
60420
  * bypassSecurityTrust* functions.
60542
60421
  */
60543
60422
  function trustedHTMLFromStringBypass(html) {
60544
- return getPolicy()?.createHTML(html) || html;
60423
+ return html;
60545
60424
  }
60546
60425
  /**
60547
60426
  * Unsafely promote a string to a TrustedScript, falling back to strings when
@@ -60552,7 +60431,7 @@ function trustedHTMLFromStringBypass(html) {
60552
60431
  * bypassSecurityTrust* functions.
60553
60432
  */
60554
60433
  function trustedScriptFromStringBypass(script) {
60555
- return getPolicy()?.createScript(script) || script;
60434
+ return script;
60556
60435
  }
60557
60436
  /**
60558
60437
  * Unsafely promote a string to a TrustedScriptURL, falling back to strings
@@ -60563,7 +60442,7 @@ function trustedScriptFromStringBypass(script) {
60563
60442
  * bypassSecurityTrust* functions.
60564
60443
  */
60565
60444
  function trustedScriptURLFromStringBypass(url) {
60566
- return getPolicy()?.createScriptURL(url) || url;
60445
+ return url;
60567
60446
  }
60568
60447
 
60569
60448
  class SafeValueImpl {
@@ -97340,7 +97219,6 @@ var FormWidgetType;
97340
97219
  FormWidgetType["TIMESTAMP"] = "timestamp";
97341
97220
  FormWidgetType["TYPEAHEAD"] = "typeahead";
97342
97221
  FormWidgetType["UPLOAD"] = "upload";
97343
- FormWidgetType["CUSTOM"] = "custom";
97344
97222
  })(FormWidgetType || (FormWidgetType = {}));
97345
97223
  var DataType;
97346
97224
  (function (DataType) {
@@ -97417,7 +97295,7 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
97417
97295
  tmpl = `<ul role="group" wmCheckboxset ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} ${showTmpl}></ul>`;
97418
97296
  break;
97419
97297
  case FormWidgetType.CHIPS:
97420
- tmpl = `<ul wmChips role="input" debouncetime="${attrs.get('debouncetime')}" ${innerTmpl} ${showTmpl}></ul>`;
97298
+ tmpl = `<ul wmChips debouncetime="${attrs.get('debouncetime')}" ${innerTmpl} ${showTmpl}></ul>`;
97421
97299
  break;
97422
97300
  case FormWidgetType.COLORPICKER:
97423
97301
  tmpl = `<div wmColorPicker ${attrs.get('required') === 'true' ? 'required=true' : ''} ${innerTmpl} ${showTmpl}></div>`;
@@ -97432,10 +97310,10 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
97432
97310
  tmpl = `<div wmDateTime ${attrs.get('required') === 'true' ? 'required=true' : ''} dataentrymode="${attrs.get('dataentrymode')}" ${innerTmpl} ${showTmpl}></div>`;
97433
97311
  break;
97434
97312
  case FormWidgetType.NUMBER:
97435
- tmpl = `<div wmNumber ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="number" aria-label="Only numbers" ${updateOnTmpl} ${showTmpl}></div>`;
97313
+ tmpl = `<div wmNumber ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="number" ${updateOnTmpl} ${showTmpl}></div>`;
97436
97314
  break;
97437
97315
  case FormWidgetType.PASSWORD:
97438
- tmpl = `<wm-input ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="password" aria-label="Enter password" ${updateOnTmpl} ${showTmpl}></wm-input>`;
97316
+ tmpl = `<wm-input ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="password" ${updateOnTmpl} ${showTmpl}></wm-input>`;
97439
97317
  break;
97440
97318
  case FormWidgetType.RADIOSET:
97441
97319
  tmpl = `<ul role="radiogroup" wmRadioset ${innerTmpl} ${showTmpl}></ul>`;
@@ -97450,7 +97328,7 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
97450
97328
  tmpl = `<wm-select ${attrs.get('required') === 'true' ? 'required=true' : ''} ${innerTmpl} ${showTmpl}></wm-select>`;
97451
97329
  break;
97452
97330
  case FormWidgetType.TOGGLE:
97453
- tmpl = `<div wmCheckbox ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="toggle" role="checkbox" aria-label="Toggle button" ${showTmpl}></div>`;
97331
+ tmpl = `<div wmCheckbox ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="toggle" ${showTmpl}></div>`;
97454
97332
  break;
97455
97333
  case FormWidgetType.SLIDER:
97456
97334
  tmpl = `<div wmSlider ${innerTmpl} ${showTmpl}></div>`;
@@ -97463,16 +97341,13 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
97463
97341
  tmpl = `<wm-input ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="${attrs.get(inputType) || 'text'}" ${updateOnTmpl} ${showTmpl}></wm-input>`;
97464
97342
  break;
97465
97343
  case FormWidgetType.TEXTAREA:
97466
- tmpl = `<wm-textarea ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} role="textbox" ${updateOnTmpl} ${showTmpl}></wm-textarea>`;
97344
+ tmpl = `<wm-textarea ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} ${updateOnTmpl} ${showTmpl}></wm-textarea>`;
97467
97345
  break;
97468
97346
  case FormWidgetType.TIME:
97469
97347
  tmpl = `<div wmTime ${attrs.get('required') === 'true' ? 'required=true' : ''} dataentrymode="${attrs.get('dataentrymode')}" ${innerTmpl} ${showTmpl}></div>`;
97470
97348
  break;
97471
97349
  case FormWidgetType.TIMESTAMP:
97472
- tmpl = `<div wmDateTime ${attrs.get('required') === 'true' ? 'required=true' : ''} dataentrymode="${attrs.get('dataentrymode')}" ${innerTmpl} role="input" ${showTmpl}></div>`;
97473
- break;
97474
- case FormWidgetType.CUSTOM:
97475
- tmpl = `<div wmWidgetContainer customWidgetContainer ${attrs.get('required') === 'true' ? 'required=true' : ''} ${innerTmpl} ${showTmpl}></div>`;
97350
+ tmpl = `<div wmDateTime ${attrs.get('required') === 'true' ? 'required=true' : ''} dataentrymode="${attrs.get('dataentrymode')}" ${innerTmpl} ${showTmpl}></div>`;
97476
97351
  break;
97477
97352
  case FormWidgetType.UPLOAD:
97478
97353
  const counter = options.counter;
@@ -97524,8 +97399,6 @@ const getRequiredFormWidget = (widgetType) => {
97524
97399
  return 'wm-richtexteditor';
97525
97400
  case FormWidgetType.SLIDER:
97526
97401
  return 'wm-slider';
97527
- case FormWidgetType.CUSTOM:
97528
- return 'wm-custom-widget';
97529
97402
  default:
97530
97403
  return 'wm-text';
97531
97404
  }
@@ -98263,7 +98136,6 @@ var ComponentType;
98263
98136
  ComponentType[ComponentType["PAGE"] = 0] = "PAGE";
98264
98137
  ComponentType[ComponentType["PREFAB"] = 1] = "PREFAB";
98265
98138
  ComponentType[ComponentType["PARTIAL"] = 2] = "PARTIAL";
98266
- ComponentType[ComponentType["WIDGET"] = 3] = "WIDGET";
98267
98139
  })(ComponentType || (ComponentType = {}));
98268
98140
  var Operation;
98269
98141
  (function (Operation) {
@@ -98321,7 +98193,6 @@ const REGEX = {
98321
98193
  IPOD: /iPod/i,
98322
98194
  IPAD: /iPad/i,
98323
98195
  MAC: /Mac/i,
98324
- MACINTEL: /MacIntel/i,
98325
98196
  ANDROID_TABLET: /android|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i,
98326
98197
  MOBILE: /Mobile/i,
98327
98198
  WINDOWS: /Windows Phone/i,
@@ -98351,14 +98222,6 @@ const REGEX = {
98351
98222
  const NUMBER_TYPES = ['int', DataType.INTEGER, DataType.FLOAT, DataType.DOUBLE, DataType.LONG, DataType.SHORT, DataType.BYTE, DataType.BIG_INTEGER, DataType.BIG_DECIMAL];
98352
98223
  const now = new Date();
98353
98224
  const CURRENT_DATE = 'CURRENT_DATE';
98354
- const getNavClass = (suffix) => {
98355
- const APP_NAV_CLASS_PREFIX = 'app-nav-';
98356
- return APP_NAV_CLASS_PREFIX + suffix;
98357
- };
98358
- const getSheetPositionClass = (suffix) => {
98359
- const SHEET_POSITION_CLASS_PREFIX = 'sheet-position-';
98360
- return SHEET_POSITION_CLASS_PREFIX + suffix;
98361
- };
98362
98225
  const isDefined = v => 'undefined' !== typeof v;
98363
98226
  const isObject = v => null !== v && 'object' === typeof v;
98364
98227
  const toBoolean = (val, identity) => ((val && val !== 'false') ? true : (identity ? val === identity : false));
@@ -98373,9 +98236,10 @@ const isAndroidTablet = () => REGEX.ANDROID_TABLET.test(userAgent) && !((/Tablet
98373
98236
  const isIphone = () => REGEX.IPHONE.test(userAgent);
98374
98237
  const isIpod = () => REGEX.IPOD.test(userAgent);
98375
98238
  const isIpad = () => {
98376
- return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && (REGEX.MAC.test(window.navigator.platform) || REGEX.MACINTEL.test(window.navigator.platform)));
98239
+ return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && REGEX.MAC.test(window.navigator.platform));
98377
98240
  };
98378
98241
  const isIos = () => isIphone() || isIpod() || isIpad();
98242
+ const isSafari = () => navigator.userAgent.indexOf('Safari') !== -1 && navigator.userAgent.indexOf('Chrome') === -1;
98379
98243
  const isLargeTabletLandscape = (landScapeWidth, landScapeHeight) => {
98380
98244
  const width = landScapeWidth || '1366px';
98381
98245
  const height = landScapeHeight || '1024px';
@@ -98597,7 +98461,7 @@ const getFormattedDate = (datePipe, dateObj, format, timeZone, isTimeStampType,
98597
98461
  if (format === 'UTC') {
98598
98462
  return new Date(dateObj).toISOString();
98599
98463
  }
98600
- if (timeZone) {
98464
+ if (timeZone && timeZone !== moment.defaultZone?.name) {
98601
98465
  const momentFormat = format.replaceAll('y', 'Y').replaceAll('d', 'D').replace('a', 'A');
98602
98466
  if (isIntervalDateTime) { // dates which are of type time widget (value is hh:mm:ss) but returned as date string from time comp
98603
98467
  return moment(dateObj).format(momentFormat);
@@ -99806,11 +99670,9 @@ var Utils = /*#__PURE__*/Object.freeze({
99806
99670
  getFormattedDate: getFormattedDate,
99807
99671
  getMomentLocaleObject: getMomentLocaleObject,
99808
99672
  getNativeDateObject: getNativeDateObject,
99809
- getNavClass: getNavClass,
99810
99673
  getResourceURL: getResourceURL,
99811
99674
  getRouteNameFromLink: getRouteNameFromLink,
99812
99675
  getSessionStorageItem: getSessionStorageItem,
99813
- getSheetPositionClass: getSheetPositionClass,
99814
99676
  getUrlParams: getUrlParams,
99815
99677
  getValidDateObject: getValidDateObject,
99816
99678
  getValidJSON: getValidJSON,
@@ -99843,6 +99705,7 @@ var Utils = /*#__PURE__*/Object.freeze({
99843
99705
  isNumberType: isNumberType,
99844
99706
  isObject: isObject,
99845
99707
  isPageable: isPageable,
99708
+ isSafari: isSafari,
99846
99709
  isTablet: isTablet,
99847
99710
  isValidWebURL: isValidWebURL,
99848
99711
  isVideoFile: isVideoFile,
@@ -101080,7 +100943,6 @@ const LEFT_PANEL_MODULE = [{ from: '@wm/components/page/left-panel', name: 'Left
101080
100943
  { from: '@wm/mobile/components/page/left-panel', name: 'LeftPanelModule', as: 'WM_MobileLeftPanelModule', platformType: 'MOBILE' }];
101081
100944
  const LIST_MODULE = [...PAGINATION_MODULE, ...INPUT_MODULE, { from: '@wm/components/data/list', name: 'ListModule' }];
101082
100945
  const LOGIN_MODULE = [{ from: '@wm/components/advanced/login', name: 'LoginModule' }];
101083
- const CUSTOM_MODULE = [{ from: '@wm/components/advanced/custom', name: 'CustomModule' }];
101084
100946
  const MOBILE_NAV_BAR_MODULE = [...LEFT_PANEL_MODULE, ...SEARCH_MODULE, ...PAGE_MODULE, { from: '@wm/mobile/components/page/mobile-navbar', name: 'MobileNavbarModule' }];
101085
100947
  const MEDIA_LIST_MODULE = [...BASIC_MODULE, ...PAGE_MODULE, ...MOBILE_NAV_BAR_MODULE, { from: '@wm/mobile/components/data/media-list', name: 'MediaListModule' }];
101086
100948
  const MOBILE_TAB_BAR_MODULE = [{ from: '@wm/mobile/components/page/tab-bar', name: 'TabBarModule' }];
@@ -101153,7 +101015,6 @@ const WIDGET_IMPORTS = new Map([
101153
101015
  ['wm-list', LIST_MODULE],
101154
101016
  ['wm-livetable', LIVE_TABLE_MODULE],
101155
101017
  ['wm-login', LOGIN_MODULE],
101156
- ['wm-custom', CUSTOM_MODULE],
101157
101018
  ['wm-logindialog', LOGIN_DIALOG_MODULE],
101158
101019
  ['wm-marquee', MARQUEE_MODULE],
101159
101020
  ['wm-menu', MENU_MODULE],
@@ -101667,9 +101528,6 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
101667
101528
  else if (componentType === 2 || componentType === 'PARTIAL') {
101668
101529
  s = `${prefix} app-partial-${componentName} ${s}`;
101669
101530
  }
101670
- else if (componentType === 3 || componentType === 'WIDGET') {
101671
- s = `${prefix} app-custom-${componentName} ${s}`;
101672
- }
101673
101531
  return s;
101674
101532
  }).join(',');
101675
101533
  }
@@ -101759,11 +101617,11 @@ var carouselTemplate_build$1 = /*#__PURE__*/Object.freeze({
101759
101617
  default: carouselTemplate_build
101760
101618
  });
101761
101619
 
101762
- const tagName$1E = 'div';
101620
+ const tagName$1C = 'div';
101763
101621
  register('wm-login', () => {
101764
101622
  return {
101765
- pre: attrs => `<${tagName$1E} wmLogin ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction">`,
101766
- post: () => `</${tagName$1E}>`,
101623
+ pre: attrs => `<${tagName$1C} wmLogin ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction">`,
101624
+ post: () => `</${tagName$1C}>`,
101767
101625
  provide: () => {
101768
101626
  const provider = new Map();
101769
101627
  provider.set('isLogin', true);
@@ -101778,11 +101636,11 @@ var login_build$1 = /*#__PURE__*/Object.freeze({
101778
101636
  default: login_build
101779
101637
  });
101780
101638
 
101781
- const tagName$1D = 'marquee';
101639
+ const tagName$1B = 'marquee';
101782
101640
  register('wm-marquee', () => {
101783
101641
  return {
101784
- pre: attrs => `<${tagName$1D} onmouseover="this.stop();" onmouseout="this.start();" wmMarquee role="marquee" aria-live="off" ${getAttrMarkup(attrs)}>`,
101785
- post: () => `</${tagName$1D}>`
101642
+ pre: attrs => `<${tagName$1B} onmouseover="this.stop();" onmouseout="this.start();" wmMarquee role="marquee" aria-live="off" ${getAttrMarkup(attrs)}>`,
101643
+ post: () => `</${tagName$1B}>`
101786
101644
  };
101787
101645
  });
101788
101646
  var marquee_build = () => { };
@@ -101792,15 +101650,15 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
101792
101650
  default: marquee_build
101793
101651
  });
101794
101652
 
101795
- const tagName$1C = 'a';
101653
+ const tagName$1A = 'a';
101796
101654
  const idGen$s = new IDGenerator('wm_anchor');
101797
101655
  register('wm-anchor', () => {
101798
101656
  return {
101799
101657
  pre: (attrs) => {
101800
101658
  const counter = idGen$s.nextUid();
101801
- return `<${tagName$1C} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.hint || ${counter}.caption" ${getAttrMarkup(attrs)}>`;
101659
+ return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${getAttrMarkup(attrs)}>`;
101802
101660
  },
101803
- post: () => `</${tagName$1C}>`
101661
+ post: () => `</${tagName$1A}>`
101804
101662
  };
101805
101663
  });
101806
101664
  var anchor_build = () => { };
@@ -101810,11 +101668,11 @@ var anchor_build$1 = /*#__PURE__*/Object.freeze({
101810
101668
  default: anchor_build
101811
101669
  });
101812
101670
 
101813
- const tagName$1B = 'div';
101671
+ const tagName$1z = 'div';
101814
101672
  register('wm-audio', () => {
101815
101673
  return {
101816
- pre: attrs => `<${tagName$1B} wmAudio ${getAttrMarkup(attrs)}>`,
101817
- post: () => `</${tagName$1B}>`
101674
+ pre: attrs => `<${tagName$1z} wmAudio ${getAttrMarkup(attrs)}>`,
101675
+ post: () => `</${tagName$1z}>`
101818
101676
  };
101819
101677
  });
101820
101678
  var audio_build = () => { };
@@ -101824,15 +101682,15 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
101824
101682
  default: audio_build
101825
101683
  });
101826
101684
 
101827
- const tagName$1A = 'div';
101685
+ const tagName$1y = 'div';
101828
101686
  const idGen$r = new IDGenerator('wm_html');
101829
101687
  register('wm-html', () => {
101830
101688
  return {
101831
101689
  pre: (attrs) => {
101832
101690
  const counter = idGen$r.nextUid();
101833
- return `<${tagName$1A} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
101691
+ return `<${tagName$1y} wmHtml #${counter}="wmHtml" role="application" [attr.aria-label]="${counter}.arialabel || 'HTML content'" ${getAttrMarkup(attrs)}>`;
101834
101692
  },
101835
- post: () => `</${tagName$1A}>`
101693
+ post: () => `</${tagName$1y}>`
101836
101694
  };
101837
101695
  });
101838
101696
  var html_build = () => { };
@@ -101842,11 +101700,11 @@ var html_build$1 = /*#__PURE__*/Object.freeze({
101842
101700
  default: html_build
101843
101701
  });
101844
101702
 
101845
- const tagName$1z = 'span';
101703
+ const tagName$1x = 'span';
101846
101704
  register('wm-icon', () => {
101847
101705
  return {
101848
- pre: attrs => `<${tagName$1z} wmIcon aria-hidden="true" ${getAttrMarkup(attrs)}>`,
101849
- post: () => `</${tagName$1z}>`
101706
+ pre: attrs => `<${tagName$1x} wmIcon ${getAttrMarkup(attrs)}>`,
101707
+ post: () => `</${tagName$1x}>`
101850
101708
  };
101851
101709
  });
101852
101710
  var icon_build = () => { };
@@ -101856,11 +101714,11 @@ var icon_build$1 = /*#__PURE__*/Object.freeze({
101856
101714
  default: icon_build
101857
101715
  });
101858
101716
 
101859
- const tagName$1y = 'div';
101717
+ const tagName$1w = 'div';
101860
101718
  register('wm-iframe', () => {
101861
101719
  return {
101862
- pre: attrs => `<${tagName$1y} wmIframe ${getAttrMarkup(attrs)}>`,
101863
- post: () => `</${tagName$1y}>`
101720
+ pre: attrs => `<${tagName$1w} wmIframe ${getAttrMarkup(attrs)}>`,
101721
+ post: () => `</${tagName$1w}>`
101864
101722
  };
101865
101723
  });
101866
101724
  var iframe_build = () => { };
@@ -101870,7 +101728,7 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
101870
101728
  default: iframe_build
101871
101729
  });
101872
101730
 
101873
- let tagName$1x = 'p';
101731
+ let tagName$1v = 'p';
101874
101732
  const idGen$q = new IDGenerator('wm_label');
101875
101733
  register('wm-label', () => {
101876
101734
  return {
@@ -101880,15 +101738,15 @@ register('wm-label', () => {
101880
101738
  const classList = attrs.get('class') ? attrs.get('class').split(' ').filter(element => ["h1", "h2", "h3", "h4", "h5", "h6", "p"].includes(element)) : [];
101881
101739
  attrs.set('type', classList.length ? classList[0] : "p");
101882
101740
  }
101883
- tagName$1x = attrs.get('type');
101741
+ tagName$1v = attrs.get('type');
101884
101742
  }
101885
101743
  else {
101886
- tagName$1x = 'label';
101744
+ tagName$1v = 'label';
101887
101745
  }
101888
101746
  const counter = idGen$q.nextUid();
101889
- return `<${tagName$1x} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
101747
+ return `<${tagName$1v} wmLabel #${counter}="wmLabel" ${getAttrMarkup(attrs)}>`;
101890
101748
  },
101891
- post: () => `</${tagName$1x}>`
101749
+ post: () => `</${tagName$1v}>`
101892
101750
  };
101893
101751
  });
101894
101752
  var label_build = () => { };
@@ -101898,13 +101756,13 @@ var label_build$1 = /*#__PURE__*/Object.freeze({
101898
101756
  default: label_build
101899
101757
  });
101900
101758
 
101901
- const tagName$1w = 'img';
101759
+ const tagName$1u = 'img';
101902
101760
  const idGen$p = new IDGenerator('wm_picture');
101903
101761
  register('wm-picture', () => {
101904
101762
  return {
101905
101763
  pre: (attrs) => {
101906
101764
  const counter = idGen$p.nextUid();
101907
- return `<${tagName$1w} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.hint || 'Image'" ${getAttrMarkup(attrs)}>`;
101765
+ return `<${tagName$1u} wmPicture #${counter}="wmPicture" [alt]="${counter}.alttext" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.arialabel || 'Image'" ${getAttrMarkup(attrs)}>`;
101908
101766
  }
101909
101767
  };
101910
101768
  });
@@ -101915,15 +101773,15 @@ var picture_build$1 = /*#__PURE__*/Object.freeze({
101915
101773
  default: picture_build
101916
101774
  });
101917
101775
 
101918
- const tagName$1v = 'div';
101776
+ const tagName$1t = 'div';
101919
101777
  const idGen$o = new IDGenerator('wm_spinner');
101920
101778
  register('wm-spinner', () => {
101921
101779
  return {
101922
101780
  pre: (attrs) => {
101923
101781
  const counter = idGen$o.nextUid();
101924
- return `<${tagName$1v} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.hint || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
101782
+ return `<${tagName$1t} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.arialabel || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
101925
101783
  },
101926
- post: () => `</${tagName$1v}>`
101784
+ post: () => `</${tagName$1t}>`
101927
101785
  };
101928
101786
  });
101929
101787
  var spinner_build = () => { };
@@ -101933,7 +101791,7 @@ var spinner_build$1 = /*#__PURE__*/Object.freeze({
101933
101791
  default: spinner_build
101934
101792
  });
101935
101793
 
101936
- const tagName$1u = 'div';
101794
+ const tagName$1s = 'div';
101937
101795
  const getAttr = (node, attrName) => node.attrs.find(attr => attr.name === attrName);
101938
101796
  const getAttrValue = (node, attrName) => {
101939
101797
  const match = getAttr(node, attrName);
@@ -101961,8 +101819,8 @@ register('wm-progress-bar', () => {
101961
101819
  }
101962
101820
  }
101963
101821
  },
101964
- pre: attrs => `<${tagName$1u} wmProgressBar ${getAttrMarkup(attrs)}>`,
101965
- post: () => `</${tagName$1u}>`
101822
+ pre: attrs => `<${tagName$1s} wmProgressBar ${getAttrMarkup(attrs)}>`,
101823
+ post: () => `</${tagName$1s}>`
101966
101824
  };
101967
101825
  });
101968
101826
  var progressBar_build = () => { };
@@ -101972,11 +101830,15 @@ var progressBar_build$1 = /*#__PURE__*/Object.freeze({
101972
101830
  default: progressBar_build
101973
101831
  });
101974
101832
 
101975
- const tagName$1t = 'div';
101833
+ const tagName$1r = 'div';
101834
+ const idGen$n = new IDGenerator('wm_progress_circle');
101976
101835
  register('wm-progress-circle', () => {
101977
101836
  return {
101978
- pre: attrs => `<${tagName$1t} wmProgressCircle ${getAttrMarkup(attrs)}>`,
101979
- post: () => `</${tagName$1t}>`
101837
+ pre: (attrs) => {
101838
+ const counter = idGen$n.nextUid();
101839
+ return `<${tagName$1r} 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)}>`;
101840
+ },
101841
+ post: () => `</${tagName$1r}>`
101980
101842
  };
101981
101843
  });
101982
101844
  var progressCircle_build = () => { };
@@ -101986,15 +101848,15 @@ var progressCircle_build$1 = /*#__PURE__*/Object.freeze({
101986
101848
  default: progressCircle_build
101987
101849
  });
101988
101850
 
101989
- const tagName$1s = 'div';
101990
- const idGen$n = new IDGenerator('wm_richtexteditor');
101851
+ const tagName$1q = 'div';
101852
+ const idGen$m = new IDGenerator('wm_richtexteditor');
101991
101853
  register('wm-richtexteditor', () => {
101992
101854
  return {
101993
101855
  pre: (attrs) => {
101994
- const counter = idGen$n.nextUid();
101995
- return `<${tagName$1s} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.hint || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
101856
+ const counter = idGen$m.nextUid();
101857
+ return `<${tagName$1q} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.arialabel || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
101996
101858
  },
101997
- post: () => `</${tagName$1s}>`
101859
+ post: () => `</${tagName$1q}>`
101998
101860
  };
101999
101861
  });
102000
101862
  var richTextEditor_build = () => { };
@@ -102004,11 +101866,11 @@ var richTextEditor_build$1 = /*#__PURE__*/Object.freeze({
102004
101866
  default: richTextEditor_build
102005
101867
  });
102006
101868
 
102007
- const tagName$1r = 'div';
101869
+ const tagName$1p = 'div';
102008
101870
  register('wm-search', () => {
102009
101871
  return {
102010
- pre: attrs => `<${tagName$1r} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
102011
- post: () => `</${tagName$1r}>`
101872
+ pre: attrs => `<${tagName$1p} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
101873
+ post: () => `</${tagName$1p}>`
102012
101874
  };
102013
101875
  });
102014
101876
  var search_build = () => { };
@@ -102018,11 +101880,11 @@ var search_build$1 = /*#__PURE__*/Object.freeze({
102018
101880
  default: search_build
102019
101881
  });
102020
101882
 
102021
- const tagName$1q = 'ul';
101883
+ const tagName$1o = 'ul';
102022
101884
  register('wm-tree', () => {
102023
101885
  return {
102024
- pre: attrs => `<${tagName$1q} wmTree class="ztree" ${getAttrMarkup(attrs)}>`,
102025
- post: () => `</${tagName$1q}>`
101886
+ pre: attrs => `<${tagName$1o} wmTree class="ztree" ${getAttrMarkup(attrs)}>`,
101887
+ post: () => `</${tagName$1o}>`
102026
101888
  };
102027
101889
  });
102028
101890
 
@@ -102030,11 +101892,11 @@ var tree_build = /*#__PURE__*/Object.freeze({
102030
101892
  __proto__: null
102031
101893
  });
102032
101894
 
102033
- const tagName$1p = 'div';
101895
+ const tagName$1n = 'div';
102034
101896
  register('wm-card', () => {
102035
101897
  return {
102036
- pre: attrs => `<${tagName$1p} wmCard ${getAttrMarkup(attrs)}>`,
102037
- post: () => `</${tagName$1p}>`
101898
+ pre: attrs => `<${tagName$1n} wmCard ${getAttrMarkup(attrs)}>`,
101899
+ post: () => `</${tagName$1n}>`
102038
101900
  };
102039
101901
  });
102040
101902
  var card_build = () => { };
@@ -102044,11 +101906,11 @@ var card_build$1 = /*#__PURE__*/Object.freeze({
102044
101906
  default: card_build
102045
101907
  });
102046
101908
 
102047
- const tagName$1o = 'div';
101909
+ const tagName$1m = 'div';
102048
101910
  register('wm-card-content', () => {
102049
101911
  return {
102050
- pre: attrs => `<${tagName$1o} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,
102051
- post: () => `</${tagName$1o}>`
101912
+ pre: attrs => `<${tagName$1m} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,
101913
+ post: () => `</${tagName$1m}>`
102052
101914
  };
102053
101915
  });
102054
101916
  var cardContent_build = () => { };
@@ -102058,11 +101920,11 @@ var cardContent_build$1 = /*#__PURE__*/Object.freeze({
102058
101920
  default: cardContent_build
102059
101921
  });
102060
101922
 
102061
- const tagName$1n = 'div';
101923
+ const tagName$1l = 'div';
102062
101924
  register('wm-card-actions', () => {
102063
101925
  return {
102064
- pre: attrs => `<${tagName$1n} wmCardActions ${getAttrMarkup(attrs)}>`,
102065
- post: () => `</${tagName$1n}>`
101926
+ pre: attrs => `<${tagName$1l} wmCardActions ${getAttrMarkup(attrs)}>`,
101927
+ post: () => `</${tagName$1l}>`
102066
101928
  };
102067
101929
  });
102068
101930
  var cardActions_build = () => { };
@@ -102072,11 +101934,11 @@ var cardActions_build$1 = /*#__PURE__*/Object.freeze({
102072
101934
  default: cardActions_build
102073
101935
  });
102074
101936
 
102075
- const tagName$1m = 'div';
101937
+ const tagName$1k = 'div';
102076
101938
  register('wm-card-footer', () => {
102077
101939
  return {
102078
- pre: attrs => `<${tagName$1m} wmCardFooter ${getAttrMarkup(attrs)}>`,
102079
- post: () => `</${tagName$1m}>`
101940
+ pre: attrs => `<${tagName$1k} wmCardFooter ${getAttrMarkup(attrs)}>`,
101941
+ post: () => `</${tagName$1k}>`
102080
101942
  };
102081
101943
  });
102082
101944
  var cardFooter_build = () => { };
@@ -102086,11 +101948,11 @@ var cardFooter_build$1 = /*#__PURE__*/Object.freeze({
102086
101948
  default: cardFooter_build
102087
101949
  });
102088
101950
 
102089
- const tagName$1l = 'div';
101951
+ const tagName$1j = 'div';
102090
101952
  register('wm-chart', () => {
102091
101953
  return {
102092
- pre: attrs => `<${tagName$1l} wmChart redrawable aria-label="${attrs.get('type')} Chart" ${getAttrMarkup(attrs)}>`,
102093
- post: () => `</${tagName$1l}>`
101954
+ pre: attrs => `<${tagName$1j} wmChart redrawable aria-label="${attrs.get('type')} Chart" ${getAttrMarkup(attrs)}>`,
101955
+ post: () => `</${tagName$1j}>`
102094
101956
  };
102095
101957
  });
102096
101958
  var chart_build = () => { };
@@ -102100,19 +101962,19 @@ var chart_build$1 = /*#__PURE__*/Object.freeze({
102100
101962
  default: chart_build
102101
101963
  });
102102
101964
 
102103
- const tagName$1k = 'div';
101965
+ const tagName$1i = 'div';
102104
101966
  const dataSetKey$4 = 'dataset';
102105
- const idGen$m = new IDGenerator('wm_accordion_ref_');
101967
+ const idGen$l = new IDGenerator('wm_accordion_ref_');
102106
101968
  const isDynamicAccordion = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
102107
101969
  register('wm-accordion', () => {
102108
101970
  return {
102109
101971
  pre: (attrs, shared) => {
102110
101972
  // generating unique Id for the accordion
102111
- const counter = idGen$m.nextUid();
101973
+ const counter = idGen$l.nextUid();
102112
101974
  shared.set('accordion_ref', counter);
102113
- return `<${tagName$1k} wmAccordion #${counter}="wmAccordion" role="tablist" aria-multiselectable="true" ${getAttrMarkup(attrs)}>`;
101975
+ return `<${tagName$1i} wmAccordion #${counter}="wmAccordion" ${getAttrMarkup(attrs)}>`;
102114
101976
  },
102115
- post: () => `</${tagName$1k}>`,
101977
+ post: () => `</${tagName$1i}>`,
102116
101978
  template: (node, shared) => {
102117
101979
  // check if the accordion is dynamic
102118
101980
  if (isDynamicAccordion(node)) {
@@ -102143,15 +102005,15 @@ var accordion_build$1 = /*#__PURE__*/Object.freeze({
102143
102005
  default: accordion_build
102144
102006
  });
102145
102007
 
102146
- const tagName$1j = 'div';
102147
- const idGen$l = new IDGenerator('wm_accordionpane');
102008
+ const tagName$1h = 'div';
102009
+ const idGen$k = new IDGenerator('wm_accordionpane');
102148
102010
  register('wm-accordionpane', () => {
102149
102011
  return {
102150
102012
  pre: (attrs) => {
102151
- const counter = idGen$l.nextUid();
102152
- return `<${tagName$1j} #${counter}="wmAccordionPane" [attr.aria-expanded]="${counter}.isActive" wmAccordionPane partialContainer wm-navigable-element="true" role="tab" ${getAttrMarkup(attrs)}>`;
102013
+ const counter = idGen$k.nextUid();
102014
+ return `<${tagName$1h} #${counter}="wmAccordionPane" wmAccordionPane partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
102153
102015
  },
102154
- post: () => `</${tagName$1j}>`
102016
+ post: () => `</${tagName$1h}>`
102155
102017
  };
102156
102018
  });
102157
102019
  var accordionPane_build = () => { };
@@ -102161,11 +102023,11 @@ var accordionPane_build$1 = /*#__PURE__*/Object.freeze({
102161
102023
  default: accordionPane_build
102162
102024
  });
102163
102025
 
102164
- const tagName$1i = 'div';
102026
+ const tagName$1g = 'div';
102165
102027
  register('wm-container', () => {
102166
102028
  return {
102167
- pre: attrs => `<${tagName$1i} wmContainer partialContainer wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
102168
- post: () => `</${tagName$1i}>`
102029
+ pre: attrs => `<${tagName$1g} wmContainer partialContainer wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
102030
+ post: () => `</${tagName$1g}>`
102169
102031
  };
102170
102032
  });
102171
102033
  var container_build = () => { };
@@ -102175,11 +102037,11 @@ var container_build$1 = /*#__PURE__*/Object.freeze({
102175
102037
  default: container_build
102176
102038
  });
102177
102039
 
102178
- const tagName$1h = 'div';
102040
+ const tagName$1f = 'div';
102179
102041
  register('wm-gridcolumn', () => {
102180
102042
  return {
102181
- pre: attrs => `<${tagName$1h} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,
102182
- post: () => `</${tagName$1h}>`
102043
+ pre: attrs => `<${tagName$1f} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,
102044
+ post: () => `</${tagName$1f}>`
102183
102045
  };
102184
102046
  });
102185
102047
  var layoutGridColumn_build = () => { };
@@ -102189,11 +102051,11 @@ var layoutGridColumn_build$1 = /*#__PURE__*/Object.freeze({
102189
102051
  default: layoutGridColumn_build
102190
102052
  });
102191
102053
 
102192
- const tagName$1g = 'div';
102054
+ const tagName$1e = 'div';
102193
102055
  register('wm-gridrow', () => {
102194
102056
  return {
102195
- pre: attrs => `<${tagName$1g} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,
102196
- post: () => `</${tagName$1g}>`
102057
+ pre: attrs => `<${tagName$1e} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,
102058
+ post: () => `</${tagName$1e}>`
102197
102059
  };
102198
102060
  });
102199
102061
  var layoutGridRow_build = () => { };
@@ -102203,11 +102065,11 @@ var layoutGridRow_build$1 = /*#__PURE__*/Object.freeze({
102203
102065
  default: layoutGridRow_build
102204
102066
  });
102205
102067
 
102206
- const tagName$1f = 'div';
102068
+ const tagName$1d = 'div';
102207
102069
  register('wm-layoutgrid', () => {
102208
102070
  return {
102209
- pre: attrs => `<${tagName$1f} wmLayoutGrid ${getAttrMarkup(attrs)}>`,
102210
- post: () => `</${tagName$1f}>`
102071
+ pre: attrs => `<${tagName$1d} wmLayoutGrid ${getAttrMarkup(attrs)}>`,
102072
+ post: () => `</${tagName$1d}>`
102211
102073
  };
102212
102074
  });
102213
102075
  var layoutGrid_build = () => { };
@@ -102217,21 +102079,21 @@ var layoutGrid_build$1 = /*#__PURE__*/Object.freeze({
102217
102079
  default: layoutGrid_build
102218
102080
  });
102219
102081
 
102220
- const tagName$1e = 'div';
102221
- const idGen$k = new IDGenerator('wm_panel');
102082
+ const tagName$1c = 'div';
102083
+ const idGen$j = new IDGenerator('wm_panel');
102222
102084
  register('wm-panel', () => {
102223
102085
  return {
102224
102086
  pre: (attrs) => {
102225
- const counter = idGen$k.nextUid();
102226
- return `<${tagName$1e} wmPanel #${counter}="wmPanel" partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
102087
+ const counter = idGen$j.nextUid();
102088
+ return `<${tagName$1c} wmPanel #${counter}="wmPanel" partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
102227
102089
  },
102228
- post: () => `</${tagName$1e}>`
102090
+ post: () => `</${tagName$1c}>`
102229
102091
  };
102230
102092
  });
102231
102093
  register('wm-panel-footer', () => {
102232
102094
  return {
102233
- pre: attrs => `<${tagName$1e} wmPanelFooter ${getAttrMarkup(attrs)}>`,
102234
- post: () => `</${tagName$1e}>`
102095
+ pre: attrs => `<${tagName$1c} wmPanelFooter ${getAttrMarkup(attrs)}>`,
102096
+ post: () => `</${tagName$1c}>`
102235
102097
  };
102236
102098
  });
102237
102099
  var panel_build = () => { };
@@ -102241,11 +102103,11 @@ var panel_build$1 = /*#__PURE__*/Object.freeze({
102241
102103
  default: panel_build
102242
102104
  });
102243
102105
 
102244
- const tagName$1d = 'div';
102106
+ const tagName$1b = 'div';
102245
102107
  register('wm-segmented-control', () => {
102246
102108
  return {
102247
- pre: attrs => `<${tagName$1d} wmSegmentedControl ${getAttrMarkup(attrs)}>`,
102248
- post: () => `</${tagName$1d}>`
102109
+ pre: attrs => `<${tagName$1b} wmSegmentedControl ${getAttrMarkup(attrs)}>`,
102110
+ post: () => `</${tagName$1b}>`
102249
102111
  };
102250
102112
  });
102251
102113
  var segmentedControl_build = () => { };
@@ -102255,11 +102117,11 @@ var segmentedControl_build$1 = /*#__PURE__*/Object.freeze({
102255
102117
  default: segmentedControl_build
102256
102118
  });
102257
102119
 
102258
- const tagName$1c = 'li';
102120
+ const tagName$1a = 'li';
102259
102121
  register('wm-segment-content', () => {
102260
102122
  return {
102261
- pre: attrs => `<${tagName$1c} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
102262
- post: () => `</${tagName$1c}>`
102123
+ pre: attrs => `<${tagName$1a} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
102124
+ post: () => `</${tagName$1a}>`
102263
102125
  };
102264
102126
  });
102265
102127
  var segmentContent_build = () => { };
@@ -102297,19 +102159,19 @@ var repeatTemplate_build$1 = /*#__PURE__*/Object.freeze({
102297
102159
  default: repeatTemplate_build
102298
102160
  });
102299
102161
 
102300
- const tagName$1b = 'div';
102162
+ const tagName$19 = 'div';
102301
102163
  const dataSetKey$3 = 'dataset';
102302
- const idGen$j = new IDGenerator('wm_tabs_ref_');
102164
+ const idGen$i = new IDGenerator('wm_tabs_ref_');
102303
102165
  const isDynamicTabs = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
102304
102166
  register('wm-tabs', () => {
102305
102167
  return {
102306
102168
  pre: (attrs, shared) => {
102307
102169
  // generating unique Id for the tabs
102308
- const counter = idGen$j.nextUid();
102170
+ const counter = idGen$i.nextUid();
102309
102171
  shared.set('tabs_ref', counter);
102310
- return `<${tagName$1b} wmTabs #${counter}="wmTabs" ${getAttrMarkup(attrs)}>`;
102172
+ return `<${tagName$19} wmTabs #${counter}="wmTabs" ${getAttrMarkup(attrs)}>`;
102311
102173
  },
102312
- post: () => `</${tagName$1b}>`,
102174
+ post: () => `</${tagName$19}>`,
102313
102175
  template: (node, shared) => {
102314
102176
  // check if the tab widget is dynamic
102315
102177
  if (isDynamicTabs(node)) {
@@ -102340,11 +102202,11 @@ var tabs_build$1 = /*#__PURE__*/Object.freeze({
102340
102202
  default: tabs_build
102341
102203
  });
102342
102204
 
102343
- const tagName$1a = 'div';
102205
+ const tagName$18 = 'div';
102344
102206
  register('wm-tabpane', () => {
102345
102207
  return {
102346
- pre: attrs => `<${tagName$1a} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element="true" role="tabpanel">`,
102347
- post: () => `</${tagName$1a}>`
102208
+ pre: attrs => `<${tagName$18} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element="true" role="tabpanel">`,
102209
+ post: () => `</${tagName$18}>`
102348
102210
  };
102349
102211
  });
102350
102212
  var tabPane_build = () => { };
@@ -102354,11 +102216,11 @@ var tabPane_build$1 = /*#__PURE__*/Object.freeze({
102354
102216
  default: tabPane_build
102355
102217
  });
102356
102218
 
102357
- const tagName$19 = 'div';
102219
+ const tagName$17 = 'div';
102358
102220
  register('wm-tile', () => {
102359
102221
  return {
102360
- pre: attrs => `<${tagName$19} wmTile aria-describedby="Tile" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
102361
- post: () => `</${tagName$19}>`
102222
+ pre: attrs => `<${tagName$17} wmTile wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
102223
+ post: () => `</${tagName$17}>`
102362
102224
  };
102363
102225
  });
102364
102226
  var tile_build = () => { };
@@ -102368,11 +102230,11 @@ var tile_build$1 = /*#__PURE__*/Object.freeze({
102368
102230
  default: tile_build
102369
102231
  });
102370
102232
 
102371
- const tagName$18 = 'div';
102233
+ const tagName$16 = 'div';
102372
102234
  register('wm-wizard', () => {
102373
102235
  return {
102374
- pre: attrs => `<${tagName$18} wmWizard role="tablist" ${getAttrMarkup(attrs)}>`,
102375
- post: () => `</${tagName$18}>`
102236
+ pre: attrs => `<${tagName$16} wmWizard ${getAttrMarkup(attrs)}>`,
102237
+ post: () => `</${tagName$16}>`
102376
102238
  };
102377
102239
  });
102378
102240
  var wizard_build = () => { };
@@ -102382,16 +102244,16 @@ var wizard_build$1 = /*#__PURE__*/Object.freeze({
102382
102244
  default: wizard_build
102383
102245
  });
102384
102246
 
102385
- const tagName$17 = 'form';
102386
- const idGen$i = new IDGenerator('wizard_step_id_');
102247
+ const tagName$15 = 'form';
102248
+ const idGen$h = new IDGenerator('wizard_step_id_');
102387
102249
  register('wm-wizardstep', () => {
102388
102250
  return {
102389
102251
  pre: attrs => {
102390
- const counter = idGen$i.nextUid();
102391
- return `<${tagName$17} wmWizardStep #${counter}="wmWizardStep" ${getAttrMarkup(attrs)}>
102252
+ const counter = idGen$h.nextUid();
102253
+ return `<${tagName$15} wmWizardStep #${counter}="wmWizardStep" ${getAttrMarkup(attrs)}>
102392
102254
  <ng-template [ngIf]="${counter}.isInitialized">`;
102393
102255
  },
102394
- post: () => `</ng-template></${tagName$17}>`
102256
+ post: () => `</ng-template></${tagName$15}>`
102395
102257
  };
102396
102258
  });
102397
102259
  var wizardStep_build = () => { };
@@ -102401,15 +102263,15 @@ var wizardStep_build$1 = /*#__PURE__*/Object.freeze({
102401
102263
  default: wizardStep_build
102402
102264
  });
102403
102265
 
102404
- const tagName$16 = 'button';
102405
- const idGen$h = new IDGenerator('wm_barcodescanner');
102266
+ const tagName$14 = 'button';
102267
+ const idGen$g = new IDGenerator('wm_barcodescanner');
102406
102268
  register('wm-barcodescanner', () => {
102407
102269
  return {
102408
102270
  pre: (attrs) => {
102409
- const counter = idGen$h.nextUid();
102410
- return `<${tagName$16} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.hint || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
102271
+ const counter = idGen$g.nextUid();
102272
+ return `<${tagName$14} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.arialabel || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
102411
102273
  },
102412
- post: () => `</${tagName$16}>`
102274
+ post: () => `</${tagName$14}>`
102413
102275
  };
102414
102276
  });
102415
102277
  var barcodeScanner_build = () => { };
@@ -102419,15 +102281,15 @@ var barcodeScanner_build$1 = /*#__PURE__*/Object.freeze({
102419
102281
  default: barcodeScanner_build
102420
102282
  });
102421
102283
 
102422
- const tagName$15 = 'button';
102423
- const idGen$g = new IDGenerator('wm_camera');
102284
+ const tagName$13 = 'button';
102285
+ const idGen$f = new IDGenerator('wm_camera');
102424
102286
  register('wm-camera', () => {
102425
102287
  return {
102426
102288
  pre: (attrs) => {
102427
- const counter = idGen$g.nextUid();
102428
- return `<${tagName$15} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.hint || 'Camera'" ${getAttrMarkup(attrs)}>`;
102289
+ const counter = idGen$f.nextUid();
102290
+ return `<${tagName$13} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.arialabel || 'Camera'" ${getAttrMarkup(attrs)}>`;
102429
102291
  },
102430
- post: () => `</${tagName$15}>`
102292
+ post: () => `</${tagName$13}>`
102431
102293
  };
102432
102294
  });
102433
102295
  var camera_build = () => { };
@@ -102437,11 +102299,11 @@ var camera_build$1 = /*#__PURE__*/Object.freeze({
102437
102299
  default: camera_build
102438
102300
  });
102439
102301
 
102440
- const tagName$14 = 'div';
102302
+ const tagName$12 = 'div';
102441
102303
  register('wm-alertdialog', () => {
102442
102304
  return {
102443
- pre: attrs => `<${tagName$14} wmAlertDialog role="alertdialog" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
102444
- post: () => `</${tagName$14}>`
102305
+ pre: attrs => `<${tagName$12} wmAlertDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
102306
+ post: () => `</${tagName$12}>`
102445
102307
  };
102446
102308
  });
102447
102309
  var alertDialog_build = () => { };
@@ -102451,11 +102313,11 @@ var alertDialog_build$1 = /*#__PURE__*/Object.freeze({
102451
102313
  default: alertDialog_build
102452
102314
  });
102453
102315
 
102454
- const tagName$13 = 'div';
102316
+ const tagName$11 = 'div';
102455
102317
  register('wm-confirmdialog', () => {
102456
102318
  return {
102457
- pre: attrs => `<${tagName$13} wmConfirmDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
102458
- post: () => `</${tagName$13}>`
102319
+ pre: attrs => `<${tagName$11} wmConfirmDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
102320
+ post: () => `</${tagName$11}>`
102459
102321
  };
102460
102322
  });
102461
102323
  var confirmDialog_build = () => { };
@@ -102465,11 +102327,11 @@ var confirmDialog_build$1 = /*#__PURE__*/Object.freeze({
102465
102327
  default: confirmDialog_build
102466
102328
  });
102467
102329
 
102468
- const tagName$12 = 'div';
102330
+ const tagName$10 = 'div';
102469
102331
  register('wm-dialogactions', () => {
102470
102332
  return {
102471
- pre: attrs => `<ng-template #dialogFooter><${tagName$12} wmDialogFooter data-identfier="actions" ${getAttrMarkup(attrs)}>`,
102472
- post: () => `</${tagName$12}></ng-template>`
102333
+ pre: attrs => `<ng-template #dialogFooter><${tagName$10} wmDialogFooter data-identfier="actions" ${getAttrMarkup(attrs)}>`,
102334
+ post: () => `</${tagName$10}></ng-template>`
102473
102335
  };
102474
102336
  });
102475
102337
  var dialogFooter_build = () => { };
@@ -102479,11 +102341,11 @@ var dialogFooter_build$1 = /*#__PURE__*/Object.freeze({
102479
102341
  default: dialogFooter_build
102480
102342
  });
102481
102343
 
102482
- const tagName$11 = 'div';
102344
+ const tagName$$ = 'div';
102483
102345
  register('wm-dialog', () => {
102484
102346
  return {
102485
- pre: attrs => `<${tagName$11} wmDialog ${getAttrMarkup(attrs)} aria-modal="true" role="dialog" wm-navigable-element="true"><ng-template #dialogBody>`,
102486
- post: () => `</ng-template></${tagName$11}>`
102347
+ pre: attrs => `<${tagName$$} wmDialog ${getAttrMarkup(attrs)} aria-modal="true" role="dialog" wm-navigable-element="true"><ng-template #dialogBody>`,
102348
+ post: () => `</ng-template></${tagName$$}>`
102487
102349
  };
102488
102350
  });
102489
102351
  // Todo:vinay remove wm-view in migration
@@ -102500,11 +102362,11 @@ var dialog_build$1 = /*#__PURE__*/Object.freeze({
102500
102362
  default: dialog_build
102501
102363
  });
102502
102364
 
102503
- const tagName$10 = 'div';
102365
+ const tagName$_ = 'div';
102504
102366
  register('wm-iframedialog', () => {
102505
102367
  return {
102506
- pre: attrs => `<${tagName$10} wmIframeDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
102507
- post: () => `</${tagName$10}>`
102368
+ pre: attrs => `<${tagName$_} wmIframeDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
102369
+ post: () => `</${tagName$_}>`
102508
102370
  };
102509
102371
  });
102510
102372
  var iframeDialog_build = () => { };
@@ -102514,11 +102376,11 @@ var iframeDialog_build$1 = /*#__PURE__*/Object.freeze({
102514
102376
  default: iframeDialog_build
102515
102377
  });
102516
102378
 
102517
- const tagName$$ = 'div';
102379
+ const tagName$Z = 'div';
102518
102380
  register('wm-logindialog', () => {
102519
102381
  return {
102520
- pre: attrs => `<${tagName$$} wmDialog wmLoginDialog ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction" wm-navigable-element="true"><ng-template #dialogBody>`,
102521
- post: () => `</ng-template></${tagName$$}>`
102382
+ pre: attrs => `<${tagName$Z} wmDialog wmLoginDialog ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction" wm-navigable-element="true"><ng-template #dialogBody>`,
102383
+ post: () => `</ng-template></${tagName$Z}>`
102522
102384
  };
102523
102385
  });
102524
102386
  var loginDialog_build = () => { };
@@ -102528,7 +102390,7 @@ var loginDialog_build$1 = /*#__PURE__*/Object.freeze({
102528
102390
  default: loginDialog_build
102529
102391
  });
102530
102392
 
102531
- const tagName$_ = 'div';
102393
+ const tagName$Y = 'div';
102532
102394
  register('wm-pagedialog', () => {
102533
102395
  return {
102534
102396
  pre: (attrs, shared) => {
@@ -102554,14 +102416,14 @@ register('wm-pagedialog', () => {
102554
102416
  shared.set('hasPartialContent', true);
102555
102417
  containerMarkup += `<ng-template><div wmContainer #partial partialContainer ${contentMarkup} width="100%" height="100%" ${onLoadEvtMarkup}>`;
102556
102418
  }
102557
- return `<${tagName$_} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;
102419
+ return `<${tagName$Y} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;
102558
102420
  },
102559
102421
  post: (attrs, shared) => {
102560
102422
  let preContent = '';
102561
102423
  if (shared.get('hasPartialContent')) {
102562
102424
  preContent = `</div></ng-template>`;
102563
102425
  }
102564
- return `${preContent}</${tagName$_}>`;
102426
+ return `${preContent}</${tagName$Y}>`;
102565
102427
  }
102566
102428
  };
102567
102429
  });
@@ -102640,8 +102502,8 @@ const getEditModeWidget = colDef => {
102640
102502
  return (fieldTypeWidgetTypeMap[colDef.type] && fieldTypeWidgetTypeMap[colDef.type][0]) || FormWidgetType.TEXT;
102641
102503
  };
102642
102504
 
102643
- const tagName$Z = 'div';
102644
- const idGen$f = new IDGenerator('formfield_');
102505
+ const tagName$X = 'div';
102506
+ const idGen$e = new IDGenerator('formfield_');
102645
102507
  const getEventsTemplate = (attrs) => {
102646
102508
  const eventAttrs = new Map();
102647
102509
  if (!attrs.has('focus.event')) {
@@ -102692,13 +102554,12 @@ const setDefaultPlaceholder = (attrs, widgetType, index) => {
102692
102554
  };
102693
102555
  const getWidgetTemplate = (attrs, options) => {
102694
102556
  const name = attrs.get('name');
102695
- const customWidgetName = attrs.get('widgetname');
102696
102557
  const fieldName = (attrs.get('key') || name || '').trim();
102697
102558
  const formControl = options.isMaxWidget ? `formControlName="${fieldName}_max"` : (options.isInList ? `[formControlName]="${options.counter}._fieldName"` : `formControlName="${fieldName}"`);
102698
102559
  const tmplRef = options.isMaxWidget ? `#formWidgetMax` : `#formWidget`;
102699
102560
  const widgetName = name ? (options.isMaxWidget ? `name="${name}_formWidgetMax"` : `name="${name}_formWidget"`) : '';
102700
102561
  const conditionalClass = `[ngClass]="${attrs.get('ngclass')}"`;
102701
- const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName} ${customWidgetName ? `widgetname=${customWidgetName}` : ''}`;
102562
+ const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName}`;
102702
102563
  return getFormWidgetTemplate(options.widgetType, defaultTmpl, attrs, { counter: options.counter, pCounter: options.pCounter });
102703
102564
  };
102704
102565
  const getTemplate = (attrs, widgetType, eventsTmpl, counter, pCounter, isInList) => {
@@ -102742,14 +102603,14 @@ const registerFormField = (isFormField) => {
102742
102603
  return {
102743
102604
  requires: ['wm-form', 'wm-liveform', 'wm-livefilter', 'wm-list'],
102744
102605
  pre: (attrs, shared, parentForm, parentLiveForm, parentFilter, parentList) => {
102745
- const counter = idGen$f.nextUid();
102606
+ const counter = idGen$e.nextUid();
102746
102607
  const parent = parentForm || parentLiveForm || parentFilter;
102747
102608
  const pCounter = (parent && parent.get('form_reference')) || 'form';
102748
102609
  const widgetType = attrs.get('widget') || FormWidgetType.TEXT;
102749
102610
  const dataRole = isFormField ? 'form-field' : 'filter-field';
102750
102611
  const formFieldErrorMsgId = 'wmform-field-error-' + generateGUId();
102751
102612
  const validationMsg = isFormField ? `<p *ngIf="${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode"
102752
- class="help-block text-danger" aria-hidden="false"
102613
+ class="help-block text-danger" aria-hidden="false" role="alert"
102753
102614
  aria-live="assertive" [attr.aria-label]="${counter}.validationmessage" id="${formFieldErrorMsgId}"><span aria-hidden="true" [textContent]="${counter}.validationmessage"></span></p>` : '';
102754
102615
  const eventsTmpl = widgetType === FormWidgetType.UPLOAD ? '' : getEventsTemplate(attrs);
102755
102616
  const controlLayout = isMobileApp() ? 'col-xs-12' : 'col-sm-12';
@@ -102765,7 +102626,7 @@ const registerFormField = (isFormField) => {
102765
102626
  else {
102766
102627
  setDefaultPlaceholder(attrs, widgetType, 2);
102767
102628
  }
102768
- return `<${tagName$Z} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField wmCaptionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${getFormMarkupAttr(attrs)}>
102629
+ return `<${tagName$X} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField wmCaptionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${getFormMarkupAttr(attrs)}>
102769
102630
  <div class="live-field form-group app-composite-widget clearfix caption-{{${pCounter}.captionposition}}" widget="${widgetType}">
102770
102631
  <label [hidden]="!${counter}.displayname" class="app-label control-label formfield-label {{${pCounter}._captionClass}}"
102771
102632
  [ngStyle]="{width: ${pCounter}.captionsize}" [ngClass]="{'text-danger': ${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode,
@@ -102781,7 +102642,7 @@ const registerFormField = (isFormField) => {
102781
102642
  </div>
102782
102643
  </div>`;
102783
102644
  },
102784
- post: () => `</${tagName$Z}>`,
102645
+ post: () => `</${tagName$X}>`,
102785
102646
  provide: (attrs, shared) => {
102786
102647
  const provider = new Map();
102787
102648
  provider.set('form_reference', shared.get('counter'));
@@ -102803,11 +102664,11 @@ var formField_build$1 = /*#__PURE__*/Object.freeze({
102803
102664
  default: formField_build
102804
102665
  });
102805
102666
 
102806
- const tagName$Y = 'div';
102667
+ const tagName$W = 'div';
102807
102668
  const registerAction = (tmpl) => {
102808
102669
  return {
102809
- pre: attrs => `<${tagName$Y} wmFormAction name="${attrs.get('name') || attrs.get('key')}" ${getAttrMarkup(attrs)} ${tmpl}>`,
102810
- post: () => `</${tagName$Y}>`
102670
+ pre: attrs => `<${tagName$W} wmFormAction name="${attrs.get('name') || attrs.get('key')}" ${getAttrMarkup(attrs)} ${tmpl}>`,
102671
+ post: () => `</${tagName$W}>`
102811
102672
  };
102812
102673
  };
102813
102674
  register('wm-form-action', registerAction.bind(undefined, ''));
@@ -102819,8 +102680,8 @@ var formAction_build$1 = /*#__PURE__*/Object.freeze({
102819
102680
  default: formAction_build
102820
102681
  });
102821
102682
 
102822
- const tagName$X = 'form';
102823
- const idGen$e = new IDGenerator('form_');
102683
+ const tagName$V = 'form';
102684
+ const idGen$d = new IDGenerator('form_');
102824
102685
  const formWidgets$1 = new Set([
102825
102686
  'wm-text',
102826
102687
  'wm-textarea',
@@ -102888,7 +102749,7 @@ const buildTask = (directiveAttr = '') => {
102888
102749
  let tmpl;
102889
102750
  let dialogId;
102890
102751
  const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';
102891
- const counter = idGen$e.nextUid();
102752
+ const counter = idGen$d.nextUid();
102892
102753
  const dependsOn = attrs.get('dependson') ? `dependson="${attrs.get('dependson')}"` : '';
102893
102754
  if (dependsOn) {
102894
102755
  attrs.set('dependsontable', attrs.get('dependson'));
@@ -102896,7 +102757,7 @@ const buildTask = (directiveAttr = '') => {
102896
102757
  const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';
102897
102758
  const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];
102898
102759
  attrs.delete('dependson');
102899
- const liveFormTmpl = `<${tagName$X} wmForm data-role="${role}" ${directiveAttr} #${counter} ngNativeValidate [formGroup]="${counter}.ngform" [noValidate]="${counter}.validationtype !== 'html'"
102760
+ const liveFormTmpl = `<${tagName$V} wmForm data-role="${role}" ${directiveAttr} #${counter} ngNativeValidate [formGroup]="${counter}.ngform" [noValidate]="${counter}.validationtype !== 'html'"
102900
102761
  class="${classProp}" [class]="${counter}.captionAlignClass" [autocomplete]="${counter}.autocomplete ? 'on' : 'off'" captionposition=${attrs.get('captionposition')}`;
102901
102762
  attrs.set('numberOfFields', `${numberOfFields}`);
102902
102763
  shared.set('counter', counter);
@@ -102949,12 +102810,12 @@ const buildTask = (directiveAttr = '') => {
102949
102810
  return '</form></ng-template></div></div>';
102950
102811
  }
102951
102812
  if (attrs.get('formlayout') === 'page') {
102952
- return `</div></${tagName$X}>`;
102813
+ return `</div></${tagName$V}>`;
102953
102814
  }
102954
102815
  if (attrs.get('dependsontable')) {
102955
- return `</${tagName$X}></div>`;
102816
+ return `</${tagName$V}></div>`;
102956
102817
  }
102957
- return `</${tagName$X}>`;
102818
+ return `</${tagName$V}>`;
102958
102819
  },
102959
102820
  provide: (attrs, shared) => {
102960
102821
  const provider = new Map();
@@ -102973,14 +102834,14 @@ var form_build$1 = /*#__PURE__*/Object.freeze({
102973
102834
  default: form_build
102974
102835
  });
102975
102836
 
102976
- const tagName$W = 'div';
102837
+ const tagName$U = 'div';
102977
102838
  register('wm-calendar', () => {
102978
102839
  return {
102979
102840
  pre: (attrs) => {
102980
102841
  let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';
102981
- return `<${tagName$W} wmCalendar redrawable style="width:100%" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
102842
+ return `<${tagName$U} wmCalendar redrawable style="width:100%" role="region" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
102982
102843
  },
102983
- post: () => `</${tagName$W}>`
102844
+ post: () => `</${tagName$U}>`
102984
102845
  };
102985
102846
  });
102986
102847
  var calendar_build = () => { };
@@ -102990,11 +102851,11 @@ var calendar_build$1 = /*#__PURE__*/Object.freeze({
102990
102851
  default: calendar_build
102991
102852
  });
102992
102853
 
102993
- const tagName$V = 'ul';
102854
+ const tagName$T = 'ul';
102994
102855
  register('wm-chips', () => {
102995
102856
  return {
102996
- pre: attrs => `<${tagName$V} wmChips role="listbox" ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
102997
- post: () => `</${tagName$V}>`
102857
+ pre: attrs => `<${tagName$T} wmChips ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
102858
+ post: () => `</${tagName$T}>`
102998
102859
  };
102999
102860
  });
103000
102861
  var chips_build = () => { };
@@ -103004,11 +102865,11 @@ var chips_build$1 = /*#__PURE__*/Object.freeze({
103004
102865
  default: chips_build
103005
102866
  });
103006
102867
 
103007
- const tagName$U = 'div';
102868
+ const tagName$S = 'div';
103008
102869
  register('wm-colorpicker', () => {
103009
102870
  return {
103010
- pre: attrs => `<${tagName$U} wmColorPicker ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
103011
- post: () => `</${tagName$U}>`
102871
+ pre: attrs => `<${tagName$S} wmColorPicker ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
102872
+ post: () => `</${tagName$S}>`
103012
102873
  };
103013
102874
  });
103014
102875
  var colorPicker_build = () => { };
@@ -103018,11 +102879,11 @@ var colorPicker_build$1 = /*#__PURE__*/Object.freeze({
103018
102879
  default: colorPicker_build
103019
102880
  });
103020
102881
 
103021
- const tagName$T = 'div';
102882
+ const tagName$R = 'div';
103022
102883
  register('wm-currency', () => {
103023
102884
  return {
103024
- pre: attrs => `<${tagName$T} wmCurrency ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
103025
- post: () => `</${tagName$T}>`
102885
+ pre: attrs => `<${tagName$R} wmCurrency ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
102886
+ post: () => `</${tagName$R}>`
103026
102887
  };
103027
102888
  });
103028
102889
  var currency_build = () => { };
@@ -103032,11 +102893,11 @@ var currency_build$1 = /*#__PURE__*/Object.freeze({
103032
102893
  default: currency_build
103033
102894
  });
103034
102895
 
103035
- const tagName$S = 'div';
102896
+ const tagName$Q = 'div';
103036
102897
  register('wm-buttongroup', () => {
103037
102898
  return {
103038
- pre: attrs => `<${tagName$S} wmButtonGroup role="group" aria-labelledby="button group" ${getAttrMarkup(attrs)}>`,
103039
- post: () => `</${tagName$S}>`
102899
+ pre: attrs => `<${tagName$Q} wmButtonGroup role="group" ${getAttrMarkup(attrs)}>`,
102900
+ post: () => `</${tagName$Q}>`
103040
102901
  };
103041
102902
  });
103042
102903
  var buttonGroup_build = () => { };
@@ -103046,15 +102907,15 @@ var buttonGroup_build$1 = /*#__PURE__*/Object.freeze({
103046
102907
  default: buttonGroup_build
103047
102908
  });
103048
102909
 
103049
- const tagName$R = 'button';
103050
- const idGen$d = new IDGenerator('wm_button');
102910
+ const tagName$P = 'button';
102911
+ const idGen$c = new IDGenerator('wm_button');
103051
102912
  register('wm-button', () => {
103052
102913
  return {
103053
102914
  pre: (attrs) => {
103054
- const counter = idGen$d.nextUid();
103055
- return `<${tagName$R} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.hint || ${counter}.caption || null" ${getAttrMarkup(attrs)}>`;
102915
+ const counter = idGen$c.nextUid();
102916
+ return `<${tagName$P} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${getAttrMarkup(attrs)}>`;
103056
102917
  },
103057
- post: () => `</${tagName$R}>`
102918
+ post: () => `</${tagName$P}>`
103058
102919
  };
103059
102920
  });
103060
102921
  var button_build = () => { };
@@ -103064,11 +102925,11 @@ var button_build$1 = /*#__PURE__*/Object.freeze({
103064
102925
  default: button_build
103065
102926
  });
103066
102927
 
103067
- const tagName$Q = 'div';
102928
+ const tagName$O = 'div';
103068
102929
  register('wm-checkbox', () => {
103069
102930
  return {
103070
- pre: attrs => `<${tagName$Q} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
103071
- post: () => `</${tagName$Q}>`
102931
+ pre: attrs => `<${tagName$O} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
102932
+ post: () => `</${tagName$O}>`
103072
102933
  };
103073
102934
  });
103074
102935
  var checkbox_build = () => { };
@@ -103078,11 +102939,11 @@ var checkbox_build$1 = /*#__PURE__*/Object.freeze({
103078
102939
  default: checkbox_build
103079
102940
  });
103080
102941
 
103081
- const tagName$P = 'ul';
102942
+ const tagName$N = 'ul';
103082
102943
  register('wm-checkboxset', () => {
103083
102944
  return {
103084
- pre: attrs => `<${tagName$P} role="group" wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
103085
- post: () => `</${tagName$P}>`
102945
+ pre: attrs => `<${tagName$N} role="group" wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
102946
+ post: () => `</${tagName$N}>`
103086
102947
  };
103087
102948
  });
103088
102949
  var checkboxset_build = () => { };
@@ -103092,11 +102953,11 @@ var checkboxset_build$1 = /*#__PURE__*/Object.freeze({
103092
102953
  default: checkboxset_build
103093
102954
  });
103094
102955
 
103095
- const tagName$O = 'div';
102956
+ const tagName$M = 'div';
103096
102957
  register('wm-composite', () => {
103097
102958
  return {
103098
- pre: attrs => `<${tagName$O} wmComposite wmCaptionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,
103099
- post: () => `</${tagName$O}${clearChildAttrs()}>`
102959
+ pre: attrs => `<${tagName$M} wmComposite wmCaptionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,
102960
+ post: () => `</${tagName$M}${clearChildAttrs()}>`
103100
102961
  };
103101
102962
  });
103102
102963
  var composite_build = () => { };
@@ -103106,11 +102967,11 @@ var composite_build$1 = /*#__PURE__*/Object.freeze({
103106
102967
  default: composite_build
103107
102968
  });
103108
102969
 
103109
- const tagName$N = 'div';
102970
+ const tagName$L = 'div';
103110
102971
  register('wm-number', () => {
103111
102972
  return {
103112
- pre: attrs => `<${tagName$N} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
103113
- post: () => `</${tagName$N}>`
102973
+ pre: attrs => `<${tagName$L} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
102974
+ post: () => `</${tagName$L}>`
103114
102975
  };
103115
102976
  });
103116
102977
  var number_build = () => { };
@@ -103120,11 +102981,11 @@ var number_build$1 = /*#__PURE__*/Object.freeze({
103120
102981
  default: number_build
103121
102982
  });
103122
102983
 
103123
- const tagName$M = 'ul';
102984
+ const tagName$K = 'ul';
103124
102985
  register('wm-radioset', () => {
103125
102986
  return {
103126
- pre: attrs => `<${tagName$M} role="radiogroup" wmRadioset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
103127
- post: () => `</${tagName$M}>`
102987
+ pre: attrs => `<${tagName$K} role="radiogroup" wmRadioset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
102988
+ post: () => `</${tagName$K}>`
103128
102989
  };
103129
102990
  });
103130
102991
  var radioset_build = () => { };
@@ -103134,11 +102995,11 @@ var radioset_build$1 = /*#__PURE__*/Object.freeze({
103134
102995
  default: radioset_build
103135
102996
  });
103136
102997
 
103137
- const tagName$L = 'wm-select';
102998
+ const tagName$J = 'wm-select';
103138
102999
  register('wm-select', () => {
103139
103000
  return {
103140
- pre: attrs => `<${tagName$L} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
103141
- post: () => `</${tagName$L}>`
103001
+ pre: attrs => `<${tagName$J} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
103002
+ post: () => `</${tagName$J}>`
103142
103003
  };
103143
103004
  });
103144
103005
  var select_build = () => { };
@@ -103148,15 +103009,15 @@ var select_build$1 = /*#__PURE__*/Object.freeze({
103148
103009
  default: select_build
103149
103010
  });
103150
103011
 
103151
- const tagName$K = 'div';
103152
- const idGen$c = new IDGenerator('wm_switch');
103012
+ const tagName$I = 'div';
103013
+ const idGen$b = new IDGenerator('wm_switch');
103153
103014
  register('wm-switch', () => {
103154
103015
  return {
103155
103016
  pre: (attrs) => {
103156
- const counter = idGen$c.nextUid();
103157
- return `<${tagName$K} wmSwitch #${counter}="wmSwitch" [attr.aria-label]="${counter}.hint || 'Switch button'" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;
103017
+ const counter = idGen$b.nextUid();
103018
+ return `<${tagName$I} wmSwitch #${counter}="wmSwitch" role="group" [attr.aria-label]="${counter}.arialabel || 'Switch choose options'" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;
103158
103019
  },
103159
- post: () => `</${tagName$K}>`
103020
+ post: () => `</${tagName$I}>`
103160
103021
  };
103161
103022
  });
103162
103023
  var switch_build = () => { };
@@ -103166,11 +103027,11 @@ var switch_build$1 = /*#__PURE__*/Object.freeze({
103166
103027
  default: switch_build
103167
103028
  });
103168
103029
 
103169
- const tagName$J = 'wm-input';
103030
+ const tagName$H = 'wm-input';
103170
103031
  register('wm-text', () => {
103171
103032
  return {
103172
- pre: attrs => `<${tagName$J} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
103173
- post: () => `</${tagName$J}>`
103033
+ pre: attrs => `<${tagName$H} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
103034
+ post: () => `</${tagName$H}>`
103174
103035
  };
103175
103036
  });
103176
103037
  var text_build = () => { };
@@ -103180,11 +103041,11 @@ var text_build$1 = /*#__PURE__*/Object.freeze({
103180
103041
  default: text_build
103181
103042
  });
103182
103043
 
103183
- const tagName$I = 'wm-textarea';
103044
+ const tagName$G = 'wm-textarea';
103184
103045
  register('wm-textarea', () => {
103185
103046
  return {
103186
- pre: attrs => `<${tagName$I} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
103187
- post: () => `</${tagName$I}>`
103047
+ pre: attrs => `<${tagName$G} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
103048
+ post: () => `</${tagName$G}>`
103188
103049
  };
103189
103050
  });
103190
103051
  var textarea_build = () => { };
@@ -103194,11 +103055,11 @@ var textarea_build$1 = /*#__PURE__*/Object.freeze({
103194
103055
  default: textarea_build
103195
103056
  });
103196
103057
 
103197
- const tagName$H = 'div';
103058
+ const tagName$F = 'div';
103198
103059
  register('wm-datetime', () => {
103199
103060
  return {
103200
- pre: attrs => `<${tagName$H} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
103201
- post: () => `</${tagName$H}>`
103061
+ pre: attrs => `<${tagName$F} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
103062
+ post: () => `</${tagName$F}>`
103202
103063
  };
103203
103064
  });
103204
103065
  var dateTime_build = () => { };
@@ -103208,11 +103069,11 @@ var dateTime_build$1 = /*#__PURE__*/Object.freeze({
103208
103069
  default: dateTime_build
103209
103070
  });
103210
103071
 
103211
- const tagName$G = 'div';
103072
+ const tagName$E = 'div';
103212
103073
  register('wm-date', () => {
103213
103074
  return {
103214
- pre: attrs => `<${tagName$G} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
103215
- post: () => `</${tagName$G}>`
103075
+ pre: attrs => `<${tagName$E} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
103076
+ post: () => `</${tagName$E}>`
103216
103077
  };
103217
103078
  });
103218
103079
  var date_build = () => { };
@@ -103222,11 +103083,11 @@ var date_build$1 = /*#__PURE__*/Object.freeze({
103222
103083
  default: date_build
103223
103084
  });
103224
103085
 
103225
- const tagName$F = 'div';
103086
+ const tagName$D = 'div';
103226
103087
  register('wm-time', () => {
103227
103088
  return {
103228
- pre: attrs => `<${tagName$F} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
103229
- post: () => `</${tagName$F}>`
103089
+ pre: attrs => `<${tagName$D} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
103090
+ post: () => `</${tagName$D}>`
103230
103091
  };
103231
103092
  });
103232
103093
  var time_build = () => { };
@@ -103236,7 +103097,7 @@ var time_build$1 = /*#__PURE__*/Object.freeze({
103236
103097
  default: time_build
103237
103098
  });
103238
103099
 
103239
- const tagName$E = 'div';
103100
+ const tagName$C = 'div';
103240
103101
  register('wm-fileupload', () => {
103241
103102
  return {
103242
103103
  pre: attrs => {
@@ -103244,9 +103105,13 @@ register('wm-fileupload', () => {
103244
103105
  const onSelectBinding = getDataSource(attrs.get('select.event'));
103245
103106
  attrs.set('datasource.bind', onSelectBinding);
103246
103107
  }
103247
- return `<${tagName$E} wmFileUpload ${getAttrMarkup(attrs)} role="input">`;
103108
+ if (attrs.get('delete.event')) {
103109
+ const onDeleteBinding = getDataSource(attrs.get('delete.event'));
103110
+ attrs.set('deletedatasource.bind', onDeleteBinding);
103111
+ }
103112
+ return `<${tagName$C} wmFileUpload ${getAttrMarkup(attrs)}>`;
103248
103113
  },
103249
- post: () => `</${tagName$E}>`
103114
+ post: () => `</${tagName$C}>`
103250
103115
  };
103251
103116
  });
103252
103117
  var fileUpload_build = () => { };
@@ -103256,11 +103121,11 @@ var fileUpload_build$1 = /*#__PURE__*/Object.freeze({
103256
103121
  default: fileUpload_build
103257
103122
  });
103258
103123
 
103259
- const tagName$D = 'div';
103124
+ const tagName$B = 'div';
103260
103125
  register('wm-rating', () => {
103261
103126
  return {
103262
- pre: attrs => `<${tagName$D} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
103263
- post: () => `</${tagName$D}>`
103127
+ pre: attrs => `<${tagName$B} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
103128
+ post: () => `</${tagName$B}>`
103264
103129
  };
103265
103130
  });
103266
103131
  var rating_build = () => { };
@@ -103270,11 +103135,11 @@ var rating_build$1 = /*#__PURE__*/Object.freeze({
103270
103135
  default: rating_build
103271
103136
  });
103272
103137
 
103273
- const tagName$C = 'div';
103138
+ const tagName$A = 'div';
103274
103139
  register('wm-slider', () => {
103275
103140
  return {
103276
- pre: attrs => `<${tagName$C} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
103277
- post: () => `</${tagName$C}>`
103141
+ pre: attrs => `<${tagName$A} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
103142
+ post: () => `</${tagName$A}>`
103278
103143
  };
103279
103144
  });
103280
103145
  var slider_build = () => { };
@@ -103285,7 +103150,7 @@ var slider_build$1 = /*#__PURE__*/Object.freeze({
103285
103150
  });
103286
103151
 
103287
103152
  const wmlistTag = 'wm-list';
103288
- const tagName$B = 'div';
103153
+ const tagName$z = 'div';
103289
103154
  const dataSetKey$2 = 'dataset';
103290
103155
  function copyAttribute$1(from, fromAttrName, to, toAttrName) {
103291
103156
  const fromAttr = from.attrs.find(a => a.name === fromAttrName);
@@ -103333,8 +103198,8 @@ register('wm-media-list', () => {
103333
103198
  copyAttribute$1(template, 'height', node, 'thumbnailheight');
103334
103199
  }
103335
103200
  },
103336
- pre: attrs => `<${tagName$B} wmMediaList ${getAttrMarkup(attrs)}>`,
103337
- post: () => `</${tagName$B}>`
103201
+ pre: attrs => `<${tagName$z} wmMediaList ${getAttrMarkup(attrs)}>`,
103202
+ post: () => `</${tagName$z}>`
103338
103203
  };
103339
103204
  });
103340
103205
  var mediaList_build = () => { };
@@ -103344,11 +103209,11 @@ var mediaList_build$1 = /*#__PURE__*/Object.freeze({
103344
103209
  default: mediaList_build
103345
103210
  });
103346
103211
 
103347
- const tagName$A = 'ng-template';
103212
+ const tagName$y = 'ng-template';
103348
103213
  register('wm-media-template', () => {
103349
103214
  return {
103350
- pre: () => `<${tagName$A} #mediaListTemplate let-item="item" let-index="index">`,
103351
- post: () => `</${tagName$A}>`
103215
+ pre: () => `<${tagName$y} #mediaListTemplate let-item="item" let-index="index">`,
103216
+ post: () => `</${tagName$y}>`
103352
103217
  };
103353
103218
  });
103354
103219
  var mediaListItem_build = () => { };
@@ -103432,16 +103297,16 @@ var list_build$1 = /*#__PURE__*/Object.freeze({
103432
103297
  default: list_build
103433
103298
  });
103434
103299
 
103435
- const tagName$z = 'div';
103436
- const idGen$b = new IDGenerator('liveform_dialog_id_');
103300
+ const tagName$x = 'div';
103301
+ const idGen$a = new IDGenerator('liveform_dialog_id_');
103437
103302
  register('wm-livetable', () => {
103438
103303
  return {
103439
103304
  pre: (attrs, shared) => {
103440
- const counter = idGen$b.nextUid();
103305
+ const counter = idGen$a.nextUid();
103441
103306
  shared.set('counter', counter);
103442
- return `<${tagName$z} wmLiveTable ${getAttrMarkup(attrs)} dialogid="${counter}">`;
103307
+ return `<${tagName$x} wmLiveTable ${getAttrMarkup(attrs)} dialogid="${counter}">`;
103443
103308
  },
103444
- post: () => `</${tagName$z}>`,
103309
+ post: () => `</${tagName$x}>`,
103445
103310
  provide: (attrs, shared) => {
103446
103311
  const provider = new Map();
103447
103312
  provider.set('liveform_dialog_id', shared.get('counter'));
@@ -103456,15 +103321,15 @@ var liveTable_build$1 = /*#__PURE__*/Object.freeze({
103456
103321
  default: liveTable_build
103457
103322
  });
103458
103323
 
103459
- const tagName$y = 'p';
103460
- const idGen$a = new IDGenerator('wm_message');
103324
+ const tagName$w = 'p';
103325
+ const idGen$9 = new IDGenerator('wm_message');
103461
103326
  register('wm-message', () => {
103462
103327
  return {
103463
103328
  pre: (attrs) => {
103464
- const counter = idGen$a.nextUid();
103465
- return `<${tagName$y} wmMessage tabindex="0" #${counter}="wmMessage" ${getAttrMarkup(attrs)}>`;
103329
+ const counter = idGen$9.nextUid();
103330
+ return `<${tagName$w} wmMessage tabindex="0" #${counter}="wmMessage" ${getAttrMarkup(attrs)}>`;
103466
103331
  },
103467
- post: () => `</${tagName$y}>`
103332
+ post: () => `</${tagName$w}>`
103468
103333
  };
103469
103334
  });
103470
103335
  var message_build = () => { };
@@ -103474,11 +103339,11 @@ var message_build$1 = /*#__PURE__*/Object.freeze({
103474
103339
  default: message_build
103475
103340
  });
103476
103341
 
103477
- const tagName$x = 'ol';
103342
+ const tagName$v = 'ol';
103478
103343
  register('wm-breadcrumb', () => {
103479
103344
  return {
103480
- pre: attrs => `<${tagName$x} wmBreadcrumb ${getAttrMarkup(attrs)}>`,
103481
- post: () => `</${tagName$x}>`
103345
+ pre: attrs => `<${tagName$v} wmBreadcrumb ${getAttrMarkup(attrs)}>`,
103346
+ post: () => `</${tagName$v}>`
103482
103347
  };
103483
103348
  });
103484
103349
  var breadcrumb_build = () => { };
@@ -103488,7 +103353,7 @@ var breadcrumb_build$1 = /*#__PURE__*/Object.freeze({
103488
103353
  default: breadcrumb_build
103489
103354
  });
103490
103355
 
103491
- const tagName$w = 'div';
103356
+ const tagName$u = 'div';
103492
103357
  register('wm-menu', () => {
103493
103358
  return {
103494
103359
  pre: attrs => {
@@ -103503,13 +103368,13 @@ register('wm-menu', () => {
103503
103368
  else {
103504
103369
  styleBinding = `[ngStyle]="{'width': '${menuWidth}px'}"`;
103505
103370
  }
103506
- return `<${tagName$w} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
103371
+ return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
103507
103372
  }
103508
103373
  else {
103509
- return `<${tagName$w} wmMenu dropdown ${getAttrMarkup(attrs)}>`;
103374
+ return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)}>`;
103510
103375
  }
103511
103376
  },
103512
- post: () => `</${tagName$w}>`
103377
+ post: () => `</${tagName$u}>`
103513
103378
  };
103514
103379
  });
103515
103380
  var menu_build = () => { };
@@ -103519,11 +103384,11 @@ var menu_build$1 = /*#__PURE__*/Object.freeze({
103519
103384
  default: menu_build
103520
103385
  });
103521
103386
 
103522
- const tagName$v = 'li';
103387
+ const tagName$t = 'li';
103523
103388
  register('wm-nav-item', () => {
103524
103389
  return {
103525
- pre: attrs => `<${tagName$v} wmNavItem role="listitem" ${getAttrMarkup(attrs)}>`,
103526
- post: () => `</${tagName$v}>`
103390
+ pre: attrs => `<${tagName$t} wmNavItem role="listitem" ${getAttrMarkup(attrs)}>`,
103391
+ post: () => `</${tagName$t}>`
103527
103392
  };
103528
103393
  });
103529
103394
  var navItem_build = () => { };
@@ -103533,11 +103398,11 @@ var navItem_build$1 = /*#__PURE__*/Object.freeze({
103533
103398
  default: navItem_build
103534
103399
  });
103535
103400
 
103536
- const tagName$u = 'ul';
103401
+ const tagName$s = 'ul';
103537
103402
  register('wm-nav', () => {
103538
103403
  return {
103539
- pre: attrs => `<${tagName$u} wmNav data-element-type="wmNav" data-role="page-header" role="list" ${getAttrMarkup(attrs)}>`,
103540
- post: () => `</${tagName$u}>`
103404
+ pre: attrs => `<${tagName$s} wmNav data-element-type="wmNav" data-role="page-header" role="list" ${getAttrMarkup(attrs)}>`,
103405
+ post: () => `</${tagName$s}>`
103541
103406
  };
103542
103407
  });
103543
103408
  var nav_build = () => { };
@@ -103547,11 +103412,11 @@ var nav_build$1 = /*#__PURE__*/Object.freeze({
103547
103412
  default: nav_build
103548
103413
  });
103549
103414
 
103550
- const tagName$t = 'nav';
103415
+ const tagName$r = 'nav';
103551
103416
  register('wm-navbar', () => {
103552
103417
  return {
103553
- pre: attrs => `<${tagName$t} wmNavbar data-element-type="wmNavbar" role="navigation" ${getAttrMarkup(attrs)}>`,
103554
- post: () => `</${tagName$t}>`
103418
+ pre: attrs => `<${tagName$r} wmNavbar data-element-type="wmNavbar" role="navigation" ${getAttrMarkup(attrs)}>`,
103419
+ post: () => `</${tagName$r}>`
103555
103420
  };
103556
103421
  });
103557
103422
  var navbar_build = () => { };
@@ -103561,7 +103426,7 @@ var navbar_build$1 = /*#__PURE__*/Object.freeze({
103561
103426
  default: navbar_build
103562
103427
  });
103563
103428
 
103564
- const tagName$s = 'wm-popover';
103429
+ const tagName$q = 'wm-popover';
103565
103430
  register('wm-popover', () => {
103566
103431
  return {
103567
103432
  requires: ['wm-table'],
@@ -103581,7 +103446,7 @@ register('wm-popover', () => {
103581
103446
  popoverTemplate = `<div wmContainer #partial partialContainer ${contentMarkup}>`;
103582
103447
  shared.set('hasPopoverContent', true);
103583
103448
  }
103584
- let markup = `<${tagName$s} wmPopover ${getAttrMarkup(attrs)}>`;
103449
+ let markup = `<${tagName$q} wmPopover ${getAttrMarkup(attrs)}>`;
103585
103450
  const contextAttrs = table ? `let-row="row"` : ``;
103586
103451
  markup += `<ng-template ${contextAttrs}><div tabindex="0" class="popover-start sr-only" aria-label="">popover content start</div>`;
103587
103452
  // todo keyboard navigation - tab
@@ -103595,7 +103460,7 @@ register('wm-popover', () => {
103595
103460
  if (shared.get('hasPopoverContent')) {
103596
103461
  markup += `</div>`;
103597
103462
  }
103598
- return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$s}>`;
103463
+ return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$q}>`;
103599
103464
  }
103600
103465
  };
103601
103466
  });
@@ -103606,16 +103471,16 @@ var popover_build$1 = /*#__PURE__*/Object.freeze({
103606
103471
  default: popover_build
103607
103472
  });
103608
103473
 
103609
- const tagName$r = 'div';
103474
+ const tagName$p = 'div';
103610
103475
  const findChild = (node, childName) => {
103611
103476
  const child = node && node.children.find(e => (e instanceof Element$2 && e.name === childName));
103612
103477
  return child;
103613
103478
  };
103614
- const createElement$4 = name => {
103615
- return new Element$2(name, [], [], noSpan$4, noSpan$4, noSpan$4);
103479
+ const createElement$3 = name => {
103480
+ return new Element$2(name, [], [], noSpan$3, noSpan$3, noSpan$3);
103616
103481
  };
103617
- const addAtrribute$4 = (node, name, value) => {
103618
- const attr = new Attribute$1(name, value, noSpan$4, noSpan$4, noSpan$4, undefined, undefined);
103482
+ const addAtrribute$3 = (node, name, value) => {
103483
+ const attr = new Attribute$1(name, value, noSpan$3, noSpan$3, noSpan$3, undefined, undefined);
103619
103484
  node.attrs.push(attr);
103620
103485
  };
103621
103486
  const getElementNode = (name, node) => {
@@ -103636,8 +103501,8 @@ const getElementNode = (name, node) => {
103636
103501
  });
103637
103502
  return elementNode;
103638
103503
  };
103639
- const noSpan$4 = {};
103640
- const idGen$9 = new IDGenerator('wm_page');
103504
+ const noSpan$3 = {};
103505
+ const idGen$8 = new IDGenerator('wm_page');
103641
103506
  register('wm-page', () => {
103642
103507
  return {
103643
103508
  template: (node) => {
@@ -103646,24 +103511,24 @@ register('wm-page', () => {
103646
103511
  pageContentNode = getElementNode('wm-page-content', getElementNode('wm-content', node));
103647
103512
  }
103648
103513
  if (pageContentNode) {
103649
- const conditionalNode = createElement$4('ng-container');
103650
- addAtrribute$4(conditionalNode, '*ngIf', 'compilePageContent');
103514
+ const conditionalNode = createElement$3('ng-container');
103515
+ addAtrribute$3(conditionalNode, '*ngIf', 'compilePageContent');
103651
103516
  conditionalNode.children = conditionalNode.children.concat(pageContentNode.children);
103652
103517
  conditionalNode.children.push(new Text$1('{{onPageContentReady()}}', null, undefined, undefined));
103653
103518
  pageContentNode.children = [conditionalNode];
103654
103519
  if (isMobileApp()) {
103655
- const loader = createElement$4('div');
103656
- addAtrribute$4(loader, 'wmPageContentLoader', '');
103657
- addAtrribute$4(loader, '*ngIf', '!showPageContent');
103520
+ const loader = createElement$3('div');
103521
+ addAtrribute$3(loader, 'wmPageContentLoader', '');
103522
+ addAtrribute$3(loader, '*ngIf', '!showPageContent');
103658
103523
  pageContentNode.children.push(loader);
103659
103524
  }
103660
103525
  }
103661
103526
  },
103662
103527
  pre: (attrs) => {
103663
- const counter = idGen$9.nextUid();
103664
- return `<${tagName$r} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
103528
+ const counter = idGen$8.nextUid();
103529
+ return `<${tagName$p} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.arialabel" ${getAttrMarkup(attrs)}>`;
103665
103530
  },
103666
- post: () => `</${tagName$r}>`
103531
+ post: () => `</${tagName$p}>`
103667
103532
  };
103668
103533
  });
103669
103534
  var page_build = () => { };
@@ -103673,15 +103538,15 @@ var page_build$1 = /*#__PURE__*/Object.freeze({
103673
103538
  default: page_build
103674
103539
  });
103675
103540
 
103676
- const tagName$q = 'div';
103677
- const idGen$8 = new IDGenerator('wm_layout');
103541
+ const tagName$o = 'div';
103542
+ const idGen$7 = new IDGenerator('wm_layout');
103678
103543
  register('wm-layout', () => {
103679
103544
  return {
103680
103545
  pre: (attrs) => {
103681
- const counter = idGen$8.nextUid();
103682
- return `<${tagName$q} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.hint || 'Main page content'" ${getAttrMarkup(attrs)}>`;
103546
+ const counter = idGen$7.nextUid();
103547
+ return `<${tagName$o} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.arialabel" ${getAttrMarkup(attrs)}>`;
103683
103548
  },
103684
- post: () => `</${tagName$q}>`
103549
+ post: () => `</${tagName$o}>`
103685
103550
  };
103686
103551
  });
103687
103552
  var layout_build = () => { };
@@ -103691,11 +103556,11 @@ var layout_build$1 = /*#__PURE__*/Object.freeze({
103691
103556
  default: layout_build
103692
103557
  });
103693
103558
 
103694
- const tagName$p = 'router-outlet';
103559
+ const tagName$n = 'router-outlet';
103695
103560
  register('wm-router-outlet', () => {
103696
103561
  return {
103697
- pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$p} (activate)="onActivate($event)">`,
103698
- post: () => `</${tagName$p}></div>`
103562
+ pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$n} (activate)="onActivate($event)">`,
103563
+ post: () => `</${tagName$n}></div>`
103699
103564
  };
103700
103565
  });
103701
103566
  var routerOutlet_build = () => { };
@@ -103705,11 +103570,11 @@ var routerOutlet_build$1 = /*#__PURE__*/Object.freeze({
103705
103570
  default: routerOutlet_build
103706
103571
  });
103707
103572
 
103708
- const tagName$o = 'nav';
103573
+ const tagName$m = 'nav';
103709
103574
  register('wm-pagination', () => {
103710
103575
  return {
103711
- pre: attrs => `<${tagName$o} wmPagination data-identifier="pagination" aria-label="Page navigation" ${getAttrMarkup(attrs)}>`,
103712
- post: () => `</${tagName$o}>`
103576
+ pre: attrs => `<${tagName$m} wmPagination data-identifier="pagination" aria-label="Page navigation" ${getAttrMarkup(attrs)}>`,
103577
+ post: () => `</${tagName$m}>`
103713
103578
  };
103714
103579
  });
103715
103580
  var pagination_build = () => { };
@@ -103719,11 +103584,11 @@ var pagination_build$1 = /*#__PURE__*/Object.freeze({
103719
103584
  default: pagination_build
103720
103585
  });
103721
103586
 
103722
- const tagName$n = 'main';
103587
+ const tagName$l = 'main';
103723
103588
  register('wm-content', () => {
103724
103589
  return {
103725
- pre: attrs => `<${tagName$n} wmContent data-role="page-content" role="main" ${getAttrMarkup(attrs)}>`,
103726
- post: () => `</${tagName$n}>`
103590
+ pre: attrs => `<${tagName$l} wmContent data-role="page-content" role="main" ${getAttrMarkup(attrs)}>`,
103591
+ post: () => `</${tagName$l}>`
103727
103592
  };
103728
103593
  });
103729
103594
  var content_build = () => { };
@@ -103733,15 +103598,15 @@ var content_build$1 = /*#__PURE__*/Object.freeze({
103733
103598
  default: content_build
103734
103599
  });
103735
103600
 
103736
- const tagName$m = 'footer';
103737
- const idGen$7 = new IDGenerator('wm_footer');
103601
+ const tagName$k = 'footer';
103602
+ const idGen$6 = new IDGenerator('wm_footer');
103738
103603
  register('wm-footer', () => {
103739
103604
  return {
103740
103605
  pre: (attrs) => {
103741
- const counter = idGen$7.nextUid();
103742
- return `<${tagName$m} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.hint || 'Page footer'" ${getAttrMarkup(attrs)}>`;
103606
+ const counter = idGen$6.nextUid();
103607
+ return `<${tagName$k} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.arialabel || 'Page footer'" ${getAttrMarkup(attrs)}>`;
103743
103608
  },
103744
- post: () => `</${tagName$m}>`
103609
+ post: () => `</${tagName$k}>`
103745
103610
  };
103746
103611
  });
103747
103612
  var footer_build = () => { };
@@ -103751,15 +103616,15 @@ var footer_build$1 = /*#__PURE__*/Object.freeze({
103751
103616
  default: footer_build
103752
103617
  });
103753
103618
 
103754
- const tagName$l = 'header';
103755
- const idGen$6 = new IDGenerator('wm_header');
103619
+ const tagName$j = 'header';
103620
+ const idGen$5 = new IDGenerator('wm_header');
103756
103621
  register('wm-header', () => {
103757
103622
  return {
103758
103623
  pre: (attrs) => {
103759
- const counter = idGen$6.nextUid();
103760
- return `<${tagName$l} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.hint || 'Page header'" ${getAttrMarkup(attrs)}>`;
103624
+ const counter = idGen$5.nextUid();
103625
+ return `<${tagName$j} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.arialabel || 'Page header'" ${getAttrMarkup(attrs)}>`;
103761
103626
  },
103762
- post: () => `</${tagName$l}>`
103627
+ post: () => `</${tagName$j}>`
103763
103628
  };
103764
103629
  });
103765
103630
  var header_build = () => { };
@@ -103769,15 +103634,15 @@ var header_build$1 = /*#__PURE__*/Object.freeze({
103769
103634
  default: header_build
103770
103635
  });
103771
103636
 
103772
- const tagName$k = 'aside';
103773
- const idGen$5 = new IDGenerator('wm_left_panel');
103637
+ const tagName$i = 'aside';
103638
+ const idGen$4 = new IDGenerator('wm_left_panel');
103774
103639
  register('wm-left-panel', () => {
103775
103640
  return {
103776
103641
  pre: (attrs) => {
103777
- const counter = idGen$5.nextUid();
103778
- 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)}>`;
103642
+ const counter = idGen$4.nextUid();
103643
+ return `<${tagName$i} wmLeftPanel #${counter}="wmLeftPanel" partialContainer data-role="page-left-panel" [attr.aria-label]="${counter}.arialabel || 'Left navigation panel'" wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`;
103779
103644
  },
103780
- post: () => `</${tagName$k}>`
103645
+ post: () => `</${tagName$i}>`
103781
103646
  };
103782
103647
  });
103783
103648
  var leftPanel_build = () => { };
@@ -103787,11 +103652,11 @@ var leftPanel_build$1 = /*#__PURE__*/Object.freeze({
103787
103652
  default: leftPanel_build
103788
103653
  });
103789
103654
 
103790
- const tagName$j = 'header';
103655
+ const tagName$h = 'header';
103791
103656
  register('wm-mobile-navbar', () => {
103792
103657
  return {
103793
- pre: attrs => `<${tagName$j} wmMobileNavbar ${getAttrMarkup(attrs)}>`,
103794
- post: () => `</${tagName$j}>`
103658
+ pre: attrs => `<${tagName$h} wmMobileNavbar ${getAttrMarkup(attrs)}>`,
103659
+ post: () => `</${tagName$h}>`
103795
103660
  };
103796
103661
  });
103797
103662
  var mobileNavbar_build = () => { };
@@ -103801,15 +103666,15 @@ var mobileNavbar_build$1 = /*#__PURE__*/Object.freeze({
103801
103666
  default: mobileNavbar_build
103802
103667
  });
103803
103668
 
103804
- const tagName$i = 'aside';
103805
- const idGen$4 = new IDGenerator('wm_right_panel');
103669
+ const tagName$g = 'aside';
103670
+ const idGen$3 = new IDGenerator('wm_right_panel');
103806
103671
  register('wm-right-panel', () => {
103807
103672
  return {
103808
103673
  pre: (attrs) => {
103809
- const counter = idGen$4.nextUid();
103810
- return `<${tagName$i} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.hint || 'Right navigation panel'" ${getAttrMarkup(attrs)}>`;
103674
+ const counter = idGen$3.nextUid();
103675
+ return `<${tagName$g} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.arialabel || 'Right navigation panel'" ${getAttrMarkup(attrs)}>`;
103811
103676
  },
103812
- post: () => `</${tagName$i}>`
103677
+ post: () => `</${tagName$g}>`
103813
103678
  };
103814
103679
  });
103815
103680
  var rightPanel_build = () => { };
@@ -103819,22 +103684,22 @@ var rightPanel_build$1 = /*#__PURE__*/Object.freeze({
103819
103684
  default: rightPanel_build
103820
103685
  });
103821
103686
 
103822
- const tagName$h = 'div';
103823
- const createElement$3 = name => {
103824
- return new Element$2(name, [], [], noSpan$3, noSpan$3, noSpan$3);
103687
+ const tagName$f = 'div';
103688
+ const createElement$2 = name => {
103689
+ return new Element$2(name, [], [], noSpan$2, noSpan$2, noSpan$2);
103825
103690
  };
103826
- const addAtrribute$3 = (node, name, value) => {
103827
- const attr = new Attribute$1(name, value, noSpan$3, noSpan$3, noSpan$3, undefined, undefined);
103691
+ const addAtrribute$2 = (node, name, value) => {
103692
+ const attr = new Attribute$1(name, value, noSpan$2, noSpan$2, noSpan$2, undefined, undefined);
103828
103693
  node.attrs.push(attr);
103829
103694
  };
103830
- const noSpan$3 = {};
103695
+ const noSpan$2 = {};
103831
103696
  register('wm-page-content', () => {
103832
103697
  return {
103833
103698
  template: (node) => {
103834
103699
  for (let attr of node.attrs) {
103835
103700
  if (attr.name === 'spa' && attr.value === 'true') {
103836
- const conditionalNode = createElement$3('ng-container');
103837
- addAtrribute$3(conditionalNode, '*ngIf', 'compilePageContent');
103701
+ const conditionalNode = createElement$2('ng-container');
103702
+ addAtrribute$2(conditionalNode, '*ngIf', 'compilePageContent');
103838
103703
  conditionalNode.children = conditionalNode.children.concat(node.children);
103839
103704
  conditionalNode.children.push(new Text$1('{{onPageContentReady()}}', null, undefined, undefined));
103840
103705
  node.children = [conditionalNode];
@@ -103842,8 +103707,8 @@ register('wm-page-content', () => {
103842
103707
  }
103843
103708
  }
103844
103709
  },
103845
- pre: attrs => `<${tagName$h} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
103846
- post: () => `</${tagName$h}>`
103710
+ pre: attrs => `<${tagName$f} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
103711
+ post: () => `</${tagName$f}>`
103847
103712
  };
103848
103713
  });
103849
103714
  var pageContent_build = () => { };
@@ -103853,11 +103718,11 @@ var pageContent_build$1 = /*#__PURE__*/Object.freeze({
103853
103718
  default: pageContent_build
103854
103719
  });
103855
103720
 
103856
- const tagName$g = 'div';
103721
+ const tagName$e = 'div';
103857
103722
  register('wm-mobile-tabbar', () => {
103858
103723
  return {
103859
- pre: attrs => `<${tagName$g} wmMobileTabbar ${getAttrMarkup(attrs)}>`,
103860
- post: () => `</${tagName$g}>`
103724
+ pre: attrs => `<${tagName$e} wmMobileTabbar ${getAttrMarkup(attrs)}>`,
103725
+ post: () => `</${tagName$e}>`
103861
103726
  };
103862
103727
  });
103863
103728
  var tabBar_build = () => { };
@@ -103867,15 +103732,15 @@ var tabBar_build$1 = /*#__PURE__*/Object.freeze({
103867
103732
  default: tabBar_build
103868
103733
  });
103869
103734
 
103870
- const tagName$f = 'section';
103871
- const idGen$3 = new IDGenerator('wm_top_nav');
103735
+ const tagName$d = 'section';
103736
+ const idGen$2 = new IDGenerator('wm_top_nav');
103872
103737
  register('wm-top-nav', () => {
103873
103738
  return {
103874
103739
  pre: (attrs) => {
103875
- const counter = idGen$3.nextUid();
103876
- return `<${tagName$f} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.hint || 'Second level navigation'" ${getAttrMarkup(attrs)}>`;
103740
+ const counter = idGen$2.nextUid();
103741
+ return `<${tagName$d} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.arialabel || 'Second level navigation'" ${getAttrMarkup(attrs)}>`;
103877
103742
  },
103878
- post: () => `</${tagName$f}>`
103743
+ post: () => `</${tagName$d}>`
103879
103744
  };
103880
103745
  });
103881
103746
  var topNav_build = () => { };
@@ -103885,26 +103750,26 @@ var topNav_build$1 = /*#__PURE__*/Object.freeze({
103885
103750
  default: topNav_build
103886
103751
  });
103887
103752
 
103888
- const tagName$e = 'section';
103889
- const noSpan$2 = {};
103890
- const createElement$2 = name => {
103891
- return new Element$2(name, [], [], noSpan$2, noSpan$2, noSpan$2);
103753
+ const tagName$c = 'section';
103754
+ const noSpan$1 = {};
103755
+ const createElement$1 = name => {
103756
+ return new Element$2(name, [], [], noSpan$1, noSpan$1, noSpan$1);
103892
103757
  };
103893
- const addAtrribute$2 = (node, name, value) => {
103894
- const attr = new Attribute$1(name, value, noSpan$2, noSpan$2, noSpan$2, undefined, undefined);
103758
+ const addAtrribute$1 = (node, name, value) => {
103759
+ const attr = new Attribute$1(name, value, noSpan$1, noSpan$1, noSpan$1, undefined, undefined);
103895
103760
  node.attrs.push(attr);
103896
103761
  };
103897
103762
  register('wm-partial', () => {
103898
103763
  return {
103899
103764
  template: (node) => {
103900
- const conditionalNode = createElement$2('ng-container');
103901
- addAtrribute$2(conditionalNode, '*ngIf', 'compileContent');
103765
+ const conditionalNode = createElement$1('ng-container');
103766
+ addAtrribute$1(conditionalNode, '*ngIf', 'compileContent');
103902
103767
  conditionalNode.children = conditionalNode.children.concat(node.children);
103903
103768
  node.children.length = 0;
103904
103769
  node.children.push(conditionalNode);
103905
103770
  },
103906
- pre: attrs => `<${tagName$e} wmPartial data-role="partial" ${getAttrMarkup(attrs)}>`,
103907
- post: () => `</${tagName$e}>`
103771
+ pre: attrs => `<${tagName$c} wmPartial data-role="partial" ${getAttrMarkup(attrs)}>`,
103772
+ post: () => `</${tagName$c}>`
103908
103773
  };
103909
103774
  });
103910
103775
  var partial_build = () => { };
@@ -103914,11 +103779,11 @@ var partial_build$1 = /*#__PURE__*/Object.freeze({
103914
103779
  default: partial_build
103915
103780
  });
103916
103781
 
103917
- const tagName$d = 'div';
103782
+ const tagName$b = 'div';
103918
103783
  register('wm-param', () => {
103919
103784
  return {
103920
- pre: attrs => `<${tagName$d} wmParam hidden ${getAttrMarkup(attrs)}>`,
103921
- post: () => `</${tagName$d}>`
103785
+ pre: attrs => `<${tagName$b} wmParam hidden ${getAttrMarkup(attrs)}>`,
103786
+ post: () => `</${tagName$b}>`
103922
103787
  };
103923
103788
  });
103924
103789
  var partialParam_build = () => { };
@@ -103928,11 +103793,11 @@ var partialParam_build$1 = /*#__PURE__*/Object.freeze({
103928
103793
  default: partialParam_build
103929
103794
  });
103930
103795
 
103931
- const tagName$c = 'section';
103796
+ const tagName$a = 'section';
103932
103797
  register('wm-prefab', () => {
103933
103798
  return {
103934
- pre: attrs => `<${tagName$c} wmPrefab redrawable data-role="prefab" ${getAttrMarkup(attrs)}>`,
103935
- post: () => `</${tagName$c}>`
103799
+ pre: attrs => `<${tagName$a} wmPrefab redrawable data-role="prefab" ${getAttrMarkup(attrs)}>`,
103800
+ post: () => `</${tagName$a}>`
103936
103801
  };
103937
103802
  });
103938
103803
  var prefab_build = () => { };
@@ -103942,26 +103807,26 @@ var prefab_build$1 = /*#__PURE__*/Object.freeze({
103942
103807
  default: prefab_build
103943
103808
  });
103944
103809
 
103945
- const noSpan$1 = {};
103946
- const createElement$1 = name => {
103947
- return new Element$2(name, [], [], noSpan$1, noSpan$1, noSpan$1);
103810
+ const noSpan = {};
103811
+ const createElement = name => {
103812
+ return new Element$2(name, [], [], noSpan, noSpan, noSpan);
103948
103813
  };
103949
- const addAtrribute$1 = (node, name, value) => {
103950
- const attr = new Attribute$1(name, value, noSpan$1, noSpan$1, noSpan$1, undefined, undefined);
103814
+ const addAtrribute = (node, name, value) => {
103815
+ const attr = new Attribute$1(name, value, noSpan, noSpan, noSpan, undefined, undefined);
103951
103816
  node.attrs.push(attr);
103952
103817
  };
103953
- const tagName$b = 'div';
103818
+ const tagName$9 = 'div';
103954
103819
  register('wm-prefab-container', () => {
103955
103820
  return {
103956
103821
  template: (node) => {
103957
- const conditionalNode = createElement$1('ng-container');
103958
- addAtrribute$1(conditionalNode, '*ngIf', 'compileContent');
103822
+ const conditionalNode = createElement('ng-container');
103823
+ addAtrribute(conditionalNode, '*ngIf', 'compileContent');
103959
103824
  conditionalNode.children = conditionalNode.children.concat(node.children);
103960
103825
  node.children.length = 0;
103961
103826
  node.children.push(conditionalNode);
103962
103827
  },
103963
- pre: attrs => `<${tagName$b} wmPrefabContainer ${getAttrMarkup(attrs)}>`,
103964
- post: () => `</${tagName$b}>`
103828
+ pre: attrs => `<${tagName$9} wmPrefabContainer ${getAttrMarkup(attrs)}>`,
103829
+ post: () => `</${tagName$9}>`
103965
103830
  };
103966
103831
  });
103967
103832
  var prefabContainer_build = () => { };
@@ -103971,11 +103836,11 @@ var prefabContainer_build$1 = /*#__PURE__*/Object.freeze({
103971
103836
  default: prefabContainer_build
103972
103837
  });
103973
103838
 
103974
- const tagName$a = 'div';
103839
+ const tagName$8 = 'div';
103975
103840
  register('wm-table-action', () => {
103976
103841
  return {
103977
- pre: attrs => `<${tagName$a} name="${attrs.get('name') || attrs.get('key')}" wmTableAction ${getAttrMarkup(attrs)}>`,
103978
- post: () => `</${tagName$a}>`
103842
+ pre: attrs => `<${tagName$8} name="${attrs.get('name') || attrs.get('key')}" wmTableAction ${getAttrMarkup(attrs)}>`,
103843
+ post: () => `</${tagName$8}>`
103979
103844
  };
103980
103845
  });
103981
103846
  var tableAction_build = () => { };
@@ -103985,11 +103850,11 @@ var tableAction_build$1 = /*#__PURE__*/Object.freeze({
103985
103850
  default: tableAction_build
103986
103851
  });
103987
103852
 
103988
- const tagName$9 = 'div';
103853
+ const tagName$7 = 'div';
103989
103854
  register('wm-table-column-group', () => {
103990
103855
  return {
103991
- pre: attrs => `<${tagName$9} wmTableColumnGroup ${getAttrMarkup(attrs)}>`,
103992
- post: () => `</${tagName$9}>`
103856
+ pre: attrs => `<${tagName$7} wmTableColumnGroup ${getAttrMarkup(attrs)}>`,
103857
+ post: () => `</${tagName$7}>`
103993
103858
  };
103994
103859
  });
103995
103860
  var tableColumnGroup_build = () => { };
@@ -103999,8 +103864,8 @@ var tableColumnGroup_build$1 = /*#__PURE__*/Object.freeze({
103999
103864
  default: tableColumnGroup_build
104000
103865
  });
104001
103866
 
104002
- const tagName$8 = 'div';
104003
- const idGen$2 = new IDGenerator('data_table_form_');
103867
+ const tagName$6 = 'div';
103868
+ const idGen$1 = new IDGenerator('data_table_form_');
104004
103869
  const formWidgets = new Set([
104005
103870
  'wm-text',
104006
103871
  'wm-textarea',
@@ -104112,7 +103977,7 @@ const getInlineEditWidgetTmpl = (attrs, isNewRow, errorstyle, pCounter) => {
104112
103977
  let wmFormWidget = '';
104113
103978
  if (widget === FormWidgetType.UPLOAD) {
104114
103979
  options.uploadProps = {
104115
- formName: idGen$2.nextUid(),
103980
+ formName: idGen$1.nextUid(),
104116
103981
  name: fieldName
104117
103982
  };
104118
103983
  options.counter = pCounter;
@@ -104252,7 +104117,7 @@ register('wm-table-column', () => {
104252
104117
  customExprTmpl = `${customExpr}<div data-col-identifier="${attrs.get('binding')}" title="${formatExprTmpl}">${formatExprTmpl}`;
104253
104118
  }
104254
104119
  }
104255
- return `<${tagName$8} wmTableColumn ${getAttrMarkup(attrs)} ${parentForm}>
104120
+ return `<${tagName$6} wmTableColumn ${getAttrMarkup(attrs)} ${parentForm}>
104256
104121
  ${rowFilterTmpl}
104257
104122
  ${inlineEditTmpl}
104258
104123
  ${inlineNewEditTmpl}
@@ -104263,7 +104128,7 @@ register('wm-table-column', () => {
104263
104128
  if (shared.get('customExpression')) {
104264
104129
  customExprTmpl = `</div></ng-template>`;
104265
104130
  }
104266
- return `${customExprTmpl}</${tagName$8}>`;
104131
+ return `${customExprTmpl}</${tagName$6}>`;
104267
104132
  },
104268
104133
  imports: (attrs) => {
104269
104134
  const editWidgetType = attrs.get('edit-widget-type');
@@ -104279,7 +104144,7 @@ var tableColumn_build$1 = /*#__PURE__*/Object.freeze({
104279
104144
  default: tableColumn_build
104280
104145
  });
104281
104146
 
104282
- const tagName$7 = 'div';
104147
+ const tagName$5 = 'div';
104283
104148
  const getRowExpansionActionTmpl = (attrs) => {
104284
104149
  const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';
104285
104150
  const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';
@@ -104295,7 +104160,7 @@ const getRowExpansionActionTmpl = (attrs) => {
104295
104160
  register('wm-table-row', () => {
104296
104161
  return {
104297
104162
  pre: (attrs) => {
104298
- return `<${tagName$7} wmTableRow ${getAttrMarkup(attrs)}>
104163
+ return `<${tagName$5} wmTableRow ${getAttrMarkup(attrs)}>
104299
104164
  ${getRowExpansionActionTmpl(attrs)}
104300
104165
  <ng-template #rowExpansionTmpl let-row="row" let-rowDef="rowDef" let-containerLoad="containerLoad">
104301
104166
  <div wmContainer partialContainer content.bind="rowDef.content" load.event="containerLoad(widget)"
@@ -104303,7 +104168,7 @@ register('wm-table-row', () => {
104303
104168
  <div *ngFor="let param of rowDef.partialParams | keyvalue" wmParam hidden
104304
104169
  [name]="param.key" [value]="param.value"></div>`;
104305
104170
  },
104306
- post: () => `</div></ng-template></${tagName$7}>`
104171
+ post: () => `</div></ng-template></${tagName$5}>`
104307
104172
  };
104308
104173
  });
104309
104174
  var tableRow_build = () => { };
@@ -104313,7 +104178,7 @@ var tableRow_build$1 = /*#__PURE__*/Object.freeze({
104313
104178
  default: tableRow_build
104314
104179
  });
104315
104180
 
104316
- const tagName$6 = 'div';
104181
+ const tagName$4 = 'div';
104317
104182
  const getSaveCancelTemplate = () => {
104318
104183
  return `<button type="button" aria-label="Save edit icon" class="save row-action-button btn app-button btn-transparent save-edit-row-button hidden" title="Save">
104319
104184
  <i class="wi wi-done" aria-hidden="true"></i>
@@ -104345,9 +104210,9 @@ const getRowActionTmpl = (attrs) => {
104345
104210
  };
104346
104211
  register('wm-table-row-action', () => {
104347
104212
  return {
104348
- pre: attrs => `<${tagName$6} wmTableRowAction ${getAttrMarkup(attrs)}>
104213
+ pre: attrs => `<${tagName$4} wmTableRowAction ${getAttrMarkup(attrs)}>
104349
104214
  ${getRowActionTmpl(attrs)}`,
104350
- post: () => `</${tagName$6}>`
104215
+ post: () => `</${tagName$4}>`
104351
104216
  };
104352
104217
  });
104353
104218
  var tableRowAction_build = () => { };
@@ -104357,9 +104222,9 @@ var tableRowAction_build$1 = /*#__PURE__*/Object.freeze({
104357
104222
  default: tableRowAction_build
104358
104223
  });
104359
104224
 
104360
- const tagName$5 = 'div';
104225
+ const tagName$3 = 'div';
104361
104226
  const dataSetKey = 'dataset';
104362
- const idGen$1 = new IDGenerator('table_');
104227
+ const idGen = new IDGenerator('table_');
104363
104228
  let columnIndex = 0;
104364
104229
  /**
104365
104230
  * This method assigns index to the table-column and column-groups in order to the maintain the columns in the same order
@@ -104419,14 +104284,14 @@ register('wm-table', () => {
104419
104284
  updateTemplateAttrs(node, boundExpr, widgetNameAttr.value, '', 'row');
104420
104285
  },
104421
104286
  pre: (attrs, shared) => {
104422
- const counter = idGen$1.nextUid();
104287
+ const counter = idGen.nextUid();
104423
104288
  shared.set('counter', counter);
104424
104289
  attrs.set('isdynamictable', shared.get('isdynamictable'));
104425
104290
  attrs.set('isrowexpansionenabled', shared.get('isrowexpansionenabled'));
104426
104291
  attrs.set('table_reference', counter);
104427
- return `<${tagName$5} wmTable="${counter}" wmTableFilterSort wmTableCUD #${counter} data-identifier="table" ${getAttrMarkup(attrs)}>`;
104292
+ return `<${tagName$3} wmTable="${counter}" wmTableFilterSort wmTableCUD #${counter} data-identifier="table" ${getAttrMarkup(attrs)}>`;
104428
104293
  },
104429
- post: () => `</${tagName$5}>`,
104294
+ post: () => `</${tagName$3}>`,
104430
104295
  provide: (attrs, shared) => {
104431
104296
  const provider = new Map();
104432
104297
  provider.set('table_reference', shared.get('counter'));
@@ -104445,11 +104310,11 @@ var table_build$1 = /*#__PURE__*/Object.freeze({
104445
104310
  default: table_build
104446
104311
  });
104447
104312
 
104448
- const tagName$4 = 'div';
104313
+ const tagName$2 = 'div';
104449
104314
  register('wm-video', () => {
104450
104315
  return {
104451
- pre: attrs => `<${tagName$4} wmVideo ${getAttrMarkup(attrs)}>`,
104452
- post: () => `</${tagName$4}>`
104316
+ pre: attrs => `<${tagName$2} wmVideo ${getAttrMarkup(attrs)}>`,
104317
+ post: () => `</${tagName$2}>`
104453
104318
  };
104454
104319
  });
104455
104320
  var video_build = () => { };
@@ -104459,7 +104324,7 @@ var video_build$1 = /*#__PURE__*/Object.freeze({
104459
104324
  default: video_build
104460
104325
  });
104461
104326
 
104462
- const tagName$3 = 'div';
104327
+ const tagName$1 = 'div';
104463
104328
  const SPACING_KEY = 'parentLinearLayout.spacing';
104464
104329
  register('wm-linearlayout', () => {
104465
104330
  return {
@@ -104467,9 +104332,9 @@ register('wm-linearlayout', () => {
104467
104332
  pre: (attrs, shared, provider) => {
104468
104333
  let spacing = attrs.get('spacing');
104469
104334
  attrs.set('spacing', (!spacing || spacing === '0') && provider ? provider.get(SPACING_KEY) : spacing);
104470
- return `<${tagName$3} wmLinearLayout ${getAttrMarkup(attrs)}>`;
104335
+ return `<${tagName$1} wmLinearLayout ${getAttrMarkup(attrs)}>`;
104471
104336
  },
104472
- post: () => `</${tagName$3}>`,
104337
+ post: () => `</${tagName$1}>`,
104473
104338
  provide: (attrs, shared) => {
104474
104339
  const provider = new Map();
104475
104340
  provider.set(SPACING_KEY, attrs.get('spacing'));
@@ -104484,11 +104349,11 @@ var linearLayout_build$1 = /*#__PURE__*/Object.freeze({
104484
104349
  default: linearLayout_build
104485
104350
  });
104486
104351
 
104487
- const tagName$2 = 'div';
104352
+ const tagName = 'div';
104488
104353
  register('wm-linearlayoutitem', () => {
104489
104354
  return {
104490
- pre: attrs => `<${tagName$2} wmLinearLayoutItem ${getAttrMarkup(attrs)}>`,
104491
- post: () => `</${tagName$2}>`
104355
+ pre: attrs => `<${tagName} wmLinearLayoutItem ${getAttrMarkup(attrs)}>`,
104356
+ post: () => `</${tagName}>`
104492
104357
  };
104493
104358
  });
104494
104359
  var linearLayoutItem_build = () => { };
@@ -104498,49 +104363,6 @@ var linearLayoutItem_build$1 = /*#__PURE__*/Object.freeze({
104498
104363
  default: linearLayoutItem_build
104499
104364
  });
104500
104365
 
104501
- const tagName$1 = 'div';
104502
- const idGen = new IDGenerator('wm_custom_widget');
104503
- register('wm-custom-widget', () => {
104504
- return {
104505
- pre: (attrs) => {
104506
- const counter = idGen.nextUid();
104507
- return `<${tagName$1} wmWidgetContainer customWidgetContainer #${counter}="wmWidgetContainer" ${getAttrMarkup(attrs)}>`;
104508
- },
104509
- post: () => `</${tagName$1}>`
104510
- };
104511
- });
104512
- var customWidgetContainer_build = () => { };
104513
-
104514
- var customWidgetContainer_build$1 = /*#__PURE__*/Object.freeze({
104515
- __proto__: null,
104516
- default: customWidgetContainer_build
104517
- });
104518
-
104519
- const tagName = 'section';
104520
- const noSpan = {};
104521
- const createElement = name => {
104522
- return new Element$2(name, [], [], noSpan, noSpan, noSpan);
104523
- };
104524
- register('wm-custom-widget-container', () => {
104525
- return {
104526
- template: (node) => {
104527
- const conditionalNode = createElement('ng-container');
104528
- // addAtrribute(conditionalNode, '*ngIf', 'compileContent');
104529
- conditionalNode.children = conditionalNode.children.concat(node.children);
104530
- node.children.length = 0;
104531
- node.children.push(conditionalNode);
104532
- },
104533
- pre: attrs => `<${tagName} wmCustomWidget data-role="widget" ${getAttrMarkup(attrs)}>`,
104534
- post: () => `</${tagName}>`
104535
- };
104536
- });
104537
- var customWidgetWrapper_build = () => { };
104538
-
104539
- var customWidgetWrapper_build$1 = /*#__PURE__*/Object.freeze({
104540
- __proto__: null,
104541
- default: customWidgetWrapper_build
104542
- });
104543
-
104544
104366
  const initComponentsBuildTask = () => { };
104545
104367
 
104546
104368
  exports.WIDGET_IMPORTS = WIDGET_IMPORTS;
@@ -104572,8 +104394,6 @@ exports.confirmDlgBuild = confirmDialog_build$1;
104572
104394
  exports.containerBuild = container_build$1;
104573
104395
  exports.contentBuild = content_build$1;
104574
104396
  exports.currencyBuild = currency_build$1;
104575
- exports.customWidgetBuild = customWidgetContainer_build$1;
104576
- exports.customWidgetWrapperBuild = customWidgetWrapper_build$1;
104577
104397
  exports.dateBuild = date_build$1;
104578
104398
  exports.dateTimeBuild = dateTime_build$1;
104579
104399
  exports.dlgBuild = dialog_build$1;