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