@wavemaker/angular-codegen 11.0.1-next.138729 → 11.0.1-next.138732

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. angular-codegen/angular-app/build-scripts/post-build.js +30 -50
  2. angular-codegen/angular-app/package-lock.json +252 -24494
  3. angular-codegen/angular-app/package.json +1 -1
  4. angular-codegen/angular-app/src/assets/styles/css/wm-style.css +1 -1
  5. angular-codegen/dependencies/app.component.html +22 -0
  6. angular-codegen/dependencies/expression-parser.cjs.js +17809 -0
  7. angular-codegen/dependencies/pipe-provider.cjs.js +69090 -0
  8. angular-codegen/dependencies/transpilation-mobile.cjs.js +557 -381
  9. angular-codegen/dependencies/transpilation-web.cjs.js +557 -381
  10. angular-codegen/package-lock.json +18 -5488
  11. angular-codegen/package.json +1 -1
  12. angular-codegen/src/codegen-args-cli.js +1 -1
  13. angular-codegen/src/codegen-cli.js +1 -1
  14. angular-codegen/src/codegen.js +1 -1
  15. angular-codegen/src/expr-parser-utils.js +1 -0
  16. angular-codegen/src/gen-app-skeleton.js +1 -1
  17. angular-codegen/src/gen-app-variables.js +1 -1
  18. angular-codegen/src/gen-components.js +1 -1
  19. angular-codegen/src/gen-layouts.js +1 -0
  20. angular-codegen/src/handlebar-helpers.js +1 -1
  21. angular-codegen/src/pages-util.js +1 -1
  22. angular-codegen/src/wm-utils.js +1 -1
  23. angular-codegen/templates/app-routes.ts.hbs +1 -1
  24. angular-codegen/templates/app.component.script.js.hbs +6 -1
  25. angular-codegen/templates/component.expressions.ts.hbs +3 -0
  26. angular-codegen/templates/expr-vs-fn.hbs +3 -0
  27. angular-codegen/templates/layout/layout.component.ts.hbs +4 -18
  28. angular-codegen/templates/layout/layout.module.ts.hbs +2 -4
  29. angular-codegen/templates/page/page.component.ts.hbs +9 -3
  30. angular-codegen/templates/partial/partial.component.ts.hbs +7 -0
  31. angular-codegen/templates/prefab/prefab.component.ts.hbs +7 -0
  32. angular-codegen/templates/layout/layout.component.script.js.hbs +0 -3
