@wavemaker/angular-codegen 12.0.0-next.141134 → 12.0.0-next.141138
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 +9248 -7049
- angular-codegen/angular-app/package.json +10 -13
- angular-codegen/angular-app/src/assets/styles/css/wm-style.css +1 -1
- angular-codegen/angular-app/src/framework/util/page-util.ts +1 -3
- angular-codegen/angular-app/tsconfig.json +0 -3
- angular-codegen/dependencies/expression-parser.cjs.js +1 -40
- angular-codegen/dependencies/pipe-provider.cjs.js +12 -280
- angular-codegen/dependencies/transpilation-mobile.cjs.js +413 -610
- angular-codegen/dependencies/transpilation-web.cjs.js +413 -610
- angular-codegen/package.json +1 -1
- angular-codegen/src/codegen.js +1 -1
- angular-codegen/src/gen-components.js +1 -1
- angular-codegen/src/gen-index-html.js +1 -1
- angular-codegen/src/handlebar-helpers.js +1 -1
- angular-codegen/src/pages-util.js +1 -1
- angular-codegen/src/update-angular-json.js +1 -1
- angular-codegen/templates/app.module.ts.hbs +1 -5
- angular-codegen/templates/page/page.module.ts.hbs +0 -11
- angular-codegen/angular-app/src/framework/services/customwidget-config-provider.service.ts +0 -13
- angular-codegen/dependencies/custom-widgets-bundle.cjs.js +0 -411
- angular-codegen/src/gen-customwidget-config.js +0 -1
- angular-codegen/templates/component.config.ts.hbs +0 -1
- angular-codegen/templates/customwidget/customwidget-config.ts.hbs +0 -6
- angular-codegen/templates/customwidget/customwidget.component.script.js.hbs +0 -3
- angular-codegen/templates/customwidget/customwidget.component.ts.hbs +0 -43
|
@@ -4975,45 +4975,6 @@ class AbstractJsEmitterVisitor extends AbstractEmitterVisitor {
|
|
|
4975
4975
|
this.visitAllObjects(param => ctx.print(null, param.name), params, ctx, ',');
|
|
4976
4976
|
}
|
|
4977
4977
|
}
|
|
4978
|
-
|
|
4979
|
-
/**
|
|
4980
|
-
* @fileoverview
|
|
4981
|
-
* A module to facilitate use of a Trusted Types policy within the JIT
|
|
4982
|
-
* compiler. It lazily constructs the Trusted Types policy, providing helper
|
|
4983
|
-
* utilities for promoting strings to Trusted Types. When Trusted Types are not
|
|
4984
|
-
* available, strings are used as a fallback.
|
|
4985
|
-
* @security All use of this module is security-sensitive and should go through
|
|
4986
|
-
* security review.
|
|
4987
|
-
*/
|
|
4988
|
-
/**
|
|
4989
|
-
* The Trusted Types policy, or null if Trusted Types are not
|
|
4990
|
-
* enabled/supported, or undefined if the policy has not been created yet.
|
|
4991
|
-
*/
|
|
4992
|
-
let policy$2;
|
|
4993
|
-
/**
|
|
4994
|
-
* Returns the Trusted Types policy, or null if Trusted Types are not
|
|
4995
|
-
* enabled/supported. The first call to this function will create the policy.
|
|
4996
|
-
*/
|
|
4997
|
-
function getPolicy$2() {
|
|
4998
|
-
if (policy$2 === undefined) {
|
|
4999
|
-
const trustedTypes = _global$1['trustedTypes'];
|
|
5000
|
-
policy$2 = null;
|
|
5001
|
-
if (trustedTypes) {
|
|
5002
|
-
try {
|
|
5003
|
-
policy$2 = trustedTypes.createPolicy('angular#unsafe-jit', {
|
|
5004
|
-
createScript: (s) => s,
|
|
5005
|
-
});
|
|
5006
|
-
}
|
|
5007
|
-
catch {
|
|
5008
|
-
// trustedTypes.createPolicy throws if called with a name that is
|
|
5009
|
-
// already registered, even in report-only mode. Until the API changes,
|
|
5010
|
-
// catch the error not to break the applications functionally. In such
|
|
5011
|
-
// cases, the code will fall back to using strings.
|
|
5012
|
-
}
|
|
5013
|
-
}
|
|
5014
|
-
}
|
|
5015
|
-
return policy$2;
|
|
5016
|
-
}
|
|
5017
4978
|
/**
|
|
5018
4979
|
* Unsafely promote a string to a TrustedScript, falling back to strings when
|
|
5019
4980
|
* Trusted Types are not available.
|
|
@@ -5022,7 +4983,7 @@ function getPolicy$2() {
|
|
|
5022
4983
|
* interpreted and executed as a script by a browser, e.g. when calling eval.
|
|
5023
4984
|
*/
|
|
5024
4985
|
function trustedScriptFromString(script) {
|
|
5025
|
-
return
|
|
4986
|
+
return script;
|
|
5026
4987
|
}
|
|
5027
4988
|
/**
|
|
5028
4989
|
* Unsafely call the Function constructor with the given string arguments.
|
|
@@ -49235,46 +49196,6 @@ const PRESERVE_HOST_CONTENT = new InjectionToken((typeof ngDevMode === 'undefine
|
|
|
49235
49196
|
* is enabled.
|
|
49236
49197
|
*/
|
|
49237
49198
|
const IS_I18N_HYDRATION_ENABLED = new InjectionToken((typeof ngDevMode === 'undefined' || !!ngDevMode ? 'IS_I18N_HYDRATION_ENABLED' : ''));
|
|
49238
|
-
|
|
49239
|
-
/**
|
|
49240
|
-
* @fileoverview
|
|
49241
|
-
* A module to facilitate use of a Trusted Types policy internally within
|
|
49242
|
-
* Angular. It lazily constructs the Trusted Types policy, providing helper
|
|
49243
|
-
* utilities for promoting strings to Trusted Types. When Trusted Types are not
|
|
49244
|
-
* available, strings are used as a fallback.
|
|
49245
|
-
* @security All use of this module is security-sensitive and should go through
|
|
49246
|
-
* security review.
|
|
49247
|
-
*/
|
|
49248
|
-
/**
|
|
49249
|
-
* The Trusted Types policy, or null if Trusted Types are not
|
|
49250
|
-
* enabled/supported, or undefined if the policy has not been created yet.
|
|
49251
|
-
*/
|
|
49252
|
-
let policy$1;
|
|
49253
|
-
/**
|
|
49254
|
-
* Returns the Trusted Types policy, or null if Trusted Types are not
|
|
49255
|
-
* enabled/supported. The first call to this function will create the policy.
|
|
49256
|
-
*/
|
|
49257
|
-
function getPolicy$1() {
|
|
49258
|
-
if (policy$1 === undefined) {
|
|
49259
|
-
policy$1 = null;
|
|
49260
|
-
if (_global.trustedTypes) {
|
|
49261
|
-
try {
|
|
49262
|
-
policy$1 = _global.trustedTypes.createPolicy('angular', {
|
|
49263
|
-
createHTML: (s) => s,
|
|
49264
|
-
createScript: (s) => s,
|
|
49265
|
-
createScriptURL: (s) => s,
|
|
49266
|
-
});
|
|
49267
|
-
}
|
|
49268
|
-
catch {
|
|
49269
|
-
// trustedTypes.createPolicy throws if called with a name that is
|
|
49270
|
-
// already registered, even in report-only mode. Until the API changes,
|
|
49271
|
-
// catch the error not to break the applications functionally. In such
|
|
49272
|
-
// cases, the code will fall back to using strings.
|
|
49273
|
-
}
|
|
49274
|
-
}
|
|
49275
|
-
}
|
|
49276
|
-
return policy$1;
|
|
49277
|
-
}
|
|
49278
49199
|
/**
|
|
49279
49200
|
* Unsafely promote a string to a TrustedHTML, falling back to strings when
|
|
49280
49201
|
* Trusted Types are not available.
|
|
@@ -49285,7 +49206,7 @@ function getPolicy$1() {
|
|
|
49285
49206
|
* element.innerHTML.
|
|
49286
49207
|
*/
|
|
49287
49208
|
function trustedHTMLFromString(html) {
|
|
49288
|
-
return
|
|
49209
|
+
return html;
|
|
49289
49210
|
}
|
|
49290
49211
|
/**
|
|
49291
49212
|
* Unsafely promote a string to a TrustedScriptURL, falling back to strings
|
|
@@ -49297,49 +49218,7 @@ function trustedHTMLFromString(html) {
|
|
|
49297
49218
|
* assigning to script.src.
|
|
49298
49219
|
*/
|
|
49299
49220
|
function trustedScriptURLFromString(url) {
|
|
49300
|
-
return
|
|
49301
|
-
}
|
|
49302
|
-
|
|
49303
|
-
/**
|
|
49304
|
-
* @fileoverview
|
|
49305
|
-
* A module to facilitate use of a Trusted Types policy internally within
|
|
49306
|
-
* Angular specifically for bypassSecurityTrust* and custom sanitizers. It
|
|
49307
|
-
* lazily constructs the Trusted Types policy, providing helper utilities for
|
|
49308
|
-
* promoting strings to Trusted Types. When Trusted Types are not available,
|
|
49309
|
-
* strings are used as a fallback.
|
|
49310
|
-
* @security All use of this module is security-sensitive and should go through
|
|
49311
|
-
* security review.
|
|
49312
|
-
*/
|
|
49313
|
-
/**
|
|
49314
|
-
* The Trusted Types policy, or null if Trusted Types are not
|
|
49315
|
-
* enabled/supported, or undefined if the policy has not been created yet.
|
|
49316
|
-
*/
|
|
49317
|
-
let policy;
|
|
49318
|
-
/**
|
|
49319
|
-
* Returns the Trusted Types policy, or null if Trusted Types are not
|
|
49320
|
-
* enabled/supported. The first call to this function will create the policy.
|
|
49321
|
-
*/
|
|
49322
|
-
function getPolicy() {
|
|
49323
|
-
if (policy === undefined) {
|
|
49324
|
-
policy = null;
|
|
49325
|
-
if (_global.trustedTypes) {
|
|
49326
|
-
try {
|
|
49327
|
-
policy = _global.trustedTypes
|
|
49328
|
-
.createPolicy('angular#unsafe-bypass', {
|
|
49329
|
-
createHTML: (s) => s,
|
|
49330
|
-
createScript: (s) => s,
|
|
49331
|
-
createScriptURL: (s) => s,
|
|
49332
|
-
});
|
|
49333
|
-
}
|
|
49334
|
-
catch {
|
|
49335
|
-
// trustedTypes.createPolicy throws if called with a name that is
|
|
49336
|
-
// already registered, even in report-only mode. Until the API changes,
|
|
49337
|
-
// catch the error not to break the applications functionally. In such
|
|
49338
|
-
// cases, the code will fall back to using strings.
|
|
49339
|
-
}
|
|
49340
|
-
}
|
|
49341
|
-
}
|
|
49342
|
-
return policy;
|
|
49221
|
+
return url;
|
|
49343
49222
|
}
|
|
49344
49223
|
/**
|
|
49345
49224
|
* Unsafely promote a string to a TrustedHTML, falling back to strings when
|
|
@@ -49350,7 +49229,7 @@ function getPolicy() {
|
|
|
49350
49229
|
* bypassSecurityTrust* functions.
|
|
49351
49230
|
*/
|
|
49352
49231
|
function trustedHTMLFromStringBypass(html) {
|
|
49353
|
-
return
|
|
49232
|
+
return html;
|
|
49354
49233
|
}
|
|
49355
49234
|
/**
|
|
49356
49235
|
* Unsafely promote a string to a TrustedScript, falling back to strings when
|
|
@@ -49361,7 +49240,7 @@ function trustedHTMLFromStringBypass(html) {
|
|
|
49361
49240
|
* bypassSecurityTrust* functions.
|
|
49362
49241
|
*/
|
|
49363
49242
|
function trustedScriptFromStringBypass(script) {
|
|
49364
|
-
return
|
|
49243
|
+
return script;
|
|
49365
49244
|
}
|
|
49366
49245
|
/**
|
|
49367
49246
|
* Unsafely promote a string to a TrustedScriptURL, falling back to strings
|
|
@@ -49372,7 +49251,7 @@ function trustedScriptFromStringBypass(script) {
|
|
|
49372
49251
|
* bypassSecurityTrust* functions.
|
|
49373
49252
|
*/
|
|
49374
49253
|
function trustedScriptURLFromStringBypass(url) {
|
|
49375
|
-
return
|
|
49254
|
+
return url;
|
|
49376
49255
|
}
|
|
49377
49256
|
|
|
49378
49257
|
class SafeValueImpl {
|
|
@@ -86132,7 +86011,6 @@ var FormWidgetType;
|
|
|
86132
86011
|
FormWidgetType["CHIPS"] = "chips";
|
|
86133
86012
|
FormWidgetType["COLORPICKER"] = "colorpicker";
|
|
86134
86013
|
FormWidgetType["CURRENCY"] = "currency";
|
|
86135
|
-
FormWidgetType["CUSTOMWIDGET"] = "custom-widget";
|
|
86136
86014
|
FormWidgetType["DATE"] = "date";
|
|
86137
86015
|
FormWidgetType["DATETIME"] = "datetime";
|
|
86138
86016
|
FormWidgetType["NUMBER"] = "number";
|
|
@@ -86234,9 +86112,6 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
|
|
|
86234
86112
|
case FormWidgetType.CURRENCY:
|
|
86235
86113
|
tmpl = `<div wmCurrency ${attrs.get('required') === 'true' ? 'required=true' : ''} ${updateOnTmpl} ${innerTmpl} ${showTmpl}></div>`;
|
|
86236
86114
|
break;
|
|
86237
|
-
case FormWidgetType.CUSTOMWIDGET:
|
|
86238
|
-
tmpl = `<div wmWidgetContainer customWidgetContainer ${attrs.get('required') === 'true' ? 'required=true' : ''} ${updateOnTmpl} ${innerTmpl} ${showTmpl}></div>`;
|
|
86239
|
-
break;
|
|
86240
86115
|
case FormWidgetType.DATE:
|
|
86241
86116
|
tmpl = `<div wmDate ${attrs.get('required') === 'true' ? 'required=true' : ''} dataentrymode="${attrs.get('dataentrymode')}" ${innerTmpl} ${showTmpl}></div>`;
|
|
86242
86117
|
break;
|
|
@@ -86320,8 +86195,6 @@ const getRequiredFormWidget = (widgetType) => {
|
|
|
86320
86195
|
return 'wm-colorpicker';
|
|
86321
86196
|
case FormWidgetType.CURRENCY:
|
|
86322
86197
|
return 'wm-currency';
|
|
86323
|
-
case FormWidgetType.CUSTOMWIDGET:
|
|
86324
|
-
return 'wm-custom-widget';
|
|
86325
86198
|
case FormWidgetType.DATE:
|
|
86326
86199
|
return 'wm-date';
|
|
86327
86200
|
case FormWidgetType.DATETIME:
|
|
@@ -87072,7 +86945,6 @@ var ComponentType;
|
|
|
87072
86945
|
ComponentType[ComponentType["PAGE"] = 0] = "PAGE";
|
|
87073
86946
|
ComponentType[ComponentType["PREFAB"] = 1] = "PREFAB";
|
|
87074
86947
|
ComponentType[ComponentType["PARTIAL"] = 2] = "PARTIAL";
|
|
87075
|
-
ComponentType[ComponentType["WIDGET"] = 3] = "WIDGET";
|
|
87076
86948
|
})(ComponentType || (ComponentType = {}));
|
|
87077
86949
|
var Operation;
|
|
87078
86950
|
(function (Operation) {
|
|
@@ -87159,14 +87031,6 @@ const REGEX = {
|
|
|
87159
87031
|
const NUMBER_TYPES = ['int', DataType.INTEGER, DataType.FLOAT, DataType.DOUBLE, DataType.LONG, DataType.SHORT, DataType.BYTE, DataType.BIG_INTEGER, DataType.BIG_DECIMAL];
|
|
87160
87032
|
const now = new Date();
|
|
87161
87033
|
const CURRENT_DATE = 'CURRENT_DATE';
|
|
87162
|
-
const getNavClass = (suffix) => {
|
|
87163
|
-
const APP_NAV_CLASS_PREFIX = 'app-nav-';
|
|
87164
|
-
return APP_NAV_CLASS_PREFIX + suffix;
|
|
87165
|
-
};
|
|
87166
|
-
const getSheetPositionClass = (suffix) => {
|
|
87167
|
-
const SHEET_POSITION_CLASS_PREFIX = 'sheet-position-';
|
|
87168
|
-
return SHEET_POSITION_CLASS_PREFIX + suffix;
|
|
87169
|
-
};
|
|
87170
87034
|
const isDefined = v => 'undefined' !== typeof v;
|
|
87171
87035
|
const isObject = v => null !== v && 'object' === typeof v;
|
|
87172
87036
|
const toBoolean = (val, identity) => ((val && val !== 'false') ? true : (identity ? val === identity : false));
|
|
@@ -87798,7 +87662,6 @@ const isEqualWithFields = (obj1, obj2, compareBy) => {
|
|
|
87798
87662
|
// compareBy can be 'id' or 'id1, id2' or 'id1, id2:id3'
|
|
87799
87663
|
// Split the compareby comma separated values
|
|
87800
87664
|
let _compareBy = isArray$1(compareBy) ? compareBy : split(compareBy, ',');
|
|
87801
|
-
//@ts-ignore
|
|
87802
87665
|
_compareBy = map$1(_compareBy, trim);
|
|
87803
87666
|
return isEqualWith(obj1, obj2, function (o1, o2) {
|
|
87804
87667
|
return every(_compareBy, function (cb) {
|
|
@@ -88616,11 +88479,9 @@ var Utils = /*#__PURE__*/Object.freeze({
|
|
|
88616
88479
|
getFormattedDate: getFormattedDate,
|
|
88617
88480
|
getMomentLocaleObject: getMomentLocaleObject,
|
|
88618
88481
|
getNativeDateObject: getNativeDateObject,
|
|
88619
|
-
getNavClass: getNavClass,
|
|
88620
88482
|
getResourceURL: getResourceURL,
|
|
88621
88483
|
getRouteNameFromLink: getRouteNameFromLink,
|
|
88622
88484
|
getSessionStorageItem: getSessionStorageItem,
|
|
88623
|
-
getSheetPositionClass: getSheetPositionClass,
|
|
88624
88485
|
getUrlParams: getUrlParams,
|
|
88625
88486
|
getValidDateObject: getValidDateObject,
|
|
88626
88487
|
getValidJSON: getValidJSON,
|
|
@@ -89891,7 +89752,6 @@ const LEFT_PANEL_MODULE = [{ from: '@wm/components/page/left-panel', name: 'Left
|
|
|
89891
89752
|
{ from: '@wm/mobile/components/page/left-panel', name: 'LeftPanelModule', as: 'WM_MobileLeftPanelModule', platformType: 'MOBILE' }];
|
|
89892
89753
|
const LIST_MODULE = [...PAGINATION_MODULE, ...INPUT_MODULE, { from: '@wm/components/data/list', name: 'ListModule' }];
|
|
89893
89754
|
const LOGIN_MODULE = [{ from: '@wm/components/advanced/login', name: 'LoginModule' }];
|
|
89894
|
-
const CUSTOM_MODULE = [{ from: '@wm/components/advanced/custom', name: 'CustomModule' }];
|
|
89895
89755
|
const MOBILE_NAV_BAR_MODULE = [...LEFT_PANEL_MODULE, ...SEARCH_MODULE, ...PAGE_MODULE, { from: '@wm/mobile/components/page/mobile-navbar', name: 'MobileNavbarModule' }];
|
|
89896
89756
|
const MEDIA_LIST_MODULE = [...BASIC_MODULE, ...PAGE_MODULE, ...MOBILE_NAV_BAR_MODULE, { from: '@wm/mobile/components/data/media-list', name: 'MediaListModule' }];
|
|
89897
89757
|
const MOBILE_TAB_BAR_MODULE = [{ from: '@wm/mobile/components/page/tab-bar', name: 'TabBarModule' }];
|
|
@@ -89964,7 +89824,6 @@ const WIDGET_IMPORTS = new Map([
|
|
|
89964
89824
|
['wm-list', LIST_MODULE],
|
|
89965
89825
|
['wm-livetable', LIVE_TABLE_MODULE],
|
|
89966
89826
|
['wm-login', LOGIN_MODULE],
|
|
89967
|
-
['wm-custom', CUSTOM_MODULE],
|
|
89968
89827
|
['wm-logindialog', LOGIN_DIALOG_MODULE],
|
|
89969
89828
|
['wm-marquee', MARQUEE_MODULE],
|
|
89970
89829
|
['wm-menu', MENU_MODULE],
|
|
@@ -90478,9 +90337,6 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
|
|
|
90478
90337
|
else if (componentType === 2 || componentType === 'PARTIAL') {
|
|
90479
90338
|
s = `${prefix} app-partial-${componentName} ${s}`;
|
|
90480
90339
|
}
|
|
90481
|
-
else if (componentType === 3 || componentType === 'WIDGET') {
|
|
90482
|
-
s = `${prefix} app-custom-${componentName} ${s}`;
|
|
90483
|
-
}
|
|
90484
90340
|
return s;
|
|
90485
90341
|
}).join(',');
|
|
90486
90342
|
}
|
|
@@ -90496,13 +90352,13 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
|
|
|
90496
90352
|
|
|
90497
90353
|
const carouselTagName = 'carousel';
|
|
90498
90354
|
const dataSetKey$5 = 'dataset';
|
|
90499
|
-
const idGen$
|
|
90355
|
+
const idGen$t = new IDGenerator('wm_carousel_ref_');
|
|
90500
90356
|
const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
|
90501
90357
|
register('wm-carousel', () => {
|
|
90502
90358
|
return {
|
|
90503
90359
|
pre: (attrs, shared) => {
|
|
90504
90360
|
// generating unique Id for the carousel
|
|
90505
|
-
const counter = idGen$
|
|
90361
|
+
const counter = idGen$t.nextUid();
|
|
90506
90362
|
shared.set('carousel_ref', counter);
|
|
90507
90363
|
return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
|
|
90508
90364
|
},
|
|
@@ -90570,11 +90426,11 @@ var carouselTemplate_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90570
90426
|
default: carouselTemplate_build
|
|
90571
90427
|
});
|
|
90572
90428
|
|
|
90573
|
-
const tagName$
|
|
90429
|
+
const tagName$1C = 'div';
|
|
90574
90430
|
register('wm-login', () => {
|
|
90575
90431
|
return {
|
|
90576
|
-
pre: attrs => `<${tagName$
|
|
90577
|
-
post: () => `</${tagName$
|
|
90432
|
+
pre: attrs => `<${tagName$1C} wmLogin ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction">`,
|
|
90433
|
+
post: () => `</${tagName$1C}>`,
|
|
90578
90434
|
provide: () => {
|
|
90579
90435
|
const provider = new Map();
|
|
90580
90436
|
provider.set('isLogin', true);
|
|
@@ -90589,11 +90445,11 @@ var login_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90589
90445
|
default: login_build
|
|
90590
90446
|
});
|
|
90591
90447
|
|
|
90592
|
-
const tagName$
|
|
90448
|
+
const tagName$1B = 'marquee';
|
|
90593
90449
|
register('wm-marquee', () => {
|
|
90594
90450
|
return {
|
|
90595
|
-
pre: attrs => `<${tagName$
|
|
90596
|
-
post: () => `</${tagName$
|
|
90451
|
+
pre: attrs => `<${tagName$1B} onmouseover="this.stop();" onmouseout="this.start();" wmMarquee role="marquee" aria-live="off" ${getAttrMarkup(attrs)}>`,
|
|
90452
|
+
post: () => `</${tagName$1B}>`
|
|
90597
90453
|
};
|
|
90598
90454
|
});
|
|
90599
90455
|
var marquee_build = () => { };
|
|
@@ -90603,15 +90459,15 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90603
90459
|
default: marquee_build
|
|
90604
90460
|
});
|
|
90605
90461
|
|
|
90606
|
-
const tagName$
|
|
90607
|
-
const idGen$
|
|
90462
|
+
const tagName$1A = 'a';
|
|
90463
|
+
const idGen$s = new IDGenerator('wm_anchor');
|
|
90608
90464
|
register('wm-anchor', () => {
|
|
90609
90465
|
return {
|
|
90610
90466
|
pre: (attrs) => {
|
|
90611
|
-
const counter = idGen$
|
|
90612
|
-
return `<${tagName$
|
|
90467
|
+
const counter = idGen$s.nextUid();
|
|
90468
|
+
return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${getAttrMarkup(attrs)}>`;
|
|
90613
90469
|
},
|
|
90614
|
-
post: () => `</${tagName$
|
|
90470
|
+
post: () => `</${tagName$1A}>`
|
|
90615
90471
|
};
|
|
90616
90472
|
});
|
|
90617
90473
|
var anchor_build = () => { };
|
|
@@ -90621,11 +90477,11 @@ var anchor_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90621
90477
|
default: anchor_build
|
|
90622
90478
|
});
|
|
90623
90479
|
|
|
90624
|
-
const tagName$
|
|
90480
|
+
const tagName$1z = 'div';
|
|
90625
90481
|
register('wm-audio', () => {
|
|
90626
90482
|
return {
|
|
90627
|
-
pre: attrs => `<${tagName$
|
|
90628
|
-
post: () => `</${tagName$
|
|
90483
|
+
pre: attrs => `<${tagName$1z} wmAudio ${getAttrMarkup(attrs)}>`,
|
|
90484
|
+
post: () => `</${tagName$1z}>`
|
|
90629
90485
|
};
|
|
90630
90486
|
});
|
|
90631
90487
|
var audio_build = () => { };
|
|
@@ -90635,15 +90491,15 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90635
90491
|
default: audio_build
|
|
90636
90492
|
});
|
|
90637
90493
|
|
|
90638
|
-
const tagName$
|
|
90639
|
-
const idGen$
|
|
90494
|
+
const tagName$1y = 'div';
|
|
90495
|
+
const idGen$r = new IDGenerator('wm_html');
|
|
90640
90496
|
register('wm-html', () => {
|
|
90641
90497
|
return {
|
|
90642
90498
|
pre: (attrs) => {
|
|
90643
|
-
const counter = idGen$
|
|
90644
|
-
return `<${tagName$
|
|
90499
|
+
const counter = idGen$r.nextUid();
|
|
90500
|
+
return `<${tagName$1y} wmHtml #${counter}="wmHtml" role="application" [attr.aria-label]="${counter}.arialabel || 'HTML content'" ${getAttrMarkup(attrs)}>`;
|
|
90645
90501
|
},
|
|
90646
|
-
post: () => `</${tagName$
|
|
90502
|
+
post: () => `</${tagName$1y}>`
|
|
90647
90503
|
};
|
|
90648
90504
|
});
|
|
90649
90505
|
var html_build = () => { };
|
|
@@ -90653,11 +90509,11 @@ var html_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90653
90509
|
default: html_build
|
|
90654
90510
|
});
|
|
90655
90511
|
|
|
90656
|
-
const tagName$
|
|
90512
|
+
const tagName$1x = 'span';
|
|
90657
90513
|
register('wm-icon', () => {
|
|
90658
90514
|
return {
|
|
90659
|
-
pre: attrs => `<${tagName$
|
|
90660
|
-
post: () => `</${tagName$
|
|
90515
|
+
pre: attrs => `<${tagName$1x} wmIcon ${getAttrMarkup(attrs)}>`,
|
|
90516
|
+
post: () => `</${tagName$1x}>`
|
|
90661
90517
|
};
|
|
90662
90518
|
});
|
|
90663
90519
|
var icon_build = () => { };
|
|
@@ -90667,11 +90523,11 @@ var icon_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90667
90523
|
default: icon_build
|
|
90668
90524
|
});
|
|
90669
90525
|
|
|
90670
|
-
const tagName$
|
|
90526
|
+
const tagName$1w = 'div';
|
|
90671
90527
|
register('wm-iframe', () => {
|
|
90672
90528
|
return {
|
|
90673
|
-
pre: attrs => `<${tagName$
|
|
90674
|
-
post: () => `</${tagName$
|
|
90529
|
+
pre: attrs => `<${tagName$1w} wmIframe ${getAttrMarkup(attrs)}>`,
|
|
90530
|
+
post: () => `</${tagName$1w}>`
|
|
90675
90531
|
};
|
|
90676
90532
|
});
|
|
90677
90533
|
var iframe_build = () => { };
|
|
@@ -90681,8 +90537,8 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90681
90537
|
default: iframe_build
|
|
90682
90538
|
});
|
|
90683
90539
|
|
|
90684
|
-
let tagName$
|
|
90685
|
-
const idGen$
|
|
90540
|
+
let tagName$1v = 'p';
|
|
90541
|
+
const idGen$q = new IDGenerator('wm_label');
|
|
90686
90542
|
register('wm-label', () => {
|
|
90687
90543
|
return {
|
|
90688
90544
|
pre: (attrs) => {
|
|
@@ -90691,15 +90547,15 @@ register('wm-label', () => {
|
|
|
90691
90547
|
const classList = attrs.get('class') ? attrs.get('class').split(' ').filter(element => ["h1", "h2", "h3", "h4", "h5", "h6", "p"].includes(element)) : [];
|
|
90692
90548
|
attrs.set('type', classList.length ? classList[0] : "p");
|
|
90693
90549
|
}
|
|
90694
|
-
tagName$
|
|
90550
|
+
tagName$1v = attrs.get('type');
|
|
90695
90551
|
}
|
|
90696
90552
|
else {
|
|
90697
|
-
tagName$
|
|
90553
|
+
tagName$1v = 'label';
|
|
90698
90554
|
}
|
|
90699
|
-
const counter = idGen$
|
|
90700
|
-
return `<${tagName$
|
|
90555
|
+
const counter = idGen$q.nextUid();
|
|
90556
|
+
return `<${tagName$1v} wmLabel #${counter}="wmLabel" ${getAttrMarkup(attrs)}>`;
|
|
90701
90557
|
},
|
|
90702
|
-
post: () => `</${tagName$
|
|
90558
|
+
post: () => `</${tagName$1v}>`
|
|
90703
90559
|
};
|
|
90704
90560
|
});
|
|
90705
90561
|
var label_build = () => { };
|
|
@@ -90709,13 +90565,13 @@ var label_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90709
90565
|
default: label_build
|
|
90710
90566
|
});
|
|
90711
90567
|
|
|
90712
|
-
const tagName$
|
|
90713
|
-
const idGen$
|
|
90568
|
+
const tagName$1u = 'img';
|
|
90569
|
+
const idGen$p = new IDGenerator('wm_picture');
|
|
90714
90570
|
register('wm-picture', () => {
|
|
90715
90571
|
return {
|
|
90716
90572
|
pre: (attrs) => {
|
|
90717
|
-
const counter = idGen$
|
|
90718
|
-
return `<${tagName$
|
|
90573
|
+
const counter = idGen$p.nextUid();
|
|
90574
|
+
return `<${tagName$1u} wmPicture #${counter}="wmPicture" [alt]="${counter}.alttext" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.arialabel || 'Image'" ${getAttrMarkup(attrs)}>`;
|
|
90719
90575
|
}
|
|
90720
90576
|
};
|
|
90721
90577
|
});
|
|
@@ -90726,15 +90582,15 @@ var picture_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90726
90582
|
default: picture_build
|
|
90727
90583
|
});
|
|
90728
90584
|
|
|
90729
|
-
const tagName$
|
|
90730
|
-
const idGen$
|
|
90585
|
+
const tagName$1t = 'div';
|
|
90586
|
+
const idGen$o = new IDGenerator('wm_spinner');
|
|
90731
90587
|
register('wm-spinner', () => {
|
|
90732
90588
|
return {
|
|
90733
90589
|
pre: (attrs) => {
|
|
90734
|
-
const counter = idGen$
|
|
90735
|
-
return `<${tagName$
|
|
90590
|
+
const counter = idGen$o.nextUid();
|
|
90591
|
+
return `<${tagName$1t} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.arialabel || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
|
|
90736
90592
|
},
|
|
90737
|
-
post: () => `</${tagName$
|
|
90593
|
+
post: () => `</${tagName$1t}>`
|
|
90738
90594
|
};
|
|
90739
90595
|
});
|
|
90740
90596
|
var spinner_build = () => { };
|
|
@@ -90744,7 +90600,7 @@ var spinner_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90744
90600
|
default: spinner_build
|
|
90745
90601
|
});
|
|
90746
90602
|
|
|
90747
|
-
const tagName$
|
|
90603
|
+
const tagName$1s = 'div';
|
|
90748
90604
|
const getAttr = (node, attrName) => node.attrs.find(attr => attr.name === attrName);
|
|
90749
90605
|
const getAttrValue = (node, attrName) => {
|
|
90750
90606
|
const match = getAttr(node, attrName);
|
|
@@ -90772,8 +90628,8 @@ register('wm-progress-bar', () => {
|
|
|
90772
90628
|
}
|
|
90773
90629
|
}
|
|
90774
90630
|
},
|
|
90775
|
-
pre: attrs => `<${tagName$
|
|
90776
|
-
post: () => `</${tagName$
|
|
90631
|
+
pre: attrs => `<${tagName$1s} wmProgressBar ${getAttrMarkup(attrs)}>`,
|
|
90632
|
+
post: () => `</${tagName$1s}>`
|
|
90777
90633
|
};
|
|
90778
90634
|
});
|
|
90779
90635
|
var progressBar_build = () => { };
|
|
@@ -90783,15 +90639,15 @@ var progressBar_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90783
90639
|
default: progressBar_build
|
|
90784
90640
|
});
|
|
90785
90641
|
|
|
90786
|
-
const tagName$
|
|
90787
|
-
const idGen$
|
|
90642
|
+
const tagName$1r = 'div';
|
|
90643
|
+
const idGen$n = new IDGenerator('wm_progress_circle');
|
|
90788
90644
|
register('wm-progress-circle', () => {
|
|
90789
90645
|
return {
|
|
90790
90646
|
pre: (attrs) => {
|
|
90791
|
-
const counter = idGen$
|
|
90792
|
-
return `<${tagName$
|
|
90647
|
+
const counter = idGen$n.nextUid();
|
|
90648
|
+
return `<${tagName$1r} wmProgressCircle #${counter}="wmProgressCircle" role="progressbar" [attr.aria-label]="${counter}.arialabel || 'circle-progress'" [attr.hint]="${counter}.hint" [attr.aria-valuetext]="${counter}.displayValue" [attr.aria-valuemin]="${counter}.minvalue" [attr.aria-valuemax]="${counter}.maxvalue" ${getAttrMarkup(attrs)}>`;
|
|
90793
90649
|
},
|
|
90794
|
-
post: () => `</${tagName$
|
|
90650
|
+
post: () => `</${tagName$1r}>`
|
|
90795
90651
|
};
|
|
90796
90652
|
});
|
|
90797
90653
|
var progressCircle_build = () => { };
|
|
@@ -90801,15 +90657,15 @@ var progressCircle_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90801
90657
|
default: progressCircle_build
|
|
90802
90658
|
});
|
|
90803
90659
|
|
|
90804
|
-
const tagName$
|
|
90805
|
-
const idGen$
|
|
90660
|
+
const tagName$1q = 'div';
|
|
90661
|
+
const idGen$m = new IDGenerator('wm_richtexteditor');
|
|
90806
90662
|
register('wm-richtexteditor', () => {
|
|
90807
90663
|
return {
|
|
90808
90664
|
pre: (attrs) => {
|
|
90809
|
-
const counter = idGen$
|
|
90810
|
-
return `<${tagName$
|
|
90665
|
+
const counter = idGen$m.nextUid();
|
|
90666
|
+
return `<${tagName$1q} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.arialabel || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
|
|
90811
90667
|
},
|
|
90812
|
-
post: () => `</${tagName$
|
|
90668
|
+
post: () => `</${tagName$1q}>`
|
|
90813
90669
|
};
|
|
90814
90670
|
});
|
|
90815
90671
|
var richTextEditor_build = () => { };
|
|
@@ -90819,11 +90675,11 @@ var richTextEditor_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90819
90675
|
default: richTextEditor_build
|
|
90820
90676
|
});
|
|
90821
90677
|
|
|
90822
|
-
const tagName$
|
|
90678
|
+
const tagName$1p = 'div';
|
|
90823
90679
|
register('wm-search', () => {
|
|
90824
90680
|
return {
|
|
90825
|
-
pre: attrs => `<${tagName$
|
|
90826
|
-
post: () => `</${tagName$
|
|
90681
|
+
pre: attrs => `<${tagName$1p} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
90682
|
+
post: () => `</${tagName$1p}>`
|
|
90827
90683
|
};
|
|
90828
90684
|
});
|
|
90829
90685
|
var search_build = () => { };
|
|
@@ -90833,11 +90689,11 @@ var search_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90833
90689
|
default: search_build
|
|
90834
90690
|
});
|
|
90835
90691
|
|
|
90836
|
-
const tagName$
|
|
90692
|
+
const tagName$1o = 'ul';
|
|
90837
90693
|
register('wm-tree', () => {
|
|
90838
90694
|
return {
|
|
90839
|
-
pre: attrs => `<${tagName$
|
|
90840
|
-
post: () => `</${tagName$
|
|
90695
|
+
pre: attrs => `<${tagName$1o} wmTree class="ztree" ${getAttrMarkup(attrs)}>`,
|
|
90696
|
+
post: () => `</${tagName$1o}>`
|
|
90841
90697
|
};
|
|
90842
90698
|
});
|
|
90843
90699
|
|
|
@@ -90845,11 +90701,11 @@ var tree_build = /*#__PURE__*/Object.freeze({
|
|
|
90845
90701
|
__proto__: null
|
|
90846
90702
|
});
|
|
90847
90703
|
|
|
90848
|
-
const tagName$
|
|
90704
|
+
const tagName$1n = 'div';
|
|
90849
90705
|
register('wm-card', () => {
|
|
90850
90706
|
return {
|
|
90851
|
-
pre: attrs => `<${tagName$
|
|
90852
|
-
post: () => `</${tagName$
|
|
90707
|
+
pre: attrs => `<${tagName$1n} wmCard ${getAttrMarkup(attrs)}>`,
|
|
90708
|
+
post: () => `</${tagName$1n}>`
|
|
90853
90709
|
};
|
|
90854
90710
|
});
|
|
90855
90711
|
var card_build = () => { };
|
|
@@ -90859,11 +90715,11 @@ var card_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90859
90715
|
default: card_build
|
|
90860
90716
|
});
|
|
90861
90717
|
|
|
90862
|
-
const tagName$
|
|
90718
|
+
const tagName$1m = 'div';
|
|
90863
90719
|
register('wm-card-content', () => {
|
|
90864
90720
|
return {
|
|
90865
|
-
pre: attrs => `<${tagName$
|
|
90866
|
-
post: () => `</${tagName$
|
|
90721
|
+
pre: attrs => `<${tagName$1m} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,
|
|
90722
|
+
post: () => `</${tagName$1m}>`
|
|
90867
90723
|
};
|
|
90868
90724
|
});
|
|
90869
90725
|
var cardContent_build = () => { };
|
|
@@ -90873,11 +90729,11 @@ var cardContent_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90873
90729
|
default: cardContent_build
|
|
90874
90730
|
});
|
|
90875
90731
|
|
|
90876
|
-
const tagName$
|
|
90732
|
+
const tagName$1l = 'div';
|
|
90877
90733
|
register('wm-card-actions', () => {
|
|
90878
90734
|
return {
|
|
90879
|
-
pre: attrs => `<${tagName$
|
|
90880
|
-
post: () => `</${tagName$
|
|
90735
|
+
pre: attrs => `<${tagName$1l} wmCardActions ${getAttrMarkup(attrs)}>`,
|
|
90736
|
+
post: () => `</${tagName$1l}>`
|
|
90881
90737
|
};
|
|
90882
90738
|
});
|
|
90883
90739
|
var cardActions_build = () => { };
|
|
@@ -90887,11 +90743,11 @@ var cardActions_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90887
90743
|
default: cardActions_build
|
|
90888
90744
|
});
|
|
90889
90745
|
|
|
90890
|
-
const tagName$
|
|
90746
|
+
const tagName$1k = 'div';
|
|
90891
90747
|
register('wm-card-footer', () => {
|
|
90892
90748
|
return {
|
|
90893
|
-
pre: attrs => `<${tagName$
|
|
90894
|
-
post: () => `</${tagName$
|
|
90749
|
+
pre: attrs => `<${tagName$1k} wmCardFooter ${getAttrMarkup(attrs)}>`,
|
|
90750
|
+
post: () => `</${tagName$1k}>`
|
|
90895
90751
|
};
|
|
90896
90752
|
});
|
|
90897
90753
|
var cardFooter_build = () => { };
|
|
@@ -90901,11 +90757,11 @@ var cardFooter_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90901
90757
|
default: cardFooter_build
|
|
90902
90758
|
});
|
|
90903
90759
|
|
|
90904
|
-
const tagName$
|
|
90760
|
+
const tagName$1j = 'div';
|
|
90905
90761
|
register('wm-chart', () => {
|
|
90906
90762
|
return {
|
|
90907
|
-
pre: attrs => `<${tagName$
|
|
90908
|
-
post: () => `</${tagName$
|
|
90763
|
+
pre: attrs => `<${tagName$1j} wmChart redrawable aria-label="${attrs.get('type')} Chart" ${getAttrMarkup(attrs)}>`,
|
|
90764
|
+
post: () => `</${tagName$1j}>`
|
|
90909
90765
|
};
|
|
90910
90766
|
});
|
|
90911
90767
|
var chart_build = () => { };
|
|
@@ -90915,19 +90771,19 @@ var chart_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90915
90771
|
default: chart_build
|
|
90916
90772
|
});
|
|
90917
90773
|
|
|
90918
|
-
const tagName$
|
|
90774
|
+
const tagName$1i = 'div';
|
|
90919
90775
|
const dataSetKey$4 = 'dataset';
|
|
90920
|
-
const idGen$
|
|
90776
|
+
const idGen$l = new IDGenerator('wm_accordion_ref_');
|
|
90921
90777
|
const isDynamicAccordion = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
|
90922
90778
|
register('wm-accordion', () => {
|
|
90923
90779
|
return {
|
|
90924
90780
|
pre: (attrs, shared) => {
|
|
90925
90781
|
// generating unique Id for the accordion
|
|
90926
|
-
const counter = idGen$
|
|
90782
|
+
const counter = idGen$l.nextUid();
|
|
90927
90783
|
shared.set('accordion_ref', counter);
|
|
90928
|
-
return `<${tagName$
|
|
90784
|
+
return `<${tagName$1i} wmAccordion #${counter}="wmAccordion" ${getAttrMarkup(attrs)}>`;
|
|
90929
90785
|
},
|
|
90930
|
-
post: () => `</${tagName$
|
|
90786
|
+
post: () => `</${tagName$1i}>`,
|
|
90931
90787
|
template: (node, shared) => {
|
|
90932
90788
|
// check if the accordion is dynamic
|
|
90933
90789
|
if (isDynamicAccordion(node)) {
|
|
@@ -90958,15 +90814,15 @@ var accordion_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90958
90814
|
default: accordion_build
|
|
90959
90815
|
});
|
|
90960
90816
|
|
|
90961
|
-
const tagName$
|
|
90962
|
-
const idGen$
|
|
90817
|
+
const tagName$1h = 'div';
|
|
90818
|
+
const idGen$k = new IDGenerator('wm_accordionpane');
|
|
90963
90819
|
register('wm-accordionpane', () => {
|
|
90964
90820
|
return {
|
|
90965
90821
|
pre: (attrs) => {
|
|
90966
|
-
const counter = idGen$
|
|
90967
|
-
return `<${tagName$
|
|
90822
|
+
const counter = idGen$k.nextUid();
|
|
90823
|
+
return `<${tagName$1h} #${counter}="wmAccordionPane" wmAccordionPane partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
|
|
90968
90824
|
},
|
|
90969
|
-
post: () => `</${tagName$
|
|
90825
|
+
post: () => `</${tagName$1h}>`
|
|
90970
90826
|
};
|
|
90971
90827
|
});
|
|
90972
90828
|
var accordionPane_build = () => { };
|
|
@@ -90976,11 +90832,11 @@ var accordionPane_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90976
90832
|
default: accordionPane_build
|
|
90977
90833
|
});
|
|
90978
90834
|
|
|
90979
|
-
const tagName$
|
|
90835
|
+
const tagName$1g = 'div';
|
|
90980
90836
|
register('wm-container', () => {
|
|
90981
90837
|
return {
|
|
90982
|
-
pre: attrs => `<${tagName$
|
|
90983
|
-
post: () => `</${tagName$
|
|
90838
|
+
pre: attrs => `<${tagName$1g} wmContainer partialContainer wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
|
|
90839
|
+
post: () => `</${tagName$1g}>`
|
|
90984
90840
|
};
|
|
90985
90841
|
});
|
|
90986
90842
|
var container_build = () => { };
|
|
@@ -90990,11 +90846,11 @@ var container_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90990
90846
|
default: container_build
|
|
90991
90847
|
});
|
|
90992
90848
|
|
|
90993
|
-
const tagName$
|
|
90849
|
+
const tagName$1f = 'div';
|
|
90994
90850
|
register('wm-gridcolumn', () => {
|
|
90995
90851
|
return {
|
|
90996
|
-
pre: attrs => `<${tagName$
|
|
90997
|
-
post: () => `</${tagName$
|
|
90852
|
+
pre: attrs => `<${tagName$1f} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,
|
|
90853
|
+
post: () => `</${tagName$1f}>`
|
|
90998
90854
|
};
|
|
90999
90855
|
});
|
|
91000
90856
|
var layoutGridColumn_build = () => { };
|
|
@@ -91004,11 +90860,11 @@ var layoutGridColumn_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91004
90860
|
default: layoutGridColumn_build
|
|
91005
90861
|
});
|
|
91006
90862
|
|
|
91007
|
-
const tagName$
|
|
90863
|
+
const tagName$1e = 'div';
|
|
91008
90864
|
register('wm-gridrow', () => {
|
|
91009
90865
|
return {
|
|
91010
|
-
pre: attrs => `<${tagName$
|
|
91011
|
-
post: () => `</${tagName$
|
|
90866
|
+
pre: attrs => `<${tagName$1e} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,
|
|
90867
|
+
post: () => `</${tagName$1e}>`
|
|
91012
90868
|
};
|
|
91013
90869
|
});
|
|
91014
90870
|
var layoutGridRow_build = () => { };
|
|
@@ -91018,11 +90874,11 @@ var layoutGridRow_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91018
90874
|
default: layoutGridRow_build
|
|
91019
90875
|
});
|
|
91020
90876
|
|
|
91021
|
-
const tagName$
|
|
90877
|
+
const tagName$1d = 'div';
|
|
91022
90878
|
register('wm-layoutgrid', () => {
|
|
91023
90879
|
return {
|
|
91024
|
-
pre: attrs => `<${tagName$
|
|
91025
|
-
post: () => `</${tagName$
|
|
90880
|
+
pre: attrs => `<${tagName$1d} wmLayoutGrid ${getAttrMarkup(attrs)}>`,
|
|
90881
|
+
post: () => `</${tagName$1d}>`
|
|
91026
90882
|
};
|
|
91027
90883
|
});
|
|
91028
90884
|
var layoutGrid_build = () => { };
|
|
@@ -91032,21 +90888,21 @@ var layoutGrid_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91032
90888
|
default: layoutGrid_build
|
|
91033
90889
|
});
|
|
91034
90890
|
|
|
91035
|
-
const tagName$
|
|
91036
|
-
const idGen$
|
|
90891
|
+
const tagName$1c = 'div';
|
|
90892
|
+
const idGen$j = new IDGenerator('wm_panel');
|
|
91037
90893
|
register('wm-panel', () => {
|
|
91038
90894
|
return {
|
|
91039
90895
|
pre: (attrs) => {
|
|
91040
|
-
const counter = idGen$
|
|
91041
|
-
return `<${tagName$
|
|
90896
|
+
const counter = idGen$j.nextUid();
|
|
90897
|
+
return `<${tagName$1c} wmPanel #${counter}="wmPanel" partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
|
|
91042
90898
|
},
|
|
91043
|
-
post: () => `</${tagName$
|
|
90899
|
+
post: () => `</${tagName$1c}>`
|
|
91044
90900
|
};
|
|
91045
90901
|
});
|
|
91046
90902
|
register('wm-panel-footer', () => {
|
|
91047
90903
|
return {
|
|
91048
|
-
pre: attrs => `<${tagName$
|
|
91049
|
-
post: () => `</${tagName$
|
|
90904
|
+
pre: attrs => `<${tagName$1c} wmPanelFooter ${getAttrMarkup(attrs)}>`,
|
|
90905
|
+
post: () => `</${tagName$1c}>`
|
|
91050
90906
|
};
|
|
91051
90907
|
});
|
|
91052
90908
|
var panel_build = () => { };
|
|
@@ -91056,11 +90912,11 @@ var panel_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91056
90912
|
default: panel_build
|
|
91057
90913
|
});
|
|
91058
90914
|
|
|
91059
|
-
const tagName$
|
|
90915
|
+
const tagName$1b = 'div';
|
|
91060
90916
|
register('wm-segmented-control', () => {
|
|
91061
90917
|
return {
|
|
91062
|
-
pre: attrs => `<${tagName$
|
|
91063
|
-
post: () => `</${tagName$
|
|
90918
|
+
pre: attrs => `<${tagName$1b} wmSegmentedControl ${getAttrMarkup(attrs)}>`,
|
|
90919
|
+
post: () => `</${tagName$1b}>`
|
|
91064
90920
|
};
|
|
91065
90921
|
});
|
|
91066
90922
|
var segmentedControl_build = () => { };
|
|
@@ -91070,11 +90926,11 @@ var segmentedControl_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91070
90926
|
default: segmentedControl_build
|
|
91071
90927
|
});
|
|
91072
90928
|
|
|
91073
|
-
const tagName$
|
|
90929
|
+
const tagName$1a = 'li';
|
|
91074
90930
|
register('wm-segment-content', () => {
|
|
91075
90931
|
return {
|
|
91076
|
-
pre: attrs => `<${tagName$
|
|
91077
|
-
post: () => `</${tagName$
|
|
90932
|
+
pre: attrs => `<${tagName$1a} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
90933
|
+
post: () => `</${tagName$1a}>`
|
|
91078
90934
|
};
|
|
91079
90935
|
});
|
|
91080
90936
|
var segmentContent_build = () => { };
|
|
@@ -91112,19 +90968,19 @@ var repeatTemplate_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91112
90968
|
default: repeatTemplate_build
|
|
91113
90969
|
});
|
|
91114
90970
|
|
|
91115
|
-
const tagName$
|
|
90971
|
+
const tagName$19 = 'div';
|
|
91116
90972
|
const dataSetKey$3 = 'dataset';
|
|
91117
|
-
const idGen$
|
|
90973
|
+
const idGen$i = new IDGenerator('wm_tabs_ref_');
|
|
91118
90974
|
const isDynamicTabs = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
|
91119
90975
|
register('wm-tabs', () => {
|
|
91120
90976
|
return {
|
|
91121
90977
|
pre: (attrs, shared) => {
|
|
91122
90978
|
// generating unique Id for the tabs
|
|
91123
|
-
const counter = idGen$
|
|
90979
|
+
const counter = idGen$i.nextUid();
|
|
91124
90980
|
shared.set('tabs_ref', counter);
|
|
91125
|
-
return `<${tagName$
|
|
90981
|
+
return `<${tagName$19} wmTabs #${counter}="wmTabs" ${getAttrMarkup(attrs)}>`;
|
|
91126
90982
|
},
|
|
91127
|
-
post: () => `</${tagName$
|
|
90983
|
+
post: () => `</${tagName$19}>`,
|
|
91128
90984
|
template: (node, shared) => {
|
|
91129
90985
|
// check if the tab widget is dynamic
|
|
91130
90986
|
if (isDynamicTabs(node)) {
|
|
@@ -91155,11 +91011,11 @@ var tabs_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91155
91011
|
default: tabs_build
|
|
91156
91012
|
});
|
|
91157
91013
|
|
|
91158
|
-
const tagName$
|
|
91014
|
+
const tagName$18 = 'div';
|
|
91159
91015
|
register('wm-tabpane', () => {
|
|
91160
91016
|
return {
|
|
91161
|
-
pre: attrs => `<${tagName$
|
|
91162
|
-
post: () => `</${tagName$
|
|
91017
|
+
pre: attrs => `<${tagName$18} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element="true" role="tabpanel">`,
|
|
91018
|
+
post: () => `</${tagName$18}>`
|
|
91163
91019
|
};
|
|
91164
91020
|
});
|
|
91165
91021
|
var tabPane_build = () => { };
|
|
@@ -91169,11 +91025,11 @@ var tabPane_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91169
91025
|
default: tabPane_build
|
|
91170
91026
|
});
|
|
91171
91027
|
|
|
91172
|
-
const tagName$
|
|
91028
|
+
const tagName$17 = 'div';
|
|
91173
91029
|
register('wm-tile', () => {
|
|
91174
91030
|
return {
|
|
91175
|
-
pre: attrs => `<${tagName$
|
|
91176
|
-
post: () => `</${tagName$
|
|
91031
|
+
pre: attrs => `<${tagName$17} wmTile wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
91032
|
+
post: () => `</${tagName$17}>`
|
|
91177
91033
|
};
|
|
91178
91034
|
});
|
|
91179
91035
|
var tile_build = () => { };
|
|
@@ -91183,11 +91039,11 @@ var tile_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91183
91039
|
default: tile_build
|
|
91184
91040
|
});
|
|
91185
91041
|
|
|
91186
|
-
const tagName$
|
|
91042
|
+
const tagName$16 = 'div';
|
|
91187
91043
|
register('wm-wizard', () => {
|
|
91188
91044
|
return {
|
|
91189
|
-
pre: attrs => `<${tagName$
|
|
91190
|
-
post: () => `</${tagName$
|
|
91045
|
+
pre: attrs => `<${tagName$16} wmWizard ${getAttrMarkup(attrs)}>`,
|
|
91046
|
+
post: () => `</${tagName$16}>`
|
|
91191
91047
|
};
|
|
91192
91048
|
});
|
|
91193
91049
|
var wizard_build = () => { };
|
|
@@ -91197,16 +91053,16 @@ var wizard_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91197
91053
|
default: wizard_build
|
|
91198
91054
|
});
|
|
91199
91055
|
|
|
91200
|
-
const tagName$
|
|
91201
|
-
const idGen$
|
|
91056
|
+
const tagName$15 = 'form';
|
|
91057
|
+
const idGen$h = new IDGenerator('wizard_step_id_');
|
|
91202
91058
|
register('wm-wizardstep', () => {
|
|
91203
91059
|
return {
|
|
91204
91060
|
pre: attrs => {
|
|
91205
|
-
const counter = idGen$
|
|
91206
|
-
return `<${tagName$
|
|
91061
|
+
const counter = idGen$h.nextUid();
|
|
91062
|
+
return `<${tagName$15} wmWizardStep #${counter}="wmWizardStep" ${getAttrMarkup(attrs)}>
|
|
91207
91063
|
<ng-template [ngIf]="${counter}.isInitialized">`;
|
|
91208
91064
|
},
|
|
91209
|
-
post: () => `</ng-template></${tagName$
|
|
91065
|
+
post: () => `</ng-template></${tagName$15}>`
|
|
91210
91066
|
};
|
|
91211
91067
|
});
|
|
91212
91068
|
var wizardStep_build = () => { };
|
|
@@ -91216,15 +91072,15 @@ var wizardStep_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91216
91072
|
default: wizardStep_build
|
|
91217
91073
|
});
|
|
91218
91074
|
|
|
91219
|
-
const tagName$
|
|
91220
|
-
const idGen$
|
|
91075
|
+
const tagName$14 = 'button';
|
|
91076
|
+
const idGen$g = new IDGenerator('wm_barcodescanner');
|
|
91221
91077
|
register('wm-barcodescanner', () => {
|
|
91222
91078
|
return {
|
|
91223
91079
|
pre: (attrs) => {
|
|
91224
|
-
const counter = idGen$
|
|
91225
|
-
return `<${tagName$
|
|
91080
|
+
const counter = idGen$g.nextUid();
|
|
91081
|
+
return `<${tagName$14} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.arialabel || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
|
|
91226
91082
|
},
|
|
91227
|
-
post: () => `</${tagName$
|
|
91083
|
+
post: () => `</${tagName$14}>`
|
|
91228
91084
|
};
|
|
91229
91085
|
});
|
|
91230
91086
|
var barcodeScanner_build = () => { };
|
|
@@ -91234,15 +91090,15 @@ var barcodeScanner_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91234
91090
|
default: barcodeScanner_build
|
|
91235
91091
|
});
|
|
91236
91092
|
|
|
91237
|
-
const tagName$
|
|
91238
|
-
const idGen$
|
|
91093
|
+
const tagName$13 = 'button';
|
|
91094
|
+
const idGen$f = new IDGenerator('wm_camera');
|
|
91239
91095
|
register('wm-camera', () => {
|
|
91240
91096
|
return {
|
|
91241
91097
|
pre: (attrs) => {
|
|
91242
|
-
const counter = idGen$
|
|
91243
|
-
return `<${tagName$
|
|
91098
|
+
const counter = idGen$f.nextUid();
|
|
91099
|
+
return `<${tagName$13} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.arialabel || 'Camera'" ${getAttrMarkup(attrs)}>`;
|
|
91244
91100
|
},
|
|
91245
|
-
post: () => `</${tagName$
|
|
91101
|
+
post: () => `</${tagName$13}>`
|
|
91246
91102
|
};
|
|
91247
91103
|
});
|
|
91248
91104
|
var camera_build = () => { };
|
|
@@ -91252,11 +91108,11 @@ var camera_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91252
91108
|
default: camera_build
|
|
91253
91109
|
});
|
|
91254
91110
|
|
|
91255
|
-
const tagName$
|
|
91111
|
+
const tagName$12 = 'div';
|
|
91256
91112
|
register('wm-alertdialog', () => {
|
|
91257
91113
|
return {
|
|
91258
|
-
pre: attrs => `<${tagName$
|
|
91259
|
-
post: () => `</${tagName$
|
|
91114
|
+
pre: attrs => `<${tagName$12} wmAlertDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
91115
|
+
post: () => `</${tagName$12}>`
|
|
91260
91116
|
};
|
|
91261
91117
|
});
|
|
91262
91118
|
var alertDialog_build = () => { };
|
|
@@ -91266,11 +91122,11 @@ var alertDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91266
91122
|
default: alertDialog_build
|
|
91267
91123
|
});
|
|
91268
91124
|
|
|
91269
|
-
const tagName$
|
|
91125
|
+
const tagName$11 = 'div';
|
|
91270
91126
|
register('wm-confirmdialog', () => {
|
|
91271
91127
|
return {
|
|
91272
|
-
pre: attrs => `<${tagName$
|
|
91273
|
-
post: () => `</${tagName$
|
|
91128
|
+
pre: attrs => `<${tagName$11} wmConfirmDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
91129
|
+
post: () => `</${tagName$11}>`
|
|
91274
91130
|
};
|
|
91275
91131
|
});
|
|
91276
91132
|
var confirmDialog_build = () => { };
|
|
@@ -91280,11 +91136,11 @@ var confirmDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91280
91136
|
default: confirmDialog_build
|
|
91281
91137
|
});
|
|
91282
91138
|
|
|
91283
|
-
const tagName$
|
|
91139
|
+
const tagName$10 = 'div';
|
|
91284
91140
|
register('wm-dialogactions', () => {
|
|
91285
91141
|
return {
|
|
91286
|
-
pre: attrs => `<ng-template #dialogFooter><${tagName$
|
|
91287
|
-
post: () => `</${tagName$
|
|
91142
|
+
pre: attrs => `<ng-template #dialogFooter><${tagName$10} wmDialogFooter data-identfier="actions" ${getAttrMarkup(attrs)}>`,
|
|
91143
|
+
post: () => `</${tagName$10}></ng-template>`
|
|
91288
91144
|
};
|
|
91289
91145
|
});
|
|
91290
91146
|
var dialogFooter_build = () => { };
|
|
@@ -91294,11 +91150,11 @@ var dialogFooter_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91294
91150
|
default: dialogFooter_build
|
|
91295
91151
|
});
|
|
91296
91152
|
|
|
91297
|
-
const tagName
|
|
91153
|
+
const tagName$$ = 'div';
|
|
91298
91154
|
register('wm-dialog', () => {
|
|
91299
91155
|
return {
|
|
91300
|
-
pre: attrs => `<${tagName
|
|
91301
|
-
post: () => `</ng-template></${tagName
|
|
91156
|
+
pre: attrs => `<${tagName$$} wmDialog ${getAttrMarkup(attrs)} aria-modal="true" role="dialog" wm-navigable-element="true"><ng-template #dialogBody>`,
|
|
91157
|
+
post: () => `</ng-template></${tagName$$}>`
|
|
91302
91158
|
};
|
|
91303
91159
|
});
|
|
91304
91160
|
// Todo:vinay remove wm-view in migration
|
|
@@ -91315,11 +91171,11 @@ var dialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91315
91171
|
default: dialog_build
|
|
91316
91172
|
});
|
|
91317
91173
|
|
|
91318
|
-
const tagName$
|
|
91174
|
+
const tagName$_ = 'div';
|
|
91319
91175
|
register('wm-iframedialog', () => {
|
|
91320
91176
|
return {
|
|
91321
|
-
pre: attrs => `<${tagName$
|
|
91322
|
-
post: () => `</${tagName$
|
|
91177
|
+
pre: attrs => `<${tagName$_} wmIframeDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
91178
|
+
post: () => `</${tagName$_}>`
|
|
91323
91179
|
};
|
|
91324
91180
|
});
|
|
91325
91181
|
var iframeDialog_build = () => { };
|
|
@@ -91329,11 +91185,11 @@ var iframeDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91329
91185
|
default: iframeDialog_build
|
|
91330
91186
|
});
|
|
91331
91187
|
|
|
91332
|
-
const tagName
|
|
91188
|
+
const tagName$Z = 'div';
|
|
91333
91189
|
register('wm-logindialog', () => {
|
|
91334
91190
|
return {
|
|
91335
|
-
pre: attrs => `<${tagName
|
|
91336
|
-
post: () => `</ng-template></${tagName
|
|
91191
|
+
pre: attrs => `<${tagName$Z} wmDialog wmLoginDialog ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction" wm-navigable-element="true"><ng-template #dialogBody>`,
|
|
91192
|
+
post: () => `</ng-template></${tagName$Z}>`
|
|
91337
91193
|
};
|
|
91338
91194
|
});
|
|
91339
91195
|
var loginDialog_build = () => { };
|
|
@@ -91343,7 +91199,7 @@ var loginDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91343
91199
|
default: loginDialog_build
|
|
91344
91200
|
});
|
|
91345
91201
|
|
|
91346
|
-
const tagName$
|
|
91202
|
+
const tagName$Y = 'div';
|
|
91347
91203
|
register('wm-pagedialog', () => {
|
|
91348
91204
|
return {
|
|
91349
91205
|
pre: (attrs, shared) => {
|
|
@@ -91369,14 +91225,14 @@ register('wm-pagedialog', () => {
|
|
|
91369
91225
|
shared.set('hasPartialContent', true);
|
|
91370
91226
|
containerMarkup += `<ng-template><div wmContainer #partial partialContainer ${contentMarkup} width="100%" height="100%" ${onLoadEvtMarkup}>`;
|
|
91371
91227
|
}
|
|
91372
|
-
return `<${tagName$
|
|
91228
|
+
return `<${tagName$Y} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;
|
|
91373
91229
|
},
|
|
91374
91230
|
post: (attrs, shared) => {
|
|
91375
91231
|
let preContent = '';
|
|
91376
91232
|
if (shared.get('hasPartialContent')) {
|
|
91377
91233
|
preContent = `</div></ng-template>`;
|
|
91378
91234
|
}
|
|
91379
|
-
return `${preContent}</${tagName$
|
|
91235
|
+
return `${preContent}</${tagName$Y}>`;
|
|
91380
91236
|
}
|
|
91381
91237
|
};
|
|
91382
91238
|
});
|
|
@@ -91455,8 +91311,8 @@ const getEditModeWidget = colDef => {
|
|
|
91455
91311
|
return (fieldTypeWidgetTypeMap[colDef.type] && fieldTypeWidgetTypeMap[colDef.type][0]) || FormWidgetType.TEXT;
|
|
91456
91312
|
};
|
|
91457
91313
|
|
|
91458
|
-
const tagName$
|
|
91459
|
-
const idGen$
|
|
91314
|
+
const tagName$X = 'div';
|
|
91315
|
+
const idGen$e = new IDGenerator('formfield_');
|
|
91460
91316
|
const getEventsTemplate = (attrs) => {
|
|
91461
91317
|
const eventAttrs = new Map();
|
|
91462
91318
|
if (!attrs.has('focus.event')) {
|
|
@@ -91506,21 +91362,13 @@ const setDefaultPlaceholder = (attrs, widgetType, index) => {
|
|
|
91506
91362
|
}
|
|
91507
91363
|
};
|
|
91508
91364
|
const getWidgetTemplate = (attrs, options) => {
|
|
91509
|
-
let customAttrs = ``;
|
|
91510
|
-
if (options.widgetType === "custom-widget") {
|
|
91511
|
-
for (let [key, value] of attrs) {
|
|
91512
|
-
if (key.startsWith('prop-'))
|
|
91513
|
-
customAttrs += key + '="' + value + '" ';
|
|
91514
|
-
}
|
|
91515
|
-
}
|
|
91516
91365
|
const name = attrs.get('name');
|
|
91517
|
-
const customWidgetName = attrs.get('widgetname');
|
|
91518
91366
|
const fieldName = (attrs.get('key') || name || '').trim();
|
|
91519
91367
|
const formControl = options.isMaxWidget ? `formControlName="${fieldName}_max"` : (options.isInList ? `[formControlName]="${options.counter}._fieldName"` : `formControlName="${fieldName}"`);
|
|
91520
91368
|
const tmplRef = options.isMaxWidget ? `#formWidgetMax` : `#formWidget`;
|
|
91521
91369
|
const widgetName = name ? (options.isMaxWidget ? `name="${name}_formWidgetMax"` : `name="${name}_formWidget"`) : '';
|
|
91522
91370
|
const conditionalClass = `[ngClass]="${attrs.get('ngclass')}"`;
|
|
91523
|
-
const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName}
|
|
91371
|
+
const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName}`;
|
|
91524
91372
|
return getFormWidgetTemplate(options.widgetType, defaultTmpl, attrs, { counter: options.counter, pCounter: options.pCounter });
|
|
91525
91373
|
};
|
|
91526
91374
|
const getTemplate = (attrs, widgetType, eventsTmpl, counter, pCounter, isInList) => {
|
|
@@ -91564,7 +91412,7 @@ const registerFormField = (isFormField) => {
|
|
|
91564
91412
|
return {
|
|
91565
91413
|
requires: ['wm-form', 'wm-liveform', 'wm-livefilter', 'wm-list'],
|
|
91566
91414
|
pre: (attrs, shared, parentForm, parentLiveForm, parentFilter, parentList) => {
|
|
91567
|
-
const counter = idGen$
|
|
91415
|
+
const counter = idGen$e.nextUid();
|
|
91568
91416
|
const parent = parentForm || parentLiveForm || parentFilter;
|
|
91569
91417
|
const pCounter = (parent && parent.get('form_reference')) || 'form';
|
|
91570
91418
|
const widgetType = attrs.get('widget') || FormWidgetType.TEXT;
|
|
@@ -91587,7 +91435,7 @@ const registerFormField = (isFormField) => {
|
|
|
91587
91435
|
else {
|
|
91588
91436
|
setDefaultPlaceholder(attrs, widgetType, 2);
|
|
91589
91437
|
}
|
|
91590
|
-
return `<${tagName$
|
|
91438
|
+
return `<${tagName$X} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField wmCaptionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${getFormMarkupAttr(attrs)}>
|
|
91591
91439
|
<div class="live-field form-group app-composite-widget clearfix caption-{{${pCounter}.captionposition}}" widget="${widgetType}">
|
|
91592
91440
|
<label [hidden]="!${counter}.displayname" class="app-label control-label formfield-label {{${pCounter}._captionClass}}"
|
|
91593
91441
|
[ngStyle]="{width: ${pCounter}.captionsize}" [ngClass]="{'text-danger': ${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode,
|
|
@@ -91603,7 +91451,7 @@ const registerFormField = (isFormField) => {
|
|
|
91603
91451
|
</div>
|
|
91604
91452
|
</div>`;
|
|
91605
91453
|
},
|
|
91606
|
-
post: () => `</${tagName$
|
|
91454
|
+
post: () => `</${tagName$X}>`,
|
|
91607
91455
|
provide: (attrs, shared) => {
|
|
91608
91456
|
const provider = new Map();
|
|
91609
91457
|
provider.set('form_reference', shared.get('counter'));
|
|
@@ -91625,11 +91473,11 @@ var formField_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91625
91473
|
default: formField_build
|
|
91626
91474
|
});
|
|
91627
91475
|
|
|
91628
|
-
const tagName$
|
|
91476
|
+
const tagName$W = 'div';
|
|
91629
91477
|
const registerAction = (tmpl) => {
|
|
91630
91478
|
return {
|
|
91631
|
-
pre: attrs => `<${tagName$
|
|
91632
|
-
post: () => `</${tagName$
|
|
91479
|
+
pre: attrs => `<${tagName$W} wmFormAction name="${attrs.get('name') || attrs.get('key')}" ${getAttrMarkup(attrs)} ${tmpl}>`,
|
|
91480
|
+
post: () => `</${tagName$W}>`
|
|
91633
91481
|
};
|
|
91634
91482
|
};
|
|
91635
91483
|
register('wm-form-action', registerAction.bind(undefined, ''));
|
|
@@ -91641,8 +91489,8 @@ var formAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91641
91489
|
default: formAction_build
|
|
91642
91490
|
});
|
|
91643
91491
|
|
|
91644
|
-
const tagName$
|
|
91645
|
-
const idGen$
|
|
91492
|
+
const tagName$V = 'form';
|
|
91493
|
+
const idGen$d = new IDGenerator('form_');
|
|
91646
91494
|
const formWidgets$1 = new Set([
|
|
91647
91495
|
'wm-text',
|
|
91648
91496
|
'wm-textarea',
|
|
@@ -91710,7 +91558,7 @@ const buildTask = (directiveAttr = '') => {
|
|
|
91710
91558
|
let tmpl;
|
|
91711
91559
|
let dialogId;
|
|
91712
91560
|
const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';
|
|
91713
|
-
const counter = idGen$
|
|
91561
|
+
const counter = idGen$d.nextUid();
|
|
91714
91562
|
const dependsOn = attrs.get('dependson') ? `dependson="${attrs.get('dependson')}"` : '';
|
|
91715
91563
|
if (dependsOn) {
|
|
91716
91564
|
attrs.set('dependsontable', attrs.get('dependson'));
|
|
@@ -91718,7 +91566,7 @@ const buildTask = (directiveAttr = '') => {
|
|
|
91718
91566
|
const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';
|
|
91719
91567
|
const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];
|
|
91720
91568
|
attrs.delete('dependson');
|
|
91721
|
-
const liveFormTmpl = `<${tagName$
|
|
91569
|
+
const liveFormTmpl = `<${tagName$V} wmForm data-role="${role}" ${directiveAttr} #${counter} ngNativeValidate [formGroup]="${counter}.ngform" [noValidate]="${counter}.validationtype !== 'html'"
|
|
91722
91570
|
class="${classProp}" [class]="${counter}.captionAlignClass" [autocomplete]="${counter}.autocomplete ? 'on' : 'off'" captionposition=${attrs.get('captionposition')}`;
|
|
91723
91571
|
attrs.set('numberOfFields', `${numberOfFields}`);
|
|
91724
91572
|
shared.set('counter', counter);
|
|
@@ -91771,12 +91619,12 @@ const buildTask = (directiveAttr = '') => {
|
|
|
91771
91619
|
return '</form></ng-template></div></div>';
|
|
91772
91620
|
}
|
|
91773
91621
|
if (attrs.get('formlayout') === 'page') {
|
|
91774
|
-
return `</div></${tagName$
|
|
91622
|
+
return `</div></${tagName$V}>`;
|
|
91775
91623
|
}
|
|
91776
91624
|
if (attrs.get('dependsontable')) {
|
|
91777
|
-
return `</${tagName$
|
|
91625
|
+
return `</${tagName$V}></div>`;
|
|
91778
91626
|
}
|
|
91779
|
-
return `</${tagName$
|
|
91627
|
+
return `</${tagName$V}>`;
|
|
91780
91628
|
},
|
|
91781
91629
|
provide: (attrs, shared) => {
|
|
91782
91630
|
const provider = new Map();
|
|
@@ -91795,14 +91643,14 @@ var form_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91795
91643
|
default: form_build
|
|
91796
91644
|
});
|
|
91797
91645
|
|
|
91798
|
-
const tagName$
|
|
91646
|
+
const tagName$U = 'div';
|
|
91799
91647
|
register('wm-calendar', () => {
|
|
91800
91648
|
return {
|
|
91801
91649
|
pre: (attrs) => {
|
|
91802
91650
|
let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';
|
|
91803
|
-
return `<${tagName$
|
|
91651
|
+
return `<${tagName$U} wmCalendar redrawable style="width:100%" role="region" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
|
|
91804
91652
|
},
|
|
91805
|
-
post: () => `</${tagName$
|
|
91653
|
+
post: () => `</${tagName$U}>`
|
|
91806
91654
|
};
|
|
91807
91655
|
});
|
|
91808
91656
|
var calendar_build = () => { };
|
|
@@ -91812,11 +91660,11 @@ var calendar_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91812
91660
|
default: calendar_build
|
|
91813
91661
|
});
|
|
91814
91662
|
|
|
91815
|
-
const tagName$
|
|
91663
|
+
const tagName$T = 'ul';
|
|
91816
91664
|
register('wm-chips', () => {
|
|
91817
91665
|
return {
|
|
91818
|
-
pre: attrs => `<${tagName$
|
|
91819
|
-
post: () => `</${tagName$
|
|
91666
|
+
pre: attrs => `<${tagName$T} wmChips ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91667
|
+
post: () => `</${tagName$T}>`
|
|
91820
91668
|
};
|
|
91821
91669
|
});
|
|
91822
91670
|
var chips_build = () => { };
|
|
@@ -91826,11 +91674,11 @@ var chips_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91826
91674
|
default: chips_build
|
|
91827
91675
|
});
|
|
91828
91676
|
|
|
91829
|
-
const tagName$
|
|
91677
|
+
const tagName$S = 'div';
|
|
91830
91678
|
register('wm-colorpicker', () => {
|
|
91831
91679
|
return {
|
|
91832
|
-
pre: attrs => `<${tagName$
|
|
91833
|
-
post: () => `</${tagName$
|
|
91680
|
+
pre: attrs => `<${tagName$S} wmColorPicker ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91681
|
+
post: () => `</${tagName$S}>`
|
|
91834
91682
|
};
|
|
91835
91683
|
});
|
|
91836
91684
|
var colorPicker_build = () => { };
|
|
@@ -91840,11 +91688,11 @@ var colorPicker_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91840
91688
|
default: colorPicker_build
|
|
91841
91689
|
});
|
|
91842
91690
|
|
|
91843
|
-
const tagName$
|
|
91691
|
+
const tagName$R = 'div';
|
|
91844
91692
|
register('wm-currency', () => {
|
|
91845
91693
|
return {
|
|
91846
|
-
pre: attrs => `<${tagName$
|
|
91847
|
-
post: () => `</${tagName$
|
|
91694
|
+
pre: attrs => `<${tagName$R} wmCurrency ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91695
|
+
post: () => `</${tagName$R}>`
|
|
91848
91696
|
};
|
|
91849
91697
|
});
|
|
91850
91698
|
var currency_build = () => { };
|
|
@@ -91854,11 +91702,11 @@ var currency_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91854
91702
|
default: currency_build
|
|
91855
91703
|
});
|
|
91856
91704
|
|
|
91857
|
-
const tagName$
|
|
91705
|
+
const tagName$Q = 'div';
|
|
91858
91706
|
register('wm-buttongroup', () => {
|
|
91859
91707
|
return {
|
|
91860
|
-
pre: attrs => `<${tagName$
|
|
91861
|
-
post: () => `</${tagName$
|
|
91708
|
+
pre: attrs => `<${tagName$Q} wmButtonGroup role="group" ${getAttrMarkup(attrs)}>`,
|
|
91709
|
+
post: () => `</${tagName$Q}>`
|
|
91862
91710
|
};
|
|
91863
91711
|
});
|
|
91864
91712
|
var buttonGroup_build = () => { };
|
|
@@ -91868,15 +91716,15 @@ var buttonGroup_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91868
91716
|
default: buttonGroup_build
|
|
91869
91717
|
});
|
|
91870
91718
|
|
|
91871
|
-
const tagName$
|
|
91872
|
-
const idGen$
|
|
91719
|
+
const tagName$P = 'button';
|
|
91720
|
+
const idGen$c = new IDGenerator('wm_button');
|
|
91873
91721
|
register('wm-button', () => {
|
|
91874
91722
|
return {
|
|
91875
91723
|
pre: (attrs) => {
|
|
91876
|
-
const counter = idGen$
|
|
91877
|
-
return `<${tagName$
|
|
91724
|
+
const counter = idGen$c.nextUid();
|
|
91725
|
+
return `<${tagName$P} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${getAttrMarkup(attrs)}>`;
|
|
91878
91726
|
},
|
|
91879
|
-
post: () => `</${tagName$
|
|
91727
|
+
post: () => `</${tagName$P}>`
|
|
91880
91728
|
};
|
|
91881
91729
|
});
|
|
91882
91730
|
var button_build = () => { };
|
|
@@ -91886,11 +91734,11 @@ var button_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91886
91734
|
default: button_build
|
|
91887
91735
|
});
|
|
91888
91736
|
|
|
91889
|
-
const tagName$
|
|
91737
|
+
const tagName$O = 'div';
|
|
91890
91738
|
register('wm-checkbox', () => {
|
|
91891
91739
|
return {
|
|
91892
|
-
pre: attrs => `<${tagName$
|
|
91893
|
-
post: () => `</${tagName$
|
|
91740
|
+
pre: attrs => `<${tagName$O} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91741
|
+
post: () => `</${tagName$O}>`
|
|
91894
91742
|
};
|
|
91895
91743
|
});
|
|
91896
91744
|
var checkbox_build = () => { };
|
|
@@ -91900,11 +91748,11 @@ var checkbox_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91900
91748
|
default: checkbox_build
|
|
91901
91749
|
});
|
|
91902
91750
|
|
|
91903
|
-
const tagName$
|
|
91751
|
+
const tagName$N = 'ul';
|
|
91904
91752
|
register('wm-checkboxset', () => {
|
|
91905
91753
|
return {
|
|
91906
|
-
pre: attrs => `<${tagName$
|
|
91907
|
-
post: () => `</${tagName$
|
|
91754
|
+
pre: attrs => `<${tagName$N} role="group" wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91755
|
+
post: () => `</${tagName$N}>`
|
|
91908
91756
|
};
|
|
91909
91757
|
});
|
|
91910
91758
|
var checkboxset_build = () => { };
|
|
@@ -91914,11 +91762,11 @@ var checkboxset_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91914
91762
|
default: checkboxset_build
|
|
91915
91763
|
});
|
|
91916
91764
|
|
|
91917
|
-
const tagName$
|
|
91765
|
+
const tagName$M = 'div';
|
|
91918
91766
|
register('wm-composite', () => {
|
|
91919
91767
|
return {
|
|
91920
|
-
pre: attrs => `<${tagName$
|
|
91921
|
-
post: () => `</${tagName$
|
|
91768
|
+
pre: attrs => `<${tagName$M} wmComposite wmCaptionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,
|
|
91769
|
+
post: () => `</${tagName$M}${clearChildAttrs()}>`
|
|
91922
91770
|
};
|
|
91923
91771
|
});
|
|
91924
91772
|
var composite_build = () => { };
|
|
@@ -91928,11 +91776,11 @@ var composite_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91928
91776
|
default: composite_build
|
|
91929
91777
|
});
|
|
91930
91778
|
|
|
91931
|
-
const tagName$
|
|
91779
|
+
const tagName$L = 'div';
|
|
91932
91780
|
register('wm-number', () => {
|
|
91933
91781
|
return {
|
|
91934
|
-
pre: attrs => `<${tagName$
|
|
91935
|
-
post: () => `</${tagName$
|
|
91782
|
+
pre: attrs => `<${tagName$L} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91783
|
+
post: () => `</${tagName$L}>`
|
|
91936
91784
|
};
|
|
91937
91785
|
});
|
|
91938
91786
|
var number_build = () => { };
|
|
@@ -91942,11 +91790,11 @@ var number_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91942
91790
|
default: number_build
|
|
91943
91791
|
});
|
|
91944
91792
|
|
|
91945
|
-
const tagName$
|
|
91793
|
+
const tagName$K = 'ul';
|
|
91946
91794
|
register('wm-radioset', () => {
|
|
91947
91795
|
return {
|
|
91948
|
-
pre: attrs => `<${tagName$
|
|
91949
|
-
post: () => `</${tagName$
|
|
91796
|
+
pre: attrs => `<${tagName$K} role="radiogroup" wmRadioset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91797
|
+
post: () => `</${tagName$K}>`
|
|
91950
91798
|
};
|
|
91951
91799
|
});
|
|
91952
91800
|
var radioset_build = () => { };
|
|
@@ -91956,11 +91804,11 @@ var radioset_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91956
91804
|
default: radioset_build
|
|
91957
91805
|
});
|
|
91958
91806
|
|
|
91959
|
-
const tagName$
|
|
91807
|
+
const tagName$J = 'wm-select';
|
|
91960
91808
|
register('wm-select', () => {
|
|
91961
91809
|
return {
|
|
91962
|
-
pre: attrs => `<${tagName$
|
|
91963
|
-
post: () => `</${tagName$
|
|
91810
|
+
pre: attrs => `<${tagName$J} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91811
|
+
post: () => `</${tagName$J}>`
|
|
91964
91812
|
};
|
|
91965
91813
|
});
|
|
91966
91814
|
var select_build = () => { };
|
|
@@ -91970,15 +91818,15 @@ var select_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91970
91818
|
default: select_build
|
|
91971
91819
|
});
|
|
91972
91820
|
|
|
91973
|
-
const tagName$
|
|
91974
|
-
const idGen$
|
|
91821
|
+
const tagName$I = 'div';
|
|
91822
|
+
const idGen$b = new IDGenerator('wm_switch');
|
|
91975
91823
|
register('wm-switch', () => {
|
|
91976
91824
|
return {
|
|
91977
91825
|
pre: (attrs) => {
|
|
91978
|
-
const counter = idGen$
|
|
91979
|
-
return `<${tagName$
|
|
91826
|
+
const counter = idGen$b.nextUid();
|
|
91827
|
+
return `<${tagName$I} wmSwitch #${counter}="wmSwitch" role="group" [attr.aria-label]="${counter}.arialabel || 'Switch choose options'" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;
|
|
91980
91828
|
},
|
|
91981
|
-
post: () => `</${tagName$
|
|
91829
|
+
post: () => `</${tagName$I}>`
|
|
91982
91830
|
};
|
|
91983
91831
|
});
|
|
91984
91832
|
var switch_build = () => { };
|
|
@@ -91988,11 +91836,11 @@ var switch_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91988
91836
|
default: switch_build
|
|
91989
91837
|
});
|
|
91990
91838
|
|
|
91991
|
-
const tagName$
|
|
91839
|
+
const tagName$H = 'wm-input';
|
|
91992
91840
|
register('wm-text', () => {
|
|
91993
91841
|
return {
|
|
91994
|
-
pre: attrs => `<${tagName$
|
|
91995
|
-
post: () => `</${tagName$
|
|
91842
|
+
pre: attrs => `<${tagName$H} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91843
|
+
post: () => `</${tagName$H}>`
|
|
91996
91844
|
};
|
|
91997
91845
|
});
|
|
91998
91846
|
var text_build = () => { };
|
|
@@ -92002,11 +91850,11 @@ var text_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92002
91850
|
default: text_build
|
|
92003
91851
|
});
|
|
92004
91852
|
|
|
92005
|
-
const tagName$
|
|
91853
|
+
const tagName$G = 'wm-textarea';
|
|
92006
91854
|
register('wm-textarea', () => {
|
|
92007
91855
|
return {
|
|
92008
|
-
pre: attrs => `<${tagName$
|
|
92009
|
-
post: () => `</${tagName$
|
|
91856
|
+
pre: attrs => `<${tagName$G} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91857
|
+
post: () => `</${tagName$G}>`
|
|
92010
91858
|
};
|
|
92011
91859
|
});
|
|
92012
91860
|
var textarea_build = () => { };
|
|
@@ -92016,11 +91864,11 @@ var textarea_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92016
91864
|
default: textarea_build
|
|
92017
91865
|
});
|
|
92018
91866
|
|
|
92019
|
-
const tagName$
|
|
91867
|
+
const tagName$F = 'div';
|
|
92020
91868
|
register('wm-datetime', () => {
|
|
92021
91869
|
return {
|
|
92022
|
-
pre: attrs => `<${tagName$
|
|
92023
|
-
post: () => `</${tagName$
|
|
91870
|
+
pre: attrs => `<${tagName$F} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91871
|
+
post: () => `</${tagName$F}>`
|
|
92024
91872
|
};
|
|
92025
91873
|
});
|
|
92026
91874
|
var dateTime_build = () => { };
|
|
@@ -92030,11 +91878,11 @@ var dateTime_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92030
91878
|
default: dateTime_build
|
|
92031
91879
|
});
|
|
92032
91880
|
|
|
92033
|
-
const tagName$
|
|
91881
|
+
const tagName$E = 'div';
|
|
92034
91882
|
register('wm-date', () => {
|
|
92035
91883
|
return {
|
|
92036
|
-
pre: attrs => `<${tagName$
|
|
92037
|
-
post: () => `</${tagName$
|
|
91884
|
+
pre: attrs => `<${tagName$E} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91885
|
+
post: () => `</${tagName$E}>`
|
|
92038
91886
|
};
|
|
92039
91887
|
});
|
|
92040
91888
|
var date_build = () => { };
|
|
@@ -92044,11 +91892,11 @@ var date_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92044
91892
|
default: date_build
|
|
92045
91893
|
});
|
|
92046
91894
|
|
|
92047
|
-
const tagName$
|
|
91895
|
+
const tagName$D = 'div';
|
|
92048
91896
|
register('wm-time', () => {
|
|
92049
91897
|
return {
|
|
92050
|
-
pre: attrs => `<${tagName$
|
|
92051
|
-
post: () => `</${tagName$
|
|
91898
|
+
pre: attrs => `<${tagName$D} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91899
|
+
post: () => `</${tagName$D}>`
|
|
92052
91900
|
};
|
|
92053
91901
|
});
|
|
92054
91902
|
var time_build = () => { };
|
|
@@ -92058,7 +91906,7 @@ var time_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92058
91906
|
default: time_build
|
|
92059
91907
|
});
|
|
92060
91908
|
|
|
92061
|
-
const tagName$
|
|
91909
|
+
const tagName$C = 'div';
|
|
92062
91910
|
register('wm-fileupload', () => {
|
|
92063
91911
|
return {
|
|
92064
91912
|
pre: attrs => {
|
|
@@ -92070,9 +91918,9 @@ register('wm-fileupload', () => {
|
|
|
92070
91918
|
const onDeleteBinding = getDataSource(attrs.get('delete.event'));
|
|
92071
91919
|
attrs.set('deletedatasource.bind', onDeleteBinding);
|
|
92072
91920
|
}
|
|
92073
|
-
return `<${tagName$
|
|
91921
|
+
return `<${tagName$C} wmFileUpload ${getAttrMarkup(attrs)}>`;
|
|
92074
91922
|
},
|
|
92075
|
-
post: () => `</${tagName$
|
|
91923
|
+
post: () => `</${tagName$C}>`
|
|
92076
91924
|
};
|
|
92077
91925
|
});
|
|
92078
91926
|
var fileUpload_build = () => { };
|
|
@@ -92082,11 +91930,11 @@ var fileUpload_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92082
91930
|
default: fileUpload_build
|
|
92083
91931
|
});
|
|
92084
91932
|
|
|
92085
|
-
const tagName$
|
|
91933
|
+
const tagName$B = 'div';
|
|
92086
91934
|
register('wm-rating', () => {
|
|
92087
91935
|
return {
|
|
92088
|
-
pre: attrs => `<${tagName$
|
|
92089
|
-
post: () => `</${tagName$
|
|
91936
|
+
pre: attrs => `<${tagName$B} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91937
|
+
post: () => `</${tagName$B}>`
|
|
92090
91938
|
};
|
|
92091
91939
|
});
|
|
92092
91940
|
var rating_build = () => { };
|
|
@@ -92096,11 +91944,11 @@ var rating_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92096
91944
|
default: rating_build
|
|
92097
91945
|
});
|
|
92098
91946
|
|
|
92099
|
-
const tagName$
|
|
91947
|
+
const tagName$A = 'div';
|
|
92100
91948
|
register('wm-slider', () => {
|
|
92101
91949
|
return {
|
|
92102
|
-
pre: attrs => `<${tagName$
|
|
92103
|
-
post: () => `</${tagName$
|
|
91950
|
+
pre: attrs => `<${tagName$A} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91951
|
+
post: () => `</${tagName$A}>`
|
|
92104
91952
|
};
|
|
92105
91953
|
});
|
|
92106
91954
|
var slider_build = () => { };
|
|
@@ -92111,7 +91959,7 @@ var slider_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92111
91959
|
});
|
|
92112
91960
|
|
|
92113
91961
|
const wmlistTag = 'wm-list';
|
|
92114
|
-
const tagName$
|
|
91962
|
+
const tagName$z = 'div';
|
|
92115
91963
|
const dataSetKey$2 = 'dataset';
|
|
92116
91964
|
function copyAttribute$1(from, fromAttrName, to, toAttrName) {
|
|
92117
91965
|
const fromAttr = from.attrs.find(a => a.name === fromAttrName);
|
|
@@ -92159,8 +92007,8 @@ register('wm-media-list', () => {
|
|
|
92159
92007
|
copyAttribute$1(template, 'height', node, 'thumbnailheight');
|
|
92160
92008
|
}
|
|
92161
92009
|
},
|
|
92162
|
-
pre: attrs => `<${tagName$
|
|
92163
|
-
post: () => `</${tagName$
|
|
92010
|
+
pre: attrs => `<${tagName$z} wmMediaList ${getAttrMarkup(attrs)}>`,
|
|
92011
|
+
post: () => `</${tagName$z}>`
|
|
92164
92012
|
};
|
|
92165
92013
|
});
|
|
92166
92014
|
var mediaList_build = () => { };
|
|
@@ -92170,11 +92018,11 @@ var mediaList_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92170
92018
|
default: mediaList_build
|
|
92171
92019
|
});
|
|
92172
92020
|
|
|
92173
|
-
const tagName$
|
|
92021
|
+
const tagName$y = 'ng-template';
|
|
92174
92022
|
register('wm-media-template', () => {
|
|
92175
92023
|
return {
|
|
92176
|
-
pre: () => `<${tagName$
|
|
92177
|
-
post: () => `</${tagName$
|
|
92024
|
+
pre: () => `<${tagName$y} #mediaListTemplate let-item="item" let-index="index">`,
|
|
92025
|
+
post: () => `</${tagName$y}>`
|
|
92178
92026
|
};
|
|
92179
92027
|
});
|
|
92180
92028
|
var mediaListItem_build = () => { };
|
|
@@ -92258,16 +92106,16 @@ var list_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92258
92106
|
default: list_build
|
|
92259
92107
|
});
|
|
92260
92108
|
|
|
92261
|
-
const tagName$
|
|
92262
|
-
const idGen$
|
|
92109
|
+
const tagName$x = 'div';
|
|
92110
|
+
const idGen$a = new IDGenerator('liveform_dialog_id_');
|
|
92263
92111
|
register('wm-livetable', () => {
|
|
92264
92112
|
return {
|
|
92265
92113
|
pre: (attrs, shared) => {
|
|
92266
|
-
const counter = idGen$
|
|
92114
|
+
const counter = idGen$a.nextUid();
|
|
92267
92115
|
shared.set('counter', counter);
|
|
92268
|
-
return `<${tagName$
|
|
92116
|
+
return `<${tagName$x} wmLiveTable ${getAttrMarkup(attrs)} dialogid="${counter}">`;
|
|
92269
92117
|
},
|
|
92270
|
-
post: () => `</${tagName$
|
|
92118
|
+
post: () => `</${tagName$x}>`,
|
|
92271
92119
|
provide: (attrs, shared) => {
|
|
92272
92120
|
const provider = new Map();
|
|
92273
92121
|
provider.set('liveform_dialog_id', shared.get('counter'));
|
|
@@ -92282,15 +92130,15 @@ var liveTable_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92282
92130
|
default: liveTable_build
|
|
92283
92131
|
});
|
|
92284
92132
|
|
|
92285
|
-
const tagName$
|
|
92286
|
-
const idGen$
|
|
92133
|
+
const tagName$w = 'p';
|
|
92134
|
+
const idGen$9 = new IDGenerator('wm_message');
|
|
92287
92135
|
register('wm-message', () => {
|
|
92288
92136
|
return {
|
|
92289
92137
|
pre: (attrs) => {
|
|
92290
|
-
const counter = idGen$
|
|
92291
|
-
return `<${tagName$
|
|
92138
|
+
const counter = idGen$9.nextUid();
|
|
92139
|
+
return `<${tagName$w} wmMessage tabindex="0" #${counter}="wmMessage" ${getAttrMarkup(attrs)}>`;
|
|
92292
92140
|
},
|
|
92293
|
-
post: () => `</${tagName$
|
|
92141
|
+
post: () => `</${tagName$w}>`
|
|
92294
92142
|
};
|
|
92295
92143
|
});
|
|
92296
92144
|
var message_build = () => { };
|
|
@@ -92300,11 +92148,11 @@ var message_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92300
92148
|
default: message_build
|
|
92301
92149
|
});
|
|
92302
92150
|
|
|
92303
|
-
const tagName$
|
|
92151
|
+
const tagName$v = 'ol';
|
|
92304
92152
|
register('wm-breadcrumb', () => {
|
|
92305
92153
|
return {
|
|
92306
|
-
pre: attrs => `<${tagName$
|
|
92307
|
-
post: () => `</${tagName$
|
|
92154
|
+
pre: attrs => `<${tagName$v} wmBreadcrumb ${getAttrMarkup(attrs)}>`,
|
|
92155
|
+
post: () => `</${tagName$v}>`
|
|
92308
92156
|
};
|
|
92309
92157
|
});
|
|
92310
92158
|
var breadcrumb_build = () => { };
|
|
@@ -92314,7 +92162,7 @@ var breadcrumb_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92314
92162
|
default: breadcrumb_build
|
|
92315
92163
|
});
|
|
92316
92164
|
|
|
92317
|
-
const tagName$
|
|
92165
|
+
const tagName$u = 'div';
|
|
92318
92166
|
register('wm-menu', () => {
|
|
92319
92167
|
return {
|
|
92320
92168
|
pre: attrs => {
|
|
@@ -92329,13 +92177,13 @@ register('wm-menu', () => {
|
|
|
92329
92177
|
else {
|
|
92330
92178
|
styleBinding = `[ngStyle]="{'width': '${menuWidth}px'}"`;
|
|
92331
92179
|
}
|
|
92332
|
-
return `<${tagName$
|
|
92180
|
+
return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
|
|
92333
92181
|
}
|
|
92334
92182
|
else {
|
|
92335
|
-
return `<${tagName$
|
|
92183
|
+
return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)}>`;
|
|
92336
92184
|
}
|
|
92337
92185
|
},
|
|
92338
|
-
post: () => `</${tagName$
|
|
92186
|
+
post: () => `</${tagName$u}>`
|
|
92339
92187
|
};
|
|
92340
92188
|
});
|
|
92341
92189
|
var menu_build = () => { };
|
|
@@ -92345,11 +92193,11 @@ var menu_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92345
92193
|
default: menu_build
|
|
92346
92194
|
});
|
|
92347
92195
|
|
|
92348
|
-
const tagName$
|
|
92196
|
+
const tagName$t = 'li';
|
|
92349
92197
|
register('wm-nav-item', () => {
|
|
92350
92198
|
return {
|
|
92351
|
-
pre: attrs => `<${tagName$
|
|
92352
|
-
post: () => `</${tagName$
|
|
92199
|
+
pre: attrs => `<${tagName$t} wmNavItem role="listitem" ${getAttrMarkup(attrs)}>`,
|
|
92200
|
+
post: () => `</${tagName$t}>`
|
|
92353
92201
|
};
|
|
92354
92202
|
});
|
|
92355
92203
|
var navItem_build = () => { };
|
|
@@ -92359,11 +92207,11 @@ var navItem_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92359
92207
|
default: navItem_build
|
|
92360
92208
|
});
|
|
92361
92209
|
|
|
92362
|
-
const tagName$
|
|
92210
|
+
const tagName$s = 'ul';
|
|
92363
92211
|
register('wm-nav', () => {
|
|
92364
92212
|
return {
|
|
92365
|
-
pre: attrs => `<${tagName$
|
|
92366
|
-
post: () => `</${tagName$
|
|
92213
|
+
pre: attrs => `<${tagName$s} wmNav data-element-type="wmNav" data-role="page-header" role="list" ${getAttrMarkup(attrs)}>`,
|
|
92214
|
+
post: () => `</${tagName$s}>`
|
|
92367
92215
|
};
|
|
92368
92216
|
});
|
|
92369
92217
|
var nav_build = () => { };
|
|
@@ -92373,11 +92221,11 @@ var nav_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92373
92221
|
default: nav_build
|
|
92374
92222
|
});
|
|
92375
92223
|
|
|
92376
|
-
const tagName$
|
|
92224
|
+
const tagName$r = 'nav';
|
|
92377
92225
|
register('wm-navbar', () => {
|
|
92378
92226
|
return {
|
|
92379
|
-
pre: attrs => `<${tagName$
|
|
92380
|
-
post: () => `</${tagName$
|
|
92227
|
+
pre: attrs => `<${tagName$r} wmNavbar data-element-type="wmNavbar" role="navigation" ${getAttrMarkup(attrs)}>`,
|
|
92228
|
+
post: () => `</${tagName$r}>`
|
|
92381
92229
|
};
|
|
92382
92230
|
});
|
|
92383
92231
|
var navbar_build = () => { };
|
|
@@ -92387,7 +92235,7 @@ var navbar_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92387
92235
|
default: navbar_build
|
|
92388
92236
|
});
|
|
92389
92237
|
|
|
92390
|
-
const tagName$
|
|
92238
|
+
const tagName$q = 'wm-popover';
|
|
92391
92239
|
register('wm-popover', () => {
|
|
92392
92240
|
return {
|
|
92393
92241
|
requires: ['wm-table'],
|
|
@@ -92407,7 +92255,7 @@ register('wm-popover', () => {
|
|
|
92407
92255
|
popoverTemplate = `<div wmContainer #partial partialContainer ${contentMarkup}>`;
|
|
92408
92256
|
shared.set('hasPopoverContent', true);
|
|
92409
92257
|
}
|
|
92410
|
-
let markup = `<${tagName$
|
|
92258
|
+
let markup = `<${tagName$q} wmPopover ${getAttrMarkup(attrs)}>`;
|
|
92411
92259
|
const contextAttrs = table ? `let-row="row"` : ``;
|
|
92412
92260
|
markup += `<ng-template ${contextAttrs}><div tabindex="0" class="popover-start sr-only" aria-label="">popover content start</div>`;
|
|
92413
92261
|
// todo keyboard navigation - tab
|
|
@@ -92421,7 +92269,7 @@ register('wm-popover', () => {
|
|
|
92421
92269
|
if (shared.get('hasPopoverContent')) {
|
|
92422
92270
|
markup += `</div>`;
|
|
92423
92271
|
}
|
|
92424
|
-
return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$
|
|
92272
|
+
return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$q}>`;
|
|
92425
92273
|
}
|
|
92426
92274
|
};
|
|
92427
92275
|
});
|
|
@@ -92432,16 +92280,16 @@ var popover_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92432
92280
|
default: popover_build
|
|
92433
92281
|
});
|
|
92434
92282
|
|
|
92435
|
-
const tagName$
|
|
92283
|
+
const tagName$p = 'div';
|
|
92436
92284
|
const findChild = (node, childName) => {
|
|
92437
92285
|
const child = node && node.children.find(e => (e instanceof Element$2 && e.name === childName));
|
|
92438
92286
|
return child;
|
|
92439
92287
|
};
|
|
92440
|
-
const createElement$
|
|
92441
|
-
return new Element$2(name, [], [], noSpan$
|
|
92288
|
+
const createElement$3 = name => {
|
|
92289
|
+
return new Element$2(name, [], [], noSpan$3, noSpan$3, noSpan$3);
|
|
92442
92290
|
};
|
|
92443
|
-
const addAtrribute$
|
|
92444
|
-
const attr = new Attribute$1(name, value, noSpan$
|
|
92291
|
+
const addAtrribute$3 = (node, name, value) => {
|
|
92292
|
+
const attr = new Attribute$1(name, value, noSpan$3, noSpan$3, noSpan$3, undefined, undefined);
|
|
92445
92293
|
node.attrs.push(attr);
|
|
92446
92294
|
};
|
|
92447
92295
|
const getElementNode = (name, node) => {
|
|
@@ -92462,8 +92310,8 @@ const getElementNode = (name, node) => {
|
|
|
92462
92310
|
});
|
|
92463
92311
|
return elementNode;
|
|
92464
92312
|
};
|
|
92465
|
-
const noSpan$
|
|
92466
|
-
const idGen$
|
|
92313
|
+
const noSpan$3 = {};
|
|
92314
|
+
const idGen$8 = new IDGenerator('wm_page');
|
|
92467
92315
|
register('wm-page', () => {
|
|
92468
92316
|
return {
|
|
92469
92317
|
template: (node) => {
|
|
@@ -92472,24 +92320,24 @@ register('wm-page', () => {
|
|
|
92472
92320
|
pageContentNode = getElementNode('wm-page-content', getElementNode('wm-content', node));
|
|
92473
92321
|
}
|
|
92474
92322
|
if (pageContentNode) {
|
|
92475
|
-
const conditionalNode = createElement$
|
|
92476
|
-
addAtrribute$
|
|
92323
|
+
const conditionalNode = createElement$3('ng-container');
|
|
92324
|
+
addAtrribute$3(conditionalNode, '*ngIf', 'compilePageContent');
|
|
92477
92325
|
conditionalNode.children = conditionalNode.children.concat(pageContentNode.children);
|
|
92478
92326
|
conditionalNode.children.push(new Text$1('{{onPageContentReady()}}', null, undefined, undefined));
|
|
92479
92327
|
pageContentNode.children = [conditionalNode];
|
|
92480
92328
|
if (isMobileApp()) {
|
|
92481
|
-
const loader = createElement$
|
|
92482
|
-
addAtrribute$
|
|
92483
|
-
addAtrribute$
|
|
92329
|
+
const loader = createElement$3('div');
|
|
92330
|
+
addAtrribute$3(loader, 'wmPageContentLoader', '');
|
|
92331
|
+
addAtrribute$3(loader, '*ngIf', '!showPageContent');
|
|
92484
92332
|
pageContentNode.children.push(loader);
|
|
92485
92333
|
}
|
|
92486
92334
|
}
|
|
92487
92335
|
},
|
|
92488
92336
|
pre: (attrs) => {
|
|
92489
|
-
const counter = idGen$
|
|
92490
|
-
return `<${tagName$
|
|
92337
|
+
const counter = idGen$8.nextUid();
|
|
92338
|
+
return `<${tagName$p} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.arialabel" ${getAttrMarkup(attrs)}>`;
|
|
92491
92339
|
},
|
|
92492
|
-
post: () => `</${tagName$
|
|
92340
|
+
post: () => `</${tagName$p}>`
|
|
92493
92341
|
};
|
|
92494
92342
|
});
|
|
92495
92343
|
var page_build = () => { };
|
|
@@ -92499,15 +92347,15 @@ var page_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92499
92347
|
default: page_build
|
|
92500
92348
|
});
|
|
92501
92349
|
|
|
92502
|
-
const tagName$
|
|
92503
|
-
const idGen$
|
|
92350
|
+
const tagName$o = 'div';
|
|
92351
|
+
const idGen$7 = new IDGenerator('wm_layout');
|
|
92504
92352
|
register('wm-layout', () => {
|
|
92505
92353
|
return {
|
|
92506
92354
|
pre: (attrs) => {
|
|
92507
|
-
const counter = idGen$
|
|
92508
|
-
return `<${tagName$
|
|
92355
|
+
const counter = idGen$7.nextUid();
|
|
92356
|
+
return `<${tagName$o} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.arialabel" ${getAttrMarkup(attrs)}>`;
|
|
92509
92357
|
},
|
|
92510
|
-
post: () => `</${tagName$
|
|
92358
|
+
post: () => `</${tagName$o}>`
|
|
92511
92359
|
};
|
|
92512
92360
|
});
|
|
92513
92361
|
var layout_build = () => { };
|
|
@@ -92517,11 +92365,11 @@ var layout_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92517
92365
|
default: layout_build
|
|
92518
92366
|
});
|
|
92519
92367
|
|
|
92520
|
-
const tagName$
|
|
92368
|
+
const tagName$n = 'router-outlet';
|
|
92521
92369
|
register('wm-router-outlet', () => {
|
|
92522
92370
|
return {
|
|
92523
|
-
pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$
|
|
92524
|
-
post: () => `</${tagName$
|
|
92371
|
+
pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$n} (activate)="onActivate($event)">`,
|
|
92372
|
+
post: () => `</${tagName$n}></div>`
|
|
92525
92373
|
};
|
|
92526
92374
|
});
|
|
92527
92375
|
var routerOutlet_build = () => { };
|
|
@@ -92531,11 +92379,11 @@ var routerOutlet_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92531
92379
|
default: routerOutlet_build
|
|
92532
92380
|
});
|
|
92533
92381
|
|
|
92534
|
-
const tagName$
|
|
92382
|
+
const tagName$m = 'nav';
|
|
92535
92383
|
register('wm-pagination', () => {
|
|
92536
92384
|
return {
|
|
92537
|
-
pre: attrs => `<${tagName$
|
|
92538
|
-
post: () => `</${tagName$
|
|
92385
|
+
pre: attrs => `<${tagName$m} wmPagination data-identifier="pagination" aria-label="Page navigation" ${getAttrMarkup(attrs)}>`,
|
|
92386
|
+
post: () => `</${tagName$m}>`
|
|
92539
92387
|
};
|
|
92540
92388
|
});
|
|
92541
92389
|
var pagination_build = () => { };
|
|
@@ -92545,11 +92393,11 @@ var pagination_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92545
92393
|
default: pagination_build
|
|
92546
92394
|
});
|
|
92547
92395
|
|
|
92548
|
-
const tagName$
|
|
92396
|
+
const tagName$l = 'main';
|
|
92549
92397
|
register('wm-content', () => {
|
|
92550
92398
|
return {
|
|
92551
|
-
pre: attrs => `<${tagName$
|
|
92552
|
-
post: () => `</${tagName$
|
|
92399
|
+
pre: attrs => `<${tagName$l} wmContent data-role="page-content" role="main" ${getAttrMarkup(attrs)}>`,
|
|
92400
|
+
post: () => `</${tagName$l}>`
|
|
92553
92401
|
};
|
|
92554
92402
|
});
|
|
92555
92403
|
var content_build = () => { };
|
|
@@ -92559,15 +92407,15 @@ var content_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92559
92407
|
default: content_build
|
|
92560
92408
|
});
|
|
92561
92409
|
|
|
92562
|
-
const tagName$
|
|
92563
|
-
const idGen$
|
|
92410
|
+
const tagName$k = 'footer';
|
|
92411
|
+
const idGen$6 = new IDGenerator('wm_footer');
|
|
92564
92412
|
register('wm-footer', () => {
|
|
92565
92413
|
return {
|
|
92566
92414
|
pre: (attrs) => {
|
|
92567
|
-
const counter = idGen$
|
|
92568
|
-
return `<${tagName$
|
|
92415
|
+
const counter = idGen$6.nextUid();
|
|
92416
|
+
return `<${tagName$k} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.arialabel || 'Page footer'" ${getAttrMarkup(attrs)}>`;
|
|
92569
92417
|
},
|
|
92570
|
-
post: () => `</${tagName$
|
|
92418
|
+
post: () => `</${tagName$k}>`
|
|
92571
92419
|
};
|
|
92572
92420
|
});
|
|
92573
92421
|
var footer_build = () => { };
|
|
@@ -92577,15 +92425,15 @@ var footer_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92577
92425
|
default: footer_build
|
|
92578
92426
|
});
|
|
92579
92427
|
|
|
92580
|
-
const tagName$
|
|
92581
|
-
const idGen$
|
|
92428
|
+
const tagName$j = 'header';
|
|
92429
|
+
const idGen$5 = new IDGenerator('wm_header');
|
|
92582
92430
|
register('wm-header', () => {
|
|
92583
92431
|
return {
|
|
92584
92432
|
pre: (attrs) => {
|
|
92585
|
-
const counter = idGen$
|
|
92586
|
-
return `<${tagName$
|
|
92433
|
+
const counter = idGen$5.nextUid();
|
|
92434
|
+
return `<${tagName$j} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.arialabel || 'Page header'" ${getAttrMarkup(attrs)}>`;
|
|
92587
92435
|
},
|
|
92588
|
-
post: () => `</${tagName$
|
|
92436
|
+
post: () => `</${tagName$j}>`
|
|
92589
92437
|
};
|
|
92590
92438
|
});
|
|
92591
92439
|
var header_build = () => { };
|
|
@@ -92595,15 +92443,15 @@ var header_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92595
92443
|
default: header_build
|
|
92596
92444
|
});
|
|
92597
92445
|
|
|
92598
|
-
const tagName$
|
|
92599
|
-
const idGen$
|
|
92446
|
+
const tagName$i = 'aside';
|
|
92447
|
+
const idGen$4 = new IDGenerator('wm_left_panel');
|
|
92600
92448
|
register('wm-left-panel', () => {
|
|
92601
92449
|
return {
|
|
92602
92450
|
pre: (attrs) => {
|
|
92603
|
-
const counter = idGen$
|
|
92604
|
-
return `<${tagName$
|
|
92451
|
+
const counter = idGen$4.nextUid();
|
|
92452
|
+
return `<${tagName$i} wmLeftPanel #${counter}="wmLeftPanel" partialContainer data-role="page-left-panel" [attr.aria-label]="${counter}.arialabel || 'Left navigation panel'" wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`;
|
|
92605
92453
|
},
|
|
92606
|
-
post: () => `</${tagName$
|
|
92454
|
+
post: () => `</${tagName$i}>`
|
|
92607
92455
|
};
|
|
92608
92456
|
});
|
|
92609
92457
|
var leftPanel_build = () => { };
|
|
@@ -92613,11 +92461,11 @@ var leftPanel_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92613
92461
|
default: leftPanel_build
|
|
92614
92462
|
});
|
|
92615
92463
|
|
|
92616
|
-
const tagName$
|
|
92464
|
+
const tagName$h = 'header';
|
|
92617
92465
|
register('wm-mobile-navbar', () => {
|
|
92618
92466
|
return {
|
|
92619
|
-
pre: attrs => `<${tagName$
|
|
92620
|
-
post: () => `</${tagName$
|
|
92467
|
+
pre: attrs => `<${tagName$h} wmMobileNavbar ${getAttrMarkup(attrs)}>`,
|
|
92468
|
+
post: () => `</${tagName$h}>`
|
|
92621
92469
|
};
|
|
92622
92470
|
});
|
|
92623
92471
|
var mobileNavbar_build = () => { };
|
|
@@ -92627,15 +92475,15 @@ var mobileNavbar_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92627
92475
|
default: mobileNavbar_build
|
|
92628
92476
|
});
|
|
92629
92477
|
|
|
92630
|
-
const tagName$
|
|
92631
|
-
const idGen$
|
|
92478
|
+
const tagName$g = 'aside';
|
|
92479
|
+
const idGen$3 = new IDGenerator('wm_right_panel');
|
|
92632
92480
|
register('wm-right-panel', () => {
|
|
92633
92481
|
return {
|
|
92634
92482
|
pre: (attrs) => {
|
|
92635
|
-
const counter = idGen$
|
|
92636
|
-
return `<${tagName$
|
|
92483
|
+
const counter = idGen$3.nextUid();
|
|
92484
|
+
return `<${tagName$g} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.arialabel || 'Right navigation panel'" ${getAttrMarkup(attrs)}>`;
|
|
92637
92485
|
},
|
|
92638
|
-
post: () => `</${tagName$
|
|
92486
|
+
post: () => `</${tagName$g}>`
|
|
92639
92487
|
};
|
|
92640
92488
|
});
|
|
92641
92489
|
var rightPanel_build = () => { };
|
|
@@ -92645,22 +92493,22 @@ var rightPanel_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92645
92493
|
default: rightPanel_build
|
|
92646
92494
|
});
|
|
92647
92495
|
|
|
92648
|
-
const tagName$
|
|
92649
|
-
const createElement$
|
|
92650
|
-
return new Element$2(name, [], [], noSpan$
|
|
92496
|
+
const tagName$f = 'div';
|
|
92497
|
+
const createElement$2 = name => {
|
|
92498
|
+
return new Element$2(name, [], [], noSpan$2, noSpan$2, noSpan$2);
|
|
92651
92499
|
};
|
|
92652
|
-
const addAtrribute$
|
|
92653
|
-
const attr = new Attribute$1(name, value, noSpan$
|
|
92500
|
+
const addAtrribute$2 = (node, name, value) => {
|
|
92501
|
+
const attr = new Attribute$1(name, value, noSpan$2, noSpan$2, noSpan$2, undefined, undefined);
|
|
92654
92502
|
node.attrs.push(attr);
|
|
92655
92503
|
};
|
|
92656
|
-
const noSpan$
|
|
92504
|
+
const noSpan$2 = {};
|
|
92657
92505
|
register('wm-page-content', () => {
|
|
92658
92506
|
return {
|
|
92659
92507
|
template: (node) => {
|
|
92660
92508
|
for (let attr of node.attrs) {
|
|
92661
92509
|
if (attr.name === 'spa' && attr.value === 'true') {
|
|
92662
|
-
const conditionalNode = createElement$
|
|
92663
|
-
addAtrribute$
|
|
92510
|
+
const conditionalNode = createElement$2('ng-container');
|
|
92511
|
+
addAtrribute$2(conditionalNode, '*ngIf', 'compilePageContent');
|
|
92664
92512
|
conditionalNode.children = conditionalNode.children.concat(node.children);
|
|
92665
92513
|
conditionalNode.children.push(new Text$1('{{onPageContentReady()}}', null, undefined, undefined));
|
|
92666
92514
|
node.children = [conditionalNode];
|
|
@@ -92668,8 +92516,8 @@ register('wm-page-content', () => {
|
|
|
92668
92516
|
}
|
|
92669
92517
|
}
|
|
92670
92518
|
},
|
|
92671
|
-
pre: attrs => `<${tagName$
|
|
92672
|
-
post: () => `</${tagName$
|
|
92519
|
+
pre: attrs => `<${tagName$f} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
|
|
92520
|
+
post: () => `</${tagName$f}>`
|
|
92673
92521
|
};
|
|
92674
92522
|
});
|
|
92675
92523
|
var pageContent_build = () => { };
|
|
@@ -92679,11 +92527,11 @@ var pageContent_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92679
92527
|
default: pageContent_build
|
|
92680
92528
|
});
|
|
92681
92529
|
|
|
92682
|
-
const tagName$
|
|
92530
|
+
const tagName$e = 'div';
|
|
92683
92531
|
register('wm-mobile-tabbar', () => {
|
|
92684
92532
|
return {
|
|
92685
|
-
pre: attrs => `<${tagName$
|
|
92686
|
-
post: () => `</${tagName$
|
|
92533
|
+
pre: attrs => `<${tagName$e} wmMobileTabbar ${getAttrMarkup(attrs)}>`,
|
|
92534
|
+
post: () => `</${tagName$e}>`
|
|
92687
92535
|
};
|
|
92688
92536
|
});
|
|
92689
92537
|
var tabBar_build = () => { };
|
|
@@ -92693,15 +92541,15 @@ var tabBar_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92693
92541
|
default: tabBar_build
|
|
92694
92542
|
});
|
|
92695
92543
|
|
|
92696
|
-
const tagName$
|
|
92697
|
-
const idGen$
|
|
92544
|
+
const tagName$d = 'section';
|
|
92545
|
+
const idGen$2 = new IDGenerator('wm_top_nav');
|
|
92698
92546
|
register('wm-top-nav', () => {
|
|
92699
92547
|
return {
|
|
92700
92548
|
pre: (attrs) => {
|
|
92701
|
-
const counter = idGen$
|
|
92702
|
-
return `<${tagName$
|
|
92549
|
+
const counter = idGen$2.nextUid();
|
|
92550
|
+
return `<${tagName$d} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.arialabel || 'Second level navigation'" ${getAttrMarkup(attrs)}>`;
|
|
92703
92551
|
},
|
|
92704
|
-
post: () => `</${tagName$
|
|
92552
|
+
post: () => `</${tagName$d}>`
|
|
92705
92553
|
};
|
|
92706
92554
|
});
|
|
92707
92555
|
var topNav_build = () => { };
|
|
@@ -92711,26 +92559,26 @@ var topNav_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92711
92559
|
default: topNav_build
|
|
92712
92560
|
});
|
|
92713
92561
|
|
|
92714
|
-
const tagName$
|
|
92715
|
-
const noSpan$
|
|
92716
|
-
const createElement$
|
|
92717
|
-
return new Element$2(name, [], [], noSpan$
|
|
92562
|
+
const tagName$c = 'section';
|
|
92563
|
+
const noSpan$1 = {};
|
|
92564
|
+
const createElement$1 = name => {
|
|
92565
|
+
return new Element$2(name, [], [], noSpan$1, noSpan$1, noSpan$1);
|
|
92718
92566
|
};
|
|
92719
|
-
const addAtrribute$
|
|
92720
|
-
const attr = new Attribute$1(name, value, noSpan$
|
|
92567
|
+
const addAtrribute$1 = (node, name, value) => {
|
|
92568
|
+
const attr = new Attribute$1(name, value, noSpan$1, noSpan$1, noSpan$1, undefined, undefined);
|
|
92721
92569
|
node.attrs.push(attr);
|
|
92722
92570
|
};
|
|
92723
92571
|
register('wm-partial', () => {
|
|
92724
92572
|
return {
|
|
92725
92573
|
template: (node) => {
|
|
92726
|
-
const conditionalNode = createElement$
|
|
92727
|
-
addAtrribute$
|
|
92574
|
+
const conditionalNode = createElement$1('ng-container');
|
|
92575
|
+
addAtrribute$1(conditionalNode, '*ngIf', 'compileContent');
|
|
92728
92576
|
conditionalNode.children = conditionalNode.children.concat(node.children);
|
|
92729
92577
|
node.children.length = 0;
|
|
92730
92578
|
node.children.push(conditionalNode);
|
|
92731
92579
|
},
|
|
92732
|
-
pre: attrs => `<${tagName$
|
|
92733
|
-
post: () => `</${tagName$
|
|
92580
|
+
pre: attrs => `<${tagName$c} wmPartial data-role="partial" ${getAttrMarkup(attrs)}>`,
|
|
92581
|
+
post: () => `</${tagName$c}>`
|
|
92734
92582
|
};
|
|
92735
92583
|
});
|
|
92736
92584
|
var partial_build = () => { };
|
|
@@ -92740,11 +92588,11 @@ var partial_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92740
92588
|
default: partial_build
|
|
92741
92589
|
});
|
|
92742
92590
|
|
|
92743
|
-
const tagName$
|
|
92591
|
+
const tagName$b = 'div';
|
|
92744
92592
|
register('wm-param', () => {
|
|
92745
92593
|
return {
|
|
92746
|
-
pre: attrs => `<${tagName$
|
|
92747
|
-
post: () => `</${tagName$
|
|
92594
|
+
pre: attrs => `<${tagName$b} wmParam hidden ${getAttrMarkup(attrs)}>`,
|
|
92595
|
+
post: () => `</${tagName$b}>`
|
|
92748
92596
|
};
|
|
92749
92597
|
});
|
|
92750
92598
|
var partialParam_build = () => { };
|
|
@@ -92754,11 +92602,11 @@ var partialParam_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92754
92602
|
default: partialParam_build
|
|
92755
92603
|
});
|
|
92756
92604
|
|
|
92757
|
-
const tagName$
|
|
92605
|
+
const tagName$a = 'section';
|
|
92758
92606
|
register('wm-prefab', () => {
|
|
92759
92607
|
return {
|
|
92760
|
-
pre: attrs => `<${tagName$
|
|
92761
|
-
post: () => `</${tagName$
|
|
92608
|
+
pre: attrs => `<${tagName$a} wmPrefab redrawable data-role="prefab" ${getAttrMarkup(attrs)}>`,
|
|
92609
|
+
post: () => `</${tagName$a}>`
|
|
92762
92610
|
};
|
|
92763
92611
|
});
|
|
92764
92612
|
var prefab_build = () => { };
|
|
@@ -92768,26 +92616,26 @@ var prefab_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92768
92616
|
default: prefab_build
|
|
92769
92617
|
});
|
|
92770
92618
|
|
|
92771
|
-
const noSpan
|
|
92772
|
-
const createElement
|
|
92773
|
-
return new Element$2(name, [], [], noSpan
|
|
92619
|
+
const noSpan = {};
|
|
92620
|
+
const createElement = name => {
|
|
92621
|
+
return new Element$2(name, [], [], noSpan, noSpan, noSpan);
|
|
92774
92622
|
};
|
|
92775
|
-
const addAtrribute
|
|
92776
|
-
const attr = new Attribute$1(name, value, noSpan
|
|
92623
|
+
const addAtrribute = (node, name, value) => {
|
|
92624
|
+
const attr = new Attribute$1(name, value, noSpan, noSpan, noSpan, undefined, undefined);
|
|
92777
92625
|
node.attrs.push(attr);
|
|
92778
92626
|
};
|
|
92779
|
-
const tagName$
|
|
92627
|
+
const tagName$9 = 'div';
|
|
92780
92628
|
register('wm-prefab-container', () => {
|
|
92781
92629
|
return {
|
|
92782
92630
|
template: (node) => {
|
|
92783
|
-
const conditionalNode = createElement
|
|
92784
|
-
addAtrribute
|
|
92631
|
+
const conditionalNode = createElement('ng-container');
|
|
92632
|
+
addAtrribute(conditionalNode, '*ngIf', 'compileContent');
|
|
92785
92633
|
conditionalNode.children = conditionalNode.children.concat(node.children);
|
|
92786
92634
|
node.children.length = 0;
|
|
92787
92635
|
node.children.push(conditionalNode);
|
|
92788
92636
|
},
|
|
92789
|
-
pre: attrs => `<${tagName$
|
|
92790
|
-
post: () => `</${tagName$
|
|
92637
|
+
pre: attrs => `<${tagName$9} wmPrefabContainer ${getAttrMarkup(attrs)}>`,
|
|
92638
|
+
post: () => `</${tagName$9}>`
|
|
92791
92639
|
};
|
|
92792
92640
|
});
|
|
92793
92641
|
var prefabContainer_build = () => { };
|
|
@@ -92797,11 +92645,11 @@ var prefabContainer_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92797
92645
|
default: prefabContainer_build
|
|
92798
92646
|
});
|
|
92799
92647
|
|
|
92800
|
-
const tagName$
|
|
92648
|
+
const tagName$8 = 'div';
|
|
92801
92649
|
register('wm-table-action', () => {
|
|
92802
92650
|
return {
|
|
92803
|
-
pre: attrs => `<${tagName$
|
|
92804
|
-
post: () => `</${tagName$
|
|
92651
|
+
pre: attrs => `<${tagName$8} name="${attrs.get('name') || attrs.get('key')}" wmTableAction ${getAttrMarkup(attrs)}>`,
|
|
92652
|
+
post: () => `</${tagName$8}>`
|
|
92805
92653
|
};
|
|
92806
92654
|
});
|
|
92807
92655
|
var tableAction_build = () => { };
|
|
@@ -92811,11 +92659,11 @@ var tableAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92811
92659
|
default: tableAction_build
|
|
92812
92660
|
});
|
|
92813
92661
|
|
|
92814
|
-
const tagName$
|
|
92662
|
+
const tagName$7 = 'div';
|
|
92815
92663
|
register('wm-table-column-group', () => {
|
|
92816
92664
|
return {
|
|
92817
|
-
pre: attrs => `<${tagName$
|
|
92818
|
-
post: () => `</${tagName$
|
|
92665
|
+
pre: attrs => `<${tagName$7} wmTableColumnGroup ${getAttrMarkup(attrs)}>`,
|
|
92666
|
+
post: () => `</${tagName$7}>`
|
|
92819
92667
|
};
|
|
92820
92668
|
});
|
|
92821
92669
|
var tableColumnGroup_build = () => { };
|
|
@@ -92825,8 +92673,8 @@ var tableColumnGroup_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92825
92673
|
default: tableColumnGroup_build
|
|
92826
92674
|
});
|
|
92827
92675
|
|
|
92828
|
-
const tagName$
|
|
92829
|
-
const idGen$
|
|
92676
|
+
const tagName$6 = 'div';
|
|
92677
|
+
const idGen$1 = new IDGenerator('data_table_form_');
|
|
92830
92678
|
const formWidgets = new Set([
|
|
92831
92679
|
'wm-text',
|
|
92832
92680
|
'wm-textarea',
|
|
@@ -92938,7 +92786,7 @@ const getInlineEditWidgetTmpl = (attrs, isNewRow, errorstyle, pCounter) => {
|
|
|
92938
92786
|
let wmFormWidget = '';
|
|
92939
92787
|
if (widget === FormWidgetType.UPLOAD) {
|
|
92940
92788
|
options.uploadProps = {
|
|
92941
|
-
formName: idGen$
|
|
92789
|
+
formName: idGen$1.nextUid(),
|
|
92942
92790
|
name: fieldName
|
|
92943
92791
|
};
|
|
92944
92792
|
options.counter = pCounter;
|
|
@@ -93078,7 +92926,7 @@ register('wm-table-column', () => {
|
|
|
93078
92926
|
customExprTmpl = `${customExpr}<div data-col-identifier="${attrs.get('binding')}" title="${formatExprTmpl}">${formatExprTmpl}`;
|
|
93079
92927
|
}
|
|
93080
92928
|
}
|
|
93081
|
-
return `<${tagName$
|
|
92929
|
+
return `<${tagName$6} wmTableColumn ${getAttrMarkup(attrs)} ${parentForm}>
|
|
93082
92930
|
${rowFilterTmpl}
|
|
93083
92931
|
${inlineEditTmpl}
|
|
93084
92932
|
${inlineNewEditTmpl}
|
|
@@ -93089,7 +92937,7 @@ register('wm-table-column', () => {
|
|
|
93089
92937
|
if (shared.get('customExpression')) {
|
|
93090
92938
|
customExprTmpl = `</div></ng-template>`;
|
|
93091
92939
|
}
|
|
93092
|
-
return `${customExprTmpl}</${tagName$
|
|
92940
|
+
return `${customExprTmpl}</${tagName$6}>`;
|
|
93093
92941
|
},
|
|
93094
92942
|
imports: (attrs) => {
|
|
93095
92943
|
const editWidgetType = attrs.get('edit-widget-type');
|
|
@@ -93105,7 +92953,7 @@ var tableColumn_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
93105
92953
|
default: tableColumn_build
|
|
93106
92954
|
});
|
|
93107
92955
|
|
|
93108
|
-
const tagName$
|
|
92956
|
+
const tagName$5 = 'div';
|
|
93109
92957
|
const getRowExpansionActionTmpl = (attrs) => {
|
|
93110
92958
|
const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';
|
|
93111
92959
|
const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';
|
|
@@ -93121,7 +92969,7 @@ const getRowExpansionActionTmpl = (attrs) => {
|
|
|
93121
92969
|
register('wm-table-row', () => {
|
|
93122
92970
|
return {
|
|
93123
92971
|
pre: (attrs) => {
|
|
93124
|
-
return `<${tagName$
|
|
92972
|
+
return `<${tagName$5} wmTableRow ${getAttrMarkup(attrs)}>
|
|
93125
92973
|
${getRowExpansionActionTmpl(attrs)}
|
|
93126
92974
|
<ng-template #rowExpansionTmpl let-row="row" let-rowDef="rowDef" let-containerLoad="containerLoad">
|
|
93127
92975
|
<div wmContainer partialContainer content.bind="rowDef.content" load.event="containerLoad(widget)"
|
|
@@ -93129,7 +92977,7 @@ register('wm-table-row', () => {
|
|
|
93129
92977
|
<div *ngFor="let param of rowDef.partialParams | keyvalue" wmParam hidden
|
|
93130
92978
|
[name]="param.key" [value]="param.value"></div>`;
|
|
93131
92979
|
},
|
|
93132
|
-
post: () => `</div></ng-template></${tagName$
|
|
92980
|
+
post: () => `</div></ng-template></${tagName$5}>`
|
|
93133
92981
|
};
|
|
93134
92982
|
});
|
|
93135
92983
|
var tableRow_build = () => { };
|
|
@@ -93139,7 +92987,7 @@ var tableRow_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
93139
92987
|
default: tableRow_build
|
|
93140
92988
|
});
|
|
93141
92989
|
|
|
93142
|
-
const tagName$
|
|
92990
|
+
const tagName$4 = 'div';
|
|
93143
92991
|
const getSaveCancelTemplate = () => {
|
|
93144
92992
|
return `<button type="button" aria-label="Save edit icon" class="save row-action-button btn app-button btn-transparent save-edit-row-button hidden" title="Save">
|
|
93145
92993
|
<i class="wi wi-done" aria-hidden="true"></i>
|
|
@@ -93171,9 +93019,9 @@ const getRowActionTmpl = (attrs) => {
|
|
|
93171
93019
|
};
|
|
93172
93020
|
register('wm-table-row-action', () => {
|
|
93173
93021
|
return {
|
|
93174
|
-
pre: attrs => `<${tagName$
|
|
93022
|
+
pre: attrs => `<${tagName$4} wmTableRowAction ${getAttrMarkup(attrs)}>
|
|
93175
93023
|
${getRowActionTmpl(attrs)}`,
|
|
93176
|
-
post: () => `</${tagName$
|
|
93024
|
+
post: () => `</${tagName$4}>`
|
|
93177
93025
|
};
|
|
93178
93026
|
});
|
|
93179
93027
|
var tableRowAction_build = () => { };
|
|
@@ -93183,9 +93031,9 @@ var tableRowAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
93183
93031
|
default: tableRowAction_build
|
|
93184
93032
|
});
|
|
93185
93033
|
|
|
93186
|
-
const tagName$
|
|
93034
|
+
const tagName$3 = 'div';
|
|
93187
93035
|
const dataSetKey = 'dataset';
|
|
93188
|
-
const idGen
|
|
93036
|
+
const idGen = new IDGenerator('table_');
|
|
93189
93037
|
let columnIndex = 0;
|
|
93190
93038
|
/**
|
|
93191
93039
|
* This method assigns index to the table-column and column-groups in order to the maintain the columns in the same order
|
|
@@ -93245,14 +93093,14 @@ register('wm-table', () => {
|
|
|
93245
93093
|
updateTemplateAttrs(node, boundExpr, widgetNameAttr.value, '', 'row');
|
|
93246
93094
|
},
|
|
93247
93095
|
pre: (attrs, shared) => {
|
|
93248
|
-
const counter = idGen
|
|
93096
|
+
const counter = idGen.nextUid();
|
|
93249
93097
|
shared.set('counter', counter);
|
|
93250
93098
|
attrs.set('isdynamictable', shared.get('isdynamictable'));
|
|
93251
93099
|
attrs.set('isrowexpansionenabled', shared.get('isrowexpansionenabled'));
|
|
93252
93100
|
attrs.set('table_reference', counter);
|
|
93253
|
-
return `<${tagName$
|
|
93101
|
+
return `<${tagName$3} wmTable="${counter}" wmTableFilterSort wmTableCUD #${counter} data-identifier="table" ${getAttrMarkup(attrs)}>`;
|
|
93254
93102
|
},
|
|
93255
|
-
post: () => `</${tagName$
|
|
93103
|
+
post: () => `</${tagName$3}>`,
|
|
93256
93104
|
provide: (attrs, shared) => {
|
|
93257
93105
|
const provider = new Map();
|
|
93258
93106
|
provider.set('table_reference', shared.get('counter'));
|
|
@@ -93271,11 +93119,11 @@ var table_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
93271
93119
|
default: table_build
|
|
93272
93120
|
});
|
|
93273
93121
|
|
|
93274
|
-
const tagName$
|
|
93122
|
+
const tagName$2 = 'div';
|
|
93275
93123
|
register('wm-video', () => {
|
|
93276
93124
|
return {
|
|
93277
|
-
pre: attrs => `<${tagName$
|
|
93278
|
-
post: () => `</${tagName$
|
|
93125
|
+
pre: attrs => `<${tagName$2} wmVideo ${getAttrMarkup(attrs)}>`,
|
|
93126
|
+
post: () => `</${tagName$2}>`
|
|
93279
93127
|
};
|
|
93280
93128
|
});
|
|
93281
93129
|
var video_build = () => { };
|
|
@@ -93285,7 +93133,7 @@ var video_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
93285
93133
|
default: video_build
|
|
93286
93134
|
});
|
|
93287
93135
|
|
|
93288
|
-
const tagName$
|
|
93136
|
+
const tagName$1 = 'div';
|
|
93289
93137
|
const SPACING_KEY = 'parentLinearLayout.spacing';
|
|
93290
93138
|
register('wm-linearlayout', () => {
|
|
93291
93139
|
return {
|
|
@@ -93293,9 +93141,9 @@ register('wm-linearlayout', () => {
|
|
|
93293
93141
|
pre: (attrs, shared, provider) => {
|
|
93294
93142
|
let spacing = attrs.get('spacing');
|
|
93295
93143
|
attrs.set('spacing', (!spacing || spacing === '0') && provider ? provider.get(SPACING_KEY) : spacing);
|
|
93296
|
-
return `<${tagName$
|
|
93144
|
+
return `<${tagName$1} wmLinearLayout ${getAttrMarkup(attrs)}>`;
|
|
93297
93145
|
},
|
|
93298
|
-
post: () => `</${tagName$
|
|
93146
|
+
post: () => `</${tagName$1}>`,
|
|
93299
93147
|
provide: (attrs, shared) => {
|
|
93300
93148
|
const provider = new Map();
|
|
93301
93149
|
provider.set(SPACING_KEY, attrs.get('spacing'));
|
|
@@ -93310,11 +93158,11 @@ var linearLayout_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
93310
93158
|
default: linearLayout_build
|
|
93311
93159
|
});
|
|
93312
93160
|
|
|
93313
|
-
const tagName
|
|
93161
|
+
const tagName = 'div';
|
|
93314
93162
|
register('wm-linearlayoutitem', () => {
|
|
93315
93163
|
return {
|
|
93316
|
-
pre: attrs => `<${tagName
|
|
93317
|
-
post: () => `</${tagName
|
|
93164
|
+
pre: attrs => `<${tagName} wmLinearLayoutItem ${getAttrMarkup(attrs)}>`,
|
|
93165
|
+
post: () => `</${tagName}>`
|
|
93318
93166
|
};
|
|
93319
93167
|
});
|
|
93320
93168
|
var linearLayoutItem_build = () => { };
|
|
@@ -93324,49 +93172,6 @@ var linearLayoutItem_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
93324
93172
|
default: linearLayoutItem_build
|
|
93325
93173
|
});
|
|
93326
93174
|
|
|
93327
|
-
const tagName$1 = 'div';
|
|
93328
|
-
const idGen = new IDGenerator('wm_custom_widget');
|
|
93329
|
-
register('wm-custom-widget', () => {
|
|
93330
|
-
return {
|
|
93331
|
-
pre: (attrs) => {
|
|
93332
|
-
const counter = idGen.nextUid();
|
|
93333
|
-
return `<${tagName$1} wmWidgetContainer customWidgetContainer #${counter}="wmWidgetContainer" ${getAttrMarkup(attrs)}>`;
|
|
93334
|
-
},
|
|
93335
|
-
post: () => `</${tagName$1}>`
|
|
93336
|
-
};
|
|
93337
|
-
});
|
|
93338
|
-
var customWidgetContainer_build = () => { };
|
|
93339
|
-
|
|
93340
|
-
var customWidgetContainer_build$1 = /*#__PURE__*/Object.freeze({
|
|
93341
|
-
__proto__: null,
|
|
93342
|
-
default: customWidgetContainer_build
|
|
93343
|
-
});
|
|
93344
|
-
|
|
93345
|
-
const tagName = 'section';
|
|
93346
|
-
const noSpan = {};
|
|
93347
|
-
const createElement = name => {
|
|
93348
|
-
return new Element$2(name, [], [], noSpan, noSpan, noSpan);
|
|
93349
|
-
};
|
|
93350
|
-
register('wm-custom-widget-container', () => {
|
|
93351
|
-
return {
|
|
93352
|
-
template: (node) => {
|
|
93353
|
-
const conditionalNode = createElement('ng-container');
|
|
93354
|
-
// addAtrribute(conditionalNode, '*ngIf', 'compileContent');
|
|
93355
|
-
conditionalNode.children = conditionalNode.children.concat(node.children);
|
|
93356
|
-
node.children.length = 0;
|
|
93357
|
-
node.children.push(conditionalNode);
|
|
93358
|
-
},
|
|
93359
|
-
pre: attrs => `<${tagName} wmCustomWidget data-role="widget" ${getAttrMarkup(attrs)}>`,
|
|
93360
|
-
post: () => `</${tagName}>`
|
|
93361
|
-
};
|
|
93362
|
-
});
|
|
93363
|
-
var customWidgetWrapper_build = () => { };
|
|
93364
|
-
|
|
93365
|
-
var customWidgetWrapper_build$1 = /*#__PURE__*/Object.freeze({
|
|
93366
|
-
__proto__: null,
|
|
93367
|
-
default: customWidgetWrapper_build
|
|
93368
|
-
});
|
|
93369
|
-
|
|
93370
93175
|
const initComponentsBuildTask = () => { };
|
|
93371
93176
|
|
|
93372
93177
|
exports.WIDGET_IMPORTS = WIDGET_IMPORTS;
|
|
@@ -93398,8 +93203,6 @@ exports.confirmDlgBuild = confirmDialog_build$1;
|
|
|
93398
93203
|
exports.containerBuild = container_build$1;
|
|
93399
93204
|
exports.contentBuild = content_build$1;
|
|
93400
93205
|
exports.currencyBuild = currency_build$1;
|
|
93401
|
-
exports.customWidgetBuild = customWidgetContainer_build$1;
|
|
93402
|
-
exports.customWidgetWrapperBuild = customWidgetWrapper_build$1;
|
|
93403
93206
|
exports.dateBuild = date_build$1;
|
|
93404
93207
|
exports.dateTimeBuild = dateTime_build$1;
|
|
93405
93208
|
exports.dlgBuild = dialog_build$1;
|