@wavemaker/app-ng-runtime 12.0.0-next.140535 → 12.0.0-next.141130

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 (170) 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-wrapper/custom-widget-wrapper.build.d.ts +2 -0
  3. app-ng-runtime/build-task/bundles/index.umd.js +451 -405
  4. app-ng-runtime/build-task/esm2022/advanced/custom-widget-container/custom-widget-container.build.mjs +15 -0
  5. app-ng-runtime/build-task/esm2022/advanced/custom-widget-wrapper/custom-widget-wrapper.build.mjs +26 -0
  6. app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +3 -2
  7. app-ng-runtime/build-task/esm2022/public_api.mjs +3 -1
  8. app-ng-runtime/build-task/fesm2022/index.mjs +454 -406
  9. app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
  10. app-ng-runtime/build-task/public_api.d.ts +2 -0
  11. app-ng-runtime/components/advanced/custom/.npmignore +2 -0
  12. app-ng-runtime/components/advanced/custom/bundles/index.umd.js +232 -0
  13. app-ng-runtime/components/advanced/custom/custom-widget-container/custom-widget-container.directive.d.ts +19 -0
  14. app-ng-runtime/components/advanced/custom/custom-widget-container/custom-widget.props.d.ts +2 -0
  15. app-ng-runtime/components/advanced/custom/custom-widget-prop.d.ts +1 -0
  16. app-ng-runtime/components/advanced/custom/custom-widget.directive.d.ts +19 -0
  17. app-ng-runtime/components/advanced/custom/custom-widget.module.d.ts +10 -0
  18. app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container/custom-widget-container.directive.mjs +102 -0
  19. app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container/custom-widget.props.mjs +12 -0
  20. app-ng-runtime/components/advanced/custom/esm2022/custom-widget-prop.mjs +8 -0
  21. app-ng-runtime/components/advanced/custom/esm2022/custom-widget.directive.mjs +68 -0
  22. app-ng-runtime/components/advanced/custom/esm2022/custom-widget.module.mjs +32 -0
  23. app-ng-runtime/components/advanced/custom/esm2022/index.mjs +5 -0
  24. app-ng-runtime/components/advanced/custom/esm2022/public_api.mjs +4 -0
  25. app-ng-runtime/components/advanced/custom/fesm2022/index.mjs +215 -0
  26. app-ng-runtime/components/advanced/custom/fesm2022/index.mjs.map +1 -0
  27. app-ng-runtime/components/advanced/custom/index.d.ts +5 -0
  28. app-ng-runtime/components/advanced/custom/package.json +23 -0
  29. app-ng-runtime/components/advanced/custom/public_api.d.ts +3 -0
  30. app-ng-runtime/components/base/bundles/index.umd.js +63 -21
  31. app-ng-runtime/components/base/components.module.d.ts +12 -11
  32. app-ng-runtime/components/base/esm2022/components.module.mjs +5 -1
  33. app-ng-runtime/components/base/esm2022/public_api.mjs +2 -1
  34. app-ng-runtime/components/base/esm2022/utils/live-utils.mjs +2 -8
  35. app-ng-runtime/components/base/esm2022/widgets/common/base/base.component.mjs +25 -15
  36. app-ng-runtime/components/base/esm2022/widgets/common/base/custom-widget-container.directive.mjs +39 -0
  37. app-ng-runtime/components/base/fesm2022/index.mjs +63 -22
  38. app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
  39. app-ng-runtime/components/base/public_api.d.ts +1 -0
  40. app-ng-runtime/components/base/widgets/common/base/base.component.d.ts +10 -5
  41. app-ng-runtime/components/base/widgets/common/base/custom-widget-container.directive.d.ts +14 -0
  42. app-ng-runtime/components/basic/search/bundles/index.umd.js +36 -24
  43. app-ng-runtime/components/basic/search/esm2022/search.component.mjs +33 -24
  44. app-ng-runtime/components/basic/search/esm2022/search.props.mjs +5 -2
  45. app-ng-runtime/components/basic/search/fesm2022/index.mjs +36 -24
  46. app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
  47. app-ng-runtime/components/basic/search/search.component.d.ts +3 -0
  48. app-ng-runtime/components/containers/tabs/bundles/index.umd.js +14 -6
  49. app-ng-runtime/components/containers/tabs/esm2022/tabs.component.mjs +14 -7
  50. app-ng-runtime/components/containers/tabs/esm2022/tabs.props.mjs +3 -2
  51. app-ng-runtime/components/containers/tabs/fesm2022/index.mjs +14 -6
  52. app-ng-runtime/components/containers/tabs/fesm2022/index.mjs.map +1 -1
  53. app-ng-runtime/components/containers/tabs/tabs.component.d.ts +1 -0
  54. app-ng-runtime/components/containers/wizard/bundles/index.umd.js +0 -17
  55. app-ng-runtime/components/containers/wizard/esm2022/wizard.component.mjs +1 -18
  56. app-ng-runtime/components/containers/wizard/fesm2022/index.mjs +0 -17
  57. app-ng-runtime/components/containers/wizard/fesm2022/index.mjs.map +1 -1
  58. app-ng-runtime/components/containers/wizard/wizard.component.d.ts +0 -1
  59. app-ng-runtime/components/data/form/bundles/index.umd.js +0 -4
  60. app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +3 -5
  61. app-ng-runtime/components/data/form/fesm2022/index.mjs +2 -4
  62. app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
  63. app-ng-runtime/components/data/form/form-field/form-field.directive.d.ts +0 -1
  64. app-ng-runtime/components/data/table/bundles/index.umd.js +2 -2
  65. app-ng-runtime/components/data/table/esm2022/table.component.mjs +3 -3
  66. app-ng-runtime/components/data/table/fesm2022/index.mjs +2 -2
  67. app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
  68. app-ng-runtime/components/data/table/table.component.d.ts +1 -1
  69. app-ng-runtime/components/dialogs/default/base-dialog.d.ts +2 -0
  70. app-ng-runtime/components/dialogs/default/bundles/index.umd.js +17 -17
  71. app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +1 -12
  72. app-ng-runtime/components/dialogs/default/esm2022/dialog-body/dialog-body.directive.mjs +14 -2
  73. app-ng-runtime/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +6 -7
  74. app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +18 -18
  75. app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
  76. app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +21 -3
  77. app-ng-runtime/components/dialogs/design-dialog/dialog.component.d.ts +3 -2
  78. app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.component.mjs +22 -4
  79. app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs +21 -3
  80. app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
  81. app-ng-runtime/components/input/default/bundles/index.umd.js +116 -115
  82. app-ng-runtime/components/input/default/checkboxset/checkboxset.component.d.ts +1 -0
  83. app-ng-runtime/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +8 -5
  84. app-ng-runtime/components/input/default/esm2022/radioset/radioset.component.mjs +8 -5
  85. app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +29 -59
  86. app-ng-runtime/components/input/default/esm2022/switch/switch.component.mjs +64 -38
  87. app-ng-runtime/components/input/default/esm2022/switch/switch.props.mjs +2 -1
  88. app-ng-runtime/components/input/default/esm2022/text/base/base-input.mjs +4 -1
  89. app-ng-runtime/components/input/default/esm2022/text/locale/number-locale.mjs +2 -2
  90. app-ng-runtime/components/input/default/esm2022/textarea/textarea.component.mjs +1 -4
  91. app-ng-runtime/components/input/default/fesm2022/index.mjs +117 -116
  92. app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
  93. app-ng-runtime/components/input/default/radioset/radioset.component.d.ts +1 -0
  94. app-ng-runtime/components/input/default/select/select.component.d.ts +4 -2
  95. app-ng-runtime/components/input/default/switch/switch.component.d.ts +2 -0
  96. app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +2 -3
  97. app-ng-runtime/components/input/epoch/bundles/index.umd.js +0 -3
  98. app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +1 -4
  99. app-ng-runtime/components/input/epoch/fesm2022/index.mjs +0 -3
  100. app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
  101. app-ng-runtime/components/input/file-upload/bundles/index.umd.js +5 -31
  102. app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +8 -34
  103. app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +6 -32
  104. app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
  105. app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +2 -6
  106. app-ng-runtime/components/input/rating/bundles/index.umd.js +26 -35
  107. app-ng-runtime/components/input/rating/esm2022/rating.component.mjs +26 -37
  108. app-ng-runtime/components/input/rating/esm2022/rating.props.mjs +3 -1
  109. app-ng-runtime/components/input/rating/fesm2022/index.mjs +27 -36
  110. app-ng-runtime/components/input/rating/fesm2022/index.mjs.map +1 -1
  111. app-ng-runtime/components/input/rating/rating.component.d.ts +3 -1
  112. app-ng-runtime/components/navigation/menu/bundles/index.umd.js +2 -2
  113. app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +2 -2
  114. app-ng-runtime/components/navigation/menu/esm2022/nav/nav.component.mjs +2 -2
  115. app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +2 -2
  116. app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
  117. app-ng-runtime/components/page/left-panel/bundles/index.umd.js +6 -2
  118. app-ng-runtime/components/page/left-panel/esm2022/left-panel.directive.mjs +9 -5
  119. app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +8 -4
  120. app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
  121. app-ng-runtime/components/page/left-panel/left-panel.directive.d.ts +2 -2
  122. app-ng-runtime/components/page/right-panel/bundles/index.umd.js +6 -2
  123. app-ng-runtime/components/page/right-panel/esm2022/right-panel.directive.mjs +9 -5
  124. app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +8 -4
  125. app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
  126. app-ng-runtime/components/page/right-panel/right-panel.directive.d.ts +2 -2
  127. app-ng-runtime/core/bundles/index.umd.js +28 -6
  128. app-ng-runtime/core/enums/enums.d.ts +2 -1
  129. app-ng-runtime/core/esm2022/enums/enums.mjs +2 -1
  130. app-ng-runtime/core/esm2022/public_api.mjs +2 -2
  131. app-ng-runtime/core/esm2022/types/types.mjs +4 -1
  132. app-ng-runtime/core/esm2022/utils/build-utils.mjs +6 -1
  133. app-ng-runtime/core/esm2022/utils/utils.mjs +11 -4
  134. app-ng-runtime/core/fesm2022/index.mjs +22 -4
  135. app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
  136. app-ng-runtime/core/public_api.d.ts +1 -1
  137. app-ng-runtime/core/types/types.d.ts +5 -1
  138. app-ng-runtime/core/utils/utils.d.ts +2 -1
  139. app-ng-runtime/mobile/core/bundles/index.umd.js +2 -18
  140. app-ng-runtime/mobile/core/esm2022/native.xhr.mjs +3 -19
  141. app-ng-runtime/mobile/core/fesm2022/index.mjs +2 -18
  142. app-ng-runtime/mobile/core/fesm2022/index.mjs.map +1 -1
  143. app-ng-runtime/package.json +1 -1
  144. app-ng-runtime/runtime/base/bundles/index.umd.js +296 -5
  145. app-ng-runtime/runtime/base/components/base-custom-widget.component.d.ts +73 -0
  146. app-ng-runtime/runtime/base/esm2022/components/base-custom-widget.component.mjs +294 -0
  147. app-ng-runtime/runtime/base/esm2022/public_api.mjs +2 -1
  148. app-ng-runtime/runtime/base/esm2022/runtime-base.module.mjs +6 -1
  149. app-ng-runtime/runtime/base/esm2022/services/i18n.service.mjs +2 -2
  150. app-ng-runtime/runtime/base/esm2022/types/types.mjs +4 -1
  151. app-ng-runtime/runtime/base/fesm2022/index.mjs +294 -4
  152. app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
  153. app-ng-runtime/runtime/base/public_api.d.ts +1 -0
  154. app-ng-runtime/runtime/base/runtime-base.module.d.ts +9 -8
  155. app-ng-runtime/runtime/base/types/types.d.ts +5 -1
  156. app-ng-runtime/runtime/dynamic/app/services/customwidget-config-provider.service.d.ts +8 -0
  157. app-ng-runtime/runtime/dynamic/bundles/index.umd.js +49 -13
  158. app-ng-runtime/runtime/dynamic/esm2022/app/app.module.mjs +8 -3
  159. app-ng-runtime/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +23 -7
  160. app-ng-runtime/runtime/dynamic/esm2022/app/services/customwidget-config-provider.service.mjs +22 -0
  161. app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +50 -11
  162. app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
  163. app-ng-runtime/scripts/@wavemaker/nvd3/build/nv.d3.min.js +1 -1
  164. app-ng-runtime/scripts/datatable/datatable.js +4 -7
  165. app-ng-runtime/scripts/summernote/dist/summernote-lite.min.js +3 -2
  166. app-ng-runtime/transpiler/bundles/index.umd.js +5 -0
  167. app-ng-runtime/transpiler/esm2022/build.mjs +4 -1
  168. app-ng-runtime/transpiler/esm2022/imports.mjs +3 -1
  169. app-ng-runtime/transpiler/fesm2022/index.mjs +5 -0
  170. app-ng-runtime/transpiler/fesm2022/index.mjs.map +1 -1
@@ -6,13 +6,13 @@ import { forEach } from 'lodash-es';
6
6
 
7
7
  const carouselTagName = 'carousel';
8
8
  const dataSetKey$5 = 'dataset';
9
- const idGen$s = new IDGenerator('wm_carousel_ref_');
9
+ const idGen$t = new IDGenerator('wm_carousel_ref_');
10
10
  const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
11
11
  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" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
18
18
  },
@@ -80,11 +80,11 @@ var carouselTemplate_build$1 = /*#__PURE__*/Object.freeze({
80
80
  default: carouselTemplate_build
81
81
  });
82
82
 
83
- const tagName$1C = 'div';
83
+ const tagName$1E = 'div';
84
84
  register('wm-login', () => {
85
85
  return {
86
- pre: attrs => `<${tagName$1C} wmLogin ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction">`,
87
- post: () => `</${tagName$1C}>`,
86
+ pre: attrs => `<${tagName$1E} wmLogin ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction">`,
87
+ post: () => `</${tagName$1E}>`,
88
88
  provide: () => {
89
89
  const provider = new Map();
90
90
  provider.set('isLogin', true);
@@ -99,11 +99,11 @@ var login_build$1 = /*#__PURE__*/Object.freeze({
99
99
  default: login_build
100
100
  });
101
101
 
102
- const tagName$1B = 'marquee';
102
+ const tagName$1D = 'marquee';
103
103
  register('wm-marquee', () => {
104
104
  return {
105
- pre: attrs => `<${tagName$1B} onmouseover="this.stop();" onmouseout="this.start();" wmMarquee role="marquee" aria-live="off" ${getAttrMarkup(attrs)}>`,
106
- post: () => `</${tagName$1B}>`
105
+ pre: attrs => `<${tagName$1D} onmouseover="this.stop();" onmouseout="this.start();" wmMarquee role="marquee" aria-live="off" ${getAttrMarkup(attrs)}>`,
106
+ post: () => `</${tagName$1D}>`
107
107
  };
108
108
  });
109
109
  var marquee_build = () => { };
@@ -113,15 +113,15 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
113
113
  default: marquee_build
114
114
  });
115
115
 
116
- const tagName$1A = 'a';
117
- const idGen$r = new IDGenerator('wm_anchor');
116
+ const tagName$1C = 'a';
117
+ const idGen$s = new IDGenerator('wm_anchor');
118
118
  register('wm-anchor', () => {
119
119
  return {
120
120
  pre: (attrs) => {
121
- const counter = idGen$r.nextUid();
122
- return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.hint || ${counter}.caption" ${getAttrMarkup(attrs)}>`;
121
+ const counter = idGen$s.nextUid();
122
+ return `<${tagName$1C} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.hint || ${counter}.caption" ${getAttrMarkup(attrs)}>`;
123
123
  },
124
- post: () => `</${tagName$1A}>`
124
+ post: () => `</${tagName$1C}>`
125
125
  };
126
126
  });
127
127
  var anchor_build = () => { };
@@ -131,11 +131,11 @@ var anchor_build$1 = /*#__PURE__*/Object.freeze({
131
131
  default: anchor_build
132
132
  });
133
133
 
134
- const tagName$1z = 'div';
134
+ const tagName$1B = 'div';
135
135
  register('wm-audio', () => {
136
136
  return {
137
- pre: attrs => `<${tagName$1z} wmAudio ${getAttrMarkup(attrs)}>`,
138
- post: () => `</${tagName$1z}>`
137
+ pre: attrs => `<${tagName$1B} wmAudio ${getAttrMarkup(attrs)}>`,
138
+ post: () => `</${tagName$1B}>`
139
139
  };
140
140
  });
141
141
  var audio_build = () => { };
@@ -145,15 +145,15 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
145
145
  default: audio_build
146
146
  });
