@wavemaker/app-ng-runtime 12.0.0-next.44004 → 12.0.0-next.45001

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. app-ng-runtime/build-task/advanced/custom-widget-container/custom-widget-container.build.d.ts +2 -0
  2. app-ng-runtime/build-task/advanced/custom-widget-prop/custom-widget-prop.build.d.ts +2 -0
  3. app-ng-runtime/build-task/advanced/custom-widget-wrapper/custom-widget-wrapper.build.d.ts +2 -0
  4. app-ng-runtime/build-task/bundles/index.umd.js +477 -404
  5. app-ng-runtime/build-task/esm2022/advanced/custom-widget-container/custom-widget-container.build.mjs +15 -0
  6. app-ng-runtime/build-task/esm2022/advanced/custom-widget-prop/custom-widget-prop.build.mjs +10 -0
  7. app-ng-runtime/build-task/esm2022/advanced/custom-widget-wrapper/custom-widget-wrapper.build.mjs +26 -0
  8. app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +3 -2
  9. app-ng-runtime/build-task/esm2022/navigation/menu/menu.build.mjs +14 -2
  10. app-ng-runtime/build-task/esm2022/public_api.mjs +4 -1
  11. app-ng-runtime/build-task/fesm2022/index.mjs +479 -405
  12. app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
  13. app-ng-runtime/build-task/public_api.d.ts +3 -0
  14. app-ng-runtime/components/advanced/custom/bundles/index.umd.js +275 -0
  15. app-ng-runtime/components/advanced/custom/custom-widget-container/custom-widget-container.directive.d.ts +14 -0
  16. app-ng-runtime/components/advanced/custom/custom-widget-container/custom-widget.props.d.ts +1 -0
  17. app-ng-runtime/components/advanced/custom/custom-widget-container-prop/custom-widget-container-prop.directive.d.ts +20 -0
  18. app-ng-runtime/components/advanced/custom/custom-widget-prop.d.ts +1 -0
  19. app-ng-runtime/components/advanced/custom/custom-widget.directive.d.ts +19 -0
  20. app-ng-runtime/components/advanced/custom/custom-widget.module.d.ts +11 -0
  21. app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container/custom-widget-container.directive.mjs +73 -0
  22. app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container/custom-widget.props.mjs +9 -0
  23. app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container-prop/custom-widget-container-prop.directive.mjs +70 -0
  24. app-ng-runtime/components/advanced/custom/esm2022/custom-widget-prop.mjs +8 -0
  25. app-ng-runtime/components/advanced/custom/esm2022/custom-widget.directive.mjs +68 -0
  26. app-ng-runtime/components/advanced/custom/esm2022/custom-widget.module.mjs +39 -0
  27. app-ng-runtime/components/advanced/custom/esm2022/index.mjs +5 -0
  28. app-ng-runtime/components/advanced/custom/esm2022/public_api.mjs +5 -0
  29. app-ng-runtime/components/advanced/custom/fesm2022/index.mjs +256 -0
  30. app-ng-runtime/components/advanced/custom/fesm2022/index.mjs.map +1 -0
  31. app-ng-runtime/components/advanced/custom/index.d.ts +5 -0
  32. app-ng-runtime/components/advanced/custom/package.json +23 -0
  33. app-ng-runtime/components/advanced/custom/public_api.d.ts +4 -0
  34. app-ng-runtime/components/base/bundles/index.umd.js +65 -9
  35. app-ng-runtime/components/base/components.module.d.ts +12 -11
  36. app-ng-runtime/components/base/esm2022/components.module.mjs +5 -1
  37. app-ng-runtime/components/base/esm2022/public_api.mjs +2 -1
  38. app-ng-runtime/components/base/esm2022/widgets/common/base/base.component.mjs +28 -10
  39. app-ng-runtime/components/base/esm2022/widgets/common/base/custom-widget-container.directive.mjs +39 -0
  40. app-ng-runtime/components/base/fesm2022/index.mjs +65 -10
  41. app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
  42. app-ng-runtime/components/base/public_api.d.ts +1 -0
  43. app-ng-runtime/components/base/widgets/common/base/base.component.d.ts +9 -3
  44. app-ng-runtime/components/base/widgets/common/base/custom-widget-container.directive.d.ts +14 -0
  45. app-ng-runtime/components/basic/default/audio/audio.component.d.ts +1 -0
  46. app-ng-runtime/components/basic/default/bundles/index.umd.js +5 -4
  47. app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +6 -5
  48. app-ng-runtime/components/basic/default/fesm2022/index.mjs +5 -4
  49. app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
  50. app-ng-runtime/components/basic/progress/bundles/index.umd.js +3 -2
  51. app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +4 -3
  52. app-ng-runtime/components/basic/progress/fesm2022/index.mjs +3 -2
  53. app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
  54. app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +1 -0
  55. app-ng-runtime/components/data/form/bundles/index.umd.js +4 -3
  56. app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +1 -2
  57. app-ng-runtime/components/data/form/esm2022/live-form/live-form.directive.mjs +5 -3
  58. app-ng-runtime/components/data/form/fesm2022/index.mjs +4 -3
  59. app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
  60. app-ng-runtime/components/input/default/bundles/index.umd.js +46 -53
  61. app-ng-runtime/components/input/default/esm2022/caption-position.directive.mjs +2 -3
  62. app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +44 -53
  63. app-ng-runtime/components/input/default/esm2022/text/base/base-input.mjs +4 -1
  64. app-ng-runtime/components/input/default/fesm2022/index.mjs +47 -54
  65. app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
  66. app-ng-runtime/components/input/default/select/select.component.d.ts +1 -2
  67. app-ng-runtime/components/input/epoch/bundles/index.umd.js +19 -7
  68. app-ng-runtime/components/input/epoch/date/date.component.d.ts +1 -0
  69. app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +9 -3
  70. app-ng-runtime/components/input/epoch/esm2022/date/imaskUtil.mjs +8 -2
  71. app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +3 -3
  72. app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +3 -3
  73. app-ng-runtime/components/input/epoch/fesm2022/index.mjs +19 -7
  74. app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
  75. app-ng-runtime/core/bundles/index.umd.js +10 -0
  76. app-ng-runtime/core/enums/enums.d.ts +2 -1
  77. app-ng-runtime/core/esm2022/enums/enums.mjs +2 -1
  78. app-ng-runtime/core/esm2022/types/types.mjs +4 -1
  79. app-ng-runtime/core/esm2022/utils/build-utils.mjs +6 -1
  80. app-ng-runtime/core/fesm2022/index.mjs +10 -1
  81. app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
  82. app-ng-runtime/core/types/types.d.ts +5 -1
  83. app-ng-runtime/package.json +1 -1
  84. app-ng-runtime/runtime/base/bundles/index.umd.js +254 -4
  85. app-ng-runtime/runtime/base/components/base-custom-widget.component.d.ts +71 -0
  86. app-ng-runtime/runtime/base/esm2022/components/base-custom-widget.component.mjs +253 -0
  87. app-ng-runtime/runtime/base/esm2022/public_api.mjs +2 -1
  88. app-ng-runtime/runtime/base/esm2022/runtime-base.module.mjs +6 -1
  89. app-ng-runtime/runtime/base/esm2022/types/types.mjs +2 -1
  90. app-ng-runtime/runtime/base/fesm2022/index.mjs +251 -1
  91. app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
  92. app-ng-runtime/runtime/base/public_api.d.ts +1 -0
  93. app-ng-runtime/runtime/base/runtime-base.module.d.ts +9 -8
  94. app-ng-runtime/runtime/base/types/types.d.ts +2 -1
  95. app-ng-runtime/runtime/dynamic/bundles/index.umd.js +26 -9
  96. app-ng-runtime/runtime/dynamic/esm2022/app/app.module.mjs +5 -2
  97. app-ng-runtime/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +22 -7
  98. app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +25 -7
  99. app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
  100. app-ng-runtime/scripts/datatable/datatable.js +1 -0
  101. app-ng-runtime/transpiler/bundles/index.umd.js +5 -0
  102. app-ng-runtime/transpiler/esm2022/build.mjs +4 -1
  103. app-ng-runtime/transpiler/esm2022/imports.mjs +3 -1
  104. app-ng-runtime/transpiler/fesm2022/index.mjs +5 -0
  105. app-ng-runtime/transpiler/fesm2022/index.mjs.map +1 -1
@@ -5,13 +5,13 @@ import { Attribute, Element, Text } from '@angular/compiler';
5
5
 
6
6
  const carouselTagName = 'carousel';
7
7
  const dataSetKey$5 = 'dataset';
8
- const idGen$s = new IDGenerator('wm_carousel_ref_');
8
+ const idGen$t = new IDGenerator('wm_carousel_ref_');
9
9
  const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
10
10
  register('wm-carousel', () => {
11
11
  return {
12
12
  pre: (attrs, shared) => {
13
13
  // generating unique Id for the carousel
14
- const counter = idGen$s.nextUid();
14
+ const counter = idGen$t.nextUid();
15
15
  shared.set('carousel_ref', counter);
16
16
  return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
17
17
  },
@@ -77,11 +77,11 @@ var carouselTemplate_build$1 = /*#__PURE__*/Object.freeze({
77
77
  default: carouselTemplate_build
78
78
  });
79
79
 
80
- const tagName$1C = 'div';
80
+ const tagName$1F = 'div';
81
81
  register('wm-login', () => {
82
82
  return {
83
- pre: attrs => `<${tagName$1C} wmLogin ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction">`,
84
- post: () => `</${tagName$1C}>`,
83
+ pre: attrs => `<${tagName$1F} wmLogin ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction">`,
84
+ post: () => `</${tagName$1F}>`,
85
85
  provide: () => {
86
86
  const provider = new Map();
87
87
  provider.set('isLogin', true);
@@ -96,11 +96,11 @@ var login_build$1 = /*#__PURE__*/Object.freeze({
96
96
  default: login_build
97
97
  });
98
98
 
99
- const tagName$1B = 'marquee';
99
+ const tagName$1E = 'marquee';
100
100
  register('wm-marquee', () => {
101
101
  return {
102
- pre: attrs => `<${tagName$1B} onmouseover="this.stop();" onmouseout="this.start();" wmMarquee role="marquee" aria-live="off" ${getAttrMarkup(attrs)}>`,
103
- post: () => `</${tagName$1B}>`
102
+ pre: attrs => `<${tagName$1E} onmouseover="this.stop();" onmouseout="this.start();" wmMarquee role="marquee" aria-live="off" ${getAttrMarkup(attrs)}>`,
103
+ post: () => `</${tagName$1E}>`
104
104
  };
105
105
  });
106
106
  var marquee_build = () => { };
@@ -110,15 +110,15 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
110
110
  default: marquee_build
111
111
  });
112
112
 
113
- const tagName$1A = 'a';
114
- const idGen$r = new IDGenerator('wm_anchor');
113
+ const tagName$1D = 'a';
114
+ const idGen$s = new IDGenerator('wm_anchor');
115
115
  register('wm-anchor', () => {
116
116
  return {
117
117
  pre: (attrs) => {
118
- const counter = idGen$r.nextUid();
119
- return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.hint || ${counter}.caption" ${getAttrMarkup(attrs)}>`;
118
+ const counter = idGen$s.nextUid();
119
+ return `<${tagName$1D} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.hint || ${counter}.caption" ${getAttrMarkup(attrs)}>`;
120
120
  },
121
- post: () => `</${tagName$1A}>`
121
+ post: () => `</${tagName$1D}>`
122
122
  };
123
123
  });
124
124
  var anchor_build = () => { };
@@ -128,11 +128,11 @@ var anchor_build$1 = /*#__PURE__*/Object.freeze({
128
128
  default: anchor_build
129
129
  });
130
130
 
131
- const tagName$1z = 'div';
131
+ const tagName$1C = 'div';
132
132
  register('wm-audio', () => {
133
133
  return {
134
- pre: attrs => `<${tagName$1z} wmAudio ${getAttrMarkup(attrs)}>`,
135
- post: () => `</${tagName$1z}>`
134
+ pre: attrs => `<${tagName$1C} wmAudio ${getAttrMarkup(attrs)}>`,
135
+ post: () => `</${tagName$1C}>`
136
136
  };
137
137
  });
138
138
  var audio_build = () => { };
@@ -142,15 +142,15 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
142
142
  default: audio_build
143
143
  });
144
144
 
145
- const tagName$1y = 'div';
146
- const idGen$q = new IDGenerator('wm_html');
145
+ const tagName$1B = 'div';
146
+ const idGen$r = new IDGenerator('wm_html');
147
147
  register('wm-html', () => {
148
148
  return {
149
149
  pre: (attrs) => {
150
- const counter = idGen$q.nextUid();
151
- return `<${tagName$1y} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
150
+ const counter = idGen$r.nextUid();
151
+ return `<${tagName$1B} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
152
152
  },
153
- post: () => `</${tagName$1y}>`
153
+ post: () => `</${tagName$1B}>`
154
154
  };
155
155
  });
156
156
  var html_build = () => { };
@@ -160,11 +160,11 @@ var html_build$1 = /*#__PURE__*/Object.freeze({
160
160
  default: html_build
161
161
  });
162
162
 
163
- const tagName$1x = 'span';
163
+ const tagName$1A = 'span';
164
164
  register('wm-icon', () => {
165
165
  return {
166
- pre: attrs => `<${tagName$1x} wmIcon aria-hidden="true" ${getAttrMarkup(attrs)}>`,
167
- post: () => `</${tagName$1x}>`
166
+ pre: attrs => `<${tagName$1A} wmIcon aria-hidden="true" ${getAttrMarkup(attrs)}>`,
167
+ post: () => `</${tagName$1A}>`
168
168
  };
169
169
  });
170
170
  var icon_build = () => { };
@@ -174,11 +174,11 @@ var icon_build$1 = /*#__PURE__*/Object.freeze({
174
174
  default: icon_build
175
175
  });
176
176
 
177
- const tagName$1w = 'div';
177
+ const tagName$1z = 'div';
178
178
  register('wm-iframe', () => {
179
179
  return {
180
- pre: attrs => `<${tagName$1w} wmIframe ${getAttrMarkup(attrs)}>`,
181
- post: () => `</${tagName$1w}>`
180
+ pre: attrs => `<${tagName$1z} wmIframe ${getAttrMarkup(attrs)}>`,
181
+ post: () => `</${tagName$1z}>`
182
182
  };
183
183
  });
184
184
  var iframe_build = () => { };
@@ -188,8 +188,8 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
188
188
  default: iframe_build
189
189
  });
190
190
 
191
- let tagName$1v = 'p';
192
- const idGen$p = new IDGenerator('wm_label');
191
+ let tagName$1y = 'p';
192
+ const idGen$q = new IDGenerator('wm_label');
193
193
  register('wm-label', () => {
194
194
  return {
195
195
  pre: (attrs) => {
@@ -198,15 +198,15 @@ register('wm-label', () => {
198
198
  const classList = attrs.get('class') ? attrs.get('class').split(' ').filter(element => ["h1", "h2", "h3", "h4", "h5", "h6", "p"].includes(element)) : [];
199
199
  attrs.set('type', classList.length ? classList[0] : "p");
200
200
  }
201
- tagName$1v = attrs.get('type');
201
+ tagName$1y = attrs.get('type');
202
202
  }
203
203
  else {
204
- tagName$1v = 'label';
204
+ tagName$1y = 'label';
205
205
  }
206
- const counter = idGen$p.nextUid();
207
- return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
206
+ const counter = idGen$q.nextUid();
207
+ return `<${tagName$1y} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
208
208
  },
209
- post: () => `</${tagName$1v}>`
209
+ post: () => `</${tagName$1y}>`
210
210
  };
211
211
  });
212
212
  var label_build = () => { };
@@ -216,13 +216,13 @@ var label_build$1 = /*#__PURE__*/Object.freeze({
216
216
  default: label_build
217
217
  });
218
218
 
219
- const tagName$1u = 'img';
220
- const idGen$o = new IDGenerator('wm_picture');
219
+ const tagName$1x = 'img';
220
+ const idGen$p = new IDGenerator('wm_picture');
221
221
  register('wm-picture', () => {
222
222
  return {
223
223
  pre: (attrs) => {
224
- const counter = idGen$o.nextUid();
225
- return `<${tagName$1u} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.hint || 'Image'" ${getAttrMarkup(attrs)}>`;
224
+ const counter = idGen$p.nextUid();
225
+ return `<${tagName$1x} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.hint || 'Image'" ${getAttrMarkup(attrs)}>`;
226
226
  }
227
227
  };
228
228
  });
@@ -233,15 +233,15 @@ var picture_build$1 = /*#__PURE__*/Object.freeze({
233
233
  default: picture_build
234
234
  });
235
235
 
236
- const tagName$1t = 'div';
237
- const idGen$n = new IDGenerator('wm_spinner');
236
+ const tagName$1w = 'div';
237
+ const idGen$o = new IDGenerator('wm_spinner');
238
238
  register('wm-spinner', () => {
239
239
  return {
240
240
  pre: (attrs) => {
241
- const counter = idGen$n.nextUid();
242
- return `<${tagName$1t} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.hint || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
241
+ const counter = idGen$o.nextUid();
242
+ return `<${tagName$1w} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.hint || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
243
243
  },
244
- post: () => `</${tagName$1t}>`
244
+ post: () => `</${tagName$1w}>`
245
245
  };
246
246
  });
247
247
  var spinner_build = () => { };
@@ -251,7 +251,7 @@ var spinner_build$1 = /*#__PURE__*/Object.freeze({
251
251
  default: spinner_build
252
252
  });
253
253
 
254
- const tagName$1s = 'div';
254
+ const tagName$1v = 'div';
255
255
  const getAttr = (node, attrName) => node.attrs.find(attr => attr.name === attrName);
256
256
  const getAttrValue = (node, attrName) => {
257
257
  const match = getAttr(node, attrName);
@@ -279,8 +279,8 @@ register('wm-progress-bar', () => {
279
279
  }
280
280
  }
281
281
  },
282
- pre: attrs => `<${tagName$1s} wmProgressBar ${getAttrMarkup(attrs)}>`,
283
- post: () => `</${tagName$1s}>`
282
+ pre: attrs => `<${tagName$1v} wmProgressBar ${getAttrMarkup(attrs)}>`,
283
+ post: () => `</${tagName$1v}>`
284
284
  };
