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