147
147
 
148
- const tagName$1y = 'div';
149
- const idGen$q = new IDGenerator('wm_html');
148
+ const tagName$1A = 'div';
149
+ const idGen$r = new IDGenerator('wm_html');
150
150
  register('wm-html', () => {
151
151
  return {
152
152
  pre: (attrs) => {
153
- const counter = idGen$q.nextUid();
154
- return `<${tagName$1y} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
153
+ const counter = idGen$r.nextUid();
154
+ return `<${tagName$1A} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
155
155
  },
156
- post: () => `</${tagName$1y}>`
156
+ post: () => `</${tagName$1A}>`
157
157
  };
158
158
  });
159
159
  var html_build = () => { };
@@ -163,11 +163,11 @@ var html_build$1 = /*#__PURE__*/Object.freeze({
163
163
  default: html_build
164
164
  });
165
165
 
166
- const tagName$1x = 'span';
166
+ const tagName$1z = 'span';
167
167
  register('wm-icon', () => {
168
168
  return {
169
- pre: attrs => `<${tagName$1x} wmIcon aria-hidden="true" ${getAttrMarkup(attrs)}>`,
170
- post: () => `</${tagName$1x}>`
169
+ pre: attrs => `<${tagName$1z} wmIcon aria-hidden="true" ${getAttrMarkup(attrs)}>`,
170
+ post: () => `</${tagName$1z}>`
171
171
  };
172
172
  });
173
173
  var icon_build = () => { };
@@ -177,11 +177,11 @@ var icon_build$1 = /*#__PURE__*/Object.freeze({
177
177
  default: icon_build
178
178
  });
179
179
 
180
- const tagName$1w = 'div';
180
+ const tagName$1y = 'div';
181
181
  register('wm-iframe', () => {
182
182
  return {
183
- pre: attrs => `<${tagName$1w} wmIframe ${getAttrMarkup(attrs)}>`,
184
- post: () => `</${tagName$1w}>`
183
+ pre: attrs => `<${tagName$1y} wmIframe ${getAttrMarkup(attrs)}>`,
184
+ post: () => `</${tagName$1y}>`
185
185
  };
186
186
  });
187
187
  var iframe_build = () => { };
@@ -191,8 +191,8 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
191
191
  default: iframe_build
192
192
  });
193
193
 
194
- let tagName$1v = 'p';
195
- const idGen$p = new IDGenerator('wm_label');
194
+ let tagName$1x = 'p';
195
+ const idGen$q = new IDGenerator('wm_label');
196
196
  register('wm-label', () => {
197
197
  return {
198
198
  pre: (attrs) => {
@@ -201,15 +201,15 @@ register('wm-label', () => {
201
201
  const classList = attrs.get('class') ? attrs.get('class').split(' ').filter(element => ["h1", "h2", "h3", "h4", "h5", "h6", "p"].includes(element)) : [];
202
202
  attrs.set('type', classList.length ? classList[0] : "p");
203
203
  }
204
- tagName$1v = attrs.get('type');
204
+ tagName$1x = attrs.get('type');
205
205
  }
206
206
  else {
207
- tagName$1v = 'label';
207
+ tagName$1x = 'label';
208
208
  }
209
- const counter = idGen$p.nextUid();
210
- return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
209
+ const counter = idGen$q.nextUid();
210
+ return `<${tagName$1x} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
211
211
  },
212
- post: () => `</${tagName$1v}>`
212
+ post: () => `</${tagName$1x}>`
213
213
  };
214
214
  });
215
215
  var label_build = () => { };
@@ -219,13 +219,13 @@ var label_build$1 = /*#__PURE__*/Object.freeze({
219
219
  default: label_build
220
220
  });
221
221
 
222
- const tagName$1u = 'img';
223
- const idGen$o = new IDGenerator('wm_picture');
222
+ const tagName$1w = 'img';
223
+ const idGen$p = new IDGenerator('wm_picture');
224
224
  register('wm-picture', () => {
225
225
  return {
226
226
  pre: (attrs) => {
227
- const counter = idGen$o.nextUid();
228
- return `<${tagName$1u} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.hint || 'Image'" ${getAttrMarkup(attrs)}>`;
227
+ const counter = idGen$p.nextUid();
228
+ return `<${tagName$1w} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.hint || 'Image'" ${getAttrMarkup(attrs)}>`;
229
229
  }
230
230
  };
231
231
  });
@@ -236,15 +236,15 @@ var picture_build$1 = /*#__PURE__*/Object.freeze({
236
236
  default: picture_build
237
237
  });
238
238
 
239
- const tagName$1t = 'div';
240
- const idGen$n = new IDGenerator('wm_spinner');
239
+ const tagName$1v = 'div';
240
+ const idGen$o = new IDGenerator('wm_spinner');
241
241
  register('wm-spinner', () => {
242
242
  return {
243
243
  pre: (attrs) => {
244
- const counter = idGen$n.nextUid();
245
- return `<${tagName$1t} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.hint || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
244
+ const counter = idGen$o.nextUid();
245
+ return `<${tagName$1v} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.hint || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
246
246
  },
247
- post: () => `</${tagName$1t}>`
247
+ post: () => `</${tagName$1v}>`
248
248
  };
249
249
  });
250
250
  var spinner_build = () => { };
@@ -254,7 +254,7 @@ var spinner_build$1 = /*#__PURE__*/Object.freeze({
254
254
  default: spinner_build
255
255
  });
256
256
 
257
- const tagName$1s = 'div';
257
+ const tagName$1u = 'div';
258
258
  const getAttr = (node, attrName) => node.attrs.find(attr => attr.name === attrName);
259
259
  const getAttrValue = (node, attrName) => {
260
260
  const match = getAttr(node, attrName);
@@ -282,8 +282,8 @@ register('wm-progress-bar', () => {
282
282
  }
283
283
  }
284
284
  },
285
- pre: attrs => `<${tagName$1s} wmProgressBar ${getAttrMarkup(attrs)}>`,
286
- post: () => `</${tagName$1s}>`
285
+ pre: attrs => `<${tagName$1u} wmProgressBar ${getAttrMarkup(attrs)}>`,
286
+ post: () => `</${tagName$1u}>`
287
287
  };
288
288
  });
289
289
  var progressBar_build = () => { };
@@ -293,11 +293,11 @@ var progressBar_build$1 = /*#__PURE__*/Object.freeze({
293
293
  default: progressBar_build
294
294
  });
295
295
 
296
- const tagName$1r = 'div';
296
+ const tagName$1t = 'div';
297
297
  register('wm-progress-circle', () => {
298
298
  return {
299
- pre: attrs => `<${tagName$1r} wmProgressCircle ${getAttrMarkup(attrs)}>`,
300
- post: () => `</${tagName$1r}>`
299
+ pre: attrs => `<${tagName$1t} wmProgressCircle ${getAttrMarkup(attrs)}>`,
300
+ post: () => `</${tagName$1t}>`
301
301
  };
302
302
  });
303
303
  var progressCircle_build = () => { };
@@ -307,15 +307,15 @@ var progressCircle_build$1 = /*#__PURE__*/Object.freeze({
307
307
  default: progressCircle_build
308
308
  });
309
309
 
310
- const tagName$1q = 'div';
311
- const idGen$m = new IDGenerator('wm_richtexteditor');
310
+ const tagName$1s = 'div';
311
+ const idGen$n = new IDGenerator('wm_richtexteditor');
312
312
  register('wm-richtexteditor', () => {
313
313
  return {
314
314
  pre: (attrs) => {
315
- const counter = idGen$m.nextUid();
316
- return `<${tagName$1q} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.hint || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
315
+ const counter = idGen$n.nextUid();
316
+ return `<${tagName$1s} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.hint || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
317
317
  },
318
- post: () => `</${tagName$1q}>`
318
+ post: () => `</${tagName$1s}>`
319
319
  };
320
320
  });
321
321
  var richTextEditor_build = () => { };
@@ -325,11 +325,11 @@ var richTextEditor_build$1 = /*#__PURE__*/Object.freeze({
325
325
  default: richTextEditor_build
326
326
  });
327
327
 
328
- const tagName$1p = 'div';
328
+ const tagName$1r = 'div';
329
329
  register('wm-search', () => {
330
330
  return {
331
- pre: attrs => `<${tagName$1p} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
332
- post: () => `</${tagName$1p}>`
331
+ pre: attrs => `<${tagName$1r} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
332
+ post: () => `</${tagName$1r}>`
333
333
  };
334
334
  });
335
335
  var search_build = () => { };
@@ -339,11 +339,11 @@ var search_build$1 = /*#__PURE__*/Object.freeze({
339
339
  default: search_build
340
340
  });
341
341
 
342
- const tagName$1o = 'ul';
342
+ const tagName$1q = 'ul';
343
343
  register('wm-tree', () => {
344
344
  return {
345
- pre: attrs => `<${tagName$1o} wmTree class="ztree" ${getAttrMarkup(attrs)}>`,
346
- post: () => `</${tagName$1o}>`
345
+ pre: attrs => `<${tagName$1q} wmTree class="ztree" ${getAttrMarkup(attrs)}>`,
346
+ post: () => `</${tagName$1q}>`
347
347
  };
348
348
  });
349
349
 
@@ -351,11 +351,11 @@ var tree_build = /*#__PURE__*/Object.freeze({
351
351
  __proto__: null
352
352
  });
353
353
 
354
- const tagName$1n = 'div';
354
+ const tagName$1p = 'div';
355
355
  register('wm-card', () => {
356
356
  return {
357
- pre: attrs => `<${tagName$1n} wmCard ${getAttrMarkup(attrs)}>`,
358
- post: () => `</${tagName$1n}>`
357
+ pre: attrs => `<${tagName$1p} wmCard ${getAttrMarkup(attrs)}>`,
358
+ post: () => `</${tagName$1p}>`
359
359
  };
360
360
  });
361
361
  var card_build = () => { };
@@ -365,11 +365,11 @@ var card_build$1 = /*#__PURE__*/Object.freeze({
365
365
  default: card_build
366
366
  });
367
367
 
368
- const tagName$1m = 'div';
368
+ const tagName$1o = 'div';
369
369
  register('wm-card-content', () => {
370
370
  return {
371
- pre: attrs => `<${tagName$1m} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,
372
- post: () => `</${tagName$1m}>`
371
+ pre: attrs => `<${tagName$1o} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,
372
+ post: () => `</${tagName$1o}>`
373
373
  };
374
374
  });
375
375
  var cardContent_build = () => { };
@@ -379,11 +379,11 @@ var cardContent_build$1 = /*#__PURE__*/Object.freeze({
379
379
  default: cardContent_build
380
380
  });
381
381
 
382
- const tagName$1l = 'div';
382
+ const tagName$1n = 'div';
383
383
  register('wm-card-actions', () => {
384
384
  return {
385
- pre: attrs => `<${tagName$1l} wmCardActions ${getAttrMarkup(attrs)}>`,
386
- post: () => `</${tagName$1l}>`
385
+ pre: attrs => `<${tagName$1n} wmCardActions ${getAttrMarkup(attrs)}>`,
386
+ post: () => `</${tagName$1n}>`
387
387
  };
388
388
  });
389
389
  var cardActions_build = () => { };
@@ -393,11 +393,11 @@ var cardActions_build$1 = /*#__PURE__*/Object.freeze({
393
393
  default: cardActions_build
394
394
  });
395
395
 
396
- const tagName$1k = 'div';
396
+ const tagName$1m = 'div';
397
397
  register('wm-card-footer', () => {
398
398
  return {
399
- pre: attrs => `<${tagName$1k} wmCardFooter ${getAttrMarkup(attrs)}>`,
400
- post: () => `</${tagName$1k}>`
399
+ pre: attrs => `<${tagName$1m} wmCardFooter ${getAttrMarkup(attrs)}>`,
400
+ post: () => `</${tagName$1m}>`
401
401
  };
402
402
  });
403
403
  var cardFooter_build = () => { };
@@ -407,11 +407,11 @@ var cardFooter_build$1 = /*#__PURE__*/Object.freeze({
407
407
  default: cardFooter_build
408
408
  });
409
409
 
410
- const tagName$1j = 'div';
410
+ const tagName$1l = 'div';
411
411
  register('wm-chart', () => {
412
412
  return {
413
- pre: attrs => `<${tagName$1j} wmChart redrawable aria-label="${attrs.get('type')} Chart" ${getAttrMarkup(attrs)}>`,
414
- post: () => `</${tagName$1j}>`
413
+ pre: attrs => `<${tagName$1l} wmChart redrawable aria-label="${attrs.get('type')} Chart" ${getAttrMarkup(attrs)}>`,
414
+ post: () => `</${tagName$1l}>`
415
415
  };
416
416
  });
417
417
  var chart_build = () => { };
@@ -421,19 +421,19 @@ var chart_build$1 = /*#__PURE__*/Object.freeze({
421
421
  default: chart_build
422
422
  });
423
423
 
424
- const tagName$1i = 'div';
424
+ const tagName$1k = 'div';
425
425
  const dataSetKey$4 = 'dataset';
426
- const idGen$l = new IDGenerator('wm_accordion_ref_');
426
+ const idGen$m = new IDGenerator('wm_accordion_ref_');
427
427
  const isDynamicAccordion = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
