@wavemaker/angular-codegen 11.1.4-rc.5186 → 11.2.0-next.140101
Sign up to get free protection for your applications and to get access to all the features.
- angular-codegen/angular-app/package-lock.json +15 -6
- angular-codegen/angular-app/package.json +4 -3
- 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 +85 -20
- angular-codegen/dependencies/transpilation-mobile.cjs.js +420 -323
- angular-codegen/dependencies/transpilation-web.cjs.js +420 -323
- 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
@@ -41731,7 +41731,8 @@ const REGEX = {
|
|
41731
41731
|
SPECIAL_CHARACTERS: /[^A-Z0-9a-z_]+/i,
|
41732
41732
|
APP_SERVER_URL_FORMAT: /^(http[s]?:\/\/)(www\.){0,1}[a-zA-Z0-9\.\-]+([:]?[0-9]{2,5}|\.[a-zA-Z]{2,5}[\.]{0,1})\/+[^?#&=]+$/,
|
41733
41733
|
JSON_DATE_FORMAT: /\d{4}-[0-1]\d-[0-3]\d(T[0-2]\d:[0-5]\d:[0-5]\d.\d{1,3}Z$)?/,
|
41734
|
-
DATA_URL: /^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s]*)\s*$/i
|
41734
|
+
DATA_URL: /^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s]*)\s*$/i,
|
41735
|
+
ISO_DATE_FORMAT: /(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2})(\.\d+)?([+-]\d{2}:?\d{2}|Z)$/
|
41735
41736
|
}, compareBySeparator = ':';
|
41736
41737
|
const NUMBER_TYPES = ['int', DataType.INTEGER, DataType.FLOAT, DataType.DOUBLE, DataType.LONG, DataType.SHORT, DataType.BYTE, DataType.BIG_INTEGER, DataType.BIG_DECIMAL];
|
41737
41738
|
const now = new Date();
|
@@ -41957,19 +41958,43 @@ function triggerFn(fn, ...argmnts) {
|
|
41957
41958
|
/**
|
41958
41959
|
* This method is used to get the formatted date
|
41959
41960
|
*/
|
41960
|
-
const getFormattedDate = (datePipe, dateObj, format) => {
|
41961
|
+
const getFormattedDate = (datePipe, dateObj, format, timeZone, isTimeStampType, isIntervalDateTime, compInstance) => {
|
41961
41962
|
if (!dateObj) {
|
41962
41963
|
return undefined;
|
41963
41964
|
}
|
41964
41965
|
if (format === 'timestamp') {
|
41965
41966
|
return moment(dateObj).valueOf();
|
41966
41967
|
}
|
41967
|
-
|
41968
|
+
if (format === 'UTC') {
|
41969
|
+
return new Date(dateObj).toISOString();
|
41970
|
+
}
|
41971
|
+
if (timeZone) {
|
41972
|
+
const momentFormat = format.replaceAll('y', 'Y').replaceAll('d', 'D').replace('a', 'A');
|
41973
|
+
if (isIntervalDateTime) { // dates which are of type time widget (value is hh:mm:ss) but returned as date string from time comp
|
41974
|
+
return moment(dateObj).format(momentFormat);
|
41975
|
+
}
|
41976
|
+
if (isTimeStampType === 'datetimestamp') {
|
41977
|
+
dateObj = getMomentLocaleObject(timeZone, dateObj);
|
41978
|
+
return moment(dateObj).format(momentFormat);
|
41979
|
+
}
|
41980
|
+
}
|
41981
|
+
return datePipe.transform(dateObj, format, timeZone, compInstance);
|
41982
|
+
};
|
41983
|
+
/**
|
41984
|
+
* This method is used to check if the date has timezone information or not
|
41985
|
+
*/
|
41986
|
+
const hasOffsetStr = (dateStr) => {
|
41987
|
+
if (typeof dateStr !== 'string')
|
41988
|
+
return;
|
41989
|
+
const matches = dateStr.match(REGEX.ISO_DATE_FORMAT);
|
41990
|
+
if (matches && matches[4]) {
|
41991
|
+
return true;
|
41992
|
+
}
|
41968
41993
|
};
|
41969
41994
|
/**
|
41970
41995
|
* method to get the date object from the input received
|
41971
41996
|
*/
|
41972
|
-
const getDateObj = (value, options) => {
|
41997
|
+
const getDateObj = (value, options, timezone) => {
|
41973
41998
|
// Handling localization
|
41974
41999
|
if (options && options.pattern && options.pattern !== 'timestamp') {
|
41975
42000
|
// Fix for WMS-19601, invalid date is returned on date selection.
|
@@ -42001,7 +42026,7 @@ const getDateObj = (value, options) => {
|
|
42001
42026
|
* (Ex: If date value is "1990-11-23" and moment(value).format() is "١٩٩٠-١١-٢٣T٠٠:٠٠:٠٠+٠٥:٣٠")
|
42002
42027
|
* and new Date(moment(value).format()) is giving Invalid Date. So frst converting it to timestamp value.
|
42003
42028
|
*/
|
42004
|
-
dateObj = new Date(moment(moment(value).format()).valueOf());
|
42029
|
+
dateObj = !timezone ? new Date(moment(moment(value).format()).valueOf()) : getMomentLocaleObject(timezone, value);
|
42005
42030
|
}
|
42006
42031
|
if (value === CURRENT_DATE || isNaN(dateObj.getDay())) {
|
42007
42032
|
return now;
|
@@ -42393,6 +42418,14 @@ const loadStyleSheets = (urls = []) => {
|
|
42393
42418
|
// function to check if the script is already loaded
|
42394
42419
|
const isScriptLoaded = src => !!getNode(`script[src="${src}"], script[data-src="${src}"]`);
|
42395
42420
|
const ɵ4$3 = isScriptLoaded;
|
42421
|
+
const getMomentLocaleObject = (timeZone, dateObj) => {
|
42422
|
+
if (dateObj) {
|
42423
|
+
return new Date(new Date(moment(dateObj).tz(timeZone).format()).toLocaleString("en-US", { timeZone: timeZone }));
|
42424
|
+
}
|
42425
|
+
else {
|
42426
|
+
return new Date(new Date(moment().tz(timeZone).format()).toLocaleString("en-US", { timeZone: timeZone }));
|
42427
|
+
}
|
42428
|
+
};
|
42396
42429
|
const loadScript = (url, loadViaScriptTag, cacheable = false) => __awaiter$1(void 0, void 0, void 0, function* () {
|
42397
42430
|
const _url = url.trim();
|
42398
42431
|
if (!_url.length || isScriptLoaded(_url)) {
|
@@ -42999,6 +43032,9 @@ const findRootContainer = ($el) => {
|
|
42999
43032
|
if (!root.length) {
|
43000
43033
|
root = $el.closest('.app-partial');
|
43001
43034
|
}
|
43035
|
+
if (!root.length) {
|
43036
|
+
root = $el.closest('.app-spa-page');
|
43037
|
+
}
|
43002
43038
|
if (!root.length) {
|
43003
43039
|
root = $el.closest('.app-page');
|
43004
43040
|
}
|
@@ -43112,6 +43148,7 @@ var Utils = /*#__PURE__*/Object.freeze({
|
|
43112
43148
|
getResourceURL: getResourceURL,
|
43113
43149
|
triggerFn: triggerFn,
|
43114
43150
|
getFormattedDate: getFormattedDate,
|
43151
|
+
hasOffsetStr: hasOffsetStr,
|
43115
43152
|
getDateObj: getDateObj,
|
43116
43153
|
addEventListenerOnElement: addEventListenerOnElement,
|
43117
43154
|
getClonedObject: getClonedObject,
|
@@ -43135,6 +43172,7 @@ var Utils = /*#__PURE__*/Object.freeze({
|
|
43135
43172
|
isEqualWithFields: isEqualWithFields,
|
43136
43173
|
loadStyleSheet: loadStyleSheet,
|
43137
43174
|
loadStyleSheets: loadStyleSheets,
|
43175
|
+
getMomentLocaleObject: getMomentLocaleObject,
|
43138
43176
|
loadScript: loadScript,
|
43139
43177
|
loadScripts: loadScripts,
|
43140
43178
|
_WM_APP_PROJECT: _WM_APP_PROJECT,
|
@@ -44403,6 +44441,7 @@ const WIDGET_IMPORTS = new Map([
|
|
44403
44441
|
['wm-network-info-toaster', BASIC_MODULE],
|
44404
44442
|
['wm-number', INPUT_MODULE],
|
44405
44443
|
['wm-page', PAGE_MODULE],
|
44444
|
+
['wm-layout', PAGE_MODULE],
|
44406
44445
|
['wm-page-content', PAGE_MODULE],
|
44407
44446
|
['wm-pagedialog', PARTIAL_DIALOG_MODULE],
|
44408
44447
|
['wm-pagination', PAGINATION_MODULE],
|
@@ -44931,14 +44970,14 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
|
|
44931
44970
|
|
44932
44971
|
const carouselTagName = 'carousel';
|
44933
44972
|
const dataSetKey$5 = 'dataset';
|
44934
|
-
const idGen$
|
44973
|
+
const idGen$r = new IDGenerator('wm_carousel_ref_');
|
44935
44974
|
const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
44936
|
-
const ɵ0$
|
44975
|
+
const ɵ0$d$1 = isDynamicCarousel;
|
44937
44976
|
register('wm-carousel', () => {
|
44938
44977
|
return {
|
44939
44978
|
pre: (attrs, shared) => {
|
44940
44979
|
// generating unique Id for the carousel
|
44941
|
-
const counter = idGen$
|
44980
|
+
const counter = idGen$r.nextUid();
|
44942
44981
|
shared.set('carousel_ref', counter);
|
44943
44982
|
return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
|
44944
44983
|
},
|
@@ -44971,7 +45010,7 @@ var carousel_build = () => { };
|
|
44971
45010
|
var carousel_build$1 = /*#__PURE__*/Object.freeze({
|
44972
45011
|
__proto__: null,
|
44973
45012
|
'default': carousel_build,
|
44974
|
-
'ɵ0': ɵ0$
|
45013
|
+
'ɵ0': ɵ0$d$1
|
44975
45014
|
});
|
44976
45015
|
|
44977
45016
|
const carouselContentTagName = 'slide';
|
@@ -45005,11 +45044,11 @@ var carouselTemplate_build$1 = /*#__PURE__*/Object.freeze({
|
|
45005
45044
|
'default': carouselTemplate_build
|
45006
45045
|
});
|
45007
45046
|
|
45008
|
-
const tagName$
|
45047
|
+
const tagName$1C = 'div';
|
45009
45048
|
register('wm-login', () => {
|
45010
45049
|
return {
|
45011
|
-
pre: attrs => `<${tagName$
|
45012
|
-
post: () => `</${tagName$
|
45050
|
+
pre: attrs => `<${tagName$1C} wmLogin ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction">`,
|
45051
|
+
post: () => `</${tagName$1C}>`,
|
45013
45052
|
provide: () => {
|
45014
45053
|
const provider = new Map();
|
45015
45054
|
provider.set('isLogin', true);
|
@@ -45024,11 +45063,11 @@ var login_build$1 = /*#__PURE__*/Object.freeze({
|
|
45024
45063
|
'default': login_build
|
45025
45064
|
});
|
45026
45065
|
|
45027
|
-
const tagName$
|
45066
|
+
const tagName$1B = 'marquee';
|
45028
45067
|
register('wm-marquee', () => {
|
45029
45068
|
return {
|
45030
|
-
pre: attrs => `<${tagName$
|
45031
|
-
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}>`
|
45032
45071
|
};
|
45033
45072
|
});
|
45034
45073
|
var marquee_build = () => { };
|
@@ -45038,15 +45077,15 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
|
|
45038
45077
|
'default': marquee_build
|
45039
45078
|
});
|
45040
45079
|
|
45041
|
-
const tagName$
|
45042
|
-
const idGen$
|
45080
|
+
const tagName$1A = 'a';
|
45081
|
+
const idGen$q = new IDGenerator('wm_anchor');
|
45043
45082
|
register('wm-anchor', () => {
|
45044
45083
|
return {
|
45045
45084
|
pre: (attrs) => {
|
45046
|
-
const counter = idGen$
|
45047
|
-
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)}>`;
|
45048
45087
|
},
|
45049
|
-
post: () => `</${tagName$
|
45088
|
+
post: () => `</${tagName$1A}>`
|
45050
45089
|
};
|
45051
45090
|
});
|
45052
45091
|
var anchor_build = () => { };
|
@@ -45056,11 +45095,11 @@ var anchor_build$1 = /*#__PURE__*/Object.freeze({
|
|
45056
45095
|
'default': anchor_build
|
45057
45096
|
});
|
45058
45097
|
|
45059
|
-
const tagName$
|
45098
|
+
const tagName$1z = 'div';
|
45060
45099
|
register('wm-audio', () => {
|
45061
45100
|
return {
|
45062
|
-
pre: attrs => `<${tagName$
|
45063
|
-
post: () => `</${tagName$
|
45101
|
+
pre: attrs => `<${tagName$1z} wmAudio ${getAttrMarkup(attrs)}>`,
|
45102
|
+
post: () => `</${tagName$1z}>`
|
45064
45103
|
};
|
45065
45104
|
});
|
45066
45105
|
var audio_build = () => { };
|
@@ -45070,15 +45109,15 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
|
|
45070
45109
|
'default': audio_build
|
45071
45110
|
});
|
45072
45111
|
|
45073
|
-
const tagName$
|
45074
|
-
const idGen$
|
45112
|
+
const tagName$1y = 'div';
|
45113
|
+
const idGen$p = new IDGenerator('wm_html');
|
45075
45114
|
register('wm-html', () => {
|
45076
45115
|
return {
|
45077
45116
|
pre: (attrs) => {
|
45078
|
-
const counter = idGen$
|
45079
|
-
return `<${tagName$
|
45117
|
+
const counter = idGen$p.nextUid();
|
45118
|
+
return `<${tagName$1y} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
|
45080
45119
|
},
|
45081
|
-
post: () => `</${tagName$
|
45120
|
+
post: () => `</${tagName$1y}>`
|
45082
45121
|
};
|
45083
45122
|
});
|
45084
45123
|
var html_build = () => { };
|
@@ -45088,11 +45127,11 @@ var html_build$1 = /*#__PURE__*/Object.freeze({
|
|
45088
45127
|
'default': html_build
|
45089
45128
|
});
|
45090
45129
|
|
45091
|
-
const tagName$
|
45130
|
+
const tagName$1x = 'span';
|
45092
45131
|
register('wm-icon', () => {
|
45093
45132
|
return {
|
45094
|
-
pre: attrs => `<${tagName$
|
45095
|
-
post: () => `</${tagName$
|
45133
|
+
pre: attrs => `<${tagName$1x} wmIcon aria-hidden="true" ${getAttrMarkup(attrs)}>`,
|
45134
|
+
post: () => `</${tagName$1x}>`
|
45096
45135
|
};
|
45097
45136
|
});
|
45098
45137
|
var icon_build = () => { };
|
@@ -45102,11 +45141,11 @@ var icon_build$1 = /*#__PURE__*/Object.freeze({
|
|
45102
45141
|
'default': icon_build
|
45103
45142
|
});
|
45104
45143
|
|
45105
|
-
const tagName$
|
45144
|
+
const tagName$1w = 'div';
|
45106
45145
|
register('wm-iframe', () => {
|
45107
45146
|
return {
|
45108
|
-
pre: attrs => `<${tagName$
|
45109
|
-
post: () => `</${tagName$
|
45147
|
+
pre: attrs => `<${tagName$1w} wmIframe ${getAttrMarkup(attrs)}>`,
|
45148
|
+
post: () => `</${tagName$1w}>`
|
45110
45149
|
};
|
45111
45150
|
});
|
45112
45151
|
var iframe_build = () => { };
|
@@ -45116,15 +45155,15 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
|
|
45116
45155
|
'default': iframe_build
|
45117
45156
|
});
|
45118
45157
|
|
45119
|
-
const tagName$
|
45120
|
-
const idGen$
|
45158
|
+
const tagName$1v = 'label';
|
45159
|
+
const idGen$o = new IDGenerator('wm_label');
|
45121
45160
|
register('wm-label', () => {
|
45122
45161
|
return {
|
45123
45162
|
pre: (attrs) => {
|
45124
|
-
const counter = idGen$
|
45125
|
-
return `<${tagName$
|
45163
|
+
const counter = idGen$o.nextUid();
|
45164
|
+
return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint || 'Label text'" ${getAttrMarkup(attrs)}>`;
|
45126
45165
|
},
|
45127
|
-
post: () => `</${tagName$
|
45166
|
+
post: () => `</${tagName$1v}>`
|
45128
45167
|
};
|
45129
45168
|
});
|
45130
45169
|
var label_build = () => { };
|
@@ -45134,13 +45173,13 @@ var label_build$1 = /*#__PURE__*/Object.freeze({
|
|
45134
45173
|
'default': label_build
|
45135
45174
|
});
|
45136
45175
|
|
45137
|
-
const tagName$
|
45138
|
-
const idGen$
|
45176
|
+
const tagName$1u = 'img';
|
45177
|
+
const idGen$n = new IDGenerator('wm_picture');
|
45139
45178
|
register('wm-picture', () => {
|
45140
45179
|
return {
|
45141
45180
|
pre: (attrs) => {
|
45142
|
-
const counter = idGen$
|
45143
|
-
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)}>`;
|
45144
45183
|
}
|
45145
45184
|
};
|
45146
45185
|
});
|
@@ -45151,15 +45190,15 @@ var picture_build$1 = /*#__PURE__*/Object.freeze({
|
|
45151
45190
|
'default': picture_build
|
45152
45191
|
});
|
45153
45192
|
|
45154
|
-
const tagName$
|
45155
|
-
const idGen$
|
45193
|
+
const tagName$1t = 'div';
|
45194
|
+
const idGen$m = new IDGenerator('wm_spinner');
|
45156
45195
|
register('wm-spinner', () => {
|
45157
45196
|
return {
|
45158
45197
|
pre: (attrs) => {
|
45159
|
-
const counter = idGen$
|
45160
|
-
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)}>`;
|
45161
45200
|
},
|
45162
|
-
post: () => `</${tagName$
|
45201
|
+
post: () => `</${tagName$1t}>`
|
45163
45202
|
};
|
45164
45203
|
});
|
45165
45204
|
var spinner_build = () => { };
|
@@ -45169,16 +45208,16 @@ var spinner_build$1 = /*#__PURE__*/Object.freeze({
|
|
45169
45208
|
'default': spinner_build
|
45170
45209
|
});
|
45171
45210
|
|
45172
|
-
const tagName$
|
45211
|
+
const tagName$1s = 'div';
|
45173
45212
|
const getAttr = (node, attrName) => node.attrs.find(attr => attr.name === attrName);
|
45174
|
-
const ɵ0$
|
45213
|
+
const ɵ0$c$1 = getAttr;
|
45175
45214
|
const getAttrValue = (node, attrName) => {
|
45176
45215
|
const match = getAttr(node, attrName);
|
45177
45216
|
if (match) {
|
45178
45217
|
return match.value;
|
45179
45218
|
}
|
45180
45219
|
};
|
45181
|
-
const ɵ1$
|
45220
|
+
const ɵ1$8 = getAttrValue;
|
45182
45221
|
const getReplaceRegex = (v) => new RegExp(`bind:(${v}|${v}\\[\\$i])\\.`, 'g');
|
45183
45222
|
const ɵ2$4$1 = getReplaceRegex;
|
45184
45223
|
register('wm-progress-bar', () => {
|
@@ -45200,8 +45239,8 @@ register('wm-progress-bar', () => {
|
|
45200
45239
|
}
|
45201
45240
|
}
|
45202
45241
|
},
|
45203
|
-
pre: attrs => `<${tagName$
|
45204
|
-
post: () => `</${tagName$
|
45242
|
+
pre: attrs => `<${tagName$1s} wmProgressBar ${getAttrMarkup(attrs)}>`,
|
45243
|
+
post: () => `</${tagName$1s}>`
|
45205
45244
|
};
|
45206
45245
|
});
|
45207
45246
|
var progressBar_build = () => { };
|
@@ -45209,16 +45248,16 @@ var progressBar_build = () => { };
|
|
45209
45248
|
var progressBar_build$1 = /*#__PURE__*/Object.freeze({
|
45210
45249
|
__proto__: null,
|
45211
45250
|
'default': progressBar_build,
|
45212
|
-
'ɵ0': ɵ0$
|
45213
|
-
'ɵ1': ɵ1$
|
45251
|
+
'ɵ0': ɵ0$c$1,
|
45252
|
+
'ɵ1': ɵ1$8,
|
45214
45253
|
'ɵ2': ɵ2$4$1
|
45215
45254
|
});
|
45216
45255
|
|
45217
|
-
const tagName$
|
45256
|
+
const tagName$1r = 'div';
|
45218
45257
|
register('wm-progress-circle', () => {
|
45219
45258
|
return {
|
45220
|
-
pre: attrs => `<${tagName$
|
45221
|
-
post: () => `</${tagName$
|
45259
|
+
pre: attrs => `<${tagName$1r} wmProgressCircle ${getAttrMarkup(attrs)}>`,
|
45260
|
+
post: () => `</${tagName$1r}>`
|
45222
45261
|
};
|
45223
45262
|
});
|
45224
45263
|
var progressCircle_build = () => { };
|
@@ -45228,15 +45267,15 @@ var progressCircle_build$1 = /*#__PURE__*/Object.freeze({
|
|
45228
45267
|
'default': progressCircle_build
|
45229
45268
|
});
|
45230
45269
|
|
45231
|
-
const tagName$
|
45232
|
-
const idGen$
|
45270
|
+
const tagName$1q = 'div';
|
45271
|
+
const idGen$l = new IDGenerator('wm_richtexteditor');
|
45233
45272
|
register('wm-richtexteditor', () => {
|
45234
45273
|
return {
|
45235
45274
|
pre: (attrs) => {
|
45236
|
-
const counter = idGen$
|
45237
|
-
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)}>`;
|
45238
45277
|
},
|
45239
|
-
post: () => `</${tagName$
|
45278
|
+
post: () => `</${tagName$1q}>`
|
45240
45279
|
};
|
45241
45280
|
});
|
45242
45281
|
var richTextEditor_build = () => { };
|
@@ -45246,11 +45285,11 @@ var richTextEditor_build$1 = /*#__PURE__*/Object.freeze({
|
|
45246
45285
|
'default': richTextEditor_build
|
45247
45286
|
});
|
45248
45287
|
|
45249
|
-
const tagName$
|
45288
|
+
const tagName$1p = 'div';
|
45250
45289
|
register('wm-search', () => {
|
45251
45290
|
return {
|
45252
|
-
pre: attrs => `<${tagName$
|
45253
|
-
post: () => `</${tagName$
|
45291
|
+
pre: attrs => `<${tagName$1p} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
|
45292
|
+
post: () => `</${tagName$1p}>`
|
45254
45293
|
};
|
45255
45294
|
});
|
45256
45295
|
var search_build = () => { };
|
@@ -45260,11 +45299,11 @@ var search_build$1 = /*#__PURE__*/Object.freeze({
|
|
45260
45299
|
'default': search_build
|
45261
45300
|
});
|
45262
45301
|
|
45263
|
-
const tagName$
|
45302
|
+
const tagName$1o = 'div';
|
45264
45303
|
register('wm-tree', () => {
|
45265
45304
|
return {
|
45266
|
-
pre: attrs => `<${tagName$
|
45267
|
-
post: () => `</${tagName$
|
45305
|
+
pre: attrs => `<${tagName$1o} wmTree ${getAttrMarkup(attrs)}>`,
|
45306
|
+
post: () => `</${tagName$1o}>`
|
45268
45307
|
};
|
45269
45308
|
});
|
45270
45309
|
var tree_build = () => { };
|
@@ -45274,11 +45313,11 @@ var tree_build$1 = /*#__PURE__*/Object.freeze({
|
|
45274
45313
|
'default': tree_build
|
45275
45314
|
});
|
45276
45315
|
|
45277
|
-
const tagName$
|
45316
|
+
const tagName$1n = 'div';
|
45278
45317
|
register('wm-card', () => {
|
45279
45318
|
return {
|
45280
|
-
pre: attrs => `<${tagName$
|
45281
|
-
post: () => `</${tagName$
|
45319
|
+
pre: attrs => `<${tagName$1n} wmCard ${getAttrMarkup(attrs)}>`,
|
45320
|
+
post: () => `</${tagName$1n}>`
|
45282
45321
|
};
|
45283
45322
|
});
|
45284
45323
|
var card_build = () => { };
|
@@ -45288,11 +45327,11 @@ var card_build$1 = /*#__PURE__*/Object.freeze({
|
|
45288
45327
|
'default': card_build
|
45289
45328
|
});
|
45290
45329
|
|
45291
|
-
const tagName$
|
45330
|
+
const tagName$1m = 'div';
|
45292
45331
|
register('wm-card-content', () => {
|
45293
45332
|
return {
|
45294
|
-
pre: attrs => `<${tagName$
|
45295
|
-
post: () => `</${tagName$
|
45333
|
+
pre: attrs => `<${tagName$1m} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,
|
45334
|
+
post: () => `</${tagName$1m}>`
|
45296
45335
|
};
|
45297
45336
|
});
|
45298
45337
|
var cardContent_build = () => { };
|
@@ -45302,11 +45341,11 @@ var cardContent_build$1 = /*#__PURE__*/Object.freeze({
|
|
45302
45341
|
'default': cardContent_build
|
45303
45342
|
});
|
45304
45343
|
|
45305
|
-
const tagName$
|
45344
|
+
const tagName$1l = 'div';
|
45306
45345
|
register('wm-card-actions', () => {
|
45307
45346
|
return {
|
45308
|
-
pre: attrs => `<${tagName$
|
45309
|
-
post: () => `</${tagName$
|
45347
|
+
pre: attrs => `<${tagName$1l} wmCardActions ${getAttrMarkup(attrs)}>`,
|
45348
|
+
post: () => `</${tagName$1l}>`
|
45310
45349
|
};
|
45311
45350
|
});
|
45312
45351
|
var cardActions_build = () => { };
|
@@ -45316,11 +45355,11 @@ var cardActions_build$1 = /*#__PURE__*/Object.freeze({
|
|
45316
45355
|
'default': cardActions_build
|
45317
45356
|
});
|
45318
45357
|
|
45319
|
-
const tagName$
|
45358
|
+
const tagName$1k = 'div';
|
45320
45359
|
register('wm-card-footer', () => {
|
45321
45360
|
return {
|
45322
|
-
pre: attrs => `<${tagName$
|
45323
|
-
post: () => `</${tagName$
|
45361
|
+
pre: attrs => `<${tagName$1k} wmCardFooter ${getAttrMarkup(attrs)}>`,
|
45362
|
+
post: () => `</${tagName$1k}>`
|
45324
45363
|
};
|
45325
45364
|
});
|
45326
45365
|
var cardFooter_build = () => { };
|
@@ -45330,11 +45369,11 @@ var cardFooter_build$1 = /*#__PURE__*/Object.freeze({
|
|
45330
45369
|
'default': cardFooter_build
|
45331
45370
|
});
|
45332
45371
|
|
45333
|
-
const tagName$
|
45372
|
+
const tagName$1j = 'div';
|
45334
45373
|
register('wm-chart', () => {
|
45335
45374
|
return {
|
45336
|
-
pre: attrs => `<${tagName$
|
45337
|
-
post: () => `</${tagName$
|
45375
|
+
pre: attrs => `<${tagName$1j} wmChart redrawable aria-label="${attrs.get('type')} Chart" ${getAttrMarkup(attrs)}>`,
|
45376
|
+
post: () => `</${tagName$1j}>`
|
45338
45377
|
};
|
45339
45378
|
});
|
45340
45379
|
var chart_build = () => { };
|
@@ -45344,20 +45383,20 @@ var chart_build$1 = /*#__PURE__*/Object.freeze({
|
|
45344
45383
|
'default': chart_build
|
45345
45384
|
});
|
45346
45385
|
|
45347
|
-
const tagName$
|
45386
|
+
const tagName$1i = 'div';
|
45348
45387
|
const dataSetKey$4 = 'dataset';
|
45349
|
-
const idGen$
|
45388
|
+
const idGen$k = new IDGenerator('wm_accordion_ref_');
|
45350
45389
|
const isDynamicAccordion = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
45351
|
-
const ɵ0$
|
45390
|
+
const ɵ0$b$1 = isDynamicAccordion;
|
45352
45391
|
register('wm-accordion', () => {
|
45353
45392
|
return {
|
45354
45393
|
pre: (attrs, shared) => {
|
45355
45394
|
// generating unique Id for the accordion
|
45356
|
-
const counter = idGen$
|
45395
|
+
const counter = idGen$k.nextUid();
|
45357
45396
|
shared.set('accordion_ref', counter);
|
45358
|
-
return `<${tagName$
|
45397
|
+
return `<${tagName$1i} wmAccordion #${counter}="wmAccordion" role="tablist" aria-multiselectable="true" ${getAttrMarkup(attrs)}>`;
|
45359
45398
|
},
|
45360
|
-
post: () => `</${tagName$
|
45399
|
+
post: () => `</${tagName$1i}>`,
|
45361
45400
|
template: (node, shared) => {
|
45362
45401
|
// check if the accordion is dynamic
|
45363
45402
|
if (isDynamicAccordion(node)) {
|
@@ -45386,14 +45425,14 @@ var accordion_build = () => { };
|
|
45386
45425
|
var accordion_build$1 = /*#__PURE__*/Object.freeze({
|
45387
45426
|
__proto__: null,
|
45388
45427
|
'default': accordion_build,
|
45389
|
-
'ɵ0': ɵ0$
|
45428
|
+
'ɵ0': ɵ0$b$1
|
45390
45429
|
});
|
45391
45430
|
|
45392
|
-
const tagName$
|
45431
|
+
const tagName$1h = 'div';
|
45393
45432
|
register('wm-accordionpane', () => {
|
45394
45433
|
return {
|
45395
|
-
pre: attrs => `<${tagName$
|
45396
|
-
post: () => `</${tagName$
|
45434
|
+
pre: attrs => `<${tagName$1h} wmAccordionPane partialContainer wm-navigable-element="true" role="tab" ${getAttrMarkup(attrs)}>`,
|
45435
|
+
post: () => `</${tagName$1h}>`
|
45397
45436
|
};
|
45398
45437
|
});
|
45399
45438
|
var accordionPane_build = () => { };
|
@@ -45403,11 +45442,11 @@ var accordionPane_build$1 = /*#__PURE__*/Object.freeze({
|
|
45403
45442
|
'default': accordionPane_build
|
45404
45443
|
});
|
45405
45444
|
|
45406
|
-
const tagName$
|
45445
|
+
const tagName$1g = 'div';
|
45407
45446
|
register('wm-container', () => {
|
45408
45447
|
return {
|
45409
|
-
pre: attrs => `<${tagName$
|
45410
|
-
post: () => `</${tagName$
|
45448
|
+
pre: attrs => `<${tagName$1g} wmContainer partialContainer wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
|
45449
|
+
post: () => `</${tagName$1g}>`
|
45411
45450
|
};
|
45412
45451
|
});
|
45413
45452
|
var container_build = () => { };
|
@@ -45417,11 +45456,11 @@ var container_build$1 = /*#__PURE__*/Object.freeze({
|
|
45417
45456
|
'default': container_build
|
45418
45457
|
});
|
45419
45458
|
|
45420
|
-
const tagName$
|
45459
|
+
const tagName$1f = 'div';
|
45421
45460
|
register('wm-gridcolumn', () => {
|
45422
45461
|
return {
|
45423
|
-
pre: attrs => `<${tagName$
|
45424
|
-
post: () => `</${tagName$
|
45462
|
+
pre: attrs => `<${tagName$1f} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,
|
45463
|
+
post: () => `</${tagName$1f}>`
|
45425
45464
|
};
|
45426
45465
|
});
|
45427
45466
|
var layoutGridColumn_build = () => { };
|
@@ -45431,11 +45470,11 @@ var layoutGridColumn_build$1 = /*#__PURE__*/Object.freeze({
|
|
45431
45470
|
'default': layoutGridColumn_build
|
45432
45471
|
});
|
45433
45472
|
|
45434
|
-
const tagName$
|
45473
|
+
const tagName$1e = 'div';
|
45435
45474
|
register('wm-gridrow', () => {
|
45436
45475
|
return {
|
45437
|
-
pre: attrs => `<${tagName$
|
45438
|
-
post: () => `</${tagName$
|
45476
|
+
pre: attrs => `<${tagName$1e} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,
|
45477
|
+
post: () => `</${tagName$1e}>`
|
45439
45478
|
};
|
45440
45479
|
});
|
45441
45480
|
var layoutGridRow_build = () => { };
|
@@ -45445,11 +45484,11 @@ var layoutGridRow_build$1 = /*#__PURE__*/Object.freeze({
|
|
45445
45484
|
'default': layoutGridRow_build
|
45446
45485
|
});
|
45447
45486
|
|
45448
|
-
const tagName$
|
45487
|
+
const tagName$1d = 'div';
|
45449
45488
|
register('wm-layoutgrid', () => {
|
45450
45489
|
return {
|
45451
|
-
pre: attrs => `<${tagName$
|
45452
|
-
post: () => `</${tagName$
|
45490
|
+
pre: attrs => `<${tagName$1d} wmLayoutGrid ${getAttrMarkup(attrs)}>`,
|
45491
|
+
post: () => `</${tagName$1d}>`
|
45453
45492
|
};
|
45454
45493
|
});
|
45455
45494
|
var layoutGrid_build = () => { };
|
@@ -45459,21 +45498,21 @@ var layoutGrid_build$1 = /*#__PURE__*/Object.freeze({
|
|
45459
45498
|
'default': layoutGrid_build
|
45460
45499
|
});
|
45461
45500
|
|
45462
|
-
const tagName$
|
45463
|
-
const idGen$
|
45501
|
+
const tagName$1c = 'div';
|
45502
|
+
const idGen$j = new IDGenerator('wm_panel');
|
45464
45503
|
register('wm-panel', () => {
|
45465
45504
|
return {
|
45466
45505
|
pre: (attrs) => {
|
45467
|
-
const counter = idGen$
|
45468
|
-
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)}>`;
|
45469
45508
|
},
|
45470
|
-
post: () => `</${tagName$
|
45509
|
+
post: () => `</${tagName$1c}>`
|
45471
45510
|
};
|
45472
45511
|
});
|
45473
45512
|
register('wm-panel-footer', () => {
|
45474
45513
|
return {
|
45475
|
-
pre: attrs => `<${tagName$
|
45476
|
-
post: () => `</${tagName$
|
45514
|
+
pre: attrs => `<${tagName$1c} wmPanelFooter ${getAttrMarkup(attrs)}>`,
|
45515
|
+
post: () => `</${tagName$1c}>`
|
45477
45516
|
};
|
45478
45517
|
});
|
45479
45518
|
var panel_build = () => { };
|
@@ -45483,11 +45522,11 @@ var panel_build$1 = /*#__PURE__*/Object.freeze({
|
|
45483
45522
|
'default': panel_build
|
45484
45523
|
});
|
45485
45524
|
|
45486
|
-
const tagName$
|
45525
|
+
const tagName$1b = 'div';
|
45487
45526
|
register('wm-segmented-control', () => {
|
45488
45527
|
return {
|
45489
|
-
pre: attrs => `<${tagName$
|
45490
|
-
post: () => `</${tagName$
|
45528
|
+
pre: attrs => `<${tagName$1b} wmSegmentedControl ${getAttrMarkup(attrs)}>`,
|
45529
|
+
post: () => `</${tagName$1b}>`
|
45491
45530
|
};
|
45492
45531
|
});
|
45493
45532
|
var segmentedControl_build = () => { };
|
@@ -45497,11 +45536,11 @@ var segmentedControl_build$1 = /*#__PURE__*/Object.freeze({
|
|
45497
45536
|
'default': segmentedControl_build
|
45498
45537
|
});
|
45499
45538
|
|
45500
|
-
const tagName$
|
45539
|
+
const tagName$1a = 'li';
|
45501
45540
|
register('wm-segment-content', () => {
|
45502
45541
|
return {
|
45503
|
-
pre: attrs => `<${tagName$
|
45504
|
-
post: () => `</${tagName$
|
45542
|
+
pre: attrs => `<${tagName$1a} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
45543
|
+
post: () => `</${tagName$1a}>`
|
45505
45544
|
};
|
45506
45545
|
});
|
45507
45546
|
var segmentContent_build = () => { };
|
@@ -45537,20 +45576,20 @@ var repeatTemplate_build$1 = /*#__PURE__*/Object.freeze({
|
|
45537
45576
|
'default': repeatTemplate_build
|
45538
45577
|
});
|
45539
45578
|
|
45540
|
-
const tagName$
|
45579
|
+
const tagName$19 = 'div';
|
45541
45580
|
const dataSetKey$3 = 'dataset';
|
45542
|
-
const idGen$
|
45581
|
+
const idGen$i = new IDGenerator('wm_tabs_ref_');
|
45543
45582
|
const isDynamicTabs = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
45544
|
-
const ɵ0$
|
45583
|
+
const ɵ0$a$1 = isDynamicTabs;
|
45545
45584
|
register('wm-tabs', () => {
|
45546
45585
|
return {
|
45547
45586
|
pre: (attrs, shared) => {
|
45548
45587
|
// generating unique Id for the tabs
|
45549
|
-
const counter = idGen$
|
45588
|
+
const counter = idGen$i.nextUid();
|
45550
45589
|
shared.set('tabs_ref', counter);
|
45551
|
-
return `<${tagName$
|
45590
|
+
return `<${tagName$19} wmTabs #${counter}="wmTabs" ${getAttrMarkup(attrs)}>`;
|
45552
45591
|
},
|
45553
|
-
post: () => `</${tagName$
|
45592
|
+
post: () => `</${tagName$19}>`,
|
45554
45593
|
template: (node, shared) => {
|
45555
45594
|
// check if the tab widget is dynamic
|
45556
45595
|
if (isDynamicTabs(node)) {
|
@@ -45579,14 +45618,14 @@ var tabs_build = () => { };
|
|
45579
45618
|
var tabs_build$1 = /*#__PURE__*/Object.freeze({
|
45580
45619
|
__proto__: null,
|
45581
45620
|
'default': tabs_build,
|
45582
|
-
'ɵ0': ɵ0$
|
45621
|
+
'ɵ0': ɵ0$a$1
|
45583
45622
|
});
|
45584
45623
|
|
45585
|
-
const tagName$
|
45624
|
+
const tagName$18 = 'div';
|
45586
45625
|
register('wm-tabpane', () => {
|
45587
45626
|
return {
|
45588
|
-
pre: attrs => `<${tagName$
|
45589
|
-
post: () => `</${tagName$
|
45627
|
+
pre: attrs => `<${tagName$18} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element="true" role="tabpanel">`,
|
45628
|
+
post: () => `</${tagName$18}>`
|
45590
45629
|
};
|
45591
45630
|
});
|
45592
45631
|
var tabPane_build = () => { };
|
@@ -45596,11 +45635,11 @@ var tabPane_build$1 = /*#__PURE__*/Object.freeze({
|
|
45596
45635
|
'default': tabPane_build
|
45597
45636
|
});
|
45598
45637
|
|
45599
|
-
const tagName$
|
45638
|
+
const tagName$17 = 'div';
|
45600
45639
|
register('wm-tile', () => {
|
45601
45640
|
return {
|
45602
|
-
pre: attrs => `<${tagName$
|
45603
|
-
post: () => `</${tagName$
|
45641
|
+
pre: attrs => `<${tagName$17} wmTile aria-describedby="Tile" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
45642
|
+
post: () => `</${tagName$17}>`
|
45604
45643
|
};
|
45605
45644
|
});
|
45606
45645
|
var tile_build = () => { };
|
@@ -45610,11 +45649,11 @@ var tile_build$1 = /*#__PURE__*/Object.freeze({
|
|
45610
45649
|
'default': tile_build
|
45611
45650
|
});
|
45612
45651
|
|
45613
|
-
const tagName$
|
45652
|
+
const tagName$16 = 'div';
|
45614
45653
|
register('wm-wizard', () => {
|
45615
45654
|
return {
|
45616
|
-
pre: attrs => `<${tagName$
|
45617
|
-
post: () => `</${tagName$
|
45655
|
+
pre: attrs => `<${tagName$16} wmWizard role="tablist" ${getAttrMarkup(attrs)}>`,
|
45656
|
+
post: () => `</${tagName$16}>`
|
45618
45657
|
};
|
45619
45658
|
});
|
45620
45659
|
var wizard_build = () => { };
|
@@ -45624,16 +45663,16 @@ var wizard_build$1 = /*#__PURE__*/Object.freeze({
|
|
45624
45663
|
'default': wizard_build
|
45625
45664
|
});
|
45626
45665
|
|
45627
|
-
const tagName$
|
45628
|
-
const idGen$
|
45666
|
+
const tagName$15 = 'form';
|
45667
|
+
const idGen$h = new IDGenerator('wizard_step_id_');
|
45629
45668
|
register('wm-wizardstep', () => {
|
45630
45669
|
return {
|
45631
45670
|
pre: attrs => {
|
45632
|
-
const counter = idGen$
|
45633
|
-
return `<${tagName$
|
45671
|
+
const counter = idGen$h.nextUid();
|
45672
|
+
return `<${tagName$15} wmWizardStep #${counter}="wmWizardStep" ${getAttrMarkup(attrs)}>
|
45634
45673
|
<ng-template [ngIf]="${counter}.isInitialized">`;
|
45635
45674
|
},
|
45636
|
-
post: () => `</ng-template></${tagName$
|
45675
|
+
post: () => `</ng-template></${tagName$15}>`
|
45637
45676
|
};
|
45638
45677
|
});
|
45639
45678
|
var wizardStep_build = () => { };
|
@@ -45643,15 +45682,15 @@ var wizardStep_build$1 = /*#__PURE__*/Object.freeze({
|
|
45643
45682
|
'default': wizardStep_build
|
45644
45683
|
});
|
45645
45684
|
|
45646
|
-
const tagName$
|
45647
|
-
const idGen$
|
45685
|
+
const tagName$14 = 'button';
|
45686
|
+
const idGen$g = new IDGenerator('wm_barcodescanner');
|
45648
45687
|
register('wm-barcodescanner', () => {
|
45649
45688
|
return {
|
45650
45689
|
pre: (attrs) => {
|
45651
|
-
const counter = idGen$
|
45652
|
-
return `<${tagName$
|
45690
|
+
const counter = idGen$g.nextUid();
|
45691
|
+
return `<${tagName$14} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.hint || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
|
45653
45692
|
},
|
45654
|
-
post: () => `</${tagName$
|
45693
|
+
post: () => `</${tagName$14}>`
|
45655
45694
|
};
|
45656
45695
|
});
|
45657
45696
|
var barcodeScanner_build = () => { };
|
@@ -45661,15 +45700,15 @@ var barcodeScanner_build$1 = /*#__PURE__*/Object.freeze({
|
|
45661
45700
|
'default': barcodeScanner_build
|
45662
45701
|
});
|
45663
45702
|
|
45664
|
-
const tagName$
|
45665
|
-
const idGen$
|
45703
|
+
const tagName$13 = 'button';
|
45704
|
+
const idGen$f = new IDGenerator('wm_camera');
|
45666
45705
|
register('wm-camera', () => {
|
45667
45706
|
return {
|
45668
45707
|
pre: (attrs) => {
|
45669
|
-
const counter = idGen$
|
45670
|
-
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)}>`;
|
45671
45710
|
},
|
45672
|
-
post: () => `</${tagName$
|
45711
|
+
post: () => `</${tagName$13}>`
|
45673
45712
|
};
|
45674
45713
|
});
|
45675
45714
|
var camera_build = () => { };
|
@@ -45679,11 +45718,11 @@ var camera_build$1 = /*#__PURE__*/Object.freeze({
|
|
45679
45718
|
'default': camera_build
|
45680
45719
|
});
|
45681
45720
|
|
45682
|
-
const tagName$
|
45721
|
+
const tagName$12 = 'div';
|
45683
45722
|
register('wm-alertdialog', () => {
|
45684
45723
|
return {
|
45685
|
-
pre: attrs => `<${tagName$
|
45686
|
-
post: () => `</${tagName$
|
45724
|
+
pre: attrs => `<${tagName$12} wmAlertDialog role="alertdialog" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
45725
|
+
post: () => `</${tagName$12}>`
|
45687
45726
|
};
|
45688
45727
|
});
|
45689
45728
|
var alertDialog_build = () => { };
|
@@ -45693,11 +45732,11 @@ var alertDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
45693
45732
|
'default': alertDialog_build
|
45694
45733
|
});
|
45695
45734
|
|
45696
|
-
const tagName
|
45735
|
+
const tagName$11 = 'div';
|
45697
45736
|
register('wm-confirmdialog', () => {
|
45698
45737
|
return {
|
45699
|
-
pre: attrs => `<${tagName
|
45700
|
-
post: () => `</${tagName
|
45738
|
+
pre: attrs => `<${tagName$11} wmConfirmDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
45739
|
+
post: () => `</${tagName$11}>`
|
45701
45740
|
};
|
45702
45741
|
});
|
45703
45742
|
var confirmDialog_build = () => { };
|
@@ -45707,11 +45746,11 @@ var confirmDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
45707
45746
|
'default': confirmDialog_build
|
45708
45747
|
});
|
45709
45748
|
|
45710
|
-
const tagName$
|
45749
|
+
const tagName$10 = 'div';
|
45711
45750
|
register('wm-dialogactions', () => {
|
45712
45751
|
return {
|
45713
|
-
pre: attrs => `<ng-template #dialogFooter><${tagName$
|
45714
|
-
post: () => `</${tagName$
|
45752
|
+
pre: attrs => `<ng-template #dialogFooter><${tagName$10} wmDialogFooter data-identfier="actions" ${getAttrMarkup(attrs)}>`,
|
45753
|
+
post: () => `</${tagName$10}></ng-template>`
|
45715
45754
|
};
|
45716
45755
|
});
|
45717
45756
|
var dialogFooter_build = () => { };
|
@@ -45721,11 +45760,11 @@ var dialogFooter_build$1 = /*#__PURE__*/Object.freeze({
|
|
45721
45760
|
'default': dialogFooter_build
|
45722
45761
|
});
|
45723
45762
|
|
45724
|
-
const tagName
|
45763
|
+
const tagName$$ = 'div';
|
45725
45764
|
register('wm-dialog', () => {
|
45726
45765
|
return {
|
45727
|
-
pre: attrs => `<${tagName
|
45728
|
-
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$$}>`
|
45729
45768
|
};
|
45730
45769
|
});
|
45731
45770
|
// Todo:vinay remove wm-view in migration
|
@@ -45742,11 +45781,11 @@ var dialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
45742
45781
|
'default': dialog_build
|
45743
45782
|
});
|
45744
45783
|
|
45745
|
-
const tagName$
|
45784
|
+
const tagName$_ = 'div';
|
45746
45785
|
register('wm-iframedialog', () => {
|
45747
45786
|
return {
|
45748
|
-
pre: attrs => `<${tagName$
|
45749
|
-
post: () => `</${tagName$
|
45787
|
+
pre: attrs => `<${tagName$_} wmIframeDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
45788
|
+
post: () => `</${tagName$_}>`
|
45750
45789
|
};
|
45751
45790
|
});
|
45752
45791
|
var iframeDialog_build = () => { };
|
@@ -45756,11 +45795,11 @@ var iframeDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
45756
45795
|
'default': iframeDialog_build
|
45757
45796
|
});
|
45758
45797
|
|
45759
|
-
const tagName$
|
45798
|
+
const tagName$Z = 'div';
|
45760
45799
|
register('wm-logindialog', () => {
|
45761
45800
|
return {
|
45762
|
-
pre: attrs => `<${tagName$
|
45763
|
-
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}>`
|
45764
45803
|
};
|
45765
45804
|
});
|
45766
45805
|
var loginDialog_build = () => { };
|
@@ -45770,7 +45809,7 @@ var loginDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
45770
45809
|
'default': loginDialog_build
|
45771
45810
|
});
|
45772
45811
|
|
45773
|
-
const tagName$
|
45812
|
+
const tagName$Y = 'div';
|
45774
45813
|
register('wm-pagedialog', () => {
|
45775
45814
|
return {
|
45776
45815
|
pre: (attrs, shared) => {
|
@@ -45796,14 +45835,14 @@ register('wm-pagedialog', () => {
|
|
45796
45835
|
shared.set('hasPartialContent', true);
|
45797
45836
|
containerMarkup += `<ng-template><div wmContainer #partial partialContainer ${contentMarkup} width="100%" height="100%" ${onLoadEvtMarkup}>`;
|
45798
45837
|
}
|
45799
|
-
return `<${tagName$
|
45838
|
+
return `<${tagName$Y} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;
|
45800
45839
|
},
|
45801
45840
|
post: (attrs, shared) => {
|
45802
45841
|
let preContent = '';
|
45803
45842
|
if (shared.get('hasPartialContent')) {
|
45804
45843
|
preContent = `</div></ng-template>`;
|
45805
45844
|
}
|
45806
|
-
return `${preContent}</${tagName$
|
45845
|
+
return `${preContent}</${tagName$Y}>`;
|
45807
45846
|
}
|
45808
45847
|
};
|
45809
45848
|
});
|
@@ -45882,8 +45921,8 @@ const getEditModeWidget = colDef => {
|
|
45882
45921
|
return (fieldTypeWidgetTypeMap[colDef.type] && fieldTypeWidgetTypeMap[colDef.type][0]) || FormWidgetType.TEXT;
|
45883
45922
|
};
|
45884
45923
|
|
45885
|
-
const tagName$
|
45886
|
-
const idGen$
|
45924
|
+
const tagName$X = 'div';
|
45925
|
+
const idGen$e = new IDGenerator('formfield_');
|
45887
45926
|
const getEventsTemplate = (attrs) => {
|
45888
45927
|
const eventAttrs = new Map();
|
45889
45928
|
if (!attrs.has('focus.event')) {
|
@@ -45906,7 +45945,7 @@ const getEventsTemplate = (attrs) => {
|
|
45906
45945
|
});
|
45907
45946
|
return getFormMarkupAttr(eventAttrs);
|
45908
45947
|
};
|
45909
|
-
const ɵ0$
|
45948
|
+
const ɵ0$9$1 = getEventsTemplate;
|
45910
45949
|
const DEFAULT_PLACEHOLDERS = new Map([
|
45911
45950
|
[FormWidgetType.SELECT, ['Select Min value', 'Select Max value', 'Select value']],
|
45912
45951
|
[FormWidgetType.DATETIME, ['Select Min date time', 'Select Max date time', 'Select date time']],
|
@@ -45933,7 +45972,7 @@ const setDefaultPlaceholder = (attrs, widgetType, index) => {
|
|
45933
45972
|
attrs.set(prop, placeholder);
|
45934
45973
|
}
|
45935
45974
|
};
|
45936
|
-
const ɵ1$
|
45975
|
+
const ɵ1$7 = setDefaultPlaceholder;
|
45937
45976
|
const getWidgetTemplate = (attrs, options) => {
|
45938
45977
|
const name = attrs.get('name');
|
45939
45978
|
const fieldName = (attrs.get('key') || name || '').trim();
|
@@ -45988,7 +46027,7 @@ const registerFormField = (isFormField) => {
|
|
45988
46027
|
return {
|
45989
46028
|
requires: ['wm-form', 'wm-liveform', 'wm-livefilter', 'wm-list'],
|
45990
46029
|
pre: (attrs, shared, parentForm, parentLiveForm, parentFilter, parentList) => {
|
45991
|
-
const counter = idGen$
|
46030
|
+
const counter = idGen$e.nextUid();
|
45992
46031
|
const parent = parentForm || parentLiveForm || parentFilter;
|
45993
46032
|
const pCounter = (parent && parent.get('form_reference')) || 'form';
|
45994
46033
|
const widgetType = attrs.get('widget') || FormWidgetType.TEXT;
|
@@ -46009,7 +46048,7 @@ const registerFormField = (isFormField) => {
|
|
46009
46048
|
else {
|
46010
46049
|
setDefaultPlaceholder(attrs, widgetType, 2);
|
46011
46050
|
}
|
46012
|
-
return `<${tagName$
|
46051
|
+
return `<${tagName$X} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField captionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${getFormMarkupAttr(attrs)}>
|
46013
46052
|
<div class="live-field form-group app-composite-widget clearfix caption-{{${pCounter}.captionposition}}" widget="${widgetType}">
|
46014
46053
|
<label [hidden]="!${counter}.displayname" class="app-label control-label formfield-label {{${pCounter}._captionClass}}"
|
46015
46054
|
[ngStyle]="{width: ${pCounter}.captionsize}" [ngClass]="{'text-danger': ${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode,
|
@@ -46025,7 +46064,7 @@ const registerFormField = (isFormField) => {
|
|
46025
46064
|
</div>
|
46026
46065
|
</div>`;
|
46027
46066
|
},
|
46028
|
-
post: () => `</${tagName$
|
46067
|
+
post: () => `</${tagName$X}>`,
|
46029
46068
|
provide: (attrs, shared) => {
|
46030
46069
|
const provider = new Map();
|
46031
46070
|
provider.set('form_reference', shared.get('counter'));
|
@@ -46046,22 +46085,22 @@ var formField_build = () => { };
|
|
46046
46085
|
var formField_build$1 = /*#__PURE__*/Object.freeze({
|
46047
46086
|
__proto__: null,
|
46048
46087
|
'default': formField_build,
|
46049
|
-
'ɵ0': ɵ0$
|
46050
|
-
'ɵ1': ɵ1$
|
46088
|
+
'ɵ0': ɵ0$9$1,
|
46089
|
+
'ɵ1': ɵ1$7,
|
46051
46090
|
'ɵ2': ɵ2$3$1,
|
46052
46091
|
'ɵ3': ɵ3$2$1,
|
46053
46092
|
'ɵ4': ɵ4$1$1,
|
46054
46093
|
'ɵ5': ɵ5$1$1
|
46055
46094
|
});
|
46056
46095
|
|
46057
|
-
const tagName$
|
46096
|
+
const tagName$W = 'div';
|
46058
46097
|
const registerAction = (tmpl) => {
|
46059
46098
|
return {
|
46060
|
-
pre: attrs => `<${tagName$
|
46061
|
-
post: () => `</${tagName$
|
46099
|
+
pre: attrs => `<${tagName$W} wmFormAction name="${attrs.get('name') || attrs.get('key')}" ${getAttrMarkup(attrs)} ${tmpl}>`,
|
46100
|
+
post: () => `</${tagName$W}>`
|
46062
46101
|
};
|
46063
46102
|
};
|
46064
|
-
const ɵ0$
|
46103
|
+
const ɵ0$8$1 = registerAction;
|
46065
46104
|
register('wm-form-action', registerAction.bind(undefined, ''));
|
46066
46105
|
register('wm-filter-action', registerAction.bind(undefined, ` update-mode="true" `));
|
46067
46106
|
var formAction_build = () => { };
|
@@ -46069,11 +46108,11 @@ var formAction_build = () => { };
|
|
46069
46108
|
var formAction_build$1 = /*#__PURE__*/Object.freeze({
|
46070
46109
|
__proto__: null,
|
46071
46110
|
'default': formAction_build,
|
46072
|
-
'ɵ0': ɵ0$
|
46111
|
+
'ɵ0': ɵ0$8$1
|
46073
46112
|
});
|
46074
46113
|
|
46075
|
-
const tagName$
|
46076
|
-
const idGen$
|
46114
|
+
const tagName$V = 'form';
|
46115
|
+
const idGen$d = new IDGenerator('form_');
|
46077
46116
|
const formWidgets$1 = new Set([
|
46078
46117
|
'wm-text',
|
46079
46118
|
'wm-textarea',
|
@@ -46122,7 +46161,7 @@ const addFormControlName = (children = []) => {
|
|
46122
46161
|
addFormControlName(childNode.children);
|
46123
46162
|
});
|
46124
46163
|
};
|
46125
|
-
const ɵ0$
|
46164
|
+
const ɵ0$7$1 = addFormControlName;
|
46126
46165
|
const updateFormDataSource = (attrMap) => {
|
46127
46166
|
if (attrMap.get('formdata.bind')) {
|
46128
46167
|
const formDataSource = getDataSource(attrMap.get('formdata.bind'));
|
@@ -46131,7 +46170,7 @@ const updateFormDataSource = (attrMap) => {
|
|
46131
46170
|
}
|
46132
46171
|
}
|
46133
46172
|
};
|
46134
|
-
const ɵ1$
|
46173
|
+
const ɵ1$6 = updateFormDataSource;
|
46135
46174
|
const buildTask = (directiveAttr = '') => {
|
46136
46175
|
return {
|
46137
46176
|
requires: ['wm-livetable', 'wm-login'],
|
@@ -46143,12 +46182,12 @@ const buildTask = (directiveAttr = '') => {
|
|
46143
46182
|
let tmpl;
|
46144
46183
|
let dialogId;
|
46145
46184
|
const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';
|
46146
|
-
const counter = idGen$
|
46185
|
+
const counter = idGen$d.nextUid();
|
46147
46186
|
const dependsOn = attrs.get('dependson') ? `dependson="${attrs.get('dependson')}"` : '';
|
46148
46187
|
const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';
|
46149
46188
|
const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];
|
46150
46189
|
attrs.delete('dependson');
|
46151
|
-
const liveFormTmpl = `<${tagName$
|
46190
|
+
const liveFormTmpl = `<${tagName$V} wmForm data-role="${role}" ${directiveAttr} #${counter} ngNativeValidate [formGroup]="${counter}.ngform" [noValidate]="${counter}.validationtype !== 'html'"
|
46152
46191
|
class="${classProp}" [class]="${counter}.captionAlignClass" [autocomplete]="${counter}.autocomplete ? 'on' : 'off'" captionposition=${attrs.get('captionposition')}`;
|
46153
46192
|
attrs.set('numberOfFields', `${numberOfFields}`);
|
46154
46193
|
shared.set('counter', counter);
|
@@ -46197,9 +46236,9 @@ const buildTask = (directiveAttr = '') => {
|
|
46197
46236
|
return '</form></ng-template></div></div>';
|
46198
46237
|
}
|
46199
46238
|
if (attrs.get('formlayout') === 'page') {
|
46200
|
-
return `</div></${tagName$
|
46239
|
+
return `</div></${tagName$V}>`;
|
46201
46240
|
}
|
46202
|
-
return `</${tagName$
|
46241
|
+
return `</${tagName$V}>`;
|
46203
46242
|
},
|
46204
46243
|
provide: (attrs, shared) => {
|
46205
46244
|
const provider = new Map();
|
@@ -46217,19 +46256,19 @@ var form_build = () => { };
|
|
46217
46256
|
var form_build$1 = /*#__PURE__*/Object.freeze({
|
46218
46257
|
__proto__: null,
|
46219
46258
|
'default': form_build,
|
46220
|
-
'ɵ0': ɵ0$
|
46221
|
-
'ɵ1': ɵ1$
|
46259
|
+
'ɵ0': ɵ0$7$1,
|
46260
|
+
'ɵ1': ɵ1$6,
|
46222
46261
|
'ɵ2': ɵ2$2$1
|
46223
46262
|
});
|
46224
46263
|
|
46225
|
-
const tagName$
|
46264
|
+
const tagName$U = 'div';
|
46226
46265
|
register('wm-calendar', () => {
|
46227
46266
|
return {
|
46228
46267
|
pre: (attrs) => {
|
46229
46268
|
let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';
|
46230
|
-
return `<${tagName$
|
46269
|
+
return `<${tagName$U} wmCalendar redrawable style="width:100%" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
|
46231
46270
|
},
|
46232
|
-
post: () => `</${tagName$
|
46271
|
+
post: () => `</${tagName$U}>`
|
46233
46272
|
};
|
46234
46273
|
});
|
46235
46274
|
var calendar_build = () => { };
|
@@ -46239,11 +46278,11 @@ var calendar_build$1 = /*#__PURE__*/Object.freeze({
|
|
46239
46278
|
'default': calendar_build
|
46240
46279
|
});
|
46241
46280
|
|
46242
|
-
const tagName$
|
46281
|
+
const tagName$T = 'ul';
|
46243
46282
|
register('wm-chips', () => {
|
46244
46283
|
return {
|
46245
|
-
pre: attrs => `<${tagName$
|
46246
|
-
post: () => `</${tagName$
|
46284
|
+
pre: attrs => `<${tagName$T} wmChips role="listbox" ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
|
46285
|
+
post: () => `</${tagName$T}>`
|
46247
46286
|
};
|
46248
46287
|
});
|
46249
46288
|
var chips_build = () => { };
|
@@ -46253,11 +46292,11 @@ var chips_build$1 = /*#__PURE__*/Object.freeze({
|
|
46253
46292
|
'default': chips_build
|
46254
46293
|
});
|
46255
46294
|
|
46256
|
-
const tagName$
|
46295
|
+
const tagName$S = 'div';
|
46257
46296
|
register('wm-colorpicker', () => {
|
46258
46297
|
return {
|
46259
|
-
pre: attrs => `<${tagName$
|
46260
|
-
post: () => `</${tagName$
|
46298
|
+
pre: attrs => `<${tagName$S} wmColorPicker ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
46299
|
+
post: () => `</${tagName$S}>`
|
46261
46300
|
};
|
46262
46301
|
});
|
46263
46302
|
var colorPicker_build = () => { };
|
@@ -46267,11 +46306,11 @@ var colorPicker_build$1 = /*#__PURE__*/Object.freeze({
|
|
46267
46306
|
'default': colorPicker_build
|
46268
46307
|
});
|
46269
46308
|
|
46270
|
-
const tagName$
|
46309
|
+
const tagName$R = 'div';
|
46271
46310
|
register('wm-currency', () => {
|
46272
46311
|
return {
|
46273
|
-
pre: attrs => `<${tagName$
|
46274
|
-
post: () => `</${tagName$
|
46312
|
+
pre: attrs => `<${tagName$R} wmCurrency ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
46313
|
+
post: () => `</${tagName$R}>`
|
46275
46314
|
};
|
46276
46315
|
});
|
46277
46316
|
var currency_build = () => { };
|
@@ -46281,11 +46320,11 @@ var currency_build$1 = /*#__PURE__*/Object.freeze({
|
|
46281
46320
|
'default': currency_build
|
46282
46321
|
});
|
46283
46322
|
|
46284
|
-
const tagName$
|
46323
|
+
const tagName$Q = 'div';
|
46285
46324
|
register('wm-buttongroup', () => {
|
46286
46325
|
return {
|
46287
|
-
pre: attrs => `<${tagName$
|
46288
|
-
post: () => `</${tagName$
|
46326
|
+
pre: attrs => `<${tagName$Q} wmButtonGroup role="group" aria-labelledby="button group" ${getAttrMarkup(attrs)}>`,
|
46327
|
+
post: () => `</${tagName$Q}>`
|
46289
46328
|
};
|
46290
46329
|
});
|
46291
46330
|
var buttonGroup_build = () => { };
|
@@ -46295,15 +46334,15 @@ var buttonGroup_build$1 = /*#__PURE__*/Object.freeze({
|
|
46295
46334
|
'default': buttonGroup_build
|
46296
46335
|
});
|
46297
46336
|
|
46298
|
-
const tagName$
|
46299
|
-
const idGen$
|
46337
|
+
const tagName$P = 'button';
|
46338
|
+
const idGen$c = new IDGenerator('wm_button');
|
46300
46339
|
register('wm-button', () => {
|
46301
46340
|
return {
|
46302
46341
|
pre: (attrs) => {
|
46303
|
-
const counter = idGen$
|
46304
|
-
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)}>`;
|
46305
46344
|
},
|
46306
|
-
post: () => `</${tagName$
|
46345
|
+
post: () => `</${tagName$P}>`
|
46307
46346
|
};
|
46308
46347
|
});
|
46309
46348
|
var button_build = () => { };
|
@@ -46313,11 +46352,11 @@ var button_build$1 = /*#__PURE__*/Object.freeze({
|
|
46313
46352
|
'default': button_build
|
46314
46353
|
});
|
46315
46354
|
|
46316
|
-
const tagName$
|
46355
|
+
const tagName$O = 'div';
|
46317
46356
|
register('wm-checkbox', () => {
|
46318
46357
|
return {
|
46319
|
-
pre: attrs => `<${tagName$
|
46320
|
-
post: () => `</${tagName$
|
46358
|
+
pre: attrs => `<${tagName$O} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
46359
|
+
post: () => `</${tagName$O}>`
|
46321
46360
|
};
|
46322
46361
|
});
|
46323
46362
|
var checkbox_build = () => { };
|
@@ -46327,11 +46366,11 @@ var checkbox_build$1 = /*#__PURE__*/Object.freeze({
|
|
46327
46366
|
'default': checkbox_build
|
46328
46367
|
});
|
46329
46368
|
|
46330
|
-
const tagName$
|
46369
|
+
const tagName$N = 'ul';
|
46331
46370
|
register('wm-checkboxset', () => {
|
46332
46371
|
return {
|
46333
|
-
pre: attrs => `<${tagName$
|
46334
|
-
post: () => `</${tagName$
|
46372
|
+
pre: attrs => `<${tagName$N} wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
46373
|
+
post: () => `</${tagName$N}>`
|
46335
46374
|
};
|
46336
46375
|
});
|
46337
46376
|
var checkboxset_build = () => { };
|
@@ -46341,11 +46380,11 @@ var checkboxset_build$1 = /*#__PURE__*/Object.freeze({
|
|
46341
46380
|
'default': checkboxset_build
|
46342
46381
|
});
|
46343
46382
|
|
46344
|
-
const tagName$
|
46383
|
+
const tagName$M = 'div';
|
46345
46384
|
register('wm-composite', () => {
|
46346
46385
|
return {
|
46347
|
-
pre: attrs => `<${tagName$
|
46348
|
-
post: () => `</${tagName$
|
46386
|
+
pre: attrs => `<${tagName$M} wmComposite captionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,
|
46387
|
+
post: () => `</${tagName$M}${clearChildAttrs()}>`
|
46349
46388
|
};
|
46350
46389
|
});
|
46351
46390
|
var composite_build = () => { };
|
@@ -46355,11 +46394,11 @@ var composite_build$1 = /*#__PURE__*/Object.freeze({
|
|
46355
46394
|
'default': composite_build
|
46356
46395
|
});
|
46357
46396
|
|
46358
|
-
const tagName$
|
46397
|
+
const tagName$L = 'div';
|
46359
46398
|
register('wm-number', () => {
|
46360
46399
|
return {
|
46361
|
-
pre: attrs => `<${tagName$
|
46362
|
-
post: () => `</${tagName$
|
46400
|
+
pre: attrs => `<${tagName$L} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
46401
|
+
post: () => `</${tagName$L}>`
|
46363
46402
|
};
|
46364
46403
|
});
|
46365
46404
|
var number_build = () => { };
|
@@ -46369,11 +46408,11 @@ var number_build$1 = /*#__PURE__*/Object.freeze({
|
|
46369
46408
|
'default': number_build
|
46370
46409
|
});
|
46371
46410
|
|
46372
|
-
const tagName$
|
46411
|
+
const tagName$K = 'ul';
|
46373
46412
|
register('wm-radioset', () => {
|
46374
46413
|
return {
|
46375
|
-
pre: attrs => `<${tagName$
|
46376
|
-
post: () => `</${tagName$
|
46414
|
+
pre: attrs => `<${tagName$K} wmRadioset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
46415
|
+
post: () => `</${tagName$K}>`
|
46377
46416
|
};
|
46378
46417
|
});
|
46379
46418
|
var radioset_build = () => { };
|
@@ -46383,11 +46422,11 @@ var radioset_build$1 = /*#__PURE__*/Object.freeze({
|
|
46383
46422
|
'default': radioset_build
|
46384
46423
|
});
|
46385
46424
|
|
46386
|
-
const tagName$
|
46425
|
+
const tagName$J = 'wm-select';
|
46387
46426
|
register('wm-select', () => {
|
46388
46427
|
return {
|
46389
|
-
pre: attrs => `<${tagName$
|
46390
|
-
post: () => `</${tagName$
|
46428
|
+
pre: attrs => `<${tagName$J} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
46429
|
+
post: () => `</${tagName$J}>`
|
46391
46430
|
};
|
46392
46431
|
});
|
46393
46432
|
var select_build = () => { };
|
@@ -46397,15 +46436,15 @@ var select_build$1 = /*#__PURE__*/Object.freeze({
|
|
46397
46436
|
'default': select_build
|
46398
46437
|
});
|
46399
46438
|
|
46400
|
-
const tagName$
|
46401
|
-
const idGen$
|
46439
|
+
const tagName$I = 'div';
|
46440
|
+
const idGen$b = new IDGenerator('wm_switch');
|
46402
46441
|
register('wm-switch', () => {
|
46403
46442
|
return {
|
46404
46443
|
pre: (attrs) => {
|
46405
|
-
const counter = idGen$
|
46406
|
-
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)}>`;
|
46407
46446
|
},
|
46408
|
-
post: () => `</${tagName$
|
46447
|
+
post: () => `</${tagName$I}>`
|
46409
46448
|
};
|
46410
46449
|
});
|
46411
46450
|
var switch_build = () => { };
|
@@ -46415,11 +46454,11 @@ var switch_build$1 = /*#__PURE__*/Object.freeze({
|
|
46415
46454
|
'default': switch_build
|
46416
46455
|
});
|
46417
46456
|
|
46418
|
-
const tagName$
|
46457
|
+
const tagName$H = 'wm-input';
|
46419
46458
|
register('wm-text', () => {
|
46420
46459
|
return {
|
46421
|
-
pre: attrs => `<${tagName$
|
46422
|
-
post: () => `</${tagName$
|
46460
|
+
pre: attrs => `<${tagName$H} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
46461
|
+
post: () => `</${tagName$H}>`
|
46423
46462
|
};
|
46424
46463
|
});
|
46425
46464
|
var text_build = () => { };
|
@@ -46429,11 +46468,11 @@ var text_build$1 = /*#__PURE__*/Object.freeze({
|
|
46429
46468
|
'default': text_build
|
46430
46469
|
});
|
46431
46470
|
|
46432
|
-
const tagName$
|
46471
|
+
const tagName$G = 'wm-textarea';
|
46433
46472
|
register('wm-textarea', () => {
|
46434
46473
|
return {
|
46435
|
-
pre: attrs => `<${tagName$
|
46436
|
-
post: () => `</${tagName$
|
46474
|
+
pre: attrs => `<${tagName$G} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
46475
|
+
post: () => `</${tagName$G}>`
|
46437
46476
|
};
|
46438
46477
|
});
|
46439
46478
|
var textarea_build = () => { };
|
@@ -46443,11 +46482,11 @@ var textarea_build$1 = /*#__PURE__*/Object.freeze({
|
|
46443
46482
|
'default': textarea_build
|
46444
46483
|
});
|
46445
46484
|
|
46446
|
-
const tagName$
|
46485
|
+
const tagName$F = 'div';
|
46447
46486
|
register('wm-datetime', () => {
|
46448
46487
|
return {
|
46449
|
-
pre: attrs => `<${tagName$
|
46450
|
-
post: () => `</${tagName$
|
46488
|
+
pre: attrs => `<${tagName$F} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
46489
|
+
post: () => `</${tagName$F}>`
|
46451
46490
|
};
|
46452
46491
|
});
|
46453
46492
|
var dateTime_build = () => { };
|
@@ -46457,11 +46496,11 @@ var dateTime_build$1 = /*#__PURE__*/Object.freeze({
|
|
46457
46496
|
'default': dateTime_build
|
46458
46497
|
});
|
46459
46498
|
|
46460
|
-
const tagName$
|
46499
|
+
const tagName$E = 'div';
|
46461
46500
|
register('wm-date', () => {
|
46462
46501
|
return {
|
46463
|
-
pre: attrs => `<${tagName$
|
46464
|
-
post: () => `</${tagName$
|
46502
|
+
pre: attrs => `<${tagName$E} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
46503
|
+
post: () => `</${tagName$E}>`
|
46465
46504
|
};
|
46466
46505
|
});
|
46467
46506
|
var date_build = () => { };
|
@@ -46471,11 +46510,11 @@ var date_build$1 = /*#__PURE__*/Object.freeze({
|
|
46471
46510
|
'default': date_build
|
46472
46511
|
});
|
46473
46512
|
|
46474
|
-
const tagName$
|
46513
|
+
const tagName$D = 'div';
|
46475
46514
|
register('wm-time', () => {
|
46476
46515
|
return {
|
46477
|
-
pre: attrs => `<${tagName$
|
46478
|
-
post: () => `</${tagName$
|
46516
|
+
pre: attrs => `<${tagName$D} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
46517
|
+
post: () => `</${tagName$D}>`
|
46479
46518
|
};
|
46480
46519
|
});
|
46481
46520
|
var time_build = () => { };
|
@@ -46485,7 +46524,7 @@ var time_build$1 = /*#__PURE__*/Object.freeze({
|
|
46485
46524
|
'default': time_build
|
46486
46525
|
});
|
46487
46526
|
|
46488
|
-
const tagName$
|
46527
|
+
const tagName$C = 'div';
|
46489
46528
|
register('wm-fileupload', () => {
|
46490
46529
|
return {
|
46491
46530
|
pre: attrs => {
|
@@ -46493,9 +46532,9 @@ register('wm-fileupload', () => {
|
|
46493
46532
|
const onSelectBinding = getDataSource(attrs.get('select.event'));
|
46494
46533
|
attrs.set('datasource.bind', onSelectBinding);
|
46495
46534
|
}
|
46496
|
-
return `<${tagName$
|
46535
|
+
return `<${tagName$C} wmFileUpload ${getAttrMarkup(attrs)} role="input">`;
|
46497
46536
|
},
|
46498
|
-
post: () => `</${tagName$
|
46537
|
+
post: () => `</${tagName$C}>`
|
46499
46538
|
};
|
46500
46539
|
});
|
46501
46540
|
var fileUpload_build = () => { };
|
@@ -46505,11 +46544,11 @@ var fileUpload_build$1 = /*#__PURE__*/Object.freeze({
|
|
46505
46544
|
'default': fileUpload_build
|
46506
46545
|
});
|
46507
46546
|
|
46508
|
-
const tagName$
|
46547
|
+
const tagName$B = 'div';
|
46509
46548
|
register('wm-rating', () => {
|
46510
46549
|
return {
|
46511
|
-
pre: attrs => `<${tagName$
|
46512
|
-
post: () => `</${tagName$
|
46550
|
+
pre: attrs => `<${tagName$B} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
|
46551
|
+
post: () => `</${tagName$B}>`
|
46513
46552
|
};
|
46514
46553
|
});
|
46515
46554
|
var rating_build = () => { };
|
@@ -46519,11 +46558,11 @@ var rating_build$1 = /*#__PURE__*/Object.freeze({
|
|
46519
46558
|
'default': rating_build
|
46520
46559
|
});
|
46521
46560
|
|
46522
|
-
const tagName$
|
46561
|
+
const tagName$A = 'div';
|
46523
46562
|
register('wm-slider', () => {
|
46524
46563
|
return {
|
46525
|
-
pre: attrs => `<${tagName$
|
46526
|
-
post: () => `</${tagName$
|
46564
|
+
pre: attrs => `<${tagName$A} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
|
46565
|
+
post: () => `</${tagName$A}>`
|
46527
46566
|
};
|
46528
46567
|
});
|
46529
46568
|
var slider_build = () => { };
|
@@ -46534,7 +46573,7 @@ var slider_build$1 = /*#__PURE__*/Object.freeze({
|
|
46534
46573
|
});
|
46535
46574
|
|
46536
46575
|
const wmlistTag = 'wm-list';
|
46537
|
-
const tagName$
|
46576
|
+
const tagName$z = 'div';
|
46538
46577
|
const dataSetKey$2 = 'dataset';
|
46539
46578
|
function copyAttribute$1(from, fromAttrName, to, toAttrName) {
|
46540
46579
|
const fromAttr = from.attrs.find(a => a.name === fromAttrName);
|
@@ -46582,8 +46621,8 @@ register('wm-media-list', () => {
|
|
46582
46621
|
copyAttribute$1(template, 'height', node, 'thumbnailheight');
|
46583
46622
|
}
|
46584
46623
|
},
|
46585
|
-
pre: attrs => `<${tagName$
|
46586
|
-
post: () => `</${tagName$
|
46624
|
+
pre: attrs => `<${tagName$z} wmMediaList ${getAttrMarkup(attrs)}>`,
|
46625
|
+
post: () => `</${tagName$z}>`
|
46587
46626
|
};
|
46588
46627
|
});
|
46589
46628
|
var mediaList_build = () => { };
|
@@ -46593,11 +46632,11 @@ var mediaList_build$1 = /*#__PURE__*/Object.freeze({
|
|
46593
46632
|
'default': mediaList_build
|
46594
46633
|
});
|
46595
46634
|
|
46596
|
-
const tagName$
|
46635
|
+
const tagName$y = 'ng-template';
|
46597
46636
|
register('wm-media-template', () => {
|
46598
46637
|
return {
|
46599
|
-
pre: () => `<${tagName$
|
46600
|
-
post: () => `</${tagName$
|
46638
|
+
pre: () => `<${tagName$y} #mediaListTemplate let-item="item" let-index="index">`,
|
46639
|
+
post: () => `</${tagName$y}>`
|
46601
46640
|
};
|
46602
46641
|
});
|
46603
46642
|
var mediaListItem_build = () => { };
|
@@ -46681,16 +46720,16 @@ var list_build$1 = /*#__PURE__*/Object.freeze({
|
|
46681
46720
|
'default': list_build
|
46682
46721
|
});
|
46683
46722
|
|
46684
|
-
const tagName$
|
46685
|
-
const idGen$
|
46723
|
+
const tagName$x = 'div';
|
46724
|
+
const idGen$a = new IDGenerator('liveform_dialog_id_');
|
46686
46725
|
register('wm-livetable', () => {
|
46687
46726
|
return {
|
46688
46727
|
pre: (attrs, shared) => {
|
46689
|
-
const counter = idGen$
|
46728
|
+
const counter = idGen$a.nextUid();
|
46690
46729
|
shared.set('counter', counter);
|
46691
|
-
return `<${tagName$
|
46730
|
+
return `<${tagName$x} wmLiveTable role="table" ${getAttrMarkup(attrs)} dialogid="${counter}">`;
|
46692
46731
|
},
|
46693
|
-
post: () => `</${tagName$
|
46732
|
+
post: () => `</${tagName$x}>`,
|
46694
46733
|
provide: (attrs, shared) => {
|
46695
46734
|
const provider = new Map();
|
46696
46735
|
provider.set('liveform_dialog_id', shared.get('counter'));
|
@@ -46705,15 +46744,15 @@ var liveTable_build$1 = /*#__PURE__*/Object.freeze({
|
|
46705
46744
|
'default': liveTable_build
|
46706
46745
|
});
|
46707
46746
|
|
46708
|
-
const tagName$
|
46709
|
-
const idGen$
|
46747
|
+
const tagName$w = 'p';
|
46748
|
+
const idGen$9 = new IDGenerator('wm_message');
|
46710
46749
|
register('wm-message', () => {
|
46711
46750
|
return {
|
46712
46751
|
pre: (attrs) => {
|
46713
|
-
const counter = idGen$
|
46714
|
-
return `<${tagName$
|
46752
|
+
const counter = idGen$9.nextUid();
|
46753
|
+
return `<${tagName$w} wmMessage tabindex="0" #${counter}="wmMessage" ${getAttrMarkup(attrs)}>`;
|
46715
46754
|
},
|
46716
|
-
post: () => `</${tagName$
|
46755
|
+
post: () => `</${tagName$w}>`
|
46717
46756
|
};
|
46718
46757
|
});
|
46719
46758
|
var message_build = () => { };
|
@@ -46723,11 +46762,11 @@ var message_build$1 = /*#__PURE__*/Object.freeze({
|
|
46723
46762
|
'default': message_build
|
46724
46763
|
});
|
46725
46764
|
|
46726
|
-
const tagName$
|
46765
|
+
const tagName$v = 'ol';
|
46727
46766
|
register('wm-breadcrumb', () => {
|
46728
46767
|
return {
|
46729
|
-
pre: attrs => `<${tagName$
|
46730
|
-
post: () => `</${tagName$
|
46768
|
+
pre: attrs => `<${tagName$v} wmBreadcrumb ${getAttrMarkup(attrs)}>`,
|
46769
|
+
post: () => `</${tagName$v}>`
|
46731
46770
|
};
|
46732
46771
|
});
|
46733
46772
|
var breadcrumb_build = () => { };
|
@@ -46737,11 +46776,11 @@ var breadcrumb_build$1 = /*#__PURE__*/Object.freeze({
|
|
46737
46776
|
'default': breadcrumb_build
|
46738
46777
|
});
|
46739
46778
|
|
46740
|
-
const tagName$
|
46779
|
+
const tagName$u = 'div';
|
46741
46780
|
register('wm-menu', () => {
|
46742
46781
|
return {
|
46743
|
-
pre: attrs => `<${tagName$
|
46744
|
-
post: () => `</${tagName$
|
46782
|
+
pre: attrs => `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)}>`,
|
46783
|
+
post: () => `</${tagName$u}>`
|
46745
46784
|
};
|
46746
46785
|
});
|
46747
46786
|
var menu_build = () => { };
|
@@ -46751,11 +46790,11 @@ var menu_build$1 = /*#__PURE__*/Object.freeze({
|
|
46751
46790
|
'default': menu_build
|
46752
46791
|
});
|
46753
46792
|
|
46754
|
-
const tagName$
|
46793
|
+
const tagName$t = 'li';
|
46755
46794
|
register('wm-nav-item', () => {
|
46756
46795
|
return {
|
46757
|
-
pre: attrs => `<${tagName$
|
46758
|
-
post: () => `</${tagName$
|
46796
|
+
pre: attrs => `<${tagName$t} wmNavItem role="listitem" ${getAttrMarkup(attrs)}>`,
|
46797
|
+
post: () => `</${tagName$t}>`
|
46759
46798
|
};
|
46760
46799
|
});
|
46761
46800
|
var navItem_build = () => { };
|
@@ -46765,11 +46804,11 @@ var navItem_build$1 = /*#__PURE__*/Object.freeze({
|
|
46765
46804
|
'default': navItem_build
|
46766
46805
|
});
|
46767
46806
|
|
46768
|
-
const tagName$
|
46807
|
+
const tagName$s = 'ul';
|
46769
46808
|
register('wm-nav', () => {
|
46770
46809
|
return {
|
46771
|
-
pre: attrs => `<${tagName$
|
46772
|
-
post: () => `</${tagName$
|
46810
|
+
pre: attrs => `<${tagName$s} wmNav data-element-type="wmNav" data-role="page-header" role="list" ${getAttrMarkup(attrs)}>`,
|
46811
|
+
post: () => `</${tagName$s}>`
|
46773
46812
|
};
|
46774
46813
|
});
|
46775
46814
|
var nav_build = () => { };
|
@@ -46779,11 +46818,11 @@ var nav_build$1 = /*#__PURE__*/Object.freeze({
|
|
46779
46818
|
'default': nav_build
|
46780
46819
|
});
|
46781
46820
|
|
46782
|
-
const tagName$
|
46821
|
+
const tagName$r = 'nav';
|
46783
46822
|
register('wm-navbar', () => {
|
46784
46823
|
return {
|
46785
|
-
pre: attrs => `<${tagName$
|
46786
|
-
post: () => `</${tagName$
|
46824
|
+
pre: attrs => `<${tagName$r} wmNavbar data-element-type="wmNavbar" role="navigation" ${getAttrMarkup(attrs)}>`,
|
46825
|
+
post: () => `</${tagName$r}>`
|
46787
46826
|
};
|
46788
46827
|
});
|
46789
46828
|
var navbar_build = () => { };
|
@@ -46793,7 +46832,7 @@ var navbar_build$1 = /*#__PURE__*/Object.freeze({
|
|
46793
46832
|
'default': navbar_build
|
46794
46833
|
});
|
46795
46834
|
|
46796
|
-
const tagName$
|
46835
|
+
const tagName$q = 'wm-popover';
|
46797
46836
|
register('wm-popover', () => {
|
46798
46837
|
return {
|
46799
46838
|
requires: ['wm-table'],
|
@@ -46813,7 +46852,7 @@ register('wm-popover', () => {
|
|
46813
46852
|
popoverTemplate = `<div wmContainer #partial partialContainer ${contentMarkup}>`;
|
46814
46853
|
shared.set('hasPopoverContent', true);
|
46815
46854
|
}
|
46816
|
-
let markup = `<${tagName$
|
46855
|
+
let markup = `<${tagName$q} wmPopover ${getAttrMarkup(attrs)}>`;
|
46817
46856
|
const contextAttrs = table ? `let-row="row"` : ``;
|
46818
46857
|
markup += `<ng-template ${contextAttrs}><button class="popover-start"></button>`;
|
46819
46858
|
// todo keyboard navigation - tab
|
@@ -46827,7 +46866,7 @@ register('wm-popover', () => {
|
|
46827
46866
|
if (shared.get('hasPopoverContent')) {
|
46828
46867
|
markup += `</div>`;
|
46829
46868
|
}
|
46830
|
-
return `${markup}<button class="popover-end"></button></ng-template></${tagName$
|
46869
|
+
return `${markup}<button class="popover-end"></button></ng-template></${tagName$q}>`;
|
46831
46870
|
}
|
46832
46871
|
};
|
46833
46872
|
});
|
@@ -46838,21 +46877,21 @@ var popover_build$1 = /*#__PURE__*/Object.freeze({
|
|
46838
46877
|
'default': popover_build
|
46839
46878
|
});
|
46840
46879
|
|
46841
|
-
const tagName$
|
46880
|
+
const tagName$p = 'div';
|
46842
46881
|
const findChild = (node, childName) => {
|
46843
46882
|
const child = node && node.children.find(e => (e instanceof Element$1$1 && e.name === childName));
|
46844
46883
|
return child;
|
46845
46884
|
};
|
46846
|
-
const ɵ0$
|
46847
|
-
const createElement$
|
46848
|
-
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);
|
46849
46888
|
};
|
46850
|
-
const ɵ1$
|
46851
|
-
const addAtrribute$
|
46852
|
-
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);
|
46853
46892
|
node.attrs.push(attr);
|
46854
46893
|
};
|
46855
|
-
const ɵ2$1$2 = addAtrribute$
|
46894
|
+
const ɵ2$1$2 = addAtrribute$3;
|
46856
46895
|
const getElementNode = (name, node) => {
|
46857
46896
|
let elementNode;
|
46858
46897
|
if (!node) {
|
@@ -46872,8 +46911,8 @@ const getElementNode = (name, node) => {
|
|
46872
46911
|
return elementNode;
|
46873
46912
|
};
|
46874
46913
|
const ɵ3$1$2 = getElementNode;
|
46875
|
-
const noSpan$
|
46876
|
-
const idGen$
|
46914
|
+
const noSpan$3 = {};
|
46915
|
+
const idGen$8 = new IDGenerator('wm_page');
|
46877
46916
|
register('wm-page', () => {
|
46878
46917
|
return {
|
46879
46918
|
template: (node) => {
|
@@ -46882,24 +46921,24 @@ register('wm-page', () => {
|
|
46882
46921
|
pageContentNode = getElementNode('wm-page-content', getElementNode('wm-content', node));
|
46883
46922
|
}
|
46884
46923
|
if (pageContentNode) {
|
46885
|
-
const conditionalNode = createElement$
|
46886
|
-
addAtrribute$
|
46924
|
+
const conditionalNode = createElement$3('ng-container');
|
46925
|
+
addAtrribute$3(conditionalNode, '*ngIf', 'compilePageContent');
|
46887
46926
|
conditionalNode.children = conditionalNode.children.concat(pageContentNode.children);
|
46888
46927
|
conditionalNode.children.push(new Text$3('{{onPageContentReady()}}', null, undefined, undefined));
|
46889
46928
|
pageContentNode.children = [conditionalNode];
|
46890
46929
|
if (isMobileApp()) {
|
46891
|
-
const loader = createElement$
|
46892
|
-
addAtrribute$
|
46893
|
-
addAtrribute$
|
46930
|
+
const loader = createElement$3('div');
|
46931
|
+
addAtrribute$3(loader, 'wmPageContentLoader', '');
|
46932
|
+
addAtrribute$3(loader, '*ngIf', '!showPageContent');
|
46894
46933
|
pageContentNode.children.push(loader);
|
46895
46934
|
}
|
46896
46935
|
}
|
46897
46936
|
},
|
46898
46937
|
pre: (attrs) => {
|
46899
|
-
const counter = idGen$
|
46900
|
-
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)}>`;
|
46901
46940
|
},
|
46902
|
-
post: () => `</${tagName$
|
46941
|
+
post: () => `</${tagName$p}>`
|
46903
46942
|
};
|
46904
46943
|
});
|
46905
46944
|
var page_build = () => { };
|
@@ -46907,12 +46946,44 @@ var page_build = () => { };
|
|
46907
46946
|
var page_build$1 = /*#__PURE__*/Object.freeze({
|
46908
46947
|
__proto__: null,
|
46909
46948
|
'default': page_build,
|
46910
|
-
'ɵ0': ɵ0$
|
46911
|
-
'ɵ1': ɵ1$
|
46949
|
+
'ɵ0': ɵ0$6$1,
|
46950
|
+
'ɵ1': ɵ1$5$1,
|
46912
46951
|
'ɵ2': ɵ2$1$2,
|
46913
46952
|
'ɵ3': ɵ3$1$2
|
46914
46953
|
});
|
46915
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
|
+
|
46916
46987
|
const tagName$m = 'nav';
|
46917
46988
|
register('wm-pagination', () => {
|
46918
46989
|
return {
|
@@ -47028,9 +47099,31 @@ var rightPanel_build$1 = /*#__PURE__*/Object.freeze({
|
|
47028
47099
|
});
|
47029
47100
|
|
47030
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 = {};
|
47031
47112
|
register('wm-page-content', () => {
|
47032
47113
|
return {
|
47033
|
-
|
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)}>`,
|
47034
47127
|
post: () => `</${tagName$f}>`
|
47035
47128
|
};
|
47036
47129
|
});
|
@@ -47038,7 +47131,9 @@ var pageContent_build = () => { };
|
|
47038
47131
|
|
47039
47132
|
var pageContent_build$1 = /*#__PURE__*/Object.freeze({
|
47040
47133
|
__proto__: null,
|
47041
|
-
'default': pageContent_build
|
47134
|
+
'default': pageContent_build,
|
47135
|
+
'ɵ0': ɵ0$5$1,
|
47136
|
+
'ɵ1': ɵ1$4$1
|
47042
47137
|
});
|
47043
47138
|
|
47044
47139
|
const tagName$e = 'div';
|
@@ -47135,10 +47230,10 @@ var prefab_build$1 = /*#__PURE__*/Object.freeze({
|
|
47135
47230
|
});
|
47136
47231
|
|
47137
47232
|
const noSpan = {};
|
47138
|
-
const createElement$
|
47233
|
+
const createElement$4 = name => {
|
47139
47234
|
return new Element$1$1(name, [], [], noSpan, noSpan, noSpan);
|
47140
47235
|
};
|
47141
|
-
const ɵ0$3$2 = createElement$
|
47236
|
+
const ɵ0$3$2 = createElement$4;
|
47142
47237
|
const addAtrribute = (node, name, value) => {
|
47143
47238
|
const attr = new Attribute(name, value, noSpan, noSpan, noSpan, undefined, undefined);
|
47144
47239
|
node.attrs.push(attr);
|
@@ -47148,7 +47243,7 @@ const tagName$9 = 'div';
|
|
47148
47243
|
register('wm-prefab-container', () => {
|
47149
47244
|
return {
|
47150
47245
|
template: (node) => {
|
47151
|
-
const conditionalNode = createElement$
|
47246
|
+
const conditionalNode = createElement$4('ng-container');
|
47152
47247
|
addAtrribute(conditionalNode, '*ngIf', 'compileContent');
|
47153
47248
|
conditionalNode.children = conditionalNode.children.concat(node.children);
|
47154
47249
|
node.children.length = 0;
|
@@ -47555,7 +47650,7 @@ const getRowActionTmpl = (attrs) => {
|
|
47555
47650
|
${saveCancelTmpl}
|
47556
47651
|
</ng-template>`;
|
47557
47652
|
};
|
47558
|
-
const ɵ1$
|
47653
|
+
const ɵ1$9 = getRowActionTmpl;
|
47559
47654
|
register('wm-table-row-action', () => {
|
47560
47655
|
return {
|
47561
47656
|
pre: attrs => `<${tagName$4} wmTableRowAction ${getAttrMarkup(attrs)}>
|
@@ -47569,7 +47664,7 @@ var tableRowAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
47569
47664
|
__proto__: null,
|
47570
47665
|
'default': tableRowAction_build,
|
47571
47666
|
'ɵ0': ɵ0$i,
|
47572
|
-
'ɵ1': ɵ1$
|
47667
|
+
'ɵ1': ɵ1$9
|
47573
47668
|
});
|
47574
47669
|
|
47575
47670
|
const tagName$3 = 'div';
|
@@ -47758,6 +47853,7 @@ exports.iframeBuild = iframe_build$1;
|
|
47758
47853
|
exports.iframeDlgBuild = iframeDialog_build$1;
|
47759
47854
|
exports.initComponentsBuildTask = initComponentsBuildTask;
|
47760
47855
|
exports.labelBuild = label_build$1;
|
47856
|
+
exports.layoutBuild = layout_build$1;
|
47761
47857
|
exports.leftPanelBuild = leftPanel_build$1;
|
47762
47858
|
exports.lgBuild = layoutGrid_build$1;
|
47763
47859
|
exports.lgcolBuild = layoutGridColumn_build$1;
|
@@ -47795,6 +47891,7 @@ exports.radiosetBuild = radioset_build$1;
|
|
47795
47891
|
exports.ratingBuild = rating_build$1;
|
47796
47892
|
exports.repeatTemplateBuild = repeatTemplate_build$1;
|
47797
47893
|
exports.rightPanelBuild = rightPanel_build$1;
|
47894
|
+
exports.routerOutletBuild = routerOutlet_build$1;
|
47798
47895
|
exports.rteBuild = richTextEditor_build$1;
|
47799
47896
|
exports.searchBuild = search_build$1;
|
47800
47897
|
exports.segContentBuild = segmentContent_build$1;
|