285
285
  });
286
286
  var progressBar_build = () => { };
@@ -290,11 +290,11 @@ var progressBar_build$1 = /*#__PURE__*/Object.freeze({
290
290
  default: progressBar_build
291
291
  });
292
292
 
293
- const tagName$1r = 'div';
293
+ const tagName$1u = 'div';
294
294
  register('wm-progress-circle', () => {
295
295
  return {
296
- pre: attrs => `<${tagName$1r} wmProgressCircle ${getAttrMarkup(attrs)}>`,
297
- post: () => `</${tagName$1r}>`
296
+ pre: attrs => `<${tagName$1u} wmProgressCircle ${getAttrMarkup(attrs)}>`,
297
+ post: () => `</${tagName$1u}>`
298
298
  };
299
299
  });
300
300
  var progressCircle_build = () => { };
@@ -304,15 +304,15 @@ var progressCircle_build$1 = /*#__PURE__*/Object.freeze({
304
304
  default: progressCircle_build
305
305
  });
306
306
 
307
- const tagName$1q = 'div';
308
- const idGen$m = new IDGenerator('wm_richtexteditor');
307
+ const tagName$1t = 'div';
308
+ const idGen$n = new IDGenerator('wm_richtexteditor');
309
309
  register('wm-richtexteditor', () => {
310
310
  return {
311
311
  pre: (attrs) => {
312
- const counter = idGen$m.nextUid();
313
- return `<${tagName$1q} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.hint || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
312
+ const counter = idGen$n.nextUid();
313
+ return `<${tagName$1t} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.hint || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
314
314
  },
315
- post: () => `</${tagName$1q}>`
315
+ post: () => `</${tagName$1t}>`
316
316
  };
317
317
  });
318
318
  var richTextEditor_build = () => { };
@@ -322,11 +322,11 @@ var richTextEditor_build$1 = /*#__PURE__*/Object.freeze({
322
322
  default: richTextEditor_build
323
323
  });
324
324
 
325
- const tagName$1p = 'div';
325
+ const tagName$1s = 'div';
326
326
  register('wm-search', () => {
327
327
  return {
328
- pre: attrs => `<${tagName$1p} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
329
- post: () => `</${tagName$1p}>`
328
+ pre: attrs => `<${tagName$1s} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
329
+ post: () => `</${tagName$1s}>`
330
330
  };
331
331
  });
332
332
  var search_build = () => { };
@@ -336,11 +336,11 @@ var search_build$1 = /*#__PURE__*/Object.freeze({
336
336
  default: search_build
337
337
  });
338
338
 
339
- const tagName$1o = 'ul';
339
+ const tagName$1r = 'ul';
340
340
  register('wm-tree', () => {
341
341
  return {
342
- pre: attrs => `<${tagName$1o} wmTree class="ztree" ${getAttrMarkup(attrs)}>`,
343
- post: () => `</${tagName$1o}>`
342
+ pre: attrs => `<${tagName$1r} wmTree class="ztree" ${getAttrMarkup(attrs)}>`,
343
+ post: () => `</${tagName$1r}>`
344
344
  };
345
345
  });
346
346
 
@@ -348,11 +348,11 @@ var tree_build = /*#__PURE__*/Object.freeze({
348
348
  __proto__: null
349
349
  });
350
350
 
351
- const tagName$1n = 'div';
351
+ const tagName$1q = 'div';
352
352
  register('wm-card', () => {
353
353
  return {
354
- pre: attrs => `<${tagName$1n} wmCard ${getAttrMarkup(attrs)}>`,
355
- post: () => `</${tagName$1n}>`
354
+ pre: attrs => `<${tagName$1q} wmCard ${getAttrMarkup(attrs)}>`,
355
+ post: () => `</${tagName$1q}>`
356
356
  };
357
357
  });
358
358
  var card_build = () => { };
@@ -362,11 +362,11 @@ var card_build$1 = /*#__PURE__*/Object.freeze({
362
362
  default: card_build
363
363
  });
364
364
 
365
- const tagName$1m = 'div';
365
+ const tagName$1p = 'div';
366
366
  register('wm-card-content', () => {
367
367
  return {
368
- pre: attrs => `<${tagName$1m} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,
369
- post: () => `</${tagName$1m}>`
368
+ pre: attrs => `<${tagName$1p} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,
369
+ post: () => `</${tagName$1p}>`
370
370
  };
371
371
  });
372
372
  var cardContent_build = () => { };
@@ -376,11 +376,11 @@ var cardContent_build$1 = /*#__PURE__*/Object.freeze({
376
376
  default: cardContent_build
377
377
  });
378
378
 
379
- const tagName$1l = 'div';
379
+ const tagName$1o = 'div';
380
380
  register('wm-card-actions', () => {
381
381
  return {
382
- pre: attrs => `<${tagName$1l} wmCardActions ${getAttrMarkup(attrs)}>`,
383
- post: () => `</${tagName$1l}>`
382
+ pre: attrs => `<${tagName$1o} wmCardActions ${getAttrMarkup(attrs)}>`,
383
+ post: () => `</${tagName$1o}>`
384
384
  };
385
385
  });
386
386
  var cardActions_build = () => { };
@@ -390,11 +390,11 @@ var cardActions_build$1 = /*#__PURE__*/Object.freeze({
390
390
  default: cardActions_build
391
391
  });
392
392
 
393
- const tagName$1k = 'div';
393
+ const tagName$1n = 'div';
394
394
  register('wm-card-footer', () => {
395
395
  return {
396
- pre: attrs => `<${tagName$1k} wmCardFooter ${getAttrMarkup(attrs)}>`,
397
- post: () => `</${tagName$1k}>`
396
+ pre: attrs => `<${tagName$1n} wmCardFooter ${getAttrMarkup(attrs)}>`,
397
+ post: () => `</${tagName$1n}>`
398
398
  };
399
399
  });
400
400
  var cardFooter_build = () => { };
@@ -404,11 +404,11 @@ var cardFooter_build$1 = /*#__PURE__*/Object.freeze({
404
404
  default: cardFooter_build
405
405
  });
406
406
 
407
- const tagName$1j = 'div';
407
+ const tagName$1m = 'div';
408
408
  register('wm-chart', () => {
409
409
  return {
410
- pre: attrs => `<${tagName$1j} wmChart redrawable aria-label="${attrs.get('type')} Chart" ${getAttrMarkup(attrs)}>`,
411
- post: () => `</${tagName$1j}>`
410
+ pre: attrs => `<${tagName$1m} wmChart redrawable aria-label="${attrs.get('type')} Chart" ${getAttrMarkup(attrs)}>`,
411
+ post: () => `</${tagName$1m}>`
412
412
  };
413
413
  });
414
414
  var chart_build = () => { };
@@ -418,19 +418,19 @@ var chart_build$1 = /*#__PURE__*/Object.freeze({
418
418
  default: chart_build
419
419
  });
420
420
 
421
- const tagName$1i = 'div';
421
+ const tagName$1l = 'div';
422
422
  const dataSetKey$4 = 'dataset';
423
- const idGen$l = new IDGenerator('wm_accordion_ref_');
423
+ const idGen$m = new IDGenerator('wm_accordion_ref_');
424
424
  const isDynamicAccordion = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