@@ -38622,9 +38622,12 @@ class ASTCompiler {
38622
38622
  cleanup() {
38623
38623
  this.ast = this.cAst = this.stmts = this.cStmts = this.declarations = this.pipes = this.pipeNameVsIsPureMap = undefined;
38624
38624
  }
38625
- compile() {
38625
+ compile(defOnly) {
38626
38626
  this.extendCtxWithLocals();
38627
38627
  this.addReturnStmt(this.build(this.ast));
38628
+ if (defOnly) {
38629
+ return { fnBody: this.fnBody(), fnArgs: this.fnArgs(), pipes: this.pipes };
38630
+ }
38628
38631
  const fn = new Function(this.fnArgs(), this.fnBody());
38629
38632
  let boundFn;
38630
38633
  if (this.exprType === ExpressionType$1.Binding) {
@@ -38643,13 +38646,27 @@ const nullPipe = () => {
38643
38646
  transform: noop$1$1
38644
38647
  };
38645
38648
  };
38649
+ let _cspEnabled;
38650
+ const isCSPEnabled = () => {
38651
+ if (typeof _cspEnabled !== 'undefined') {
38652
+ return _cspEnabled;
38653
+ }
38654
+ try {
38655
+ new Function();
38656
+ _cspEnabled = false;
38657
+ }
38658
+ catch (e) {
38659
+ _cspEnabled = true;
38660
+ }
38661
+ return _cspEnabled;
38662
+ };
38646
38663
  let pipeProvider;
38647
38664
  var ExpressionType$1;
38648
38665
  (function (ExpressionType$$1) {
38649
38666
  ExpressionType$$1[ExpressionType$$1["Binding"] = 0] = "Binding";
38650
38667
  ExpressionType$$1[ExpressionType$$1["Action"] = 1] = "Action";
38651
38668
  })(ExpressionType$1 || (ExpressionType$1 = {}));
38652
- function $parseExpr(expr) {
38669
+ function $parseExpr(expr, defOnly) {
38653
38670
  if (!pipeProvider) {
38654
38671
  console.log('set pipe provider');
38655
38672
  return noop$1$1;
@@ -38668,51 +38685,89 @@ function $parseExpr(expr) {
38668
38685
  if (fn) {
38669
38686
  return fn;
38670
38687
  }
38671
- const parser = new Parser$1(new Lexer);
38672
- const ast = parser.parseBinding(expr, '', 0);
38673
38688
  let boundFn;
38674
- if (ast.errors.length) {
38675
- fn = noop$1$1;
38676
- boundFn = fn;
38677
- }
38678
- else {
38679
- const pipeNameVsIsPureMap = pipeProvider.getPipeNameVsIsPureMap();
38680
- const astCompiler = new ASTCompiler(ast.ast, ExpressionType$1.Binding, pipeNameVsIsPureMap);
38681
- fn = astCompiler.compile();
38682
- if (fn.usedPipes.length) {
38683
- const pipeArgs = [];
38684
- let hasPurePipe = false;
38685
- for (const [pipeName] of fn.usedPipes) {
38686
- const pipeInfo = pipeProvider.meta(pipeName);
38687
- let pipeInstance;
38688
- if (!pipeInfo) {
38689
- pipeInstance = nullPipe;
38689
+ if (!defOnly) {
38690
+ boundFn = getFnForBindExpr(expr);
38691
+ }
38692
+ // fallback to generate function in runtime. This will break if CSP is enabled
38693
+ if (!boundFn) {
38694
+ // If CSP enabled, function def not found from the generated fn expressions for the page.
38695
+ // Handle bind expressions used internally inside WM components. e.g. wmAnchor used inside nav.comp.html
38696
+ if (isCSPEnabled()) {
38697
+ boundFn = function (ctx, locals) {
38698
+ // handle internal bindings for wm widgets used inside a component
38699
+ let _ctx = Object.assign({}, locals);
38700
+ Object.setPrototypeOf(_ctx, ctx);
38701
+ return _.get(_ctx, expr);
38702
+ };
38703
+ }
38704
+ else {
38705
+ const parser = new Parser$1(new Lexer);
38706
+ const ast = parser.parseBinding(expr, '', 0);
38707
+ if (ast.errors.length) {
38708
+ fn = noop$1$1;
38709
+ boundFn = fn;
38710
+ }
38711
+ else {
38712
+ const pipeNameVsIsPureMap = pipeProvider.getPipeNameVsIsPureMap();
38713
+ const astCompiler = new ASTCompiler(ast.ast, ExpressionType$1.Binding, pipeNameVsIsPureMap);
38714
+ fn = astCompiler.compile(defOnly);
38715
+ if (defOnly) {
38716
+ return fn;
38717
+ }
38718
+ if (fn.usedPipes.length) {
38719
+ const pipeArgs = [];
38720
+ let hasPurePipe = false;
38721
+ for (const [pipeName] of fn.usedPipes) {
38722
+ const pipeInfo = pipeProvider.meta(pipeName);
38723
+ let pipeInstance;
38724
+ if (!pipeInfo) {
38725
+ pipeInstance = nullPipe;
38726
+ }
38727
+ else {
38728
+ if (pipeInfo.pure) {
38729
+ hasPurePipe = true;
38730
+ pipeInstance = purePipes.get(pipeName);
38731
+ }
38732
+ if (!pipeInstance) {
38733
+ pipeInstance = pipeProvider.getInstance(pipeName);
38734
+ }
38735
+ if (pipeInfo.pure) {
38736
+ purePipes.set(pipeName, pipeInstance);
38737
+ }
38738
+ }
38739
+ pipeArgs.push(pipeInstance);
38740
+ }
38741
+ pipeArgs.unshift(hasPurePipe ? new Map() : undefined);
38742
+ boundFn = fn.bind(undefined, ...pipeArgs);
38690
38743
  }
38691
38744
  else {
38692
- if (pipeInfo.pure) {
38693
- hasPurePipe = true;
38694
- pipeInstance = purePipes.get(pipeName);
38695
- }
38696
- if (!pipeInstance) {
38697
- pipeInstance = pipeProvider.getInstance(pipeName);
38698
- }
38699
- if (pipeInfo.pure) {
38700
- purePipes.set(pipeName, pipeInstance);
38701
- }
38745
+ boundFn = fn.bind(undefined, undefined);
38702
38746
  }
38703
- pipeArgs.push(pipeInstance);
38704
38747
  }
38705
- pipeArgs.unshift(hasPurePipe ? new Map() : undefined);
38706
- boundFn = fn.bind(undefined, ...pipeArgs);
38707
- }
38708
- else {
38709
- boundFn = fn.bind(undefined, undefined);
38710
38748
  }
38711
38749
  }
38712
38750
  exprFnCache.set(expr, boundFn);
38713
38751
  return boundFn;
38714
38752
  }
38715
- function $parseEvent(expr) {
38753
+ function simpleFunctionEvaluator(expr, ctx, locals) {
38754
+ let _ctx = Object.assign({}, locals);
38755
+ Object.setPrototypeOf(_ctx, ctx);
38756
+ let parts = expr.split('(');
38757
+ let fnName = parts[0];
38758
+ let computedFn = _.get(ctx, fnName);
38759
+ if (computedFn) {
38760
+ let args = parts[1].replace(')', '');
38761
+ args = args.split(',');
38762
+ let computedArgs = [];
38763
+ args.forEach((arg) => {
38764
+ arg = arg && arg.trim();
38765
+ computedArgs.push(_.get(_ctx, arg));
38766
+ });
38767
+ return computedFn.bind(_ctx)(...computedArgs);
38768
+ }
38769
+ }
38770
+ function $parseEvent(expr, defOnly) {
38716
38771
  if (!isString$1(expr)) {
38717
38772
  return noop$1$1;
38718
38773
  }
@@ -38724,16 +38779,80 @@ function $parseEvent(expr) {
38724
38779
  if (fn) {
38725
38780
  return fn;
38726
38781
  }
38727
- const parser = new Parser$1(new Lexer);
38728
- const ast = parser.parseAction(expr, '', 0);
38729
- if (ast.errors.length) {
38730
- return noop$1$1;
38782
+ if (!defOnly) {
38783
+ fn = getFnForEventExpr(expr);
38784
+ }
38785
+ // fallback to generate function in runtime. This will break if CSP is enabled
38786
+ if (!fn) {
38787
+ if (isCSPEnabled()) {
38788
+ fn = simpleFunctionEvaluator.bind(undefined, expr);
38789
+ }
38790
+ else {
38791
+ const parser = new Parser$1(new Lexer);
38792
+ const ast = parser.parseAction(expr, '', 0);
38793
+ if (ast.errors.length) {
38794
+ return noop$1$1;
38795
+ }
38796
+ const astCompiler = new ASTCompiler(ast.ast, ExpressionType$1.Action);
38797
+ fn = astCompiler.compile(defOnly);
38798
+ }
38731
38799
  }
38732
- const astCompiler = new ASTCompiler(ast.ast, ExpressionType$1.Action);
38733
- fn = astCompiler.compile();
38734
38800
  eventFnCache.set(expr, fn);
38735
38801
  return fn;
38736
38802
  }
38803
+ const fnNameMap = new Map();
38804
+ const getFnByExpr = (expr) => fnNameMap.get(expr);
38805
+ const fnExecutor = (expr, exprType) => {
38806
+ let fn = getFnByExpr(expr);
38807
+ if (!fn) {
38808
+ return;
38809
+ }
38810
+ const usedPipes = fn.usedPipes || [];
38811
+ if (exprType === ExpressionType$1.Binding) {
38812
+ fn = fn.bind(undefined, plus, minus, isDef, getPurePipeVal);
38813
+ }
38814
+ else {
38815
+ fn = fn.bind(undefined, plus, minus, isDef);
38816
+ }
38817
+ if (usedPipes.length) {
38818
+ const pipeArgs = [];
38819
+ let hasPurePipe = false;
38820
+ for (const [pipeName] of usedPipes) {
38821
+ const pipeInfo = pipeProvider.meta(pipeName);
38822
+ let pipeInstance;
38823
+ if (!pipeInfo) {
38824
+ pipeInstance = nullPipe;
38825
+ }
38826
+ else {
38827
+ if (pipeInfo.pure) {
38828
+ hasPurePipe = true;
38829
+ pipeInstance = purePipes.get(pipeName);
38830
+ }
38831
+ if (!pipeInstance) {
38832
+ pipeInstance = pipeProvider.getInstance(pipeName);
38833
+ }
38834
+ if (pipeInfo.pure) {
38835
+ purePipes.set(pipeName, pipeInstance);
38836
+ }
38837
+ }
38838
+ pipeArgs.push(pipeInstance);
38839
+ }
38840
+ pipeArgs.unshift(hasPurePipe ? new Map() : undefined);
38841
+ fn = fn.bind(undefined, ...pipeArgs);
38842
+ }
38843
+ else {
38844
+ if (exprType === ExpressionType$1.Binding) {
38845
+ fn = fn.bind(undefined, undefined);
38846
+ }
38847
+ }
38848
+ return fn;
38849
+ };
38850
+ const getFnForBindExpr = (expr) => {
38851
+ return fnExecutor(expr, ExpressionType$1.Binding);
38852
+ };
38853
+ const getFnForEventExpr = (expr) => {
38854
+ return fnExecutor(expr, ExpressionType$1.Action);
38855
+ };
38737
38856
 
38738
38857
  const registry = new Map();
38739
38858
  const watchIdGenerator = new IDGenerator('watch-id-');
@@ -38840,6 +38959,7 @@ var Operation;
38840
38959
  Operation["SUPPORTS_CRUD"] = "supportsCRUD";
38841
38960
  Operation["SUPPORTS_DISTINCT_API"] = "supportsDistinctAPI";
38842
38961
  Operation["IS_PAGEABLE"] = "isPageable";
38962
+ Operation["IS_SORTABLE"] = "isSortable";
38843
38963
  Operation["GET_OPERATION_TYPE"] = "getOperationType";
38844
38964
  Operation["GET_RELATED_PRIMARY_KEYS"] = "getRelatedTablePrimaryKeys";
38845
38965
  Operation["GET_ENTITY_NAME"] = "getEntityName";
@@ -39573,10 +39693,26 @@ const loadScript = (url, loadViaScriptTag, cacheable = false) => __awaiter$1(voi
39573
39693
  return Promise.resolve();
39574
39694
  }
39575
39695
  if (loadViaScriptTag) {
39576
- return fetchContent('text', _url, false, text => {
39577
- const script = document.createElement('script');
39578
- script.textContent = text;
39579
- document.head.appendChild(script);
39696
+ return new Promise((resolve, reject) => {
39697
+ let script = document.createElement('script');
39698
+ script.type = 'text/javascript';
39699
+ script.src = _url;
39700
+ script.async = false;
39701
+ if (script.readyState) { //IE
39702
+ script.onreadystatechange = () => {
39703
+ if (script.readyState === "loaded" || script.readyState === "complete") {
39704
+ script.onreadystatechange = null;
39705
+ resolve(true);
39706
+ }
39707
+ };
39708
+ }
39709
+ else { //Other browsers
39710
+ script.onload = () => {
39711
+ resolve(true);
39712
+ };
39713
+ }
39714
+ script.onerror = (error) => reject(error);
39715
+ document.getElementsByTagName('head')[0].appendChild(script);
39580
39716
  });
39581
39717
  }
39582
39718
  else if (cacheable) {
@@ -39592,13 +39728,6 @@ const loadScript = (url, loadViaScriptTag, cacheable = false) => __awaiter$1(voi
39592
39728
  .done(response => response)
39593
39729
  .fail(reason => reason);
39594
39730
  }
39595
- // return fetch(_url)
39596
- // .then(response => response.text())
39597
- // .then(text => {
39598
- // const script = document.createElement('script');
39599
- // script.textContent = text;
39600
- // document.head.appendChild(script);
39601
- // });
39602
39731
  });
39603
39732
  const loadScripts = (urls = [], loadViaScriptTag = true) => __awaiter$1(void 0, void 0, void 0, function* () {
39604
39733
  for (const url of urls) {
@@ -39628,7 +39757,8 @@ const setSessionStorageItem = (key, value) => {
39628
39757
  * @param key string
39629
39758
  */
39630
39759
  const getSessionStorageItem = key => {
39631
- let item = window.sessionStorage.getItem(_WM_APP_PROJECT.id);
39760
+ // sanity check for this to work with ng-codegen
39761
+ let item = window && window.sessionStorage && window.sessionStorage.getItem(_WM_APP_PROJECT.id);
39632
39762
  if (item) {
39633
39763
  item = JSON.parse(item);
39634
39764
  return item[key];
@@ -39852,6 +39982,7 @@ const processFilterExpBindNode = (context, filterExpressions) => {
39852
39982
  const filter$ = new Subject();
39853
39983
  const bindFilExpObj = (obj, targetNodeKey) => {
39854
39984
  if (stringStartsWith(obj[targetNodeKey], 'bind:')) {
39985
+ // [Todo-CSP]: needs a check, where is this used
39855
39986
  destroyFn($watch(obj[targetNodeKey].replace('bind:', ''), context, {}, (newVal, oldVal) => {
39856
39987
  if ((newVal === oldVal && _.isUndefined(newVal)) || (_.isUndefined(newVal) && !_.isUndefined(oldVal))) {
39857
39988
  return;
@@ -40095,6 +40226,7 @@ const triggerItemAction = (scope, item) => {
40095
40226
  const linkTarget = item.target;
40096
40227
  if (itemAction) {
40097
40228
  if (!scope.itemActionFn) {
40229
+ //[Todo-CSP]: This will not work as function will be dynamic
40098
40230
  scope.itemActionFn = $parseEvent(itemAction);
40099
40231
  }
40100
40232
  scope.itemActionFn(scope.userDefinedExecutionContext, Object.create(item));
@@ -41212,7 +41344,7 @@ class PaginationService {
41212
41344
  parent.gridOptions.setDeletedRowIndex(-1);
41213
41345
  }
41214
41346
  // reset fieldDefs if last action performed is search or sort
41215
- if (parent.widgetType === 'wm-table' && (parent.gridOptions.isNavTypeScrollOrOndemand()) && (parent.gridOptions.lastActionPerformed === parent.gridOptions.ACTIONS.SEARCH_OR_SORT || parent.gridOptions.lastActionPerformed === parent.gridOptions.ACTIONS.FILTER_CRITERIA)) {
41347
+ if (parent.widgetType === 'wm-table' && (parent.gridOptions.isNavTypeScrollOrOndemand()) && (parent.gridOptions.lastActionPerformed === parent.gridOptions.ACTIONS.SEARCH_OR_SORT || parent.gridOptions.lastActionPerformed === parent.gridOptions.ACTIONS.FILTER_CRITERIA || parent.gridOptions.lastActionPerformed === parent.gridOptions.ACTIONS.DATASET_UPDATE)) {
41216
41348
  fieldDefs = [];
41217
41349
  parent.gridOptions.setCurrentPage(1);
41218
41350
  }
@@ -41565,6 +41697,7 @@ const WIDGET_IMPORTS = new Map([
41565
41697
  ['wm-network-info-toaster', BASIC_MODULE],
41566
41698
  ['wm-number', INPUT_MODULE],
41567
41699
  ['wm-page', PAGE_MODULE],
41700
+ ['wm-layout', PAGE_MODULE],
41568
41701
  ['wm-page-content', PAGE_MODULE],
41569
41702
  ['wm-pagedialog', PARTIAL_DIALOG_MODULE],
41570
41703
  ['wm-pagination', PAGINATION_MODULE],
@@ -41810,7 +41943,7 @@ const getRequiredProviders = (nodeDef, providers, nodeAttrs) => {
41810
41943
  }
41811
41944
  });
41812
41945
  };
41813
- const ɵ11 = getRequiredProviders;
41946
+ const ɵ11$1 = getRequiredProviders;
41814
41947
  const DIMENSION_PROPS = ['padding', 'borderwidth', 'margin'];
41815
41948
  const SEPARATOR = ' ', UNSET = 'unset';
41816
41949
  const setDimensionProp = (cssObj, key, nv) => {
@@ -41845,7 +41978,7 @@ const setDimensionProp = (cssObj, key, nv) => {
41845
41978
  cssObj[cssKey] = nv;
41846
41979
  }
41847
41980
  };
41848
- const ɵ12 = setDimensionProp;
41981
+ const ɵ12$1 = setDimensionProp;
41849
41982
  const processDimensionAttributes = attrMap => {
41850
41983
  const attrKeys = Array.from(attrMap.keys());
41851
41984
  attrKeys.forEach((attrKey) => {
@@ -42093,14 +42226,14 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
42093
42226
 
42094
42227
  const carouselTagName = 'carousel';
42095
42228
  const dataSetKey$5 = 'dataset';
42096
- const idGen$q = new IDGenerator('wm_carousel_ref_');
42229
+ const idGen$r = new IDGenerator('wm_carousel_ref_');
42097
42230
  const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
42098
- const ɵ0$c$1 = isDynamicCarousel;
42231
+ const ɵ0$d$1 = isDynamicCarousel;
42099
42232
  register('wm-carousel', () => {
42100
42233
  return {
42101
42234
  pre: (attrs, shared) => {
42102
42235
  // generating unique Id for the carousel
42103
- const counter = idGen$q.nextUid();
42236
+ const counter = idGen$r.nextUid();
42104
42237
  shared.set('carousel_ref', counter);
42105
42238
  return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
42106
42239
  },
@@ -42133,7 +42266,7 @@ var carousel_build = () => { };
42133
42266
  var carousel_build$1 = /*#__PURE__*/Object.freeze({
42134
42267
  __proto__: null,
42135
42268
  'default': carousel_build,
42136
- 'ɵ0': ɵ0$c$1
42269
+ 'ɵ0': ɵ0$d$1
42137
42270
  });
42138
42271
 
42139
42272
  const carouselContentTagName = 'slide';
@@ -42167,11 +42300,11 @@ var carouselTemplate_build$1 = /*#__PURE__*/Object.freeze({
42167
42300
  'default': carouselTemplate_build
42168
42301
  });
42169
42302
 
42170
- const tagName$1B = 'div';
42303
+ const tagName$1C = 'div';
42171
42304
  register('wm-login', () => {
42172
42305
  return {
42173
- pre: attrs => `<${tagName$1B} wmLogin ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction">`,
42174
- post: () => `</${tagName$1B}>`,
42306
+ pre: attrs => `<${tagName$1C} wmLogin ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction">`,
42307
+ post: () => `</${tagName$1C}>`,
42175
42308
  provide: () => {
42176
42309
  const provider = new Map();
42177
42310
  provider.set('isLogin', true);
@@ -42186,11 +42319,11 @@ var login_build$1 = /*#__PURE__*/Object.freeze({
42186
42319
  'default': login_build
42187
42320
  });
42188
42321
 
42189
- const tagName$1A = 'marquee';
42322
+ const tagName$1B = 'marquee';
42190
42323
  register('wm-marquee', () => {
42191
42324
  return {
42192
- pre: attrs => `<${tagName$1A} onmouseover="this.stop();" onmouseout="this.start();" wmMarquee role="marquee" aria-live="off" ${getAttrMarkup(attrs)}>`,
42193
- post: () => `</${tagName$1A}>`
42325
+ pre: attrs => `<${tagName$1B} onmouseover="this.stop();" onmouseout="this.start();" wmMarquee role="marquee" aria-live="off" ${getAttrMarkup(attrs)}>`,
42326
+ post: () => `</${tagName$1B}>`
42194
42327
  };
42195
42328
  });
42196
42329
  var marquee_build = () => { };
@@ -42200,15 +42333,15 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
42200
42333
  'default': marquee_build
42201
42334
  });
42202
42335
 
42203
- const tagName$1z = 'a';
42204
- const idGen$p = new IDGenerator('wm_anchor');
42336
+ const tagName$1A = 'a';
42337
+ const idGen$q = new IDGenerator('wm_anchor');
42205
42338
  register('wm-anchor', () => {
42206
42339
  return {
42207
42340
  pre: (attrs) => {
42208
- const counter = idGen$p.nextUid();
42209
- return `<${tagName$1z} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.hint || ${counter}.caption || 'Link'" ${getAttrMarkup(attrs)}>`;
42341
+ const counter = idGen$q.nextUid();
42342
+ return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.hint || ${counter}.caption || 'Link'" ${getAttrMarkup(attrs)}>`;
42210
42343
  },
42211
- post: () => `</${tagName$1z}>`
42344
+ post: () => `</${tagName$1A}>`
42212
42345
  };
42213
42346
  });
42214
42347
  var anchor_build = () => { };
@@ -42218,11 +42351,11 @@ var anchor_build$1 = /*#__PURE__*/Object.freeze({
42218
42351
  'default': anchor_build
42219
42352
  });
42220
42353
 
42221
- const tagName$1y = 'div';
42354
+ const tagName$1z = 'div';
42222
42355
  register('wm-audio', () => {
42223
42356
  return {
42224
- pre: attrs => `<${tagName$1y} wmAudio ${getAttrMarkup(attrs)}>`,
42225
- post: () => `</${tagName$1y}>`
42357
+ pre: attrs => `<${tagName$1z} wmAudio ${getAttrMarkup(attrs)}>`,
42358
+ post: () => `</${tagName$1z}>`
42226
42359
  };
42227
42360
  });
42228
42361
  var audio_build = () => { };
@@ -42232,15 +42365,15 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
42232
42365
  'default': audio_build
42233
42366
  });
42234
42367
 
42235
- const tagName$1x = 'div';
42236
- const idGen$o = new IDGenerator('wm_html');
42368
+ const tagName$1y = 'div';
42369
+ const idGen$p = new IDGenerator('wm_html');
42237
42370
  register('wm-html', () => {
42238
42371
  return {
42239
42372
  pre: (attrs) => {
42240
- const counter = idGen$o.nextUid();
42241
- return `<${tagName$1x} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
42373
+ const counter = idGen$p.nextUid();
42374
+ return `<${tagName$1y} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
42242
42375
  },
42243
- post: () => `</${tagName$1x}>`
42376
+ post: () => `</${tagName$1y}>`
42244
42377
  };
42245
42378
  });
42246
42379
  var html_build = () => { };
@@ -42250,11 +42383,11 @@ var html_build$1 = /*#__PURE__*/Object.freeze({
42250
42383
  'default': html_build
42251
42384
  });
42252
42385
 
42253
- const tagName$1w = 'span';
42386
+ const tagName$1x = 'span';
42254
42387
  register('wm-icon', () => {
42255
42388
  return {
42256
- pre: attrs => `<${tagName$1w} wmIcon aria-hidden="true" ${getAttrMarkup(attrs)}>`,
42257
- post: () => `</${tagName$1w}>`
42389
+ pre: attrs => `<${tagName$1x} wmIcon aria-hidden="true" ${getAttrMarkup(attrs)}>`,
42390
+ post: () => `</${tagName$1x}>`
42258
42391
  };
42259
42392
  });
42260
42393
  var icon_build = () => { };
@@ -42264,11 +42397,11 @@ var icon_build$1 = /*#__PURE__*/Object.freeze({
42264
42397
  'default': icon_build
42265
42398
  });
42266
42399
 
42267
- const tagName$1v = 'div';
42400
+ const tagName$1w = 'div';
42268
42401
  register('wm-iframe', () => {
42269
42402
  return {
42270
- pre: attrs => `<${tagName$1v} wmIframe ${getAttrMarkup(attrs)}>`,
42271
- post: () => `</${tagName$1v}>`
42403
+ pre: attrs => `<${tagName$1w} wmIframe ${getAttrMarkup(attrs)}>`,
42404
+ post: () => `</${tagName$1w}>`
42272
42405
  };
42273
42406
  });
42274
42407
  var iframe_build = () => { };
@@ -42278,15 +42411,15 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
42278
42411
  'default': iframe_build
42279
42412
  });
42280
42413
 
42281
- const tagName$1u = 'label';
42282
- const idGen$n = new IDGenerator('wm_label');
42414
+ const tagName$1v = 'label';
42415
+ const idGen$o = new IDGenerator('wm_label');
42283
42416
  register('wm-label', () => {
42284
42417
  return {
42285
42418
  pre: (attrs) => {
42286
- const counter = idGen$n.nextUid();
42287
- return `<${tagName$1u} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint || 'Label text'" ${getAttrMarkup(attrs)}>`;
42419
+ const counter = idGen$o.nextUid();
42420
+ return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint || 'Label text'" ${getAttrMarkup(attrs)}>`;
42288
42421
  },
42289
- post: () => `</${tagName$1u}>`
42422
+ post: () => `</${tagName$1v}>`
42290
42423
  };
42291
42424
  });
42292
42425
  var label_build = () => { };
@@ -42296,13 +42429,13 @@ var label_build$1 = /*#__PURE__*/Object.freeze({
42296
42429
  'default': label_build
42297
42430
  });
42298
42431
 
42299
- const tagName$1t = 'img';
42300
- const idGen$m = new IDGenerator('wm_picture');
42432
+ const tagName$1u = 'img';
42433
+ const idGen$n = new IDGenerator('wm_picture');
42301
42434
  register('wm-picture', () => {
42302
42435
  return {
42303
42436
  pre: (attrs) => {
42304
- const counter = idGen$m.nextUid();
42305
- return `<${tagName$1t} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.hint || 'Image'" ${getAttrMarkup(attrs)}>`;
42437
+ const counter = idGen$n.nextUid();
42438
+ return `<${tagName$1u} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.hint || 'Image'" ${getAttrMarkup(attrs)}>`;
42306
42439
  }
42307
42440
  };
42308
42441
  });
@@ -42313,15 +42446,15 @@ var picture_build$1 = /*#__PURE__*/Object.freeze({
42313
42446
  'default': picture_build
42314
42447
  });
42315
42448
 
42316
- const tagName$1s = 'div';
42317
- const idGen$l = new IDGenerator('wm_spinner');
42449
+ const tagName$1t = 'div';
42450
+ const idGen$m = new IDGenerator('wm_spinner');
42318
42451
  register('wm-spinner', () => {
42319
42452
  return {
42320
42453
  pre: (attrs) => {
42321
- const counter = idGen$l.nextUid();
42322
- return `<${tagName$1s} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.hint || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
42454
+ const counter = idGen$m.nextUid();
42455
+ return `<${tagName$1t} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.hint || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
42323
42456
  },
42324
- post: () => `</${tagName$1s}>`
42457
+ post: () => `</${tagName$1t}>`
42325
42458
  };
42326
42459
  });
42327
42460
  var spinner_build = () => { };
@@ -42331,16 +42464,16 @@ var spinner_build$1 = /*#__PURE__*/Object.freeze({
42331
42464
  'default': spinner_build
42332
42465
  });
42333
42466
 
42334
- const tagName$1r = 'div';
42467
+ const tagName$1s = 'div';
42335
42468
  const getAttr = (node, attrName) => node.attrs.find(attr => attr.name === attrName);
42336
- const ɵ0$b$1 = getAttr;
42469
+ const ɵ0$c$1 = getAttr;
42337
42470
  const getAttrValue = (node, attrName) => {
42338
42471
  const match = getAttr(node, attrName);
42339
42472
  if (match) {
42340
42473
  return match.value;
42341
42474
  }
42342
42475
  };
42343
- const ɵ1$7 = getAttrValue;
42476
+ const ɵ1$8 = getAttrValue;
42344
42477
  const getReplaceRegex = (v) => new RegExp(`bind:(${v}|${v}\\[\\$i])\\.`, 'g');
42345
42478
  const ɵ2$4$1 = getReplaceRegex;
42346
42479
  register('wm-progress-bar', () => {
@@ -42362,8 +42495,8 @@ register('wm-progress-bar', () => {
42362
42495
  }
42363
42496
  }
42364
42497
  },
42365
- pre: attrs => `<${tagName$1r} wmProgressBar ${getAttrMarkup(attrs)}>`,
42366
- post: () => `</${tagName$1r}>`
42498
+ pre: attrs => `<${tagName$1s} wmProgressBar ${getAttrMarkup(attrs)}>`,
42499
+ post: () => `</${tagName$1s}>`
42367
42500
  };
42368
42501
  });
42369
42502
  var progressBar_build = () => { };
@@ -42371,16 +42504,16 @@ var progressBar_build = () => { };
42371
42504
  var progressBar_build$1 = /*#__PURE__*/Object.freeze({
42372
42505
  __proto__: null,
42373
42506
  'default': progressBar_build,
42374
- 'ɵ0': ɵ0$b$1,
42375
- 'ɵ1': ɵ1$7,
42507
+ 'ɵ0': ɵ0$c$1,
42508
+ 'ɵ1': ɵ1$8,
42376
42509
  'ɵ2': ɵ2$4$1
42377
42510
  });
42378
42511
 
42379
- const tagName$1q = 'div';
42512
+ const tagName$1r = 'div';
42380
42513
  register('wm-progress-circle', () => {
42381
42514
  return {
42382
- pre: attrs => `<${tagName$1q} wmProgressCircle ${getAttrMarkup(attrs)}>`,
42383
- post: () => `</${tagName$1q}>`
42515
+ pre: attrs => `<${tagName$1r} wmProgressCircle ${getAttrMarkup(attrs)}>`,
42516
+ post: () => `</${tagName$1r}>`
42384
42517
  };
42385
42518
  });
42386
42519
  var progressCircle_build = () => { };
@@ -42390,15 +42523,15 @@ var progressCircle_build$1 = /*#__PURE__*/Object.freeze({
42390
42523
  'default': progressCircle_build
42391
42524
  });
42392
42525
 
42393
- const tagName$1p = 'div';
42394
- const idGen$k = new IDGenerator('wm_richtexteditor');
42526
+ const tagName$1q = 'div';
42527
+ const idGen$l = new IDGenerator('wm_richtexteditor');
42395
42528
  register('wm-richtexteditor', () => {
42396
42529
  return {
42397
42530
  pre: (attrs) => {
42398
- const counter = idGen$k.nextUid();
42399
- return `<${tagName$1p} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.hint || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
42531
+ const counter = idGen$l.nextUid();
42532
+ return `<${tagName$1q} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.hint || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
42400
42533
  },
42401
- post: () => `</${tagName$1p}>`
42534
+ post: () => `</${tagName$1q}>`
42402
42535
  };
42403
42536
  });
42404
42537
  var richTextEditor_build = () => { };
@@ -42408,11 +42541,11 @@ var richTextEditor_build$1 = /*#__PURE__*/Object.freeze({
42408
42541
  'default': richTextEditor_build
42409
42542
  });
42410
42543
 
42411
- const tagName$1o = 'div';
42544
+ const tagName$1p = 'div';
42412
42545
  register('wm-search', () => {
42413
42546
  return {
42414
- pre: attrs => `<${tagName$1o} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
42415
- post: () => `</${tagName$1o}>`
42547
+ pre: attrs => `<${tagName$1p} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
42548
+ post: () => `</${tagName$1p}>`
42416
42549
  };
42417
42550
  });
42418
42551
  var search_build = () => { };
@@ -42422,11 +42555,11 @@ var search_build$1 = /*#__PURE__*/Object.freeze({
42422
42555
  'default': search_build
42423
42556
  });
42424
42557
 
42425
- const tagName$1n = 'div';
42558
+ const tagName$1o = 'div';
42426
42559
  register('wm-tree', () => {
42427
42560
  return {
42428
- pre: attrs => `<${tagName$1n} wmTree ${getAttrMarkup(attrs)}>`,
42429
- post: () => `</${tagName$1n}>`
42561
+ pre: attrs => `<${tagName$1o} wmTree ${getAttrMarkup(attrs)}>`,
42562
+ post: () => `</${tagName$1o}>`
42430
42563
  };
42431
42564
  });
42432
42565
  var tree_build = () => { };
@@ -42436,11 +42569,11 @@ var tree_build$1 = /*#__PURE__*/Object.freeze({
42436
42569
  'default': tree_build
42437
42570
  });
42438
42571
 
42439
- const tagName$1m = 'div';
42572
+ const tagName$1n = 'div';
42440
42573
  register('wm-card', () => {
42441
42574
  return {
42442
- pre: attrs => `<${tagName$1m} wmCard ${getAttrMarkup(attrs)}>`,
42443
- post: () => `</${tagName$1m}>`
42575
+ pre: attrs => `<${tagName$1n} wmCard ${getAttrMarkup(attrs)}>`,
42576
+ post: () => `</${tagName$1n}>`
42444
42577
  };
42445
42578
  });
42446
42579
  var card_build = () => { };
@@ -42450,11 +42583,11 @@ var card_build$1 = /*#__PURE__*/Object.freeze({
42450
42583
  'default': card_build
42451
42584
  });
42452
42585
 
42453
- const tagName$1l = 'div';
42586
+ const tagName$1m = 'div';
42454
42587
  register('wm-card-content', () => {
42455
42588
  return {
42456
- pre: attrs => `<${tagName$1l} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,
42457
- post: () => `</${tagName$1l}>`
42589
+ pre: attrs => `<${tagName$1m} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,
42590
+ post: () => `</${tagName$1m}>`
42458
42591
  };
42459
42592
  });
42460
42593
  var cardContent_build = () => { };
@@ -42464,11 +42597,11 @@ var cardContent_build$1 = /*#__PURE__*/Object.freeze({
42464
42597
  'default': cardContent_build
42465
42598
  });
42466
42599
 
42467
- const tagName$1k = 'div';
42600
+ const tagName$1l = 'div';
42468
42601
  register('wm-card-actions', () => {
42469
42602
  return {
42470
- pre: attrs => `<${tagName$1k} wmCardActions ${getAttrMarkup(attrs)}>`,
42471
- post: () => `</${tagName$1k}>`
42603
+ pre: attrs => `<${tagName$1l} wmCardActions ${getAttrMarkup(attrs)}>`,
42604
+ post: () => `</${tagName$1l}>`
42472
42605
  };
42473
42606
  });
42474
42607
  var cardActions_build = () => { };
@@ -42478,11 +42611,11 @@ var cardActions_build$1 = /*#__PURE__*/Object.freeze({
42478
42611
  'default': cardActions_build
42479
42612
  });
42480
42613
 
42481
- const tagName$1j = 'div';
42614
+ const tagName$1k = 'div';
42482
42615
  register('wm-card-footer', () => {
42483
42616
  return {
42484
- pre: attrs => `<${tagName$1j} wmCardFooter ${getAttrMarkup(attrs)}>`,
42485
- post: () => `</${tagName$1j}>`
42617
+ pre: attrs => `<${tagName$1k} wmCardFooter ${getAttrMarkup(attrs)}>`,
42618
+ post: () => `</${tagName$1k}>`
42486
42619
  };
42487
42620
  });
42488
42621
  var cardFooter_build = () => { };
@@ -42492,11 +42625,11 @@ var cardFooter_build$1 = /*#__PURE__*/Object.freeze({
42492
42625
  'default': cardFooter_build
42493
42626
  });
42494
42627
 
42495
- const tagName$1i = 'div';
42628
+ const tagName$1j = 'div';
42496
42629
  register('wm-chart', () => {
42497
42630
  return {
42498
- pre: attrs => `<${tagName$1i} wmChart redrawable aria-label="${attrs.get('type')} Chart" ${getAttrMarkup(attrs)}>`,
42499
- post: () => `</${tagName$1i}>`
42631
+ pre: attrs => `<${tagName$1j} wmChart redrawable aria-label="${attrs.get('type')} Chart" ${getAttrMarkup(attrs)}>`,
42632
+ post: () => `</${tagName$1j}>`
42500
42633
  };
42501
42634
  });
42502
42635
  var chart_build = () => { };
@@ -42506,20 +42639,20 @@ var chart_build$1 = /*#__PURE__*/Object.freeze({
42506
42639
  'default': chart_build
42507
42640
  });
42508
42641
 
42509
- const tagName$1h = 'div';
42642
+ const tagName$1i = 'div';
42510
42643
  const dataSetKey$4 = 'dataset';
42511
- const idGen$j = new IDGenerator('wm_accordion_ref_');
42644
+ const idGen$k = new IDGenerator('wm_accordion_ref_');
42512
42645
  const isDynamicAccordion = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
42513
- const ɵ0$a$1 = isDynamicAccordion;
42646
+ const ɵ0$b$1 = isDynamicAccordion;
42514
42647
  register('wm-accordion', () => {
42515
42648
  return {
42516
42649
  pre: (attrs, shared) => {
42517
42650
  // generating unique Id for the accordion
42518
- const counter = idGen$j.nextUid();
42651
+ const counter = idGen$k.nextUid();
42519
42652
  shared.set('accordion_ref', counter);
42520
- return `<${tagName$1h} wmAccordion #${counter}="wmAccordion" role="tablist" aria-multiselectable="true" ${getAttrMarkup(attrs)}>`;
42653
+ return `<${tagName$1i} wmAccordion #${counter}="wmAccordion" role="tablist" aria-multiselectable="true" ${getAttrMarkup(attrs)}>`;
42521
42654
  },
42522
- post: () => `</${tagName$1h}>`,
42655
+ post: () => `</${tagName$1i}>`,
42523
42656
  template: (node, shared) => {
42524
42657
  // check if the accordion is dynamic
42525
42658
  if (isDynamicAccordion(node)) {
@@ -42548,14 +42681,14 @@ var accordion_build = () => { };
42548
42681
  var accordion_build$1 = /*#__PURE__*/Object.freeze({
42549
42682
  __proto__: null,
42550
42683
  'default': accordion_build,
42551
- 'ɵ0': ɵ0$a$1
42684
+ 'ɵ0': ɵ0$b$1
42552
42685
  });
42553
42686
 
42554
- const tagName$1g = 'div';
42687
+ const tagName$1h = 'div';
42555
42688
  register('wm-accordionpane', () => {
42556
42689
  return {
42557
- pre: attrs => `<${tagName$1g} wmAccordionPane partialContainer wm-navigable-element="true" role="tab" ${getAttrMarkup(attrs)}>`,
42558
- post: () => `</${tagName$1g}>`
42690
+ pre: attrs => `<${tagName$1h} wmAccordionPane partialContainer wm-navigable-element="true" role="tab" ${getAttrMarkup(attrs)}>`,
42691
+ post: () => `</${tagName$1h}>`
42559
42692
  };
42560
42693
  });
42561
42694
  var accordionPane_build = () => { };
@@ -42565,11 +42698,11 @@ var accordionPane_build$1 = /*#__PURE__*/Object.freeze({
42565
42698
  'default': accordionPane_build
42566
42699
  });
42567
42700
 
42568
- const tagName$1f = 'div';
42701
+ const tagName$1g = 'div';
42569
42702
  register('wm-container', () => {
42570
42703
  return {
42571
- pre: attrs => `<${tagName$1f} wmContainer partialContainer wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
42572
- post: () => `</${tagName$1f}>`
42704
+ pre: attrs => `<${tagName$1g} wmContainer partialContainer wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
42705
+ post: () => `</${tagName$1g}>`
42573
42706
  };
42574
42707
  });
42575
42708
  var container_build = () => { };
@@ -42579,11 +42712,11 @@ var container_build$1 = /*#__PURE__*/Object.freeze({
42579
42712
  'default': container_build
42580
42713
  });
42581
42714
 
42582
- const tagName$1e = 'div';
42715
+ const tagName$1f = 'div';
42583
42716
  register('wm-gridcolumn', () => {
42584
42717
  return {
42585
- pre: attrs => `<${tagName$1e} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,
42586
- post: () => `</${tagName$1e}>`
42718
+ pre: attrs => `<${tagName$1f} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,
42719
+ post: () => `</${tagName$1f}>`
42587
42720
  };
42588
42721
  });
42589
42722
  var layoutGridColumn_build = () => { };
@@ -42593,11 +42726,11 @@ var layoutGridColumn_build$1 = /*#__PURE__*/Object.freeze({
42593
42726
  'default': layoutGridColumn_build
42594
42727
  });
42595
42728
 
42596
- const tagName$1d = 'div';
42729
+ const tagName$1e = 'div';
42597
42730
  register('wm-gridrow', () => {
42598
42731
  return {
42599
- pre: attrs => `<${tagName$1d} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,
42600
- post: () => `</${tagName$1d}>`
42732
+ pre: attrs => `<${tagName$1e} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,
42733
+ post: () => `</${tagName$1e}>`
42601
42734
  };
42602
42735
  });
42603
42736
  var layoutGridRow_build = () => { };
@@ -42607,11 +42740,11 @@ var layoutGridRow_build$1 = /*#__PURE__*/Object.freeze({
42607
42740
  'default': layoutGridRow_build
42608
42741
  });
42609
42742
 
42610
- const tagName$1c = 'div';
42743
+ const tagName$1d = 'div';
42611
42744
  register('wm-layoutgrid', () => {
42612
42745
  return {
42613
- pre: attrs => `<${tagName$1c} wmLayoutGrid ${getAttrMarkup(attrs)}>`,
42614
- post: () => `</${tagName$1c}>`
42746
+ pre: attrs => `<${tagName$1d} wmLayoutGrid ${getAttrMarkup(attrs)}>`,
42747
+ post: () => `</${tagName$1d}>`
42615
42748
  };
42616
42749
  });
42617
42750
  var layoutGrid_build = () => { };
@@ -42621,21 +42754,21 @@ var layoutGrid_build$1 = /*#__PURE__*/Object.freeze({
42621
42754
  'default': layoutGrid_build
42622
42755
  });
42623
42756
 
42624
- const tagName$1b = 'div';
42625
- const idGen$i = new IDGenerator('wm_panel');
42757
+ const tagName$1c = 'div';
42758
+ const idGen$j = new IDGenerator('wm_panel');
42626
42759
  register('wm-panel', () => {
42627
42760
  return {
42628
42761
  pre: (attrs) => {
42629
- const counter = idGen$i.nextUid();
42630
- return `<${tagName$1b} wmPanel #${counter}="wmPanel" partialContainer [attr.aria-label]="${counter}.hint || 'Panel'" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
42762
+ const counter = idGen$j.nextUid();
42763
+ return `<${tagName$1c} wmPanel #${counter}="wmPanel" partialContainer [attr.aria-label]="${counter}.hint || 'Panel'" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
42631
42764
  },
42632
- post: () => `</${tagName$1b}>`
42765
+ post: () => `</${tagName$1c}>`
42633
42766
  };
42634
42767
  });
42635
42768
  register('wm-panel-footer', () => {
42636
42769
  return {
42637
- pre: attrs => `<${tagName$1b} wmPanelFooter ${getAttrMarkup(attrs)}>`,
42638
- post: () => `</${tagName$1b}>`
42770
+ pre: attrs => `<${tagName$1c} wmPanelFooter ${getAttrMarkup(attrs)}>`,
42771
+ post: () => `</${tagName$1c}>`
42639
42772
  };
42640
42773
  });
42641
42774
  var panel_build = () => { };
@@ -42645,11 +42778,11 @@ var panel_build$1 = /*#__PURE__*/Object.freeze({
42645
42778
  'default': panel_build
42646
42779
  });
42647
42780
 
42648
- const tagName$1a = 'div';
42781
+ const tagName$1b = 'div';
42649
42782
  register('wm-segmented-control', () => {
42650
42783
  return {
42651
- pre: attrs => `<${tagName$1a} wmSegmentedControl ${getAttrMarkup(attrs)}>`,
42652
- post: () => `</${tagName$1a}>`
42784
+ pre: attrs => `<${tagName$1b} wmSegmentedControl ${getAttrMarkup(attrs)}>`,
42785
+ post: () => `</${tagName$1b}>`
42653
42786
  };
42654
42787
  });
42655
42788
  var segmentedControl_build = () => { };
@@ -42659,11 +42792,11 @@ var segmentedControl_build$1 = /*#__PURE__*/Object.freeze({
42659
42792
  'default': segmentedControl_build
42660
42793
  });
42661
42794
 
42662
- const tagName$19 = 'li';
42795
+ const tagName$1a = 'li';
42663
42796
  register('wm-segment-content', () => {
42664
42797
  return {
42665
- pre: attrs => `<${tagName$19} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
42666
- post: () => `</${tagName$19}>`
42798
+ pre: attrs => `<${tagName$1a} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
42799
+ post: () => `</${tagName$1a}>`
42667
42800
  };
42668
42801
  });
42669
42802
  var segmentContent_build = () => { };
@@ -42699,20 +42832,20 @@ var repeatTemplate_build$1 = /*#__PURE__*/Object.freeze({
42699
42832
  'default': repeatTemplate_build
42700
42833
  });
42701
42834
 
42702
- const tagName$18 = 'div';
42835
+ const tagName$19 = 'div';
42703
42836
  const dataSetKey$3 = 'dataset';
42704
- const idGen$h = new IDGenerator('wm_tabs_ref_');
42837
+ const idGen$i = new IDGenerator('wm_tabs_ref_');
42705
42838
  const isDynamicTabs = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
42706
- const ɵ0$9$1 = isDynamicTabs;
42839
+ const ɵ0$a$1 = isDynamicTabs;
42707
42840
  register('wm-tabs', () => {
42708
42841
  return {
42709
42842
  pre: (attrs, shared) => {
42710
42843
  // generating unique Id for the tabs
42711
- const counter = idGen$h.nextUid();
42844
+ const counter = idGen$i.nextUid();
42712
42845
  shared.set('tabs_ref', counter);
42713
- return `<${tagName$18} wmTabs #${counter}="wmTabs" ${getAttrMarkup(attrs)}>`;
42846
+ return `<${tagName$19} wmTabs #${counter}="wmTabs" ${getAttrMarkup(attrs)}>`;
42714
42847
  },
42715
- post: () => `</${tagName$18}>`,
42848
+ post: () => `</${tagName$19}>`,
42716
42849
  template: (node, shared) => {
42717
42850
  // check if the tab widget is dynamic
42718
42851
  if (isDynamicTabs(node)) {
@@ -42741,14 +42874,14 @@ var tabs_build = () => { };
42741
42874
  var tabs_build$1 = /*#__PURE__*/Object.freeze({
42742
42875
  __proto__: null,
42743
42876
  'default': tabs_build,
42744
- 'ɵ0': ɵ0$9$1
42877
+ 'ɵ0': ɵ0$a$1
42745
42878
  });
42746
42879
 
42747
- const tagName$17 = 'div';
42880
+ const tagName$18 = 'div';
42748
42881
  register('wm-tabpane', () => {
42749
42882
  return {
42750
- pre: attrs => `<${tagName$17} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element="true" role="tabpanel">`,
42751
- post: () => `</${tagName$17}>`
42883
+ pre: attrs => `<${tagName$18} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element="true" role="tabpanel">`,
42884
+ post: () => `</${tagName$18}>`
42752
42885
  };
42753
42886
  });
42754
42887
  var tabPane_build = () => { };
@@ -42758,11 +42891,11 @@ var tabPane_build$1 = /*#__PURE__*/Object.freeze({
42758
42891
  'default': tabPane_build
42759
42892
  });
42760
42893
 
42761
- const tagName$16 = 'div';
42894
+ const tagName$17 = 'div';
42762
42895
  register('wm-tile', () => {
42763
42896
  return {
42764
- pre: attrs => `<${tagName$16} wmTile aria-describedby="Tile" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
42765
- post: () => `</${tagName$16}>`
42897
+ pre: attrs => `<${tagName$17} wmTile aria-describedby="Tile" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
42898
+ post: () => `</${tagName$17}>`
42766
42899
  };
42767
42900
  });
42768
42901
  var tile_build = () => { };
@@ -42772,11 +42905,11 @@ var tile_build$1 = /*#__PURE__*/Object.freeze({
42772
42905
  'default': tile_build
42773
42906
  });
42774
42907
 
42775
- const tagName$15 = 'div';
42908
+ const tagName$16 = 'div';
42776
42909
  register('wm-wizard', () => {
42777
42910
  return {
42778
- pre: attrs => `<${tagName$15} wmWizard role="tablist" ${getAttrMarkup(attrs)}>`,
42779
- post: () => `</${tagName$15}>`
42911
+ pre: attrs => `<${tagName$16} wmWizard role="tablist" ${getAttrMarkup(attrs)}>`,
42912
+ post: () => `</${tagName$16}>`
42780
42913
  };
42781
42914
  });
42782
42915
  var wizard_build = () => { };
@@ -42786,16 +42919,16 @@ var wizard_build$1 = /*#__PURE__*/Object.freeze({
42786
42919
  'default': wizard_build
42787
42920
  });
42788
42921
 
42789
- const tagName$14 = 'form';
42790
- const idGen$g = new IDGenerator('wizard_step_id_');
42922
+ const tagName$15 = 'form';
42923
+ const idGen$h = new IDGenerator('wizard_step_id_');
42791
42924
  register('wm-wizardstep', () => {
42792
42925
  return {
42793
42926
  pre: attrs => {
42794
- const counter = idGen$g.nextUid();
42795
- return `<${tagName$14} wmWizardStep #${counter}="wmWizardStep" ${getAttrMarkup(attrs)}>
42927
+ const counter = idGen$h.nextUid();
42928
+ return `<${tagName$15} wmWizardStep #${counter}="wmWizardStep" ${getAttrMarkup(attrs)}>
42796
42929
  <ng-template [ngIf]="${counter}.isInitialized">`;
42797
42930
  },
42798
- post: () => `</ng-template></${tagName$14}>`
42931
+ post: () => `</ng-template></${tagName$15}>`
42799
42932
  };
42800
42933
  });
42801
42934
  var wizardStep_build = () => { };
@@ -42805,15 +42938,15 @@ var wizardStep_build$1 = /*#__PURE__*/Object.freeze({
42805
42938
  'default': wizardStep_build
42806
42939
  });
42807
42940
 
42808
- const tagName$13 = 'button';
42809
- const idGen$f = new IDGenerator('wm_barcodescanner');
42941
+ const tagName$14 = 'button';
42942
+ const idGen$g = new IDGenerator('wm_barcodescanner');
42810
42943
  register('wm-barcodescanner', () => {
42811
42944
  return {
42812
42945
  pre: (attrs) => {
42813
- const counter = idGen$f.nextUid();
42814
- return `<${tagName$13} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.hint || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
42946
+ const counter = idGen$g.nextUid();
42947
+ return `<${tagName$14} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.hint || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
42815
42948
  },
42816
- post: () => `</${tagName$13}>`
42949
+ post: () => `</${tagName$14}>`
42817
42950
  };
42818
42951
  });
42819
42952
  var barcodeScanner_build = () => { };
@@ -42823,15 +42956,15 @@ var barcodeScanner_build$1 = /*#__PURE__*/Object.freeze({
42823
42956
  'default': barcodeScanner_build
42824
42957
  });
42825
42958
 
42826
- const tagName$12 = 'button';
42827
- const idGen$e = new IDGenerator('wm_camera');
42959
+ const tagName$13 = 'button';
42960
+ const idGen$f = new IDGenerator('wm_camera');
42828
42961
  register('wm-camera', () => {
42829
42962
  return {
42830
42963
  pre: (attrs) => {
42831
- const counter = idGen$e.nextUid();
42832
- return `<${tagName$12} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.hint || 'Camera'" ${getAttrMarkup(attrs)}>`;
42964
+ const counter = idGen$f.nextUid();
42965
+ return `<${tagName$13} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.hint || 'Camera'" ${getAttrMarkup(attrs)}>`;
42833
42966
  },
42834
- post: () => `</${tagName$12}>`
42967
+ post: () => `</${tagName$13}>`
42835
42968
  };
42836
42969
  });
42837
42970
  var camera_build = () => { };
@@ -42841,11 +42974,11 @@ var camera_build$1 = /*#__PURE__*/Object.freeze({
42841
42974
  'default': camera_build
42842
42975
  });
42843
42976
 
42844
- const tagName$11 = 'div';
42977
+ const tagName$12 = 'div';
42845
42978
  register('wm-alertdialog', () => {
42846
42979
  return {
42847
- pre: attrs => `<${tagName$11} wmAlertDialog role="alertdialog" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
42848
- post: () => `</${tagName$11}>`
42980
+ pre: attrs => `<${tagName$12} wmAlertDialog role="alertdialog" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
42981
+ post: () => `</${tagName$12}>`
42849
42982
  };
42850
42983
  });
42851
42984
  var alertDialog_build = () => { };
@@ -42855,11 +42988,11 @@ var alertDialog_build$1 = /*#__PURE__*/Object.freeze({
42855
42988
  'default': alertDialog_build
42856
42989
  });
42857
42990
 
42858
- const tagName$10 = 'div';
42991
+ const tagName$11 = 'div';
42859
42992
  register('wm-confirmdialog', () => {
42860
42993
  return {
42861
- pre: attrs => `<${tagName$10} wmConfirmDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
42862
- post: () => `</${tagName$10}>`
42994
+ pre: attrs => `<${tagName$11} wmConfirmDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
42995
+ post: () => `</${tagName$11}>`
42863
42996
  };
42864
42997
  });
42865
42998
  var confirmDialog_build = () => { };
@@ -42869,11 +43002,11 @@ var confirmDialog_build$1 = /*#__PURE__*/Object.freeze({
42869
43002
  'default': confirmDialog_build
42870
43003
  });
42871
43004
 
42872
- const tagName$$ = 'div';
43005
+ const tagName$10 = 'div';
42873
43006
  register('wm-dialogactions', () => {
42874
43007
  return {
42875
- pre: attrs => `<ng-template #dialogFooter><${tagName$$} wmDialogFooter data-identfier="actions" ${getAttrMarkup(attrs)}>`,
42876
- post: () => `</${tagName$$}></ng-template>`
43008
+ pre: attrs => `<ng-template #dialogFooter><${tagName$10} wmDialogFooter data-identfier="actions" ${getAttrMarkup(attrs)}>`,
43009
+ post: () => `</${tagName$10}></ng-template>`
42877
43010
  };
42878
43011
  });
42879
43012
  var dialogFooter_build = () => { };
@@ -42883,11 +43016,11 @@ var dialogFooter_build$1 = /*#__PURE__*/Object.freeze({
42883
43016
  'default': dialogFooter_build
42884
43017
  });
42885
43018
 
42886
- const tagName$_ = 'div';
43019
+ const tagName$$ = 'div';
42887
43020
  register('wm-dialog', () => {
42888
43021
  return {
42889
- pre: attrs => `<${tagName$_} wmDialog ${getAttrMarkup(attrs)} aria-modal="true" role="dialog" wm-navigable-element="true"><ng-template #dialogBody>`,
42890
- post: () => `</ng-template></${tagName$_}>`
43022
+ pre: attrs => `<${tagName$$} wmDialog ${getAttrMarkup(attrs)} aria-modal="true" role="dialog" wm-navigable-element="true"><ng-template #dialogBody>`,
43023
+ post: () => `</ng-template></${tagName$$}>`
42891
43024
  };
42892
43025
  });
42893
43026
  // Todo:vinay remove wm-view in migration
@@ -42904,11 +43037,11 @@ var dialog_build$1 = /*#__PURE__*/Object.freeze({
42904
43037
  'default': dialog_build
42905
43038
  });
42906
43039
 
42907
- const tagName$Z = 'div';
43040
+ const tagName$_ = 'div';
42908
43041
  register('wm-iframedialog', () => {
42909
43042
  return {
42910
- pre: attrs => `<${tagName$Z} wmIframeDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
42911
- post: () => `</${tagName$Z}>`
43043
+ pre: attrs => `<${tagName$_} wmIframeDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
43044
+ post: () => `</${tagName$_}>`
42912
43045
  };
42913
43046
  });
42914
43047
  var iframeDialog_build = () => { };
@@ -42918,11 +43051,11 @@ var iframeDialog_build$1 = /*#__PURE__*/Object.freeze({
42918
43051
  'default': iframeDialog_build
42919
43052
  });
42920
43053
 
42921
- const tagName$Y = 'div';
43054
+ const tagName$Z = 'div';
42922
43055
  register('wm-logindialog', () => {
42923
43056
  return {
42924
- pre: attrs => `<${tagName$Y} wmDialog wmLoginDialog ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction" wm-navigable-element="true"><ng-template #dialogBody>`,
42925
- post: () => `</ng-template></${tagName$Y}>`
43057
+ pre: attrs => `<${tagName$Z} wmDialog wmLoginDialog ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction" wm-navigable-element="true"><ng-template #dialogBody>`,
43058
+ post: () => `</ng-template></${tagName$Z}>`
42926
43059
  };
42927
43060
  });
42928
43061
  var loginDialog_build = () => { };
@@ -42932,7 +43065,7 @@ var loginDialog_build$1 = /*#__PURE__*/Object.freeze({
42932
43065
  'default': loginDialog_build
42933
43066
  });
42934
43067
 
42935
- const tagName$X = 'div';
43068
+ const tagName$Y = 'div';
42936
43069
  register('wm-pagedialog', () => {
42937
43070
  return {
42938
43071
  pre: (attrs, shared) => {
@@ -42958,14 +43091,14 @@ register('wm-pagedialog', () => {
42958
43091
  shared.set('hasPartialContent', true);
42959
43092
  containerMarkup += `<ng-template><div wmContainer #partial partialContainer ${contentMarkup} width="100%" height="100%" ${onLoadEvtMarkup}>`;
42960
43093
  }
42961
- return `<${tagName$X} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;
43094
+ return `<${tagName$Y} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;
42962
43095
  },
42963
43096
  post: (attrs, shared) => {
42964
43097
  let preContent = '';
42965
43098
  if (shared.get('hasPartialContent')) {
42966
43099
  preContent = `</div></ng-template>`;
42967
43100
  }
42968
- return `${preContent}</${tagName$X}>`;
43101
+ return `${preContent}</${tagName$Y}>`;
42969
43102
  }
42970
43103
  };
42971
43104
  });
@@ -43044,8 +43177,8 @@ const getEditModeWidget = colDef => {
43044
43177
  return (fieldTypeWidgetTypeMap[colDef.type] && fieldTypeWidgetTypeMap[colDef.type][0]) || FormWidgetType.TEXT;
43045
43178
  };
43046
43179
 
43047
- const tagName$W = 'div';
43048
- const idGen$d = new IDGenerator('formfield_');
43180
+ const tagName$X = 'div';
43181
+ const idGen$e = new IDGenerator('formfield_');
43049
43182
  const getEventsTemplate = (attrs) => {
43050
43183
  const eventAttrs = new Map();
43051
43184
  if (!attrs.has('focus.event')) {
@@ -43068,7 +43201,7 @@ const getEventsTemplate = (attrs) => {
43068
43201
  });
43069
43202
  return getFormMarkupAttr(eventAttrs);
43070
43203
  };
43071
- const ɵ0$8$1 = getEventsTemplate;
43204
+ const ɵ0$9$1 = getEventsTemplate;
43072
43205
  const DEFAULT_PLACEHOLDERS = new Map([
43073
43206
  [FormWidgetType.SELECT, ['Select Min value', 'Select Max value', 'Select value']],
43074
43207
  [FormWidgetType.DATETIME, ['Select Min date time', 'Select Max date time', 'Select date time']],
@@ -43095,7 +43228,7 @@ const setDefaultPlaceholder = (attrs, widgetType, index) => {
43095
43228
  attrs.set(prop, placeholder);
43096
43229
  }
43097
43230
  };
43098
- const ɵ1$6 = setDefaultPlaceholder;
43231
+ const ɵ1$7 = setDefaultPlaceholder;
43099
43232
  const getWidgetTemplate = (attrs, options) => {
43100
43233
  const name = attrs.get('name');
43101
43234
  const fieldName = (attrs.get('key') || name || '').trim();
@@ -43150,7 +43283,7 @@ const registerFormField = (isFormField) => {
43150
43283
  return {
43151
43284
  requires: ['wm-form', 'wm-liveform', 'wm-livefilter', 'wm-list'],
43152
43285
  pre: (attrs, shared, parentForm, parentLiveForm, parentFilter, parentList) => {
43153
- const counter = idGen$d.nextUid();
43286
+ const counter = idGen$e.nextUid();
43154
43287
  const parent = parentForm || parentLiveForm || parentFilter;
43155
43288
  const pCounter = (parent && parent.get('form_reference')) || 'form';
43156
43289
  const widgetType = attrs.get('widget') || FormWidgetType.TEXT;
@@ -43171,7 +43304,7 @@ const registerFormField = (isFormField) => {
43171
43304
  else {
43172
43305
  setDefaultPlaceholder(attrs, widgetType, 2);
43173
43306
  }
43174
- return `<${tagName$W} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField captionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${getFormMarkupAttr(attrs)}>
43307
+ return `<${tagName$X} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField captionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${getFormMarkupAttr(attrs)}>
43175
43308
  <div class="live-field form-group app-composite-widget clearfix caption-{{${pCounter}.captionposition}}" widget="${widgetType}">
43176
43309
  <label [hidden]="!${counter}.displayname" class="app-label control-label formfield-label {{${pCounter}._captionClass}}"
43177
43310
  [ngStyle]="{width: ${pCounter}.captionsize}" [ngClass]="{'text-danger': ${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode,
@@ -43187,7 +43320,7 @@ const registerFormField = (isFormField) => {
43187
43320
  </div>
43188
43321
  </div>`;
43189
43322
  },
43190
- post: () => `</${tagName$W}>`,
43323
+ post: () => `</${tagName$X}>`,
43191
43324
  provide: (attrs, shared) => {
43192
43325
  const provider = new Map();
43193
43326
  provider.set('form_reference', shared.get('counter'));
@@ -43208,22 +43341,22 @@ var formField_build = () => { };
43208
43341
  var formField_build$1 = /*#__PURE__*/Object.freeze({
43209
43342
  __proto__: null,
43210
43343
  'default': formField_build,
43211
- 'ɵ0': ɵ0$8$1,
43212
- 'ɵ1': ɵ1$6,
43344
+ 'ɵ0': ɵ0$9$1,
43345
+ 'ɵ1': ɵ1$7,
43213
43346
  'ɵ2': ɵ2$3$1,
43214
43347
  'ɵ3': ɵ3$2$1,
43215
43348
  'ɵ4': ɵ4$1$1,
43216
43349
  'ɵ5': ɵ5$1$1
43217
43350
  });
43218
43351
 
43219
- const tagName$V = 'div';
43352
+ const tagName$W = 'div';
43220
43353
  const registerAction = (tmpl) => {
43221
43354
  return {
43222
- pre: attrs => `<${tagName$V} wmFormAction name="${attrs.get('name') || attrs.get('key')}" ${getAttrMarkup(attrs)} ${tmpl}>`,
43223
- post: () => `</${tagName$V}>`
43355
+ pre: attrs => `<${tagName$W} wmFormAction name="${attrs.get('name') || attrs.get('key')}" ${getAttrMarkup(attrs)} ${tmpl}>`,
43356
+ post: () => `</${tagName$W}>`
43224
43357
  };
43225
43358
  };
43226
- const ɵ0$7$1 = registerAction;
43359
+ const ɵ0$8$1 = registerAction;
43227
43360
  register('wm-form-action', registerAction.bind(undefined, ''));
43228
43361
  register('wm-filter-action', registerAction.bind(undefined, ` update-mode="true" `));
43229
43362
  var formAction_build = () => { };
@@ -43231,11 +43364,11 @@ var formAction_build = () => { };
43231
43364
  var formAction_build$1 = /*#__PURE__*/Object.freeze({
43232
43365
  __proto__: null,
43233
43366
  'default': formAction_build,
43234
- 'ɵ0': ɵ0$7$1
43367
+ 'ɵ0': ɵ0$8$1
43235
43368
  });
43236
43369
 
43237
- const tagName$U = 'form';
43238
- const idGen$c = new IDGenerator('form_');
43370
+ const tagName$V = 'form';
43371
+ const idGen$d = new IDGenerator('form_');
43239
43372
  const formWidgets$1 = new Set([
43240
43373
  'wm-text',
43241
43374
  'wm-textarea',
@@ -43284,7 +43417,7 @@ const addFormControlName = (children = []) => {
43284
43417
  addFormControlName(childNode.children);
43285
43418
  });
43286
43419
  };
43287
- const ɵ0$6$1 = addFormControlName;
43420
+ const ɵ0$7$1 = addFormControlName;
43288
43421
  const updateFormDataSource = (attrMap) => {
43289
43422
  if (attrMap.get('formdata.bind')) {
43290
43423
  const formDataSource = getDataSource(attrMap.get('formdata.bind'));
@@ -43293,7 +43426,7 @@ const updateFormDataSource = (attrMap) => {
43293
43426
  }
43294
43427
  }
43295
43428
  };
43296
- const ɵ1$5$1 = updateFormDataSource;
43429
+ const ɵ1$6 = updateFormDataSource;
43297
43430
  const buildTask = (directiveAttr = '') => {
43298
43431
  return {
43299
43432
  requires: ['wm-livetable', 'wm-login'],
@@ -43305,12 +43438,12 @@ const buildTask = (directiveAttr = '') => {
43305
43438
  let tmpl;
43306
43439
  let dialogId;
43307
43440
  const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';
43308
- const counter = idGen$c.nextUid();
43441
+ const counter = idGen$d.nextUid();
43309
43442
  const dependsOn = attrs.get('dependson') ? `dependson="${attrs.get('dependson')}"` : '';
43310
43443
  const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';
43311
43444
  const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];
43312
43445
  attrs.delete('dependson');
43313
- const liveFormTmpl = `<${tagName$U} wmForm data-role="${role}" ${directiveAttr} #${counter} ngNativeValidate [formGroup]="${counter}.ngform" [noValidate]="${counter}.validationtype !== 'html'"
43446
+ const liveFormTmpl = `<${tagName$V} wmForm data-role="${role}" ${directiveAttr} #${counter} ngNativeValidate [formGroup]="${counter}.ngform" [noValidate]="${counter}.validationtype !== 'html'"
43314
43447
  class="${classProp}" [class]="${counter}.captionAlignClass" [autocomplete]="${counter}.autocomplete ? 'on' : 'off'" captionposition=${attrs.get('captionposition')}`;
43315
43448
  attrs.set('numberOfFields', `${numberOfFields}`);
43316
43449
  shared.set('counter', counter);
@@ -43359,9 +43492,9 @@ const buildTask = (directiveAttr = '') => {
43359
43492
  return '</form></ng-template></div></div>';
43360
43493
  }
43361
43494
  if (attrs.get('formlayout') === 'page') {
43362
- return `</div></${tagName$U}>`;
43495
+ return `</div></${tagName$V}>`;
43363
43496
  }
43364
- return `</${tagName$U}>`;
43497
+ return `</${tagName$V}>`;
43365
43498
  },
43366
43499
  provide: (attrs, shared) => {
43367
43500
  const provider = new Map();
@@ -43379,19 +43512,19 @@ var form_build = () => { };
43379
43512
  var form_build$1 = /*#__PURE__*/Object.freeze({
43380
43513
  __proto__: null,
43381
43514
  'default': form_build,
43382
- 'ɵ0': ɵ0$6$1,
43383
- 'ɵ1': ɵ1$5$1,
43515
+ 'ɵ0': ɵ0$7$1,
43516
+ 'ɵ1': ɵ1$6,
43384
43517
  'ɵ2': ɵ2$2$1
43385
43518
  });
43386
43519
 
43387
- const tagName$T = 'div';
43520
+ const tagName$U = 'div';
43388
43521
  register('wm-calendar', () => {
43389
43522
  return {
43390
43523
  pre: (attrs) => {
43391
43524
  let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';
43392
- return `<${tagName$T} wmCalendar redrawable style="width:100%" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
43525
+ return `<${tagName$U} wmCalendar redrawable style="width:100%" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
43393
43526
  },
43394
- post: () => `</${tagName$T}>`
43527
+ post: () => `</${tagName$U}>`
43395
43528
  };
43396
43529
  });
43397
43530
  var calendar_build = () => { };
@@ -43401,11 +43534,11 @@ var calendar_build$1 = /*#__PURE__*/Object.freeze({
43401
43534
  'default': calendar_build
43402
43535
  });
43403
43536
 
43404
- const tagName$S = 'ul';
43537
+ const tagName$T = 'ul';
43405
43538
  register('wm-chips', () => {
43406
43539
  return {
43407
- pre: attrs => `<${tagName$S} wmChips role="listbox" ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
43408
- post: () => `</${tagName$S}>`
43540
+ pre: attrs => `<${tagName$T} wmChips role="listbox" ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
43541
+ post: () => `</${tagName$T}>`
43409
43542
  };
43410
43543
  });
43411
43544
  var chips_build = () => { };
@@ -43415,11 +43548,11 @@ var chips_build$1 = /*#__PURE__*/Object.freeze({
43415
43548
  'default': chips_build
43416
43549
  });
43417
43550
 
43418
- const tagName$R = 'div';
43551
+ const tagName$S = 'div';
43419
43552
  register('wm-colorpicker', () => {
43420
43553
  return {
43421
- pre: attrs => `<${tagName$R} wmColorPicker ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43422
- post: () => `</${tagName$R}>`
43554
+ pre: attrs => `<${tagName$S} wmColorPicker ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43555
+ post: () => `</${tagName$S}>`
43423
43556
  };
43424
43557
  });
43425
43558
  var colorPicker_build = () => { };
@@ -43429,11 +43562,11 @@ var colorPicker_build$1 = /*#__PURE__*/Object.freeze({
43429
43562
  'default': colorPicker_build
43430
43563
  });
43431
43564
 
43432
- const tagName$Q = 'div';
43565
+ const tagName$R = 'div';
43433
43566
  register('wm-currency', () => {
43434
43567
  return {
43435
- pre: attrs => `<${tagName$Q} wmCurrency ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43436
- post: () => `</${tagName$Q}>`
43568
+ pre: attrs => `<${tagName$R} wmCurrency ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43569
+ post: () => `</${tagName$R}>`
43437
43570
  };
43438
43571
  });
43439
43572
  var currency_build = () => { };
@@ -43443,11 +43576,11 @@ var currency_build$1 = /*#__PURE__*/Object.freeze({
43443
43576
  'default': currency_build
43444
43577
  });
43445
43578
 
43446
- const tagName$P = 'div';
43579
+ const tagName$Q = 'div';
43447
43580
  register('wm-buttongroup', () => {
43448
43581
  return {
43449
- pre: attrs => `<${tagName$P} wmButtonGroup role="group" aria-labelledby="button group" ${getAttrMarkup(attrs)}>`,
43450
- post: () => `</${tagName$P}>`
43582
+ pre: attrs => `<${tagName$Q} wmButtonGroup role="group" aria-labelledby="button group" ${getAttrMarkup(attrs)}>`,
43583
+ post: () => `</${tagName$Q}>`
43451
43584
  };
43452
43585
  });
43453
43586
  var buttonGroup_build = () => { };
@@ -43457,15 +43590,15 @@ var buttonGroup_build$1 = /*#__PURE__*/Object.freeze({
43457
43590
  'default': buttonGroup_build
43458
43591
  });
43459
43592
 
43460
- const tagName$O = 'button';
43461
- const idGen$b = new IDGenerator('wm_button');
43593
+ const tagName$P = 'button';
43594
+ const idGen$c = new IDGenerator('wm_button');
43462
43595
  register('wm-button', () => {
43463
43596
  return {
43464
43597
  pre: (attrs) => {
43465
- const counter = idGen$b.nextUid();
43466
- return `<${tagName$O} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.hint || ${counter}.caption || 'Button'" ${getAttrMarkup(attrs)}>`;
43598
+ const counter = idGen$c.nextUid();
43599
+ return `<${tagName$P} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.hint || ${counter}.caption || 'Button'" ${getAttrMarkup(attrs)}>`;
43467
43600
  },
43468
- post: () => `</${tagName$O}>`
43601
+ post: () => `</${tagName$P}>`
43469
43602
  };
43470
43603
  });
43471
43604
  var button_build = () => { };
@@ -43475,11 +43608,11 @@ var button_build$1 = /*#__PURE__*/Object.freeze({
43475
43608
  'default': button_build
43476
43609
  });
43477
43610
 
43478
- const tagName$N = 'div';
43611
+ const tagName$O = 'div';
43479
43612
  register('wm-checkbox', () => {
43480
43613
  return {
43481
- pre: attrs => `<${tagName$N} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43482
- post: () => `</${tagName$N}>`
43614
+ pre: attrs => `<${tagName$O} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43615
+ post: () => `</${tagName$O}>`
43483
43616
  };
43484
43617
  });
43485
43618
  var checkbox_build = () => { };
@@ -43489,11 +43622,11 @@ var checkbox_build$1 = /*#__PURE__*/Object.freeze({
43489
43622
  'default': checkbox_build
43490
43623
  });
43491
43624
 
43492
- const tagName$M = 'ul';
43625
+ const tagName$N = 'ul';
43493
43626
  register('wm-checkboxset', () => {
43494
43627
  return {
43495
- pre: attrs => `<${tagName$M} wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43496
- post: () => `</${tagName$M}>`
43628
+ pre: attrs => `<${tagName$N} wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43629
+ post: () => `</${tagName$N}>`
43497
43630
  };
43498
43631
  });
43499
43632
  var checkboxset_build = () => { };
@@ -43503,11 +43636,11 @@ var checkboxset_build$1 = /*#__PURE__*/Object.freeze({
43503
43636
  'default': checkboxset_build
43504
43637
  });
43505
43638
 
43506
- const tagName$L = 'div';
43639
+ const tagName$M = 'div';
43507
43640
  register('wm-composite', () => {
43508
43641
  return {
43509
- pre: attrs => `<${tagName$L} wmComposite captionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,
43510
- post: () => `</${tagName$L}${clearChildAttrs()}>`
43642
+ pre: attrs => `<${tagName$M} wmComposite captionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,
43643
+ post: () => `</${tagName$M}${clearChildAttrs()}>`
43511
43644
  };
43512
43645
  });
43513
43646
  var composite_build = () => { };
@@ -43517,11 +43650,11 @@ var composite_build$1 = /*#__PURE__*/Object.freeze({
43517
43650
  'default': composite_build
43518
43651
  });
43519
43652
 
43520
- const tagName$K = 'div';
43653
+ const tagName$L = 'div';
43521
43654
  register('wm-number', () => {
43522
43655
  return {
43523
- pre: attrs => `<${tagName$K} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43524
- post: () => `</${tagName$K}>`
43656
+ pre: attrs => `<${tagName$L} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43657
+ post: () => `</${tagName$L}>`
43525
43658
  };
43526
43659
  });
43527
43660
  var number_build = () => { };
@@ -43531,11 +43664,11 @@ var number_build$1 = /*#__PURE__*/Object.freeze({
43531
43664
  'default': number_build
43532
43665
  });
43533
43666
 
43534
- const tagName$J = 'ul';
43667
+ const tagName$K = 'ul';
43535
43668
  register('wm-radioset', () => {
43536
43669
  return {
43537
- pre: attrs => `<${tagName$J} wmRadioset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43538
- post: () => `</${tagName$J}>`
43670
+ pre: attrs => `<${tagName$K} wmRadioset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43671
+ post: () => `</${tagName$K}>`
43539
43672
  };
43540
43673
  });
43541
43674
  var radioset_build = () => { };
@@ -43545,11 +43678,11 @@ var radioset_build$1 = /*#__PURE__*/Object.freeze({
43545
43678
  'default': radioset_build
43546
43679
  });
43547
43680
 
43548
- const tagName$I = 'wm-select';
43681
+ const tagName$J = 'wm-select';
43549
43682
  register('wm-select', () => {
43550
43683
  return {
43551
- pre: attrs => `<${tagName$I} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43552
- post: () => `</${tagName$I}>`
43684
+ pre: attrs => `<${tagName$J} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43685
+ post: () => `</${tagName$J}>`
43553
43686
  };
43554
43687
  });
43555
43688
  var select_build = () => { };
@@ -43559,15 +43692,15 @@ var select_build$1 = /*#__PURE__*/Object.freeze({
43559
43692
  'default': select_build
43560
43693
  });
43561
43694
 
43562
- const tagName$H = 'div';
43563
- const idGen$a = new IDGenerator('wm_switch');
43695
+ const tagName$I = 'div';
43696
+ const idGen$b = new IDGenerator('wm_switch');
43564
43697
  register('wm-switch', () => {
43565
43698
  return {
43566
43699
  pre: (attrs) => {
43567
- const counter = idGen$a.nextUid();
43568
- return `<${tagName$H} wmSwitch #${counter}="wmSwitch" [attr.aria-label]="${counter}.hint || 'Switch button'" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;
43700
+ const counter = idGen$b.nextUid();
43701
+ return `<${tagName$I} wmSwitch #${counter}="wmSwitch" [attr.aria-label]="${counter}.hint || 'Switch button'" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;
43569
43702
  },
43570
- post: () => `</${tagName$H}>`
43703
+ post: () => `</${tagName$I}>`
43571
43704
  };
43572
43705
  });
43573
43706
  var switch_build = () => { };
@@ -43577,11 +43710,11 @@ var switch_build$1 = /*#__PURE__*/Object.freeze({
43577
43710
  'default': switch_build
43578
43711
  });
43579
43712
 
43580
- const tagName$G = 'wm-input';
43713
+ const tagName$H = 'wm-input';
43581
43714
  register('wm-text', () => {
43582
43715
  return {
43583
- pre: attrs => `<${tagName$G} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43584
- post: () => `</${tagName$G}>`
43716
+ pre: attrs => `<${tagName$H} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43717
+ post: () => `</${tagName$H}>`
43585
43718
  };
43586
43719
  });
43587
43720
  var text_build = () => { };
@@ -43591,11 +43724,11 @@ var text_build$1 = /*#__PURE__*/Object.freeze({
43591
43724
  'default': text_build
43592
43725
  });
43593
43726
 
43594
- const tagName$F = 'wm-textarea';
43727
+ const tagName$G = 'wm-textarea';
43595
43728
  register('wm-textarea', () => {
43596
43729
  return {
43597
- pre: attrs => `<${tagName$F} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43598
- post: () => `</${tagName$F}>`
43730
+ pre: attrs => `<${tagName$G} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43731
+ post: () => `</${tagName$G}>`
43599
43732
  };
43600
43733
  });
43601
43734
  var textarea_build = () => { };
@@ -43605,11 +43738,11 @@ var textarea_build$1 = /*#__PURE__*/Object.freeze({
43605
43738
  'default': textarea_build
43606
43739
  });
43607
43740
 
43608
- const tagName$E = 'div';
43741
+ const tagName$F = 'div';
43609
43742
  register('wm-datetime', () => {
43610
43743
  return {
43611
- pre: attrs => `<${tagName$E} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43612
- post: () => `</${tagName$E}>`
43744
+ pre: attrs => `<${tagName$F} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43745
+ post: () => `</${tagName$F}>`
43613
43746
  };
43614
43747
  });
43615
43748
  var dateTime_build = () => { };
@@ -43619,11 +43752,11 @@ var dateTime_build$1 = /*#__PURE__*/Object.freeze({
43619
43752
  'default': dateTime_build
43620
43753
  });
43621
43754
 
43622
- const tagName$D = 'div';
43755
+ const tagName$E = 'div';
43623
43756
  register('wm-date', () => {
43624
43757
  return {
43625
- pre: attrs => `<${tagName$D} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43626
- post: () => `</${tagName$D}>`
43758
+ pre: attrs => `<${tagName$E} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43759
+ post: () => `</${tagName$E}>`
43627
43760
  };
43628
43761
  });
43629
43762
  var date_build = () => { };
@@ -43633,11 +43766,11 @@ var date_build$1 = /*#__PURE__*/Object.freeze({
43633
43766
  'default': date_build
43634
43767
  });
43635
43768
 
43636
- const tagName$C = 'div';
43769
+ const tagName$D = 'div';
43637
43770
  register('wm-time', () => {
43638
43771
  return {
43639
- pre: attrs => `<${tagName$C} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43640
- post: () => `</${tagName$C}>`
43772
+ pre: attrs => `<${tagName$D} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
43773
+ post: () => `</${tagName$D}>`
43641
43774
  };
43642
43775
  });
43643
43776
  var time_build = () => { };
@@ -43647,7 +43780,7 @@ var time_build$1 = /*#__PURE__*/Object.freeze({
43647
43780
  'default': time_build
43648
43781
  });
43649
43782
 
43650
- const tagName$B = 'div';
43783
+ const tagName$C = 'div';
43651
43784
  register('wm-fileupload', () => {
43652
43785
  return {
43653
43786
  pre: attrs => {
@@ -43655,9 +43788,9 @@ register('wm-fileupload', () => {
43655
43788
  const onSelectBinding = getDataSource(attrs.get('select.event'));
43656
43789
  attrs.set('datasource.bind', onSelectBinding);
43657
43790
  }
43658
- return `<${tagName$B} wmFileUpload ${getAttrMarkup(attrs)} role="input">`;
43791
+ return `<${tagName$C} wmFileUpload ${getAttrMarkup(attrs)} role="input">`;
43659
43792
  },
43660
- post: () => `</${tagName$B}>`
43793
+ post: () => `</${tagName$C}>`
43661
43794
  };
43662
43795
  });
43663
43796
  var fileUpload_build = () => { };
@@ -43667,11 +43800,11 @@ var fileUpload_build$1 = /*#__PURE__*/Object.freeze({
43667
43800
  'default': fileUpload_build
43668
43801
  });
43669
43802
 
43670
- const tagName$A = 'div';
43803
+ const tagName$B = 'div';
43671
43804
  register('wm-rating', () => {
43672
43805
  return {
43673
- pre: attrs => `<${tagName$A} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
43674
- post: () => `</${tagName$A}>`
43806
+ pre: attrs => `<${tagName$B} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
43807
+ post: () => `</${tagName$B}>`
43675
43808
  };
43676
43809
  });
43677
43810
  var rating_build = () => { };
@@ -43681,11 +43814,11 @@ var rating_build$1 = /*#__PURE__*/Object.freeze({
43681
43814
  'default': rating_build
43682
43815
  });
43683
43816
 
43684
- const tagName$z = 'div';
43817
+ const tagName$A = 'div';
43685
43818
  register('wm-slider', () => {
43686
43819
  return {
43687
- pre: attrs => `<${tagName$z} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
43688
- post: () => `</${tagName$z}>`
43820
+ pre: attrs => `<${tagName$A} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
43821
+ post: () => `</${tagName$A}>`
43689
43822
  };
43690
43823
  });
43691
43824
  var slider_build = () => { };
@@ -43696,7 +43829,7 @@ var slider_build$1 = /*#__PURE__*/Object.freeze({
43696
43829
  });
43697
43830
 
43698
43831
  const wmlistTag = 'wm-list';
43699
- const tagName$y = 'div';
43832
+ const tagName$z = 'div';
43700
43833
  const dataSetKey$2 = 'dataset';
43701
43834
  function copyAttribute$1(from, fromAttrName, to, toAttrName) {
43702
43835
  const fromAttr = from.attrs.find(a => a.name === fromAttrName);
@@ -43744,8 +43877,8 @@ register('wm-media-list', () => {
43744
43877
  copyAttribute$1(template, 'height', node, 'thumbnailheight');
43745
43878
  }
43746
43879
  },
43747
- pre: attrs => `<${tagName$y} wmMediaList ${getAttrMarkup(attrs)}>`,
43748
- post: () => `</${tagName$y}>`
43880
+ pre: attrs => `<${tagName$z} wmMediaList ${getAttrMarkup(attrs)}>`,
43881
+ post: () => `</${tagName$z}>`
43749
43882
  };
43750
43883
  });
43751
43884
  var mediaList_build = () => { };
@@ -43755,11 +43888,11 @@ var mediaList_build$1 = /*#__PURE__*/Object.freeze({
43755
43888
  'default': mediaList_build
43756
43889
  });
43757
43890
 
43758
- const tagName$x = 'ng-template';
43891
+ const tagName$y = 'ng-template';
43759
43892
  register('wm-media-template', () => {
43760
43893
  return {
43761
- pre: () => `<${tagName$x} #mediaListTemplate let-item="item" let-index="index">`,
43762
- post: () => `</${tagName$x}>`
43894
+ pre: () => `<${tagName$y} #mediaListTemplate let-item="item" let-index="index">`,
43895
+ post: () => `</${tagName$y}>`
43763
43896
  };
43764
43897
  });
43765
43898
  var mediaListItem_build = () => { };
@@ -43843,16 +43976,16 @@ var list_build$1 = /*#__PURE__*/Object.freeze({
43843
43976
  'default': list_build
43844
43977
  });
43845
43978
 
43846
- const tagName$w = 'div';
43847
- const idGen$9 = new IDGenerator('liveform_dialog_id_');
43979
+ const tagName$x = 'div';
43980
+ const idGen$a = new IDGenerator('liveform_dialog_id_');
43848
43981
  register('wm-livetable', () => {
43849
43982
  return {
43850
43983
  pre: (attrs, shared) => {
43851
- const counter = idGen$9.nextUid();
43984
+ const counter = idGen$a.nextUid();
43852
43985
  shared.set('counter', counter);
43853
- return `<${tagName$w} wmLiveTable role="table" ${getAttrMarkup(attrs)} dialogid="${counter}">`;
43986
+ return `<${tagName$x} wmLiveTable role="table" ${getAttrMarkup(attrs)} dialogid="${counter}">`;
43854
43987
  },
43855
- post: () => `</${tagName$w}>`,
43988
+ post: () => `</${tagName$x}>`,
43856
43989
  provide: (attrs, shared) => {
43857
43990
  const provider = new Map();
43858
43991
  provider.set('liveform_dialog_id', shared.get('counter'));
@@ -43867,15 +44000,15 @@ var liveTable_build$1 = /*#__PURE__*/Object.freeze({
43867
44000
  'default': liveTable_build
43868
44001
  });
43869
44002
 
43870
- const tagName$v = 'p';
43871
- const idGen$8 = new IDGenerator('wm_message');
44003
+ const tagName$w = 'p';
44004
+ const idGen$9 = new IDGenerator('wm_message');
43872
44005
  register('wm-message', () => {
43873
44006
  return {
43874
44007
  pre: (attrs) => {
43875
- const counter = idGen$8.nextUid();
43876
- return `<${tagName$v} wmMessage tabindex="0" #${counter}="wmMessage" ${getAttrMarkup(attrs)}>`;
44008
+ const counter = idGen$9.nextUid();
44009
+ return `<${tagName$w} wmMessage tabindex="0" #${counter}="wmMessage" ${getAttrMarkup(attrs)}>`;
43877
44010
  },
43878
- post: () => `</${tagName$v}>`
44011
+ post: () => `</${tagName$w}>`
43879
44012
  };
43880
44013
  });
43881
44014
  var message_build = () => { };
@@ -43885,11 +44018,11 @@ var message_build$1 = /*#__PURE__*/Object.freeze({
43885
44018
  'default': message_build
43886
44019
  });
43887
44020
 
43888
- const tagName$u = 'ol';
44021
+ const tagName$v = 'ol';
43889
44022
  register('wm-breadcrumb', () => {
43890
44023
  return {
43891
- pre: attrs => `<${tagName$u} wmBreadcrumb ${getAttrMarkup(attrs)}>`,
43892
- post: () => `</${tagName$u}>`
44024
+ pre: attrs => `<${tagName$v} wmBreadcrumb ${getAttrMarkup(attrs)}>`,
44025
+ post: () => `</${tagName$v}>`
43893
44026
  };
43894
44027
  });
43895
44028
  var breadcrumb_build = () => { };
@@ -43899,11 +44032,11 @@ var breadcrumb_build$1 = /*#__PURE__*/Object.freeze({
43899
44032
  'default': breadcrumb_build
43900
44033
  });
43901
44034
 
43902
- const tagName$t = 'div';
44035
+ const tagName$u = 'div';
43903
44036
  register('wm-menu', () => {
43904
44037
  return {
43905
- pre: attrs => `<${tagName$t} wmMenu dropdown ${getAttrMarkup(attrs)}>`,
43906
- post: () => `</${tagName$t}>`
44038
+ pre: attrs => `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)}>`,
44039
+ post: () => `</${tagName$u}>`
43907
44040
  };
43908
44041
  });
43909
44042
  var menu_build = () => { };
@@ -43913,11 +44046,11 @@ var menu_build$1 = /*#__PURE__*/Object.freeze({
43913
44046
  'default': menu_build
43914
44047
  });
43915
44048
 
43916
- const tagName$s = 'li';
44049
+ const tagName$t = 'li';
43917
44050
  register('wm-nav-item', () => {
43918
44051
  return {
43919
- pre: attrs => `<${tagName$s} wmNavItem role="listitem" ${getAttrMarkup(attrs)}>`,
43920
- post: () => `</${tagName$s}>`
44052
+ pre: attrs => `<${tagName$t} wmNavItem role="listitem" ${getAttrMarkup(attrs)}>`,
44053
+ post: () => `</${tagName$t}>`
43921
44054
  };
43922
44055
  });
43923
44056
  var navItem_build = () => { };
@@ -43927,11 +44060,11 @@ var navItem_build$1 = /*#__PURE__*/Object.freeze({
43927
44060
  'default': navItem_build
43928
44061
  });
43929
44062
 
43930
- const tagName$r = 'ul';
44063
+ const tagName$s = 'ul';
43931
44064
  register('wm-nav', () => {
43932
44065
  return {
43933
- pre: attrs => `<${tagName$r} wmNav data-element-type="wmNav" data-role="page-header" role="list" ${getAttrMarkup(attrs)}>`,
43934
- post: () => `</${tagName$r}>`
44066
+ pre: attrs => `<${tagName$s} wmNav data-element-type="wmNav" data-role="page-header" role="list" ${getAttrMarkup(attrs)}>`,
44067
+ post: () => `</${tagName$s}>`
43935
44068
  };
43936
44069
  });
43937
44070
  var nav_build = () => { };
@@ -43941,11 +44074,11 @@ var nav_build$1 = /*#__PURE__*/Object.freeze({
43941
44074
  'default': nav_build
43942
44075
  });
43943
44076
 
43944
- const tagName$q = 'nav';
44077
+ const tagName$r = 'nav';
43945
44078
  register('wm-navbar', () => {
43946
44079
  return {
43947
- pre: attrs => `<${tagName$q} wmNavbar data-element-type="wmNavbar" role="navigation" ${getAttrMarkup(attrs)}>`,
43948
- post: () => `</${tagName$q}>`
44080
+ pre: attrs => `<${tagName$r} wmNavbar data-element-type="wmNavbar" role="navigation" ${getAttrMarkup(attrs)}>`,
44081
+ post: () => `</${tagName$r}>`
43949
44082
  };
43950
44083
  });
43951
44084
  var navbar_build = () => { };
@@ -43955,7 +44088,7 @@ var navbar_build$1 = /*#__PURE__*/Object.freeze({
43955
44088
  'default': navbar_build
43956
44089
  });
43957
44090
 
43958
- const tagName$p = 'wm-popover';
44091
+ const tagName$q = 'wm-popover';
43959
44092
  register('wm-popover', () => {
43960
44093
  return {
43961
44094
  requires: ['wm-table'],
@@ -43975,7 +44108,7 @@ register('wm-popover', () => {
43975
44108
  popoverTemplate = `<div wmContainer #partial partialContainer ${contentMarkup}>`;
43976
44109
  shared.set('hasPopoverContent', true);
43977
44110
  }
43978
- let markup = `<${tagName$p} wmPopover ${getAttrMarkup(attrs)}>`;
44111
+ let markup = `<${tagName$q} wmPopover ${getAttrMarkup(attrs)}>`;
43979
44112
  const contextAttrs = table ? `let-row="row"` : ``;
43980
44113
  markup += `<ng-template ${contextAttrs}><button class="popover-start"></button>`;
43981
44114
  // todo keyboard navigation - tab
@@ -43989,7 +44122,7 @@ register('wm-popover', () => {
43989
44122
  if (shared.get('hasPopoverContent')) {
43990
44123
  markup += `</div>`;
43991
44124
  }
43992
- return `${markup}<button class="popover-end"></button></ng-template></${tagName$p}>`;
44125
+ return `${markup}<button class="popover-end"></button></ng-template></${tagName$q}>`;
43993
44126
  }
43994
44127
  };
43995
44128
  });
@@ -44000,21 +44133,21 @@ var popover_build$1 = /*#__PURE__*/Object.freeze({
44000
44133
  'default': popover_build
44001
44134
  });
44002
44135
 
44003
- const tagName$o = 'div';
44136
+ const tagName$p = 'div';
44004
44137
  const findChild = (node, childName) => {
44005
44138
  const child = node && node.children.find(e => (e instanceof Element$1$1 && e.name === childName));
44006
44139
  return child;
44007
44140
  };
44008
- const ɵ0$5$1 = findChild;
44009
- const createElement$2 = name => {
44010
- return new Element$1$1(name, [], [], noSpan$2, noSpan$2, noSpan$2);
44141
+ const ɵ0$6$1 = findChild;
44142
+ const createElement$3 = name => {
44143
+ return new Element$1$1(name, [], [], noSpan$3, noSpan$3, noSpan$3);
44011
44144
  };
44012
- const ɵ1$4$1 = createElement$2;
44013
- const addAtrribute$2 = (node, name, value) => {
44014
- const attr = new Attribute(name, value, noSpan$2, noSpan$2, noSpan$2);
44145
+ const ɵ1$5$1 = createElement$3;
44146
+ const addAtrribute$3 = (node, name, value) => {
44147
+ const attr = new Attribute(name, value, noSpan$3, noSpan$3, noSpan$3);
44015
44148
  node.attrs.push(attr);
44016
44149
  };
44017
- const ɵ2$1$2 = addAtrribute$2;
44150
+ const ɵ2$1$2 = addAtrribute$3;
44018
44151
  const getElementNode = (name, node) => {
44019
44152
  let elementNode;
44020
44153
  if (!node) {
@@ -44034,9 +44167,9 @@ const getElementNode = (name, node) => {
44034
44167
  return elementNode;
44035
44168
  };
44036
44169
  const ɵ3$1$2 = getElementNode;
44037
- const noSpan$2 = {};
44038
- const idGen$7 = new IDGenerator('wm_page');
44039
- register('wm-layout', () => {
44170
+ const noSpan$3 = {};
44171
+ const idGen$8 = new IDGenerator('wm_page');
44172
+ register('wm-page', () => {
44040
44173
  return {
44041
44174
  template: (node) => {
44042
44175
  let pageContentNode = findChild(findChild(node, 'wm-content'), 'wm-page-content');
@@ -44044,24 +44177,24 @@ register('wm-layout', () => {
44044
44177
  pageContentNode = getElementNode('wm-page-content', getElementNode('wm-content', node));
44045
44178
  }
44046
44179
  if (pageContentNode) {
44047
- const conditionalNode = createElement$2('ng-container');
44048
- addAtrribute$2(conditionalNode, '*ngIf', 'compilePageContent');
44180
+ const conditionalNode = createElement$3('ng-container');
44181
+ addAtrribute$3(conditionalNode, '*ngIf', 'compilePageContent');
44049
44182
  conditionalNode.children = conditionalNode.children.concat(pageContentNode.children);
44050
44183
  conditionalNode.children.push(new Text$3('{{onPageContentReady()}}', null));
44051
44184
  pageContentNode.children = [conditionalNode];
44052
44185
  if (isMobileApp()) {
44053
- const loader = createElement$2('div');
44054
- addAtrribute$2(loader, 'wmPageContentLoader', '');
44055
- addAtrribute$2(loader, '*ngIf', '!showPageContent');
44186
+ const loader = createElement$3('div');
44187
+ addAtrribute$3(loader, 'wmPageContentLoader', '');
44188
+ addAtrribute$3(loader, '*ngIf', '!showPageContent');
44056
44189
  pageContentNode.children.push(loader);
44057
44190
  }
44058
44191
  }
44059
44192
  },
44060
44193
  pre: (attrs) => {
44061
- const counter = idGen$7.nextUid();
44062
- return `<${tagName$o} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.hint || 'Main page content'" ${getAttrMarkup(attrs)}>`;
44194
+ const counter = idGen$8.nextUid();
44195
+ return `<${tagName$p} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.hint || 'Main page content'" ${getAttrMarkup(attrs)}>`;
44063
44196
  },
44064
- post: () => `</${tagName$o}>`
44197
+ post: () => `</${tagName$p}>`
44065
44198
  };
44066
44199
  });
44067
44200
  var page_build = () => { };
@@ -44069,17 +44202,35 @@ var page_build = () => { };
44069
44202
  var page_build$1 = /*#__PURE__*/Object.freeze({
44070
44203
  __proto__: null,
44071
44204
  'default': page_build,
44072
- 'ɵ0': ɵ0$5$1,
44073
- 'ɵ1': ɵ1$4$1,
44205
+ 'ɵ0': ɵ0$6$1,
44206
+ 'ɵ1': ɵ1$5$1,
44074
44207
  'ɵ2': ɵ2$1$2,
44075
44208
  'ɵ3': ɵ3$1$2
44076
44209
  });
44077
44210
 
44211
+ const tagName$o = 'div';
44212
+ const idGen$7 = new IDGenerator('wm_layout');
44213
+ register('wm-layout', () => {
44214
+ return {
44215
+ pre: (attrs) => {
44216
+ const counter = idGen$7.nextUid();
44217
+ return `<${tagName$o} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.hint || 'Main page content'" ${getAttrMarkup(attrs)}>`;
44218
+ },
44219
+ post: () => `</${tagName$o}>`
44220
+ };
44221
+ });
44222
+ var layout_build = () => { };
44223
+
44224
+ var layout_build$1 = /*#__PURE__*/Object.freeze({
44225
+ __proto__: null,
44226
+ 'default': layout_build
44227
+ });
44228
+
44078
44229
  const tagName$n = 'router-outlet';
44079
44230
  register('wm-router-outlet', () => {
44080
44231
  return {
44081
- pre: attrs => `<${tagName$n} ${getAttrMarkup(attrs)}>`,
44082
- post: () => `</${tagName$n}>`
44232
+ pre: attrs => `<div wmRouterOutlet ${getAttrMarkup(attrs)}><${tagName$n}>`,
44233
+ post: () => `</${tagName$n}></div>`
44083
44234
  };
44084
44235
  });
44085
44236
  var routerOutlet_build = () => { };
@@ -44204,9 +44355,31 @@ var rightPanel_build$1 = /*#__PURE__*/Object.freeze({
44204
44355
  });
44205
44356
 
44206
44357
  const tagName$f = 'div';
44358
+ const createElement$2 = name => {
44359
+ return new Element$1$1(name, [], [], noSpan$2, noSpan$2, noSpan$2);
44360
+ };
44361
+ const ɵ0$5$1 = createElement$2;
44362
+ const addAtrribute$2 = (node, name, value) => {
44363
+ const attr = new Attribute(name, value, noSpan$2, noSpan$2, noSpan$2);
44364
+ node.attrs.push(attr);
44365
+ };
44366
+ const ɵ1$4$1 = addAtrribute$2;
44367
+ const noSpan$2 = {};
44207
44368
  register('wm-page-content', () => {
44208
44369
  return {
44209
- pre: attrs => `<${tagName$f} wmPageContent wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
44370
+ template: (node) => {
44371
+ for (let attr of node.attrs) {
44372
+ if (attr.name === 'spa' && attr.value) {
44373
+ const conditionalNode = createElement$2('ng-container');
44374
+ addAtrribute$2(conditionalNode, '*ngIf', 'compilePageContent');
44375
+ conditionalNode.children = conditionalNode.children.concat(node.children);
44376
+ conditionalNode.children.push(new Text$3('{{onPageContentReady()}}', null));
44377
+ node.children = [conditionalNode];
44378
+ break;
44379
+ }
44380
+ }
44381
+ },
44382
+ pre: attrs => `<${tagName$f} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
44210
44383
  post: () => `</${tagName$f}>`
44211
44384
  };
44212
44385
  });
@@ -44214,7 +44387,9 @@ var pageContent_build = () => { };
44214
44387
 
44215
44388
  var pageContent_build$1 = /*#__PURE__*/Object.freeze({
44216
44389
  __proto__: null,
44217
- 'default': pageContent_build
44390
+ 'default': pageContent_build,
44391
+ 'ɵ0': ɵ0$5$1,
44392
+ 'ɵ1': ɵ1$4$1
44218
44393
  });
44219
44394
 
44220
44395
  const tagName$e = 'div';
@@ -44311,10 +44486,10 @@ var prefab_build$1 = /*#__PURE__*/Object.freeze({
44311
44486
  });
44312
44487
 
44313
44488
  const noSpan = {};
44314
- const createElement$3 = name => {
44489
+ const createElement$4 = name => {
44315
44490
  return new Element$1$1(name, [], [], noSpan, noSpan, noSpan);
44316
44491
  };
44317
- const ɵ0$3$2 = createElement$3;
44492
+ const ɵ0$3$2 = createElement$4;
44318
44493
  const addAtrribute = (node, name, value) => {
44319
44494
  const attr = new Attribute(name, value, noSpan, noSpan, noSpan);
44320
44495
  node.attrs.push(attr);
@@ -44324,7 +44499,7 @@ const tagName$9 = 'div';
44324
44499
  register('wm-prefab-container', () => {
44325
44500
  return {
44326
44501
  template: (node) => {
44327
- const conditionalNode = createElement$3('ng-container');
44502
+ const conditionalNode = createElement$4('ng-container');
44328
44503
  addAtrribute(conditionalNode, '*ngIf', 'compileContent');
44329
44504
  conditionalNode.children = conditionalNode.children.concat(node.children);
44330
44505
  node.children.length = 0;
@@ -44731,7 +44906,7 @@ const getRowActionTmpl = (attrs) => {
44731
44906
  ${saveCancelTmpl}
44732
44907
  </ng-template>`;
44733
44908
  };
44734
- const ɵ1$8 = getRowActionTmpl;
44909
+ const ɵ1$9 = getRowActionTmpl;
44735
44910
  register('wm-table-row-action', () => {
44736
44911
  return {
44737
44912
  pre: attrs => `<${tagName$4} wmTableRowAction ${getAttrMarkup(attrs)}>
@@ -44745,7 +44920,7 @@ var tableRowAction_build$1 = /*#__PURE__*/Object.freeze({
44745
44920
  __proto__: null,
44746
44921
  'default': tableRowAction_build,
44747
44922
  'ɵ0': ɵ0$i,
44748
- 'ɵ1': ɵ1$8
44923
+ 'ɵ1': ɵ1$9
44749
44924
  });
44750
44925
 
44751
44926
  const tagName$3 = 'div';
@@ -44934,6 +45109,7 @@ exports.iframeBuild = iframe_build$1;
44934
45109
  exports.iframeDlgBuild = iframeDialog_build$1;
44935
45110
  exports.initComponentsBuildTask = initComponentsBuildTask;
44936
45111
  exports.labelBuild = label_build$1;
45112
+ exports.layoutBuild = layout_build$1;
44937
45113
  exports.leftPanelBuild = leftPanel_build$1;
44938
45114
  exports.lgBuild = layoutGrid_build$1;
44939
45115
  exports.lgcolBuild = layoutGridColumn_build$1;
@@ -45013,8 +45189,8 @@ exports.transpile = transpile;
45013
45189
  exports.ɵ0 = ɵ0$h;
45014
45190
  exports.ɵ1 = ɵ1$5;
45015
45191
  exports.ɵ10 = ɵ10$1;
45016
- exports.ɵ11 = ɵ11;
45017
- exports.ɵ12 = ɵ12;
45192
+ exports.ɵ11 = ɵ11$1;
45193
+ exports.ɵ12 = ɵ12$1;
45018
45194
  exports.ɵ13 = ɵ13;
45019
45195
  exports.ɵ14 = ɵ14;
45020
45196
  exports.ɵ2 = ɵ2$4;