@wavemaker/app-ng-runtime 12.0.0-next.45031 → 12.0.0-next.45501
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.
- app-ng-runtime/build-task/bundles/index.umd.js +405 -451
- app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +2 -3
- app-ng-runtime/build-task/esm2022/public_api.mjs +1 -3
- app-ng-runtime/build-task/fesm2022/index.mjs +406 -454
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/build-task/public_api.d.ts +0 -2
- app-ng-runtime/components/base/bundles/index.umd.js +14 -62
- app-ng-runtime/components/base/components.module.d.ts +11 -12
- app-ng-runtime/components/base/esm2022/components.module.mjs +1 -5
- app-ng-runtime/components/base/esm2022/public_api.mjs +1 -2
- app-ng-runtime/components/base/esm2022/widgets/common/base/base.component.mjs +15 -25
- app-ng-runtime/components/base/fesm2022/index.mjs +15 -62
- app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/public_api.d.ts +0 -1
- app-ng-runtime/components/base/widgets/common/base/base.component.d.ts +5 -10
- app-ng-runtime/components/containers/wizard/bundles/index.umd.js +17 -0
- app-ng-runtime/components/containers/wizard/esm2022/wizard.component.mjs +18 -1
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs +17 -0
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/wizard.component.d.ts +1 -0
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +1 -3
- app-ng-runtime/components/data/form/fesm2022/index.mjs +0 -2
- app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +11 -0
- app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +12 -1
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +11 -0
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/bundles/index.umd.js +63 -39
- app-ng-runtime/components/input/default/checkboxset/checkboxset.component.d.ts +0 -1
- app-ng-runtime/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +5 -8
- app-ng-runtime/components/input/default/esm2022/radioset/radioset.component.mjs +5 -8
- app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +57 -29
- app-ng-runtime/components/input/default/esm2022/text/base/base-input.mjs +1 -4
- app-ng-runtime/components/input/default/esm2022/text/locale/number-locale.mjs +2 -2
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.component.mjs +4 -1
- app-ng-runtime/components/input/default/fesm2022/index.mjs +63 -39
- app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/radioset/radioset.component.d.ts +0 -1
- app-ng-runtime/components/input/default/select/select.component.d.ts +2 -4
- app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +3 -2
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +3 -0
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +4 -1
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +3 -0
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/bundles/index.umd.js +31 -5
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +34 -8
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +32 -6
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +6 -2
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +2 -2
- app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +2 -2
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav.component.mjs +2 -2
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +2 -2
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/bundles/index.umd.js +6 -16
- app-ng-runtime/core/enums/enums.d.ts +1 -2
- app-ng-runtime/core/esm2022/enums/enums.mjs +1 -2
- app-ng-runtime/core/esm2022/types/types.mjs +1 -4
- app-ng-runtime/core/esm2022/utils/build-utils.mjs +1 -6
- app-ng-runtime/core/esm2022/utils/utils.mjs +4 -3
- app-ng-runtime/core/fesm2022/index.mjs +4 -12
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/types/types.d.ts +1 -5
- app-ng-runtime/core/utils/utils.d.ts +1 -0
- app-ng-runtime/mobile/core/bundles/index.umd.js +18 -2
- app-ng-runtime/mobile/core/esm2022/native.xhr.mjs +19 -3
- app-ng-runtime/mobile/core/fesm2022/index.mjs +18 -2
- app-ng-runtime/mobile/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +5 -288
- app-ng-runtime/runtime/base/esm2022/public_api.mjs +1 -2
- app-ng-runtime/runtime/base/esm2022/runtime-base.module.mjs +1 -6
- app-ng-runtime/runtime/base/esm2022/services/i18n.service.mjs +2 -2
- app-ng-runtime/runtime/base/esm2022/types/types.mjs +1 -2
- app-ng-runtime/runtime/base/fesm2022/index.mjs +4 -287
- app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/runtime/base/public_api.d.ts +0 -1
- app-ng-runtime/runtime/base/runtime-base.module.d.ts +8 -9
- app-ng-runtime/runtime/base/types/types.d.ts +1 -2
- app-ng-runtime/runtime/dynamic/bundles/index.umd.js +9 -27
- app-ng-runtime/runtime/dynamic/esm2022/app/app.module.mjs +2 -5
- app-ng-runtime/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +7 -23
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +7 -26
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/scripts/@wavemaker/nvd3/build/nv.d3.min.js +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +6 -3
- app-ng-runtime/scripts/summernote/dist/summernote-lite.min.js +2 -3
- app-ng-runtime/transpiler/bundles/index.umd.js +0 -5
- app-ng-runtime/transpiler/esm2022/build.mjs +1 -4
- app-ng-runtime/transpiler/esm2022/imports.mjs +1 -3
- app-ng-runtime/transpiler/fesm2022/index.mjs +0 -5
- app-ng-runtime/transpiler/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/build-task/advanced/custom-widget-container/custom-widget-container.build.d.ts +0 -2
- app-ng-runtime/build-task/advanced/custom-widget-wrapper/custom-widget-wrapper.build.d.ts +0 -2
- app-ng-runtime/build-task/esm2022/advanced/custom-widget-container/custom-widget-container.build.mjs +0 -15
- app-ng-runtime/build-task/esm2022/advanced/custom-widget-wrapper/custom-widget-wrapper.build.mjs +0 -26
- app-ng-runtime/components/advanced/custom/.npmignore +0 -2
- app-ng-runtime/components/advanced/custom/bundles/index.umd.js +0 -232
- app-ng-runtime/components/advanced/custom/custom-widget-container/custom-widget-container.directive.d.ts +0 -19
- app-ng-runtime/components/advanced/custom/custom-widget-container/custom-widget.props.d.ts +0 -2
- app-ng-runtime/components/advanced/custom/custom-widget-prop.d.ts +0 -1
- app-ng-runtime/components/advanced/custom/custom-widget.directive.d.ts +0 -19
- app-ng-runtime/components/advanced/custom/custom-widget.module.d.ts +0 -10
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container/custom-widget-container.directive.mjs +0 -102
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container/custom-widget.props.mjs +0 -12
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget-prop.mjs +0 -8
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget.directive.mjs +0 -68
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget.module.mjs +0 -32
- app-ng-runtime/components/advanced/custom/esm2022/index.mjs +0 -5
- app-ng-runtime/components/advanced/custom/esm2022/public_api.mjs +0 -4
- app-ng-runtime/components/advanced/custom/fesm2022/index.mjs +0 -215
- app-ng-runtime/components/advanced/custom/fesm2022/index.mjs.map +0 -1
- app-ng-runtime/components/advanced/custom/index.d.ts +0 -5
- app-ng-runtime/components/advanced/custom/package.json +0 -23
- app-ng-runtime/components/advanced/custom/public_api.d.ts +0 -3
- app-ng-runtime/components/base/esm2022/widgets/common/base/custom-widget-container.directive.mjs +0 -39
- app-ng-runtime/components/base/widgets/common/base/custom-widget-container.directive.d.ts +0 -14
- app-ng-runtime/runtime/base/components/base-custom-widget.component.d.ts +0 -72
- app-ng-runtime/runtime/base/esm2022/components/base-custom-widget.component.mjs +0 -288
@@ -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$
|
9
|
+
const idGen$s = 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$
|
15
|
+
const counter = idGen$s.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$
|
83
|
+
const tagName$1C = 'div';
|
84
84
|
register('wm-login', () => {
|
85
85
|
return {
|
86
|
-
pre: attrs => `<${tagName$
|
87
|
-
post: () => `</${tagName$
|
86
|
+
pre: attrs => `<${tagName$1C} wmLogin ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction">`,
|
87
|
+
post: () => `</${tagName$1C}>`,
|
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$
|
102
|
+
const tagName$1B = 'marquee';
|
103
103
|
register('wm-marquee', () => {
|
104
104
|
return {
|
105
|
-
pre: attrs => `<${tagName$
|
106
|
-
post: () => `</${tagName$
|
105
|
+
pre: attrs => `<${tagName$1B} onmouseover="this.stop();" onmouseout="this.start();" wmMarquee role="marquee" aria-live="off" ${getAttrMarkup(attrs)}>`,
|
106
|
+
post: () => `</${tagName$1B}>`
|
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$
|
117
|
-
const idGen$
|
116
|
+
const tagName$1A = 'a';
|
117
|
+
const idGen$r = new IDGenerator('wm_anchor');
|
118
118
|
register('wm-anchor', () => {
|
119
119
|
return {
|
120
120
|
pre: (attrs) => {
|
121
|
-
const counter = idGen$
|
122
|
-
return `<${tagName$
|
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)}>`;
|
123
123
|
},
|
124
|
-
post: () => `</${tagName$
|
124
|
+
post: () => `</${tagName$1A}>`
|
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$
|
134
|
+
const tagName$1z = 'div';
|
135
135
|
register('wm-audio', () => {
|
136
136
|
return {
|
137
|
-
pre: attrs => `<${tagName$
|
138
|
-
post: () => `</${tagName$
|
137
|
+
pre: attrs => `<${tagName$1z} wmAudio ${getAttrMarkup(attrs)}>`,
|
138
|
+
post: () => `</${tagName$1z}>`
|
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$
|
149
|
-
const idGen$
|
148
|
+
const tagName$1y = 'div';
|
149
|
+
const idGen$q = new IDGenerator('wm_html');
|
150
150
|
register('wm-html', () => {
|
151
151
|
return {
|
152
152
|
pre: (attrs) => {
|
153
|
-
const counter = idGen$
|
154
|
-
return `<${tagName$
|
153
|
+
const counter = idGen$q.nextUid();
|
154
|
+
return `<${tagName$1y} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
|
155
155
|
},
|
156
|
-
post: () => `</${tagName$
|
156
|
+
post: () => `</${tagName$1y}>`
|
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$
|
166
|
+
const tagName$1x = 'span';
|
167
167
|
register('wm-icon', () => {
|
168
168
|
return {
|
169
|
-
pre: attrs => `<${tagName$
|
170
|
-
post: () => `</${tagName$
|
169
|
+
pre: attrs => `<${tagName$1x} wmIcon aria-hidden="true" ${getAttrMarkup(attrs)}>`,
|
170
|
+
post: () => `</${tagName$1x}>`
|
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$
|
180
|
+
const tagName$1w = 'div';
|
181
181
|
register('wm-iframe', () => {
|
182
182
|
return {
|
183
|
-
pre: attrs => `<${tagName$
|
184
|
-
post: () => `</${tagName$
|
183
|
+
pre: attrs => `<${tagName$1w} wmIframe ${getAttrMarkup(attrs)}>`,
|
184
|
+
post: () => `</${tagName$1w}>`
|
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$
|
195
|
-
const idGen$
|
194
|
+
let tagName$1v = 'p';
|
195
|
+
const idGen$p = 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$
|
204
|
+
tagName$1v = attrs.get('type');
|
205
205
|
}
|
206
206
|
else {
|
207
|
-
tagName$
|
207
|
+
tagName$1v = 'label';
|
208
208
|
}
|
209
|
-
const counter = idGen$
|
210
|
-
return `<${tagName$
|
209
|
+
const counter = idGen$p.nextUid();
|
210
|
+
return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
|
211
211
|
},
|
212
|
-
post: () => `</${tagName$
|
212
|
+
post: () => `</${tagName$1v}>`
|
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$
|
223
|
-
const idGen$
|
222
|
+
const tagName$1u = 'img';
|
223
|
+
const idGen$o = new IDGenerator('wm_picture');
|
224
224
|
register('wm-picture', () => {
|
225
225
|
return {
|
226
226
|
pre: (attrs) => {
|
227
|
-
const counter = idGen$
|
228
|
-
return `<${tagName$
|
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)}>`;
|
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$
|
240
|
-
const idGen$
|
239
|
+
const tagName$1t = 'div';
|
240
|
+
const idGen$n = new IDGenerator('wm_spinner');
|
241
241
|
register('wm-spinner', () => {
|
242
242
|
return {
|
243
243
|
pre: (attrs) => {
|
244
|
-
const counter = idGen$
|
245
|
-
return `<${tagName$
|
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)}>`;
|
246
246
|
},
|
247
|
-
post: () => `</${tagName$
|
247
|
+
post: () => `</${tagName$1t}>`
|
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$
|
257
|
+
const tagName$1s = '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$
|
286
|
-
post: () => `</${tagName$
|
285
|
+
pre: attrs => `<${tagName$1s} wmProgressBar ${getAttrMarkup(attrs)}>`,
|
286
|
+
post: () => `</${tagName$1s}>`
|
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$
|
296
|
+
const tagName$1r = 'div';
|
297
297
|
register('wm-progress-circle', () => {
|
298
298
|
return {
|
299
|
-
pre: attrs => `<${tagName$
|
300
|
-
post: () => `</${tagName$
|
299
|
+
pre: attrs => `<${tagName$1r} wmProgressCircle ${getAttrMarkup(attrs)}>`,
|
300
|
+
post: () => `</${tagName$1r}>`
|
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$
|
311
|
-
const idGen$
|
310
|
+
const tagName$1q = 'div';
|
311
|
+
const idGen$m = new IDGenerator('wm_richtexteditor');
|
312
312
|
register('wm-richtexteditor', () => {
|
313
313
|
return {
|
314
314
|
pre: (attrs) => {
|
315
|
-
const counter = idGen$
|
316
|
-
return `<${tagName$
|
315
|
+
const counter = idGen$m.nextUid();
|
316
|
+
return `<${tagName$1q} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.hint || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
|
317
317
|
},
|
318
|
-
post: () => `</${tagName$
|
318
|
+
post: () => `</${tagName$1q}>`
|
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$
|
328
|
+
const tagName$1p = 'div';
|
329
329
|
register('wm-search', () => {
|
330
330
|
return {
|
331
|
-
pre: attrs => `<${tagName$
|
332
|
-
post: () => `</${tagName$
|
331
|
+
pre: attrs => `<${tagName$1p} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
|
332
|
+
post: () => `</${tagName$1p}>`
|
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$
|
342
|
+
const tagName$1o = 'ul';
|
343
343
|
register('wm-tree', () => {
|
344
344
|
return {
|
345
|
-
pre: attrs => `<${tagName$
|
346
|
-
post: () => `</${tagName$
|
345
|
+
pre: attrs => `<${tagName$1o} wmTree class="ztree" ${getAttrMarkup(attrs)}>`,
|
346
|
+
post: () => `</${tagName$1o}>`
|
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$
|
354
|
+
const tagName$1n = 'div';
|
355
355
|
register('wm-card', () => {
|
356
356
|
return {
|
357
|
-
pre: attrs => `<${tagName$
|
358
|
-
post: () => `</${tagName$
|
357
|
+
pre: attrs => `<${tagName$1n} wmCard ${getAttrMarkup(attrs)}>`,
|
358
|
+
post: () => `</${tagName$1n}>`
|
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$
|
368
|
+
const tagName$1m = 'div';
|
369
369
|
register('wm-card-content', () => {
|
370
370
|
return {
|
371
|
-
pre: attrs => `<${tagName$
|
372
|
-
post: () => `</${tagName$
|
371
|
+
pre: attrs => `<${tagName$1m} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,
|
372
|
+
post: () => `</${tagName$1m}>`
|
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$
|
382
|
+
const tagName$1l = 'div';
|
383
383
|
register('wm-card-actions', () => {
|
384
384
|
return {
|
385
|
-
pre: attrs => `<${tagName$
|
386
|
-
post: () => `</${tagName$
|
385
|
+
pre: attrs => `<${tagName$1l} wmCardActions ${getAttrMarkup(attrs)}>`,
|
386
|
+
post: () => `</${tagName$1l}>`
|
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$
|
396
|
+
const tagName$1k = 'div';
|
397
397
|
register('wm-card-footer', () => {
|
398
398
|
return {
|
399
|
-
pre: attrs => `<${tagName$
|
400
|
-
post: () => `</${tagName$
|
399
|
+
pre: attrs => `<${tagName$1k} wmCardFooter ${getAttrMarkup(attrs)}>`,
|
400
|
+
post: () => `</${tagName$1k}>`
|
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$
|
410
|
+
const tagName$1j = 'div';
|
411
411
|
register('wm-chart', () => {
|
412
412
|
return {
|
413
|
-
pre: attrs => `<${tagName$
|
414
|
-
post: () => `</${tagName$
|
413
|
+
pre: attrs => `<${tagName$1j} wmChart redrawable aria-label="${attrs.get('type')} Chart" ${getAttrMarkup(attrs)}>`,
|
414
|
+
post: () => `</${tagName$1j}>`
|
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$
|
424
|
+
const tagName$1i = 'div';
|
425
425
|
const dataSetKey$4 = 'dataset';
|
426
|
-
const idGen$
|
426
|
+
const idGen$l = 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$
|
432
|
+
const counter = idGen$l.nextUid();
|
433
433
|
shared.set('accordion_ref', counter);
|
434
|
-
return `<${tagName$
|
434
|
+
return `<${tagName$1i} wmAccordion #${counter}="wmAccordion" role="tablist" aria-multiselectable="true" ${getAttrMarkup(attrs)}>`;
|
435
435
|
},
|
436
|
-
post: () => `</${tagName$
|
436
|
+
post: () => `</${tagName$1i}>`,
|
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$
|
468
|
-
const idGen$
|
467
|
+
const tagName$1h = 'div';
|
468
|
+
const idGen$k = new IDGenerator('wm_accordionpane');
|
469
469
|
register('wm-accordionpane', () => {
|
470
470
|
return {
|
471
471
|
pre: (attrs) => {
|
472
|
-
const counter = idGen$
|
473
|
-
return `<${tagName$
|
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)}>`;
|
474
474
|
},
|
475
|
-
post: () => `</${tagName$
|
475
|
+
post: () => `</${tagName$1h}>`
|
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$
|
485
|
+
const tagName$1g = 'div';
|
486
486
|
register('wm-container', () => {
|
487
487
|
return {
|
488
|
-
pre: attrs => `<${tagName$
|
489
|
-
post: () => `</${tagName$
|
488
|
+
pre: attrs => `<${tagName$1g} wmContainer partialContainer wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
|
489
|
+
post: () => `</${tagName$1g}>`
|
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$
|
499
|
+
const tagName$1f = 'div';
|
500
500
|
register('wm-gridcolumn', () => {
|
501
501
|
return {
|
502
|
-
pre: attrs => `<${tagName$
|
503
|
-
post: () => `</${tagName$
|
502
|
+
pre: attrs => `<${tagName$1f} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,
|
503
|
+
post: () => `</${tagName$1f}>`
|
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$
|
513
|
+
const tagName$1e = 'div';
|
514
514
|
register('wm-gridrow', () => {
|
515
515
|
return {
|
516
|
-
pre: attrs => `<${tagName$
|
517
|
-
post: () => `</${tagName$
|
516
|
+
pre: attrs => `<${tagName$1e} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,
|
517
|
+
post: () => `</${tagName$1e}>`
|
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$
|
527
|
+
const tagName$1d = 'div';
|
528
528
|
register('wm-layoutgrid', () => {
|
529
529
|
return {
|
530
|
-
pre: attrs => `<${tagName$
|
531
|
-
post: () => `</${tagName$
|
530
|
+
pre: attrs => `<${tagName$1d} wmLayoutGrid ${getAttrMarkup(attrs)}>`,
|
531
|
+
post: () => `</${tagName$1d}>`
|
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$
|
542
|
-
const idGen$
|
541
|
+
const tagName$1c = 'div';
|
542
|
+
const idGen$j = new IDGenerator('wm_panel');
|
543
543
|
register('wm-panel', () => {
|
544
544
|
return {
|
545
545
|
pre: (attrs) => {
|
546
|
-
const counter = idGen$
|
547
|
-
return `<${tagName$
|
546
|
+
const counter = idGen$j.nextUid();
|
547
|
+
return `<${tagName$1c} wmPanel #${counter}="wmPanel" partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
|
548
548
|
},
|
549
|
-
post: () => `</${tagName$
|
549
|
+
post: () => `</${tagName$1c}>`
|
550
550
|
};
|
551
551
|
});
|
552
552
|
register('wm-panel-footer', () => {
|
553
553
|
return {
|
554
|
-
pre: attrs => `<${tagName$
|
555
|
-
post: () => `</${tagName$
|
554
|
+
pre: attrs => `<${tagName$1c} wmPanelFooter ${getAttrMarkup(attrs)}>`,
|
555
|
+
post: () => `</${tagName$1c}>`
|
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$
|
565
|
+
const tagName$1b = 'div';
|
566
566
|
register('wm-segmented-control', () => {
|
567
567
|
return {
|
568
|
-
pre: attrs => `<${tagName$
|
569
|
-
post: () => `</${tagName$
|
568
|
+
pre: attrs => `<${tagName$1b} wmSegmentedControl ${getAttrMarkup(attrs)}>`,
|
569
|
+
post: () => `</${tagName$1b}>`
|
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$
|
579
|
+
const tagName$1a = 'li';
|
580
580
|
register('wm-segment-content', () => {
|
581
581
|
return {
|
582
|
-
pre: attrs => `<${tagName$
|
583
|
-
post: () => `</${tagName$
|
582
|
+
pre: attrs => `<${tagName$1a} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
583
|
+
post: () => `</${tagName$1a}>`
|
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$
|
621
|
+
const tagName$19 = 'div';
|
622
622
|
const dataSetKey$3 = 'dataset';
|
623
|
-
const idGen$
|
623
|
+
const idGen$i = 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$
|
629
|
+
const counter = idGen$i.nextUid();
|
630
630
|
shared.set('tabs_ref', counter);
|
631
|
-
return `<${tagName$
|
631
|
+
return `<${tagName$19} wmTabs #${counter}="wmTabs" ${getAttrMarkup(attrs)}>`;
|
632
632
|
},
|
633
|
-
post: () => `</${tagName$
|
633
|
+
post: () => `</${tagName$19}>`,
|
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$
|
664
|
+
const tagName$18 = 'div';
|
665
665
|
register('wm-tabpane', () => {
|
666
666
|
return {
|
667
|
-
pre: attrs => `<${tagName$
|
668
|
-
post: () => `</${tagName$
|
667
|
+
pre: attrs => `<${tagName$18} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element="true" role="tabpanel">`,
|
668
|
+
post: () => `</${tagName$18}>`
|
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$
|
678
|
+
const tagName$17 = 'div';
|
679
679
|
register('wm-tile', () => {
|
680
680
|
return {
|
681
|
-
pre: attrs => `<${tagName$
|
682
|
-
post: () => `</${tagName$
|
681
|
+
pre: attrs => `<${tagName$17} wmTile aria-describedby="Tile" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
682
|
+
post: () => `</${tagName$17}>`
|
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$
|
692
|
+
const tagName$16 = 'div';
|
693
693
|
register('wm-wizard', () => {
|
694
694
|
return {
|
695
|
-
pre: attrs => `<${tagName$
|
696
|
-
post: () => `</${tagName$
|
695
|
+
pre: attrs => `<${tagName$16} wmWizard role="tablist" ${getAttrMarkup(attrs)}>`,
|
696
|
+
post: () => `</${tagName$16}>`
|
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$
|
707
|
-
const idGen$
|
706
|
+
const tagName$15 = 'form';
|
707
|
+
const idGen$h = new IDGenerator('wizard_step_id_');
|
708
708
|
register('wm-wizardstep', () => {
|
709
709
|
return {
|
710
710
|
pre: attrs => {
|
711
|
-
const counter = idGen$
|
712
|
-
return `<${tagName$
|
711
|
+
const counter = idGen$h.nextUid();
|
712
|
+
return `<${tagName$15} wmWizardStep #${counter}="wmWizardStep" ${getAttrMarkup(attrs)}>
|
713
713
|
<ng-template [ngIf]="${counter}.isInitialized">`;
|
714
714
|
},
|
715
|
-
post: () => `</ng-template></${tagName$
|
715
|
+
post: () => `</ng-template></${tagName$15}>`
|
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$
|
726
|
-
const idGen$
|
725
|
+
const tagName$14 = 'button';
|
726
|
+
const idGen$g = new IDGenerator('wm_barcodescanner');
|
727
727
|
register('wm-barcodescanner', () => {
|
728
728
|
return {
|
729
729
|
pre: (attrs) => {
|
730
|
-
const counter = idGen$
|
731
|
-
return `<${tagName$
|
730
|
+
const counter = idGen$g.nextUid();
|
731
|
+
return `<${tagName$14} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.hint || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
|
732
732
|
},
|
733
|
-
post: () => `</${tagName$
|
733
|
+
post: () => `</${tagName$14}>`
|
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$
|
744
|
-
const idGen$
|
743
|
+
const tagName$13 = 'button';
|
744
|
+
const idGen$f = new IDGenerator('wm_camera');
|
745
745
|
register('wm-camera', () => {
|
746
746
|
return {
|
747
747
|
pre: (attrs) => {
|
748
|
-
const counter = idGen$
|
749
|
-
return `<${tagName$
|
748
|
+
const counter = idGen$f.nextUid();
|
749
|
+
return `<${tagName$13} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.hint || 'Camera'" ${getAttrMarkup(attrs)}>`;
|
750
750
|
},
|
751
|
-
post: () => `</${tagName$
|
751
|
+
post: () => `</${tagName$13}>`
|
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$
|
761
|
+
const tagName$12 = 'div';
|
762
762
|
register('wm-alertdialog', () => {
|
763
763
|
return {
|
764
|
-
pre: attrs => `<${tagName$
|
765
|
-
post: () => `</${tagName$
|
764
|
+
pre: attrs => `<${tagName$12} wmAlertDialog role="alertdialog" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
765
|
+
post: () => `</${tagName$12}>`
|
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$
|
775
|
+
const tagName$11 = 'div';
|
776
776
|
register('wm-confirmdialog', () => {
|
777
777
|
return {
|
778
|
-
pre: attrs => `<${tagName$
|
779
|
-
post: () => `</${tagName$
|
778
|
+
pre: attrs => `<${tagName$11} wmConfirmDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
779
|
+
post: () => `</${tagName$11}>`
|
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$
|
789
|
+
const tagName$10 = 'div';
|
790
790
|
register('wm-dialogactions', () => {
|
791
791
|
return {
|
792
|
-
pre: attrs => `<ng-template #dialogFooter><${tagName$
|
793
|
-
post: () => `</${tagName$
|
792
|
+
pre: attrs => `<ng-template #dialogFooter><${tagName$10} wmDialogFooter data-identfier="actions" ${getAttrMarkup(attrs)}>`,
|
793
|
+
post: () => `</${tagName$10}></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
|
803
|
+
const tagName$$ = 'div';
|
804
804
|
register('wm-dialog', () => {
|
805
805
|
return {
|
806
|
-
pre: attrs => `<${tagName
|
807
|
-
post: () => `</ng-template></${tagName
|
806
|
+
pre: attrs => `<${tagName$$} wmDialog ${getAttrMarkup(attrs)} aria-modal="true" role="dialog" wm-navigable-element="true"><ng-template #dialogBody>`,
|
807
|
+
post: () => `</ng-template></${tagName$$}>`
|
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$
|
824
|
+
const tagName$_ = 'div';
|
825
825
|
register('wm-iframedialog', () => {
|
826
826
|
return {
|
827
|
-
pre: attrs => `<${tagName$
|
828
|
-
post: () => `</${tagName$
|
827
|
+
pre: attrs => `<${tagName$_} wmIframeDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
828
|
+
post: () => `</${tagName$_}>`
|
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
|
838
|
+
const tagName$Z = 'div';
|
839
839
|
register('wm-logindialog', () => {
|
840
840
|
return {
|
841
|
-
pre: attrs => `<${tagName
|
842
|
-
post: () => `</ng-template></${tagName
|
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}>`
|
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$
|
852
|
+
const tagName$Y = '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$
|
878
|
+
return `<${tagName$Y} 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$
|
885
|
+
return `${preContent}</${tagName$Y}>`;
|
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$
|
965
|
-
const idGen$
|
964
|
+
const tagName$X = 'div';
|
965
|
+
const idGen$e = new IDGenerator('formfield_');
|
966
966
|
const getEventsTemplate = (attrs) => {
|
967
967
|
const eventAttrs = new Map();
|
968
968
|
if (!attrs.has('focus.event')) {
|
@@ -1013,13 +1013,12 @@ 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');
|
1017
1016
|
const fieldName = (attrs.get('key') || name || '').trim();
|
1018
1017
|
const formControl = options.isMaxWidget ? `formControlName="${fieldName}_max"` : (options.isInList ? `[formControlName]="${options.counter}._fieldName"` : `formControlName="${fieldName}"`);
|
1019
1018
|
const tmplRef = options.isMaxWidget ? `#formWidgetMax` : `#formWidget`;
|
1020
1019
|
const widgetName = name ? (options.isMaxWidget ? `name="${name}_formWidgetMax"` : `name="${name}_formWidget"`) : '';
|
1021
1020
|
const conditionalClass = `[ngClass]="${attrs.get('ngclass')}"`;
|
1022
|
-
const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName}
|
1021
|
+
const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName}`;
|
1023
1022
|
return getFormWidgetTemplate(options.widgetType, defaultTmpl, attrs, { counter: options.counter, pCounter: options.pCounter });
|
1024
1023
|
};
|
1025
1024
|
const getTemplate = (attrs, widgetType, eventsTmpl, counter, pCounter, isInList) => {
|
@@ -1063,7 +1062,7 @@ const registerFormField = (isFormField) => {
|
|
1063
1062
|
return {
|
1064
1063
|
requires: ['wm-form', 'wm-liveform', 'wm-livefilter', 'wm-list'],
|
1065
1064
|
pre: (attrs, shared, parentForm, parentLiveForm, parentFilter, parentList) => {
|
1066
|
-
const counter = idGen$
|
1065
|
+
const counter = idGen$e.nextUid();
|
1067
1066
|
const parent = parentForm || parentLiveForm || parentFilter;
|
1068
1067
|
const pCounter = (parent && parent.get('form_reference')) || 'form';
|
1069
1068
|
const widgetType = attrs.get('widget') || FormWidgetType.TEXT;
|
@@ -1086,7 +1085,7 @@ const registerFormField = (isFormField) => {
|
|
1086
1085
|
else {
|
1087
1086
|
setDefaultPlaceholder(attrs, widgetType, 2);
|
1088
1087
|
}
|
1089
|
-
return `<${tagName$
|
1088
|
+
return `<${tagName$X} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField wmCaptionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${getFormMarkupAttr(attrs)}>
|
1090
1089
|
<div class="live-field form-group app-composite-widget clearfix caption-{{${pCounter}.captionposition}}" widget="${widgetType}">
|
1091
1090
|
<label [hidden]="!${counter}.displayname" class="app-label control-label formfield-label {{${pCounter}._captionClass}}"
|
1092
1091
|
[ngStyle]="{width: ${pCounter}.captionsize}" [ngClass]="{'text-danger': ${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode,
|
@@ -1102,7 +1101,7 @@ const registerFormField = (isFormField) => {
|
|
1102
1101
|
</div>
|
1103
1102
|
</div>`;
|
1104
1103
|
},
|
1105
|
-
post: () => `</${tagName$
|
1104
|
+
post: () => `</${tagName$X}>`,
|
1106
1105
|
provide: (attrs, shared) => {
|
1107
1106
|
const provider = new Map();
|
1108
1107
|
provider.set('form_reference', shared.get('counter'));
|
@@ -1124,11 +1123,11 @@ var formField_build$1 = /*#__PURE__*/Object.freeze({
|
|
1124
1123
|
default: formField_build
|
1125
1124
|
});
|
1126
1125
|
|
1127
|
-
const tagName$
|
1126
|
+
const tagName$W = 'div';
|
1128
1127
|
const registerAction = (tmpl) => {
|
1129
1128
|
return {
|
1130
|
-
pre: attrs => `<${tagName$
|
1131
|
-
post: () => `</${tagName$
|
1129
|
+
pre: attrs => `<${tagName$W} wmFormAction name="${attrs.get('name') || attrs.get('key')}" ${getAttrMarkup(attrs)} ${tmpl}>`,
|
1130
|
+
post: () => `</${tagName$W}>`
|
1132
1131
|
};
|
1133
1132
|
};
|
1134
1133
|
register('wm-form-action', registerAction.bind(this, ''));
|
@@ -1140,8 +1139,8 @@ var formAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
1140
1139
|
default: formAction_build
|
1141
1140
|
});
|
1142
1141
|
|
1143
|
-
const tagName$
|
1144
|
-
const idGen$
|
1142
|
+
const tagName$V = 'form';
|
1143
|
+
const idGen$d = new IDGenerator('form_');
|
1145
1144
|
const formWidgets$1 = new Set([
|
1146
1145
|
'wm-text',
|
1147
1146
|
'wm-textarea',
|
@@ -1209,7 +1208,7 @@ const buildTask = (directiveAttr = '') => {
|
|
1209
1208
|
let tmpl;
|
1210
1209
|
let dialogId;
|
1211
1210
|
const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';
|
1212
|
-
const counter = idGen$
|
1211
|
+
const counter = idGen$d.nextUid();
|
1213
1212
|
const dependsOn = attrs.get('dependson') ? `dependson="${attrs.get('dependson')}"` : '';
|
1214
1213
|
if (dependsOn) {
|
1215
1214
|
attrs.set('dependsontable', attrs.get('dependson'));
|
@@ -1217,7 +1216,7 @@ const buildTask = (directiveAttr = '') => {
|
|
1217
1216
|
const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';
|
1218
1217
|
const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];
|
1219
1218
|
attrs.delete('dependson');
|
1220
|
-
const liveFormTmpl = `<${tagName$
|
1219
|
+
const liveFormTmpl = `<${tagName$V} wmForm data-role="${role}" ${directiveAttr} #${counter} ngNativeValidate [formGroup]="${counter}.ngform" [noValidate]="${counter}.validationtype !== 'html'"
|
1221
1220
|
class="${classProp}" [class]="${counter}.captionAlignClass" [autocomplete]="${counter}.autocomplete ? 'on' : 'off'" captionposition=${attrs.get('captionposition')}`;
|
1222
1221
|
attrs.set('numberOfFields', `${numberOfFields}`);
|
1223
1222
|
shared.set('counter', counter);
|
@@ -1270,12 +1269,12 @@ const buildTask = (directiveAttr = '') => {
|
|
1270
1269
|
return '</form></ng-template></div></div>';
|
1271
1270
|
}
|
1272
1271
|
if (attrs.get('formlayout') === 'page') {
|
1273
|
-
return `</div></${tagName$
|
1272
|
+
return `</div></${tagName$V}>`;
|
1274
1273
|
}
|
1275
1274
|
if (attrs.get('dependsontable')) {
|
1276
|
-
return `</${tagName$
|
1275
|
+
return `</${tagName$V}></div>`;
|
1277
1276
|
}
|
1278
|
-
return `</${tagName$
|
1277
|
+
return `</${tagName$V}>`;
|
1279
1278
|
},
|
1280
1279
|
provide: (attrs, shared) => {
|
1281
1280
|
const provider = new Map();
|
@@ -1294,14 +1293,14 @@ var form_build$1 = /*#__PURE__*/Object.freeze({
|
|
1294
1293
|
default: form_build
|
1295
1294
|
});
|
1296
1295
|
|
1297
|
-
const tagName$
|
1296
|
+
const tagName$U = 'div';
|
1298
1297
|
register('wm-calendar', () => {
|
1299
1298
|
return {
|
1300
1299
|
pre: (attrs) => {
|
1301
1300
|
let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';
|
1302
|
-
return `<${tagName$
|
1301
|
+
return `<${tagName$U} wmCalendar redrawable style="width:100%" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
|
1303
1302
|
},
|
1304
|
-
post: () => `</${tagName$
|
1303
|
+
post: () => `</${tagName$U}>`
|
1305
1304
|
};
|
1306
1305
|
});
|
1307
1306
|
var calendar_build = () => { };
|
@@ -1311,11 +1310,11 @@ var calendar_build$1 = /*#__PURE__*/Object.freeze({
|
|
1311
1310
|
default: calendar_build
|
1312
1311
|
});
|
1313
1312
|
|
1314
|
-
const tagName$
|
1313
|
+
const tagName$T = 'ul';
|
1315
1314
|
register('wm-chips', () => {
|
1316
1315
|
return {
|
1317
|
-
pre: attrs => `<${tagName$
|
1318
|
-
post: () => `</${tagName$
|
1316
|
+
pre: attrs => `<${tagName$T} wmChips role="listbox" ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
|
1317
|
+
post: () => `</${tagName$T}>`
|
1319
1318
|
};
|
1320
1319
|
});
|
1321
1320
|
var chips_build = () => { };
|
@@ -1325,11 +1324,11 @@ var chips_build$1 = /*#__PURE__*/Object.freeze({
|
|
1325
1324
|
default: chips_build
|
1326
1325
|
});
|
1327
1326
|
|
1328
|
-
const tagName$
|
1327
|
+
const tagName$S = 'div';
|
1329
1328
|
register('wm-colorpicker', () => {
|
1330
1329
|
return {
|
1331
|
-
pre: attrs => `<${tagName$
|
1332
|
-
post: () => `</${tagName$
|
1330
|
+
pre: attrs => `<${tagName$S} wmColorPicker ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
1331
|
+
post: () => `</${tagName$S}>`
|
1333
1332
|
};
|
1334
1333
|
});
|
1335
1334
|
var colorPicker_build = () => { };
|
@@ -1339,11 +1338,11 @@ var colorPicker_build$1 = /*#__PURE__*/Object.freeze({
|
|
1339
1338
|
default: colorPicker_build
|
1340
1339
|
});
|
1341
1340
|
|
1342
|
-
const tagName$
|
1341
|
+
const tagName$R = 'div';
|
1343
1342
|
register('wm-currency', () => {
|
1344
1343
|
return {
|
1345
|
-
pre: attrs => `<${tagName$
|
1346
|
-
post: () => `</${tagName$
|
1344
|
+
pre: attrs => `<${tagName$R} wmCurrency ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
1345
|
+
post: () => `</${tagName$R}>`
|
1347
1346
|
};
|
1348
1347
|
});
|
1349
1348
|
var currency_build = () => { };
|
@@ -1353,11 +1352,11 @@ var currency_build$1 = /*#__PURE__*/Object.freeze({
|
|
1353
1352
|
default: currency_build
|
1354
1353
|
});
|
1355
1354
|
|
1356
|
-
const tagName$
|
1355
|
+
const tagName$Q = 'div';
|
1357
1356
|
register('wm-buttongroup', () => {
|
1358
1357
|
return {
|
1359
|
-
pre: attrs => `<${tagName$
|
1360
|
-
post: () => `</${tagName$
|
1358
|
+
pre: attrs => `<${tagName$Q} wmButtonGroup role="group" aria-labelledby="button group" ${getAttrMarkup(attrs)}>`,
|
1359
|
+
post: () => `</${tagName$Q}>`
|
1361
1360
|
};
|
1362
1361
|
});
|
1363
1362
|
var buttonGroup_build = () => { };
|
@@ -1367,15 +1366,15 @@ var buttonGroup_build$1 = /*#__PURE__*/Object.freeze({
|
|
1367
1366
|
default: buttonGroup_build
|
1368
1367
|
});
|
1369
1368
|
|
1370
|
-
const tagName$
|
1371
|
-
const idGen$
|
1369
|
+
const tagName$P = 'button';
|
1370
|
+
const idGen$c = new IDGenerator('wm_button');
|
1372
1371
|
register('wm-button', () => {
|
1373
1372
|
return {
|
1374
1373
|
pre: (attrs) => {
|
1375
|
-
const counter = idGen$
|
1376
|
-
return `<${tagName$
|
1374
|
+
const counter = idGen$c.nextUid();
|
1375
|
+
return `<${tagName$P} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.hint || ${counter}.caption || null" ${getAttrMarkup(attrs)}>`;
|
1377
1376
|
},
|
1378
|
-
post: () => `</${tagName$
|
1377
|
+
post: () => `</${tagName$P}>`
|
1379
1378
|
};
|
1380
1379
|
});
|
1381
1380
|
var button_build = () => { };
|
@@ -1385,11 +1384,11 @@ var button_build$1 = /*#__PURE__*/Object.freeze({
|
|
1385
1384
|
default: button_build
|
1386
1385
|
});
|
1387
1386
|
|
1388
|
-
const tagName$
|
1387
|
+
const tagName$O = 'div';
|
1389
1388
|
register('wm-checkbox', () => {
|
1390
1389
|
return {
|
1391
|
-
pre: attrs => `<${tagName$
|
1392
|
-
post: () => `</${tagName$
|
1390
|
+
pre: attrs => `<${tagName$O} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
1391
|
+
post: () => `</${tagName$O}>`
|
1393
1392
|
};
|
1394
1393
|
});
|
1395
1394
|
var checkbox_build = () => { };
|
@@ -1399,11 +1398,11 @@ var checkbox_build$1 = /*#__PURE__*/Object.freeze({
|
|
1399
1398
|
default: checkbox_build
|
1400
1399
|
});
|
1401
1400
|
|
1402
|
-
const tagName$
|
1401
|
+
const tagName$N = 'ul';
|
1403
1402
|
register('wm-checkboxset', () => {
|
1404
1403
|
return {
|
1405
|
-
pre: attrs => `<${tagName$
|
1406
|
-
post: () => `</${tagName$
|
1404
|
+
pre: attrs => `<${tagName$N} role="group" wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
1405
|
+
post: () => `</${tagName$N}>`
|
1407
1406
|
};
|
1408
1407
|
});
|
1409
1408
|
var checkboxset_build = () => { };
|
@@ -1413,11 +1412,11 @@ var checkboxset_build$1 = /*#__PURE__*/Object.freeze({
|
|
1413
1412
|
default: checkboxset_build
|
1414
1413
|
});
|
1415
1414
|
|
1416
|
-
const tagName$
|
1415
|
+
const tagName$M = 'div';
|
1417
1416
|
register('wm-composite', () => {
|
1418
1417
|
return {
|
1419
|
-
pre: attrs => `<${tagName$
|
1420
|
-
post: () => `</${tagName$
|
1418
|
+
pre: attrs => `<${tagName$M} wmComposite wmCaptionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,
|
1419
|
+
post: () => `</${tagName$M}${clearChildAttrs()}>`
|
1421
1420
|
};
|
1422
1421
|
});
|
1423
1422
|
var composite_build = () => { };
|
@@ -1427,11 +1426,11 @@ var composite_build$1 = /*#__PURE__*/Object.freeze({
|
|
1427
1426
|
default: composite_build
|
1428
1427
|
});
|
1429
1428
|
|
1430
|
-
const tagName$
|
1429
|
+
const tagName$L = 'div';
|
1431
1430
|
register('wm-number', () => {
|
1432
1431
|
return {
|
1433
|
-
pre: attrs => `<${tagName$
|
1434
|
-
post: () => `</${tagName$
|
1432
|
+
pre: attrs => `<${tagName$L} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
1433
|
+
post: () => `</${tagName$L}>`
|
1435
1434
|
};
|
1436
1435
|
});
|
1437
1436
|
var number_build = () => { };
|
@@ -1441,11 +1440,11 @@ var number_build$1 = /*#__PURE__*/Object.freeze({
|
|
1441
1440
|
default: number_build
|
1442
1441
|
});
|
1443
1442
|
|
1444
|
-
const tagName$
|
1443
|
+
const tagName$K = 'ul';
|
1445
1444
|
register('wm-radioset', () => {
|
1446
1445
|
return {
|
1447
|
-
pre: attrs => `<${tagName$
|
1448
|
-
post: () => `</${tagName$
|
1446
|
+
pre: attrs => `<${tagName$K} role="radiogroup" wmRadioset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
1447
|
+
post: () => `</${tagName$K}>`
|
1449
1448
|
};
|
1450
1449
|
});
|
1451
1450
|
var radioset_build = () => { };
|
@@ -1455,11 +1454,11 @@ var radioset_build$1 = /*#__PURE__*/Object.freeze({
|
|
1455
1454
|
default: radioset_build
|
1456
1455
|
});
|
1457
1456
|
|
1458
|
-
const tagName$
|
1457
|
+
const tagName$J = 'wm-select';
|
1459
1458
|
register('wm-select', () => {
|
1460
1459
|
return {
|
1461
|
-
pre: attrs => `<${tagName$
|
1462
|
-
post: () => `</${tagName$
|
1460
|
+
pre: attrs => `<${tagName$J} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
1461
|
+
post: () => `</${tagName$J}>`
|
1463
1462
|
};
|
1464
1463
|
});
|
1465
1464
|
var select_build = () => { };
|
@@ -1469,15 +1468,15 @@ var select_build$1 = /*#__PURE__*/Object.freeze({
|
|
1469
1468
|
default: select_build
|
1470
1469
|
});
|
1471
1470
|
|
1472
|
-
const tagName$
|
1473
|
-
const idGen$
|
1471
|
+
const tagName$I = 'div';
|
1472
|
+
const idGen$b = new IDGenerator('wm_switch');
|
1474
1473
|
register('wm-switch', () => {
|
1475
1474
|
return {
|
1476
1475
|
pre: (attrs) => {
|
1477
|
-
const counter = idGen$
|
1478
|
-
return `<${tagName$
|
1476
|
+
const counter = idGen$b.nextUid();
|
1477
|
+
return `<${tagName$I} wmSwitch #${counter}="wmSwitch" [attr.aria-label]="${counter}.hint || 'Switch button'" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;
|
1479
1478
|
},
|
1480
|
-
post: () => `</${tagName$
|
1479
|
+
post: () => `</${tagName$I}>`
|
1481
1480
|
};
|
1482
1481
|
});
|
1483
1482
|
var switch_build = () => { };
|
@@ -1487,11 +1486,11 @@ var switch_build$1 = /*#__PURE__*/Object.freeze({
|
|
1487
1486
|
default: switch_build
|
1488
1487
|
});
|
1489
1488
|
|
1490
|
-
const tagName$
|
1489
|
+
const tagName$H = 'wm-input';
|
1491
1490
|
register('wm-text', () => {
|
1492
1491
|
return {
|
1493
|
-
pre: attrs => `<${tagName$
|
1494
|
-
post: () => `</${tagName$
|
1492
|
+
pre: attrs => `<${tagName$H} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
1493
|
+
post: () => `</${tagName$H}>`
|
1495
1494
|
};
|
1496
1495
|
});
|
1497
1496
|
var text_build = () => { };
|
@@ -1501,11 +1500,11 @@ var text_build$1 = /*#__PURE__*/Object.freeze({
|
|
1501
1500
|
default: text_build
|
1502
1501
|
});
|
1503
1502
|
|
1504
|
-
const tagName$
|
1503
|
+
const tagName$G = 'wm-textarea';
|
1505
1504
|
register('wm-textarea', () => {
|
1506
1505
|
return {
|
1507
|
-
pre: attrs => `<${tagName$
|
1508
|
-
post: () => `</${tagName$
|
1506
|
+
pre: attrs => `<${tagName$G} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
1507
|
+
post: () => `</${tagName$G}>`
|
1509
1508
|
};
|
1510
1509
|
});
|
1511
1510
|
var textarea_build = () => { };
|
@@ -1515,11 +1514,11 @@ var textarea_build$1 = /*#__PURE__*/Object.freeze({
|
|
1515
1514
|
default: textarea_build
|
1516
1515
|
});
|
1517
1516
|
|
1518
|
-
const tagName$
|
1517
|
+
const tagName$F = 'div';
|
1519
1518
|
register('wm-datetime', () => {
|
1520
1519
|
return {
|
1521
|
-
pre: attrs => `<${tagName$
|
1522
|
-
post: () => `</${tagName$
|
1520
|
+
pre: attrs => `<${tagName$F} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
1521
|
+
post: () => `</${tagName$F}>`
|
1523
1522
|
};
|
1524
1523
|
});
|
1525
1524
|
var dateTime_build = () => { };
|
@@ -1529,11 +1528,11 @@ var dateTime_build$1 = /*#__PURE__*/Object.freeze({
|
|
1529
1528
|
default: dateTime_build
|
1530
1529
|
});
|
1531
1530
|
|
1532
|
-
const tagName$
|
1531
|
+
const tagName$E = 'div';
|
1533
1532
|
register('wm-date', () => {
|
1534
1533
|
return {
|
1535
|
-
pre: attrs => `<${tagName$
|
1536
|
-
post: () => `</${tagName$
|
1534
|
+
pre: attrs => `<${tagName$E} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
1535
|
+
post: () => `</${tagName$E}>`
|
1537
1536
|
};
|
1538
1537
|
});
|
1539
1538
|
var date_build = () => { };
|
@@ -1543,11 +1542,11 @@ var date_build$1 = /*#__PURE__*/Object.freeze({
|
|
1543
1542
|
default: date_build
|
1544
1543
|
});
|
1545
1544
|
|
1546
|
-
const tagName$
|
1545
|
+
const tagName$D = 'div';
|
1547
1546
|
register('wm-time', () => {
|
1548
1547
|
return {
|
1549
|
-
pre: attrs => `<${tagName$
|
1550
|
-
post: () => `</${tagName$
|
1548
|
+
pre: attrs => `<${tagName$D} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
1549
|
+
post: () => `</${tagName$D}>`
|
1551
1550
|
};
|
1552
1551
|
});
|
1553
1552
|
var time_build = () => { };
|
@@ -1557,7 +1556,7 @@ var time_build$1 = /*#__PURE__*/Object.freeze({
|
|
1557
1556
|
default: time_build
|
1558
1557
|
});
|
1559
1558
|
|
1560
|
-
const tagName$
|
1559
|
+
const tagName$C = 'div';
|
1561
1560
|
register('wm-fileupload', () => {
|
1562
1561
|
return {
|
1563
1562
|
pre: attrs => {
|
@@ -1565,9 +1564,9 @@ register('wm-fileupload', () => {
|
|
1565
1564
|
const onSelectBinding = getDataSource(attrs.get('select.event'));
|
1566
1565
|
attrs.set('datasource.bind', onSelectBinding);
|
1567
1566
|
}
|
1568
|
-
return `<${tagName$
|
1567
|
+
return `<${tagName$C} wmFileUpload ${getAttrMarkup(attrs)} role="input">`;
|
1569
1568
|
},
|
1570
|
-
post: () => `</${tagName$
|
1569
|
+
post: () => `</${tagName$C}>`
|
1571
1570
|
};
|
1572
1571
|
});
|
1573
1572
|
var fileUpload_build = () => { };
|
@@ -1577,11 +1576,11 @@ var fileUpload_build$1 = /*#__PURE__*/Object.freeze({
|
|
1577
1576
|
default: fileUpload_build
|
1578
1577
|
});
|
1579
1578
|
|
1580
|
-
const tagName$
|
1579
|
+
const tagName$B = 'div';
|
1581
1580
|
register('wm-rating', () => {
|
1582
1581
|
return {
|
1583
|
-
pre: attrs => `<${tagName$
|
1584
|
-
post: () => `</${tagName$
|
1582
|
+
pre: attrs => `<${tagName$B} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
|
1583
|
+
post: () => `</${tagName$B}>`
|
1585
1584
|
};
|
1586
1585
|
});
|
1587
1586
|
var rating_build = () => { };
|
@@ -1591,11 +1590,11 @@ var rating_build$1 = /*#__PURE__*/Object.freeze({
|
|
1591
1590
|
default: rating_build
|
1592
1591
|
});
|
1593
1592
|
|
1594
|
-
const tagName$
|
1593
|
+
const tagName$A = 'div';
|
1595
1594
|
register('wm-slider', () => {
|
1596
1595
|
return {
|
1597
|
-
pre: attrs => `<${tagName$
|
1598
|
-
post: () => `</${tagName$
|
1596
|
+
pre: attrs => `<${tagName$A} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
|
1597
|
+
post: () => `</${tagName$A}>`
|
1599
1598
|
};
|
1600
1599
|
});
|
1601
1600
|
var slider_build = () => { };
|
@@ -1606,7 +1605,7 @@ var slider_build$1 = /*#__PURE__*/Object.freeze({
|
|
1606
1605
|
});
|
1607
1606
|
|
1608
1607
|
const wmlistTag = 'wm-list';
|
1609
|
-
const tagName$
|
1608
|
+
const tagName$z = 'div';
|
1610
1609
|
const dataSetKey$2 = 'dataset';
|
1611
1610
|
function copyAttribute$1(from, fromAttrName, to, toAttrName) {
|
1612
1611
|
const fromAttr = from.attrs.find(a => a.name === fromAttrName);
|
@@ -1654,8 +1653,8 @@ register('wm-media-list', () => {
|
|
1654
1653
|
copyAttribute$1(template, 'height', node, 'thumbnailheight');
|
1655
1654
|
}
|
1656
1655
|
},
|
1657
|
-
pre: attrs => `<${tagName$
|
1658
|
-
post: () => `</${tagName$
|
1656
|
+
pre: attrs => `<${tagName$z} wmMediaList ${getAttrMarkup(attrs)}>`,
|
1657
|
+
post: () => `</${tagName$z}>`
|
1659
1658
|
};
|
1660
1659
|
});
|
1661
1660
|
var mediaList_build = () => { };
|
@@ -1665,11 +1664,11 @@ var mediaList_build$1 = /*#__PURE__*/Object.freeze({
|
|
1665
1664
|
default: mediaList_build
|
1666
1665
|
});
|
1667
1666
|
|
1668
|
-
const tagName$
|
1667
|
+
const tagName$y = 'ng-template';
|
1669
1668
|
register('wm-media-template', () => {
|
1670
1669
|
return {
|
1671
|
-
pre: () => `<${tagName$
|
1672
|
-
post: () => `</${tagName$
|
1670
|
+
pre: () => `<${tagName$y} #mediaListTemplate let-item="item" let-index="index">`,
|
1671
|
+
post: () => `</${tagName$y}>`
|
1673
1672
|
};
|
1674
1673
|
});
|
1675
1674
|
var mediaListItem_build = () => { };
|
@@ -1753,16 +1752,16 @@ var list_build$1 = /*#__PURE__*/Object.freeze({
|
|
1753
1752
|
default: list_build
|
1754
1753
|
});
|
1755
1754
|
|
1756
|
-
const tagName$
|
1757
|
-
const idGen$
|
1755
|
+
const tagName$x = 'div';
|
1756
|
+
const idGen$a = new IDGenerator('liveform_dialog_id_');
|
1758
1757
|
register('wm-livetable', () => {
|
1759
1758
|
return {
|
1760
1759
|
pre: (attrs, shared) => {
|
1761
|
-
const counter = idGen$
|
1760
|
+
const counter = idGen$a.nextUid();
|
1762
1761
|
shared.set('counter', counter);
|
1763
|
-
return `<${tagName$
|
1762
|
+
return `<${tagName$x} wmLiveTable ${getAttrMarkup(attrs)} dialogid="${counter}">`;
|
1764
1763
|
},
|
1765
|
-
post: () => `</${tagName$
|
1764
|
+
post: () => `</${tagName$x}>`,
|
1766
1765
|
provide: (attrs, shared) => {
|
1767
1766
|
const provider = new Map();
|
1768
1767
|
provider.set('liveform_dialog_id', shared.get('counter'));
|
@@ -1777,15 +1776,15 @@ var liveTable_build$1 = /*#__PURE__*/Object.freeze({
|
|
1777
1776
|
default: liveTable_build
|
1778
1777
|
});
|
1779
1778
|
|
1780
|
-
const tagName$
|
1781
|
-
const idGen$
|
1779
|
+
const tagName$w = 'p';
|
1780
|
+
const idGen$9 = new IDGenerator('wm_message');
|
1782
1781
|
register('wm-message', () => {
|
1783
1782
|
return {
|
1784
1783
|
pre: (attrs) => {
|
1785
|
-
const counter = idGen$
|
1786
|
-
return `<${tagName$
|
1784
|
+
const counter = idGen$9.nextUid();
|
1785
|
+
return `<${tagName$w} wmMessage tabindex="0" #${counter}="wmMessage" ${getAttrMarkup(attrs)}>`;
|
1787
1786
|
},
|
1788
|
-
post: () => `</${tagName$
|
1787
|
+
post: () => `</${tagName$w}>`
|
1789
1788
|
};
|
1790
1789
|
});
|
1791
1790
|
var message_build = () => { };
|
@@ -1795,11 +1794,11 @@ var message_build$1 = /*#__PURE__*/Object.freeze({
|
|
1795
1794
|
default: message_build
|
1796
1795
|
});
|
1797
1796
|
|
1798
|
-
const tagName$
|
1797
|
+
const tagName$v = 'ol';
|
1799
1798
|
register('wm-breadcrumb', () => {
|
1800
1799
|
return {
|
1801
|
-
pre: attrs => `<${tagName$
|
1802
|
-
post: () => `</${tagName$
|
1800
|
+
pre: attrs => `<${tagName$v} wmBreadcrumb ${getAttrMarkup(attrs)}>`,
|
1801
|
+
post: () => `</${tagName$v}>`
|
1803
1802
|
};
|
1804
1803
|
});
|
1805
1804
|
var breadcrumb_build = () => { };
|
@@ -1809,7 +1808,7 @@ var breadcrumb_build$1 = /*#__PURE__*/Object.freeze({
|
|
1809
1808
|
default: breadcrumb_build
|
1810
1809
|
});
|
1811
1810
|
|
1812
|
-
const tagName$
|
1811
|
+
const tagName$u = 'div';
|
1813
1812
|
register('wm-menu', () => {
|
1814
1813
|
return {
|
1815
1814
|
pre: attrs => {
|
@@ -1824,13 +1823,13 @@ register('wm-menu', () => {
|
|
1824
1823
|
else {
|
1825
1824
|
styleBinding = `[ngStyle]="{'width': '${menuWidth}px'}"`;
|
1826
1825
|
}
|
1827
|
-
return `<${tagName$
|
1826
|
+
return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
|
1828
1827
|
}
|
1829
1828
|
else {
|
1830
|
-
return `<${tagName$
|
1829
|
+
return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)}>`;
|
1831
1830
|
}
|
1832
1831
|
},
|
1833
|
-
post: () => `</${tagName$
|
1832
|
+
post: () => `</${tagName$u}>`
|
1834
1833
|
};
|
1835
1834
|
});
|
1836
1835
|
var menu_build = () => { };
|
@@ -1840,11 +1839,11 @@ var menu_build$1 = /*#__PURE__*/Object.freeze({
|
|
1840
1839
|
default: menu_build
|
1841
1840
|
});
|
1842
1841
|
|
1843
|
-
const tagName$
|
1842
|
+
const tagName$t = 'li';
|
1844
1843
|
register('wm-nav-item', () => {
|
1845
1844
|
return {
|
1846
|
-
pre: attrs => `<${tagName$
|
1847
|
-
post: () => `</${tagName$
|
1845
|
+
pre: attrs => `<${tagName$t} wmNavItem role="listitem" ${getAttrMarkup(attrs)}>`,
|
1846
|
+
post: () => `</${tagName$t}>`
|
1848
1847
|
};
|
1849
1848
|
});
|
1850
1849
|
var navItem_build = () => { };
|
@@ -1854,11 +1853,11 @@ var navItem_build$1 = /*#__PURE__*/Object.freeze({
|
|
1854
1853
|
default: navItem_build
|
1855
1854
|
});
|
1856
1855
|
|
1857
|
-
const tagName$
|
1856
|
+
const tagName$s = 'ul';
|
1858
1857
|
register('wm-nav', () => {
|
1859
1858
|
return {
|
1860
|
-
pre: attrs => `<${tagName$
|
1861
|
-
post: () => `</${tagName$
|
1859
|
+
pre: attrs => `<${tagName$s} wmNav data-element-type="wmNav" data-role="page-header" role="list" ${getAttrMarkup(attrs)}>`,
|
1860
|
+
post: () => `</${tagName$s}>`
|
1862
1861
|
};
|
1863
1862
|
});
|
1864
1863
|
var nav_build = () => { };
|
@@ -1868,11 +1867,11 @@ var nav_build$1 = /*#__PURE__*/Object.freeze({
|
|
1868
1867
|
default: nav_build
|
1869
1868
|
});
|
1870
1869
|
|
1871
|
-
const tagName$
|
1870
|
+
const tagName$r = 'nav';
|
1872
1871
|
register('wm-navbar', () => {
|
1873
1872
|
return {
|
1874
|
-
pre: attrs => `<${tagName$
|
1875
|
-
post: () => `</${tagName$
|
1873
|
+
pre: attrs => `<${tagName$r} wmNavbar data-element-type="wmNavbar" role="navigation" ${getAttrMarkup(attrs)}>`,
|
1874
|
+
post: () => `</${tagName$r}>`
|
1876
1875
|
};
|
1877
1876
|
});
|
1878
1877
|
var navbar_build = () => { };
|
@@ -1882,7 +1881,7 @@ var navbar_build$1 = /*#__PURE__*/Object.freeze({
|
|
1882
1881
|
default: navbar_build
|
1883
1882
|
});
|
1884
1883
|
|
1885
|
-
const tagName$
|
1884
|
+
const tagName$q = 'wm-popover';
|
1886
1885
|
register('wm-popover', () => {
|
1887
1886
|
return {
|
1888
1887
|
requires: ['wm-table'],
|
@@ -1902,7 +1901,7 @@ register('wm-popover', () => {
|
|
1902
1901
|
popoverTemplate = `<div wmContainer #partial partialContainer ${contentMarkup}>`;
|
1903
1902
|
shared.set('hasPopoverContent', true);
|
1904
1903
|
}
|
1905
|
-
let markup = `<${tagName$
|
1904
|
+
let markup = `<${tagName$q} wmPopover ${getAttrMarkup(attrs)}>`;
|
1906
1905
|
const contextAttrs = table ? `let-row="row"` : ``;
|
1907
1906
|
markup += `<ng-template ${contextAttrs}><div tabindex="0" class="popover-start sr-only" aria-label="">popover content start</div>`;
|
1908
1907
|
// todo keyboard navigation - tab
|
@@ -1916,7 +1915,7 @@ register('wm-popover', () => {
|
|
1916
1915
|
if (shared.get('hasPopoverContent')) {
|
1917
1916
|
markup += `</div>`;
|
1918
1917
|
}
|
1919
|
-
return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$
|
1918
|
+
return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$q}>`;
|
1920
1919
|
}
|
1921
1920
|
};
|
1922
1921
|
});
|
@@ -1927,16 +1926,16 @@ var popover_build$1 = /*#__PURE__*/Object.freeze({
|
|
1927
1926
|
default: popover_build
|
1928
1927
|
});
|
1929
1928
|
|
1930
|
-
const tagName$
|
1929
|
+
const tagName$p = 'div';
|
1931
1930
|
const findChild = (node, childName) => {
|
1932
1931
|
const child = node && node.children.find(e => (e instanceof Element && e.name === childName));
|
1933
1932
|
return child;
|
1934
1933
|
};
|
1935
|
-
const createElement$
|
1936
|
-
return new Element(name, [], [], noSpan$
|
1934
|
+
const createElement$3 = name => {
|
1935
|
+
return new Element(name, [], [], noSpan$3, noSpan$3, noSpan$3);
|
1937
1936
|
};
|
1938
|
-
const addAtrribute$
|
1939
|
-
const attr = new Attribute(name, value, noSpan$
|
1937
|
+
const addAtrribute$3 = (node, name, value) => {
|
1938
|
+
const attr = new Attribute(name, value, noSpan$3, noSpan$3, noSpan$3, undefined, undefined);
|
1940
1939
|
node.attrs.push(attr);
|
1941
1940
|
};
|
1942
1941
|
const getElementNode = (name, node) => {
|
@@ -1957,8 +1956,8 @@ const getElementNode = (name, node) => {
|
|
1957
1956
|
});
|
1958
1957
|
return elementNode;
|
1959
1958
|
};
|
1960
|
-
const noSpan$
|
1961
|
-
const idGen$
|
1959
|
+
const noSpan$3 = {};
|
1960
|
+
const idGen$8 = new IDGenerator('wm_page');
|
1962
1961
|
register('wm-page', () => {
|
1963
1962
|
return {
|
1964
1963
|
template: (node) => {
|
@@ -1967,24 +1966,24 @@ register('wm-page', () => {
|
|
1967
1966
|
pageContentNode = getElementNode('wm-page-content', getElementNode('wm-content', node));
|
1968
1967
|
}
|
1969
1968
|
if (pageContentNode) {
|
1970
|
-
const conditionalNode = createElement$
|
1971
|
-
addAtrribute$
|
1969
|
+
const conditionalNode = createElement$3('ng-container');
|
1970
|
+
addAtrribute$3(conditionalNode, '*ngIf', 'compilePageContent');
|
1972
1971
|
conditionalNode.children = conditionalNode.children.concat(pageContentNode.children);
|
1973
1972
|
conditionalNode.children.push(new Text('{{onPageContentReady()}}', null, undefined, undefined));
|
1974
1973
|
pageContentNode.children = [conditionalNode];
|
1975
1974
|
if (isMobileApp()) {
|
1976
|
-
const loader = createElement$
|
1977
|
-
addAtrribute$
|
1978
|
-
addAtrribute$
|
1975
|
+
const loader = createElement$3('div');
|
1976
|
+
addAtrribute$3(loader, 'wmPageContentLoader', '');
|
1977
|
+
addAtrribute$3(loader, '*ngIf', '!showPageContent');
|
1979
1978
|
pageContentNode.children.push(loader);
|
1980
1979
|
}
|
1981
1980
|
}
|
1982
1981
|
},
|
1983
1982
|
pre: (attrs) => {
|
1984
|
-
const counter = idGen$
|
1985
|
-
return `<${tagName$
|
1983
|
+
const counter = idGen$8.nextUid();
|
1984
|
+
return `<${tagName$p} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
|
1986
1985
|
},
|
1987
|
-
post: () => `</${tagName$
|
1986
|
+
post: () => `</${tagName$p}>`
|
1988
1987
|
};
|
1989
1988
|
});
|
1990
1989
|
var page_build = () => { };
|
@@ -1994,15 +1993,15 @@ var page_build$1 = /*#__PURE__*/Object.freeze({
|
|
1994
1993
|
default: page_build
|
1995
1994
|
});
|
1996
1995
|
|
1997
|
-
const tagName$
|
1998
|
-
const idGen$
|
1996
|
+
const tagName$o = 'div';
|
1997
|
+
const idGen$7 = new IDGenerator('wm_layout');
|
1999
1998
|
register('wm-layout', () => {
|
2000
1999
|
return {
|
2001
2000
|
pre: (attrs) => {
|
2002
|
-
const counter = idGen$
|
2003
|
-
return `<${tagName$
|
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)}>`;
|
2004
2003
|
},
|
2005
|
-
post: () => `</${tagName$
|
2004
|
+
post: () => `</${tagName$o}>`
|
2006
2005
|
};
|
2007
2006
|
});
|
2008
2007
|
var layout_build = () => { };
|
@@ -2012,11 +2011,11 @@ var layout_build$1 = /*#__PURE__*/Object.freeze({
|
|
2012
2011
|
default: layout_build
|
2013
2012
|
});
|
2014
2013
|
|
2015
|
-
const tagName$
|
2014
|
+
const tagName$n = 'router-outlet';
|
2016
2015
|
register('wm-router-outlet', () => {
|
2017
2016
|
return {
|
2018
|
-
pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$
|
2019
|
-
post: () => `</${tagName$
|
2017
|
+
pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$n} (activate)="onActivate($event)">`,
|
2018
|
+
post: () => `</${tagName$n}></div>`
|
2020
2019
|
};
|
2021
2020
|
});
|
2022
2021
|
var routerOutlet_build = () => { };
|
@@ -2026,11 +2025,11 @@ var routerOutlet_build$1 = /*#__PURE__*/Object.freeze({
|
|
2026
2025
|
default: routerOutlet_build
|
2027
2026
|
});
|
2028
2027
|
|
2029
|
-
const tagName$
|
2028
|
+
const tagName$m = 'nav';
|
2030
2029
|
register('wm-pagination', () => {
|
2031
2030
|
return {
|
2032
|
-
pre: attrs => `<${tagName$
|
2033
|
-
post: () => `</${tagName$
|
2031
|
+
pre: attrs => `<${tagName$m} wmPagination data-identifier="pagination" aria-label="Page navigation" ${getAttrMarkup(attrs)}>`,
|
2032
|
+
post: () => `</${tagName$m}>`
|
2034
2033
|
};
|
2035
2034
|
});
|
2036
2035
|
var pagination_build = () => { };
|
@@ -2040,11 +2039,11 @@ var pagination_build$1 = /*#__PURE__*/Object.freeze({
|
|
2040
2039
|
default: pagination_build
|
2041
2040
|
});
|
2042
2041
|
|
2043
|
-
const tagName$
|
2042
|
+
const tagName$l = 'main';
|
2044
2043
|
register('wm-content', () => {
|
2045
2044
|
return {
|
2046
|
-
pre: attrs => `<${tagName$
|
2047
|
-
post: () => `</${tagName$
|
2045
|
+
pre: attrs => `<${tagName$l} wmContent data-role="page-content" role="main" ${getAttrMarkup(attrs)}>`,
|
2046
|
+
post: () => `</${tagName$l}>`
|
2048
2047
|
};
|
2049
2048
|
});
|
2050
2049
|
var content_build = () => { };
|
@@ -2054,15 +2053,15 @@ var content_build$1 = /*#__PURE__*/Object.freeze({
|
|
2054
2053
|
default: content_build
|
2055
2054
|
});
|
2056
2055
|
|
2057
|
-
const tagName$
|
2058
|
-
const idGen$
|
2056
|
+
const tagName$k = 'footer';
|
2057
|
+
const idGen$6 = new IDGenerator('wm_footer');
|
2059
2058
|
register('wm-footer', () => {
|
2060
2059
|
return {
|
2061
2060
|
pre: (attrs) => {
|
2062
|
-
const counter = idGen$
|
2063
|
-
return `<${tagName$
|
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)}>`;
|
2064
2063
|
},
|
2065
|
-
post: () => `</${tagName$
|
2064
|
+
post: () => `</${tagName$k}>`
|
2066
2065
|
};
|
2067
2066
|
});
|
2068
2067
|
var footer_build = () => { };
|
@@ -2072,15 +2071,15 @@ var footer_build$1 = /*#__PURE__*/Object.freeze({
|
|
2072
2071
|
default: footer_build
|
2073
2072
|
});
|
2074
2073
|
|
2075
|
-
const tagName$
|
2076
|
-
const idGen$
|
2074
|
+
const tagName$j = 'header';
|
2075
|
+
const idGen$5 = new IDGenerator('wm_header');
|
2077
2076
|
register('wm-header', () => {
|
2078
2077
|
return {
|
2079
2078
|
pre: (attrs) => {
|
2080
|
-
const counter = idGen$
|
2081
|
-
return `<${tagName$
|
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)}>`;
|
2082
2081
|
},
|
2083
|
-
post: () => `</${tagName$
|
2082
|
+
post: () => `</${tagName$j}>`
|
2084
2083
|
};
|
2085
2084
|
});
|
2086
2085
|
var header_build = () => { };
|
@@ -2090,15 +2089,15 @@ var header_build$1 = /*#__PURE__*/Object.freeze({
|
|
2090
2089
|
default: header_build
|
2091
2090
|
});
|
2092
2091
|
|
2093
|
-
const tagName$
|
2094
|
-
const idGen$
|
2092
|
+
const tagName$i = 'aside';
|
2093
|
+
const idGen$4 = new IDGenerator('wm_left_panel');
|
2095
2094
|
register('wm-left-panel', () => {
|
2096
2095
|
return {
|
2097
2096
|
pre: (attrs) => {
|
2098
|
-
const counter = idGen$
|
2099
|
-
return `<${tagName$
|
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)}>`;
|
2100
2099
|
},
|
2101
|
-
post: () => `</${tagName$
|
2100
|
+
post: () => `</${tagName$i}>`
|
2102
2101
|
};
|
2103
2102
|
});
|
2104
2103
|
var leftPanel_build = () => { };
|
@@ -2108,11 +2107,11 @@ var leftPanel_build$1 = /*#__PURE__*/Object.freeze({
|
|
2108
2107
|
default: leftPanel_build
|
2109
2108
|
});
|
2110
2109
|
|
2111
|
-
const tagName$
|
2110
|
+
const tagName$h = 'header';
|
2112
2111
|
register('wm-mobile-navbar', () => {
|
2113
2112
|
return {
|
2114
|
-
pre: attrs => `<${tagName$
|
2115
|
-
post: () => `</${tagName$
|
2113
|
+
pre: attrs => `<${tagName$h} wmMobileNavbar ${getAttrMarkup(attrs)}>`,
|
2114
|
+
post: () => `</${tagName$h}>`
|
2116
2115
|
};
|
2117
2116
|
});
|
2118
2117
|
var mobileNavbar_build = () => { };
|
@@ -2122,15 +2121,15 @@ var mobileNavbar_build$1 = /*#__PURE__*/Object.freeze({
|
|
2122
2121
|
default: mobileNavbar_build
|
2123
2122
|
});
|
2124
2123
|
|
2125
|
-
const tagName$
|
2126
|
-
const idGen$
|
2124
|
+
const tagName$g = 'aside';
|
2125
|
+
const idGen$3 = new IDGenerator('wm_right_panel');
|
2127
2126
|
register('wm-right-panel', () => {
|
2128
2127
|
return {
|
2129
2128
|
pre: (attrs) => {
|
2130
|
-
const counter = idGen$
|
2131
|
-
return `<${tagName$
|
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)}>`;
|
2132
2131
|
},
|
2133
|
-
post: () => `</${tagName$
|
2132
|
+
post: () => `</${tagName$g}>`
|
2134
2133
|
};
|
2135
2134
|
});
|
2136
2135
|
var rightPanel_build = () => { };
|
@@ -2140,22 +2139,22 @@ var rightPanel_build$1 = /*#__PURE__*/Object.freeze({
|
|
2140
2139
|
default: rightPanel_build
|
2141
2140
|
});
|
2142
2141
|
|
2143
|
-
const tagName$
|
2144
|
-
const createElement$
|
2145
|
-
return new Element(name, [], [], noSpan$
|
2142
|
+
const tagName$f = 'div';
|
2143
|
+
const createElement$2 = name => {
|
2144
|
+
return new Element(name, [], [], noSpan$2, noSpan$2, noSpan$2);
|
2146
2145
|
};
|
2147
|
-
const addAtrribute$
|
2148
|
-
const attr = new Attribute(name, value, noSpan$
|
2146
|
+
const addAtrribute$2 = (node, name, value) => {
|
2147
|
+
const attr = new Attribute(name, value, noSpan$2, noSpan$2, noSpan$2, undefined, undefined);
|
2149
2148
|
node.attrs.push(attr);
|
2150
2149
|
};
|
2151
|
-
const noSpan$
|
2150
|
+
const noSpan$2 = {};
|
2152
2151
|
register('wm-page-content', () => {
|
2153
2152
|
return {
|
2154
2153
|
template: (node) => {
|
2155
2154
|
for (let attr of node.attrs) {
|
2156
2155
|
if (attr.name === 'spa' && attr.value === 'true') {
|
2157
|
-
const conditionalNode = createElement$
|
2158
|
-
addAtrribute$
|
2156
|
+
const conditionalNode = createElement$2('ng-container');
|
2157
|
+
addAtrribute$2(conditionalNode, '*ngIf', 'compilePageContent');
|
2159
2158
|
conditionalNode.children = conditionalNode.children.concat(node.children);
|
2160
2159
|
conditionalNode.children.push(new Text('{{onPageContentReady()}}', null, undefined, undefined));
|
2161
2160
|
node.children = [conditionalNode];
|
@@ -2163,8 +2162,8 @@ register('wm-page-content', () => {
|
|
2163
2162
|
}
|
2164
2163
|
}
|
2165
2164
|
},
|
2166
|
-
pre: attrs => `<${tagName$
|
2167
|
-
post: () => `</${tagName$
|
2165
|
+
pre: attrs => `<${tagName$f} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
|
2166
|
+
post: () => `</${tagName$f}>`
|
2168
2167
|
};
|
2169
2168
|
});
|
2170
2169
|
var pageContent_build = () => { };
|
@@ -2174,11 +2173,11 @@ var pageContent_build$1 = /*#__PURE__*/Object.freeze({
|
|
2174
2173
|
default: pageContent_build
|
2175
2174
|
});
|
2176
2175
|
|
2177
|
-
const tagName$
|
2176
|
+
const tagName$e = 'div';
|
2178
2177
|
register('wm-mobile-tabbar', () => {
|
2179
2178
|
return {
|
2180
|
-
pre: attrs => `<${tagName$
|
2181
|
-
post: () => `</${tagName$
|
2179
|
+
pre: attrs => `<${tagName$e} wmMobileTabbar ${getAttrMarkup(attrs)}>`,
|
2180
|
+
post: () => `</${tagName$e}>`
|
2182
2181
|
};
|
2183
2182
|
});
|
2184
2183
|
var tabBar_build = () => { };
|
@@ -2188,15 +2187,15 @@ var tabBar_build$1 = /*#__PURE__*/Object.freeze({
|
|
2188
2187
|
default: tabBar_build
|
2189
2188
|
});
|
2190
2189
|
|
2191
|
-
const tagName$
|
2192
|
-
const idGen$
|
2190
|
+
const tagName$d = 'section';
|
2191
|
+
const idGen$2 = new IDGenerator('wm_top_nav');
|
2193
2192
|
register('wm-top-nav', () => {
|
2194
2193
|
return {
|
2195
2194
|
pre: (attrs) => {
|
2196
|
-
const counter = idGen$
|
2197
|
-
return `<${tagName$
|
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)}>`;
|
2198
2197
|
},
|
2199
|
-
post: () => `</${tagName$
|
2198
|
+
post: () => `</${tagName$d}>`
|
2200
2199
|
};
|
2201
2200
|
});
|
2202
2201
|
var topNav_build = () => { };
|
@@ -2206,26 +2205,26 @@ var topNav_build$1 = /*#__PURE__*/Object.freeze({
|
|
2206
2205
|
default: topNav_build
|
2207
2206
|
});
|
2208
2207
|
|
2209
|
-
const tagName$
|
2210
|
-
const noSpan$
|
2211
|
-
const createElement$
|
2212
|
-
return new Element(name, [], [], noSpan$
|
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);
|
2213
2212
|
};
|
2214
|
-
const addAtrribute$
|
2215
|
-
const attr = new Attribute(name, value, noSpan$
|
2213
|
+
const addAtrribute$1 = (node, name, value) => {
|
2214
|
+
const attr = new Attribute(name, value, noSpan$1, noSpan$1, noSpan$1, undefined, undefined);
|
2216
2215
|
node.attrs.push(attr);
|
2217
2216
|
};
|
2218
2217
|
register('wm-partial', () => {
|
2219
2218
|
return {
|
2220
2219
|
template: (node) => {
|
2221
|
-
const conditionalNode = createElement$
|
2222
|
-
addAtrribute$
|
2220
|
+
const conditionalNode = createElement$1('ng-container');
|
2221
|
+
addAtrribute$1(conditionalNode, '*ngIf', 'compileContent');
|
2223
2222
|
conditionalNode.children = conditionalNode.children.concat(node.children);
|
2224
2223
|
node.children.length = 0;
|
2225
2224
|
node.children.push(conditionalNode);
|
2226
2225
|
},
|
2227
|
-
pre: attrs => `<${tagName$
|
2228
|
-
post: () => `</${tagName$
|
2226
|
+
pre: attrs => `<${tagName$c} wmPartial data-role="partial" ${getAttrMarkup(attrs)}>`,
|
2227
|
+
post: () => `</${tagName$c}>`
|
2229
2228
|
};
|
2230
2229
|
});
|
2231
2230
|
var partial_build = () => { };
|
@@ -2235,11 +2234,11 @@ var partial_build$1 = /*#__PURE__*/Object.freeze({
|
|
2235
2234
|
default: partial_build
|
2236
2235
|
});
|
2237
2236
|
|
2238
|
-
const tagName$
|
2237
|
+
const tagName$b = 'div';
|
2239
2238
|
register('wm-param', () => {
|
2240
2239
|
return {
|
2241
|
-
pre: attrs => `<${tagName$
|
2242
|
-
post: () => `</${tagName$
|
2240
|
+
pre: attrs => `<${tagName$b} wmParam hidden ${getAttrMarkup(attrs)}>`,
|
2241
|
+
post: () => `</${tagName$b}>`
|
2243
2242
|
};
|
2244
2243
|
});
|
2245
2244
|
var partialParam_build = () => { };
|
@@ -2249,11 +2248,11 @@ var partialParam_build$1 = /*#__PURE__*/Object.freeze({
|
|
2249
2248
|
default: partialParam_build
|
2250
2249
|
});
|
2251
2250
|
|
2252
|
-
const tagName$
|
2251
|
+
const tagName$a = 'section';
|
2253
2252
|
register('wm-prefab', () => {
|
2254
2253
|
return {
|
2255
|
-
pre: attrs => `<${tagName$
|
2256
|
-
post: () => `</${tagName$
|
2254
|
+
pre: attrs => `<${tagName$a} wmPrefab redrawable data-role="prefab" ${getAttrMarkup(attrs)}>`,
|
2255
|
+
post: () => `</${tagName$a}>`
|
2257
2256
|
};
|
2258
2257
|
});
|
2259
2258
|
var prefab_build = () => { };
|
@@ -2263,26 +2262,26 @@ var prefab_build$1 = /*#__PURE__*/Object.freeze({
|
|
2263
2262
|
default: prefab_build
|
2264
2263
|
});
|
2265
2264
|
|
2266
|
-
const noSpan
|
2267
|
-
const createElement
|
2268
|
-
return new Element(name, [], [], noSpan
|
2265
|
+
const noSpan = {};
|
2266
|
+
const createElement = name => {
|
2267
|
+
return new Element(name, [], [], noSpan, noSpan, noSpan);
|
2269
2268
|
};
|
2270
|
-
const addAtrribute
|
2271
|
-
const attr = new Attribute(name, value, noSpan
|
2269
|
+
const addAtrribute = (node, name, value) => {
|
2270
|
+
const attr = new Attribute(name, value, noSpan, noSpan, noSpan, undefined, undefined);
|
2272
2271
|
node.attrs.push(attr);
|
2273
2272
|
};
|
2274
|
-
const tagName$
|
2273
|
+
const tagName$9 = 'div';
|
2275
2274
|
register('wm-prefab-container', () => {
|
2276
2275
|
return {
|
2277
2276
|
template: (node) => {
|
2278
|
-
const conditionalNode = createElement
|
2279
|
-
addAtrribute
|
2277
|
+
const conditionalNode = createElement('ng-container');
|
2278
|
+
addAtrribute(conditionalNode, '*ngIf', 'compileContent');
|
2280
2279
|
conditionalNode.children = conditionalNode.children.concat(node.children);
|
2281
2280
|
node.children.length = 0;
|
2282
2281
|
node.children.push(conditionalNode);
|
2283
2282
|
},
|
2284
|
-
pre: attrs => `<${tagName$
|
2285
|
-
post: () => `</${tagName$
|
2283
|
+
pre: attrs => `<${tagName$9} wmPrefabContainer ${getAttrMarkup(attrs)}>`,
|
2284
|
+
post: () => `</${tagName$9}>`
|
2286
2285
|
};
|
2287
2286
|
});
|
2288
2287
|
var prefabContainer_build = () => { };
|
@@ -2292,11 +2291,11 @@ var prefabContainer_build$1 = /*#__PURE__*/Object.freeze({
|
|
2292
2291
|
default: prefabContainer_build
|
2293
2292
|
});
|
2294
2293
|
|
2295
|
-
const tagName$
|
2294
|
+
const tagName$8 = 'div';
|
2296
2295
|
register('wm-table-action', () => {
|
2297
2296
|
return {
|
2298
|
-
pre: attrs => `<${tagName$
|
2299
|
-
post: () => `</${tagName$
|
2297
|
+
pre: attrs => `<${tagName$8} name="${attrs.get('name') || attrs.get('key')}" wmTableAction ${getAttrMarkup(attrs)}>`,
|
2298
|
+
post: () => `</${tagName$8}>`
|
2300
2299
|
};
|
2301
2300
|
});
|
2302
2301
|
var tableAction_build = () => { };
|
@@ -2306,11 +2305,11 @@ var tableAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
2306
2305
|
default: tableAction_build
|
2307
2306
|
});
|
2308
2307
|
|
2309
|
-
const tagName$
|
2308
|
+
const tagName$7 = 'div';
|
2310
2309
|
register('wm-table-column-group', () => {
|
2311
2310
|
return {
|
2312
|
-
pre: attrs => `<${tagName$
|
2313
|
-
post: () => `</${tagName$
|
2311
|
+
pre: attrs => `<${tagName$7} wmTableColumnGroup ${getAttrMarkup(attrs)}>`,
|
2312
|
+
post: () => `</${tagName$7}>`
|
2314
2313
|
};
|
2315
2314
|
});
|
2316
2315
|
var tableColumnGroup_build = () => { };
|
@@ -2320,8 +2319,8 @@ var tableColumnGroup_build$1 = /*#__PURE__*/Object.freeze({
|
|
2320
2319
|
default: tableColumnGroup_build
|
2321
2320
|
});
|
2322
2321
|
|
2323
|
-
const tagName$
|
2324
|
-
const idGen$
|
2322
|
+
const tagName$6 = 'div';
|
2323
|
+
const idGen$1 = new IDGenerator('data_table_form_');
|
2325
2324
|
const formWidgets = new Set([
|
2326
2325
|
'wm-text',
|
2327
2326
|
'wm-textarea',
|
@@ -2433,7 +2432,7 @@ const getInlineEditWidgetTmpl = (attrs, isNewRow, errorstyle, pCounter) => {
|
|
2433
2432
|
let wmFormWidget = '';
|
2434
2433
|
if (widget === FormWidgetType.UPLOAD) {
|
2435
2434
|
options.uploadProps = {
|
2436
|
-
formName: idGen$
|
2435
|
+
formName: idGen$1.nextUid(),
|
2437
2436
|
name: fieldName
|
2438
2437
|
};
|
2439
2438
|
options.counter = pCounter;
|
@@ -2573,7 +2572,7 @@ register('wm-table-column', () => {
|
|
2573
2572
|
customExprTmpl = `${customExpr}<div data-col-identifier="${attrs.get('binding')}" title="${formatExprTmpl}">${formatExprTmpl}`;
|
2574
2573
|
}
|
2575
2574
|
}
|
2576
|
-
return `<${tagName$
|
2575
|
+
return `<${tagName$6} wmTableColumn ${getAttrMarkup(attrs)} ${parentForm}>
|
2577
2576
|
${rowFilterTmpl}
|
2578
2577
|
${inlineEditTmpl}
|
2579
2578
|
${inlineNewEditTmpl}
|
@@ -2584,7 +2583,7 @@ register('wm-table-column', () => {
|
|
2584
2583
|
if (shared.get('customExpression')) {
|
2585
2584
|
customExprTmpl = `</div></ng-template>`;
|
2586
2585
|
}
|
2587
|
-
return `${customExprTmpl}</${tagName$
|
2586
|
+
return `${customExprTmpl}</${tagName$6}>`;
|
2588
2587
|
},
|
2589
2588
|
imports: (attrs) => {
|
2590
2589
|
const editWidgetType = attrs.get('edit-widget-type');
|
@@ -2600,7 +2599,7 @@ var tableColumn_build$1 = /*#__PURE__*/Object.freeze({
|
|
2600
2599
|
default: tableColumn_build
|
2601
2600
|
});
|
2602
2601
|
|
2603
|
-
const tagName$
|
2602
|
+
const tagName$5 = 'div';
|
2604
2603
|
const getRowExpansionActionTmpl = (attrs) => {
|
2605
2604
|
const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';
|
2606
2605
|
const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';
|
@@ -2616,7 +2615,7 @@ const getRowExpansionActionTmpl = (attrs) => {
|
|
2616
2615
|
register('wm-table-row', () => {
|
2617
2616
|
return {
|
2618
2617
|
pre: (attrs) => {
|
2619
|
-
return `<${tagName$
|
2618
|
+
return `<${tagName$5} wmTableRow ${getAttrMarkup(attrs)}>
|
2620
2619
|
${getRowExpansionActionTmpl(attrs)}
|
2621
2620
|
<ng-template #rowExpansionTmpl let-row="row" let-rowDef="rowDef" let-containerLoad="containerLoad">
|
2622
2621
|
<div wmContainer partialContainer content.bind="rowDef.content" load.event="containerLoad(widget)"
|
@@ -2624,7 +2623,7 @@ register('wm-table-row', () => {
|
|
2624
2623
|
<div *ngFor="let param of rowDef.partialParams | keyvalue" wmParam hidden
|
2625
2624
|
[name]="param.key" [value]="param.value"></div>`;
|
2626
2625
|
},
|
2627
|
-
post: () => `</div></ng-template></${tagName$
|
2626
|
+
post: () => `</div></ng-template></${tagName$5}>`
|
2628
2627
|
};
|
2629
2628
|
});
|
2630
2629
|
var tableRow_build = () => { };
|
@@ -2634,7 +2633,7 @@ var tableRow_build$1 = /*#__PURE__*/Object.freeze({
|
|
2634
2633
|
default: tableRow_build
|
2635
2634
|
});
|
2636
2635
|
|
2637
|
-
const tagName$
|
2636
|
+
const tagName$4 = 'div';
|
2638
2637
|
const getSaveCancelTemplate = () => {
|
2639
2638
|
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">
|
2640
2639
|
<i class="wi wi-done" aria-hidden="true"></i>
|
@@ -2666,9 +2665,9 @@ const getRowActionTmpl = (attrs) => {
|
|
2666
2665
|
};
|
2667
2666
|
register('wm-table-row-action', () => {
|
2668
2667
|
return {
|
2669
|
-
pre: attrs => `<${tagName$
|
2668
|
+
pre: attrs => `<${tagName$4} wmTableRowAction ${getAttrMarkup(attrs)}>
|
2670
2669
|
${getRowActionTmpl(attrs)}`,
|
2671
|
-
post: () => `</${tagName$
|
2670
|
+
post: () => `</${tagName$4}>`
|
2672
2671
|
};
|
2673
2672
|
});
|
2674
2673
|
var tableRowAction_build = () => { };
|
@@ -2678,9 +2677,9 @@ var tableRowAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
2678
2677
|
default: tableRowAction_build
|
2679
2678
|
});
|
2680
2679
|
|
2681
|
-
const tagName$
|
2680
|
+
const tagName$3 = 'div';
|
2682
2681
|
const dataSetKey = 'dataset';
|
2683
|
-
const idGen
|
2682
|
+
const idGen = new IDGenerator('table_');
|
2684
2683
|
let columnIndex = 0;
|
2685
2684
|
/**
|
2686
2685
|
* This method assigns index to the table-column and column-groups in order to the maintain the columns in the same order
|
@@ -2740,14 +2739,14 @@ register('wm-table', () => {
|
|
2740
2739
|
updateTemplateAttrs(node, boundExpr, widgetNameAttr.value, '', 'row');
|
2741
2740
|
},
|
2742
2741
|
pre: (attrs, shared) => {
|
2743
|
-
const counter = idGen
|
2742
|
+
const counter = idGen.nextUid();
|
2744
2743
|
shared.set('counter', counter);
|
2745
2744
|
attrs.set('isdynamictable', shared.get('isdynamictable'));
|
2746
2745
|
attrs.set('isrowexpansionenabled', shared.get('isrowexpansionenabled'));
|
2747
2746
|
attrs.set('table_reference', counter);
|
2748
|
-
return `<${tagName$
|
2747
|
+
return `<${tagName$3} wmTable="${counter}" wmTableFilterSort wmTableCUD #${counter} data-identifier="table" ${getAttrMarkup(attrs)}>`;
|
2749
2748
|
},
|
2750
|
-
post: () => `</${tagName$
|
2749
|
+
post: () => `</${tagName$3}>`,
|
2751
2750
|
provide: (attrs, shared) => {
|
2752
2751
|
const provider = new Map();
|
2753
2752
|
provider.set('table_reference', shared.get('counter'));
|
@@ -2766,11 +2765,11 @@ var table_build$1 = /*#__PURE__*/Object.freeze({
|
|
2766
2765
|
default: table_build
|
2767
2766
|
});
|
2768
2767
|
|
2769
|
-
const tagName$
|
2768
|
+
const tagName$2 = 'div';
|
2770
2769
|
register('wm-video', () => {
|
2771
2770
|
return {
|
2772
|
-
pre: attrs => `<${tagName$
|
2773
|
-
post: () => `</${tagName$
|
2771
|
+
pre: attrs => `<${tagName$2} wmVideo ${getAttrMarkup(attrs)}>`,
|
2772
|
+
post: () => `</${tagName$2}>`
|
2774
2773
|
};
|
2775
2774
|
});
|
2776
2775
|
var video_build = () => { };
|
@@ -2780,7 +2779,7 @@ var video_build$1 = /*#__PURE__*/Object.freeze({
|
|
2780
2779
|
default: video_build
|
2781
2780
|
});
|
2782
2781
|
|
2783
|
-
const tagName$
|
2782
|
+
const tagName$1 = 'div';
|
2784
2783
|
const SPACING_KEY = 'parentLinearLayout.spacing';
|
2785
2784
|
register('wm-linearlayout', () => {
|
2786
2785
|
return {
|
@@ -2788,9 +2787,9 @@ register('wm-linearlayout', () => {
|
|
2788
2787
|
pre: (attrs, shared, provider) => {
|
2789
2788
|
let spacing = attrs.get('spacing');
|
2790
2789
|
attrs.set('spacing', (!spacing || spacing === '0') && provider ? provider.get(SPACING_KEY) : spacing);
|
2791
|
-
return `<${tagName$
|
2790
|
+
return `<${tagName$1} wmLinearLayout ${getAttrMarkup(attrs)}>`;
|
2792
2791
|
},
|
2793
|
-
post: () => `</${tagName$
|
2792
|
+
post: () => `</${tagName$1}>`,
|
2794
2793
|
provide: (attrs, shared) => {
|
2795
2794
|
const provider = new Map();
|
2796
2795
|
provider.set(SPACING_KEY, attrs.get('spacing'));
|
@@ -2805,11 +2804,11 @@ var linearLayout_build$1 = /*#__PURE__*/Object.freeze({
|
|
2805
2804
|
default: linearLayout_build
|
2806
2805
|
});
|
2807
2806
|
|
2808
|
-
const tagName
|
2807
|
+
const tagName = 'div';
|
2809
2808
|
register('wm-linearlayoutitem', () => {
|
2810
2809
|
return {
|
2811
|
-
pre: attrs => `<${tagName
|
2812
|
-
post: () => `</${tagName
|
2810
|
+
pre: attrs => `<${tagName} wmLinearLayoutItem ${getAttrMarkup(attrs)}>`,
|
2811
|
+
post: () => `</${tagName}>`
|
2813
2812
|
};
|
2814
2813
|
});
|
2815
2814
|
var linearLayoutItem_build = () => { };
|
@@ -2819,58 +2818,11 @@ var linearLayoutItem_build$1 = /*#__PURE__*/Object.freeze({
|
|
2819
2818
|
default: linearLayoutItem_build
|
2820
2819
|
});
|
2821
2820
|
|
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
|
-
|
2869
2821
|
const initComponentsBuildTask = () => { };
|
2870
2822
|
|
2871
2823
|
/**
|
2872
2824
|
* Generated bundle index. Do not edit.
|
2873
2825
|
*/
|
2874
2826
|
|
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,
|
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 };
|
2876
2828
|
//# sourceMappingURL=index.mjs.map
|