@wavemaker/angular-codegen 11.2.0-next.141008 → 11.2.0-next.141010
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.
- angular-codegen/angular-app/package-lock.json +3 -3
- angular-codegen/angular-app/package.json +1 -1
- angular-codegen/angular-app/src/assets/styles/css/wm-responsive.css +1 -1
- angular-codegen/angular-app/src/assets/styles/css/wm-style.css +1 -1
- angular-codegen/build-angular-app.js +1 -1
- angular-codegen/dependencies/pipe-provider.cjs.js +14 -10
- angular-codegen/dependencies/transpilation-mobile.cjs.js +380 -318
- angular-codegen/dependencies/transpilation-web.cjs.js +380 -318
- angular-codegen/package.json +1 -1
- angular-codegen/src/codegen-args-cli.js +1 -1
- angular-codegen/src/codegen-cli.js +1 -1
- angular-codegen/src/codegen.js +1 -1
- angular-codegen/src/gen-app-routes.js +1 -1
- angular-codegen/src/gen-app-skeleton.js +1 -1
- angular-codegen/src/gen-components.js +1 -1
- angular-codegen/src/gen-layouts.js +1 -0
- angular-codegen/src/handlebar-helpers.js +1 -1
- angular-codegen/src/pages-util.js +1 -1
- angular-codegen/src/project-meta.js +1 -1
- angular-codegen/src/wm-utils.js +1 -1
- angular-codegen/templates/app-routes.ts.hbs +2 -2
- angular-codegen/templates/layout/layout.component.ts.hbs +32 -0
- angular-codegen/templates/layout/layout.module.ts.hbs +42 -0
- angular-codegen/templates/page/page.component.ts.hbs +2 -2
- angular-codegen/templates/partial/partial.component.ts.hbs +1 -0
- angular-codegen/templates/prefab/prefab.component.ts.hbs +1 -0
|
@@ -43032,6 +43032,9 @@ const findRootContainer = ($el) => {
|
|
|
43032
43032
|
if (!root.length) {
|
|
43033
43033
|
root = $el.closest('.app-partial');
|
|
43034
43034
|
}
|
|
43035
|
+
if (!root.length) {
|
|
43036
|
+
root = $el.closest('.app-spa-page');
|
|
43037
|
+
}
|
|
43035
43038
|
if (!root.length) {
|
|
43036
43039
|
root = $el.closest('.app-page');
|
|
43037
43040
|
}
|
|
@@ -44438,6 +44441,7 @@ const WIDGET_IMPORTS = new Map([
|
|
|
44438
44441
|
['wm-network-info-toaster', BASIC_MODULE],
|
|
44439
44442
|
['wm-number', INPUT_MODULE],
|
|
44440
44443
|
['wm-page', PAGE_MODULE],
|
|
44444
|
+
['wm-layout', PAGE_MODULE],
|
|
44441
44445
|
['wm-page-content', PAGE_MODULE],
|
|
44442
44446
|
['wm-pagedialog', PARTIAL_DIALOG_MODULE],
|
|
44443
44447
|
['wm-pagination', PAGINATION_MODULE],
|
|
@@ -44966,14 +44970,14 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
|
|
|
44966
44970
|
|
|
44967
44971
|
const carouselTagName = 'carousel';
|
|
44968
44972
|
const dataSetKey$5 = 'dataset';
|
|
44969
|
-
const idGen$
|
|
44973
|
+
const idGen$r = new IDGenerator('wm_carousel_ref_');
|
|
44970
44974
|
const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
|
44971
|
-
const ɵ0$
|
|
44975
|
+
const ɵ0$d$1 = isDynamicCarousel;
|
|
44972
44976
|
register('wm-carousel', () => {
|
|
44973
44977
|
return {
|
|
44974
44978
|
pre: (attrs, shared) => {
|
|
44975
44979
|
// generating unique Id for the carousel
|
|
44976
|
-
const counter = idGen$
|
|
44980
|
+
const counter = idGen$r.nextUid();
|
|
44977
44981
|
shared.set('carousel_ref', counter);
|
|
44978
44982
|
return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
|
|
44979
44983
|
},
|
|
@@ -45006,7 +45010,7 @@ var carousel_build = () => { };
|
|
|
45006
45010
|
var carousel_build$1 = /*#__PURE__*/Object.freeze({
|
|
45007
45011
|
__proto__: null,
|
|
45008
45012
|
'default': carousel_build,
|
|
45009
|
-
'ɵ0': ɵ0$
|
|
45013
|
+
'ɵ0': ɵ0$d$1
|
|
45010
45014
|
});
|
|
45011
45015
|
|
|
45012
45016
|
const carouselContentTagName = 'slide';
|
|
@@ -45040,11 +45044,11 @@ var carouselTemplate_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45040
45044
|
'default': carouselTemplate_build
|
|
45041
45045
|
});
|
|
45042
45046
|
|
|
45043
|
-
const tagName$
|
|
45047
|
+
const tagName$1C = 'div';
|
|
45044
45048
|
register('wm-login', () => {
|
|
45045
45049
|
return {
|
|
45046
|
-
pre: attrs => `<${tagName$
|
|
45047
|
-
post: () => `</${tagName$
|
|
45050
|
+
pre: attrs => `<${tagName$1C} wmLogin ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction">`,
|
|
45051
|
+
post: () => `</${tagName$1C}>`,
|
|
45048
45052
|
provide: () => {
|
|
45049
45053
|
const provider = new Map();
|
|
45050
45054
|
provider.set('isLogin', true);
|
|
@@ -45059,11 +45063,11 @@ var login_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45059
45063
|
'default': login_build
|
|
45060
45064
|
});
|
|
45061
45065
|
|
|
45062
|
-
const tagName$
|
|
45066
|
+
const tagName$1B = 'marquee';
|
|
45063
45067
|
register('wm-marquee', () => {
|
|
45064
45068
|
return {
|
|
45065
|
-
pre: attrs => `<${tagName$
|
|
45066
|
-
post: () => `</${tagName$
|
|
45069
|
+
pre: attrs => `<${tagName$1B} onmouseover="this.stop();" onmouseout="this.start();" wmMarquee role="marquee" aria-live="off" ${getAttrMarkup(attrs)}>`,
|
|
45070
|
+
post: () => `</${tagName$1B}>`
|
|
45067
45071
|
};
|
|
45068
45072
|
});
|
|
45069
45073
|
var marquee_build = () => { };
|
|
@@ -45073,15 +45077,15 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45073
45077
|
'default': marquee_build
|
|
45074
45078
|
});
|
|
45075
45079
|
|
|
45076
|
-
const tagName$
|
|
45077
|
-
const idGen$
|
|
45080
|
+
const tagName$1A = 'a';
|
|
45081
|
+
const idGen$q = new IDGenerator('wm_anchor');
|
|
45078
45082
|
register('wm-anchor', () => {
|
|
45079
45083
|
return {
|
|
45080
45084
|
pre: (attrs) => {
|
|
45081
|
-
const counter = idGen$
|
|
45082
|
-
return `<${tagName$
|
|
45085
|
+
const counter = idGen$q.nextUid();
|
|
45086
|
+
return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.hint || ${counter}.caption || 'Link'" ${getAttrMarkup(attrs)}>`;
|
|
45083
45087
|
},
|
|
45084
|
-
post: () => `</${tagName$
|
|
45088
|
+
post: () => `</${tagName$1A}>`
|
|
45085
45089
|
};
|
|
45086
45090
|
});
|
|
45087
45091
|
var anchor_build = () => { };
|
|
@@ -45091,11 +45095,11 @@ var anchor_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45091
45095
|
'default': anchor_build
|
|
45092
45096
|
});
|
|
45093
45097
|
|
|
45094
|
-
const tagName$
|
|
45098
|
+
const tagName$1z = 'div';
|
|
45095
45099
|
register('wm-audio', () => {
|
|
45096
45100
|
return {
|
|
45097
|
-
pre: attrs => `<${tagName$
|
|
45098
|
-
post: () => `</${tagName$
|
|
45101
|
+
pre: attrs => `<${tagName$1z} wmAudio ${getAttrMarkup(attrs)}>`,
|
|
45102
|
+
post: () => `</${tagName$1z}>`
|
|
45099
45103
|
};
|
|
45100
45104
|
});
|
|
45101
45105
|
var audio_build = () => { };
|
|
@@ -45105,15 +45109,15 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45105
45109
|
'default': audio_build
|
|
45106
45110
|
});
|
|
45107
45111
|
|
|
45108
|
-
const tagName$
|
|
45109
|
-
const idGen$
|
|
45112
|
+
const tagName$1y = 'div';
|
|
45113
|
+
const idGen$p = new IDGenerator('wm_html');
|
|
45110
45114
|
register('wm-html', () => {
|
|
45111
45115
|
return {
|
|
45112
45116
|
pre: (attrs) => {
|
|
45113
|
-
const counter = idGen$
|
|
45114
|
-
return `<${tagName$
|
|
45117
|
+
const counter = idGen$p.nextUid();
|
|
45118
|
+
return `<${tagName$1y} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
|
|
45115
45119
|
},
|
|
45116
|
-
post: () => `</${tagName$
|
|
45120
|
+
post: () => `</${tagName$1y}>`
|
|
45117
45121
|
};
|
|
45118
45122
|
});
|
|
45119
45123
|
var html_build = () => { };
|
|
@@ -45123,11 +45127,11 @@ var html_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45123
45127
|
'default': html_build
|
|
45124
45128
|
});
|
|
45125
45129
|
|
|
45126
|
-
const tagName$
|
|
45130
|
+
const tagName$1x = 'span';
|
|
45127
45131
|
register('wm-icon', () => {
|
|
45128
45132
|
return {
|
|
45129
|
-
pre: attrs => `<${tagName$
|
|
45130
|
-
post: () => `</${tagName$
|
|
45133
|
+
pre: attrs => `<${tagName$1x} wmIcon aria-hidden="true" ${getAttrMarkup(attrs)}>`,
|
|
45134
|
+
post: () => `</${tagName$1x}>`
|
|
45131
45135
|
};
|
|
45132
45136
|
});
|
|
45133
45137
|
var icon_build = () => { };
|
|
@@ -45137,11 +45141,11 @@ var icon_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45137
45141
|
'default': icon_build
|
|
45138
45142
|
});
|
|
45139
45143
|
|
|
45140
|
-
const tagName$
|
|
45144
|
+
const tagName$1w = 'div';
|
|
45141
45145
|
register('wm-iframe', () => {
|
|
45142
45146
|
return {
|
|
45143
|
-
pre: attrs => `<${tagName$
|
|
45144
|
-
post: () => `</${tagName$
|
|
45147
|
+
pre: attrs => `<${tagName$1w} wmIframe ${getAttrMarkup(attrs)}>`,
|
|
45148
|
+
post: () => `</${tagName$1w}>`
|
|
45145
45149
|
};
|
|
45146
45150
|
});
|
|
45147
45151
|
var iframe_build = () => { };
|
|
@@ -45151,15 +45155,15 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45151
45155
|
'default': iframe_build
|
|
45152
45156
|
});
|
|
45153
45157
|
|
|
45154
|
-
const tagName$
|
|
45155
|
-
const idGen$
|
|
45158
|
+
const tagName$1v = 'label';
|
|
45159
|
+
const idGen$o = new IDGenerator('wm_label');
|
|
45156
45160
|
register('wm-label', () => {
|
|
45157
45161
|
return {
|
|
45158
45162
|
pre: (attrs) => {
|
|
45159
|
-
const counter = idGen$
|
|
45160
|
-
return `<${tagName$
|
|
45163
|
+
const counter = idGen$o.nextUid();
|
|
45164
|
+
return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint || 'Label text'" ${getAttrMarkup(attrs)}>`;
|
|
45161
45165
|
},
|
|
45162
|
-
post: () => `</${tagName$
|
|
45166
|
+
post: () => `</${tagName$1v}>`
|
|
45163
45167
|
};
|
|
45164
45168
|
});
|
|
45165
45169
|
var label_build = () => { };
|
|
@@ -45169,13 +45173,13 @@ var label_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45169
45173
|
'default': label_build
|
|
45170
45174
|
});
|
|
45171
45175
|
|
|
45172
|
-
const tagName$
|
|
45173
|
-
const idGen$
|
|
45176
|
+
const tagName$1u = 'img';
|
|
45177
|
+
const idGen$n = new IDGenerator('wm_picture');
|
|
45174
45178
|
register('wm-picture', () => {
|
|
45175
45179
|
return {
|
|
45176
45180
|
pre: (attrs) => {
|
|
45177
|
-
const counter = idGen$
|
|
45178
|
-
return `<${tagName$
|
|
45181
|
+
const counter = idGen$n.nextUid();
|
|
45182
|
+
return `<${tagName$1u} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.hint || 'Image'" ${getAttrMarkup(attrs)}>`;
|
|
45179
45183
|
}
|
|
45180
45184
|
};
|
|
45181
45185
|
});
|
|
@@ -45186,15 +45190,15 @@ var picture_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45186
45190
|
'default': picture_build
|
|
45187
45191
|
});
|
|
45188
45192
|
|
|
45189
|
-
const tagName$
|
|
45190
|
-
const idGen$
|
|
45193
|
+
const tagName$1t = 'div';
|
|
45194
|
+
const idGen$m = new IDGenerator('wm_spinner');
|
|
45191
45195
|
register('wm-spinner', () => {
|
|
45192
45196
|
return {
|
|
45193
45197
|
pre: (attrs) => {
|
|
45194
|
-
const counter = idGen$
|
|
45195
|
-
return `<${tagName$
|
|
45198
|
+
const counter = idGen$m.nextUid();
|
|
45199
|
+
return `<${tagName$1t} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.hint || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
|
|
45196
45200
|
},
|
|
45197
|
-
post: () => `</${tagName$
|
|
45201
|
+
post: () => `</${tagName$1t}>`
|
|
45198
45202
|
};
|
|
45199
45203
|
});
|
|
45200
45204
|
var spinner_build = () => { };
|
|
@@ -45204,16 +45208,16 @@ var spinner_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45204
45208
|
'default': spinner_build
|
|
45205
45209
|
});
|
|
45206
45210
|
|
|
45207
|
-
const tagName$
|
|
45211
|
+
const tagName$1s = 'div';
|
|
45208
45212
|
const getAttr = (node, attrName) => node.attrs.find(attr => attr.name === attrName);
|
|
45209
|
-
const ɵ0$
|
|
45213
|
+
const ɵ0$c$1 = getAttr;
|
|
45210
45214
|
const getAttrValue = (node, attrName) => {
|
|
45211
45215
|
const match = getAttr(node, attrName);
|
|
45212
45216
|
if (match) {
|
|
45213
45217
|
return match.value;
|
|
45214
45218
|
}
|
|
45215
45219
|
};
|
|
45216
|
-
const ɵ1$
|
|
45220
|
+
const ɵ1$8 = getAttrValue;
|
|
45217
45221
|
const getReplaceRegex = (v) => new RegExp(`bind:(${v}|${v}\\[\\$i])\\.`, 'g');
|
|
45218
45222
|
const ɵ2$4$1 = getReplaceRegex;
|
|
45219
45223
|
register('wm-progress-bar', () => {
|
|
@@ -45235,8 +45239,8 @@ register('wm-progress-bar', () => {
|
|
|
45235
45239
|
}
|
|
45236
45240
|
}
|
|
45237
45241
|
},
|
|
45238
|
-
pre: attrs => `<${tagName$
|
|
45239
|
-
post: () => `</${tagName$
|
|
45242
|
+
pre: attrs => `<${tagName$1s} wmProgressBar ${getAttrMarkup(attrs)}>`,
|
|
45243
|
+
post: () => `</${tagName$1s}>`
|
|
45240
45244
|
};
|
|
45241
45245
|
});
|
|
45242
45246
|
var progressBar_build = () => { };
|
|
@@ -45244,16 +45248,16 @@ var progressBar_build = () => { };
|
|
|
45244
45248
|
var progressBar_build$1 = /*#__PURE__*/Object.freeze({
|
|
45245
45249
|
__proto__: null,
|
|
45246
45250
|
'default': progressBar_build,
|
|
45247
|
-
'ɵ0': ɵ0$
|
|
45248
|
-
'ɵ1': ɵ1$
|
|
45251
|
+
'ɵ0': ɵ0$c$1,
|
|
45252
|
+
'ɵ1': ɵ1$8,
|
|
45249
45253
|
'ɵ2': ɵ2$4$1
|
|
45250
45254
|
});
|
|
45251
45255
|
|
|
45252
|
-
const tagName$
|
|
45256
|
+
const tagName$1r = 'div';
|
|
45253
45257
|
register('wm-progress-circle', () => {
|
|
45254
45258
|
return {
|
|
45255
|
-
pre: attrs => `<${tagName$
|
|
45256
|
-
post: () => `</${tagName$
|
|
45259
|
+
pre: attrs => `<${tagName$1r} wmProgressCircle ${getAttrMarkup(attrs)}>`,
|
|
45260
|
+
post: () => `</${tagName$1r}>`
|
|
45257
45261
|
};
|
|
45258
45262
|
});
|
|
45259
45263
|
var progressCircle_build = () => { };
|
|
@@ -45263,15 +45267,15 @@ var progressCircle_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45263
45267
|
'default': progressCircle_build
|
|
45264
45268
|
});
|
|
45265
45269
|
|
|
45266
|
-
const tagName$
|
|
45267
|
-
const idGen$
|
|
45270
|
+
const tagName$1q = 'div';
|
|
45271
|
+
const idGen$l = new IDGenerator('wm_richtexteditor');
|
|
45268
45272
|
register('wm-richtexteditor', () => {
|
|
45269
45273
|
return {
|
|
45270
45274
|
pre: (attrs) => {
|
|
45271
|
-
const counter = idGen$
|
|
45272
|
-
return `<${tagName$
|
|
45275
|
+
const counter = idGen$l.nextUid();
|
|
45276
|
+
return `<${tagName$1q} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.hint || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
|
|
45273
45277
|
},
|
|
45274
|
-
post: () => `</${tagName$
|
|
45278
|
+
post: () => `</${tagName$1q}>`
|
|
45275
45279
|
};
|
|
45276
45280
|
});
|
|
45277
45281
|
var richTextEditor_build = () => { };
|
|
@@ -45281,11 +45285,11 @@ var richTextEditor_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45281
45285
|
'default': richTextEditor_build
|
|
45282
45286
|
});
|
|
45283
45287
|
|
|
45284
|
-
const tagName$
|
|
45288
|
+
const tagName$1p = 'div';
|
|
45285
45289
|
register('wm-search', () => {
|
|
45286
45290
|
return {
|
|
45287
|
-
pre: attrs => `<${tagName$
|
|
45288
|
-
post: () => `</${tagName$
|
|
45291
|
+
pre: attrs => `<${tagName$1p} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
45292
|
+
post: () => `</${tagName$1p}>`
|
|
45289
45293
|
};
|
|
45290
45294
|
});
|
|
45291
45295
|
var search_build = () => { };
|
|
@@ -45295,11 +45299,11 @@ var search_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45295
45299
|
'default': search_build
|
|
45296
45300
|
});
|
|
45297
45301
|
|
|
45298
|
-
const tagName$
|
|
45302
|
+
const tagName$1o = 'div';
|
|
45299
45303
|
register('wm-tree', () => {
|
|
45300
45304
|
return {
|
|
45301
|
-
pre: attrs => `<${tagName$
|
|
45302
|
-
post: () => `</${tagName$
|
|
45305
|
+
pre: attrs => `<${tagName$1o} wmTree ${getAttrMarkup(attrs)}>`,
|
|
45306
|
+
post: () => `</${tagName$1o}>`
|
|
45303
45307
|
};
|
|
45304
45308
|
});
|
|
45305
45309
|
var tree_build = () => { };
|
|
@@ -45309,11 +45313,11 @@ var tree_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45309
45313
|
'default': tree_build
|
|
45310
45314
|
});
|
|
45311
45315
|
|
|
45312
|
-
const tagName$
|
|
45316
|
+
const tagName$1n = 'div';
|
|
45313
45317
|
register('wm-card', () => {
|
|
45314
45318
|
return {
|
|
45315
|
-
pre: attrs => `<${tagName$
|
|
45316
|
-
post: () => `</${tagName$
|
|
45319
|
+
pre: attrs => `<${tagName$1n} wmCard ${getAttrMarkup(attrs)}>`,
|
|
45320
|
+
post: () => `</${tagName$1n}>`
|
|
45317
45321
|
};
|
|
45318
45322
|
});
|
|
45319
45323
|
var card_build = () => { };
|
|
@@ -45323,11 +45327,11 @@ var card_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45323
45327
|
'default': card_build
|
|
45324
45328
|
});
|
|
45325
45329
|
|
|
45326
|
-
const tagName$
|
|
45330
|
+
const tagName$1m = 'div';
|
|
45327
45331
|
register('wm-card-content', () => {
|
|
45328
45332
|
return {
|
|
45329
|
-
pre: attrs => `<${tagName$
|
|
45330
|
-
post: () => `</${tagName$
|
|
45333
|
+
pre: attrs => `<${tagName$1m} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,
|
|
45334
|
+
post: () => `</${tagName$1m}>`
|
|
45331
45335
|
};
|
|
45332
45336
|
});
|
|
45333
45337
|
var cardContent_build = () => { };
|
|
@@ -45337,11 +45341,11 @@ var cardContent_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45337
45341
|
'default': cardContent_build
|
|
45338
45342
|
});
|
|
45339
45343
|
|
|
45340
|
-
const tagName$
|
|
45344
|
+
const tagName$1l = 'div';
|
|
45341
45345
|
register('wm-card-actions', () => {
|
|
45342
45346
|
return {
|
|
45343
|
-
pre: attrs => `<${tagName$
|
|
45344
|
-
post: () => `</${tagName$
|
|
45347
|
+
pre: attrs => `<${tagName$1l} wmCardActions ${getAttrMarkup(attrs)}>`,
|
|
45348
|
+
post: () => `</${tagName$1l}>`
|
|
45345
45349
|
};
|
|
45346
45350
|
});
|
|
45347
45351
|
var cardActions_build = () => { };
|
|
@@ -45351,11 +45355,11 @@ var cardActions_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45351
45355
|
'default': cardActions_build
|
|
45352
45356
|
});
|
|
45353
45357
|
|
|
45354
|
-
const tagName$
|
|
45358
|
+
const tagName$1k = 'div';
|
|
45355
45359
|
register('wm-card-footer', () => {
|
|
45356
45360
|
return {
|
|
45357
|
-
pre: attrs => `<${tagName$
|
|
45358
|
-
post: () => `</${tagName$
|
|
45361
|
+
pre: attrs => `<${tagName$1k} wmCardFooter ${getAttrMarkup(attrs)}>`,
|
|
45362
|
+
post: () => `</${tagName$1k}>`
|
|
45359
45363
|
};
|
|
45360
45364
|
});
|
|
45361
45365
|
var cardFooter_build = () => { };
|
|
@@ -45365,11 +45369,11 @@ var cardFooter_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45365
45369
|
'default': cardFooter_build
|
|
45366
45370
|
});
|
|
45367
45371
|
|
|
45368
|
-
const tagName$
|
|
45372
|
+
const tagName$1j = 'div';
|
|
45369
45373
|
register('wm-chart', () => {
|
|
45370
45374
|
return {
|
|
45371
|
-
pre: attrs => `<${tagName$
|
|
45372
|
-
post: () => `</${tagName$
|
|
45375
|
+
pre: attrs => `<${tagName$1j} wmChart redrawable aria-label="${attrs.get('type')} Chart" ${getAttrMarkup(attrs)}>`,
|
|
45376
|
+
post: () => `</${tagName$1j}>`
|
|
45373
45377
|
};
|
|
45374
45378
|
});
|
|
45375
45379
|
var chart_build = () => { };
|
|
@@ -45379,20 +45383,20 @@ var chart_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45379
45383
|
'default': chart_build
|
|
45380
45384
|
});
|
|
45381
45385
|
|
|
45382
|
-
const tagName$
|
|
45386
|
+
const tagName$1i = 'div';
|
|
45383
45387
|
const dataSetKey$4 = 'dataset';
|
|
45384
|
-
const idGen$
|
|
45388
|
+
const idGen$k = new IDGenerator('wm_accordion_ref_');
|
|
45385
45389
|
const isDynamicAccordion = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
|
45386
|
-
const ɵ0$
|
|
45390
|
+
const ɵ0$b$1 = isDynamicAccordion;
|
|
45387
45391
|
register('wm-accordion', () => {
|
|
45388
45392
|
return {
|
|
45389
45393
|
pre: (attrs, shared) => {
|
|
45390
45394
|
// generating unique Id for the accordion
|
|
45391
|
-
const counter = idGen$
|
|
45395
|
+
const counter = idGen$k.nextUid();
|
|
45392
45396
|
shared.set('accordion_ref', counter);
|
|
45393
|
-
return `<${tagName$
|
|
45397
|
+
return `<${tagName$1i} wmAccordion #${counter}="wmAccordion" role="tablist" aria-multiselectable="true" ${getAttrMarkup(attrs)}>`;
|
|
45394
45398
|
},
|
|
45395
|
-
post: () => `</${tagName$
|
|
45399
|
+
post: () => `</${tagName$1i}>`,
|
|
45396
45400
|
template: (node, shared) => {
|
|
45397
45401
|
// check if the accordion is dynamic
|
|
45398
45402
|
if (isDynamicAccordion(node)) {
|
|
@@ -45421,14 +45425,14 @@ var accordion_build = () => { };
|
|
|
45421
45425
|
var accordion_build$1 = /*#__PURE__*/Object.freeze({
|
|
45422
45426
|
__proto__: null,
|
|
45423
45427
|
'default': accordion_build,
|
|
45424
|
-
'ɵ0': ɵ0$
|
|
45428
|
+
'ɵ0': ɵ0$b$1
|
|
45425
45429
|
});
|
|
45426
45430
|
|
|
45427
|
-
const tagName$
|
|
45431
|
+
const tagName$1h = 'div';
|
|
45428
45432
|
register('wm-accordionpane', () => {
|
|
45429
45433
|
return {
|
|
45430
|
-
pre: attrs => `<${tagName$
|
|
45431
|
-
post: () => `</${tagName$
|
|
45434
|
+
pre: attrs => `<${tagName$1h} wmAccordionPane partialContainer wm-navigable-element="true" role="tab" ${getAttrMarkup(attrs)}>`,
|
|
45435
|
+
post: () => `</${tagName$1h}>`
|
|
45432
45436
|
};
|
|
45433
45437
|
});
|
|
45434
45438
|
var accordionPane_build = () => { };
|
|
@@ -45438,11 +45442,11 @@ var accordionPane_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45438
45442
|
'default': accordionPane_build
|
|
45439
45443
|
});
|
|
45440
45444
|
|
|
45441
|
-
const tagName$
|
|
45445
|
+
const tagName$1g = 'div';
|
|
45442
45446
|
register('wm-container', () => {
|
|
45443
45447
|
return {
|
|
45444
|
-
pre: attrs => `<${tagName$
|
|
45445
|
-
post: () => `</${tagName$
|
|
45448
|
+
pre: attrs => `<${tagName$1g} wmContainer partialContainer wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
|
|
45449
|
+
post: () => `</${tagName$1g}>`
|
|
45446
45450
|
};
|
|
45447
45451
|
});
|
|
45448
45452
|
var container_build = () => { };
|
|
@@ -45452,11 +45456,11 @@ var container_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45452
45456
|
'default': container_build
|
|
45453
45457
|
});
|
|
45454
45458
|
|
|
45455
|
-
const tagName$
|
|
45459
|
+
const tagName$1f = 'div';
|
|
45456
45460
|
register('wm-gridcolumn', () => {
|
|
45457
45461
|
return {
|
|
45458
|
-
pre: attrs => `<${tagName$
|
|
45459
|
-
post: () => `</${tagName$
|
|
45462
|
+
pre: attrs => `<${tagName$1f} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,
|
|
45463
|
+
post: () => `</${tagName$1f}>`
|
|
45460
45464
|
};
|
|
45461
45465
|
});
|
|
45462
45466
|
var layoutGridColumn_build = () => { };
|
|
@@ -45466,11 +45470,11 @@ var layoutGridColumn_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45466
45470
|
'default': layoutGridColumn_build
|
|
45467
45471
|
});
|
|
45468
45472
|
|
|
45469
|
-
const tagName$
|
|
45473
|
+
const tagName$1e = 'div';
|
|
45470
45474
|
register('wm-gridrow', () => {
|
|
45471
45475
|
return {
|
|
45472
|
-
pre: attrs => `<${tagName$
|
|
45473
|
-
post: () => `</${tagName$
|
|
45476
|
+
pre: attrs => `<${tagName$1e} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,
|
|
45477
|
+
post: () => `</${tagName$1e}>`
|
|
45474
45478
|
};
|
|
45475
45479
|
});
|
|
45476
45480
|
var layoutGridRow_build = () => { };
|
|
@@ -45480,11 +45484,11 @@ var layoutGridRow_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45480
45484
|
'default': layoutGridRow_build
|
|
45481
45485
|
});
|
|
45482
45486
|
|
|
45483
|
-
const tagName$
|
|
45487
|
+
const tagName$1d = 'div';
|
|
45484
45488
|
register('wm-layoutgrid', () => {
|
|
45485
45489
|
return {
|
|
45486
|
-
pre: attrs => `<${tagName$
|
|
45487
|
-
post: () => `</${tagName$
|
|
45490
|
+
pre: attrs => `<${tagName$1d} wmLayoutGrid ${getAttrMarkup(attrs)}>`,
|
|
45491
|
+
post: () => `</${tagName$1d}>`
|
|
45488
45492
|
};
|
|
45489
45493
|
});
|
|
45490
45494
|
var layoutGrid_build = () => { };
|
|
@@ -45494,21 +45498,21 @@ var layoutGrid_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45494
45498
|
'default': layoutGrid_build
|
|
45495
45499
|
});
|
|
45496
45500
|
|
|
45497
|
-
const tagName$
|
|
45498
|
-
const idGen$
|
|
45501
|
+
const tagName$1c = 'div';
|
|
45502
|
+
const idGen$j = new IDGenerator('wm_panel');
|
|
45499
45503
|
register('wm-panel', () => {
|
|
45500
45504
|
return {
|
|
45501
45505
|
pre: (attrs) => {
|
|
45502
|
-
const counter = idGen$
|
|
45503
|
-
return `<${tagName$
|
|
45506
|
+
const counter = idGen$j.nextUid();
|
|
45507
|
+
return `<${tagName$1c} wmPanel #${counter}="wmPanel" partialContainer [attr.aria-label]="${counter}.hint || 'Panel'" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
|
|
45504
45508
|
},
|
|
45505
|
-
post: () => `</${tagName$
|
|
45509
|
+
post: () => `</${tagName$1c}>`
|
|
45506
45510
|
};
|
|
45507
45511
|
});
|
|
45508
45512
|
register('wm-panel-footer', () => {
|
|
45509
45513
|
return {
|
|
45510
|
-
pre: attrs => `<${tagName$
|
|
45511
|
-
post: () => `</${tagName$
|
|
45514
|
+
pre: attrs => `<${tagName$1c} wmPanelFooter ${getAttrMarkup(attrs)}>`,
|
|
45515
|
+
post: () => `</${tagName$1c}>`
|
|
45512
45516
|
};
|
|
45513
45517
|
});
|
|
45514
45518
|
var panel_build = () => { };
|
|
@@ -45518,11 +45522,11 @@ var panel_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45518
45522
|
'default': panel_build
|
|
45519
45523
|
});
|
|
45520
45524
|
|
|
45521
|
-
const tagName$
|
|
45525
|
+
const tagName$1b = 'div';
|
|
45522
45526
|
register('wm-segmented-control', () => {
|
|
45523
45527
|
return {
|
|
45524
|
-
pre: attrs => `<${tagName$
|
|
45525
|
-
post: () => `</${tagName$
|
|
45528
|
+
pre: attrs => `<${tagName$1b} wmSegmentedControl ${getAttrMarkup(attrs)}>`,
|
|
45529
|
+
post: () => `</${tagName$1b}>`
|
|
45526
45530
|
};
|
|
45527
45531
|
});
|
|
45528
45532
|
var segmentedControl_build = () => { };
|
|
@@ -45532,11 +45536,11 @@ var segmentedControl_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45532
45536
|
'default': segmentedControl_build
|
|
45533
45537
|
});
|
|
45534
45538
|
|
|
45535
|
-
const tagName$
|
|
45539
|
+
const tagName$1a = 'li';
|
|
45536
45540
|
register('wm-segment-content', () => {
|
|
45537
45541
|
return {
|
|
45538
|
-
pre: attrs => `<${tagName$
|
|
45539
|
-
post: () => `</${tagName$
|
|
45542
|
+
pre: attrs => `<${tagName$1a} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
45543
|
+
post: () => `</${tagName$1a}>`
|
|
45540
45544
|
};
|
|
45541
45545
|
});
|
|
45542
45546
|
var segmentContent_build = () => { };
|
|
@@ -45572,20 +45576,20 @@ var repeatTemplate_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45572
45576
|
'default': repeatTemplate_build
|
|
45573
45577
|
});
|
|
45574
45578
|
|
|
45575
|
-
const tagName$
|
|
45579
|
+
const tagName$19 = 'div';
|
|
45576
45580
|
const dataSetKey$3 = 'dataset';
|
|
45577
|
-
const idGen$
|
|
45581
|
+
const idGen$i = new IDGenerator('wm_tabs_ref_');
|
|
45578
45582
|
const isDynamicTabs = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
|
45579
|
-
const ɵ0$
|
|
45583
|
+
const ɵ0$a$1 = isDynamicTabs;
|
|
45580
45584
|
register('wm-tabs', () => {
|
|
45581
45585
|
return {
|
|
45582
45586
|
pre: (attrs, shared) => {
|
|
45583
45587
|
// generating unique Id for the tabs
|
|
45584
|
-
const counter = idGen$
|
|
45588
|
+
const counter = idGen$i.nextUid();
|
|
45585
45589
|
shared.set('tabs_ref', counter);
|
|
45586
|
-
return `<${tagName$
|
|
45590
|
+
return `<${tagName$19} wmTabs #${counter}="wmTabs" ${getAttrMarkup(attrs)}>`;
|
|
45587
45591
|
},
|
|
45588
|
-
post: () => `</${tagName$
|
|
45592
|
+
post: () => `</${tagName$19}>`,
|
|
45589
45593
|
template: (node, shared) => {
|
|
45590
45594
|
// check if the tab widget is dynamic
|
|
45591
45595
|
if (isDynamicTabs(node)) {
|
|
@@ -45614,14 +45618,14 @@ var tabs_build = () => { };
|
|
|
45614
45618
|
var tabs_build$1 = /*#__PURE__*/Object.freeze({
|
|
45615
45619
|
__proto__: null,
|
|
45616
45620
|
'default': tabs_build,
|
|
45617
|
-
'ɵ0': ɵ0$
|
|
45621
|
+
'ɵ0': ɵ0$a$1
|
|
45618
45622
|
});
|
|
45619
45623
|
|
|
45620
|
-
const tagName$
|
|
45624
|
+
const tagName$18 = 'div';
|
|
45621
45625
|
register('wm-tabpane', () => {
|
|
45622
45626
|
return {
|
|
45623
|
-
pre: attrs => `<${tagName$
|
|
45624
|
-
post: () => `</${tagName$
|
|
45627
|
+
pre: attrs => `<${tagName$18} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element="true" role="tabpanel">`,
|
|
45628
|
+
post: () => `</${tagName$18}>`
|
|
45625
45629
|
};
|
|
45626
45630
|
});
|
|
45627
45631
|
var tabPane_build = () => { };
|
|
@@ -45631,11 +45635,11 @@ var tabPane_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45631
45635
|
'default': tabPane_build
|
|
45632
45636
|
});
|
|
45633
45637
|
|
|
45634
|
-
const tagName$
|
|
45638
|
+
const tagName$17 = 'div';
|
|
45635
45639
|
register('wm-tile', () => {
|
|
45636
45640
|
return {
|
|
45637
|
-
pre: attrs => `<${tagName$
|
|
45638
|
-
post: () => `</${tagName$
|
|
45641
|
+
pre: attrs => `<${tagName$17} wmTile aria-describedby="Tile" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
45642
|
+
post: () => `</${tagName$17}>`
|
|
45639
45643
|
};
|
|
45640
45644
|
});
|
|
45641
45645
|
var tile_build = () => { };
|
|
@@ -45645,11 +45649,11 @@ var tile_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45645
45649
|
'default': tile_build
|
|
45646
45650
|
});
|
|
45647
45651
|
|
|
45648
|
-
const tagName$
|
|
45652
|
+
const tagName$16 = 'div';
|
|
45649
45653
|
register('wm-wizard', () => {
|
|
45650
45654
|
return {
|
|
45651
|
-
pre: attrs => `<${tagName$
|
|
45652
|
-
post: () => `</${tagName$
|
|
45655
|
+
pre: attrs => `<${tagName$16} wmWizard role="tablist" ${getAttrMarkup(attrs)}>`,
|
|
45656
|
+
post: () => `</${tagName$16}>`
|
|
45653
45657
|
};
|
|
45654
45658
|
});
|
|
45655
45659
|
var wizard_build = () => { };
|
|
@@ -45659,16 +45663,16 @@ var wizard_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45659
45663
|
'default': wizard_build
|
|
45660
45664
|
});
|
|
45661
45665
|
|
|
45662
|
-
const tagName$
|
|
45663
|
-
const idGen$
|
|
45666
|
+
const tagName$15 = 'form';
|
|
45667
|
+
const idGen$h = new IDGenerator('wizard_step_id_');
|
|
45664
45668
|
register('wm-wizardstep', () => {
|
|
45665
45669
|
return {
|
|
45666
45670
|
pre: attrs => {
|
|
45667
|
-
const counter = idGen$
|
|
45668
|
-
return `<${tagName$
|
|
45671
|
+
const counter = idGen$h.nextUid();
|
|
45672
|
+
return `<${tagName$15} wmWizardStep #${counter}="wmWizardStep" ${getAttrMarkup(attrs)}>
|
|
45669
45673
|
<ng-template [ngIf]="${counter}.isInitialized">`;
|
|
45670
45674
|
},
|
|
45671
|
-
post: () => `</ng-template></${tagName$
|
|
45675
|
+
post: () => `</ng-template></${tagName$15}>`
|
|
45672
45676
|
};
|
|
45673
45677
|
});
|
|
45674
45678
|
var wizardStep_build = () => { };
|
|
@@ -45678,15 +45682,15 @@ var wizardStep_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45678
45682
|
'default': wizardStep_build
|
|
45679
45683
|
});
|
|
45680
45684
|
|
|
45681
|
-
const tagName$
|
|
45682
|
-
const idGen$
|
|
45685
|
+
const tagName$14 = 'button';
|
|
45686
|
+
const idGen$g = new IDGenerator('wm_barcodescanner');
|
|
45683
45687
|
register('wm-barcodescanner', () => {
|
|
45684
45688
|
return {
|
|
45685
45689
|
pre: (attrs) => {
|
|
45686
|
-
const counter = idGen$
|
|
45687
|
-
return `<${tagName$
|
|
45690
|
+
const counter = idGen$g.nextUid();
|
|
45691
|
+
return `<${tagName$14} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.hint || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
|
|
45688
45692
|
},
|
|
45689
|
-
post: () => `</${tagName$
|
|
45693
|
+
post: () => `</${tagName$14}>`
|
|
45690
45694
|
};
|
|
45691
45695
|
});
|
|
45692
45696
|
var barcodeScanner_build = () => { };
|
|
@@ -45696,15 +45700,15 @@ var barcodeScanner_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45696
45700
|
'default': barcodeScanner_build
|
|
45697
45701
|
});
|
|
45698
45702
|
|
|
45699
|
-
const tagName$
|
|
45700
|
-
const idGen$
|
|
45703
|
+
const tagName$13 = 'button';
|
|
45704
|
+
const idGen$f = new IDGenerator('wm_camera');
|
|
45701
45705
|
register('wm-camera', () => {
|
|
45702
45706
|
return {
|
|
45703
45707
|
pre: (attrs) => {
|
|
45704
|
-
const counter = idGen$
|
|
45705
|
-
return `<${tagName$
|
|
45708
|
+
const counter = idGen$f.nextUid();
|
|
45709
|
+
return `<${tagName$13} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.hint || 'Camera'" ${getAttrMarkup(attrs)}>`;
|
|
45706
45710
|
},
|
|
45707
|
-
post: () => `</${tagName$
|
|
45711
|
+
post: () => `</${tagName$13}>`
|
|
45708
45712
|
};
|
|
45709
45713
|
});
|
|
45710
45714
|
var camera_build = () => { };
|
|
@@ -45714,11 +45718,11 @@ var camera_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45714
45718
|
'default': camera_build
|
|
45715
45719
|
});
|
|
45716
45720
|
|
|
45717
|
-
const tagName$
|
|
45721
|
+
const tagName$12 = 'div';
|
|
45718
45722
|
register('wm-alertdialog', () => {
|
|
45719
45723
|
return {
|
|
45720
|
-
pre: attrs => `<${tagName$
|
|
45721
|
-
post: () => `</${tagName$
|
|
45724
|
+
pre: attrs => `<${tagName$12} wmAlertDialog role="alertdialog" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
45725
|
+
post: () => `</${tagName$12}>`
|
|
45722
45726
|
};
|
|
45723
45727
|
});
|
|
45724
45728
|
var alertDialog_build = () => { };
|
|
@@ -45728,11 +45732,11 @@ var alertDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45728
45732
|
'default': alertDialog_build
|
|
45729
45733
|
});
|
|
45730
45734
|
|
|
45731
|
-
const tagName
|
|
45735
|
+
const tagName$11 = 'div';
|
|
45732
45736
|
register('wm-confirmdialog', () => {
|
|
45733
45737
|
return {
|
|
45734
|
-
pre: attrs => `<${tagName
|
|
45735
|
-
post: () => `</${tagName
|
|
45738
|
+
pre: attrs => `<${tagName$11} wmConfirmDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
45739
|
+
post: () => `</${tagName$11}>`
|
|
45736
45740
|
};
|
|
45737
45741
|
});
|
|
45738
45742
|
var confirmDialog_build = () => { };
|
|
@@ -45742,11 +45746,11 @@ var confirmDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45742
45746
|
'default': confirmDialog_build
|
|
45743
45747
|
});
|
|
45744
45748
|
|
|
45745
|
-
const tagName$
|
|
45749
|
+
const tagName$10 = 'div';
|
|
45746
45750
|
register('wm-dialogactions', () => {
|
|
45747
45751
|
return {
|
|
45748
|
-
pre: attrs => `<ng-template #dialogFooter><${tagName$
|
|
45749
|
-
post: () => `</${tagName$
|
|
45752
|
+
pre: attrs => `<ng-template #dialogFooter><${tagName$10} wmDialogFooter data-identfier="actions" ${getAttrMarkup(attrs)}>`,
|
|
45753
|
+
post: () => `</${tagName$10}></ng-template>`
|
|
45750
45754
|
};
|
|
45751
45755
|
});
|
|
45752
45756
|
var dialogFooter_build = () => { };
|
|
@@ -45756,11 +45760,11 @@ var dialogFooter_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45756
45760
|
'default': dialogFooter_build
|
|
45757
45761
|
});
|
|
45758
45762
|
|
|
45759
|
-
const tagName
|
|
45763
|
+
const tagName$$ = 'div';
|
|
45760
45764
|
register('wm-dialog', () => {
|
|
45761
45765
|
return {
|
|
45762
|
-
pre: attrs => `<${tagName
|
|
45763
|
-
post: () => `</ng-template></${tagName
|
|
45766
|
+
pre: attrs => `<${tagName$$} wmDialog ${getAttrMarkup(attrs)} aria-modal="true" role="dialog" wm-navigable-element="true"><ng-template #dialogBody>`,
|
|
45767
|
+
post: () => `</ng-template></${tagName$$}>`
|
|
45764
45768
|
};
|
|
45765
45769
|
});
|
|
45766
45770
|
// Todo:vinay remove wm-view in migration
|
|
@@ -45777,11 +45781,11 @@ var dialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45777
45781
|
'default': dialog_build
|
|
45778
45782
|
});
|
|
45779
45783
|
|
|
45780
|
-
const tagName$
|
|
45784
|
+
const tagName$_ = 'div';
|
|
45781
45785
|
register('wm-iframedialog', () => {
|
|
45782
45786
|
return {
|
|
45783
|
-
pre: attrs => `<${tagName$
|
|
45784
|
-
post: () => `</${tagName$
|
|
45787
|
+
pre: attrs => `<${tagName$_} wmIframeDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
45788
|
+
post: () => `</${tagName$_}>`
|
|
45785
45789
|
};
|
|
45786
45790
|
});
|
|
45787
45791
|
var iframeDialog_build = () => { };
|
|
@@ -45791,11 +45795,11 @@ var iframeDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45791
45795
|
'default': iframeDialog_build
|
|
45792
45796
|
});
|
|
45793
45797
|
|
|
45794
|
-
const tagName$
|
|
45798
|
+
const tagName$Z = 'div';
|
|
45795
45799
|
register('wm-logindialog', () => {
|
|
45796
45800
|
return {
|
|
45797
|
-
pre: attrs => `<${tagName$
|
|
45798
|
-
post: () => `</ng-template></${tagName$
|
|
45801
|
+
pre: attrs => `<${tagName$Z} wmDialog wmLoginDialog ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction" wm-navigable-element="true"><ng-template #dialogBody>`,
|
|
45802
|
+
post: () => `</ng-template></${tagName$Z}>`
|
|
45799
45803
|
};
|
|
45800
45804
|
});
|
|
45801
45805
|
var loginDialog_build = () => { };
|
|
@@ -45805,7 +45809,7 @@ var loginDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45805
45809
|
'default': loginDialog_build
|
|
45806
45810
|
});
|
|
45807
45811
|
|
|
45808
|
-
const tagName$
|
|
45812
|
+
const tagName$Y = 'div';
|
|
45809
45813
|
register('wm-pagedialog', () => {
|
|
45810
45814
|
return {
|
|
45811
45815
|
pre: (attrs, shared) => {
|
|
@@ -45831,14 +45835,14 @@ register('wm-pagedialog', () => {
|
|
|
45831
45835
|
shared.set('hasPartialContent', true);
|
|
45832
45836
|
containerMarkup += `<ng-template><div wmContainer #partial partialContainer ${contentMarkup} width="100%" height="100%" ${onLoadEvtMarkup}>`;
|
|
45833
45837
|
}
|
|
45834
|
-
return `<${tagName$
|
|
45838
|
+
return `<${tagName$Y} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;
|
|
45835
45839
|
},
|
|
45836
45840
|
post: (attrs, shared) => {
|
|
45837
45841
|
let preContent = '';
|
|
45838
45842
|
if (shared.get('hasPartialContent')) {
|
|
45839
45843
|
preContent = `</div></ng-template>`;
|
|
45840
45844
|
}
|
|
45841
|
-
return `${preContent}</${tagName$
|
|
45845
|
+
return `${preContent}</${tagName$Y}>`;
|
|
45842
45846
|
}
|
|
45843
45847
|
};
|
|
45844
45848
|
});
|
|
@@ -45917,8 +45921,8 @@ const getEditModeWidget = colDef => {
|
|
|
45917
45921
|
return (fieldTypeWidgetTypeMap[colDef.type] && fieldTypeWidgetTypeMap[colDef.type][0]) || FormWidgetType.TEXT;
|
|
45918
45922
|
};
|
|
45919
45923
|
|
|
45920
|
-
const tagName$
|
|
45921
|
-
const idGen$
|
|
45924
|
+
const tagName$X = 'div';
|
|
45925
|
+
const idGen$e = new IDGenerator('formfield_');
|
|
45922
45926
|
const getEventsTemplate = (attrs) => {
|
|
45923
45927
|
const eventAttrs = new Map();
|
|
45924
45928
|
if (!attrs.has('focus.event')) {
|
|
@@ -45941,7 +45945,7 @@ const getEventsTemplate = (attrs) => {
|
|
|
45941
45945
|
});
|
|
45942
45946
|
return getFormMarkupAttr(eventAttrs);
|
|
45943
45947
|
};
|
|
45944
|
-
const ɵ0$
|
|
45948
|
+
const ɵ0$9$1 = getEventsTemplate;
|
|
45945
45949
|
const DEFAULT_PLACEHOLDERS = new Map([
|
|
45946
45950
|
[FormWidgetType.SELECT, ['Select Min value', 'Select Max value', 'Select value']],
|
|
45947
45951
|
[FormWidgetType.DATETIME, ['Select Min date time', 'Select Max date time', 'Select date time']],
|
|
@@ -45968,7 +45972,7 @@ const setDefaultPlaceholder = (attrs, widgetType, index) => {
|
|
|
45968
45972
|
attrs.set(prop, placeholder);
|
|
45969
45973
|
}
|
|
45970
45974
|
};
|
|
45971
|
-
const ɵ1$
|
|
45975
|
+
const ɵ1$7 = setDefaultPlaceholder;
|
|
45972
45976
|
const getWidgetTemplate = (attrs, options) => {
|
|
45973
45977
|
const name = attrs.get('name');
|
|
45974
45978
|
const fieldName = (attrs.get('key') || name || '').trim();
|
|
@@ -46023,7 +46027,7 @@ const registerFormField = (isFormField) => {
|
|
|
46023
46027
|
return {
|
|
46024
46028
|
requires: ['wm-form', 'wm-liveform', 'wm-livefilter', 'wm-list'],
|
|
46025
46029
|
pre: (attrs, shared, parentForm, parentLiveForm, parentFilter, parentList) => {
|
|
46026
|
-
const counter = idGen$
|
|
46030
|
+
const counter = idGen$e.nextUid();
|
|
46027
46031
|
const parent = parentForm || parentLiveForm || parentFilter;
|
|
46028
46032
|
const pCounter = (parent && parent.get('form_reference')) || 'form';
|
|
46029
46033
|
const widgetType = attrs.get('widget') || FormWidgetType.TEXT;
|
|
@@ -46044,7 +46048,7 @@ const registerFormField = (isFormField) => {
|
|
|
46044
46048
|
else {
|
|
46045
46049
|
setDefaultPlaceholder(attrs, widgetType, 2);
|
|
46046
46050
|
}
|
|
46047
|
-
return `<${tagName$
|
|
46051
|
+
return `<${tagName$X} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField captionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${getFormMarkupAttr(attrs)}>
|
|
46048
46052
|
<div class="live-field form-group app-composite-widget clearfix caption-{{${pCounter}.captionposition}}" widget="${widgetType}">
|
|
46049
46053
|
<label [hidden]="!${counter}.displayname" class="app-label control-label formfield-label {{${pCounter}._captionClass}}"
|
|
46050
46054
|
[ngStyle]="{width: ${pCounter}.captionsize}" [ngClass]="{'text-danger': ${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode,
|
|
@@ -46060,7 +46064,7 @@ const registerFormField = (isFormField) => {
|
|
|
46060
46064
|
</div>
|
|
46061
46065
|
</div>`;
|
|
46062
46066
|
},
|
|
46063
|
-
post: () => `</${tagName$
|
|
46067
|
+
post: () => `</${tagName$X}>`,
|
|
46064
46068
|
provide: (attrs, shared) => {
|
|
46065
46069
|
const provider = new Map();
|
|
46066
46070
|
provider.set('form_reference', shared.get('counter'));
|
|
@@ -46081,22 +46085,22 @@ var formField_build = () => { };
|
|
|
46081
46085
|
var formField_build$1 = /*#__PURE__*/Object.freeze({
|
|
46082
46086
|
__proto__: null,
|
|
46083
46087
|
'default': formField_build,
|
|
46084
|
-
'ɵ0': ɵ0$
|
|
46085
|
-
'ɵ1': ɵ1$
|
|
46088
|
+
'ɵ0': ɵ0$9$1,
|
|
46089
|
+
'ɵ1': ɵ1$7,
|
|
46086
46090
|
'ɵ2': ɵ2$3$1,
|
|
46087
46091
|
'ɵ3': ɵ3$2$1,
|
|
46088
46092
|
'ɵ4': ɵ4$1$1,
|
|
46089
46093
|
'ɵ5': ɵ5$1$1
|
|
46090
46094
|
});
|
|
46091
46095
|
|
|
46092
|
-
const tagName$
|
|
46096
|
+
const tagName$W = 'div';
|
|
46093
46097
|
const registerAction = (tmpl) => {
|
|
46094
46098
|
return {
|
|
46095
|
-
pre: attrs => `<${tagName$
|
|
46096
|
-
post: () => `</${tagName$
|
|
46099
|
+
pre: attrs => `<${tagName$W} wmFormAction name="${attrs.get('name') || attrs.get('key')}" ${getAttrMarkup(attrs)} ${tmpl}>`,
|
|
46100
|
+
post: () => `</${tagName$W}>`
|
|
46097
46101
|
};
|
|
46098
46102
|
};
|
|
46099
|
-
const ɵ0$
|
|
46103
|
+
const ɵ0$8$1 = registerAction;
|
|
46100
46104
|
register('wm-form-action', registerAction.bind(undefined, ''));
|
|
46101
46105
|
register('wm-filter-action', registerAction.bind(undefined, ` update-mode="true" `));
|
|
46102
46106
|
var formAction_build = () => { };
|
|
@@ -46104,11 +46108,11 @@ var formAction_build = () => { };
|
|
|
46104
46108
|
var formAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
46105
46109
|
__proto__: null,
|
|
46106
46110
|
'default': formAction_build,
|
|
46107
|
-
'ɵ0': ɵ0$
|
|
46111
|
+
'ɵ0': ɵ0$8$1
|
|
46108
46112
|
});
|
|
46109
46113
|
|
|
46110
|
-
const tagName$
|
|
46111
|
-
const idGen$
|
|
46114
|
+
const tagName$V = 'form';
|
|
46115
|
+
const idGen$d = new IDGenerator('form_');
|
|
46112
46116
|
const formWidgets$1 = new Set([
|
|
46113
46117
|
'wm-text',
|
|
46114
46118
|
'wm-textarea',
|
|
@@ -46157,7 +46161,7 @@ const addFormControlName = (children = []) => {
|
|
|
46157
46161
|
addFormControlName(childNode.children);
|
|
46158
46162
|
});
|
|
46159
46163
|
};
|
|
46160
|
-
const ɵ0$
|
|
46164
|
+
const ɵ0$7$1 = addFormControlName;
|
|
46161
46165
|
const updateFormDataSource = (attrMap) => {
|
|
46162
46166
|
if (attrMap.get('formdata.bind')) {
|
|
46163
46167
|
const formDataSource = getDataSource(attrMap.get('formdata.bind'));
|
|
@@ -46166,7 +46170,7 @@ const updateFormDataSource = (attrMap) => {
|
|
|
46166
46170
|
}
|
|
46167
46171
|
}
|
|
46168
46172
|
};
|
|
46169
|
-
const ɵ1$
|
|
46173
|
+
const ɵ1$6 = updateFormDataSource;
|
|
46170
46174
|
const buildTask = (directiveAttr = '') => {
|
|
46171
46175
|
return {
|
|
46172
46176
|
requires: ['wm-livetable', 'wm-login'],
|
|
@@ -46178,12 +46182,12 @@ const buildTask = (directiveAttr = '') => {
|
|
|
46178
46182
|
let tmpl;
|
|
46179
46183
|
let dialogId;
|
|
46180
46184
|
const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';
|
|
46181
|
-
const counter = idGen$
|
|
46185
|
+
const counter = idGen$d.nextUid();
|
|
46182
46186
|
const dependsOn = attrs.get('dependson') ? `dependson="${attrs.get('dependson')}"` : '';
|
|
46183
46187
|
const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';
|
|
46184
46188
|
const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];
|
|
46185
46189
|
attrs.delete('dependson');
|
|
46186
|
-
const liveFormTmpl = `<${tagName$
|
|
46190
|
+
const liveFormTmpl = `<${tagName$V} wmForm data-role="${role}" ${directiveAttr} #${counter} ngNativeValidate [formGroup]="${counter}.ngform" [noValidate]="${counter}.validationtype !== 'html'"
|
|
46187
46191
|
class="${classProp}" [class]="${counter}.captionAlignClass" [autocomplete]="${counter}.autocomplete ? 'on' : 'off'" captionposition=${attrs.get('captionposition')}`;
|
|
46188
46192
|
attrs.set('numberOfFields', `${numberOfFields}`);
|
|
46189
46193
|
shared.set('counter', counter);
|
|
@@ -46232,9 +46236,9 @@ const buildTask = (directiveAttr = '') => {
|
|
|
46232
46236
|
return '</form></ng-template></div></div>';
|
|
46233
46237
|
}
|
|
46234
46238
|
if (attrs.get('formlayout') === 'page') {
|
|
46235
|
-
return `</div></${tagName$
|
|
46239
|
+
return `</div></${tagName$V}>`;
|
|
46236
46240
|
}
|
|
46237
|
-
return `</${tagName$
|
|
46241
|
+
return `</${tagName$V}>`;
|
|
46238
46242
|
},
|
|
46239
46243
|
provide: (attrs, shared) => {
|
|
46240
46244
|
const provider = new Map();
|
|
@@ -46252,19 +46256,19 @@ var form_build = () => { };
|
|
|
46252
46256
|
var form_build$1 = /*#__PURE__*/Object.freeze({
|
|
46253
46257
|
__proto__: null,
|
|
46254
46258
|
'default': form_build,
|
|
46255
|
-
'ɵ0': ɵ0$
|
|
46256
|
-
'ɵ1': ɵ1$
|
|
46259
|
+
'ɵ0': ɵ0$7$1,
|
|
46260
|
+
'ɵ1': ɵ1$6,
|
|
46257
46261
|
'ɵ2': ɵ2$2$1
|
|
46258
46262
|
});
|
|
46259
46263
|
|
|
46260
|
-
const tagName$
|
|
46264
|
+
const tagName$U = 'div';
|
|
46261
46265
|
register('wm-calendar', () => {
|
|
46262
46266
|
return {
|
|
46263
46267
|
pre: (attrs) => {
|
|
46264
46268
|
let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';
|
|
46265
|
-
return `<${tagName$
|
|
46269
|
+
return `<${tagName$U} wmCalendar redrawable style="width:100%" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
|
|
46266
46270
|
},
|
|
46267
|
-
post: () => `</${tagName$
|
|
46271
|
+
post: () => `</${tagName$U}>`
|
|
46268
46272
|
};
|
|
46269
46273
|
});
|
|
46270
46274
|
var calendar_build = () => { };
|
|
@@ -46274,11 +46278,11 @@ var calendar_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46274
46278
|
'default': calendar_build
|
|
46275
46279
|
});
|
|
46276
46280
|
|
|
46277
|
-
const tagName$
|
|
46281
|
+
const tagName$T = 'ul';
|
|
46278
46282
|
register('wm-chips', () => {
|
|
46279
46283
|
return {
|
|
46280
|
-
pre: attrs => `<${tagName$
|
|
46281
|
-
post: () => `</${tagName$
|
|
46284
|
+
pre: attrs => `<${tagName$T} wmChips role="listbox" ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
46285
|
+
post: () => `</${tagName$T}>`
|
|
46282
46286
|
};
|
|
46283
46287
|
});
|
|
46284
46288
|
var chips_build = () => { };
|
|
@@ -46288,11 +46292,11 @@ var chips_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46288
46292
|
'default': chips_build
|
|
46289
46293
|
});
|
|
46290
46294
|
|
|
46291
|
-
const tagName$
|
|
46295
|
+
const tagName$S = 'div';
|
|
46292
46296
|
register('wm-colorpicker', () => {
|
|
46293
46297
|
return {
|
|
46294
|
-
pre: attrs => `<${tagName$
|
|
46295
|
-
post: () => `</${tagName$
|
|
46298
|
+
pre: attrs => `<${tagName$S} wmColorPicker ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
46299
|
+
post: () => `</${tagName$S}>`
|
|
46296
46300
|
};
|
|
46297
46301
|
});
|
|
46298
46302
|
var colorPicker_build = () => { };
|
|
@@ -46302,11 +46306,11 @@ var colorPicker_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46302
46306
|
'default': colorPicker_build
|
|
46303
46307
|
});
|
|
46304
46308
|
|
|
46305
|
-
const tagName$
|
|
46309
|
+
const tagName$R = 'div';
|
|
46306
46310
|
register('wm-currency', () => {
|
|
46307
46311
|
return {
|
|
46308
|
-
pre: attrs => `<${tagName$
|
|
46309
|
-
post: () => `</${tagName$
|
|
46312
|
+
pre: attrs => `<${tagName$R} wmCurrency ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
46313
|
+
post: () => `</${tagName$R}>`
|
|
46310
46314
|
};
|
|
46311
46315
|
});
|
|
46312
46316
|
var currency_build = () => { };
|
|
@@ -46316,11 +46320,11 @@ var currency_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46316
46320
|
'default': currency_build
|
|
46317
46321
|
});
|
|
46318
46322
|
|
|
46319
|
-
const tagName$
|
|
46323
|
+
const tagName$Q = 'div';
|
|
46320
46324
|
register('wm-buttongroup', () => {
|
|
46321
46325
|
return {
|
|
46322
|
-
pre: attrs => `<${tagName$
|
|
46323
|
-
post: () => `</${tagName$
|
|
46326
|
+
pre: attrs => `<${tagName$Q} wmButtonGroup role="group" aria-labelledby="button group" ${getAttrMarkup(attrs)}>`,
|
|
46327
|
+
post: () => `</${tagName$Q}>`
|
|
46324
46328
|
};
|
|
46325
46329
|
});
|
|
46326
46330
|
var buttonGroup_build = () => { };
|
|
@@ -46330,15 +46334,15 @@ var buttonGroup_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46330
46334
|
'default': buttonGroup_build
|
|
46331
46335
|
});
|
|
46332
46336
|
|
|
46333
|
-
const tagName$
|
|
46334
|
-
const idGen$
|
|
46337
|
+
const tagName$P = 'button';
|
|
46338
|
+
const idGen$c = new IDGenerator('wm_button');
|
|
46335
46339
|
register('wm-button', () => {
|
|
46336
46340
|
return {
|
|
46337
46341
|
pre: (attrs) => {
|
|
46338
|
-
const counter = idGen$
|
|
46339
|
-
return `<${tagName$
|
|
46342
|
+
const counter = idGen$c.nextUid();
|
|
46343
|
+
return `<${tagName$P} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.hint || ${counter}.caption || 'Button'" ${getAttrMarkup(attrs)}>`;
|
|
46340
46344
|
},
|
|
46341
|
-
post: () => `</${tagName$
|
|
46345
|
+
post: () => `</${tagName$P}>`
|
|
46342
46346
|
};
|
|
46343
46347
|
});
|
|
46344
46348
|
var button_build = () => { };
|
|
@@ -46348,11 +46352,11 @@ var button_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46348
46352
|
'default': button_build
|
|
46349
46353
|
});
|
|
46350
46354
|
|
|
46351
|
-
const tagName$
|
|
46355
|
+
const tagName$O = 'div';
|
|
46352
46356
|
register('wm-checkbox', () => {
|
|
46353
46357
|
return {
|
|
46354
|
-
pre: attrs => `<${tagName$
|
|
46355
|
-
post: () => `</${tagName$
|
|
46358
|
+
pre: attrs => `<${tagName$O} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
46359
|
+
post: () => `</${tagName$O}>`
|
|
46356
46360
|
};
|
|
46357
46361
|
});
|
|
46358
46362
|
var checkbox_build = () => { };
|
|
@@ -46362,11 +46366,11 @@ var checkbox_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46362
46366
|
'default': checkbox_build
|
|
46363
46367
|
});
|
|
46364
46368
|
|
|
46365
|
-
const tagName$
|
|
46369
|
+
const tagName$N = 'ul';
|
|
46366
46370
|
register('wm-checkboxset', () => {
|
|
46367
46371
|
return {
|
|
46368
|
-
pre: attrs => `<${tagName$
|
|
46369
|
-
post: () => `</${tagName$
|
|
46372
|
+
pre: attrs => `<${tagName$N} wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
46373
|
+
post: () => `</${tagName$N}>`
|
|
46370
46374
|
};
|
|
46371
46375
|
});
|
|
46372
46376
|
var checkboxset_build = () => { };
|
|
@@ -46376,11 +46380,11 @@ var checkboxset_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46376
46380
|
'default': checkboxset_build
|
|
46377
46381
|
});
|
|
46378
46382
|
|
|
46379
|
-
const tagName$
|
|
46383
|
+
const tagName$M = 'div';
|
|
46380
46384
|
register('wm-composite', () => {
|
|
46381
46385
|
return {
|
|
46382
|
-
pre: attrs => `<${tagName$
|
|
46383
|
-
post: () => `</${tagName$
|
|
46386
|
+
pre: attrs => `<${tagName$M} wmComposite captionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,
|
|
46387
|
+
post: () => `</${tagName$M}${clearChildAttrs()}>`
|
|
46384
46388
|
};
|
|
46385
46389
|
});
|
|
46386
46390
|
var composite_build = () => { };
|
|
@@ -46390,11 +46394,11 @@ var composite_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46390
46394
|
'default': composite_build
|
|
46391
46395
|
});
|
|
46392
46396
|
|
|
46393
|
-
const tagName$
|
|
46397
|
+
const tagName$L = 'div';
|
|
46394
46398
|
register('wm-number', () => {
|
|
46395
46399
|
return {
|
|
46396
|
-
pre: attrs => `<${tagName$
|
|
46397
|
-
post: () => `</${tagName$
|
|
46400
|
+
pre: attrs => `<${tagName$L} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
46401
|
+
post: () => `</${tagName$L}>`
|
|
46398
46402
|
};
|
|
46399
46403
|
});
|
|
46400
46404
|
var number_build = () => { };
|
|
@@ -46404,11 +46408,11 @@ var number_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46404
46408
|
'default': number_build
|
|
46405
46409
|
});
|
|
46406
46410
|
|
|
46407
|
-
const tagName$
|
|
46411
|
+
const tagName$K = 'ul';
|
|
46408
46412
|
register('wm-radioset', () => {
|
|
46409
46413
|
return {
|
|
46410
|
-
pre: attrs => `<${tagName$
|
|
46411
|
-
post: () => `</${tagName$
|
|
46414
|
+
pre: attrs => `<${tagName$K} wmRadioset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
46415
|
+
post: () => `</${tagName$K}>`
|
|
46412
46416
|
};
|
|
46413
46417
|
});
|
|
46414
46418
|
var radioset_build = () => { };
|
|
@@ -46418,11 +46422,11 @@ var radioset_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46418
46422
|
'default': radioset_build
|
|
46419
46423
|
});
|
|
46420
46424
|
|
|
46421
|
-
const tagName$
|
|
46425
|
+
const tagName$J = 'wm-select';
|
|
46422
46426
|
register('wm-select', () => {
|
|
46423
46427
|
return {
|
|
46424
|
-
pre: attrs => `<${tagName$
|
|
46425
|
-
post: () => `</${tagName$
|
|
46428
|
+
pre: attrs => `<${tagName$J} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
46429
|
+
post: () => `</${tagName$J}>`
|
|
46426
46430
|
};
|
|
46427
46431
|
});
|
|
46428
46432
|
var select_build = () => { };
|
|
@@ -46432,15 +46436,15 @@ var select_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46432
46436
|
'default': select_build
|
|
46433
46437
|
});
|
|
46434
46438
|
|
|
46435
|
-
const tagName$
|
|
46436
|
-
const idGen$
|
|
46439
|
+
const tagName$I = 'div';
|
|
46440
|
+
const idGen$b = new IDGenerator('wm_switch');
|
|
46437
46441
|
register('wm-switch', () => {
|
|
46438
46442
|
return {
|
|
46439
46443
|
pre: (attrs) => {
|
|
46440
|
-
const counter = idGen$
|
|
46441
|
-
return `<${tagName$
|
|
46444
|
+
const counter = idGen$b.nextUid();
|
|
46445
|
+
return `<${tagName$I} wmSwitch #${counter}="wmSwitch" [attr.aria-label]="${counter}.hint || 'Switch button'" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;
|
|
46442
46446
|
},
|
|
46443
|
-
post: () => `</${tagName$
|
|
46447
|
+
post: () => `</${tagName$I}>`
|
|
46444
46448
|
};
|
|
46445
46449
|
});
|
|
46446
46450
|
var switch_build = () => { };
|
|
@@ -46450,11 +46454,11 @@ var switch_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46450
46454
|
'default': switch_build
|
|
46451
46455
|
});
|
|
46452
46456
|
|
|
46453
|
-
const tagName$
|
|
46457
|
+
const tagName$H = 'wm-input';
|
|
46454
46458
|
register('wm-text', () => {
|
|
46455
46459
|
return {
|
|
46456
|
-
pre: attrs => `<${tagName$
|
|
46457
|
-
post: () => `</${tagName$
|
|
46460
|
+
pre: attrs => `<${tagName$H} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
46461
|
+
post: () => `</${tagName$H}>`
|
|
46458
46462
|
};
|
|
46459
46463
|
});
|
|
46460
46464
|
var text_build = () => { };
|
|
@@ -46464,11 +46468,11 @@ var text_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46464
46468
|
'default': text_build
|
|
46465
46469
|
});
|
|
46466
46470
|
|
|
46467
|
-
const tagName$
|
|
46471
|
+
const tagName$G = 'wm-textarea';
|
|
46468
46472
|
register('wm-textarea', () => {
|
|
46469
46473
|
return {
|
|
46470
|
-
pre: attrs => `<${tagName$
|
|
46471
|
-
post: () => `</${tagName$
|
|
46474
|
+
pre: attrs => `<${tagName$G} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
46475
|
+
post: () => `</${tagName$G}>`
|
|
46472
46476
|
};
|
|
46473
46477
|
});
|
|
46474
46478
|
var textarea_build = () => { };
|
|
@@ -46478,11 +46482,11 @@ var textarea_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46478
46482
|
'default': textarea_build
|
|
46479
46483
|
});
|
|
46480
46484
|
|
|
46481
|
-
const tagName$
|
|
46485
|
+
const tagName$F = 'div';
|
|
46482
46486
|
register('wm-datetime', () => {
|
|
46483
46487
|
return {
|
|
46484
|
-
pre: attrs => `<${tagName$
|
|
46485
|
-
post: () => `</${tagName$
|
|
46488
|
+
pre: attrs => `<${tagName$F} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
46489
|
+
post: () => `</${tagName$F}>`
|
|
46486
46490
|
};
|
|
46487
46491
|
});
|
|
46488
46492
|
var dateTime_build = () => { };
|
|
@@ -46492,11 +46496,11 @@ var dateTime_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46492
46496
|
'default': dateTime_build
|
|
46493
46497
|
});
|
|
46494
46498
|
|
|
46495
|
-
const tagName$
|
|
46499
|
+
const tagName$E = 'div';
|
|
46496
46500
|
register('wm-date', () => {
|
|
46497
46501
|
return {
|
|
46498
|
-
pre: attrs => `<${tagName$
|
|
46499
|
-
post: () => `</${tagName$
|
|
46502
|
+
pre: attrs => `<${tagName$E} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
46503
|
+
post: () => `</${tagName$E}>`
|
|
46500
46504
|
};
|
|
46501
46505
|
});
|
|
46502
46506
|
var date_build = () => { };
|
|
@@ -46506,11 +46510,11 @@ var date_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46506
46510
|
'default': date_build
|
|
46507
46511
|
});
|
|
46508
46512
|
|
|
46509
|
-
const tagName$
|
|
46513
|
+
const tagName$D = 'div';
|
|
46510
46514
|
register('wm-time', () => {
|
|
46511
46515
|
return {
|
|
46512
|
-
pre: attrs => `<${tagName$
|
|
46513
|
-
post: () => `</${tagName$
|
|
46516
|
+
pre: attrs => `<${tagName$D} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
46517
|
+
post: () => `</${tagName$D}>`
|
|
46514
46518
|
};
|
|
46515
46519
|
});
|
|
46516
46520
|
var time_build = () => { };
|
|
@@ -46520,7 +46524,7 @@ var time_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46520
46524
|
'default': time_build
|
|
46521
46525
|
});
|
|
46522
46526
|
|
|
46523
|
-
const tagName$
|
|
46527
|
+
const tagName$C = 'div';
|
|
46524
46528
|
register('wm-fileupload', () => {
|
|
46525
46529
|
return {
|
|
46526
46530
|
pre: attrs => {
|
|
@@ -46528,9 +46532,9 @@ register('wm-fileupload', () => {
|
|
|
46528
46532
|
const onSelectBinding = getDataSource(attrs.get('select.event'));
|
|
46529
46533
|
attrs.set('datasource.bind', onSelectBinding);
|
|
46530
46534
|
}
|
|
46531
|
-
return `<${tagName$
|
|
46535
|
+
return `<${tagName$C} wmFileUpload ${getAttrMarkup(attrs)} role="input">`;
|
|
46532
46536
|
},
|
|
46533
|
-
post: () => `</${tagName$
|
|
46537
|
+
post: () => `</${tagName$C}>`
|
|
46534
46538
|
};
|
|
46535
46539
|
});
|
|
46536
46540
|
var fileUpload_build = () => { };
|
|
@@ -46540,11 +46544,11 @@ var fileUpload_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46540
46544
|
'default': fileUpload_build
|
|
46541
46545
|
});
|
|
46542
46546
|
|
|
46543
|
-
const tagName$
|
|
46547
|
+
const tagName$B = 'div';
|
|
46544
46548
|
register('wm-rating', () => {
|
|
46545
46549
|
return {
|
|
46546
|
-
pre: attrs => `<${tagName$
|
|
46547
|
-
post: () => `</${tagName$
|
|
46550
|
+
pre: attrs => `<${tagName$B} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
46551
|
+
post: () => `</${tagName$B}>`
|
|
46548
46552
|
};
|
|
46549
46553
|
});
|
|
46550
46554
|
var rating_build = () => { };
|
|
@@ -46554,11 +46558,11 @@ var rating_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46554
46558
|
'default': rating_build
|
|
46555
46559
|
});
|
|
46556
46560
|
|
|
46557
|
-
const tagName$
|
|
46561
|
+
const tagName$A = 'div';
|
|
46558
46562
|
register('wm-slider', () => {
|
|
46559
46563
|
return {
|
|
46560
|
-
pre: attrs => `<${tagName$
|
|
46561
|
-
post: () => `</${tagName$
|
|
46564
|
+
pre: attrs => `<${tagName$A} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
46565
|
+
post: () => `</${tagName$A}>`
|
|
46562
46566
|
};
|
|
46563
46567
|
});
|
|
46564
46568
|
var slider_build = () => { };
|
|
@@ -46569,7 +46573,7 @@ var slider_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46569
46573
|
});
|
|
46570
46574
|
|
|
46571
46575
|
const wmlistTag = 'wm-list';
|
|
46572
|
-
const tagName$
|
|
46576
|
+
const tagName$z = 'div';
|
|
46573
46577
|
const dataSetKey$2 = 'dataset';
|
|
46574
46578
|
function copyAttribute$1(from, fromAttrName, to, toAttrName) {
|
|
46575
46579
|
const fromAttr = from.attrs.find(a => a.name === fromAttrName);
|
|
@@ -46617,8 +46621,8 @@ register('wm-media-list', () => {
|
|
|
46617
46621
|
copyAttribute$1(template, 'height', node, 'thumbnailheight');
|
|
46618
46622
|
}
|
|
46619
46623
|
},
|
|
46620
|
-
pre: attrs => `<${tagName$
|
|
46621
|
-
post: () => `</${tagName$
|
|
46624
|
+
pre: attrs => `<${tagName$z} wmMediaList ${getAttrMarkup(attrs)}>`,
|
|
46625
|
+
post: () => `</${tagName$z}>`
|
|
46622
46626
|
};
|
|
46623
46627
|
});
|
|
46624
46628
|
var mediaList_build = () => { };
|
|
@@ -46628,11 +46632,11 @@ var mediaList_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46628
46632
|
'default': mediaList_build
|
|
46629
46633
|
});
|
|
46630
46634
|
|
|
46631
|
-
const tagName$
|
|
46635
|
+
const tagName$y = 'ng-template';
|
|
46632
46636
|
register('wm-media-template', () => {
|
|
46633
46637
|
return {
|
|
46634
|
-
pre: () => `<${tagName$
|
|
46635
|
-
post: () => `</${tagName$
|
|
46638
|
+
pre: () => `<${tagName$y} #mediaListTemplate let-item="item" let-index="index">`,
|
|
46639
|
+
post: () => `</${tagName$y}>`
|
|
46636
46640
|
};
|
|
46637
46641
|
});
|
|
46638
46642
|
var mediaListItem_build = () => { };
|
|
@@ -46716,16 +46720,16 @@ var list_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46716
46720
|
'default': list_build
|
|
46717
46721
|
});
|
|
46718
46722
|
|
|
46719
|
-
const tagName$
|
|
46720
|
-
const idGen$
|
|
46723
|
+
const tagName$x = 'div';
|
|
46724
|
+
const idGen$a = new IDGenerator('liveform_dialog_id_');
|
|
46721
46725
|
register('wm-livetable', () => {
|
|
46722
46726
|
return {
|
|
46723
46727
|
pre: (attrs, shared) => {
|
|
46724
|
-
const counter = idGen$
|
|
46728
|
+
const counter = idGen$a.nextUid();
|
|
46725
46729
|
shared.set('counter', counter);
|
|
46726
|
-
return `<${tagName$
|
|
46730
|
+
return `<${tagName$x} wmLiveTable role="table" ${getAttrMarkup(attrs)} dialogid="${counter}">`;
|
|
46727
46731
|
},
|
|
46728
|
-
post: () => `</${tagName$
|
|
46732
|
+
post: () => `</${tagName$x}>`,
|
|
46729
46733
|
provide: (attrs, shared) => {
|
|
46730
46734
|
const provider = new Map();
|
|
46731
46735
|
provider.set('liveform_dialog_id', shared.get('counter'));
|
|
@@ -46740,15 +46744,15 @@ var liveTable_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46740
46744
|
'default': liveTable_build
|
|
46741
46745
|
});
|
|
46742
46746
|
|
|
46743
|
-
const tagName$
|
|
46744
|
-
const idGen$
|
|
46747
|
+
const tagName$w = 'p';
|
|
46748
|
+
const idGen$9 = new IDGenerator('wm_message');
|
|
46745
46749
|
register('wm-message', () => {
|
|
46746
46750
|
return {
|
|
46747
46751
|
pre: (attrs) => {
|
|
46748
|
-
const counter = idGen$
|
|
46749
|
-
return `<${tagName$
|
|
46752
|
+
const counter = idGen$9.nextUid();
|
|
46753
|
+
return `<${tagName$w} wmMessage tabindex="0" #${counter}="wmMessage" ${getAttrMarkup(attrs)}>`;
|
|
46750
46754
|
},
|
|
46751
|
-
post: () => `</${tagName$
|
|
46755
|
+
post: () => `</${tagName$w}>`
|
|
46752
46756
|
};
|
|
46753
46757
|
});
|
|
46754
46758
|
var message_build = () => { };
|
|
@@ -46758,11 +46762,11 @@ var message_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46758
46762
|
'default': message_build
|
|
46759
46763
|
});
|
|
46760
46764
|
|
|
46761
|
-
const tagName$
|
|
46765
|
+
const tagName$v = 'ol';
|
|
46762
46766
|
register('wm-breadcrumb', () => {
|
|
46763
46767
|
return {
|
|
46764
|
-
pre: attrs => `<${tagName$
|
|
46765
|
-
post: () => `</${tagName$
|
|
46768
|
+
pre: attrs => `<${tagName$v} wmBreadcrumb ${getAttrMarkup(attrs)}>`,
|
|
46769
|
+
post: () => `</${tagName$v}>`
|
|
46766
46770
|
};
|
|
46767
46771
|
});
|
|
46768
46772
|
var breadcrumb_build = () => { };
|
|
@@ -46772,11 +46776,11 @@ var breadcrumb_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46772
46776
|
'default': breadcrumb_build
|
|
46773
46777
|
});
|
|
46774
46778
|
|
|
46775
|
-
const tagName$
|
|
46779
|
+
const tagName$u = 'div';
|
|
46776
46780
|
register('wm-menu', () => {
|
|
46777
46781
|
return {
|
|
46778
|
-
pre: attrs => `<${tagName$
|
|
46779
|
-
post: () => `</${tagName$
|
|
46782
|
+
pre: attrs => `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)}>`,
|
|
46783
|
+
post: () => `</${tagName$u}>`
|
|
46780
46784
|
};
|
|
46781
46785
|
});
|
|
46782
46786
|
var menu_build = () => { };
|
|
@@ -46786,11 +46790,11 @@ var menu_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46786
46790
|
'default': menu_build
|
|
46787
46791
|
});
|
|
46788
46792
|
|
|
46789
|
-
const tagName$
|
|
46793
|
+
const tagName$t = 'li';
|
|
46790
46794
|
register('wm-nav-item', () => {
|
|
46791
46795
|
return {
|
|
46792
|
-
pre: attrs => `<${tagName$
|
|
46793
|
-
post: () => `</${tagName$
|
|
46796
|
+
pre: attrs => `<${tagName$t} wmNavItem role="listitem" ${getAttrMarkup(attrs)}>`,
|
|
46797
|
+
post: () => `</${tagName$t}>`
|
|
46794
46798
|
};
|
|
46795
46799
|
});
|
|
46796
46800
|
var navItem_build = () => { };
|
|
@@ -46800,11 +46804,11 @@ var navItem_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46800
46804
|
'default': navItem_build
|
|
46801
46805
|
});
|
|
46802
46806
|
|
|
46803
|
-
const tagName$
|
|
46807
|
+
const tagName$s = 'ul';
|
|
46804
46808
|
register('wm-nav', () => {
|
|
46805
46809
|
return {
|
|
46806
|
-
pre: attrs => `<${tagName$
|
|
46807
|
-
post: () => `</${tagName$
|
|
46810
|
+
pre: attrs => `<${tagName$s} wmNav data-element-type="wmNav" data-role="page-header" role="list" ${getAttrMarkup(attrs)}>`,
|
|
46811
|
+
post: () => `</${tagName$s}>`
|
|
46808
46812
|
};
|
|
46809
46813
|
});
|
|
46810
46814
|
var nav_build = () => { };
|
|
@@ -46814,11 +46818,11 @@ var nav_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46814
46818
|
'default': nav_build
|
|
46815
46819
|
});
|
|
46816
46820
|
|
|
46817
|
-
const tagName$
|
|
46821
|
+
const tagName$r = 'nav';
|
|
46818
46822
|
register('wm-navbar', () => {
|
|
46819
46823
|
return {
|
|
46820
|
-
pre: attrs => `<${tagName$
|
|
46821
|
-
post: () => `</${tagName$
|
|
46824
|
+
pre: attrs => `<${tagName$r} wmNavbar data-element-type="wmNavbar" role="navigation" ${getAttrMarkup(attrs)}>`,
|
|
46825
|
+
post: () => `</${tagName$r}>`
|
|
46822
46826
|
};
|
|
46823
46827
|
});
|
|
46824
46828
|
var navbar_build = () => { };
|
|
@@ -46828,7 +46832,7 @@ var navbar_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46828
46832
|
'default': navbar_build
|
|
46829
46833
|
});
|
|
46830
46834
|
|
|
46831
|
-
const tagName$
|
|
46835
|
+
const tagName$q = 'wm-popover';
|
|
46832
46836
|
register('wm-popover', () => {
|
|
46833
46837
|
return {
|
|
46834
46838
|
requires: ['wm-table'],
|
|
@@ -46848,7 +46852,7 @@ register('wm-popover', () => {
|
|
|
46848
46852
|
popoverTemplate = `<div wmContainer #partial partialContainer ${contentMarkup}>`;
|
|
46849
46853
|
shared.set('hasPopoverContent', true);
|
|
46850
46854
|
}
|
|
46851
|
-
let markup = `<${tagName$
|
|
46855
|
+
let markup = `<${tagName$q} wmPopover ${getAttrMarkup(attrs)}>`;
|
|
46852
46856
|
const contextAttrs = table ? `let-row="row"` : ``;
|
|
46853
46857
|
markup += `<ng-template ${contextAttrs}><button class="popover-start"></button>`;
|
|
46854
46858
|
// todo keyboard navigation - tab
|
|
@@ -46862,7 +46866,7 @@ register('wm-popover', () => {
|
|
|
46862
46866
|
if (shared.get('hasPopoverContent')) {
|
|
46863
46867
|
markup += `</div>`;
|
|
46864
46868
|
}
|
|
46865
|
-
return `${markup}<button class="popover-end"></button></ng-template></${tagName$
|
|
46869
|
+
return `${markup}<button class="popover-end"></button></ng-template></${tagName$q}>`;
|
|
46866
46870
|
}
|
|
46867
46871
|
};
|
|
46868
46872
|
});
|
|
@@ -46873,21 +46877,21 @@ var popover_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
46873
46877
|
'default': popover_build
|
|
46874
46878
|
});
|
|
46875
46879
|
|
|
46876
|
-
const tagName$
|
|
46880
|
+
const tagName$p = 'div';
|
|
46877
46881
|
const findChild = (node, childName) => {
|
|
46878
46882
|
const child = node && node.children.find(e => (e instanceof Element$1$1 && e.name === childName));
|
|
46879
46883
|
return child;
|
|
46880
46884
|
};
|
|
46881
|
-
const ɵ0$
|
|
46882
|
-
const createElement$
|
|
46883
|
-
return new Element$1$1(name, [], [], noSpan$
|
|
46885
|
+
const ɵ0$6$1 = findChild;
|
|
46886
|
+
const createElement$3 = name => {
|
|
46887
|
+
return new Element$1$1(name, [], [], noSpan$3, noSpan$3, noSpan$3);
|
|
46884
46888
|
};
|
|
46885
|
-
const ɵ1$
|
|
46886
|
-
const addAtrribute$
|
|
46887
|
-
const attr = new Attribute(name, value, noSpan$
|
|
46889
|
+
const ɵ1$5$1 = createElement$3;
|
|
46890
|
+
const addAtrribute$3 = (node, name, value) => {
|
|
46891
|
+
const attr = new Attribute(name, value, noSpan$3, noSpan$3, noSpan$3, undefined, undefined);
|
|
46888
46892
|
node.attrs.push(attr);
|
|
46889
46893
|
};
|
|
46890
|
-
const ɵ2$1$2 = addAtrribute$
|
|
46894
|
+
const ɵ2$1$2 = addAtrribute$3;
|
|
46891
46895
|
const getElementNode = (name, node) => {
|
|
46892
46896
|
let elementNode;
|
|
46893
46897
|
if (!node) {
|
|
@@ -46907,8 +46911,8 @@ const getElementNode = (name, node) => {
|
|
|
46907
46911
|
return elementNode;
|
|
46908
46912
|
};
|
|
46909
46913
|
const ɵ3$1$2 = getElementNode;
|
|
46910
|
-
const noSpan$
|
|
46911
|
-
const idGen$
|
|
46914
|
+
const noSpan$3 = {};
|
|
46915
|
+
const idGen$8 = new IDGenerator('wm_page');
|
|
46912
46916
|
register('wm-page', () => {
|
|
46913
46917
|
return {
|
|
46914
46918
|
template: (node) => {
|
|
@@ -46917,24 +46921,24 @@ register('wm-page', () => {
|
|
|
46917
46921
|
pageContentNode = getElementNode('wm-page-content', getElementNode('wm-content', node));
|
|
46918
46922
|
}
|
|
46919
46923
|
if (pageContentNode) {
|
|
46920
|
-
const conditionalNode = createElement$
|
|
46921
|
-
addAtrribute$
|
|
46924
|
+
const conditionalNode = createElement$3('ng-container');
|
|
46925
|
+
addAtrribute$3(conditionalNode, '*ngIf', 'compilePageContent');
|
|
46922
46926
|
conditionalNode.children = conditionalNode.children.concat(pageContentNode.children);
|
|
46923
46927
|
conditionalNode.children.push(new Text$3('{{onPageContentReady()}}', null, undefined, undefined));
|
|
46924
46928
|
pageContentNode.children = [conditionalNode];
|
|
46925
46929
|
if (isMobileApp()) {
|
|
46926
|
-
const loader = createElement$
|
|
46927
|
-
addAtrribute$
|
|
46928
|
-
addAtrribute$
|
|
46930
|
+
const loader = createElement$3('div');
|
|
46931
|
+
addAtrribute$3(loader, 'wmPageContentLoader', '');
|
|
46932
|
+
addAtrribute$3(loader, '*ngIf', '!showPageContent');
|
|
46929
46933
|
pageContentNode.children.push(loader);
|
|
46930
46934
|
}
|
|
46931
46935
|
}
|
|
46932
46936
|
},
|
|
46933
46937
|
pre: (attrs) => {
|
|
46934
|
-
const counter = idGen$
|
|
46935
|
-
return `<${tagName$
|
|
46938
|
+
const counter = idGen$8.nextUid();
|
|
46939
|
+
return `<${tagName$p} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.hint || 'Main page content'" ${getAttrMarkup(attrs)}>`;
|
|
46936
46940
|
},
|
|
46937
|
-
post: () => `</${tagName$
|
|
46941
|
+
post: () => `</${tagName$p}>`
|
|
46938
46942
|
};
|
|
46939
46943
|
});
|
|
46940
46944
|
var page_build = () => { };
|
|
@@ -46942,12 +46946,44 @@ var page_build = () => { };
|
|
|
46942
46946
|
var page_build$1 = /*#__PURE__*/Object.freeze({
|
|
46943
46947
|
__proto__: null,
|
|
46944
46948
|
'default': page_build,
|
|
46945
|
-
'ɵ0': ɵ0$
|
|
46946
|
-
'ɵ1': ɵ1$
|
|
46949
|
+
'ɵ0': ɵ0$6$1,
|
|
46950
|
+
'ɵ1': ɵ1$5$1,
|
|
46947
46951
|
'ɵ2': ɵ2$1$2,
|
|
46948
46952
|
'ɵ3': ɵ3$1$2
|
|
46949
46953
|
});
|
|
46950
46954
|
|
|
46955
|
+
const tagName$o = 'div';
|
|
46956
|
+
const idGen$7 = new IDGenerator('wm_layout');
|
|
46957
|
+
register('wm-layout', () => {
|
|
46958
|
+
return {
|
|
46959
|
+
pre: (attrs) => {
|
|
46960
|
+
const counter = idGen$7.nextUid();
|
|
46961
|
+
return `<${tagName$o} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.hint || 'Main page content'" ${getAttrMarkup(attrs)}>`;
|
|
46962
|
+
},
|
|
46963
|
+
post: () => `</${tagName$o}>`
|
|
46964
|
+
};
|
|
46965
|
+
});
|
|
46966
|
+
var layout_build = () => { };
|
|
46967
|
+
|
|
46968
|
+
var layout_build$1 = /*#__PURE__*/Object.freeze({
|
|
46969
|
+
__proto__: null,
|
|
46970
|
+
'default': layout_build
|
|
46971
|
+
});
|
|
46972
|
+
|
|
46973
|
+
const tagName$n = 'router-outlet';
|
|
46974
|
+
register('wm-router-outlet', () => {
|
|
46975
|
+
return {
|
|
46976
|
+
pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$n} (activate)="onActivate($event)">`,
|
|
46977
|
+
post: () => `</${tagName$n}></div>`
|
|
46978
|
+
};
|
|
46979
|
+
});
|
|
46980
|
+
var routerOutlet_build = () => { };
|
|
46981
|
+
|
|
46982
|
+
var routerOutlet_build$1 = /*#__PURE__*/Object.freeze({
|
|
46983
|
+
__proto__: null,
|
|
46984
|
+
'default': routerOutlet_build
|
|
46985
|
+
});
|
|
46986
|
+
|
|
46951
46987
|
const tagName$m = 'nav';
|
|
46952
46988
|
register('wm-pagination', () => {
|
|
46953
46989
|
return {
|
|
@@ -47063,9 +47099,31 @@ var rightPanel_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
47063
47099
|
});
|
|
47064
47100
|
|
|
47065
47101
|
const tagName$f = 'div';
|
|
47102
|
+
const createElement$2 = name => {
|
|
47103
|
+
return new Element$1$1(name, [], [], noSpan$2, noSpan$2, noSpan$2);
|
|
47104
|
+
};
|
|
47105
|
+
const ɵ0$5$1 = createElement$2;
|
|
47106
|
+
const addAtrribute$2 = (node, name, value) => {
|
|
47107
|
+
const attr = new Attribute(name, value, noSpan$2, noSpan$2, noSpan$2, undefined, undefined);
|
|
47108
|
+
node.attrs.push(attr);
|
|
47109
|
+
};
|
|
47110
|
+
const ɵ1$4$1 = addAtrribute$2;
|
|
47111
|
+
const noSpan$2 = {};
|
|
47066
47112
|
register('wm-page-content', () => {
|
|
47067
47113
|
return {
|
|
47068
|
-
|
|
47114
|
+
template: (node) => {
|
|
47115
|
+
for (let attr of node.attrs) {
|
|
47116
|
+
if (attr.name === 'spa' && attr.value === 'true') {
|
|
47117
|
+
const conditionalNode = createElement$2('ng-container');
|
|
47118
|
+
addAtrribute$2(conditionalNode, '*ngIf', 'compilePageContent');
|
|
47119
|
+
conditionalNode.children = conditionalNode.children.concat(node.children);
|
|
47120
|
+
conditionalNode.children.push(new Text$3('{{onPageContentReady()}}', null, undefined, undefined));
|
|
47121
|
+
node.children = [conditionalNode];
|
|
47122
|
+
break;
|
|
47123
|
+
}
|
|
47124
|
+
}
|
|
47125
|
+
},
|
|
47126
|
+
pre: attrs => `<${tagName$f} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
|
|
47069
47127
|
post: () => `</${tagName$f}>`
|
|
47070
47128
|
};
|
|
47071
47129
|
});
|
|
@@ -47073,7 +47131,9 @@ var pageContent_build = () => { };
|
|
|
47073
47131
|
|
|
47074
47132
|
var pageContent_build$1 = /*#__PURE__*/Object.freeze({
|
|
47075
47133
|
__proto__: null,
|
|
47076
|
-
'default': pageContent_build
|
|
47134
|
+
'default': pageContent_build,
|
|
47135
|
+
'ɵ0': ɵ0$5$1,
|
|
47136
|
+
'ɵ1': ɵ1$4$1
|
|
47077
47137
|
});
|
|
47078
47138
|
|
|
47079
47139
|
const tagName$e = 'div';
|
|
@@ -47170,10 +47230,10 @@ var prefab_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
47170
47230
|
});
|
|
47171
47231
|
|
|
47172
47232
|
const noSpan = {};
|
|
47173
|
-
const createElement$
|
|
47233
|
+
const createElement$4 = name => {
|
|
47174
47234
|
return new Element$1$1(name, [], [], noSpan, noSpan, noSpan);
|
|
47175
47235
|
};
|
|
47176
|
-
const ɵ0$3$2 = createElement$
|
|
47236
|
+
const ɵ0$3$2 = createElement$4;
|
|
47177
47237
|
const addAtrribute = (node, name, value) => {
|
|
47178
47238
|
const attr = new Attribute(name, value, noSpan, noSpan, noSpan, undefined, undefined);
|
|
47179
47239
|
node.attrs.push(attr);
|
|
@@ -47183,7 +47243,7 @@ const tagName$9 = 'div';
|
|
|
47183
47243
|
register('wm-prefab-container', () => {
|
|
47184
47244
|
return {
|
|
47185
47245
|
template: (node) => {
|
|
47186
|
-
const conditionalNode = createElement$
|
|
47246
|
+
const conditionalNode = createElement$4('ng-container');
|
|
47187
47247
|
addAtrribute(conditionalNode, '*ngIf', 'compileContent');
|
|
47188
47248
|
conditionalNode.children = conditionalNode.children.concat(node.children);
|
|
47189
47249
|
node.children.length = 0;
|
|
@@ -47590,7 +47650,7 @@ const getRowActionTmpl = (attrs) => {
|
|
|
47590
47650
|
${saveCancelTmpl}
|
|
47591
47651
|
</ng-template>`;
|
|
47592
47652
|
};
|
|
47593
|
-
const ɵ1$
|
|
47653
|
+
const ɵ1$9 = getRowActionTmpl;
|
|
47594
47654
|
register('wm-table-row-action', () => {
|
|
47595
47655
|
return {
|
|
47596
47656
|
pre: attrs => `<${tagName$4} wmTableRowAction ${getAttrMarkup(attrs)}>
|
|
@@ -47604,7 +47664,7 @@ var tableRowAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
47604
47664
|
__proto__: null,
|
|
47605
47665
|
'default': tableRowAction_build,
|
|
47606
47666
|
'ɵ0': ɵ0$i,
|
|
47607
|
-
'ɵ1': ɵ1$
|
|
47667
|
+
'ɵ1': ɵ1$9
|
|
47608
47668
|
});
|
|
47609
47669
|
|
|
47610
47670
|
const tagName$3 = 'div';
|
|
@@ -47793,6 +47853,7 @@ exports.iframeBuild = iframe_build$1;
|
|
|
47793
47853
|
exports.iframeDlgBuild = iframeDialog_build$1;
|
|
47794
47854
|
exports.initComponentsBuildTask = initComponentsBuildTask;
|
|
47795
47855
|
exports.labelBuild = label_build$1;
|
|
47856
|
+
exports.layoutBuild = layout_build$1;
|
|
47796
47857
|
exports.leftPanelBuild = leftPanel_build$1;
|
|
47797
47858
|
exports.lgBuild = layoutGrid_build$1;
|
|
47798
47859
|
exports.lgcolBuild = layoutGridColumn_build$1;
|
|
@@ -47830,6 +47891,7 @@ exports.radiosetBuild = radioset_build$1;
|
|
|
47830
47891
|
exports.ratingBuild = rating_build$1;
|
|
47831
47892
|
exports.repeatTemplateBuild = repeatTemplate_build$1;
|
|
47832
47893
|
exports.rightPanelBuild = rightPanel_build$1;
|
|
47894
|
+
exports.routerOutletBuild = routerOutlet_build$1;
|
|
47833
47895
|
exports.rteBuild = richTextEditor_build$1;
|
|
47834
47896
|
exports.searchBuild = search_build$1;
|
|
47835
47897
|
exports.segContentBuild = segmentContent_build$1;
|