425
425
  register('wm-accordion', () => {
426
426
  return {
427
427
  pre: (attrs, shared) => {
428
428
  // generating unique Id for the accordion
429
- const counter = idGen$l.nextUid();
429
+ const counter = idGen$m.nextUid();
430
430
  shared.set('accordion_ref', counter);
431
- return `<${tagName$1i} wmAccordion #${counter}="wmAccordion" role="tablist" aria-multiselectable="true" ${getAttrMarkup(attrs)}>`;
431
+ return `<${tagName$1l} wmAccordion #${counter}="wmAccordion" role="tablist" aria-multiselectable="true" ${getAttrMarkup(attrs)}>`;
432
432
  },
433
- post: () => `</${tagName$1i}>`,
433
+ post: () => `</${tagName$1l}>`,
434
434
  template: (node, shared) => {
435
435
  // check if the accordion is dynamic
436
436
  if (isDynamicAccordion(node)) {
@@ -461,15 +461,15 @@ var accordion_build$1 = /*#__PURE__*/Object.freeze({
461
461
  default: accordion_build
462
462
  });
463
463
 
464
- const tagName$1h = 'div';
465
- const idGen$k = new IDGenerator('wm_accordionpane');
464
+ const tagName$1k = 'div';
465
+ const idGen$l = new IDGenerator('wm_accordionpane');
466
466
  register('wm-accordionpane', () => {
467
467
  return {
468
468
  pre: (attrs) => {
469
- const counter = idGen$k.nextUid();
470
- return `<${tagName$1h} #${counter}="wmAccordionPane" [attr.aria-expanded]="${counter}.isActive" wmAccordionPane partialContainer wm-navigable-element="true" role="tab" ${getAttrMarkup(attrs)}>`;
469
+ const counter = idGen$l.nextUid();
470
+ return `<${tagName$1k} #${counter}="wmAccordionPane" [attr.aria-expanded]="${counter}.isActive" wmAccordionPane partialContainer wm-navigable-element="true" role="tab" ${getAttrMarkup(attrs)}>`;
471
471
  },
472
- post: () => `</${tagName$1h}>`
472
+ post: () => `</${tagName$1k}>`
473
473
  };
474
474
  });
475
475
  var accordionPane_build = () => { };
@@ -479,11 +479,11 @@ var accordionPane_build$1 = /*#__PURE__*/Object.freeze({
479
479
  default: accordionPane_build
480
480
  });
481
481
 
482
- const tagName$1g = 'div';
482
+ const tagName$1j = 'div';
483
483
  register('wm-container', () => {
484
484
  return {
485
- pre: attrs => `<${tagName$1g} wmContainer partialContainer wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
486
- post: () => `</${tagName$1g}>`
485
+ pre: attrs => `<${tagName$1j} wmContainer partialContainer wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
486
+ post: () => `</${tagName$1j}>`
487
487
  };
488
488
  });
489
489
  var container_build = () => { };
@@ -493,11 +493,11 @@ var container_build$1 = /*#__PURE__*/Object.freeze({
493
493
  default: container_build
494
494
  });
495
495
 
496
- const tagName$1f = 'div';
496
+ const tagName$1i = 'div';
497
497
  register('wm-gridcolumn', () => {
498
498
  return {
499
- pre: attrs => `<${tagName$1f} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,
500
- post: () => `</${tagName$1f}>`
499
+ pre: attrs => `<${tagName$1i} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,
500
+ post: () => `</${tagName$1i}>`
501
501
  };
502
502
  });
503
503
  var layoutGridColumn_build = () => { };
@@ -507,11 +507,11 @@ var layoutGridColumn_build$1 = /*#__PURE__*/Object.freeze({
507
507
  default: layoutGridColumn_build
508
508
  });
509
509
 
510
- const tagName$1e = 'div';
510
+ const tagName$1h = 'div';
511
511
  register('wm-gridrow', () => {
512
512
  return {
513
- pre: attrs => `<${tagName$1e} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,
514
- post: () => `</${tagName$1e}>`
513
+ pre: attrs => `<${tagName$1h} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,
514
+ post: () => `</${tagName$1h}>`
515
515
  };
516
516
  });
517
517
  var layoutGridRow_build = () => { };
@@ -521,11 +521,11 @@ var layoutGridRow_build$1 = /*#__PURE__*/Object.freeze({
521
521
  default: layoutGridRow_build
522
522
  });
523
523
 
524
- const tagName$1d = 'div';
524
+ const tagName$1g = 'div';
525
525
  register('wm-layoutgrid', () => {
526
526
  return {
527
- pre: attrs => `<${tagName$1d} wmLayoutGrid ${getAttrMarkup(attrs)}>`,
528
- post: () => `</${tagName$1d}>`
527
+ pre: attrs => `<${tagName$1g} wmLayoutGrid ${getAttrMarkup(attrs)}>`,
528
+ post: () => `</${tagName$1g}>`
529
529
  };
530
530
  });
531
531
  var layoutGrid_build = () => { };
@@ -535,21 +535,21 @@ var layoutGrid_build$1 = /*#__PURE__*/Object.freeze({
535
535
  default: layoutGrid_build
536
536
  });
537
537
 
538
- const tagName$1c = 'div';
539
- const idGen$j = new IDGenerator('wm_panel');
538
+ const tagName$1f = 'div';
539
+ const idGen$k = new IDGenerator('wm_panel');
540
540
  register('wm-panel', () => {
541
541
  return {
542
542
  pre: (attrs) => {
543
- const counter = idGen$j.nextUid();
544
- return `<${tagName$1c} wmPanel #${counter}="wmPanel" partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
543
+ const counter = idGen$k.nextUid();
544
+ return `<${tagName$1f} wmPanel #${counter}="wmPanel" partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
545
545
  },
546
- post: () => `</${tagName$1c}>`
546
+ post: () => `</${tagName$1f}>`
547
547
  };
548
548
  });
549
549
  register('wm-panel-footer', () => {
550
550
  return {
551
- pre: attrs => `<${tagName$1c} wmPanelFooter ${getAttrMarkup(attrs)}>`,
552
- post: () => `</${tagName$1c}>`
551
+ pre: attrs => `<${tagName$1f} wmPanelFooter ${getAttrMarkup(attrs)}>`,
552
+ post: () => `</${tagName$1f}>`
553
553
  };
554
554
  });
555
555
  var panel_build = () => { };
@@ -559,11 +559,11 @@ var panel_build$1 = /*#__PURE__*/Object.freeze({
559
559
  default: panel_build
560
560
  });
561
561
 
562
- const tagName$1b = 'div';
562
+ const tagName$1e = 'div';
563
563
  register('wm-segmented-control', () => {
564
564
  return {
565
- pre: attrs => `<${tagName$1b} wmSegmentedControl ${getAttrMarkup(attrs)}>`,
566
- post: () => `</${tagName$1b}>`
565
+ pre: attrs => `<${tagName$1e} wmSegmentedControl ${getAttrMarkup(attrs)}>`,
566
+ post: () => `</${tagName$1e}>`
567
567
  };
568
568
  });
569
569
  var segmentedControl_build = () => { };
@@ -573,11 +573,11 @@ var segmentedControl_build$1 = /*#__PURE__*/Object.freeze({
573
573
  default: segmentedControl_build
574
574
  });
575
575
 
576
- const tagName$1a = 'li';
576
+ const tagName$1d = 'li';
577
577
  register('wm-segment-content', () => {
578
578
  return {
579
- pre: attrs => `<${tagName$1a} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
580
- post: () => `</${tagName$1a}>`
579
+ pre: attrs => `<${tagName$1d} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
580
+ post: () => `</${tagName$1d}>`
581
581
  };
582
582
  });
583
583
  var segmentContent_build = () => { };
@@ -613,19 +613,19 @@ var repeatTemplate_build$1 = /*#__PURE__*/Object.freeze({
613
613
  default: repeatTemplate_build
614
614
  });
615
615
 
616
- const tagName$19 = 'div';
616
+ const tagName$1c = 'div';
617
617
  const dataSetKey$3 = 'dataset';
618
- const idGen$i = new IDGenerator('wm_tabs_ref_');
618
+ const idGen$j = new IDGenerator('wm_tabs_ref_');
619
619
  const isDynamicTabs = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
620
620
  register('wm-tabs', () => {
621
621
  return {
622
622
  pre: (attrs, shared) => {
623
623
  // generating unique Id for the tabs
624
- const counter = idGen$i.nextUid();
624
+ const counter = idGen$j.nextUid();
625
625
  shared.set('tabs_ref', counter);
626
- return `<${tagName$19} wmTabs #${counter}="wmTabs" ${getAttrMarkup(attrs)}>`;
626
+ return `<${tagName$1c} wmTabs #${counter}="wmTabs" ${getAttrMarkup(attrs)}>`;
627
627
  },
628
- post: () => `</${tagName$19}>`,
628
+ post: () => `</${tagName$1c}>`,
629
629
  template: (node, shared) => {
630
630
  // check if the tab widget is dynamic
631
631
  if (isDynamicTabs(node)) {
@@ -656,11 +656,11 @@ var tabs_build$1 = /*#__PURE__*/Object.freeze({
656
656
  default: tabs_build
657
657
  });
658
658
 
659
- const tagName$18 = 'div';
659
+ const tagName$1b = 'div';
660
660
  register('wm-tabpane', () => {
661
661
  return {
662
- pre: attrs => `<${tagName$18} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element="true" role="tabpanel">`,
663
- post: () => `</${tagName$18}>`
662
+ pre: attrs => `<${tagName$1b} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element="true" role="tabpanel">`,
663
+ post: () => `</${tagName$1b}>`
664
664
  };
665
665
  });
666
666
  var tabPane_build = () => { };
@@ -670,11 +670,11 @@ var tabPane_build$1 = /*#__PURE__*/Object.freeze({
670
670
  default: tabPane_build
671
671
  });
672
672
 
673
- const tagName$17 = 'div';
673
+ const tagName$1a = 'div';
674
674
  register('wm-tile', () => {
675
675
  return {
676
- pre: attrs => `<${tagName$17} wmTile aria-describedby="Tile" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
677
- post: () => `</${tagName$17}>`
676
+ pre: attrs => `<${tagName$1a} wmTile aria-describedby="Tile" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
677
+ post: () => `</${tagName$1a}>`
678
678
  };
679
679
  });
680
680
  var tile_build = () => { };
@@ -684,11 +684,11 @@ var tile_build$1 = /*#__PURE__*/Object.freeze({
684
684
  default: tile_build
685
685
  });
686
686
 
687
- const tagName$16 = 'div';
687
+ const tagName$19 = 'div';
688
688
  register('wm-wizard', () => {
689
689
  return {
690
- pre: attrs => `<${tagName$16} wmWizard role="tablist" ${getAttrMarkup(attrs)}>`,
691
- post: () => `</${tagName$16}>`
690
+ pre: attrs => `<${tagName$19} wmWizard role="tablist" ${getAttrMarkup(attrs)}>`,
691
+ post: () => `</${tagName$19}>`
692
692
  };
693
693
  });
694
694
  var wizard_build = () => { };
@@ -698,16 +698,16 @@ var wizard_build$1 = /*#__PURE__*/Object.freeze({
698
698
  default: wizard_build
699
699
  });
700
700
 
701
- const tagName$15 = 'form';
702
- const idGen$h = new IDGenerator('wizard_step_id_');
701
+ const tagName$18 = 'form';
702
+ const idGen$i = new IDGenerator('wizard_step_id_');
703
703
  register('wm-wizardstep', () => {
704
704
  return {
705
705
  pre: attrs => {
706
- const counter = idGen$h.nextUid();
707
- return `<${tagName$15} wmWizardStep #${counter}="wmWizardStep" ${getAttrMarkup(attrs)}>
706
+ const counter = idGen$i.nextUid();
707
+ return `<${tagName$18} wmWizardStep #${counter}="wmWizardStep" ${getAttrMarkup(attrs)}>
708
708
  <ng-template [ngIf]="${counter}.isInitialized">`;
709
709
  },
710
- post: () => `</ng-template></${tagName$15}>`
710
+ post: () => `</ng-template></${tagName$18}>`
711
711
  };
712
712
  });
713
713
  var wizardStep_build = () => { };
@@ -717,15 +717,15 @@ var wizardStep_build$1 = /*#__PURE__*/Object.freeze({
717
717
  default: wizardStep_build
718
718
  });
719
719
 
720
- const tagName$14 = 'button';
721
- const idGen$g = new IDGenerator('wm_barcodescanner');
720
+ const tagName$17 = 'button';
721
+ const idGen$h = new IDGenerator('wm_barcodescanner');
722
722
  register('wm-barcodescanner', () => {
723
723
  return {
724
724
  pre: (attrs) => {
725
- const counter = idGen$g.nextUid();
726
- return `<${tagName$14} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.hint || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
725
+ const counter = idGen$h.nextUid();
726
+ return `<${tagName$17} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.hint || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
727
727
  },
728
- post: () => `</${tagName$14}>`
728
+ post: () => `</${tagName$17}>`
729
729
  };
730
730
  });
731
731
  var barcodeScanner_build = () => { };
@@ -735,15 +735,15 @@ var barcodeScanner_build$1 = /*#__PURE__*/Object.freeze({
735
735
  default: barcodeScanner_build
736
736
  });
737
737
 
738
- const tagName$13 = 'button';
739
- const idGen$f = new IDGenerator('wm_camera');
738
+ const tagName$16 = 'button';
739
+ const idGen$g = new IDGenerator('wm_camera');
740
740
  register('wm-camera', () => {
741
741
  return {
742
742
  pre: (attrs) => {
743
- const counter = idGen$f.nextUid();
744
- return `<${tagName$13} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.hint || 'Camera'" ${getAttrMarkup(attrs)}>`;
743
+ const counter = idGen$g.nextUid();
744
+ return `<${tagName$16} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.hint || 'Camera'" ${getAttrMarkup(attrs)}>`;
745
745
  },
746
- post: () => `</${tagName$13}>`
746
+ post: () => `</${tagName$16}>`
747
747
  };
748
748
  });
749
749
  var camera_build = () => { };
@@ -753,11 +753,11 @@ var camera_build$1 = /*#__PURE__*/Object.freeze({
753
753
  default: camera_build
754
754
  });
755
755
 
756
- const tagName$12 = 'div';
756
+ const tagName$15 = 'div';
757
757
  register('wm-alertdialog', () => {
758
758
  return {
759
- pre: attrs => `<${tagName$12} wmAlertDialog role="alertdialog" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
760
- post: () => `</${tagName$12}>`
759
+ pre: attrs => `<${tagName$15} wmAlertDialog role="alertdialog" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
760
+ post: () => `</${tagName$15}>`
761
761
  };
762
762
  });
763
763
  var alertDialog_build = () => { };
@@ -767,11 +767,11 @@ var alertDialog_build$1 = /*#__PURE__*/Object.freeze({
767
767
  default: alertDialog_build
768
768
  });
769
769
 
770
- const tagName$11 = 'div';
770
+ const tagName$14 = 'div';
771
771
  register('wm-confirmdialog', () => {
772
772
  return {
773
- pre: attrs => `<${tagName$11} wmConfirmDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
774
- post: () => `</${tagName$11}>`
773
+ pre: attrs => `<${tagName$14} wmConfirmDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
774
+ post: () => `</${tagName$14}>`
775
775
  };
776
776
  });
777
777
  var confirmDialog_build = () => { };
@@ -781,11 +781,11 @@ var confirmDialog_build$1 = /*#__PURE__*/Object.freeze({
781
781
  default: confirmDialog_build
782
782
  });
783
783
 
784
- const tagName$10 = 'div';
784
+ const tagName$13 = 'div';
785
785
  register('wm-dialogactions', () => {
786
786
  return {
787
- pre: attrs => `<ng-template #dialogFooter><${tagName$10} wmDialogFooter data-identfier="actions" ${getAttrMarkup(attrs)}>`,
788
- post: () => `</${tagName$10}></ng-template>`
787
+ pre: attrs => `<ng-template #dialogFooter><${tagName$13} wmDialogFooter data-identfier="actions" ${getAttrMarkup(attrs)}>`,
788
+ post: () => `</${tagName$13}></ng-template>`
789
789
  };
790
790
  });
791
791
  var dialogFooter_build = () => { };
@@ -795,11 +795,11 @@ var dialogFooter_build$1 = /*#__PURE__*/Object.freeze({
795
795
  default: dialogFooter_build
796
796
  });
797
797
 
798
- const tagName$$ = 'div';
798
+ const tagName$12 = 'div';
799
799
  register('wm-dialog', () => {
800
800
  return {
801
- pre: attrs => `<${tagName$$} wmDialog ${getAttrMarkup(attrs)} aria-modal="true" role="dialog" wm-navigable-element="true"><ng-template #dialogBody>`,
802
- post: () => `</ng-template></${tagName$$}>`
801
+ pre: attrs => `<${tagName$12} wmDialog ${getAttrMarkup(attrs)} aria-modal="true" role="dialog" wm-navigable-element="true"><ng-template #dialogBody>`,
802
+ post: () => `</ng-template></${tagName$12}>`
803
803
  };
804
804
  });
805
805
  // Todo:vinay remove wm-view in migration
@@ -816,11 +816,11 @@ var dialog_build$1 = /*#__PURE__*/Object.freeze({
816
816
  default: dialog_build
817
817
  });
818
818
 
819
- const tagName$_ = 'div';
819
+ const tagName$11 = 'div';
820
820
  register('wm-iframedialog', () => {
821
821
  return {
822
- pre: attrs => `<${tagName$_} wmIframeDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
823
- post: () => `</${tagName$_}>`
822
+ pre: attrs => `<${tagName$11} wmIframeDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
823
+ post: () => `</${tagName$11}>`
824
824
  };
825
825
  });
826
826
  var iframeDialog_build = () => { };
@@ -830,11 +830,11 @@ var iframeDialog_build$1 = /*#__PURE__*/Object.freeze({
830
830
  default: iframeDialog_build
831
831
  });
832
832
 
833
- const tagName$Z = 'div';
833
+ const tagName$10 = 'div';
834
834
  register('wm-logindialog', () => {
835
835
  return {
836
- pre: attrs => `<${tagName$Z} wmDialog wmLoginDialog ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction" wm-navigable-element="true"><ng-template #dialogBody>`,
837
- post: () => `</ng-template></${tagName$Z}>`
836
+ pre: attrs => `<${tagName$10} wmDialog wmLoginDialog ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction" wm-navigable-element="true"><ng-template #dialogBody>`,
837
+ post: () => `</ng-template></${tagName$10}>`
838
838
  };
839
839
  });
840
840
  var loginDialog_build = () => { };
@@ -844,7 +844,7 @@ var loginDialog_build$1 = /*#__PURE__*/Object.freeze({
844
844
  default: loginDialog_build
845
845
  });
846
846
 
847
- const tagName$Y = 'div';
847
+ const tagName$$ = 'div';
848
848
  register('wm-pagedialog', () => {
849
849
  return {
850
850
  pre: (attrs, shared) => {
@@ -870,14 +870,14 @@ register('wm-pagedialog', () => {
870
870
  shared.set('hasPartialContent', true);
871
871
  containerMarkup += `<ng-template><div wmContainer #partial partialContainer ${contentMarkup} width="100%" height="100%" ${onLoadEvtMarkup}>`;
872
872
  }
873
- return `<${tagName$Y} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;
873
+ return `<${tagName$$} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;
874
874
  },
875
875
  post: (attrs, shared) => {
876
876
  let preContent = '';
877
877
  if (shared.get('hasPartialContent')) {
878
878
  preContent = `</div></ng-template>`;
879
879
  }
880
- return `${preContent}</${tagName$Y}>`;
880
+ return `${preContent}</${tagName$$}>`;
881
881
  }
882
882
  };
883
883
  });
@@ -956,8 +956,8 @@ const getEditModeWidget = colDef => {
956
956
  return (fieldTypeWidgetTypeMap[colDef.type] && fieldTypeWidgetTypeMap[colDef.type][0]) || FormWidgetType.TEXT;
957
957
  };
958
958
 
959
- const tagName$X = 'div';
960
- const idGen$e = new IDGenerator('formfield_');
959
+ const tagName$_ = 'div';
960
+ const idGen$f = new IDGenerator('formfield_');
961
961
  const getEventsTemplate = (attrs) => {
962
962
  const eventAttrs = new Map();
963
963
  if (!attrs.has('focus.event')) {
@@ -1008,12 +1008,13 @@ const setDefaultPlaceholder = (attrs, widgetType, index) => {
1008
1008
  };
1009
1009
  const getWidgetTemplate = (attrs, options) => {
1010
1010
  const name = attrs.get('name');
1011
+ const customWidgetName = attrs.get('widgetname');
1011
1012
  const fieldName = (attrs.get('key') || name || '').trim();
1012
1013
  const formControl = options.isMaxWidget ? `formControlName="${fieldName}_max"` : (options.isInList ? `[formControlName]="${options.counter}._fieldName"` : `formControlName="${fieldName}"`);
1013
1014
  const tmplRef = options.isMaxWidget ? `#formWidgetMax` : `#formWidget`;
1014
1015
  const widgetName = name ? (options.isMaxWidget ? `name="${name}_formWidgetMax"` : `name="${name}_formWidget"`) : '';
1015
1016
  const conditionalClass = `[ngClass]="${attrs.get('ngclass')}"`;
1016
- const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName}`;
1017
+ const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName} ${customWidgetName ? `widgetname=${customWidgetName}` : ''}`;
1017
1018
  return getFormWidgetTemplate(options.widgetType, defaultTmpl, attrs, { counter: options.counter, pCounter: options.pCounter });
1018
1019
  };
1019
1020
  const getTemplate = (attrs, widgetType, eventsTmpl, counter, pCounter, isInList) => {
@@ -1057,7 +1058,7 @@ const registerFormField = (isFormField) => {
1057
1058
  return {
1058
1059
  requires: ['wm-form', 'wm-liveform', 'wm-livefilter', 'wm-list'],
1059
1060
  pre: (attrs, shared, parentForm, parentLiveForm, parentFilter, parentList) => {
1060
- const counter = idGen$e.nextUid();
1061
+ const counter = idGen$f.nextUid();
1061
1062
  const parent = parentForm || parentLiveForm || parentFilter;
1062
1063
  const pCounter = (parent && parent.get('form_reference')) || 'form';
1063
1064
  const widgetType = attrs.get('widget') || FormWidgetType.TEXT;
@@ -1080,7 +1081,7 @@ const registerFormField = (isFormField) => {
1080
1081
  else {
1081
1082
  setDefaultPlaceholder(attrs, widgetType, 2);
1082
1083
  }
1083
- return `<${tagName$X} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField wmCaptionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${getFormMarkupAttr(attrs)}>
1084
+ return `<${tagName$_} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField wmCaptionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${getFormMarkupAttr(attrs)}>
1084
1085
  <div class="live-field form-group app-composite-widget clearfix caption-{{${pCounter}.captionposition}}" widget="${widgetType}">
1085
1086
  <label [hidden]="!${counter}.displayname" class="app-label control-label formfield-label {{${pCounter}._captionClass}}"
1086
1087
  [ngStyle]="{width: ${pCounter}.captionsize}" [ngClass]="{'text-danger': ${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode,
@@ -1096,7 +1097,7 @@ const registerFormField = (isFormField) => {
1096
1097
  </div>
1097
1098
  </div>`;
1098
1099
  },
1099
- post: () => `</${tagName$X}>`,
1100
+ post: () => `</${tagName$_}>`,
1100
1101
  provide: (attrs, shared) => {
1101
1102
  const provider = new Map();
1102
1103
  provider.set('form_reference', shared.get('counter'));
@@ -1118,11 +1119,11 @@ var formField_build$1 = /*#__PURE__*/Object.freeze({
1118
1119
  default: formField_build
1119
1120
  });
1120
1121
 
1121
- const tagName$W = 'div';
1122
+ const tagName$Z = 'div';
1122
1123
  const registerAction = (tmpl) => {
1123
1124
  return {
1124
- pre: attrs => `<${tagName$W} wmFormAction name="${attrs.get('name') || attrs.get('key')}" ${getAttrMarkup(attrs)} ${tmpl}>`,
1125
- post: () => `</${tagName$W}>`
1125
+ pre: attrs => `<${tagName$Z} wmFormAction name="${attrs.get('name') || attrs.get('key')}" ${getAttrMarkup(attrs)} ${tmpl}>`,
1126
+ post: () => `</${tagName$Z}>`
1126
1127
  };
1127
1128
  };
1128
1129
  register('wm-form-action', registerAction.bind(this, ''));
@@ -1134,8 +1135,8 @@ var formAction_build$1 = /*#__PURE__*/Object.freeze({
1134
1135
  default: formAction_build
1135
1136
  });
1136
1137
 
1137
- const tagName$V = 'form';
1138
- const idGen$d = new IDGenerator('form_');
1138
+ const tagName$Y = 'form';
1139
+ const idGen$e = new IDGenerator('form_');
1139
1140
  const formWidgets$1 = new Set([
1140
1141
  'wm-text',
1141
1142
  'wm-textarea',
@@ -1203,7 +1204,7 @@ const buildTask = (directiveAttr = '') => {
1203
1204
  let tmpl;
1204
1205
  let dialogId;
1205
1206
  const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';
1206
- const counter = idGen$d.nextUid();
1207
+ const counter = idGen$e.nextUid();
1207
1208
  const dependsOn = attrs.get('dependson') ? `dependson="${attrs.get('dependson')}"` : '';
1208
1209
  if (dependsOn) {
1209
1210
  attrs.set('dependsontable', attrs.get('dependson'));
@@ -1211,7 +1212,7 @@ const buildTask = (directiveAttr = '') => {
1211
1212
  const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';
1212
1213
  const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];
1213
1214
  attrs.delete('dependson');
1214
- const liveFormTmpl = `<${tagName$V} wmForm data-role="${role}" ${directiveAttr} #${counter} ngNativeValidate [formGroup]="${counter}.ngform" [noValidate]="${counter}.validationtype !== 'html'"
1215
+ const liveFormTmpl = `<${tagName$Y} wmForm data-role="${role}" ${directiveAttr} #${counter} ngNativeValidate [formGroup]="${counter}.ngform" [noValidate]="${counter}.validationtype !== 'html'"
1215
1216
  class="${classProp}" [class]="${counter}.captionAlignClass" [autocomplete]="${counter}.autocomplete ? 'on' : 'off'" captionposition=${attrs.get('captionposition')}`;
1216
1217
  attrs.set('numberOfFields', `${numberOfFields}`);
1217
1218
  shared.set('counter', counter);
@@ -1261,12 +1262,12 @@ const buildTask = (directiveAttr = '') => {
1261
1262
  return '</form></ng-template></div></div>';
1262
1263
  }
1263
1264
  if (attrs.get('formlayout') === 'page') {
1264
- return `</div></${tagName$V}>`;
1265
+ return `</div></${tagName$Y}>`;
1265
1266
  }
1266
1267
  if (attrs.get('dependsontable')) {
1267
- return `</${tagName$V}></div>`;
1268
+ return `</${tagName$Y}></div>`;
1268
1269
  }
1269
- return `</${tagName$V}>`;
1270
+ return `</${tagName$Y}>`;
1270
1271
  },
1271
1272
  provide: (attrs, shared) => {
1272
1273
  const provider = new Map();
@@ -1285,14 +1286,14 @@ var form_build$1 = /*#__PURE__*/Object.freeze({
1285
1286
  default: form_build
1286
1287
  });
1287
1288
 
1288
- const tagName$U = 'div';
1289
+ const tagName$X = 'div';
1289
1290
  register('wm-calendar', () => {
1290
1291
  return {
1291
1292
  pre: (attrs) => {
1292
1293
  let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';
1293
- return `<${tagName$U} wmCalendar redrawable style="width:100%" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
1294
+ return `<${tagName$X} wmCalendar redrawable style="width:100%" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
1294
1295
  },
1295
- post: () => `</${tagName$U}>`
1296
+ post: () => `</${tagName$X}>`
1296
1297
  };
1297
1298
  });
1298
1299
  var calendar_build = () => { };
@@ -1302,11 +1303,11 @@ var calendar_build$1 = /*#__PURE__*/Object.freeze({
1302
1303
  default: calendar_build
1303
1304
  });
1304
1305
 
1305
- const tagName$T = 'ul';
1306
+ const tagName$W = 'ul';
1306
1307
  register('wm-chips', () => {
1307
1308
  return {
1308
- pre: attrs => `<${tagName$T} wmChips role="listbox" ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
1309
- post: () => `</${tagName$T}>`
1309
+ pre: attrs => `<${tagName$W} wmChips role="listbox" ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
1310
+ post: () => `</${tagName$W}>`
1310
1311
  };
1311
1312
  });
1312
1313
  var chips_build = () => { };
@@ -1316,11 +1317,11 @@ var chips_build$1 = /*#__PURE__*/Object.freeze({
1316
1317
  default: chips_build
1317
1318
  });
1318
1319
 
1319
- const tagName$S = 'div';
1320
+ const tagName$V = 'div';
1320
1321
  register('wm-colorpicker', () => {
1321
1322
  return {
1322
- pre: attrs => `<${tagName$S} wmColorPicker ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1323
- post: () => `</${tagName$S}>`
1323
+ pre: attrs => `<${tagName$V} wmColorPicker ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1324
+ post: () => `</${tagName$V}>`
1324
1325
  };
1325
1326
  });
1326
1327
  var colorPicker_build = () => { };
@@ -1330,11 +1331,11 @@ var colorPicker_build$1 = /*#__PURE__*/Object.freeze({
1330
1331
  default: colorPicker_build
1331
1332
  });
1332
1333
 
1333
- const tagName$R = 'div';
1334
+ const tagName$U = 'div';
1334
1335
  register('wm-currency', () => {
1335
1336
  return {
1336
- pre: attrs => `<${tagName$R} wmCurrency ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1337
- post: () => `</${tagName$R}>`
1337
+ pre: attrs => `<${tagName$U} wmCurrency ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1338
+ post: () => `</${tagName$U}>`
1338
1339
  };
1339
1340
  });
1340
1341
  var currency_build = () => { };
@@ -1344,11 +1345,11 @@ var currency_build$1 = /*#__PURE__*/Object.freeze({
1344
1345
  default: currency_build
1345
1346
  });
1346
1347
 
1347
- const tagName$Q = 'div';
1348
+ const tagName$T = 'div';
1348
1349
  register('wm-buttongroup', () => {
1349
1350
  return {
1350
- pre: attrs => `<${tagName$Q} wmButtonGroup role="group" aria-labelledby="button group" ${getAttrMarkup(attrs)}>`,
1351
- post: () => `</${tagName$Q}>`
1351
+ pre: attrs => `<${tagName$T} wmButtonGroup role="group" aria-labelledby="button group" ${getAttrMarkup(attrs)}>`,
1352
+ post: () => `</${tagName$T}>`
1352
1353
  };
1353
1354
  });
1354
1355
  var buttonGroup_build = () => { };
@@ -1358,15 +1359,15 @@ var buttonGroup_build$1 = /*#__PURE__*/Object.freeze({
1358
1359
  default: buttonGroup_build
1359
1360
  });
1360
1361
 
1361
- const tagName$P = 'button';
1362
- const idGen$c = new IDGenerator('wm_button');
1362
+ const tagName$S = 'button';
1363
+ const idGen$d = new IDGenerator('wm_button');
1363
1364
  register('wm-button', () => {
1364
1365
  return {
1365
1366
  pre: (attrs) => {
1366
- const counter = idGen$c.nextUid();
1367
- return `<${tagName$P} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.hint || ${counter}.caption || null" ${getAttrMarkup(attrs)}>`;
1367
+ const counter = idGen$d.nextUid();
1368
+ return `<${tagName$S} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.hint || ${counter}.caption || null" ${getAttrMarkup(attrs)}>`;
1368
1369
  },
1369
- post: () => `</${tagName$P}>`
1370
+ post: () => `</${tagName$S}>`
1370
1371
  };
1371
1372
  });
1372
1373
  var button_build = () => { };
@@ -1376,11 +1377,11 @@ var button_build$1 = /*#__PURE__*/Object.freeze({
1376
1377
  default: button_build
1377
1378
  });
1378
1379
 
1379
- const tagName$O = 'div';
1380
+ const tagName$R = 'div';
1380
1381
  register('wm-checkbox', () => {
1381
1382
  return {
1382
- pre: attrs => `<${tagName$O} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1383
- post: () => `</${tagName$O}>`
1383
+ pre: attrs => `<${tagName$R} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1384
+ post: () => `</${tagName$R}>`
1384
1385
  };
1385
1386
  });
1386
1387
  var checkbox_build = () => { };
@@ -1390,11 +1391,11 @@ var checkbox_build$1 = /*#__PURE__*/Object.freeze({
1390
1391
  default: checkbox_build
1391
1392
  });
1392
1393
 
1393
- const tagName$N = 'ul';
1394
+ const tagName$Q = 'ul';
1394
1395
  register('wm-checkboxset', () => {
1395
1396
  return {
1396
- pre: attrs => `<${tagName$N} role="group" wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1397
- post: () => `</${tagName$N}>`
1397
+ pre: attrs => `<${tagName$Q} role="group" wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1398
+ post: () => `</${tagName$Q}>`
1398
1399
  };
1399
1400
  });
1400
1401
  var checkboxset_build = () => { };
@@ -1404,11 +1405,11 @@ var checkboxset_build$1 = /*#__PURE__*/Object.freeze({
1404
1405
  default: checkboxset_build
1405
1406
  });
1406
1407
 
1407
- const tagName$M = 'div';
1408
+ const tagName$P = 'div';
1408
1409
  register('wm-composite', () => {
1409
1410
  return {
1410
- pre: attrs => `<${tagName$M} wmComposite wmCaptionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,
1411
- post: () => `</${tagName$M}${clearChildAttrs()}>`
1411
+ pre: attrs => `<${tagName$P} wmComposite wmCaptionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,
1412
+ post: () => `</${tagName$P}${clearChildAttrs()}>`
1412
1413
  };
1413
1414
  });
1414
1415
  var composite_build = () => { };
@@ -1418,11 +1419,11 @@ var composite_build$1 = /*#__PURE__*/Object.freeze({
1418
1419
  default: composite_build
1419
1420
  });
1420
1421
 
1421
- const tagName$L = 'div';
1422
+ const tagName$O = 'div';
1422
1423
  register('wm-number', () => {
1423
1424
  return {
1424
- pre: attrs => `<${tagName$L} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1425
- post: () => `</${tagName$L}>`
1425
+ pre: attrs => `<${tagName$O} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1426
+ post: () => `</${tagName$O}>`
1426
1427
  };
1427
1428
  });
1428
1429
  var number_build = () => { };
@@ -1432,11 +1433,11 @@ var number_build$1 = /*#__PURE__*/Object.freeze({
1432
1433
  default: number_build
1433
1434
  });
1434
1435
 
1435
- const tagName$K = 'ul';
1436
+ const tagName$N = 'ul';
1436
1437
  register('wm-radioset', () => {
1437
1438
  return {
1438
- pre: attrs => `<${tagName$K} role="radiogroup" wmRadioset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1439
- post: () => `</${tagName$K}>`
1439
+ pre: attrs => `<${tagName$N} role="radiogroup" wmRadioset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1440
+ post: () => `</${tagName$N}>`
1440
1441
  };
1441
1442
  });
1442
1443
  var radioset_build = () => { };
@@ -1446,11 +1447,11 @@ var radioset_build$1 = /*#__PURE__*/Object.freeze({
1446
1447
  default: radioset_build
1447
1448
  });
1448
1449
 
1449
- const tagName$J = 'wm-select';
1450
+ const tagName$M = 'wm-select';
1450
1451
  register('wm-select', () => {
1451
1452
  return {
1452
- pre: attrs => `<${tagName$J} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1453
- post: () => `</${tagName$J}>`
1453
+ pre: attrs => `<${tagName$M} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1454
+ post: () => `</${tagName$M}>`
1454
1455
  };
1455
1456
  });
1456
1457
  var select_build = () => { };
@@ -1460,15 +1461,15 @@ var select_build$1 = /*#__PURE__*/Object.freeze({
1460
1461
  default: select_build
1461
1462
  });
1462
1463
 
1463
- const tagName$I = 'div';
1464
- const idGen$b = new IDGenerator('wm_switch');
1464
+ const tagName$L = 'div';
1465
+ const idGen$c = new IDGenerator('wm_switch');
1465
1466
  register('wm-switch', () => {
1466
1467
  return {
1467
1468
  pre: (attrs) => {
1468
- const counter = idGen$b.nextUid();
1469
- return `<${tagName$I} wmSwitch #${counter}="wmSwitch" [attr.aria-label]="${counter}.hint || 'Switch button'" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;
1469
+ const counter = idGen$c.nextUid();
1470
+ return `<${tagName$L} wmSwitch #${counter}="wmSwitch" [attr.aria-label]="${counter}.hint || 'Switch button'" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;
1470
1471
  },
1471
- post: () => `</${tagName$I}>`
1472
+ post: () => `</${tagName$L}>`
1472
1473
  };
1473
1474
  });
1474
1475
  var switch_build = () => { };
@@ -1478,11 +1479,11 @@ var switch_build$1 = /*#__PURE__*/Object.freeze({
1478
1479
  default: switch_build
1479
1480
  });
1480
1481
 
1481
- const tagName$H = 'wm-input';
1482
+ const tagName$K = 'wm-input';
1482
1483
  register('wm-text', () => {
1483
1484
  return {
1484
- pre: attrs => `<${tagName$H} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1485
- post: () => `</${tagName$H}>`
1485
+ pre: attrs => `<${tagName$K} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1486
+ post: () => `</${tagName$K}>`
1486
1487
  };
1487
1488
  });
1488
1489
  var text_build = () => { };
@@ -1492,11 +1493,11 @@ var text_build$1 = /*#__PURE__*/Object.freeze({
1492
1493
  default: text_build
1493
1494
  });
1494
1495
 
1495
- const tagName$G = 'wm-textarea';
1496
+ const tagName$J = 'wm-textarea';
1496
1497
  register('wm-textarea', () => {
1497
1498
  return {
1498
- pre: attrs => `<${tagName$G} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1499
- post: () => `</${tagName$G}>`
1499
+ pre: attrs => `<${tagName$J} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1500
+ post: () => `</${tagName$J}>`
1500
1501
  };
1501
1502
  });
1502
1503
  var textarea_build = () => { };
@@ -1506,11 +1507,11 @@ var textarea_build$1 = /*#__PURE__*/Object.freeze({
1506
1507
  default: textarea_build
1507
1508
  });
1508
1509
 
1509
- const tagName$F = 'div';
1510
+ const tagName$I = 'div';
1510
1511
  register('wm-datetime', () => {
1511
1512
  return {
1512
- pre: attrs => `<${tagName$F} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1513
- post: () => `</${tagName$F}>`
1513
+ pre: attrs => `<${tagName$I} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1514
+ post: () => `</${tagName$I}>`
1514
1515
  };
1515
1516
  });
1516
1517
  var dateTime_build = () => { };
@@ -1520,11 +1521,11 @@ var dateTime_build$1 = /*#__PURE__*/Object.freeze({
1520
1521
  default: dateTime_build
1521
1522
  });
1522
1523
 
1523
- const tagName$E = 'div';
1524
+ const tagName$H = 'div';
1524
1525
  register('wm-date', () => {
1525
1526
  return {
1526
- pre: attrs => `<${tagName$E} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1527
- post: () => `</${tagName$E}>`
1527
+ pre: attrs => `<${tagName$H} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1528
+ post: () => `</${tagName$H}>`
1528
1529
  };
1529
1530
  });
1530
1531
  var date_build = () => { };
@@ -1534,11 +1535,11 @@ var date_build$1 = /*#__PURE__*/Object.freeze({
1534
1535
  default: date_build
1535
1536
  });
1536
1537
 
1537
- const tagName$D = 'div';
1538
+ const tagName$G = 'div';
1538
1539
  register('wm-time', () => {
1539
1540
  return {
1540
- pre: attrs => `<${tagName$D} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1541
- post: () => `</${tagName$D}>`
1541
+ pre: attrs => `<${tagName$G} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1542
+ post: () => `</${tagName$G}>`
1542
1543
  };
1543
1544
  });
1544
1545
  var time_build = () => { };
@@ -1548,7 +1549,7 @@ var time_build$1 = /*#__PURE__*/Object.freeze({
1548
1549
  default: time_build
1549
1550
  });
1550
1551
 
1551
- const tagName$C = 'div';
1552
+ const tagName$F = 'div';
1552
1553
  register('wm-fileupload', () => {
1553
1554
  return {
1554
1555
  pre: attrs => {
@@ -1556,9 +1557,9 @@ register('wm-fileupload', () => {
1556
1557
  const onSelectBinding = getDataSource(attrs.get('select.event'));
1557
1558
  attrs.set('datasource.bind', onSelectBinding);
1558
1559
  }
1559
- return `<${tagName$C} wmFileUpload ${getAttrMarkup(attrs)} role="input">`;
1560
+ return `<${tagName$F} wmFileUpload ${getAttrMarkup(attrs)} role="input">`;
1560
1561
  },
1561
- post: () => `</${tagName$C}>`
1562
+ post: () => `</${tagName$F}>`
1562
1563
  };
1563
1564
  });
1564
1565
  var fileUpload_build = () => { };
@@ -1568,11 +1569,11 @@ var fileUpload_build$1 = /*#__PURE__*/Object.freeze({
1568
1569
  default: fileUpload_build
1569
1570
  });
1570
1571
 
1571
- const tagName$B = 'div';
1572
+ const tagName$E = 'div';
1572
1573
  register('wm-rating', () => {
1573
1574
  return {
1574
- pre: attrs => `<${tagName$B} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
1575
- post: () => `</${tagName$B}>`
1575
+ pre: attrs => `<${tagName$E} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
1576
+ post: () => `</${tagName$E}>`
1576
1577
  };
1577
1578
  });
1578
1579
  var rating_build = () => { };
@@ -1582,11 +1583,11 @@ var rating_build$1 = /*#__PURE__*/Object.freeze({
1582
1583
  default: rating_build
1583
1584
  });
1584
1585
 
1585
- const tagName$A = 'div';
1586
+ const tagName$D = 'div';
1586
1587
  register('wm-slider', () => {
1587
1588
  return {
1588
- pre: attrs => `<${tagName$A} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
1589
- post: () => `</${tagName$A}>`
1589
+ pre: attrs => `<${tagName$D} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
1590
+ post: () => `</${tagName$D}>`
1590
1591
  };
1591
1592
  });
1592
1593
  var slider_build = () => { };
@@ -1597,7 +1598,7 @@ var slider_build$1 = /*#__PURE__*/Object.freeze({
1597
1598
  });
1598
1599
 
1599
1600
  const wmlistTag = 'wm-list';
1600
- const tagName$z = 'div';
1601
+ const tagName$C = 'div';
1601
1602
  const dataSetKey$2 = 'dataset';
1602
1603
  function copyAttribute$1(from, fromAttrName, to, toAttrName) {
1603
1604
  const fromAttr = from.attrs.find(a => a.name === fromAttrName);
@@ -1645,8 +1646,8 @@ register('wm-media-list', () => {
1645
1646
  copyAttribute$1(template, 'height', node, 'thumbnailheight');
1646
1647
  }
1647
1648
  },
1648
- pre: attrs => `<${tagName$z} wmMediaList ${getAttrMarkup(attrs)}>`,
1649
- post: () => `</${tagName$z}>`
1649
+ pre: attrs => `<${tagName$C} wmMediaList ${getAttrMarkup(attrs)}>`,
1650
+ post: () => `</${tagName$C}>`
1650
1651
  };
1651
1652
  });
1652
1653
  var mediaList_build = () => { };
@@ -1656,11 +1657,11 @@ var mediaList_build$1 = /*#__PURE__*/Object.freeze({
1656
1657
  default: mediaList_build
1657
1658
  });
1658
1659
 
1659
- const tagName$y = 'ng-template';
1660
+ const tagName$B = 'ng-template';
1660
1661
  register('wm-media-template', () => {
1661
1662
  return {
1662
- pre: () => `<${tagName$y} #mediaListTemplate let-item="item" let-index="index">`,
1663
- post: () => `</${tagName$y}>`
1663
+ pre: () => `<${tagName$B} #mediaListTemplate let-item="item" let-index="index">`,
1664
+ post: () => `</${tagName$B}>`
1664
1665
  };
1665
1666
  });
1666
1667
  var mediaListItem_build = () => { };
@@ -1744,16 +1745,16 @@ var list_build$1 = /*#__PURE__*/Object.freeze({
1744
1745
  default: list_build
1745
1746
  });
1746
1747
 
1747
- const tagName$x = 'div';
1748
- const idGen$a = new IDGenerator('liveform_dialog_id_');
1748
+ const tagName$A = 'div';
1749
+ const idGen$b = new IDGenerator('liveform_dialog_id_');
1749
1750
  register('wm-livetable', () => {
1750
1751
  return {
1751
1752
  pre: (attrs, shared) => {
1752
- const counter = idGen$a.nextUid();
1753
+ const counter = idGen$b.nextUid();
1753
1754
  shared.set('counter', counter);
1754
- return `<${tagName$x} wmLiveTable ${getAttrMarkup(attrs)} dialogid="${counter}">`;
1755
+ return `<${tagName$A} wmLiveTable ${getAttrMarkup(attrs)} dialogid="${counter}">`;
1755
1756
  },
1756
- post: () => `</${tagName$x}>`,
1757
+ post: () => `</${tagName$A}>`,
1757
1758
  provide: (attrs, shared) => {
1758
1759
  const provider = new Map();
1759
1760
  provider.set('liveform_dialog_id', shared.get('counter'));
@@ -1768,15 +1769,15 @@ var liveTable_build$1 = /*#__PURE__*/Object.freeze({
1768
1769
  default: liveTable_build
1769
1770
  });
1770
1771
 
1771
- const tagName$w = 'p';
1772
- const idGen$9 = new IDGenerator('wm_message');
1772
+ const tagName$z = 'p';
1773
+ const idGen$a = new IDGenerator('wm_message');
1773
1774
  register('wm-message', () => {
1774
1775
  return {
1775
1776
  pre: (attrs) => {
1776
- const counter = idGen$9.nextUid();
1777
- return `<${tagName$w} wmMessage tabindex="0" #${counter}="wmMessage" ${getAttrMarkup(attrs)}>`;
1777
+ const counter = idGen$a.nextUid();
1778
+ return `<${tagName$z} wmMessage tabindex="0" #${counter}="wmMessage" ${getAttrMarkup(attrs)}>`;
1778
1779
  },
1779
- post: () => `</${tagName$w}>`
1780
+ post: () => `</${tagName$z}>`
1780
1781
  };
1781
1782
  });
1782
1783
  var message_build = () => { };
@@ -1786,11 +1787,11 @@ var message_build$1 = /*#__PURE__*/Object.freeze({
1786
1787
  default: message_build
1787
1788
  });
1788
1789
 
1789
- const tagName$v = 'ol';
1790
+ const tagName$y = 'ol';
1790
1791
  register('wm-breadcrumb', () => {
1791
1792
  return {
1792
- pre: attrs => `<${tagName$v} wmBreadcrumb ${getAttrMarkup(attrs)}>`,
1793
- post: () => `</${tagName$v}>`
1793
+ pre: attrs => `<${tagName$y} wmBreadcrumb ${getAttrMarkup(attrs)}>`,
1794
+ post: () => `</${tagName$y}>`
1794
1795
  };
1795
1796
  });
1796
1797
  var breadcrumb_build = () => { };
@@ -1800,11 +1801,23 @@ var breadcrumb_build$1 = /*#__PURE__*/Object.freeze({
1800
1801
  default: breadcrumb_build
1801
1802
  });
1802
1803
 
1803
- const tagName$u = 'div';
1804
+ const tagName$x = 'div';
1804
1805
  register('wm-menu', () => {
1805
1806
  return {
1806
- pre: attrs => `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)}>`,
1807
- post: () => `</${tagName$u}>`
1807
+ pre: attrs => {
1808
+ const menuWidth = attrs.get("width");
1809
+ let styleBinding = '';
1810
+ if (menuWidth) {
1811
+ if (menuWidth.indexOf('%') > -1 || menuWidth.indexOf('px') > -1) {
1812
+ styleBinding = `[ngStyle]="{'width': '${menuWidth}'}"`;
1813
+ return `<${tagName$x} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
1814
+ }
1815
+ }
1816
+ else {
1817
+ return `<${tagName$x} wmMenu dropdown ${getAttrMarkup(attrs)}>`;
1818
+ }
1819
+ },
1820
+ post: () => `</${tagName$x}>`
1808
1821
  };
1809
1822
  });
1810
1823
  var menu_build = () => { };
@@ -1814,11 +1827,11 @@ var menu_build$1 = /*#__PURE__*/Object.freeze({
1814
1827
  default: menu_build
1815
1828
  });
1816
1829
 
1817
- const tagName$t = 'li';
1830
+ const tagName$w = 'li';
1818
1831
  register('wm-nav-item', () => {
1819
1832
  return {
1820
- pre: attrs => `<${tagName$t} wmNavItem role="listitem" ${getAttrMarkup(attrs)}>`,
1821
- post: () => `</${tagName$t}>`
1833
+ pre: attrs => `<${tagName$w} wmNavItem role="listitem" ${getAttrMarkup(attrs)}>`,
1834
+ post: () => `</${tagName$w}>`
1822
1835
  };
1823
1836
  });
1824
1837
  var navItem_build = () => { };
@@ -1828,11 +1841,11 @@ var navItem_build$1 = /*#__PURE__*/Object.freeze({
1828
1841
  default: navItem_build
1829
1842
  });
1830
1843
 
1831
- const tagName$s = 'ul';
1844
+ const tagName$v = 'ul';
1832
1845
  register('wm-nav', () => {
1833
1846
  return {
1834
- pre: attrs => `<${tagName$s} wmNav data-element-type="wmNav" data-role="page-header" role="list" ${getAttrMarkup(attrs)}>`,
1835
- post: () => `</${tagName$s}>`
1847
+ pre: attrs => `<${tagName$v} wmNav data-element-type="wmNav" data-role="page-header" role="list" ${getAttrMarkup(attrs)}>`,
1848
+ post: () => `</${tagName$v}>`
1836
1849
  };
1837
1850
  });
1838
1851
  var nav_build = () => { };
@@ -1842,11 +1855,11 @@ var nav_build$1 = /*#__PURE__*/Object.freeze({
1842
1855
  default: nav_build
1843
1856
  });
1844
1857
 
1845
- const tagName$r = 'nav';
1858
+ const tagName$u = 'nav';
1846
1859
  register('wm-navbar', () => {
1847
1860
  return {
1848
- pre: attrs => `<${tagName$r} wmNavbar data-element-type="wmNavbar" role="navigation" ${getAttrMarkup(attrs)}>`,
1849
- post: () => `</${tagName$r}>`
1861
+ pre: attrs => `<${tagName$u} wmNavbar data-element-type="wmNavbar" role="navigation" ${getAttrMarkup(attrs)}>`,
1862
+ post: () => `</${tagName$u}>`
1850
1863
  };
1851
1864
  });
1852
1865
  var navbar_build = () => { };
@@ -1856,7 +1869,7 @@ var navbar_build$1 = /*#__PURE__*/Object.freeze({
1856
1869
  default: navbar_build
1857
1870
  });
1858
1871
 
1859
- const tagName$q = 'wm-popover';
1872
+ const tagName$t = 'wm-popover';
1860
1873
  register('wm-popover', () => {
1861
1874
  return {
1862
1875
  requires: ['wm-table'],
@@ -1876,7 +1889,7 @@ register('wm-popover', () => {
1876
1889
  popoverTemplate = `<div wmContainer #partial partialContainer ${contentMarkup}>`;
1877
1890
  shared.set('hasPopoverContent', true);
1878
1891
  }
1879
- let markup = `<${tagName$q} wmPopover ${getAttrMarkup(attrs)}>`;
1892
+ let markup = `<${tagName$t} wmPopover ${getAttrMarkup(attrs)}>`;
1880
1893
  const contextAttrs = table ? `let-row="row"` : ``;
1881
1894
  markup += `<ng-template ${contextAttrs}><div tabindex="0" class="popover-start sr-only" aria-label="">popover content start</div>`;
1882
1895
  // todo keyboard navigation - tab
@@ -1890,7 +1903,7 @@ register('wm-popover', () => {
1890
1903
  if (shared.get('hasPopoverContent')) {
1891
1904
  markup += `</div>`;
1892
1905
  }
1893
- return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$q}>`;
1906
+ return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$t}>`;
1894
1907
  }
1895
1908
  };
1896
1909
  });
@@ -1901,16 +1914,16 @@ var popover_build$1 = /*#__PURE__*/Object.freeze({
1901
1914
  default: popover_build
1902
1915
  });
1903
1916
 
1904
- const tagName$p = 'div';
1917
+ const tagName$s = 'div';
1905
1918
  const findChild = (node, childName) => {
1906
1919
  const child = node && node.children.find(e => (e instanceof Element && e.name === childName));
1907
1920
  return child;
1908
1921
  };
1909
- const createElement$3 = name => {
1910
- return new Element(name, [], [], noSpan$3, noSpan$3, noSpan$3);
1922
+ const createElement$4 = name => {
1923
+ return new Element(name, [], [], noSpan$4, noSpan$4, noSpan$4);
1911
1924
  };
1912
- const addAtrribute$3 = (node, name, value) => {
1913
- const attr = new Attribute(name, value, noSpan$3, noSpan$3, noSpan$3, undefined, undefined);
1925
+ const addAtrribute$4 = (node, name, value) => {
1926
+ const attr = new Attribute(name, value, noSpan$4, noSpan$4, noSpan$4, undefined, undefined);
1914
1927
  node.attrs.push(attr);
1915
1928
  };
1916
1929
  const getElementNode = (name, node) => {
@@ -1931,8 +1944,8 @@ const getElementNode = (name, node) => {
1931
1944
  });
1932
1945
  return elementNode;
1933
1946
  };
1934
- const noSpan$3 = {};
1935
- const idGen$8 = new IDGenerator('wm_page');
1947
+ const noSpan$4 = {};
1948
+ const idGen$9 = new IDGenerator('wm_page');
1936
1949
  register('wm-page', () => {
1937
1950
  return {
1938
1951
  template: (node) => {
@@ -1941,24 +1954,24 @@ register('wm-page', () => {
1941
1954
  pageContentNode = getElementNode('wm-page-content', getElementNode('wm-content', node));
1942
1955
  }
1943
1956
  if (pageContentNode) {
1944
- const conditionalNode = createElement$3('ng-container');
1945
- addAtrribute$3(conditionalNode, '*ngIf', 'compilePageContent');
1957
+ const conditionalNode = createElement$4('ng-container');
1958
+ addAtrribute$4(conditionalNode, '*ngIf', 'compilePageContent');
1946
1959
  conditionalNode.children = conditionalNode.children.concat(pageContentNode.children);
1947
1960
  conditionalNode.children.push(new Text('{{onPageContentReady()}}', null, undefined, undefined));
1948
1961
  pageContentNode.children = [conditionalNode];
1949
1962
  if (isMobileApp()) {
1950
- const loader = createElement$3('div');
1951
- addAtrribute$3(loader, 'wmPageContentLoader', '');
1952
- addAtrribute$3(loader, '*ngIf', '!showPageContent');
1963
+ const loader = createElement$4('div');
1964
+ addAtrribute$4(loader, 'wmPageContentLoader', '');
1965
+ addAtrribute$4(loader, '*ngIf', '!showPageContent');
1953
1966
  pageContentNode.children.push(loader);
1954
1967
  }
1955
1968
  }
1956
1969
  },
1957
1970
  pre: (attrs) => {
1958
- const counter = idGen$8.nextUid();
1959
- return `<${tagName$p} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
1971
+ const counter = idGen$9.nextUid();
1972
+ return `<${tagName$s} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
1960
1973
  },
1961
- post: () => `</${tagName$p}>`
1974
+ post: () => `</${tagName$s}>`
1962
1975
  };
1963
1976
  });
1964
1977
  var page_build = () => { };
@@ -1968,15 +1981,15 @@ var page_build$1 = /*#__PURE__*/Object.freeze({
1968
1981
  default: page_build
1969
1982
  });
1970
1983
 
1971
- const tagName$o = 'div';
1972
- const idGen$7 = new IDGenerator('wm_layout');
1984
+ const tagName$r = 'div';
1985
+ const idGen$8 = new IDGenerator('wm_layout');
1973
1986
  register('wm-layout', () => {
1974
1987
  return {
1975
1988
  pre: (attrs) => {
1976
- const counter = idGen$7.nextUid();
1977
- return `<${tagName$o} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.hint || 'Main page content'" ${getAttrMarkup(attrs)}>`;
1989
+ const counter = idGen$8.nextUid();
1990
+ return `<${tagName$r} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.hint || 'Main page content'" ${getAttrMarkup(attrs)}>`;
1978
1991
  },
1979
- post: () => `</${tagName$o}>`
1992
+ post: () => `</${tagName$r}>`
1980
1993
  };
1981
1994
  });
1982
1995
  var layout_build = () => { };
@@ -1986,11 +1999,11 @@ var layout_build$1 = /*#__PURE__*/Object.freeze({
1986
1999
  default: layout_build
1987
2000
  });
1988
2001
 
1989
- const tagName$n = 'router-outlet';
2002
+ const tagName$q = 'router-outlet';
1990
2003
  register('wm-router-outlet', () => {
1991
2004
  return {
1992
- pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$n} (activate)="onActivate($event)">`,
1993
- post: () => `</${tagName$n}></div>`
2005
+ pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$q} (activate)="onActivate($event)">`,
2006
+ post: () => `</${tagName$q}></div>`
1994
2007
  };
1995
2008
  });
1996
2009
  var routerOutlet_build = () => { };
@@ -2000,11 +2013,11 @@ var routerOutlet_build$1 = /*#__PURE__*/Object.freeze({
2000
2013
  default: routerOutlet_build
2001
2014
  });
2002
2015
 
2003
- const tagName$m = 'nav';
2016
+ const tagName$p = 'nav';
2004
2017
  register('wm-pagination', () => {
2005
2018
  return {
2006
- pre: attrs => `<${tagName$m} wmPagination data-identifier="pagination" aria-label="Page navigation" ${getAttrMarkup(attrs)}>`,
2007
- post: () => `</${tagName$m}>`
2019
+ pre: attrs => `<${tagName$p} wmPagination data-identifier="pagination" aria-label="Page navigation" ${getAttrMarkup(attrs)}>`,
2020
+ post: () => `</${tagName$p}>`
2008
2021
  };
2009
2022
  });
2010
2023
  var pagination_build = () => { };
@@ -2014,11 +2027,11 @@ var pagination_build$1 = /*#__PURE__*/Object.freeze({
2014
2027
  default: pagination_build
2015
2028
  });
2016
2029
 
2017
- const tagName$l = 'main';
2030
+ const tagName$o = 'main';
2018
2031
  register('wm-content', () => {
2019
2032
  return {
2020
- pre: attrs => `<${tagName$l} wmContent data-role="page-content" role="main" ${getAttrMarkup(attrs)}>`,
2021
- post: () => `</${tagName$l}>`
2033
+ pre: attrs => `<${tagName$o} wmContent data-role="page-content" role="main" ${getAttrMarkup(attrs)}>`,
2034
+ post: () => `</${tagName$o}>`
2022
2035
  };
2023
2036
  });
2024
2037
  var content_build = () => { };
@@ -2028,15 +2041,15 @@ var content_build$1 = /*#__PURE__*/Object.freeze({
2028
2041
  default: content_build
2029
2042
  });
2030
2043
 
2031
- const tagName$k = 'footer';
2032
- const idGen$6 = new IDGenerator('wm_footer');
2044
+ const tagName$n = 'footer';
2045
+ const idGen$7 = new IDGenerator('wm_footer');
2033
2046
  register('wm-footer', () => {
2034
2047
  return {
2035
2048
  pre: (attrs) => {
2036
- const counter = idGen$6.nextUid();
2037
- return `<${tagName$k} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.hint || 'Page footer'" ${getAttrMarkup(attrs)}>`;
2049
+ const counter = idGen$7.nextUid();
2050
+ return `<${tagName$n} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.hint || 'Page footer'" ${getAttrMarkup(attrs)}>`;
2038
2051
  },
2039
- post: () => `</${tagName$k}>`
2052
+ post: () => `</${tagName$n}>`
2040
2053
  };
2041
2054
  });
2042
2055
  var footer_build = () => { };
@@ -2046,15 +2059,15 @@ var footer_build$1 = /*#__PURE__*/Object.freeze({
2046
2059
  default: footer_build
2047
2060
  });
2048
2061
 
2049
- const tagName$j = 'header';
2050
- const idGen$5 = new IDGenerator('wm_header');
2062
+ const tagName$m = 'header';
2063
+ const idGen$6 = new IDGenerator('wm_header');
2051
2064
  register('wm-header', () => {
2052
2065
  return {
2053
2066
  pre: (attrs) => {
2054
- const counter = idGen$5.nextUid();
2055
- return `<${tagName$j} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.hint || 'Page header'" ${getAttrMarkup(attrs)}>`;
2067
+ const counter = idGen$6.nextUid();
2068
+ return `<${tagName$m} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.hint || 'Page header'" ${getAttrMarkup(attrs)}>`;
2056
2069
  },
2057
- post: () => `</${tagName$j}>`
2070
+ post: () => `</${tagName$m}>`
2058
2071
  };
2059
2072
  });
2060
2073
  var header_build = () => { };
@@ -2064,15 +2077,15 @@ var header_build$1 = /*#__PURE__*/Object.freeze({
2064
2077
  default: header_build
2065
2078
  });
2066
2079
 
2067
- const tagName$i = 'aside';
2068
- const idGen$4 = new IDGenerator('wm_left_panel');
2080
+ const tagName$l = 'aside';
2081
+ const idGen$5 = new IDGenerator('wm_left_panel');
2069
2082
  register('wm-left-panel', () => {
2070
2083
  return {
2071
2084
  pre: (attrs) => {
2072
- const counter = idGen$4.nextUid();
2073
- return `<${tagName$i} wmLeftPanel #${counter}="wmLeftPanel" partialContainer data-role="page-left-panel" [attr.aria-label]="${counter}.hint || 'Left navigation panel'" wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`;
2085
+ const counter = idGen$5.nextUid();
2086
+ return `<${tagName$l} wmLeftPanel #${counter}="wmLeftPanel" partialContainer data-role="page-left-panel" [attr.aria-label]="${counter}.hint || 'Left navigation panel'" wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`;
2074
2087
  },
2075
- post: () => `</${tagName$i}>`
2088
+ post: () => `</${tagName$l}>`
2076
2089
  };
2077
2090
  });
2078
2091
  var leftPanel_build = () => { };
@@ -2082,11 +2095,11 @@ var leftPanel_build$1 = /*#__PURE__*/Object.freeze({
2082
2095
  default: leftPanel_build
2083
2096
  });
2084
2097
 
2085
- const tagName$h = 'header';
2098
+ const tagName$k = 'header';
2086
2099
  register('wm-mobile-navbar', () => {
2087
2100
  return {
2088
- pre: attrs => `<${tagName$h} wmMobileNavbar ${getAttrMarkup(attrs)}>`,
2089
- post: () => `</${tagName$h}>`
2101
+ pre: attrs => `<${tagName$k} wmMobileNavbar ${getAttrMarkup(attrs)}>`,
2102
+ post: () => `</${tagName$k}>`
2090
2103
  };
2091
2104
  });
2092
2105
  var mobileNavbar_build = () => { };
@@ -2096,15 +2109,15 @@ var mobileNavbar_build$1 = /*#__PURE__*/Object.freeze({
2096
2109
  default: mobileNavbar_build
2097
2110
  });
2098
2111
 
2099
- const tagName$g = 'aside';
2100
- const idGen$3 = new IDGenerator('wm_right_panel');
2112
+ const tagName$j = 'aside';
2113
+ const idGen$4 = new IDGenerator('wm_right_panel');
2101
2114
  register('wm-right-panel', () => {
2102
2115
  return {
2103
2116
  pre: (attrs) => {
2104
- const counter = idGen$3.nextUid();
2105
- return `<${tagName$g} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.hint || 'Right navigation panel'" ${getAttrMarkup(attrs)}>`;
2117
+ const counter = idGen$4.nextUid();
2118
+ return `<${tagName$j} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.hint || 'Right navigation panel'" ${getAttrMarkup(attrs)}>`;
2106
2119
  },
2107
- post: () => `</${tagName$g}>`
2120
+ post: () => `</${tagName$j}>`
2108
2121
  };
2109
2122
  });
2110
2123
  var rightPanel_build = () => { };
@@ -2114,22 +2127,22 @@ var rightPanel_build$1 = /*#__PURE__*/Object.freeze({
2114
2127
  default: rightPanel_build
2115
2128
  });
2116
2129
 
2117
- const tagName$f = 'div';
2118
- const createElement$2 = name => {
2119
- return new Element(name, [], [], noSpan$2, noSpan$2, noSpan$2);
2130
+ const tagName$i = 'div';
2131
+ const createElement$3 = name => {
2132
+ return new Element(name, [], [], noSpan$3, noSpan$3, noSpan$3);
2120
2133
  };
2121
- const addAtrribute$2 = (node, name, value) => {
2122
- const attr = new Attribute(name, value, noSpan$2, noSpan$2, noSpan$2, undefined, undefined);
2134
+ const addAtrribute$3 = (node, name, value) => {
2135
+ const attr = new Attribute(name, value, noSpan$3, noSpan$3, noSpan$3, undefined, undefined);
2123
2136
  node.attrs.push(attr);
2124
2137
  };
2125
- const noSpan$2 = {};
2138
+ const noSpan$3 = {};
2126
2139
  register('wm-page-content', () => {
2127
2140
  return {
2128
2141
  template: (node) => {
2129
2142
  for (let attr of node.attrs) {
2130
2143
  if (attr.name === 'spa' && attr.value === 'true') {
2131
- const conditionalNode = createElement$2('ng-container');
2132
- addAtrribute$2(conditionalNode, '*ngIf', 'compilePageContent');
2144
+ const conditionalNode = createElement$3('ng-container');
2145
+ addAtrribute$3(conditionalNode, '*ngIf', 'compilePageContent');
2133
2146
  conditionalNode.children = conditionalNode.children.concat(node.children);
2134
2147
  conditionalNode.children.push(new Text('{{onPageContentReady()}}', null, undefined, undefined));
2135
2148
  node.children = [conditionalNode];
@@ -2137,8 +2150,8 @@ register('wm-page-content', () => {
2137
2150
  }
2138
2151
  }
2139
2152
  },
2140
- pre: attrs => `<${tagName$f} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
2141
- post: () => `</${tagName$f}>`
2153
+ pre: attrs => `<${tagName$i} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
2154
+ post: () => `</${tagName$i}>`
2142
2155
  };
2143
2156
  });
2144
2157
  var pageContent_build = () => { };
@@ -2148,11 +2161,11 @@ var pageContent_build$1 = /*#__PURE__*/Object.freeze({
2148
2161
  default: pageContent_build
2149
2162
  });
2150
2163
 
2151
- const tagName$e = 'div';
2164
+ const tagName$h = 'div';
2152
2165
  register('wm-mobile-tabbar', () => {
2153
2166
  return {
2154
- pre: attrs => `<${tagName$e} wmMobileTabbar ${getAttrMarkup(attrs)}>`,
2155
- post: () => `</${tagName$e}>`
2167
+ pre: attrs => `<${tagName$h} wmMobileTabbar ${getAttrMarkup(attrs)}>`,
2168
+ post: () => `</${tagName$h}>`
2156
2169
  };
2157
2170
  });
2158
2171
  var tabBar_build = () => { };
@@ -2162,15 +2175,15 @@ var tabBar_build$1 = /*#__PURE__*/Object.freeze({
2162
2175
  default: tabBar_build
2163
2176
  });
2164
2177
 
2165
- const tagName$d = 'section';
2166
- const idGen$2 = new IDGenerator('wm_top_nav');
2178
+ const tagName$g = 'section';
2179
+ const idGen$3 = new IDGenerator('wm_top_nav');
2167
2180
  register('wm-top-nav', () => {
2168
2181
  return {
2169
2182
  pre: (attrs) => {
2170
- const counter = idGen$2.nextUid();
2171
- return `<${tagName$d} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.hint || 'Second level navigation'" ${getAttrMarkup(attrs)}>`;
2183
+ const counter = idGen$3.nextUid();
2184
+ return `<${tagName$g} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.hint || 'Second level navigation'" ${getAttrMarkup(attrs)}>`;
2172
2185
  },
2173
- post: () => `</${tagName$d}>`
2186
+ post: () => `</${tagName$g}>`
2174
2187
  };
2175
2188
  });
2176
2189
  var topNav_build = () => { };
@@ -2180,26 +2193,26 @@ var topNav_build$1 = /*#__PURE__*/Object.freeze({
2180
2193
  default: topNav_build
2181
2194
  });
2182
2195
 
2183
- const tagName$c = 'section';
2184
- const noSpan$1 = {};
2185
- const createElement$1 = name => {
2186
- return new Element(name, [], [], noSpan$1, noSpan$1, noSpan$1);
2196
+ const tagName$f = 'section';
2197
+ const noSpan$2 = {};
2198
+ const createElement$2 = name => {
2199
+ return new Element(name, [], [], noSpan$2, noSpan$2, noSpan$2);
2187
2200
  };
2188
- const addAtrribute$1 = (node, name, value) => {
2189
- const attr = new Attribute(name, value, noSpan$1, noSpan$1, noSpan$1, undefined, undefined);
2201
+ const addAtrribute$2 = (node, name, value) => {
2202
+ const attr = new Attribute(name, value, noSpan$2, noSpan$2, noSpan$2, undefined, undefined);
2190
2203
  node.attrs.push(attr);
2191
2204
  };
2192
2205
  register('wm-partial', () => {
2193
2206
  return {
2194
2207
  template: (node) => {
2195
- const conditionalNode = createElement$1('ng-container');
2196
- addAtrribute$1(conditionalNode, '*ngIf', 'compileContent');
2208
+ const conditionalNode = createElement$2('ng-container');
2209
+ addAtrribute$2(conditionalNode, '*ngIf', 'compileContent');
2197
2210
  conditionalNode.children = conditionalNode.children.concat(node.children);
2198
2211
  node.children.length = 0;
2199
2212
  node.children.push(conditionalNode);
2200
2213
  },
2201
- pre: attrs => `<${tagName$c} wmPartial data-role="partial" ${getAttrMarkup(attrs)}>`,
2202
- post: () => `</${tagName$c}>`
2214
+ pre: attrs => `<${tagName$f} wmPartial data-role="partial" ${getAttrMarkup(attrs)}>`,
2215
+ post: () => `</${tagName$f}>`
2203
2216
  };
2204
2217
  });
2205
2218
  var partial_build = () => { };
@@ -2209,11 +2222,11 @@ var partial_build$1 = /*#__PURE__*/Object.freeze({
2209
2222
  default: partial_build
2210
2223
  });
2211
2224
 
2212
- const tagName$b = 'div';
2225
+ const tagName$e = 'div';
2213
2226
  register('wm-param', () => {
2214
2227
  return {
2215
- pre: attrs => `<${tagName$b} wmParam hidden ${getAttrMarkup(attrs)}>`,
2216
- post: () => `</${tagName$b}>`
2228
+ pre: attrs => `<${tagName$e} wmParam hidden ${getAttrMarkup(attrs)}>`,
2229
+ post: () => `</${tagName$e}>`
2217
2230
  };
2218
2231
  });
2219
2232
  var partialParam_build = () => { };
@@ -2223,11 +2236,11 @@ var partialParam_build$1 = /*#__PURE__*/Object.freeze({
2223
2236
  default: partialParam_build
2224
2237
  });
2225
2238
 
2226
- const tagName$a = 'section';
2239
+ const tagName$d = 'section';
2227
2240
  register('wm-prefab', () => {
2228
2241
  return {
2229
- pre: attrs => `<${tagName$a} wmPrefab redrawable data-role="prefab" ${getAttrMarkup(attrs)}>`,
2230
- post: () => `</${tagName$a}>`
2242
+ pre: attrs => `<${tagName$d} wmPrefab redrawable data-role="prefab" ${getAttrMarkup(attrs)}>`,
2243
+ post: () => `</${tagName$d}>`
2231
2244
  };
2232
2245
  });
2233
2246
  var prefab_build = () => { };
@@ -2237,26 +2250,26 @@ var prefab_build$1 = /*#__PURE__*/Object.freeze({
2237
2250
  default: prefab_build
2238
2251
  });
2239
2252
 
2240
- const noSpan = {};
2241
- const createElement = name => {
2242
- return new Element(name, [], [], noSpan, noSpan, noSpan);
2253
+ const noSpan$1 = {};
2254
+ const createElement$1 = name => {
2255
+ return new Element(name, [], [], noSpan$1, noSpan$1, noSpan$1);
2243
2256
  };
2244
- const addAtrribute = (node, name, value) => {
2245
- const attr = new Attribute(name, value, noSpan, noSpan, noSpan, undefined, undefined);
2257
+ const addAtrribute$1 = (node, name, value) => {
2258
+ const attr = new Attribute(name, value, noSpan$1, noSpan$1, noSpan$1, undefined, undefined);
2246
2259
  node.attrs.push(attr);
2247
2260
  };
2248
- const tagName$9 = 'div';
2261
+ const tagName$c = 'div';
2249
2262
  register('wm-prefab-container', () => {
2250
2263
  return {
2251
2264
  template: (node) => {
2252
- const conditionalNode = createElement('ng-container');
2253
- addAtrribute(conditionalNode, '*ngIf', 'compileContent');
2265
+ const conditionalNode = createElement$1('ng-container');
2266
+ addAtrribute$1(conditionalNode, '*ngIf', 'compileContent');
2254
2267
  conditionalNode.children = conditionalNode.children.concat(node.children);
2255
2268
  node.children.length = 0;
2256
2269
  node.children.push(conditionalNode);
2257
2270
  },
2258
- pre: attrs => `<${tagName$9} wmPrefabContainer ${getAttrMarkup(attrs)}>`,
2259
- post: () => `</${tagName$9}>`
2271
+ pre: attrs => `<${tagName$c} wmPrefabContainer ${getAttrMarkup(attrs)}>`,
2272
+ post: () => `</${tagName$c}>`
2260
2273
  };
2261
2274
  });
2262
2275
  var prefabContainer_build = () => { };
@@ -2266,11 +2279,11 @@ var prefabContainer_build$1 = /*#__PURE__*/Object.freeze({
2266
2279
  default: prefabContainer_build
2267
2280
  });
2268
2281
 
2269
- const tagName$8 = 'div';
2282
+ const tagName$b = 'div';
2270
2283
  register('wm-table-action', () => {
2271
2284
  return {
2272
- pre: attrs => `<${tagName$8} name="${attrs.get('name') || attrs.get('key')}" wmTableAction ${getAttrMarkup(attrs)}>`,
2273
- post: () => `</${tagName$8}>`
2285
+ pre: attrs => `<${tagName$b} name="${attrs.get('name') || attrs.get('key')}" wmTableAction ${getAttrMarkup(attrs)}>`,
2286
+ post: () => `</${tagName$b}>`
2274
2287
  };
2275
2288
  });
2276
2289
  var tableAction_build = () => { };
@@ -2280,11 +2293,11 @@ var tableAction_build$1 = /*#__PURE__*/Object.freeze({
2280
2293
  default: tableAction_build
2281
2294
  });
2282
2295
 
2283
- const tagName$7 = 'div';
2296
+ const tagName$a = 'div';
2284
2297
  register('wm-table-column-group', () => {
2285
2298
  return {
2286
- pre: attrs => `<${tagName$7} wmTableColumnGroup ${getAttrMarkup(attrs)}>`,
2287
- post: () => `</${tagName$7}>`
2299
+ pre: attrs => `<${tagName$a} wmTableColumnGroup ${getAttrMarkup(attrs)}>`,
2300
+ post: () => `</${tagName$a}>`
2288
2301
  };
2289
2302
  });
2290
2303
  var tableColumnGroup_build = () => { };
@@ -2294,8 +2307,8 @@ var tableColumnGroup_build$1 = /*#__PURE__*/Object.freeze({
2294
2307
  default: tableColumnGroup_build
2295
2308
  });
2296
2309
 
2297
- const tagName$6 = 'div';
2298
- const idGen$1 = new IDGenerator('data_table_form_');
2310
+ const tagName$9 = 'div';
2311
+ const idGen$2 = new IDGenerator('data_table_form_');
2299
2312
  const formWidgets = new Set([
2300
2313
  'wm-text',
2301
2314
  'wm-textarea',
@@ -2407,7 +2420,7 @@ const getInlineEditWidgetTmpl = (attrs, isNewRow, errorstyle, pCounter) => {
2407
2420
  let wmFormWidget = '';
2408
2421
  if (widget === FormWidgetType.UPLOAD) {
2409
2422
  options.uploadProps = {
2410
- formName: idGen$1.nextUid(),
2423
+ formName: idGen$2.nextUid(),
2411
2424
  name: fieldName
2412
2425
  };
2413
2426
  options.counter = pCounter;
@@ -2547,7 +2560,7 @@ register('wm-table-column', () => {
2547
2560
  customExprTmpl = `${customExpr}<div data-col-identifier="${attrs.get('binding')}" title="${formatExprTmpl}">${formatExprTmpl}`;
2548
2561
  }
2549
2562
  }
2550
- return `<${tagName$6} wmTableColumn ${getAttrMarkup(attrs)} ${parentForm}>
2563
+ return `<${tagName$9} wmTableColumn ${getAttrMarkup(attrs)} ${parentForm}>
2551
2564
  ${rowFilterTmpl}
2552
2565
  ${inlineEditTmpl}
2553
2566
  ${inlineNewEditTmpl}
@@ -2558,7 +2571,7 @@ register('wm-table-column', () => {
2558
2571
  if (shared.get('customExpression')) {
2559
2572
  customExprTmpl = `</div></ng-template>`;
2560
2573
  }
2561
- return `${customExprTmpl}</${tagName$6}>`;
2574
+ return `${customExprTmpl}</${tagName$9}>`;
2562
2575
  },
2563
2576
  imports: (attrs) => {
2564
2577
  const editWidgetType = attrs.get('edit-widget-type');
@@ -2574,7 +2587,7 @@ var tableColumn_build$1 = /*#__PURE__*/Object.freeze({
2574
2587
  default: tableColumn_build
2575
2588
  });
2576
2589
 
2577
- const tagName$5 = 'div';
2590
+ const tagName$8 = 'div';
2578
2591
  const getRowExpansionActionTmpl = (attrs) => {
2579
2592
  const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';
2580
2593
  const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';
@@ -2590,7 +2603,7 @@ const getRowExpansionActionTmpl = (attrs) => {
2590
2603
  register('wm-table-row', () => {
2591
2604
  return {
2592
2605
  pre: (attrs) => {
2593
- return `<${tagName$5} wmTableRow ${getAttrMarkup(attrs)}>
2606
+ return `<${tagName$8} wmTableRow ${getAttrMarkup(attrs)}>
2594
2607
  ${getRowExpansionActionTmpl(attrs)}
2595
2608
  <ng-template #rowExpansionTmpl let-row="row" let-rowDef="rowDef" let-containerLoad="containerLoad">
2596
2609
  <div wmContainer partialContainer content.bind="rowDef.content" load.event="containerLoad(widget)"
@@ -2598,7 +2611,7 @@ register('wm-table-row', () => {
2598
2611
  <div *ngFor="let param of rowDef.partialParams | keyvalue" wmParam hidden
2599
2612
  [name]="param.key" [value]="param.value"></div>`;
2600
2613
  },
2601
- post: () => `</div></ng-template></${tagName$5}>`
2614
+ post: () => `</div></ng-template></${tagName$8}>`
2602
2615
  };
2603
2616
  });
2604
2617
  var tableRow_build = () => { };
@@ -2608,7 +2621,7 @@ var tableRow_build$1 = /*#__PURE__*/Object.freeze({
2608
2621
  default: tableRow_build
2609
2622
  });
2610
2623
 
2611
- const tagName$4 = 'div';
2624
+ const tagName$7 = 'div';
2612
2625
  const getSaveCancelTemplate = () => {
2613
2626
  return `<button type="button" aria-label="Save edit icon" class="save row-action-button btn app-button btn-transparent save-edit-row-button hidden" title="Save">
2614
2627
  <i class="wi wi-done" aria-hidden="true"></i>
@@ -2640,9 +2653,9 @@ const getRowActionTmpl = (attrs) => {
2640
2653
  };
2641
2654
  register('wm-table-row-action', () => {
2642
2655
  return {
2643
- pre: attrs => `<${tagName$4} wmTableRowAction ${getAttrMarkup(attrs)}>
2656
+ pre: attrs => `<${tagName$7} wmTableRowAction ${getAttrMarkup(attrs)}>
2644
2657
  ${getRowActionTmpl(attrs)}`,
2645
- post: () => `</${tagName$4}>`
2658
+ post: () => `</${tagName$7}>`
2646
2659
  };
2647
2660
  });
2648
2661
  var tableRowAction_build = () => { };
@@ -2652,9 +2665,9 @@ var tableRowAction_build$1 = /*#__PURE__*/Object.freeze({
2652
2665
  default: tableRowAction_build
2653
2666
  });
2654
2667
 
2655
- const tagName$3 = 'div';
2668
+ const tagName$6 = 'div';
2656
2669
  const dataSetKey = 'dataset';
2657
- const idGen = new IDGenerator('table_');
2670
+ const idGen$1 = new IDGenerator('table_');
2658
2671
  let columnIndex = 0;
2659
2672
  /**
2660
2673
  * This method assigns index to the table-column and column-groups in order to the maintain the columns in the same order
@@ -2714,14 +2727,14 @@ register('wm-table', () => {
2714
2727
  updateTemplateAttrs(node, boundExpr, widgetNameAttr.value, '', 'row');
2715
2728
  },
2716
2729
  pre: (attrs, shared) => {
2717
- const counter = idGen.nextUid();
2730
+ const counter = idGen$1.nextUid();
2718
2731
  shared.set('counter', counter);
2719
2732
  attrs.set('isdynamictable', shared.get('isdynamictable'));
2720
2733
  attrs.set('isrowexpansionenabled', shared.get('isrowexpansionenabled'));
2721
2734
  attrs.set('table_reference', counter);
2722
- return `<${tagName$3} wmTable="${counter}" wmTableFilterSort wmTableCUD #${counter} data-identifier="table" ${getAttrMarkup(attrs)}>`;
2735
+ return `<${tagName$6} wmTable="${counter}" wmTableFilterSort wmTableCUD #${counter} data-identifier="table" ${getAttrMarkup(attrs)}>`;
2723
2736
  },
2724
- post: () => `</${tagName$3}>`,
2737
+ post: () => `</${tagName$6}>`,
2725
2738
  provide: (attrs, shared) => {
2726
2739
  const provider = new Map();
2727
2740
  provider.set('table_reference', shared.get('counter'));
@@ -2740,11 +2753,11 @@ var table_build$1 = /*#__PURE__*/Object.freeze({
2740
2753
  default: table_build
2741
2754
  });
2742
2755
 
2743
- const tagName$2 = 'div';
2756
+ const tagName$5 = 'div';
2744
2757
  register('wm-video', () => {
2745
2758
  return {
2746
- pre: attrs => `<${tagName$2} wmVideo ${getAttrMarkup(attrs)}>`,
2747
- post: () => `</${tagName$2}>`
2759
+ pre: attrs => `<${tagName$5} wmVideo ${getAttrMarkup(attrs)}>`,
2760
+ post: () => `</${tagName$5}>`
2748
2761
  };
2749
2762
  });
2750
2763
  var video_build = () => { };
@@ -2754,7 +2767,7 @@ var video_build$1 = /*#__PURE__*/Object.freeze({
2754
2767
  default: video_build
2755
2768
  });
2756
2769
 
2757
- const tagName$1 = 'div';
2770
+ const tagName$4 = 'div';
2758
2771
  const SPACING_KEY = 'parentLinearLayout.spacing';
2759
2772
  register('wm-linearlayout', () => {
2760
2773
  return {
@@ -2762,9 +2775,9 @@ register('wm-linearlayout', () => {
2762
2775
  pre: (attrs, shared, provider) => {
2763
2776
  let spacing = attrs.get('spacing');
2764
2777
  attrs.set('spacing', (!spacing || spacing === '0') && provider ? provider.get(SPACING_KEY) : spacing);
2765
- return `<${tagName$1} wmLinearLayout ${getAttrMarkup(attrs)}>`;
2778
+ return `<${tagName$4} wmLinearLayout ${getAttrMarkup(attrs)}>`;
2766
2779
  },
2767
- post: () => `</${tagName$1}>`,
2780
+ post: () => `</${tagName$4}>`,
2768
2781
  provide: (attrs, shared) => {
2769
2782
  const provider = new Map();
2770
2783
  provider.set(SPACING_KEY, attrs.get('spacing'));
@@ -2779,11 +2792,11 @@ var linearLayout_build$1 = /*#__PURE__*/Object.freeze({
2779
2792
  default: linearLayout_build
2780
2793
  });
2781
2794
 
2782
- const tagName = 'div';
2795
+ const tagName$3 = 'div';
2783
2796
  register('wm-linearlayoutitem', () => {
2784
2797
  return {
2785
- pre: attrs => `<${tagName} wmLinearLayoutItem ${getAttrMarkup(attrs)}>`,
2786
- post: () => `</${tagName}>`
2798
+ pre: attrs => `<${tagName$3} wmLinearLayoutItem ${getAttrMarkup(attrs)}>`,
2799
+ post: () => `</${tagName$3}>`
2787
2800
  };
2788
2801
  });
2789
2802
  var linearLayoutItem_build = () => { };
@@ -2793,11 +2806,72 @@ var linearLayoutItem_build$1 = /*#__PURE__*/Object.freeze({
2793
2806
  default: linearLayoutItem_build
2794
2807
  });
2795
2808
 
2809
+ const tagName$2 = 'div';
2810
+ const idGen = new IDGenerator('wm_custom_widget');
2811
+ register('wm-custom-widget', () => {
2812
+ return {
2813
+ pre: (attrs) => {
2814
+ const counter = idGen.nextUid();
2815
+ return `<${tagName$2} wmWidgetContainer customWidgetContainer #${counter}="wmWidgetContainer" ${getAttrMarkup(attrs)}>`;
2816
+ },
2817
+ post: () => `</${tagName$2}>`
2818
+ };
2819
+ });
2820
+ var customWidgetContainer_build = () => { };
2821
+
2822
+ var customWidgetContainer_build$1 = /*#__PURE__*/Object.freeze({
2823
+ __proto__: null,
2824
+ default: customWidgetContainer_build
2825
+ });
2826
+
2827
+ const tagName$1 = 'div';
2828
+ register('wm-prop', () => {
2829
+ return {
2830
+ pre: attrs => `<${tagName$1} wmProp hidden ${getAttrMarkup(attrs)}>`,
2831
+ post: () => `</${tagName$1}>`
2832
+ };
2833
+ });
2834
+ var customWidgetProp_build = () => { };
2835
+
2836
+ var customWidgetProp_build$1 = /*#__PURE__*/Object.freeze({
2837
+ __proto__: null,
2838
+ default: customWidgetProp_build
2839
+ });
2840
+
2841
+ const tagName = 'section';
2842
+ const noSpan = {};
2843
+ const createElement = name => {
2844
+ return new Element(name, [], [], noSpan, noSpan, noSpan);
2845
+ };
2846
+ const addAtrribute = (node, name, value) => {
2847
+ const attr = new Attribute(name, value, noSpan, noSpan, noSpan, undefined, undefined);
2848
+ node.attrs.push(attr);
2849
+ };
2850
+ register('wm-custom-widget-container', () => {
2851
+ return {
2852
+ template: (node) => {
2853
+ const conditionalNode = createElement('ng-container');
2854
+ // addAtrribute(conditionalNode, '*ngIf', 'compileContent');
2855
+ conditionalNode.children = conditionalNode.children.concat(node.children);
2856
+ node.children.length = 0;
2857
+ node.children.push(conditionalNode);
2858
+ },
2859
+ pre: attrs => `<${tagName} wmCustomWidget data-role="widget" ${getAttrMarkup(attrs)}>`,
2860
+ post: () => `</${tagName}>`
2861
+ };
2862
+ });
2863
+ var customWidgetWrapper_build = () => { };
2864
+
2865
+ var customWidgetWrapper_build$1 = /*#__PURE__*/Object.freeze({
2866
+ __proto__: null,
2867
+ default: customWidgetWrapper_build
2868
+ });
2869
+
2796
2870
  const initComponentsBuildTask = () => { };
2797
2871
 
2798
2872
  /**
2799
2873
  * Generated bundle index. Do not edit.
2800
2874
  */
2801
2875
 
2802
- export { accordion_build$1 as accordionBuild, accordionPane_build$1 as accordionPaneBuild, alertDialog_build$1 as alertDlgBuild, anchor_build$1 as anchorBuild, audio_build$1 as audioBuild, barcodeScanner_build$1 as barcodeScannerBuild, breadcrumb_build$1 as breadcrumbBuild, button_build$1 as buttonBuild, buttonGroup_build$1 as buttonGroupBuild, calendar_build$1 as calendarBuild, camera_build$1 as cameraBuild, cardActions_build$1 as cardActionsBuild, card_build$1 as cardBuild, cardContent_build$1 as cardContentBuild, cardFooter_build$1 as cardFooterBuild, carousel_build$1 as carouselBuild, carouselTemplate_build$1 as carouselTemplateBuild, chart_build$1 as chartBuild, checkbox_build$1 as checkboxBuild, checkboxset_build$1 as checkboxSetBuild, chips_build$1 as chipsBuild, colorPicker_build$1 as colorPickerBuild, composite_build$1 as compositeBuild, confirmDialog_build$1 as confirmDlgBuild, container_build$1 as containerBuild, content_build$1 as contentBuild, currency_build$1 as currencyBuild, date_build$1 as dateBuild, dateTime_build$1 as dateTimeBuild, dialog_build$1 as dlgBuild, dialogFooter_build$1 as dlgFooterBuild, fileUpload_build$1 as fileUploadBuild, footer_build$1 as footerBuild, formAction_build$1 as formActionBuild, form_build$1 as formBuild, formField_build$1 as formFieldBuild, header_build$1 as headerBuild, html_build$1 as htmlBuild, icon_build$1 as iconBuild, iframe_build$1 as iframeBuild, iframeDialog_build$1 as iframeDlgBuild, initComponentsBuildTask, label_build$1 as labelBuild, layout_build$1 as layoutBuild, leftPanel_build$1 as leftPanelBuild, layoutGrid_build$1 as lgBuild, layoutGridColumn_build$1 as lgcolBuild, layoutGridRow_build$1 as lgrowBuild, linearLayout_build$1 as linearLayoutBuild, linearLayoutItem_build$1 as linearLayoutItemBuild, list_build$1 as listBuild, liveTable_build$1 as liveTableBuild, login_build$1 as loginBuild, loginDialog_build$1 as loginDlgBuild, marquee_build$1 as marqueeBuild, mediaList_build$1 as mediaListBuild, mediaListItem_build$1 as mediaListItemBuild, menu_build$1 as menuBuild, message_build$1 as messageBuild, mobileNavbar_build$1 as mobileNavbarBuild, nav_build$1 as navBuild, navItem_build$1 as navItemBuild, navbar_build$1 as navbarBuild, number_build$1 as numberBuild, page_build$1 as pageBuild, pageContent_build$1 as pageContentBuild, pagination_build$1 as paginationBuild, panel_build$1 as panelBuild, partial_build$1 as partialBuild, partialDialog_build$1 as partialDlgBuild, partialParam_build$1 as partialParamBuild, picture_build$1 as pictureBuild, popover_build$1 as popoverBuild, prefab_build$1 as prefabBuild, prefabContainer_build$1 as prefabContainerBuild, progressBar_build$1 as progressBarBuild, progressCircle_build$1 as progressCircleBuild, radioset_build$1 as radiosetBuild, rating_build$1 as ratingBuild, repeatTemplate_build$1 as repeatTemplateBuild, rightPanel_build$1 as rightPanelBuild, routerOutlet_build$1 as routerOutletBuild, richTextEditor_build$1 as rteBuild, search_build$1 as searchBuild, segmentContent_build$1 as segContentBuild, segmentedControl_build$1 as segControlBuild, select_build$1 as selectBuild, slider_build$1 as sliderBuild, spinner_build$1 as spinnerBuild, switch_build$1 as switchBuild, tabBar_build$1 as tabBarBuild, tabPane_build$1 as tabPaneBuild, tableAction_build$1 as tableActionBuild, table_build$1 as tableBuild, tableColumn_build$1 as tableColumnBuild, tableColumnGroup_build$1 as tableColumnGroupBuild, tableRowAction_build$1 as tableRowActionBuild, tableRow_build$1 as tableRowBuild, tabs_build$1 as tabsBuild, textarea_build$1 as textAreaBuild, text_build$1 as textBuild, tile_build$1 as tileBuild, time_build$1 as timeBuild, topNav_build$1 as topNavBuild, tree_build as treeBuild, video_build$1 as videoBuild, wizard_build$1 as wizardBuild, wizardStep_build$1 as wizardStepBuild };
2876
+ export { accordion_build$1 as accordionBuild, accordionPane_build$1 as accordionPaneBuild, alertDialog_build$1 as alertDlgBuild, anchor_build$1 as anchorBuild, audio_build$1 as audioBuild, barcodeScanner_build$1 as barcodeScannerBuild, breadcrumb_build$1 as breadcrumbBuild, button_build$1 as buttonBuild, buttonGroup_build$1 as buttonGroupBuild, calendar_build$1 as calendarBuild, camera_build$1 as cameraBuild, cardActions_build$1 as cardActionsBuild, card_build$1 as cardBuild, cardContent_build$1 as cardContentBuild, cardFooter_build$1 as cardFooterBuild, carousel_build$1 as carouselBuild, carouselTemplate_build$1 as carouselTemplateBuild, chart_build$1 as chartBuild, checkbox_build$1 as checkboxBuild, checkboxset_build$1 as checkboxSetBuild, chips_build$1 as chipsBuild, colorPicker_build$1 as colorPickerBuild, composite_build$1 as compositeBuild, confirmDialog_build$1 as confirmDlgBuild, container_build$1 as containerBuild, content_build$1 as contentBuild, currency_build$1 as currencyBuild, customWidgetContainer_build$1 as customWidgetBuild, customWidgetProp_build$1 as customWidgetPropBuild, customWidgetWrapper_build$1 as customWidgetWrapperBuild, date_build$1 as dateBuild, dateTime_build$1 as dateTimeBuild, dialog_build$1 as dlgBuild, dialogFooter_build$1 as dlgFooterBuild, fileUpload_build$1 as fileUploadBuild, footer_build$1 as footerBuild, formAction_build$1 as formActionBuild, form_build$1 as formBuild, formField_build$1 as formFieldBuild, header_build$1 as headerBuild, html_build$1 as htmlBuild, icon_build$1 as iconBuild, iframe_build$1 as iframeBuild, iframeDialog_build$1 as iframeDlgBuild, initComponentsBuildTask, label_build$1 as labelBuild, layout_build$1 as layoutBuild, leftPanel_build$1 as leftPanelBuild, layoutGrid_build$1 as lgBuild, layoutGridColumn_build$1 as lgcolBuild, layoutGridRow_build$1 as lgrowBuild, linearLayout_build$1 as linearLayoutBuild, linearLayoutItem_build$1 as linearLayoutItemBuild, list_build$1 as listBuild, liveTable_build$1 as liveTableBuild, login_build$1 as loginBuild, loginDialog_build$1 as loginDlgBuild, marquee_build$1 as marqueeBuild, mediaList_build$1 as mediaListBuild, mediaListItem_build$1 as mediaListItemBuild, menu_build$1 as menuBuild, message_build$1 as messageBuild, mobileNavbar_build$1 as mobileNavbarBuild, nav_build$1 as navBuild, navItem_build$1 as navItemBuild, navbar_build$1 as navbarBuild, number_build$1 as numberBuild, page_build$1 as pageBuild, pageContent_build$1 as pageContentBuild, pagination_build$1 as paginationBuild, panel_build$1 as panelBuild, partial_build$1 as partialBuild, partialDialog_build$1 as partialDlgBuild, partialParam_build$1 as partialParamBuild, picture_build$1 as pictureBuild, popover_build$1 as popoverBuild, prefab_build$1 as prefabBuild, prefabContainer_build$1 as prefabContainerBuild, progressBar_build$1 as progressBarBuild, progressCircle_build$1 as progressCircleBuild, radioset_build$1 as radiosetBuild, rating_build$1 as ratingBuild, repeatTemplate_build$1 as repeatTemplateBuild, rightPanel_build$1 as rightPanelBuild, routerOutlet_build$1 as routerOutletBuild, richTextEditor_build$1 as rteBuild, search_build$1 as searchBuild, segmentContent_build$1 as segContentBuild, segmentedControl_build$1 as segControlBuild, select_build$1 as selectBuild, slider_build$1 as sliderBuild, spinner_build$1 as spinnerBuild, switch_build$1 as switchBuild, tabBar_build$1 as tabBarBuild, tabPane_build$1 as tabPaneBuild, tableAction_build$1 as tableActionBuild, table_build$1 as tableBuild, tableColumn_build$1 as tableColumnBuild, tableColumnGroup_build$1 as tableColumnGroupBuild, tableRowAction_build$1 as tableRowActionBuild, tableRow_build$1 as tableRowBuild, tabs_build$1 as tabsBuild, textarea_build$1 as textAreaBuild, text_build$1 as textBuild, tile_build$1 as tileBuild, time_build$1 as timeBuild, topNav_build$1 as topNavBuild, tree_build as treeBuild, video_build$1 as videoBuild, wizard_build$1 as wizardBuild, wizardStep_build$1 as wizardStepBuild };
2803
2877
  //# sourceMappingURL=index.mjs.map