428
428
  register('wm-accordion', () => {
429
429
  return {
430
430
  pre: (attrs, shared) => {
431
431
  // generating unique Id for the accordion
432
- const counter = idGen$l.nextUid();
432
+ const counter = idGen$m.nextUid();
433
433
  shared.set('accordion_ref', counter);
434
- return `<${tagName$1i} wmAccordion #${counter}="wmAccordion" role="tablist" aria-multiselectable="true" ${getAttrMarkup(attrs)}>`;
434
+ return `<${tagName$1k} wmAccordion #${counter}="wmAccordion" role="tablist" aria-multiselectable="true" ${getAttrMarkup(attrs)}>`;
435
435
  },
436
- post: () => `</${tagName$1i}>`,
436
+ post: () => `</${tagName$1k}>`,
437
437
  template: (node, shared) => {
438
438
  // check if the accordion is dynamic
439
439
  if (isDynamicAccordion(node)) {
@@ -464,15 +464,15 @@ var accordion_build$1 = /*#__PURE__*/Object.freeze({
464
464
  default: accordion_build
465
465
  });
466
466
 
467
- const tagName$1h = 'div';
468
- const idGen$k = new IDGenerator('wm_accordionpane');
467
+ const tagName$1j = 'div';
468
+ const idGen$l = new IDGenerator('wm_accordionpane');
469
469
  register('wm-accordionpane', () => {
470
470
  return {
471
471
  pre: (attrs) => {
472
- const counter = idGen$k.nextUid();
473
- return `<${tagName$1h} #${counter}="wmAccordionPane" [attr.aria-expanded]="${counter}.isActive" wmAccordionPane partialContainer wm-navigable-element="true" role="tab" ${getAttrMarkup(attrs)}>`;
472
+ const counter = idGen$l.nextUid();
473
+ return `<${tagName$1j} #${counter}="wmAccordionPane" [attr.aria-expanded]="${counter}.isActive" wmAccordionPane partialContainer wm-navigable-element="true" role="tab" ${getAttrMarkup(attrs)}>`;
474
474
  },
475
- post: () => `</${tagName$1h}>`
475
+ post: () => `</${tagName$1j}>`
476
476
  };
477
477
  });
478
478
  var accordionPane_build = () => { };
@@ -482,11 +482,11 @@ var accordionPane_build$1 = /*#__PURE__*/Object.freeze({
482
482
  default: accordionPane_build
483
483
  });
484
484
 
485
- const tagName$1g = 'div';
485
+ const tagName$1i = 'div';
486
486
  register('wm-container', () => {
487
487
  return {
488
- pre: attrs => `<${tagName$1g} wmContainer partialContainer wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
489
- post: () => `</${tagName$1g}>`
488
+ pre: attrs => `<${tagName$1i} wmContainer partialContainer wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
489
+ post: () => `</${tagName$1i}>`
490
490
  };
491
491
  });
492
492
  var container_build = () => { };
@@ -496,11 +496,11 @@ var container_build$1 = /*#__PURE__*/Object.freeze({
496
496
  default: container_build
497
497
  });
498
498
 
499
- const tagName$1f = 'div';
499
+ const tagName$1h = 'div';
500
500
  register('wm-gridcolumn', () => {
501
501
  return {
502
- pre: attrs => `<${tagName$1f} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,
503
- post: () => `</${tagName$1f}>`
502
+ pre: attrs => `<${tagName$1h} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,
503
+ post: () => `</${tagName$1h}>`
504
504
  };
505
505
  });
506
506
  var layoutGridColumn_build = () => { };
@@ -510,11 +510,11 @@ var layoutGridColumn_build$1 = /*#__PURE__*/Object.freeze({
510
510
  default: layoutGridColumn_build
511
511
  });
512
512
 
513
- const tagName$1e = 'div';
513
+ const tagName$1g = 'div';
514
514
  register('wm-gridrow', () => {
515
515
  return {
516
- pre: attrs => `<${tagName$1e} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,
517
- post: () => `</${tagName$1e}>`
516
+ pre: attrs => `<${tagName$1g} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,
517
+ post: () => `</${tagName$1g}>`
518
518
  };
519
519
  });
520
520
  var layoutGridRow_build = () => { };
@@ -524,11 +524,11 @@ var layoutGridRow_build$1 = /*#__PURE__*/Object.freeze({
524
524
  default: layoutGridRow_build
525
525
  });
526
526
 
527
- const tagName$1d = 'div';
527
+ const tagName$1f = 'div';
528
528
  register('wm-layoutgrid', () => {
529
529
  return {
530
- pre: attrs => `<${tagName$1d} wmLayoutGrid ${getAttrMarkup(attrs)}>`,
531
- post: () => `</${tagName$1d}>`
530
+ pre: attrs => `<${tagName$1f} wmLayoutGrid ${getAttrMarkup(attrs)}>`,
531
+ post: () => `</${tagName$1f}>`
532
532
  };
533
533
  });
534
534
  var layoutGrid_build = () => { };
@@ -538,21 +538,21 @@ var layoutGrid_build$1 = /*#__PURE__*/Object.freeze({
538
538
  default: layoutGrid_build
539
539
  });
540
540
 
541
- const tagName$1c = 'div';
542
- const idGen$j = new IDGenerator('wm_panel');
541
+ const tagName$1e = 'div';
542
+ const idGen$k = new IDGenerator('wm_panel');
543
543
  register('wm-panel', () => {
544
544
  return {
545
545
  pre: (attrs) => {
546
- const counter = idGen$j.nextUid();
547
- return `<${tagName$1c} wmPanel #${counter}="wmPanel" partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
546
+ const counter = idGen$k.nextUid();
547
+ return `<${tagName$1e} wmPanel #${counter}="wmPanel" partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
548
548
  },
549
- post: () => `</${tagName$1c}>`
549
+ post: () => `</${tagName$1e}>`
550
550
  };
551
551
  });
552
552
  register('wm-panel-footer', () => {
553
553
  return {
554
- pre: attrs => `<${tagName$1c} wmPanelFooter ${getAttrMarkup(attrs)}>`,
555
- post: () => `</${tagName$1c}>`
554
+ pre: attrs => `<${tagName$1e} wmPanelFooter ${getAttrMarkup(attrs)}>`,
555
+ post: () => `</${tagName$1e}>`
556
556
  };
557
557
  });
558
558
  var panel_build = () => { };
@@ -562,11 +562,11 @@ var panel_build$1 = /*#__PURE__*/Object.freeze({
562
562
  default: panel_build
563
563
  });
564
564
 
565
- const tagName$1b = 'div';
565
+ const tagName$1d = 'div';
566
566
  register('wm-segmented-control', () => {
567
567
  return {
568
- pre: attrs => `<${tagName$1b} wmSegmentedControl ${getAttrMarkup(attrs)}>`,
569
- post: () => `</${tagName$1b}>`
568
+ pre: attrs => `<${tagName$1d} wmSegmentedControl ${getAttrMarkup(attrs)}>`,
569
+ post: () => `</${tagName$1d}>`
570
570
  };
571
571
  });
572
572
  var segmentedControl_build = () => { };
@@ -576,11 +576,11 @@ var segmentedControl_build$1 = /*#__PURE__*/Object.freeze({
576
576
  default: segmentedControl_build
577
577
  });
578
578
 
579
- const tagName$1a = 'li';
579
+ const tagName$1c = 'li';
580
580
  register('wm-segment-content', () => {
581
581
  return {
582
- pre: attrs => `<${tagName$1a} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
583
- post: () => `</${tagName$1a}>`
582
+ pre: attrs => `<${tagName$1c} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
583
+ post: () => `</${tagName$1c}>`
584
584
  };
585
585
  });
586
586
  var segmentContent_build = () => { };
@@ -618,19 +618,19 @@ var repeatTemplate_build$1 = /*#__PURE__*/Object.freeze({
618
618
  default: repeatTemplate_build
619
619
  });
620
620
 
621
- const tagName$19 = 'div';
621
+ const tagName$1b = 'div';
622
622
  const dataSetKey$3 = 'dataset';
623
- const idGen$i = new IDGenerator('wm_tabs_ref_');
623
+ const idGen$j = new IDGenerator('wm_tabs_ref_');
624
624
  const isDynamicTabs = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
625
625
  register('wm-tabs', () => {
626
626
  return {
627
627
  pre: (attrs, shared) => {
628
628
  // generating unique Id for the tabs
629
- const counter = idGen$i.nextUid();
629
+ const counter = idGen$j.nextUid();
630
630
  shared.set('tabs_ref', counter);
631
- return `<${tagName$19} wmTabs #${counter}="wmTabs" ${getAttrMarkup(attrs)}>`;
631
+ return `<${tagName$1b} wmTabs #${counter}="wmTabs" ${getAttrMarkup(attrs)}>`;
632
632
  },
633
- post: () => `</${tagName$19}>`,
633
+ post: () => `</${tagName$1b}>`,
634
634
  template: (node, shared) => {
635
635
  // check if the tab widget is dynamic
636
636
  if (isDynamicTabs(node)) {
@@ -661,11 +661,11 @@ var tabs_build$1 = /*#__PURE__*/Object.freeze({
661
661
  default: tabs_build
662
662
  });
663
663
 
664
- const tagName$18 = 'div';
664
+ const tagName$1a = 'div';
665
665
  register('wm-tabpane', () => {
666
666
  return {
667
- pre: attrs => `<${tagName$18} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element="true" role="tabpanel">`,
668
- post: () => `</${tagName$18}>`
667
+ pre: attrs => `<${tagName$1a} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element="true" role="tabpanel">`,
668
+ post: () => `</${tagName$1a}>`
669
669
  };
670
670
  });
671
671
  var tabPane_build = () => { };
@@ -675,11 +675,11 @@ var tabPane_build$1 = /*#__PURE__*/Object.freeze({
675
675
  default: tabPane_build
676
676
  });
677
677
 
678
- const tagName$17 = 'div';
678
+ const tagName$19 = 'div';
679
679
  register('wm-tile', () => {
680
680
  return {
681
- pre: attrs => `<${tagName$17} wmTile aria-describedby="Tile" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
682
- post: () => `</${tagName$17}>`
681
+ pre: attrs => `<${tagName$19} wmTile aria-describedby="Tile" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
682
+ post: () => `</${tagName$19}>`
683
683
  };
684
684
  });
685
685
  var tile_build = () => { };
@@ -689,11 +689,11 @@ var tile_build$1 = /*#__PURE__*/Object.freeze({
689
689
  default: tile_build
690
690
  });
691
691
 
692
- const tagName$16 = 'div';
692
+ const tagName$18 = 'div';
693
693
  register('wm-wizard', () => {
694
694
  return {
695
- pre: attrs => `<${tagName$16} wmWizard role="tablist" ${getAttrMarkup(attrs)}>`,
696
- post: () => `</${tagName$16}>`
695
+ pre: attrs => `<${tagName$18} wmWizard role="tablist" ${getAttrMarkup(attrs)}>`,
696
+ post: () => `</${tagName$18}>`
697
697
  };
698
698
  });
699
699
  var wizard_build = () => { };
@@ -703,16 +703,16 @@ var wizard_build$1 = /*#__PURE__*/Object.freeze({
703
703
  default: wizard_build
704
704
  });
705
705
 
706
- const tagName$15 = 'form';
707
- const idGen$h = new IDGenerator('wizard_step_id_');
706
+ const tagName$17 = 'form';
707
+ const idGen$i = new IDGenerator('wizard_step_id_');
708
708
  register('wm-wizardstep', () => {
709
709
  return {
710
710
  pre: attrs => {
711
- const counter = idGen$h.nextUid();
712
- return `<${tagName$15} wmWizardStep #${counter}="wmWizardStep" ${getAttrMarkup(attrs)}>
711
+ const counter = idGen$i.nextUid();
712
+ return `<${tagName$17} wmWizardStep #${counter}="wmWizardStep" ${getAttrMarkup(attrs)}>
713
713
  <ng-template [ngIf]="${counter}.isInitialized">`;
714
714
  },
715
- post: () => `</ng-template></${tagName$15}>`
715
+ post: () => `</ng-template></${tagName$17}>`
716
716
  };
717
717
  });
718
718
  var wizardStep_build = () => { };
@@ -722,15 +722,15 @@ var wizardStep_build$1 = /*#__PURE__*/Object.freeze({
722
722
  default: wizardStep_build
723
723
  });
724
724
 
725
- const tagName$14 = 'button';
726
- const idGen$g = new IDGenerator('wm_barcodescanner');
725
+ const tagName$16 = 'button';
726
+ const idGen$h = new IDGenerator('wm_barcodescanner');
727
727
  register('wm-barcodescanner', () => {
728
728
  return {
729
729
  pre: (attrs) => {
730
- const counter = idGen$g.nextUid();
731
- return `<${tagName$14} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.hint || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
730
+ const counter = idGen$h.nextUid();
731
+ return `<${tagName$16} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.hint || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
732
732
  },
733
- post: () => `</${tagName$14}>`
733
+ post: () => `</${tagName$16}>`
734
734
  };
735
735
  });
736
736
  var barcodeScanner_build = () => { };
@@ -740,15 +740,15 @@ var barcodeScanner_build$1 = /*#__PURE__*/Object.freeze({
740
740
  default: barcodeScanner_build
741
741
  });
742
742
 
743
- const tagName$13 = 'button';
744
- const idGen$f = new IDGenerator('wm_camera');
743
+ const tagName$15 = 'button';
744
+ const idGen$g = new IDGenerator('wm_camera');
745
745
  register('wm-camera', () => {
746
746
  return {
747
747
  pre: (attrs) => {
748
- const counter = idGen$f.nextUid();
749
- return `<${tagName$13} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.hint || 'Camera'" ${getAttrMarkup(attrs)}>`;
748
+ const counter = idGen$g.nextUid();
749
+ return `<${tagName$15} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.hint || 'Camera'" ${getAttrMarkup(attrs)}>`;
750
750
  },
751
- post: () => `</${tagName$13}>`
751
+ post: () => `</${tagName$15}>`
752
752
  };
753
753
  });
754
754
  var camera_build = () => { };
@@ -758,11 +758,11 @@ var camera_build$1 = /*#__PURE__*/Object.freeze({
758
758
  default: camera_build
759
759
  });
760
760
 
761
- const tagName$12 = 'div';
761
+ const tagName$14 = 'div';
762
762
  register('wm-alertdialog', () => {
763
763
  return {
764
- pre: attrs => `<${tagName$12} wmAlertDialog role="alertdialog" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
765
- post: () => `</${tagName$12}>`
764
+ pre: attrs => `<${tagName$14} wmAlertDialog role="alertdialog" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
765
+ post: () => `</${tagName$14}>`
766
766
  };
767
767
  });
768
768
  var alertDialog_build = () => { };
@@ -772,11 +772,11 @@ var alertDialog_build$1 = /*#__PURE__*/Object.freeze({
772
772
  default: alertDialog_build
773
773
  });
774
774
 
775
- const tagName$11 = 'div';
775
+ const tagName$13 = 'div';
776
776
  register('wm-confirmdialog', () => {
777
777
  return {
778
- pre: attrs => `<${tagName$11} wmConfirmDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
779
- post: () => `</${tagName$11}>`
778
+ pre: attrs => `<${tagName$13} wmConfirmDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
779
+ post: () => `</${tagName$13}>`
780
780
  };
781
781
  });
782
782
  var confirmDialog_build = () => { };
@@ -786,11 +786,11 @@ var confirmDialog_build$1 = /*#__PURE__*/Object.freeze({
786
786
  default: confirmDialog_build
787
787
  });
788
788
 
789
- const tagName$10 = 'div';
789
+ const tagName$12 = 'div';
790
790
  register('wm-dialogactions', () => {
791
791
  return {
792
- pre: attrs => `<ng-template #dialogFooter><${tagName$10} wmDialogFooter data-identfier="actions" ${getAttrMarkup(attrs)}>`,
793
- post: () => `</${tagName$10}></ng-template>`
792
+ pre: attrs => `<ng-template #dialogFooter><${tagName$12} wmDialogFooter data-identfier="actions" ${getAttrMarkup(attrs)}>`,
793
+ post: () => `</${tagName$12}></ng-template>`
794
794
  };
795
795
  });
796
796
  var dialogFooter_build = () => { };
@@ -800,11 +800,11 @@ var dialogFooter_build$1 = /*#__PURE__*/Object.freeze({
800
800
  default: dialogFooter_build
801
801
  });
802
802
 
803
- const tagName$$ = 'div';
803
+ const tagName$11 = 'div';
804
804
  register('wm-dialog', () => {
805
805
  return {
806
- pre: attrs => `<${tagName$$} wmDialog ${getAttrMarkup(attrs)} aria-modal="true" role="dialog" wm-navigable-element="true"><ng-template #dialogBody>`,
807
- post: () => `</ng-template></${tagName$$}>`
806
+ pre: attrs => `<${tagName$11} wmDialog ${getAttrMarkup(attrs)} aria-modal="true" role="dialog" wm-navigable-element="true"><ng-template #dialogBody>`,
807
+ post: () => `</ng-template></${tagName$11}>`
808
808
  };
809
809
  });
810
810
  // Todo:vinay remove wm-view in migration
@@ -821,11 +821,11 @@ var dialog_build$1 = /*#__PURE__*/Object.freeze({
821
821
  default: dialog_build
822
822
  });
823
823
 
824
- const tagName$_ = 'div';
824
+ const tagName$10 = 'div';
825
825
  register('wm-iframedialog', () => {
826
826
  return {
827
- pre: attrs => `<${tagName$_} wmIframeDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
828
- post: () => `</${tagName$_}>`
827
+ pre: attrs => `<${tagName$10} wmIframeDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
828
+ post: () => `</${tagName$10}>`
829
829
  };
830
830
  });
831
831
  var iframeDialog_build = () => { };
@@ -835,11 +835,11 @@ var iframeDialog_build$1 = /*#__PURE__*/Object.freeze({
835
835
  default: iframeDialog_build
836
836
  });
837
837
 
838
- const tagName$Z = 'div';
838
+ const tagName$$ = 'div';
839
839
  register('wm-logindialog', () => {
840
840
  return {
841
- pre: attrs => `<${tagName$Z} wmDialog wmLoginDialog ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction" wm-navigable-element="true"><ng-template #dialogBody>`,
842
- post: () => `</ng-template></${tagName$Z}>`
841
+ pre: attrs => `<${tagName$$} wmDialog wmLoginDialog ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction" wm-navigable-element="true"><ng-template #dialogBody>`,
842
+ post: () => `</ng-template></${tagName$$}>`
843
843
  };
844
844
  });
845
845
  var loginDialog_build = () => { };
@@ -849,7 +849,7 @@ var loginDialog_build$1 = /*#__PURE__*/Object.freeze({
849
849
  default: loginDialog_build
850
850
  });
851
851
 
852
- const tagName$Y = 'div';
852
+ const tagName$_ = 'div';
853
853
  register('wm-pagedialog', () => {
854
854
  return {
855
855
  pre: (attrs, shared) => {
@@ -875,14 +875,14 @@ register('wm-pagedialog', () => {
875
875
  shared.set('hasPartialContent', true);
876
876
  containerMarkup += `<ng-template><div wmContainer #partial partialContainer ${contentMarkup} width="100%" height="100%" ${onLoadEvtMarkup}>`;
877
877
  }
878
- return `<${tagName$Y} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;
878
+ return `<${tagName$_} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;
879
879
  },
880
880
  post: (attrs, shared) => {
881
881
  let preContent = '';
882
882
  if (shared.get('hasPartialContent')) {
883
883
  preContent = `</div></ng-template>`;
884
884
  }
885
- return `${preContent}</${tagName$Y}>`;
885
+ return `${preContent}</${tagName$_}>`;
886
886
  }
887
887
  };
888
888
  });
@@ -961,8 +961,8 @@ const getEditModeWidget = colDef => {
961
961
  return (fieldTypeWidgetTypeMap[colDef.type] && fieldTypeWidgetTypeMap[colDef.type][0]) || FormWidgetType.TEXT;
962
962
  };
963
963
 
964
- const tagName$X = 'div';
965
- const idGen$e = new IDGenerator('formfield_');
964
+ const tagName$Z = 'div';
965
+ const idGen$f = new IDGenerator('formfield_');
966
966
  const getEventsTemplate = (attrs) => {
967
967
  const eventAttrs = new Map();
968
968
  if (!attrs.has('focus.event')) {
@@ -1013,12 +1013,13 @@ const setDefaultPlaceholder = (attrs, widgetType, index) => {
1013
1013
  };
1014
1014
  const getWidgetTemplate = (attrs, options) => {
1015
1015
  const name = attrs.get('name');
1016
+ const customWidgetName = attrs.get('widgetname');
1016
1017
  const fieldName = (attrs.get('key') || name || '').trim();
1017
1018
  const formControl = options.isMaxWidget ? `formControlName="${fieldName}_max"` : (options.isInList ? `[formControlName]="${options.counter}._fieldName"` : `formControlName="${fieldName}"`);
1018
1019
  const tmplRef = options.isMaxWidget ? `#formWidgetMax` : `#formWidget`;
1019
1020
  const widgetName = name ? (options.isMaxWidget ? `name="${name}_formWidgetMax"` : `name="${name}_formWidget"`) : '';
1020
1021
  const conditionalClass = `[ngClass]="${attrs.get('ngclass')}"`;
1021
- const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName}`;
1022
+ const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName} ${customWidgetName ? `widgetname=${customWidgetName}` : ''}`;
1022
1023
  return getFormWidgetTemplate(options.widgetType, defaultTmpl, attrs, { counter: options.counter, pCounter: options.pCounter });
1023
1024
  };
1024
1025
  const getTemplate = (attrs, widgetType, eventsTmpl, counter, pCounter, isInList) => {
@@ -1062,7 +1063,7 @@ const registerFormField = (isFormField) => {
1062
1063
  return {
1063
1064
  requires: ['wm-form', 'wm-liveform', 'wm-livefilter', 'wm-list'],
1064
1065
  pre: (attrs, shared, parentForm, parentLiveForm, parentFilter, parentList) => {
1065
- const counter = idGen$e.nextUid();
1066
+ const counter = idGen$f.nextUid();
1066
1067
  const parent = parentForm || parentLiveForm || parentFilter;
1067
1068
  const pCounter = (parent && parent.get('form_reference')) || 'form';
1068
1069
  const widgetType = attrs.get('widget') || FormWidgetType.TEXT;
@@ -1085,7 +1086,7 @@ const registerFormField = (isFormField) => {
1085
1086
  else {
1086
1087
  setDefaultPlaceholder(attrs, widgetType, 2);
1087
1088
  }
1088
- return `<${tagName$X} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField wmCaptionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${getFormMarkupAttr(attrs)}>
1089
+ return `<${tagName$Z} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField wmCaptionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${getFormMarkupAttr(attrs)}>
1089
1090
  <div class="live-field form-group app-composite-widget clearfix caption-{{${pCounter}.captionposition}}" widget="${widgetType}">
1090
1091
  <label [hidden]="!${counter}.displayname" class="app-label control-label formfield-label {{${pCounter}._captionClass}}"
1091
1092
  [ngStyle]="{width: ${pCounter}.captionsize}" [ngClass]="{'text-danger': ${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode,
@@ -1101,7 +1102,7 @@ const registerFormField = (isFormField) => {
1101
1102
  </div>
1102
1103
  </div>`;
1103
1104
  },
1104
- post: () => `</${tagName$X}>`,
1105
+ post: () => `</${tagName$Z}>`,
1105
1106
  provide: (attrs, shared) => {
1106
1107
  const provider = new Map();
1107
1108
  provider.set('form_reference', shared.get('counter'));
@@ -1123,11 +1124,11 @@ var formField_build$1 = /*#__PURE__*/Object.freeze({
1123
1124
  default: formField_build
1124
1125
  });
1125
1126
 
1126
- const tagName$W = 'div';
1127
+ const tagName$Y = 'div';
1127
1128
  const registerAction = (tmpl) => {
1128
1129
  return {
1129
- pre: attrs => `<${tagName$W} wmFormAction name="${attrs.get('name') || attrs.get('key')}" ${getAttrMarkup(attrs)} ${tmpl}>`,
1130
- post: () => `</${tagName$W}>`
1130
+ pre: attrs => `<${tagName$Y} wmFormAction name="${attrs.get('name') || attrs.get('key')}" ${getAttrMarkup(attrs)} ${tmpl}>`,
1131
+ post: () => `</${tagName$Y}>`
1131
1132
  };
1132
1133
  };
1133
1134
  register('wm-form-action', registerAction.bind(this, ''));
@@ -1139,8 +1140,8 @@ var formAction_build$1 = /*#__PURE__*/Object.freeze({
1139
1140
  default: formAction_build
1140
1141
  });
1141
1142
 
1142
- const tagName$V = 'form';
1143
- const idGen$d = new IDGenerator('form_');
1143
+ const tagName$X = 'form';
1144
+ const idGen$e = new IDGenerator('form_');
1144
1145
  const formWidgets$1 = new Set([
1145
1146
  'wm-text',
1146
1147
  'wm-textarea',
@@ -1208,7 +1209,7 @@ const buildTask = (directiveAttr = '') => {
1208
1209
  let tmpl;
1209
1210
  let dialogId;
1210
1211
  const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';
1211
- const counter = idGen$d.nextUid();
1212
+ const counter = idGen$e.nextUid();
1212
1213
  const dependsOn = attrs.get('dependson') ? `dependson="${attrs.get('dependson')}"` : '';
1213
1214
  if (dependsOn) {
1214
1215
  attrs.set('dependsontable', attrs.get('dependson'));
@@ -1216,7 +1217,7 @@ const buildTask = (directiveAttr = '') => {
1216
1217
  const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';
1217
1218
  const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];
1218
1219
  attrs.delete('dependson');
1219
- const liveFormTmpl = `<${tagName$V} wmForm data-role="${role}" ${directiveAttr} #${counter} ngNativeValidate [formGroup]="${counter}.ngform" [noValidate]="${counter}.validationtype !== 'html'"
1220
+ const liveFormTmpl = `<${tagName$X} wmForm data-role="${role}" ${directiveAttr} #${counter} ngNativeValidate [formGroup]="${counter}.ngform" [noValidate]="${counter}.validationtype !== 'html'"
1220
1221
  class="${classProp}" [class]="${counter}.captionAlignClass" [autocomplete]="${counter}.autocomplete ? 'on' : 'off'" captionposition=${attrs.get('captionposition')}`;
1221
1222
  attrs.set('numberOfFields', `${numberOfFields}`);
1222
1223
  shared.set('counter', counter);
@@ -1269,12 +1270,12 @@ const buildTask = (directiveAttr = '') => {
1269
1270
  return '</form></ng-template></div></div>';
1270
1271
  }
1271
1272
  if (attrs.get('formlayout') === 'page') {
1272
- return `</div></${tagName$V}>`;
1273
+ return `</div></${tagName$X}>`;
1273
1274
  }
1274
1275
  if (attrs.get('dependsontable')) {
1275
- return `</${tagName$V}></div>`;
1276
+ return `</${tagName$X}></div>`;
1276
1277
  }
1277
- return `</${tagName$V}>`;
1278
+ return `</${tagName$X}>`;
1278
1279
  },
1279
1280
  provide: (attrs, shared) => {
1280
1281
  const provider = new Map();
@@ -1293,14 +1294,14 @@ var form_build$1 = /*#__PURE__*/Object.freeze({
1293
1294
  default: form_build
1294
1295
  });
1295
1296
 
1296
- const tagName$U = 'div';
1297
+ const tagName$W = 'div';
1297
1298
  register('wm-calendar', () => {
1298
1299
  return {
1299
1300
  pre: (attrs) => {
1300
1301
  let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';
1301
- return `<${tagName$U} wmCalendar redrawable style="width:100%" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
1302
+ return `<${tagName$W} wmCalendar redrawable style="width:100%" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
1302
1303
  },
1303
- post: () => `</${tagName$U}>`
1304
+ post: () => `</${tagName$W}>`
1304
1305
  };
1305
1306
  });
1306
1307
  var calendar_build = () => { };
@@ -1310,11 +1311,11 @@ var calendar_build$1 = /*#__PURE__*/Object.freeze({
1310
1311
  default: calendar_build
1311
1312
  });
1312
1313
 
1313
- const tagName$T = 'ul';
1314
+ const tagName$V = 'ul';
1314
1315
  register('wm-chips', () => {
1315
1316
  return {
1316
- pre: attrs => `<${tagName$T} wmChips role="listbox" ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
1317
- post: () => `</${tagName$T}>`
1317
+ pre: attrs => `<${tagName$V} wmChips role="listbox" ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
1318
+ post: () => `</${tagName$V}>`
1318
1319
  };
1319
1320
  });
1320
1321
  var chips_build = () => { };
@@ -1324,11 +1325,11 @@ var chips_build$1 = /*#__PURE__*/Object.freeze({
1324
1325
  default: chips_build
1325
1326
  });
1326
1327
 
1327
- const tagName$S = 'div';
1328
+ const tagName$U = 'div';
1328
1329
  register('wm-colorpicker', () => {
1329
1330
  return {
1330
- pre: attrs => `<${tagName$S} wmColorPicker ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1331
- post: () => `</${tagName$S}>`
1331
+ pre: attrs => `<${tagName$U} wmColorPicker ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1332
+ post: () => `</${tagName$U}>`
1332
1333
  };
1333
1334
  });
1334
1335
  var colorPicker_build = () => { };
@@ -1338,11 +1339,11 @@ var colorPicker_build$1 = /*#__PURE__*/Object.freeze({
1338
1339
  default: colorPicker_build
1339
1340
  });
1340
1341
 
1341
- const tagName$R = 'div';
1342
+ const tagName$T = 'div';
1342
1343
  register('wm-currency', () => {
1343
1344
  return {
1344
- pre: attrs => `<${tagName$R} wmCurrency ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1345
- post: () => `</${tagName$R}>`
1345
+ pre: attrs => `<${tagName$T} wmCurrency ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1346
+ post: () => `</${tagName$T}>`
1346
1347
  };
1347
1348
  });
1348
1349
  var currency_build = () => { };
@@ -1352,11 +1353,11 @@ var currency_build$1 = /*#__PURE__*/Object.freeze({
1352
1353
  default: currency_build
1353
1354
  });
1354
1355
 
1355
- const tagName$Q = 'div';
1356
+ const tagName$S = 'div';
1356
1357
  register('wm-buttongroup', () => {
1357
1358
  return {
1358
- pre: attrs => `<${tagName$Q} wmButtonGroup role="group" aria-labelledby="button group" ${getAttrMarkup(attrs)}>`,
1359
- post: () => `</${tagName$Q}>`
1359
+ pre: attrs => `<${tagName$S} wmButtonGroup role="group" aria-labelledby="button group" ${getAttrMarkup(attrs)}>`,
1360
+ post: () => `</${tagName$S}>`
1360
1361
  };
1361
1362
  });
1362
1363
  var buttonGroup_build = () => { };
@@ -1366,15 +1367,15 @@ var buttonGroup_build$1 = /*#__PURE__*/Object.freeze({
1366
1367
  default: buttonGroup_build
1367
1368
  });
1368
1369
 
1369
- const tagName$P = 'button';
1370
- const idGen$c = new IDGenerator('wm_button');
1370
+ const tagName$R = 'button';
1371
+ const idGen$d = new IDGenerator('wm_button');
1371
1372
  register('wm-button', () => {
1372
1373
  return {
1373
1374
  pre: (attrs) => {
1374
- const counter = idGen$c.nextUid();
1375
- return `<${tagName$P} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.hint || ${counter}.caption || null" ${getAttrMarkup(attrs)}>`;
1375
+ const counter = idGen$d.nextUid();
1376
+ return `<${tagName$R} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.hint || ${counter}.caption || null" ${getAttrMarkup(attrs)}>`;
1376
1377
  },
1377
- post: () => `</${tagName$P}>`
1378
+ post: () => `</${tagName$R}>`
1378
1379
  };
1379
1380
  });
1380
1381
  var button_build = () => { };
@@ -1384,11 +1385,11 @@ var button_build$1 = /*#__PURE__*/Object.freeze({
1384
1385
  default: button_build
1385
1386
  });
1386
1387
 
1387
- const tagName$O = 'div';
1388
+ const tagName$Q = 'div';
1388
1389
  register('wm-checkbox', () => {
1389
1390
  return {
1390
- pre: attrs => `<${tagName$O} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1391
- post: () => `</${tagName$O}>`
1391
+ pre: attrs => `<${tagName$Q} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1392
+ post: () => `</${tagName$Q}>`
1392
1393
  };
1393
1394
  });
1394
1395
  var checkbox_build = () => { };
@@ -1398,11 +1399,11 @@ var checkbox_build$1 = /*#__PURE__*/Object.freeze({
1398
1399
  default: checkbox_build
1399
1400
  });
1400
1401
 
1401
- const tagName$N = 'ul';
1402
+ const tagName$P = 'ul';
1402
1403
  register('wm-checkboxset', () => {
1403
1404
  return {
1404
- pre: attrs => `<${tagName$N} role="group" wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1405
- post: () => `</${tagName$N}>`
1405
+ pre: attrs => `<${tagName$P} role="group" wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1406
+ post: () => `</${tagName$P}>`
1406
1407
  };
1407
1408
  });
1408
1409
  var checkboxset_build = () => { };
@@ -1412,11 +1413,11 @@ var checkboxset_build$1 = /*#__PURE__*/Object.freeze({
1412
1413
  default: checkboxset_build
1413
1414
  });
1414
1415
 
1415
- const tagName$M = 'div';
1416
+ const tagName$O = 'div';
1416
1417
  register('wm-composite', () => {
1417
1418
  return {
1418
- pre: attrs => `<${tagName$M} wmComposite wmCaptionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,
1419
- post: () => `</${tagName$M}${clearChildAttrs()}>`
1419
+ pre: attrs => `<${tagName$O} wmComposite wmCaptionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,
1420
+ post: () => `</${tagName$O}${clearChildAttrs()}>`
1420
1421
  };
1421
1422
  });
1422
1423
  var composite_build = () => { };
@@ -1426,11 +1427,11 @@ var composite_build$1 = /*#__PURE__*/Object.freeze({
1426
1427
  default: composite_build
1427
1428
  });
1428
1429
 
1429
- const tagName$L = 'div';
1430
+ const tagName$N = 'div';
1430
1431
  register('wm-number', () => {
1431
1432
  return {
1432
- pre: attrs => `<${tagName$L} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1433
- post: () => `</${tagName$L}>`
1433
+ pre: attrs => `<${tagName$N} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1434
+ post: () => `</${tagName$N}>`
1434
1435
  };
1435
1436
  });
1436
1437
  var number_build = () => { };
@@ -1440,11 +1441,11 @@ var number_build$1 = /*#__PURE__*/Object.freeze({
1440
1441
  default: number_build
1441
1442
  });
1442
1443
 
1443
- const tagName$K = 'ul';
1444
+ const tagName$M = 'ul';
1444
1445
  register('wm-radioset', () => {
1445
1446
  return {
1446
- pre: attrs => `<${tagName$K} role="radiogroup" wmRadioset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1447
- post: () => `</${tagName$K}>`
1447
+ pre: attrs => `<${tagName$M} role="radiogroup" wmRadioset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1448
+ post: () => `</${tagName$M}>`
1448
1449
  };
1449
1450
  });
1450
1451
  var radioset_build = () => { };
@@ -1454,11 +1455,11 @@ var radioset_build$1 = /*#__PURE__*/Object.freeze({
1454
1455
  default: radioset_build
1455
1456
  });
1456
1457
 
1457
- const tagName$J = 'wm-select';
1458
+ const tagName$L = 'wm-select';
1458
1459
  register('wm-select', () => {
1459
1460
  return {
1460
- pre: attrs => `<${tagName$J} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1461
- post: () => `</${tagName$J}>`
1461
+ pre: attrs => `<${tagName$L} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1462
+ post: () => `</${tagName$L}>`
1462
1463
  };
1463
1464
  });
1464
1465
  var select_build = () => { };
@@ -1468,15 +1469,15 @@ var select_build$1 = /*#__PURE__*/Object.freeze({
1468
1469
  default: select_build
1469
1470
  });
1470
1471
 
1471
- const tagName$I = 'div';
1472
- const idGen$b = new IDGenerator('wm_switch');
1472
+ const tagName$K = 'div';
1473
+ const idGen$c = new IDGenerator('wm_switch');
1473
1474
  register('wm-switch', () => {
1474
1475
  return {
1475
1476
  pre: (attrs) => {
1476
- const counter = idGen$b.nextUid();
1477
- return `<${tagName$I} wmSwitch #${counter}="wmSwitch" [attr.aria-label]="${counter}.hint || 'Switch button'" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;
1477
+ const counter = idGen$c.nextUid();
1478
+ return `<${tagName$K} wmSwitch #${counter}="wmSwitch" [attr.aria-label]="${counter}.hint || 'Switch button'" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;
1478
1479
  },
1479
- post: () => `</${tagName$I}>`
1480
+ post: () => `</${tagName$K}>`
1480
1481
  };
1481
1482
  });
1482
1483
  var switch_build = () => { };
@@ -1486,11 +1487,11 @@ var switch_build$1 = /*#__PURE__*/Object.freeze({
1486
1487
  default: switch_build
1487
1488
  });
1488
1489
 
1489
- const tagName$H = 'wm-input';
1490
+ const tagName$J = 'wm-input';
1490
1491
  register('wm-text', () => {
1491
1492
  return {
1492
- pre: attrs => `<${tagName$H} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1493
- post: () => `</${tagName$H}>`
1493
+ pre: attrs => `<${tagName$J} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1494
+ post: () => `</${tagName$J}>`
1494
1495
  };
1495
1496
  });
1496
1497
  var text_build = () => { };
@@ -1500,11 +1501,11 @@ var text_build$1 = /*#__PURE__*/Object.freeze({
1500
1501
  default: text_build
1501
1502
  });
1502
1503
 
1503
- const tagName$G = 'wm-textarea';
1504
+ const tagName$I = 'wm-textarea';
1504
1505
  register('wm-textarea', () => {
1505
1506
  return {
1506
- pre: attrs => `<${tagName$G} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1507
- post: () => `</${tagName$G}>`
1507
+ pre: attrs => `<${tagName$I} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1508
+ post: () => `</${tagName$I}>`
1508
1509
  };
1509
1510
  });
1510
1511
  var textarea_build = () => { };
@@ -1514,11 +1515,11 @@ var textarea_build$1 = /*#__PURE__*/Object.freeze({
1514
1515
  default: textarea_build
1515
1516
  });
1516
1517
 
1517
- const tagName$F = 'div';
1518
+ const tagName$H = 'div';
1518
1519
  register('wm-datetime', () => {
1519
1520
  return {
1520
- pre: attrs => `<${tagName$F} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1521
- post: () => `</${tagName$F}>`
1521
+ pre: attrs => `<${tagName$H} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1522
+ post: () => `</${tagName$H}>`
1522
1523
  };
1523
1524
  });
1524
1525
  var dateTime_build = () => { };
@@ -1528,11 +1529,11 @@ var dateTime_build$1 = /*#__PURE__*/Object.freeze({
1528
1529
  default: dateTime_build
1529
1530
  });
1530
1531
 
1531
- const tagName$E = 'div';
1532
+ const tagName$G = 'div';
1532
1533
  register('wm-date', () => {
1533
1534
  return {
1534
- pre: attrs => `<${tagName$E} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1535
- post: () => `</${tagName$E}>`
1535
+ pre: attrs => `<${tagName$G} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1536
+ post: () => `</${tagName$G}>`
1536
1537
  };
1537
1538
  });
1538
1539
  var date_build = () => { };
@@ -1542,11 +1543,11 @@ var date_build$1 = /*#__PURE__*/Object.freeze({
1542
1543
  default: date_build
1543
1544
  });
1544
1545
 
1545
- const tagName$D = 'div';
1546
+ const tagName$F = 'div';
1546
1547
  register('wm-time', () => {
1547
1548
  return {
1548
- pre: attrs => `<${tagName$D} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1549
- post: () => `</${tagName$D}>`
1549
+ pre: attrs => `<${tagName$F} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
1550
+ post: () => `</${tagName$F}>`
1550
1551
  };
1551
1552
  });
1552
1553
  var time_build = () => { };
@@ -1556,7 +1557,7 @@ var time_build$1 = /*#__PURE__*/Object.freeze({
1556
1557
  default: time_build
1557
1558
  });
1558
1559
 
1559
- const tagName$C = 'div';
1560
+ const tagName$E = 'div';
1560
1561
  register('wm-fileupload', () => {
1561
1562
  return {
1562
1563
  pre: attrs => {
@@ -1564,9 +1565,9 @@ register('wm-fileupload', () => {
1564
1565
  const onSelectBinding = getDataSource(attrs.get('select.event'));
1565
1566
  attrs.set('datasource.bind', onSelectBinding);
1566
1567
  }
1567
- return `<${tagName$C} wmFileUpload ${getAttrMarkup(attrs)} role="input">`;
1568
+ return `<${tagName$E} wmFileUpload ${getAttrMarkup(attrs)} role="input">`;
1568
1569
  },
1569
- post: () => `</${tagName$C}>`
1570
+ post: () => `</${tagName$E}>`
1570
1571
  };
1571
1572
  });
1572
1573
  var fileUpload_build = () => { };
@@ -1576,11 +1577,11 @@ var fileUpload_build$1 = /*#__PURE__*/Object.freeze({
1576
1577
  default: fileUpload_build
1577
1578
  });
1578
1579
 
1579
- const tagName$B = 'div';
1580
+ const tagName$D = 'div';
1580
1581
  register('wm-rating', () => {
1581
1582
  return {
1582
- pre: attrs => `<${tagName$B} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
1583
- post: () => `</${tagName$B}>`
1583
+ pre: attrs => `<${tagName$D} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
1584
+ post: () => `</${tagName$D}>`
1584
1585
  };
1585
1586
  });
1586
1587
  var rating_build = () => { };
@@ -1590,11 +1591,11 @@ var rating_build$1 = /*#__PURE__*/Object.freeze({
1590
1591
  default: rating_build
1591
1592
  });
1592
1593
 
1593
- const tagName$A = 'div';
1594
+ const tagName$C = 'div';
1594
1595
  register('wm-slider', () => {
1595
1596
  return {
1596
- pre: attrs => `<${tagName$A} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
1597
- post: () => `</${tagName$A}>`
1597
+ pre: attrs => `<${tagName$C} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
1598
+ post: () => `</${tagName$C}>`
1598
1599
  };
1599
1600
  });
1600
1601
  var slider_build = () => { };
@@ -1605,7 +1606,7 @@ var slider_build$1 = /*#__PURE__*/Object.freeze({
1605
1606
  });
1606
1607
 
1607
1608
  const wmlistTag = 'wm-list';
1608
- const tagName$z = 'div';
1609
+ const tagName$B = 'div';
1609
1610
  const dataSetKey$2 = 'dataset';
1610
1611
  function copyAttribute$1(from, fromAttrName, to, toAttrName) {
1611
1612
  const fromAttr = from.attrs.find(a => a.name === fromAttrName);
@@ -1653,8 +1654,8 @@ register('wm-media-list', () => {
1653
1654
  copyAttribute$1(template, 'height', node, 'thumbnailheight');
1654
1655
  }
1655
1656
  },
1656
- pre: attrs => `<${tagName$z} wmMediaList ${getAttrMarkup(attrs)}>`,
1657
- post: () => `</${tagName$z}>`
1657
+ pre: attrs => `<${tagName$B} wmMediaList ${getAttrMarkup(attrs)}>`,
1658
+ post: () => `</${tagName$B}>`
1658
1659
  };
1659
1660
  });
1660
1661
  var mediaList_build = () => { };
@@ -1664,11 +1665,11 @@ var mediaList_build$1 = /*#__PURE__*/Object.freeze({
1664
1665
  default: mediaList_build
1665
1666
  });
1666
1667
 
1667
- const tagName$y = 'ng-template';
1668
+ const tagName$A = 'ng-template';
1668
1669
  register('wm-media-template', () => {
1669
1670
  return {
1670
- pre: () => `<${tagName$y} #mediaListTemplate let-item="item" let-index="index">`,
1671
- post: () => `</${tagName$y}>`
1671
+ pre: () => `<${tagName$A} #mediaListTemplate let-item="item" let-index="index">`,
1672
+ post: () => `</${tagName$A}>`
1672
1673
  };
1673
1674
  });
1674
1675
  var mediaListItem_build = () => { };
@@ -1752,16 +1753,16 @@ var list_build$1 = /*#__PURE__*/Object.freeze({
1752
1753
  default: list_build
1753
1754
  });
1754
1755
 
1755
- const tagName$x = 'div';
1756
- const idGen$a = new IDGenerator('liveform_dialog_id_');
1756
+ const tagName$z = 'div';
1757
+ const idGen$b = new IDGenerator('liveform_dialog_id_');
1757
1758
  register('wm-livetable', () => {
1758
1759
  return {
1759
1760
  pre: (attrs, shared) => {
1760
- const counter = idGen$a.nextUid();
1761
+ const counter = idGen$b.nextUid();
1761
1762
  shared.set('counter', counter);
1762
- return `<${tagName$x} wmLiveTable ${getAttrMarkup(attrs)} dialogid="${counter}">`;
1763
+ return `<${tagName$z} wmLiveTable ${getAttrMarkup(attrs)} dialogid="${counter}">`;
1763
1764
  },
1764
- post: () => `</${tagName$x}>`,
1765
+ post: () => `</${tagName$z}>`,
1765
1766
  provide: (attrs, shared) => {
1766
1767
  const provider = new Map();
1767
1768
  provider.set('liveform_dialog_id', shared.get('counter'));
@@ -1776,15 +1777,15 @@ var liveTable_build$1 = /*#__PURE__*/Object.freeze({
1776
1777
  default: liveTable_build
1777
1778
  });
1778
1779
 
1779
- const tagName$w = 'p';
1780
- const idGen$9 = new IDGenerator('wm_message');
1780
+ const tagName$y = 'p';
1781
+ const idGen$a = new IDGenerator('wm_message');
1781
1782
  register('wm-message', () => {
1782
1783
  return {
1783
1784
  pre: (attrs) => {
1784
- const counter = idGen$9.nextUid();
1785
- return `<${tagName$w} wmMessage tabindex="0" #${counter}="wmMessage" ${getAttrMarkup(attrs)}>`;
1785
+ const counter = idGen$a.nextUid();
1786
+ return `<${tagName$y} wmMessage tabindex="0" #${counter}="wmMessage" ${getAttrMarkup(attrs)}>`;
1786
1787
  },
1787
- post: () => `</${tagName$w}>`
1788
+ post: () => `</${tagName$y}>`
1788
1789
  };
1789
1790
  });
1790
1791
  var message_build = () => { };
@@ -1794,11 +1795,11 @@ var message_build$1 = /*#__PURE__*/Object.freeze({
1794
1795
  default: message_build
1795
1796
  });
1796
1797
 
1797
- const tagName$v = 'ol';
1798
+ const tagName$x = 'ol';
1798
1799
  register('wm-breadcrumb', () => {
1799
1800
  return {
1800
- pre: attrs => `<${tagName$v} wmBreadcrumb ${getAttrMarkup(attrs)}>`,
1801
- post: () => `</${tagName$v}>`
1801
+ pre: attrs => `<${tagName$x} wmBreadcrumb ${getAttrMarkup(attrs)}>`,
1802
+ post: () => `</${tagName$x}>`
1802
1803
  };
1803
1804
  });
1804
1805
  var breadcrumb_build = () => { };
@@ -1808,7 +1809,7 @@ var breadcrumb_build$1 = /*#__PURE__*/Object.freeze({
1808
1809
  default: breadcrumb_build
1809
1810
  });
1810
1811
 
1811
- const tagName$u = 'div';
1812
+ const tagName$w = 'div';
1812
1813
  register('wm-menu', () => {
1813
1814
  return {
1814
1815
  pre: attrs => {
@@ -1823,13 +1824,13 @@ register('wm-menu', () => {
1823
1824
  else {
1824
1825
  styleBinding = `[ngStyle]="{'width': '${menuWidth}px'}"`;
1825
1826
  }
1826
- return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
1827
+ return `<${tagName$w} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
1827
1828
  }
1828
1829
  else {
1829
- return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)}>`;
1830
+ return `<${tagName$w} wmMenu dropdown ${getAttrMarkup(attrs)}>`;
1830
1831
  }
1831
1832
  },
1832
- post: () => `</${tagName$u}>`
1833
+ post: () => `</${tagName$w}>`
1833
1834
  };
1834
1835
  });
1835
1836
  var menu_build = () => { };
@@ -1839,11 +1840,11 @@ var menu_build$1 = /*#__PURE__*/Object.freeze({
1839
1840
  default: menu_build
1840
1841
  });
1841
1842
 
1842
- const tagName$t = 'li';
1843
+ const tagName$v = 'li';
1843
1844
  register('wm-nav-item', () => {
1844
1845
  return {
1845
- pre: attrs => `<${tagName$t} wmNavItem role="listitem" ${getAttrMarkup(attrs)}>`,
1846
- post: () => `</${tagName$t}>`
1846
+ pre: attrs => `<${tagName$v} wmNavItem role="listitem" ${getAttrMarkup(attrs)}>`,
1847
+ post: () => `</${tagName$v}>`
1847
1848
  };
1848
1849
  });
1849
1850
  var navItem_build = () => { };
@@ -1853,11 +1854,11 @@ var navItem_build$1 = /*#__PURE__*/Object.freeze({
1853
1854
  default: navItem_build
1854
1855
  });
1855
1856
 
1856
- const tagName$s = 'ul';
1857
+ const tagName$u = 'ul';
1857
1858
  register('wm-nav', () => {
1858
1859
  return {
1859
- pre: attrs => `<${tagName$s} wmNav data-element-type="wmNav" data-role="page-header" role="list" ${getAttrMarkup(attrs)}>`,
1860
- post: () => `</${tagName$s}>`
1860
+ pre: attrs => `<${tagName$u} wmNav data-element-type="wmNav" data-role="page-header" role="list" ${getAttrMarkup(attrs)}>`,
1861
+ post: () => `</${tagName$u}>`
1861
1862
  };
1862
1863
  });
1863
1864
  var nav_build = () => { };
@@ -1867,11 +1868,11 @@ var nav_build$1 = /*#__PURE__*/Object.freeze({
1867
1868
  default: nav_build
1868
1869
  });
1869
1870
 
1870
- const tagName$r = 'nav';
1871
+ const tagName$t = 'nav';
1871
1872
  register('wm-navbar', () => {
1872
1873
  return {
1873
- pre: attrs => `<${tagName$r} wmNavbar data-element-type="wmNavbar" role="navigation" ${getAttrMarkup(attrs)}>`,
1874
- post: () => `</${tagName$r}>`
1874
+ pre: attrs => `<${tagName$t} wmNavbar data-element-type="wmNavbar" role="navigation" ${getAttrMarkup(attrs)}>`,
1875
+ post: () => `</${tagName$t}>`
1875
1876
  };
1876
1877
  });
1877
1878
  var navbar_build = () => { };
@@ -1881,7 +1882,7 @@ var navbar_build$1 = /*#__PURE__*/Object.freeze({
1881
1882
  default: navbar_build
1882
1883
  });
1883
1884
 
1884
- const tagName$q = 'wm-popover';
1885
+ const tagName$s = 'wm-popover';
1885
1886
  register('wm-popover', () => {
1886
1887
  return {
1887
1888
  requires: ['wm-table'],
@@ -1901,7 +1902,7 @@ register('wm-popover', () => {
1901
1902
  popoverTemplate = `<div wmContainer #partial partialContainer ${contentMarkup}>`;
1902
1903
  shared.set('hasPopoverContent', true);
1903
1904
  }
1904
- let markup = `<${tagName$q} wmPopover ${getAttrMarkup(attrs)}>`;
1905
+ let markup = `<${tagName$s} wmPopover ${getAttrMarkup(attrs)}>`;
1905
1906
  const contextAttrs = table ? `let-row="row"` : ``;
1906
1907
  markup += `<ng-template ${contextAttrs}><div tabindex="0" class="popover-start sr-only" aria-label="">popover content start</div>`;
1907
1908
  // todo keyboard navigation - tab
@@ -1915,7 +1916,7 @@ register('wm-popover', () => {
1915
1916
  if (shared.get('hasPopoverContent')) {
1916
1917
  markup += `</div>`;
1917
1918
  }
1918
- return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$q}>`;
1919
+ return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$s}>`;
1919
1920
  }
1920
1921
  };
1921
1922
  });
@@ -1926,16 +1927,16 @@ var popover_build$1 = /*#__PURE__*/Object.freeze({
1926
1927
  default: popover_build
1927
1928
  });
1928
1929
 
1929
- const tagName$p = 'div';
1930
+ const tagName$r = 'div';
1930
1931
  const findChild = (node, childName) => {
1931
1932
  const child = node && node.children.find(e => (e instanceof Element && e.name === childName));
1932
1933
  return child;
1933
1934
  };
1934
- const createElement$3 = name => {
1935
- return new Element(name, [], [], noSpan$3, noSpan$3, noSpan$3);
1935
+ const createElement$4 = name => {
1936
+ return new Element(name, [], [], noSpan$4, noSpan$4, noSpan$4);
1936
1937
  };
1937
- const addAtrribute$3 = (node, name, value) => {
1938
- const attr = new Attribute(name, value, noSpan$3, noSpan$3, noSpan$3, undefined, undefined);
1938
+ const addAtrribute$4 = (node, name, value) => {
1939
+ const attr = new Attribute(name, value, noSpan$4, noSpan$4, noSpan$4, undefined, undefined);
1939
1940
  node.attrs.push(attr);
1940
1941
  };
1941
1942
  const getElementNode = (name, node) => {
@@ -1956,8 +1957,8 @@ const getElementNode = (name, node) => {
1956
1957
  });
1957
1958
  return elementNode;
1958
1959
  };
1959
- const noSpan$3 = {};
1960
- const idGen$8 = new IDGenerator('wm_page');
1960
+ const noSpan$4 = {};
1961
+ const idGen$9 = new IDGenerator('wm_page');
1961
1962
  register('wm-page', () => {
1962
1963
  return {
1963
1964
  template: (node) => {
@@ -1966,24 +1967,24 @@ register('wm-page', () => {
1966
1967
  pageContentNode = getElementNode('wm-page-content', getElementNode('wm-content', node));
1967
1968
  }
1968
1969
  if (pageContentNode) {
1969
- const conditionalNode = createElement$3('ng-container');
1970
- addAtrribute$3(conditionalNode, '*ngIf', 'compilePageContent');
1970
+ const conditionalNode = createElement$4('ng-container');
1971
+ addAtrribute$4(conditionalNode, '*ngIf', 'compilePageContent');
1971
1972
  conditionalNode.children = conditionalNode.children.concat(pageContentNode.children);
1972
1973
  conditionalNode.children.push(new Text('{{onPageContentReady()}}', null, undefined, undefined));
1973
1974
  pageContentNode.children = [conditionalNode];
1974
1975
  if (isMobileApp()) {
1975
- const loader = createElement$3('div');
1976
- addAtrribute$3(loader, 'wmPageContentLoader', '');
1977
- addAtrribute$3(loader, '*ngIf', '!showPageContent');
1976
+ const loader = createElement$4('div');
1977
+ addAtrribute$4(loader, 'wmPageContentLoader', '');
1978
+ addAtrribute$4(loader, '*ngIf', '!showPageContent');
1978
1979
  pageContentNode.children.push(loader);
1979
1980
  }
1980
1981
  }
1981
1982
  },
1982
1983
  pre: (attrs) => {
1983
- const counter = idGen$8.nextUid();
1984
- return `<${tagName$p} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
1984
+ const counter = idGen$9.nextUid();
1985
+ return `<${tagName$r} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
1985
1986
  },
1986
- post: () => `</${tagName$p}>`
1987
+ post: () => `</${tagName$r}>`
1987
1988
  };
1988
1989
  });
1989
1990
  var page_build = () => { };
@@ -1993,15 +1994,15 @@ var page_build$1 = /*#__PURE__*/Object.freeze({
1993
1994
  default: page_build
1994
1995
  });
1995
1996
 
1996
- const tagName$o = 'div';
1997
- const idGen$7 = new IDGenerator('wm_layout');
1997
+ const tagName$q = 'div';
1998
+ const idGen$8 = new IDGenerator('wm_layout');
1998
1999
  register('wm-layout', () => {
1999
2000
  return {
2000
2001
  pre: (attrs) => {
2001
- const counter = idGen$7.nextUid();
2002
- return `<${tagName$o} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.hint || 'Main page content'" ${getAttrMarkup(attrs)}>`;
2002
+ const counter = idGen$8.nextUid();
2003
+ return `<${tagName$q} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.hint || 'Main page content'" ${getAttrMarkup(attrs)}>`;
2003
2004
  },
2004
- post: () => `</${tagName$o}>`
2005
+ post: () => `</${tagName$q}>`
2005
2006
  };
2006
2007
  });
2007
2008
  var layout_build = () => { };
@@ -2011,11 +2012,11 @@ var layout_build$1 = /*#__PURE__*/Object.freeze({
2011
2012
  default: layout_build
2012
2013
  });
2013
2014
 
2014
- const tagName$n = 'router-outlet';
2015
+ const tagName$p = 'router-outlet';
2015
2016
  register('wm-router-outlet', () => {
2016
2017
  return {
2017
- pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$n} (activate)="onActivate($event)">`,
2018
- post: () => `</${tagName$n}></div>`
2018
+ pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$p} (activate)="onActivate($event)">`,
2019
+ post: () => `</${tagName$p}></div>`
2019
2020
  };
2020
2021
  });
2021
2022
  var routerOutlet_build = () => { };
@@ -2025,11 +2026,11 @@ var routerOutlet_build$1 = /*#__PURE__*/Object.freeze({
2025
2026
  default: routerOutlet_build
2026
2027
  });
2027
2028
 
2028
- const tagName$m = 'nav';
2029
+ const tagName$o = 'nav';
2029
2030
  register('wm-pagination', () => {
2030
2031
  return {
2031
- pre: attrs => `<${tagName$m} wmPagination data-identifier="pagination" aria-label="Page navigation" ${getAttrMarkup(attrs)}>`,
2032
- post: () => `</${tagName$m}>`
2032
+ pre: attrs => `<${tagName$o} wmPagination data-identifier="pagination" aria-label="Page navigation" ${getAttrMarkup(attrs)}>`,
2033
+ post: () => `</${tagName$o}>`
2033
2034
  };
2034
2035
  });
2035
2036
  var pagination_build = () => { };
@@ -2039,11 +2040,11 @@ var pagination_build$1 = /*#__PURE__*/Object.freeze({
2039
2040
  default: pagination_build
2040
2041
  });
2041
2042
 
2042
- const tagName$l = 'main';
2043
+ const tagName$n = 'main';
2043
2044
  register('wm-content', () => {
2044
2045
  return {
2045
- pre: attrs => `<${tagName$l} wmContent data-role="page-content" role="main" ${getAttrMarkup(attrs)}>`,
2046
- post: () => `</${tagName$l}>`
2046
+ pre: attrs => `<${tagName$n} wmContent data-role="page-content" role="main" ${getAttrMarkup(attrs)}>`,
2047
+ post: () => `</${tagName$n}>`
2047
2048
  };
2048
2049
  });
2049
2050
  var content_build = () => { };
@@ -2053,15 +2054,15 @@ var content_build$1 = /*#__PURE__*/Object.freeze({
2053
2054
  default: content_build
2054
2055
  });
2055
2056
 
2056
- const tagName$k = 'footer';
2057
- const idGen$6 = new IDGenerator('wm_footer');
2057
+ const tagName$m = 'footer';
2058
+ const idGen$7 = new IDGenerator('wm_footer');
2058
2059
  register('wm-footer', () => {
2059
2060
  return {
2060
2061
  pre: (attrs) => {
2061
- const counter = idGen$6.nextUid();
2062
- return `<${tagName$k} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.hint || 'Page footer'" ${getAttrMarkup(attrs)}>`;
2062
+ const counter = idGen$7.nextUid();
2063
+ return `<${tagName$m} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.hint || 'Page footer'" ${getAttrMarkup(attrs)}>`;
2063
2064
  },
2064
- post: () => `</${tagName$k}>`
2065
+ post: () => `</${tagName$m}>`
2065
2066
  };
2066
2067
  });
2067
2068
  var footer_build = () => { };
@@ -2071,15 +2072,15 @@ var footer_build$1 = /*#__PURE__*/Object.freeze({
2071
2072
  default: footer_build
2072
2073
  });
2073
2074
 
2074
- const tagName$j = 'header';
2075
- const idGen$5 = new IDGenerator('wm_header');
2075
+ const tagName$l = 'header';
2076
+ const idGen$6 = new IDGenerator('wm_header');
2076
2077
  register('wm-header', () => {
2077
2078
  return {
2078
2079
  pre: (attrs) => {
2079
- const counter = idGen$5.nextUid();
2080
- return `<${tagName$j} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.hint || 'Page header'" ${getAttrMarkup(attrs)}>`;
2080
+ const counter = idGen$6.nextUid();
2081
+ return `<${tagName$l} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.hint || 'Page header'" ${getAttrMarkup(attrs)}>`;
2081
2082
  },
2082
- post: () => `</${tagName$j}>`
2083
+ post: () => `</${tagName$l}>`
2083
2084
  };
2084
2085
  });
2085
2086
  var header_build = () => { };
@@ -2089,15 +2090,15 @@ var header_build$1 = /*#__PURE__*/Object.freeze({
2089
2090
  default: header_build
2090
2091
  });
2091
2092
 
2092
- const tagName$i = 'aside';
2093
- const idGen$4 = new IDGenerator('wm_left_panel');
2093
+ const tagName$k = 'aside';
2094
+ const idGen$5 = new IDGenerator('wm_left_panel');
2094
2095
  register('wm-left-panel', () => {
2095
2096
  return {
2096
2097
  pre: (attrs) => {
2097
- const counter = idGen$4.nextUid();
2098
- return `<${tagName$i} wmLeftPanel #${counter}="wmLeftPanel" partialContainer data-role="page-left-panel" [attr.aria-label]="${counter}.hint || 'Left navigation panel'" wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`;
2098
+ const counter = idGen$5.nextUid();
2099
+ return `<${tagName$k} wmLeftPanel #${counter}="wmLeftPanel" partialContainer data-role="page-left-panel" [attr.aria-label]="${counter}.hint || 'Left navigation panel'" wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`;
2099
2100
  },
2100
- post: () => `</${tagName$i}>`
2101
+ post: () => `</${tagName$k}>`
2101
2102
  };
2102
2103
  });
2103
2104
  var leftPanel_build = () => { };
@@ -2107,11 +2108,11 @@ var leftPanel_build$1 = /*#__PURE__*/Object.freeze({
2107
2108
  default: leftPanel_build
2108
2109
  });
2109
2110
 
2110
- const tagName$h = 'header';
2111
+ const tagName$j = 'header';
2111
2112
  register('wm-mobile-navbar', () => {
2112
2113
  return {
2113
- pre: attrs => `<${tagName$h} wmMobileNavbar ${getAttrMarkup(attrs)}>`,
2114
- post: () => `</${tagName$h}>`
2114
+ pre: attrs => `<${tagName$j} wmMobileNavbar ${getAttrMarkup(attrs)}>`,
2115
+ post: () => `</${tagName$j}>`
2115
2116
  };
2116
2117
  });
2117
2118
  var mobileNavbar_build = () => { };
@@ -2121,15 +2122,15 @@ var mobileNavbar_build$1 = /*#__PURE__*/Object.freeze({
2121
2122
  default: mobileNavbar_build
2122
2123
  });
2123
2124
 
2124
- const tagName$g = 'aside';
2125
- const idGen$3 = new IDGenerator('wm_right_panel');
2125
+ const tagName$i = 'aside';
2126
+ const idGen$4 = new IDGenerator('wm_right_panel');
2126
2127
  register('wm-right-panel', () => {
2127
2128
  return {
2128
2129
  pre: (attrs) => {
2129
- const counter = idGen$3.nextUid();
2130
- return `<${tagName$g} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.hint || 'Right navigation panel'" ${getAttrMarkup(attrs)}>`;
2130
+ const counter = idGen$4.nextUid();
2131
+ return `<${tagName$i} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.hint || 'Right navigation panel'" ${getAttrMarkup(attrs)}>`;
2131
2132
  },
2132
- post: () => `</${tagName$g}>`
2133
+ post: () => `</${tagName$i}>`
2133
2134
  };
2134
2135
  });
2135
2136
  var rightPanel_build = () => { };
@@ -2139,22 +2140,22 @@ var rightPanel_build$1 = /*#__PURE__*/Object.freeze({
2139
2140
  default: rightPanel_build
2140
2141
  });
2141
2142
 
2142
- const tagName$f = 'div';
2143
- const createElement$2 = name => {
2144
- return new Element(name, [], [], noSpan$2, noSpan$2, noSpan$2);
2143
+ const tagName$h = 'div';
2144
+ const createElement$3 = name => {
2145
+ return new Element(name, [], [], noSpan$3, noSpan$3, noSpan$3);
2145
2146
  };
2146
- const addAtrribute$2 = (node, name, value) => {
2147
- const attr = new Attribute(name, value, noSpan$2, noSpan$2, noSpan$2, undefined, undefined);
2147
+ const addAtrribute$3 = (node, name, value) => {
2148
+ const attr = new Attribute(name, value, noSpan$3, noSpan$3, noSpan$3, undefined, undefined);
2148
2149
  node.attrs.push(attr);
2149
2150
  };
2150
- const noSpan$2 = {};
2151
+ const noSpan$3 = {};
2151
2152
  register('wm-page-content', () => {
2152
2153
  return {
2153
2154
  template: (node) => {
2154
2155
  for (let attr of node.attrs) {
2155
2156
  if (attr.name === 'spa' && attr.value === 'true') {
2156
- const conditionalNode = createElement$2('ng-container');
2157
- addAtrribute$2(conditionalNode, '*ngIf', 'compilePageContent');
2157
+ const conditionalNode = createElement$3('ng-container');
2158
+ addAtrribute$3(conditionalNode, '*ngIf', 'compilePageContent');
2158
2159
  conditionalNode.children = conditionalNode.children.concat(node.children);
2159
2160
  conditionalNode.children.push(new Text('{{onPageContentReady()}}', null, undefined, undefined));
2160
2161
  node.children = [conditionalNode];
@@ -2162,8 +2163,8 @@ register('wm-page-content', () => {
2162
2163
  }
2163
2164
  }
2164
2165
  },
2165
- pre: attrs => `<${tagName$f} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
2166
- post: () => `</${tagName$f}>`
2166
+ pre: attrs => `<${tagName$h} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
2167
+ post: () => `</${tagName$h}>`
2167
2168
  };
2168
2169
  });
2169
2170
  var pageContent_build = () => { };
@@ -2173,11 +2174,11 @@ var pageContent_build$1 = /*#__PURE__*/Object.freeze({
2173
2174
  default: pageContent_build
2174
2175
  });
2175
2176
 
2176
- const tagName$e = 'div';
2177
+ const tagName$g = 'div';
2177
2178
  register('wm-mobile-tabbar', () => {
2178
2179
  return {
2179
- pre: attrs => `<${tagName$e} wmMobileTabbar ${getAttrMarkup(attrs)}>`,
2180
- post: () => `</${tagName$e}>`
2180
+ pre: attrs => `<${tagName$g} wmMobileTabbar ${getAttrMarkup(attrs)}>`,
2181
+ post: () => `</${tagName$g}>`
2181
2182
  };
2182
2183
  });
2183
2184
  var tabBar_build = () => { };
@@ -2187,15 +2188,15 @@ var tabBar_build$1 = /*#__PURE__*/Object.freeze({
2187
2188
  default: tabBar_build
2188
2189
  });
2189
2190
 
2190
- const tagName$d = 'section';
2191
- const idGen$2 = new IDGenerator('wm_top_nav');
2191
+ const tagName$f = 'section';
2192
+ const idGen$3 = new IDGenerator('wm_top_nav');
2192
2193
  register('wm-top-nav', () => {
2193
2194
  return {
2194
2195
  pre: (attrs) => {
2195
- const counter = idGen$2.nextUid();
2196
- return `<${tagName$d} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.hint || 'Second level navigation'" ${getAttrMarkup(attrs)}>`;
2196
+ const counter = idGen$3.nextUid();
2197
+ return `<${tagName$f} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.hint || 'Second level navigation'" ${getAttrMarkup(attrs)}>`;
2197
2198
  },
2198
- post: () => `</${tagName$d}>`
2199
+ post: () => `</${tagName$f}>`
2199
2200
  };
2200
2201
  });
2201
2202
  var topNav_build = () => { };
@@ -2205,26 +2206,26 @@ var topNav_build$1 = /*#__PURE__*/Object.freeze({
2205
2206
  default: topNav_build
2206
2207
  });
2207
2208
 
2208
- const tagName$c = 'section';
2209
- const noSpan$1 = {};
2210
- const createElement$1 = name => {
2211
- return new Element(name, [], [], noSpan$1, noSpan$1, noSpan$1);
2209
+ const tagName$e = 'section';
2210
+ const noSpan$2 = {};
2211
+ const createElement$2 = name => {
2212
+ return new Element(name, [], [], noSpan$2, noSpan$2, noSpan$2);
2212
2213
  };
2213
- const addAtrribute$1 = (node, name, value) => {
2214
- const attr = new Attribute(name, value, noSpan$1, noSpan$1, noSpan$1, undefined, undefined);
2214
+ const addAtrribute$2 = (node, name, value) => {
2215
+ const attr = new Attribute(name, value, noSpan$2, noSpan$2, noSpan$2, undefined, undefined);
2215
2216
  node.attrs.push(attr);
2216
2217
  };
2217
2218
  register('wm-partial', () => {
2218
2219
  return {
2219
2220
  template: (node) => {
2220
- const conditionalNode = createElement$1('ng-container');
2221
- addAtrribute$1(conditionalNode, '*ngIf', 'compileContent');
2221
+ const conditionalNode = createElement$2('ng-container');
2222
+ addAtrribute$2(conditionalNode, '*ngIf', 'compileContent');
2222
2223
  conditionalNode.children = conditionalNode.children.concat(node.children);
2223
2224
  node.children.length = 0;
2224
2225
  node.children.push(conditionalNode);
2225
2226
  },
2226
- pre: attrs => `<${tagName$c} wmPartial data-role="partial" ${getAttrMarkup(attrs)}>`,
2227
- post: () => `</${tagName$c}>`
2227
+ pre: attrs => `<${tagName$e} wmPartial data-role="partial" ${getAttrMarkup(attrs)}>`,
2228
+ post: () => `</${tagName$e}>`
2228
2229
  };
2229
2230
  });
2230
2231
  var partial_build = () => { };
@@ -2234,11 +2235,11 @@ var partial_build$1 = /*#__PURE__*/Object.freeze({
2234
2235
  default: partial_build
2235
2236
  });
2236
2237
 
2237
- const tagName$b = 'div';
2238
+ const tagName$d = 'div';
2238
2239
  register('wm-param', () => {
2239
2240
  return {
2240
- pre: attrs => `<${tagName$b} wmParam hidden ${getAttrMarkup(attrs)}>`,
2241
- post: () => `</${tagName$b}>`
2241
+ pre: attrs => `<${tagName$d} wmParam hidden ${getAttrMarkup(attrs)}>`,
2242
+ post: () => `</${tagName$d}>`
2242
2243
  };
2243
2244
  });
2244
2245
  var partialParam_build = () => { };
@@ -2248,11 +2249,11 @@ var partialParam_build$1 = /*#__PURE__*/Object.freeze({
2248
2249
  default: partialParam_build
2249
2250
  });
2250
2251
 
2251
- const tagName$a = 'section';
2252
+ const tagName$c = 'section';
2252
2253
  register('wm-prefab', () => {
2253
2254
  return {
2254
- pre: attrs => `<${tagName$a} wmPrefab redrawable data-role="prefab" ${getAttrMarkup(attrs)}>`,
2255
- post: () => `</${tagName$a}>`
2255
+ pre: attrs => `<${tagName$c} wmPrefab redrawable data-role="prefab" ${getAttrMarkup(attrs)}>`,
2256
+ post: () => `</${tagName$c}>`
2256
2257
  };
2257
2258
  });
2258
2259
  var prefab_build = () => { };
@@ -2262,26 +2263,26 @@ var prefab_build$1 = /*#__PURE__*/Object.freeze({
2262
2263
  default: prefab_build
2263
2264
  });
2264
2265
 
2265
- const noSpan = {};
2266
- const createElement = name => {
2267
- return new Element(name, [], [], noSpan, noSpan, noSpan);
2266
+ const noSpan$1 = {};
2267
+ const createElement$1 = name => {
2268
+ return new Element(name, [], [], noSpan$1, noSpan$1, noSpan$1);
2268
2269
  };
2269
- const addAtrribute = (node, name, value) => {
2270
- const attr = new Attribute(name, value, noSpan, noSpan, noSpan, undefined, undefined);
2270
+ const addAtrribute$1 = (node, name, value) => {
2271
+ const attr = new Attribute(name, value, noSpan$1, noSpan$1, noSpan$1, undefined, undefined);
2271
2272
  node.attrs.push(attr);
2272
2273
  };
2273
- const tagName$9 = 'div';
2274
+ const tagName$b = 'div';
2274
2275
  register('wm-prefab-container', () => {
2275
2276
  return {
2276
2277
  template: (node) => {
2277
- const conditionalNode = createElement('ng-container');
2278
- addAtrribute(conditionalNode, '*ngIf', 'compileContent');
2278
+ const conditionalNode = createElement$1('ng-container');
2279
+ addAtrribute$1(conditionalNode, '*ngIf', 'compileContent');
2279
2280
  conditionalNode.children = conditionalNode.children.concat(node.children);
2280
2281
  node.children.length = 0;
2281
2282
  node.children.push(conditionalNode);
2282
2283
  },
2283
- pre: attrs => `<${tagName$9} wmPrefabContainer ${getAttrMarkup(attrs)}>`,
2284
- post: () => `</${tagName$9}>`
2284
+ pre: attrs => `<${tagName$b} wmPrefabContainer ${getAttrMarkup(attrs)}>`,
2285
+ post: () => `</${tagName$b}>`
2285
2286
  };
2286
2287
  });
2287
2288
  var prefabContainer_build = () => { };
@@ -2291,11 +2292,11 @@ var prefabContainer_build$1 = /*#__PURE__*/Object.freeze({
2291
2292
  default: prefabContainer_build
2292
2293
  });
2293
2294
 
2294
- const tagName$8 = 'div';
2295
+ const tagName$a = 'div';
2295
2296
  register('wm-table-action', () => {
2296
2297
  return {
2297
- pre: attrs => `<${tagName$8} name="${attrs.get('name') || attrs.get('key')}" wmTableAction ${getAttrMarkup(attrs)}>`,
2298
- post: () => `</${tagName$8}>`
2298
+ pre: attrs => `<${tagName$a} name="${attrs.get('name') || attrs.get('key')}" wmTableAction ${getAttrMarkup(attrs)}>`,
2299
+ post: () => `</${tagName$a}>`
2299
2300
  };
2300
2301
  });
2301
2302
  var tableAction_build = () => { };
@@ -2305,11 +2306,11 @@ var tableAction_build$1 = /*#__PURE__*/Object.freeze({
2305
2306
  default: tableAction_build
2306
2307
  });
2307
2308
 
2308
- const tagName$7 = 'div';
2309
+ const tagName$9 = 'div';
2309
2310
  register('wm-table-column-group', () => {
2310
2311
  return {
2311
- pre: attrs => `<${tagName$7} wmTableColumnGroup ${getAttrMarkup(attrs)}>`,
2312
- post: () => `</${tagName$7}>`
2312
+ pre: attrs => `<${tagName$9} wmTableColumnGroup ${getAttrMarkup(attrs)}>`,
2313
+ post: () => `</${tagName$9}>`
2313
2314
  };
2314
2315
  });
2315
2316
  var tableColumnGroup_build = () => { };
@@ -2319,8 +2320,8 @@ var tableColumnGroup_build$1 = /*#__PURE__*/Object.freeze({
2319
2320
  default: tableColumnGroup_build
2320
2321
  });
2321
2322
 
2322
- const tagName$6 = 'div';
2323
- const idGen$1 = new IDGenerator('data_table_form_');
2323
+ const tagName$8 = 'div';
2324
+ const idGen$2 = new IDGenerator('data_table_form_');
2324
2325
  const formWidgets = new Set([
2325
2326
  'wm-text',
2326
2327
  'wm-textarea',
@@ -2432,7 +2433,7 @@ const getInlineEditWidgetTmpl = (attrs, isNewRow, errorstyle, pCounter) => {
2432
2433
  let wmFormWidget = '';
2433
2434
  if (widget === FormWidgetType.UPLOAD) {
2434
2435
  options.uploadProps = {
2435
- formName: idGen$1.nextUid(),
2436
+ formName: idGen$2.nextUid(),
2436
2437
  name: fieldName
2437
2438
  };
2438
2439
  options.counter = pCounter;
@@ -2572,7 +2573,7 @@ register('wm-table-column', () => {
2572
2573
  customExprTmpl = `${customExpr}<div data-col-identifier="${attrs.get('binding')}" title="${formatExprTmpl}">${formatExprTmpl}`;
2573
2574
  }
2574
2575
  }
2575
- return `<${tagName$6} wmTableColumn ${getAttrMarkup(attrs)} ${parentForm}>
2576
+ return `<${tagName$8} wmTableColumn ${getAttrMarkup(attrs)} ${parentForm}>
2576
2577
  ${rowFilterTmpl}
2577
2578
  ${inlineEditTmpl}
2578
2579
  ${inlineNewEditTmpl}
@@ -2583,7 +2584,7 @@ register('wm-table-column', () => {
2583
2584
  if (shared.get('customExpression')) {
2584
2585
  customExprTmpl = `</div></ng-template>`;
2585
2586
  }
2586
- return `${customExprTmpl}</${tagName$6}>`;
2587
+ return `${customExprTmpl}</${tagName$8}>`;
2587
2588
  },
2588
2589
  imports: (attrs) => {
2589
2590
  const editWidgetType = attrs.get('edit-widget-type');
@@ -2599,7 +2600,7 @@ var tableColumn_build$1 = /*#__PURE__*/Object.freeze({
2599
2600
  default: tableColumn_build
2600
2601
  });
2601
2602
 
2602
- const tagName$5 = 'div';
2603
+ const tagName$7 = 'div';
2603
2604
  const getRowExpansionActionTmpl = (attrs) => {
2604
2605
  const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';
2605
2606
  const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';
@@ -2615,7 +2616,7 @@ const getRowExpansionActionTmpl = (attrs) => {
2615
2616
  register('wm-table-row', () => {
2616
2617
  return {
2617
2618
  pre: (attrs) => {
2618
- return `<${tagName$5} wmTableRow ${getAttrMarkup(attrs)}>
2619
+ return `<${tagName$7} wmTableRow ${getAttrMarkup(attrs)}>
2619
2620
  ${getRowExpansionActionTmpl(attrs)}
2620
2621
  <ng-template #rowExpansionTmpl let-row="row" let-rowDef="rowDef" let-containerLoad="containerLoad">
2621
2622
  <div wmContainer partialContainer content.bind="rowDef.content" load.event="containerLoad(widget)"
@@ -2623,7 +2624,7 @@ register('wm-table-row', () => {
2623
2624
  <div *ngFor="let param of rowDef.partialParams | keyvalue" wmParam hidden
2624
2625
  [name]="param.key" [value]="param.value"></div>`;
2625
2626
  },
2626
- post: () => `</div></ng-template></${tagName$5}>`
2627
+ post: () => `</div></ng-template></${tagName$7}>`
2627
2628
  };
2628
2629
  });
2629
2630
  var tableRow_build = () => { };
@@ -2633,7 +2634,7 @@ var tableRow_build$1 = /*#__PURE__*/Object.freeze({
2633
2634
  default: tableRow_build
2634
2635
  });
2635
2636
 
2636
- const tagName$4 = 'div';
2637
+ const tagName$6 = 'div';
2637
2638
  const getSaveCancelTemplate = () => {
2638
2639
  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">
2639
2640
  <i class="wi wi-done" aria-hidden="true"></i>
@@ -2665,9 +2666,9 @@ const getRowActionTmpl = (attrs) => {
2665
2666
  };
2666
2667
  register('wm-table-row-action', () => {
2667
2668
  return {
2668
- pre: attrs => `<${tagName$4} wmTableRowAction ${getAttrMarkup(attrs)}>
2669
+ pre: attrs => `<${tagName$6} wmTableRowAction ${getAttrMarkup(attrs)}>
2669
2670
  ${getRowActionTmpl(attrs)}`,
2670
- post: () => `</${tagName$4}>`
2671
+ post: () => `</${tagName$6}>`
2671
2672
  };
2672
2673
  });
2673
2674
  var tableRowAction_build = () => { };
@@ -2677,9 +2678,9 @@ var tableRowAction_build$1 = /*#__PURE__*/Object.freeze({
2677
2678
  default: tableRowAction_build
2678
2679
  });
2679
2680
 
2680
- const tagName$3 = 'div';
2681
+ const tagName$5 = 'div';
2681
2682
  const dataSetKey = 'dataset';
2682
- const idGen = new IDGenerator('table_');
2683
+ const idGen$1 = new IDGenerator('table_');
2683
2684
  let columnIndex = 0;
2684
2685
  /**
2685
2686
  * This method assigns index to the table-column and column-groups in order to the maintain the columns in the same order
@@ -2739,14 +2740,14 @@ register('wm-table', () => {
2739
2740
  updateTemplateAttrs(node, boundExpr, widgetNameAttr.value, '', 'row');
2740
2741
  },
2741
2742
  pre: (attrs, shared) => {
2742
- const counter = idGen.nextUid();
2743
+ const counter = idGen$1.nextUid();
2743
2744
  shared.set('counter', counter);
2744
2745
  attrs.set('isdynamictable', shared.get('isdynamictable'));
2745
2746
  attrs.set('isrowexpansionenabled', shared.get('isrowexpansionenabled'));
2746
2747
  attrs.set('table_reference', counter);
2747
- return `<${tagName$3} wmTable="${counter}" wmTableFilterSort wmTableCUD #${counter} data-identifier="table" ${getAttrMarkup(attrs)}>`;
2748
+ return `<${tagName$5} wmTable="${counter}" wmTableFilterSort wmTableCUD #${counter} data-identifier="table" ${getAttrMarkup(attrs)}>`;
2748
2749
  },
2749
- post: () => `</${tagName$3}>`,
2750
+ post: () => `</${tagName$5}>`,
2750
2751
  provide: (attrs, shared) => {
2751
2752
  const provider = new Map();
2752
2753
  provider.set('table_reference', shared.get('counter'));
@@ -2765,11 +2766,11 @@ var table_build$1 = /*#__PURE__*/Object.freeze({
2765
2766
  default: table_build
2766
2767
  });
2767
2768
 
2768
- const tagName$2 = 'div';
2769
+ const tagName$4 = 'div';
2769
2770
  register('wm-video', () => {
2770
2771
  return {
2771
- pre: attrs => `<${tagName$2} wmVideo ${getAttrMarkup(attrs)}>`,
2772
- post: () => `</${tagName$2}>`
2772
+ pre: attrs => `<${tagName$4} wmVideo ${getAttrMarkup(attrs)}>`,
2773
+ post: () => `</${tagName$4}>`
2773
2774
  };
2774
2775
  });
2775
2776
  var video_build = () => { };
@@ -2779,7 +2780,7 @@ var video_build$1 = /*#__PURE__*/Object.freeze({
2779
2780
  default: video_build
2780
2781
  });
2781
2782
 
2782
- const tagName$1 = 'div';
2783
+ const tagName$3 = 'div';
2783
2784
  const SPACING_KEY = 'parentLinearLayout.spacing';
2784
2785
  register('wm-linearlayout', () => {
2785
2786
  return {
@@ -2787,9 +2788,9 @@ register('wm-linearlayout', () => {
2787
2788
  pre: (attrs, shared, provider) => {
2788
2789
  let spacing = attrs.get('spacing');
2789
2790
  attrs.set('spacing', (!spacing || spacing === '0') && provider ? provider.get(SPACING_KEY) : spacing);
2790
- return `<${tagName$1} wmLinearLayout ${getAttrMarkup(attrs)}>`;
2791
+ return `<${tagName$3} wmLinearLayout ${getAttrMarkup(attrs)}>`;
2791
2792
  },
2792
- post: () => `</${tagName$1}>`,
2793
+ post: () => `</${tagName$3}>`,
2793
2794
  provide: (attrs, shared) => {
2794
2795
  const provider = new Map();
2795
2796
  provider.set(SPACING_KEY, attrs.get('spacing'));
@@ -2804,11 +2805,11 @@ var linearLayout_build$1 = /*#__PURE__*/Object.freeze({
2804
2805
  default: linearLayout_build
2805
2806
  });
2806
2807
 
2807
- const tagName = 'div';
2808
+ const tagName$2 = 'div';
2808
2809
  register('wm-linearlayoutitem', () => {
2809
2810
  return {
2810
- pre: attrs => `<${tagName} wmLinearLayoutItem ${getAttrMarkup(attrs)}>`,
2811
- post: () => `</${tagName}>`
2811
+ pre: attrs => `<${tagName$2} wmLinearLayoutItem ${getAttrMarkup(attrs)}>`,
2812
+ post: () => `</${tagName$2}>`
2812
2813
  };
2813
2814
  });
2814
2815
  var linearLayoutItem_build = () => { };
@@ -2818,11 +2819,58 @@ var linearLayoutItem_build$1 = /*#__PURE__*/Object.freeze({
2818
2819
  default: linearLayoutItem_build
2819
2820
  });
2820
2821
 
2822
+ const tagName$1 = 'div';
2823
+ const idGen = new IDGenerator('wm_custom_widget');
2824
+ register('wm-custom-widget', () => {
2825
+ return {
2826
+ pre: (attrs) => {
2827
+ const counter = idGen.nextUid();
2828
+ return `<${tagName$1} wmWidgetContainer customWidgetContainer #${counter}="wmWidgetContainer" ${getAttrMarkup(attrs)}>`;
2829
+ },
2830
+ post: () => `</${tagName$1}>`
2831
+ };
2832
+ });
2833
+ var customWidgetContainer_build = () => { };
2834
+
2835
+ var customWidgetContainer_build$1 = /*#__PURE__*/Object.freeze({
2836
+ __proto__: null,
2837
+ default: customWidgetContainer_build
2838
+ });
2839
+
2840
+ const tagName = 'section';
2841
+ const noSpan = {};
2842
+ const createElement = name => {
2843
+ return new Element(name, [], [], noSpan, noSpan, noSpan);
2844
+ };
2845
+ const addAtrribute = (node, name, value) => {
2846
+ const attr = new Attribute(name, value, noSpan, noSpan, noSpan, undefined, undefined);
2847
+ node.attrs.push(attr);
2848
+ };
2849
+ register('wm-custom-widget-container', () => {
2850
+ return {
2851
+ template: (node) => {
2852
+ const conditionalNode = createElement('ng-container');
2853
+ // addAtrribute(conditionalNode, '*ngIf', 'compileContent');
2854
+ conditionalNode.children = conditionalNode.children.concat(node.children);
2855
+ node.children.length = 0;
2856
+ node.children.push(conditionalNode);
2857
+ },
2858
+ pre: attrs => `<${tagName} wmCustomWidget data-role="widget" ${getAttrMarkup(attrs)}>`,
2859
+ post: () => `</${tagName}>`
2860
+ };
2861
+ });
2862
+ var customWidgetWrapper_build = () => { };
2863
+
2864
+ var customWidgetWrapper_build$1 = /*#__PURE__*/Object.freeze({
2865
+ __proto__: null,
2866
+ default: customWidgetWrapper_build
2867
+ });
2868
+
2821
2869
  const initComponentsBuildTask = () => { };
2822
2870
 
2823
2871
  /**
2824
2872
  * Generated bundle index. Do not edit.
2825
2873
  */
2826
2874
 
2827
- export { accordion_build$1 as accordionBuild, accordionPane_build$1 as accordionPaneBuild, alertDialog_build$1 as alertDlgBuild, anchor_build$1 as anchorBuild, audio_build$1 as audioBuild, barcodeScanner_build$1 as barcodeScannerBuild, breadcrumb_build$1 as breadcrumbBuild, button_build$1 as buttonBuild, buttonGroup_build$1 as buttonGroupBuild, calendar_build$1 as calendarBuild, camera_build$1 as cameraBuild, cardActions_build$1 as cardActionsBuild, card_build$1 as cardBuild, cardContent_build$1 as cardContentBuild, cardFooter_build$1 as cardFooterBuild, carousel_build$1 as carouselBuild, carouselTemplate_build$1 as carouselTemplateBuild, chart_build$1 as chartBuild, checkbox_build$1 as checkboxBuild, checkboxset_build$1 as checkboxSetBuild, chips_build$1 as chipsBuild, colorPicker_build$1 as colorPickerBuild, composite_build$1 as compositeBuild, confirmDialog_build$1 as confirmDlgBuild, container_build$1 as containerBuild, content_build$1 as contentBuild, currency_build$1 as currencyBuild, date_build$1 as dateBuild, dateTime_build$1 as dateTimeBuild, dialog_build$1 as dlgBuild, dialogFooter_build$1 as dlgFooterBuild, fileUpload_build$1 as fileUploadBuild, footer_build$1 as footerBuild, formAction_build$1 as formActionBuild, form_build$1 as formBuild, formField_build$1 as formFieldBuild, header_build$1 as headerBuild, html_build$1 as htmlBuild, icon_build$1 as iconBuild, iframe_build$1 as iframeBuild, iframeDialog_build$1 as iframeDlgBuild, initComponentsBuildTask, label_build$1 as labelBuild, layout_build$1 as layoutBuild, leftPanel_build$1 as leftPanelBuild, layoutGrid_build$1 as lgBuild, layoutGridColumn_build$1 as lgcolBuild, layoutGridRow_build$1 as lgrowBuild, linearLayout_build$1 as linearLayoutBuild, linearLayoutItem_build$1 as linearLayoutItemBuild, list_build$1 as listBuild, liveTable_build$1 as liveTableBuild, login_build$1 as loginBuild, loginDialog_build$1 as loginDlgBuild, marquee_build$1 as marqueeBuild, mediaList_build$1 as mediaListBuild, mediaListItem_build$1 as mediaListItemBuild, menu_build$1 as menuBuild, message_build$1 as messageBuild, mobileNavbar_build$1 as mobileNavbarBuild, nav_build$1 as navBuild, navItem_build$1 as navItemBuild, navbar_build$1 as navbarBuild, number_build$1 as numberBuild, page_build$1 as pageBuild, pageContent_build$1 as pageContentBuild, pagination_build$1 as paginationBuild, panel_build$1 as panelBuild, partial_build$1 as partialBuild, partialDialog_build$1 as partialDlgBuild, partialParam_build$1 as partialParamBuild, picture_build$1 as pictureBuild, popover_build$1 as popoverBuild, prefab_build$1 as prefabBuild, prefabContainer_build$1 as prefabContainerBuild, progressBar_build$1 as progressBarBuild, progressCircle_build$1 as progressCircleBuild, radioset_build$1 as radiosetBuild, rating_build$1 as ratingBuild, repeatTemplate_build$1 as repeatTemplateBuild, rightPanel_build$1 as rightPanelBuild, routerOutlet_build$1 as routerOutletBuild, richTextEditor_build$1 as rteBuild, search_build$1 as searchBuild, segmentContent_build$1 as segContentBuild, segmentedControl_build$1 as segControlBuild, select_build$1 as selectBuild, slider_build$1 as sliderBuild, spinner_build$1 as spinnerBuild, switch_build$1 as switchBuild, tabBar_build$1 as tabBarBuild, tabPane_build$1 as tabPaneBuild, tableAction_build$1 as tableActionBuild, table_build$1 as tableBuild, tableColumn_build$1 as tableColumnBuild, tableColumnGroup_build$1 as tableColumnGroupBuild, tableRowAction_build$1 as tableRowActionBuild, tableRow_build$1 as tableRowBuild, tabs_build$1 as tabsBuild, textarea_build$1 as textAreaBuild, text_build$1 as textBuild, tile_build$1 as tileBuild, time_build$1 as timeBuild, topNav_build$1 as topNavBuild, tree_build as treeBuild, video_build$1 as videoBuild, wizard_build$1 as wizardBuild, wizardStep_build$1 as wizardStepBuild };
2875
+ export { accordion_build$1 as accordionBuild, accordionPane_build$1 as accordionPaneBuild, alertDialog_build$1 as alertDlgBuild, anchor_build$1 as anchorBuild, audio_build$1 as audioBuild, barcodeScanner_build$1 as barcodeScannerBuild, breadcrumb_build$1 as breadcrumbBuild, button_build$1 as buttonBuild, buttonGroup_build$1 as buttonGroupBuild, calendar_build$1 as calendarBuild, camera_build$1 as cameraBuild, cardActions_build$1 as cardActionsBuild, card_build$1 as cardBuild, cardContent_build$1 as cardContentBuild, cardFooter_build$1 as cardFooterBuild, carousel_build$1 as carouselBuild, carouselTemplate_build$1 as carouselTemplateBuild, chart_build$1 as chartBuild, checkbox_build$1 as checkboxBuild, checkboxset_build$1 as checkboxSetBuild, chips_build$1 as chipsBuild, colorPicker_build$1 as colorPickerBuild, composite_build$1 as compositeBuild, confirmDialog_build$1 as confirmDlgBuild, container_build$1 as containerBuild, content_build$1 as contentBuild, currency_build$1 as currencyBuild, customWidgetContainer_build$1 as customWidgetBuild, customWidgetWrapper_build$1 as customWidgetWrapperBuild, date_build$1 as dateBuild, dateTime_build$1 as dateTimeBuild, dialog_build$1 as dlgBuild, dialogFooter_build$1 as dlgFooterBuild, fileUpload_build$1 as fileUploadBuild, footer_build$1 as footerBuild, formAction_build$1 as formActionBuild, form_build$1 as formBuild, formField_build$1 as formFieldBuild, header_build$1 as headerBuild, html_build$1 as htmlBuild, icon_build$1 as iconBuild, iframe_build$1 as iframeBuild, iframeDialog_build$1 as iframeDlgBuild, initComponentsBuildTask, label_build$1 as labelBuild, layout_build$1 as layoutBuild, leftPanel_build$1 as leftPanelBuild, layoutGrid_build$1 as lgBuild, layoutGridColumn_build$1 as lgcolBuild, layoutGridRow_build$1 as lgrowBuild, linearLayout_build$1 as linearLayoutBuild, linearLayoutItem_build$1 as linearLayoutItemBuild, list_build$1 as listBuild, liveTable_build$1 as liveTableBuild, login_build$1 as loginBuild, loginDialog_build$1 as loginDlgBuild, marquee_build$1 as marqueeBuild, mediaList_build$1 as mediaListBuild, mediaListItem_build$1 as mediaListItemBuild, menu_build$1 as menuBuild, message_build$1 as messageBuild, mobileNavbar_build$1 as mobileNavbarBuild, nav_build$1 as navBuild, navItem_build$1 as navItemBuild, navbar_build$1 as navbarBuild, number_build$1 as numberBuild, page_build$1 as pageBuild, pageContent_build$1 as pageContentBuild, pagination_build$1 as paginationBuild, panel_build$1 as panelBuild, partial_build$1 as partialBuild, partialDialog_build$1 as partialDlgBuild, partialParam_build$1 as partialParamBuild, picture_build$1 as pictureBuild, popover_build$1 as popoverBuild, prefab_build$1 as prefabBuild, prefabContainer_build$1 as prefabContainerBuild, progressBar_build$1 as progressBarBuild, progressCircle_build$1 as progressCircleBuild, radioset_build$1 as radiosetBuild, rating_build$1 as ratingBuild, repeatTemplate_build$1 as repeatTemplateBuild, rightPanel_build$1 as rightPanelBuild, routerOutlet_build$1 as routerOutletBuild, richTextEditor_build$1 as rteBuild, search_build$1 as searchBuild, segmentContent_build$1 as segContentBuild, segmentedControl_build$1 as segControlBuild, select_build$1 as selectBuild, slider_build$1 as sliderBuild, spinner_build$1 as spinnerBuild, switch_build$1 as switchBuild, tabBar_build$1 as tabBarBuild, tabPane_build$1 as tabPaneBuild, tableAction_build$1 as tableActionBuild, table_build$1 as tableBuild, tableColumn_build$1 as tableColumnBuild, tableColumnGroup_build$1 as tableColumnGroupBuild, tableRowAction_build$1 as tableRowActionBuild, tableRow_build$1 as tableRowBuild, tabs_build$1 as tabsBuild, textarea_build$1 as textAreaBuild, text_build$1 as textBuild, tile_build$1 as tileBuild, time_build$1 as timeBuild, topNav_build$1 as topNavBuild, tree_build as treeBuild, video_build$1 as videoBuild, wizard_build$1 as wizardBuild, wizardStep_build$1 as wizardStepBuild };
2828
2876
  //# sourceMappingURL=index.mjs.map