@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.
|
|
@@ -60426,46 +60387,6 @@ const PRESERVE_HOST_CONTENT = new InjectionToken((typeof ngDevMode === 'undefine
|
|
|
60426
60387
|
* is enabled.
|
|
60427
60388
|
*/
|
|
60428
60389
|
const IS_I18N_HYDRATION_ENABLED = new InjectionToken((typeof ngDevMode === 'undefined' || !!ngDevMode ? 'IS_I18N_HYDRATION_ENABLED' : ''));
|
|
60429
|
-
|
|
60430
|
-
/**
|
|
60431
|
-
* @fileoverview
|
|
60432
|
-
* A module to facilitate use of a Trusted Types policy internally within
|
|
60433
|
-
* Angular. It lazily constructs the Trusted Types policy, providing helper
|
|
60434
|
-
* utilities for promoting strings to Trusted Types. When Trusted Types are not
|
|
60435
|
-
* available, strings are used as a fallback.
|
|
60436
|
-
* @security All use of this module is security-sensitive and should go through
|
|
60437
|
-
* security review.
|
|
60438
|
-
*/
|
|
60439
|
-
/**
|
|
60440
|
-
* The Trusted Types policy, or null if Trusted Types are not
|
|
60441
|
-
* enabled/supported, or undefined if the policy has not been created yet.
|
|
60442
|
-
*/
|
|
60443
|
-
let policy$1;
|
|
60444
|
-
/**
|
|
60445
|
-
* Returns the Trusted Types policy, or null if Trusted Types are not
|
|
60446
|
-
* enabled/supported. The first call to this function will create the policy.
|
|
60447
|
-
*/
|
|
60448
|
-
function getPolicy$1() {
|
|
60449
|
-
if (policy$1 === undefined) {
|
|
60450
|
-
policy$1 = null;
|
|
60451
|
-
if (_global.trustedTypes) {
|
|
60452
|
-
try {
|
|
60453
|
-
policy$1 = _global.trustedTypes.createPolicy('angular', {
|
|
60454
|
-
createHTML: (s) => s,
|
|
60455
|
-
createScript: (s) => s,
|
|
60456
|
-
createScriptURL: (s) => s,
|
|
60457
|
-
});
|
|
60458
|
-
}
|
|
60459
|
-
catch {
|
|
60460
|
-
// trustedTypes.createPolicy throws if called with a name that is
|
|
60461
|
-
// already registered, even in report-only mode. Until the API changes,
|
|
60462
|
-
// catch the error not to break the applications functionally. In such
|
|
60463
|
-
// cases, the code will fall back to using strings.
|
|
60464
|
-
}
|
|
60465
|
-
}
|
|
60466
|
-
}
|
|
60467
|
-
return policy$1;
|
|
60468
|
-
}
|
|
60469
60390
|
/**
|
|
60470
60391
|
* Unsafely promote a string to a TrustedHTML, falling back to strings when
|
|
60471
60392
|
* Trusted Types are not available.
|
|
@@ -60476,7 +60397,7 @@ function getPolicy$1() {
|
|
|
60476
60397
|
* element.innerHTML.
|
|
60477
60398
|
*/
|
|
60478
60399
|
function trustedHTMLFromString(html) {
|
|
60479
|
-
return
|
|
60400
|
+
return html;
|
|
60480
60401
|
}
|
|
60481
60402
|
/**
|
|
60482
60403
|
* Unsafely promote a string to a TrustedScriptURL, falling back to strings
|
|
@@ -60488,49 +60409,7 @@ function trustedHTMLFromString(html) {
|
|
|
60488
60409
|
* assigning to script.src.
|
|
60489
60410
|
*/
|
|
60490
60411
|
function trustedScriptURLFromString(url) {
|
|
60491
|
-
return
|
|
60492
|
-
}
|
|
60493
|
-
|
|
60494
|
-
/**
|
|
60495
|
-
* @fileoverview
|
|
60496
|
-
* A module to facilitate use of a Trusted Types policy internally within
|
|
60497
|
-
* Angular specifically for bypassSecurityTrust* and custom sanitizers. It
|
|
60498
|
-
* lazily constructs the Trusted Types policy, providing helper utilities for
|
|
60499
|
-
* promoting strings to Trusted Types. When Trusted Types are not available,
|
|
60500
|
-
* strings are used as a fallback.
|
|
60501
|
-
* @security All use of this module is security-sensitive and should go through
|
|
60502
|
-
* security review.
|
|
60503
|
-
*/
|
|
60504
|
-
/**
|
|
60505
|
-
* The Trusted Types policy, or null if Trusted Types are not
|
|
60506
|
-
* enabled/supported, or undefined if the policy has not been created yet.
|
|
60507
|
-
*/
|
|
60508
|
-
let policy;
|
|
60509
|
-
/**
|
|
60510
|
-
* Returns the Trusted Types policy, or null if Trusted Types are not
|
|
60511
|
-
* enabled/supported. The first call to this function will create the policy.
|
|
60512
|
-
*/
|
|
60513
|
-
function getPolicy() {
|
|
60514
|
-
if (policy === undefined) {
|
|
60515
|
-
policy = null;
|
|
60516
|
-
if (_global.trustedTypes) {
|
|
60517
|
-
try {
|
|
60518
|
-
policy = _global.trustedTypes
|
|
60519
|
-
.createPolicy('angular#unsafe-bypass', {
|
|
60520
|
-
createHTML: (s) => s,
|
|
60521
|
-
createScript: (s) => s,
|
|
60522
|
-
createScriptURL: (s) => s,
|
|
60523
|
-
});
|
|
60524
|
-
}
|
|
60525
|
-
catch {
|
|
60526
|
-
// trustedTypes.createPolicy throws if called with a name that is
|
|
60527
|
-
// already registered, even in report-only mode. Until the API changes,
|
|
60528
|
-
// catch the error not to break the applications functionally. In such
|
|
60529
|
-
// cases, the code will fall back to using strings.
|
|
60530
|
-
}
|
|
60531
|
-
}
|
|
60532
|
-
}
|
|
60533
|
-
return policy;
|
|
60412
|
+
return url;
|
|
60534
60413
|
}
|
|
60535
60414
|
/**
|
|
60536
60415
|
* Unsafely promote a string to a TrustedHTML, falling back to strings when
|
|
@@ -60541,7 +60420,7 @@ function getPolicy() {
|
|
|
60541
60420
|
* bypassSecurityTrust* functions.
|
|
60542
60421
|
*/
|
|
60543
60422
|
function trustedHTMLFromStringBypass(html) {
|
|
60544
|
-
return
|
|
60423
|
+
return html;
|
|
60545
60424
|
}
|
|
60546
60425
|
/**
|
|
60547
60426
|
* Unsafely promote a string to a TrustedScript, falling back to strings when
|
|
@@ -60552,7 +60431,7 @@ function trustedHTMLFromStringBypass(html) {
|
|
|
60552
60431
|
* bypassSecurityTrust* functions.
|
|
60553
60432
|
*/
|
|
60554
60433
|
function trustedScriptFromStringBypass(script) {
|
|
60555
|
-
return
|
|
60434
|
+
return script;
|
|
60556
60435
|
}
|
|
60557
60436
|
/**
|
|
60558
60437
|
* Unsafely promote a string to a TrustedScriptURL, falling back to strings
|
|
@@ -60563,7 +60442,7 @@ function trustedScriptFromStringBypass(script) {
|
|
|
60563
60442
|
* bypassSecurityTrust* functions.
|
|
60564
60443
|
*/
|
|
60565
60444
|
function trustedScriptURLFromStringBypass(url) {
|
|
60566
|
-
return
|
|
60445
|
+
return url;
|
|
60567
60446
|
}
|
|
60568
60447
|
|
|
60569
60448
|
class SafeValueImpl {
|
|
@@ -97323,7 +97202,6 @@ var FormWidgetType;
|
|
|
97323
97202
|
FormWidgetType["CHIPS"] = "chips";
|
|
97324
97203
|
FormWidgetType["COLORPICKER"] = "colorpicker";
|
|
97325
97204
|
FormWidgetType["CURRENCY"] = "currency";
|
|
97326
|
-
FormWidgetType["CUSTOMWIDGET"] = "custom-widget";
|
|
97327
97205
|
FormWidgetType["DATE"] = "date";
|
|
97328
97206
|
FormWidgetType["DATETIME"] = "datetime";
|
|
97329
97207
|
FormWidgetType["NUMBER"] = "number";
|
|
@@ -97425,9 +97303,6 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
|
|
|
97425
97303
|
case FormWidgetType.CURRENCY:
|
|
97426
97304
|
tmpl = `<div wmCurrency ${attrs.get('required') === 'true' ? 'required=true' : ''} ${updateOnTmpl} ${innerTmpl} ${showTmpl}></div>`;
|
|
97427
97305
|
break;
|
|
97428
|
-
case FormWidgetType.CUSTOMWIDGET:
|
|
97429
|
-
tmpl = `<div wmWidgetContainer customWidgetContainer ${attrs.get('required') === 'true' ? 'required=true' : ''} ${updateOnTmpl} ${innerTmpl} ${showTmpl}></div>`;
|
|
97430
|
-
break;
|
|
97431
97306
|
case FormWidgetType.DATE:
|
|
97432
97307
|
tmpl = `<div wmDate ${attrs.get('required') === 'true' ? 'required=true' : ''} dataentrymode="${attrs.get('dataentrymode')}" ${innerTmpl} ${showTmpl}></div>`;
|
|
97433
97308
|
break;
|
|
@@ -97511,8 +97386,6 @@ const getRequiredFormWidget = (widgetType) => {
|
|
|
97511
97386
|
return 'wm-colorpicker';
|
|
97512
97387
|
case FormWidgetType.CURRENCY:
|
|
97513
97388
|
return 'wm-currency';
|
|
97514
|
-
case FormWidgetType.CUSTOMWIDGET:
|
|
97515
|
-
return 'wm-custom-widget';
|
|
97516
97389
|
case FormWidgetType.DATE:
|
|
97517
97390
|
return 'wm-date';
|
|
97518
97391
|
case FormWidgetType.DATETIME:
|
|
@@ -98263,7 +98136,6 @@ var ComponentType;
|
|
|
98263
98136
|
ComponentType[ComponentType["PAGE"] = 0] = "PAGE";
|
|
98264
98137
|
ComponentType[ComponentType["PREFAB"] = 1] = "PREFAB";
|
|
98265
98138
|
ComponentType[ComponentType["PARTIAL"] = 2] = "PARTIAL";
|
|
98266
|
-
ComponentType[ComponentType["WIDGET"] = 3] = "WIDGET";
|
|
98267
98139
|
})(ComponentType || (ComponentType = {}));
|
|
98268
98140
|
var Operation;
|
|
98269
98141
|
(function (Operation) {
|
|
@@ -98350,14 +98222,6 @@ const REGEX = {
|
|
|
98350
98222
|
const NUMBER_TYPES = ['int', DataType.INTEGER, DataType.FLOAT, DataType.DOUBLE, DataType.LONG, DataType.SHORT, DataType.BYTE, DataType.BIG_INTEGER, DataType.BIG_DECIMAL];
|
|
98351
98223
|
const now = new Date();
|
|
98352
98224
|
const CURRENT_DATE = 'CURRENT_DATE';
|
|
98353
|
-
const getNavClass = (suffix) => {
|
|
98354
|
-
const APP_NAV_CLASS_PREFIX = 'app-nav-';
|
|
98355
|
-
return APP_NAV_CLASS_PREFIX + suffix;
|
|
98356
|
-
};
|
|
98357
|
-
const getSheetPositionClass = (suffix) => {
|
|
98358
|
-
const SHEET_POSITION_CLASS_PREFIX = 'sheet-position-';
|
|
98359
|
-
return SHEET_POSITION_CLASS_PREFIX + suffix;
|
|
98360
|
-
};
|
|
98361
98225
|
const isDefined = v => 'undefined' !== typeof v;
|
|
98362
98226
|
const isObject = v => null !== v && 'object' === typeof v;
|
|
98363
98227
|
const toBoolean = (val, identity) => ((val && val !== 'false') ? true : (identity ? val === identity : false));
|
|
@@ -98989,7 +98853,6 @@ const isEqualWithFields = (obj1, obj2, compareBy) => {
|
|
|
98989
98853
|
// compareBy can be 'id' or 'id1, id2' or 'id1, id2:id3'
|
|
98990
98854
|
// Split the compareby comma separated values
|
|
98991
98855
|
let _compareBy = isArray$1(compareBy) ? compareBy : split(compareBy, ',');
|
|
98992
|
-
//@ts-ignore
|
|
98993
98856
|
_compareBy = map$1(_compareBy, trim);
|
|
98994
98857
|
return isEqualWith(obj1, obj2, function (o1, o2) {
|
|
98995
98858
|
return every(_compareBy, function (cb) {
|
|
@@ -99807,11 +99670,9 @@ var Utils = /*#__PURE__*/Object.freeze({
|
|
|
99807
99670
|
getFormattedDate: getFormattedDate,
|
|
99808
99671
|
getMomentLocaleObject: getMomentLocaleObject,
|
|
99809
99672
|
getNativeDateObject: getNativeDateObject,
|
|
99810
|
-
getNavClass: getNavClass,
|
|
99811
99673
|
getResourceURL: getResourceURL,
|
|
99812
99674
|
getRouteNameFromLink: getRouteNameFromLink,
|
|
99813
99675
|
getSessionStorageItem: getSessionStorageItem,
|
|
99814
|
-
getSheetPositionClass: getSheetPositionClass,
|
|
99815
99676
|
getUrlParams: getUrlParams,
|
|
99816
99677
|
getValidDateObject: getValidDateObject,
|
|
99817
99678
|
getValidJSON: getValidJSON,
|
|
@@ -101082,7 +100943,6 @@ const LEFT_PANEL_MODULE = [{ from: '@wm/components/page/left-panel', name: 'Left
|
|
|
101082
100943
|
{ from: '@wm/mobile/components/page/left-panel', name: 'LeftPanelModule', as: 'WM_MobileLeftPanelModule', platformType: 'MOBILE' }];
|
|
101083
100944
|
const LIST_MODULE = [...PAGINATION_MODULE, ...INPUT_MODULE, { from: '@wm/components/data/list', name: 'ListModule' }];
|
|
101084
100945
|
const LOGIN_MODULE = [{ from: '@wm/components/advanced/login', name: 'LoginModule' }];
|
|
101085
|
-
const CUSTOM_MODULE = [{ from: '@wm/components/advanced/custom', name: 'CustomModule' }];
|
|
101086
100946
|
const MOBILE_NAV_BAR_MODULE = [...LEFT_PANEL_MODULE, ...SEARCH_MODULE, ...PAGE_MODULE, { from: '@wm/mobile/components/page/mobile-navbar', name: 'MobileNavbarModule' }];
|
|
101087
100947
|
const MEDIA_LIST_MODULE = [...BASIC_MODULE, ...PAGE_MODULE, ...MOBILE_NAV_BAR_MODULE, { from: '@wm/mobile/components/data/media-list', name: 'MediaListModule' }];
|
|
101088
100948
|
const MOBILE_TAB_BAR_MODULE = [{ from: '@wm/mobile/components/page/tab-bar', name: 'TabBarModule' }];
|
|
@@ -101155,7 +101015,6 @@ const WIDGET_IMPORTS = new Map([
|
|
|
101155
101015
|
['wm-list', LIST_MODULE],
|
|
101156
101016
|
['wm-livetable', LIVE_TABLE_MODULE],
|
|
101157
101017
|
['wm-login', LOGIN_MODULE],
|
|
101158
|
-
['wm-custom', CUSTOM_MODULE],
|
|
101159
101018
|
['wm-logindialog', LOGIN_DIALOG_MODULE],
|
|
101160
101019
|
['wm-marquee', MARQUEE_MODULE],
|
|
101161
101020
|
['wm-menu', MENU_MODULE],
|
|
@@ -101669,9 +101528,6 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
|
|
|
101669
101528
|
else if (componentType === 2 || componentType === 'PARTIAL') {
|
|
101670
101529
|
s = `${prefix} app-partial-${componentName} ${s}`;
|
|
101671
101530
|
}
|
|
101672
|
-
else if (componentType === 3 || componentType === 'WIDGET') {
|
|
101673
|
-
s = `${prefix} app-custom-${componentName} ${s}`;
|
|
101674
|
-
}
|
|
101675
101531
|
return s;
|
|
101676
101532
|
}).join(',');
|
|
101677
101533
|
}
|
|
@@ -101687,13 +101543,13 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
|
|
|
101687
101543
|
|
|
101688
101544
|
const carouselTagName = 'carousel';
|
|
101689
101545
|
const dataSetKey$5 = 'dataset';
|
|
101690
|
-
const idGen$
|
|
101546
|
+
const idGen$t = new IDGenerator('wm_carousel_ref_');
|
|
101691
101547
|
const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
|
101692
101548
|
register('wm-carousel', () => {
|
|
101693
101549
|
return {
|
|
101694
101550
|
pre: (attrs, shared) => {
|
|
101695
101551
|
// generating unique Id for the carousel
|
|
101696
|
-
const counter = idGen$
|
|
101552
|
+
const counter = idGen$t.nextUid();
|
|
101697
101553
|
shared.set('carousel_ref', counter);
|
|
101698
101554
|
return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
|
|
101699
101555
|
},
|
|
@@ -101761,11 +101617,11 @@ var carouselTemplate_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
101761
101617
|
default: carouselTemplate_build
|
|
101762
101618
|
});
|
|
101763
101619
|
|
|
101764
|
-
const tagName$
|
|
101620
|
+
const tagName$1C = 'div';
|
|
101765
101621
|
register('wm-login', () => {
|
|
101766
101622
|
return {
|
|
101767
|
-
pre: attrs => `<${tagName$
|
|
101768
|
-
post: () => `</${tagName$
|
|
101623
|
+
pre: attrs => `<${tagName$1C} wmLogin ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction">`,
|
|
101624
|
+
post: () => `</${tagName$1C}>`,
|
|
101769
101625
|
provide: () => {
|
|
101770
101626
|
const provider = new Map();
|
|
101771
101627
|
provider.set('isLogin', true);
|
|
@@ -101780,11 +101636,11 @@ var login_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
101780
101636
|
default: login_build
|
|
101781
101637
|
});
|
|
101782
101638
|
|
|
101783
|
-
const tagName$
|
|
101639
|
+
const tagName$1B = 'marquee';
|
|
101784
101640
|
register('wm-marquee', () => {
|
|
101785
101641
|
return {
|
|
101786
|
-
pre: attrs => `<${tagName$
|
|
101787
|
-
post: () => `</${tagName$
|
|
101642
|
+
pre: attrs => `<${tagName$1B} onmouseover="this.stop();" onmouseout="this.start();" wmMarquee role="marquee" aria-live="off" ${getAttrMarkup(attrs)}>`,
|
|
101643
|
+
post: () => `</${tagName$1B}>`
|
|
101788
101644
|
};
|
|
101789
101645
|
});
|
|
101790
101646
|
var marquee_build = () => { };
|
|
@@ -101794,15 +101650,15 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
101794
101650
|
default: marquee_build
|
|
101795
101651
|
});
|
|
101796
101652
|
|
|
101797
|
-
const tagName$
|
|
101798
|
-
const idGen$
|
|
101653
|
+
const tagName$1A = 'a';
|
|
101654
|
+
const idGen$s = new IDGenerator('wm_anchor');
|
|
101799
101655
|
register('wm-anchor', () => {
|
|
101800
101656
|
return {
|
|
101801
101657
|
pre: (attrs) => {
|
|
101802
|
-
const counter = idGen$
|
|
101803
|
-
return `<${tagName$
|
|
101658
|
+
const counter = idGen$s.nextUid();
|
|
101659
|
+
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)}>`;
|
|
101804
101660
|
},
|
|
101805
|
-
post: () => `</${tagName$
|
|
101661
|
+
post: () => `</${tagName$1A}>`
|
|
101806
101662
|
};
|
|
101807
101663
|
});
|
|
101808
101664
|
var anchor_build = () => { };
|
|
@@ -101812,11 +101668,11 @@ var anchor_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
101812
101668
|
default: anchor_build
|
|
101813
101669
|
});
|
|
101814
101670
|
|
|
101815
|
-
const tagName$
|
|
101671
|
+
const tagName$1z = 'div';
|
|
101816
101672
|
register('wm-audio', () => {
|
|
101817
101673
|
return {
|
|
101818
|
-
pre: attrs => `<${tagName$
|
|
101819
|
-
post: () => `</${tagName$
|
|
101674
|
+
pre: attrs => `<${tagName$1z} wmAudio ${getAttrMarkup(attrs)}>`,
|
|
101675
|
+
post: () => `</${tagName$1z}>`
|
|
101820
101676
|
};
|
|
101821
101677
|
});
|
|
101822
101678
|
var audio_build = () => { };
|
|
@@ -101826,15 +101682,15 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
101826
101682
|
default: audio_build
|
|
101827
101683
|
});
|
|
101828
101684
|
|
|
101829
|
-
const tagName$
|
|
101830
|
-
const idGen$
|
|
101685
|
+
const tagName$1y = 'div';
|
|
101686
|
+
const idGen$r = new IDGenerator('wm_html');
|
|
101831
101687
|
register('wm-html', () => {
|
|
101832
101688
|
return {
|
|
101833
101689
|
pre: (attrs) => {
|
|
101834
|
-
const counter = idGen$
|
|
101835
|
-
return `<${tagName$
|
|
101690
|
+
const counter = idGen$r.nextUid();
|
|
101691
|
+
return `<${tagName$1y} wmHtml #${counter}="wmHtml" role="application" [attr.aria-label]="${counter}.arialabel || 'HTML content'" ${getAttrMarkup(attrs)}>`;
|
|
101836
101692
|
},
|
|
101837
|
-
post: () => `</${tagName$
|
|
101693
|
+
post: () => `</${tagName$1y}>`
|
|
101838
101694
|
};
|
|
101839
101695
|
});
|
|
101840
101696
|
var html_build = () => { };
|
|
@@ -101844,11 +101700,11 @@ var html_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
101844
101700
|
default: html_build
|
|
101845
101701
|
});
|
|
101846
101702
|
|
|
101847
|
-
const tagName$
|
|
101703
|
+
const tagName$1x = 'span';
|
|
101848
101704
|
register('wm-icon', () => {
|
|
101849
101705
|
return {
|
|
101850
|
-
pre: attrs => `<${tagName$
|
|
101851
|
-
post: () => `</${tagName$
|
|
101706
|
+
pre: attrs => `<${tagName$1x} wmIcon ${getAttrMarkup(attrs)}>`,
|
|
101707
|
+
post: () => `</${tagName$1x}>`
|
|
101852
101708
|
};
|
|
101853
101709
|
});
|
|
101854
101710
|
var icon_build = () => { };
|
|
@@ -101858,11 +101714,11 @@ var icon_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
101858
101714
|
default: icon_build
|
|
101859
101715
|
});
|
|
101860
101716
|
|
|
101861
|
-
const tagName$
|
|
101717
|
+
const tagName$1w = 'div';
|
|
101862
101718
|
register('wm-iframe', () => {
|
|
101863
101719
|
return {
|
|
101864
|
-
pre: attrs => `<${tagName$
|
|
101865
|
-
post: () => `</${tagName$
|
|
101720
|
+
pre: attrs => `<${tagName$1w} wmIframe ${getAttrMarkup(attrs)}>`,
|
|
101721
|
+
post: () => `</${tagName$1w}>`
|
|
101866
101722
|
};
|
|
101867
101723
|
});
|
|
101868
101724
|
var iframe_build = () => { };
|
|
@@ -101872,8 +101728,8 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
101872
101728
|
default: iframe_build
|
|
101873
101729
|
});
|
|
101874
101730
|
|
|
101875
|
-
let tagName$
|
|
101876
|
-
const idGen$
|
|
101731
|
+
let tagName$1v = 'p';
|
|
101732
|
+
const idGen$q = new IDGenerator('wm_label');
|
|
101877
101733
|
register('wm-label', () => {
|
|
101878
101734
|
return {
|
|
101879
101735
|
pre: (attrs) => {
|
|
@@ -101882,15 +101738,15 @@ register('wm-label', () => {
|
|
|
101882
101738
|
const classList = attrs.get('class') ? attrs.get('class').split(' ').filter(element => ["h1", "h2", "h3", "h4", "h5", "h6", "p"].includes(element)) : [];
|
|
101883
101739
|
attrs.set('type', classList.length ? classList[0] : "p");
|
|
101884
101740
|
}
|
|
101885
|
-
tagName$
|
|
101741
|
+
tagName$1v = attrs.get('type');
|
|
101886
101742
|
}
|
|
101887
101743
|
else {
|
|
101888
|
-
tagName$
|
|
101744
|
+
tagName$1v = 'label';
|
|
101889
101745
|
}
|
|
101890
|
-
const counter = idGen$
|
|
101891
|
-
return `<${tagName$
|
|
101746
|
+
const counter = idGen$q.nextUid();
|
|
101747
|
+
return `<${tagName$1v} wmLabel #${counter}="wmLabel" ${getAttrMarkup(attrs)}>`;
|
|
101892
101748
|
},
|
|
101893
|
-
post: () => `</${tagName$
|
|
101749
|
+
post: () => `</${tagName$1v}>`
|
|
101894
101750
|
};
|
|
101895
101751
|
});
|
|
101896
101752
|
var label_build = () => { };
|
|
@@ -101900,13 +101756,13 @@ var label_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
101900
101756
|
default: label_build
|
|
101901
101757
|
});
|
|
101902
101758
|
|
|
101903
|
-
const tagName$
|
|
101904
|
-
const idGen$
|
|
101759
|
+
const tagName$1u = 'img';
|
|
101760
|
+
const idGen$p = new IDGenerator('wm_picture');
|
|
101905
101761
|
register('wm-picture', () => {
|
|
101906
101762
|
return {
|
|
101907
101763
|
pre: (attrs) => {
|
|
101908
|
-
const counter = idGen$
|
|
101909
|
-
return `<${tagName$
|
|
101764
|
+
const counter = idGen$p.nextUid();
|
|
101765
|
+
return `<${tagName$1u} wmPicture #${counter}="wmPicture" [alt]="${counter}.alttext" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.arialabel || 'Image'" ${getAttrMarkup(attrs)}>`;
|
|
101910
101766
|
}
|
|
101911
101767
|
};
|
|
101912
101768
|
});
|
|
@@ -101917,15 +101773,15 @@ var picture_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
101917
101773
|
default: picture_build
|
|
101918
101774
|
});
|
|
101919
101775
|
|
|
101920
|
-
const tagName$
|
|
101921
|
-
const idGen$
|
|
101776
|
+
const tagName$1t = 'div';
|
|
101777
|
+
const idGen$o = new IDGenerator('wm_spinner');
|
|
101922
101778
|
register('wm-spinner', () => {
|
|
101923
101779
|
return {
|
|
101924
101780
|
pre: (attrs) => {
|
|
101925
|
-
const counter = idGen$
|
|
101926
|
-
return `<${tagName$
|
|
101781
|
+
const counter = idGen$o.nextUid();
|
|
101782
|
+
return `<${tagName$1t} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.arialabel || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
|
|
101927
101783
|
},
|
|
101928
|
-
post: () => `</${tagName$
|
|
101784
|
+
post: () => `</${tagName$1t}>`
|
|
101929
101785
|
};
|
|
101930
101786
|
});
|
|
101931
101787
|
var spinner_build = () => { };
|
|
@@ -101935,7 +101791,7 @@ var spinner_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
101935
101791
|
default: spinner_build
|
|
101936
101792
|
});
|
|
101937
101793
|
|
|
101938
|
-
const tagName$
|
|
101794
|
+
const tagName$1s = 'div';
|
|
101939
101795
|
const getAttr = (node, attrName) => node.attrs.find(attr => attr.name === attrName);
|
|
101940
101796
|
const getAttrValue = (node, attrName) => {
|
|
101941
101797
|
const match = getAttr(node, attrName);
|
|
@@ -101963,8 +101819,8 @@ register('wm-progress-bar', () => {
|
|
|
101963
101819
|
}
|
|
101964
101820
|
}
|
|
101965
101821
|
},
|
|
101966
|
-
pre: attrs => `<${tagName$
|
|
101967
|
-
post: () => `</${tagName$
|
|
101822
|
+
pre: attrs => `<${tagName$1s} wmProgressBar ${getAttrMarkup(attrs)}>`,
|
|
101823
|
+
post: () => `</${tagName$1s}>`
|
|
101968
101824
|
};
|
|
101969
101825
|
});
|
|
101970
101826
|
var progressBar_build = () => { };
|
|
@@ -101974,15 +101830,15 @@ var progressBar_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
101974
101830
|
default: progressBar_build
|
|
101975
101831
|
});
|
|
101976
101832
|
|
|
101977
|
-
const tagName$
|
|
101978
|
-
const idGen$
|
|
101833
|
+
const tagName$1r = 'div';
|
|
101834
|
+
const idGen$n = new IDGenerator('wm_progress_circle');
|
|
101979
101835
|
register('wm-progress-circle', () => {
|
|
101980
101836
|
return {
|
|
101981
101837
|
pre: (attrs) => {
|
|
101982
|
-
const counter = idGen$
|
|
101983
|
-
return `<${tagName$
|
|
101838
|
+
const counter = idGen$n.nextUid();
|
|
101839
|
+
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)}>`;
|
|
101984
101840
|
},
|
|
101985
|
-
post: () => `</${tagName$
|
|
101841
|
+
post: () => `</${tagName$1r}>`
|
|
101986
101842
|
};
|
|
101987
101843
|
});
|
|
101988
101844
|
var progressCircle_build = () => { };
|
|
@@ -101992,15 +101848,15 @@ var progressCircle_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
101992
101848
|
default: progressCircle_build
|
|
101993
101849
|
});
|
|
101994
101850
|
|
|
101995
|
-
const tagName$
|
|
101996
|
-
const idGen$
|
|
101851
|
+
const tagName$1q = 'div';
|
|
101852
|
+
const idGen$m = new IDGenerator('wm_richtexteditor');
|
|
101997
101853
|
register('wm-richtexteditor', () => {
|
|
101998
101854
|
return {
|
|
101999
101855
|
pre: (attrs) => {
|
|
102000
|
-
const counter = idGen$
|
|
102001
|
-
return `<${tagName$
|
|
101856
|
+
const counter = idGen$m.nextUid();
|
|
101857
|
+
return `<${tagName$1q} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.arialabel || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
|
|
102002
101858
|
},
|
|
102003
|
-
post: () => `</${tagName$
|
|
101859
|
+
post: () => `</${tagName$1q}>`
|
|
102004
101860
|
};
|
|
102005
101861
|
});
|
|
102006
101862
|
var richTextEditor_build = () => { };
|
|
@@ -102010,11 +101866,11 @@ var richTextEditor_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102010
101866
|
default: richTextEditor_build
|
|
102011
101867
|
});
|
|
102012
101868
|
|
|
102013
|
-
const tagName$
|
|
101869
|
+
const tagName$1p = 'div';
|
|
102014
101870
|
register('wm-search', () => {
|
|
102015
101871
|
return {
|
|
102016
|
-
pre: attrs => `<${tagName$
|
|
102017
|
-
post: () => `</${tagName$
|
|
101872
|
+
pre: attrs => `<${tagName$1p} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
101873
|
+
post: () => `</${tagName$1p}>`
|
|
102018
101874
|
};
|
|
102019
101875
|
});
|
|
102020
101876
|
var search_build = () => { };
|
|
@@ -102024,11 +101880,11 @@ var search_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102024
101880
|
default: search_build
|
|
102025
101881
|
});
|
|
102026
101882
|
|
|
102027
|
-
const tagName$
|
|
101883
|
+
const tagName$1o = 'ul';
|
|
102028
101884
|
register('wm-tree', () => {
|
|
102029
101885
|
return {
|
|
102030
|
-
pre: attrs => `<${tagName$
|
|
102031
|
-
post: () => `</${tagName$
|
|
101886
|
+
pre: attrs => `<${tagName$1o} wmTree class="ztree" ${getAttrMarkup(attrs)}>`,
|
|
101887
|
+
post: () => `</${tagName$1o}>`
|
|
102032
101888
|
};
|
|
102033
101889
|
});
|
|
102034
101890
|
|
|
@@ -102036,11 +101892,11 @@ var tree_build = /*#__PURE__*/Object.freeze({
|
|
|
102036
101892
|
__proto__: null
|
|
102037
101893
|
});
|
|
102038
101894
|
|
|
102039
|
-
const tagName$
|
|
101895
|
+
const tagName$1n = 'div';
|
|
102040
101896
|
register('wm-card', () => {
|
|
102041
101897
|
return {
|
|
102042
|
-
pre: attrs => `<${tagName$
|
|
102043
|
-
post: () => `</${tagName$
|
|
101898
|
+
pre: attrs => `<${tagName$1n} wmCard ${getAttrMarkup(attrs)}>`,
|
|
101899
|
+
post: () => `</${tagName$1n}>`
|
|
102044
101900
|
};
|
|
102045
101901
|
});
|
|
102046
101902
|
var card_build = () => { };
|
|
@@ -102050,11 +101906,11 @@ var card_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102050
101906
|
default: card_build
|
|
102051
101907
|
});
|
|
102052
101908
|
|
|
102053
|
-
const tagName$
|
|
101909
|
+
const tagName$1m = 'div';
|
|
102054
101910
|
register('wm-card-content', () => {
|
|
102055
101911
|
return {
|
|
102056
|
-
pre: attrs => `<${tagName$
|
|
102057
|
-
post: () => `</${tagName$
|
|
101912
|
+
pre: attrs => `<${tagName$1m} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,
|
|
101913
|
+
post: () => `</${tagName$1m}>`
|
|
102058
101914
|
};
|
|
102059
101915
|
});
|
|
102060
101916
|
var cardContent_build = () => { };
|
|
@@ -102064,11 +101920,11 @@ var cardContent_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102064
101920
|
default: cardContent_build
|
|
102065
101921
|
});
|
|
102066
101922
|
|
|
102067
|
-
const tagName$
|
|
101923
|
+
const tagName$1l = 'div';
|
|
102068
101924
|
register('wm-card-actions', () => {
|
|
102069
101925
|
return {
|
|
102070
|
-
pre: attrs => `<${tagName$
|
|
102071
|
-
post: () => `</${tagName$
|
|
101926
|
+
pre: attrs => `<${tagName$1l} wmCardActions ${getAttrMarkup(attrs)}>`,
|
|
101927
|
+
post: () => `</${tagName$1l}>`
|
|
102072
101928
|
};
|
|
102073
101929
|
});
|
|
102074
101930
|
var cardActions_build = () => { };
|
|
@@ -102078,11 +101934,11 @@ var cardActions_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102078
101934
|
default: cardActions_build
|
|
102079
101935
|
});
|
|
102080
101936
|
|
|
102081
|
-
const tagName$
|
|
101937
|
+
const tagName$1k = 'div';
|
|
102082
101938
|
register('wm-card-footer', () => {
|
|
102083
101939
|
return {
|
|
102084
|
-
pre: attrs => `<${tagName$
|
|
102085
|
-
post: () => `</${tagName$
|
|
101940
|
+
pre: attrs => `<${tagName$1k} wmCardFooter ${getAttrMarkup(attrs)}>`,
|
|
101941
|
+
post: () => `</${tagName$1k}>`
|
|
102086
101942
|
};
|
|
102087
101943
|
});
|
|
102088
101944
|
var cardFooter_build = () => { };
|
|
@@ -102092,11 +101948,11 @@ var cardFooter_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102092
101948
|
default: cardFooter_build
|
|
102093
101949
|
});
|
|
102094
101950
|
|
|
102095
|
-
const tagName$
|
|
101951
|
+
const tagName$1j = 'div';
|
|
102096
101952
|
register('wm-chart', () => {
|
|
102097
101953
|
return {
|
|
102098
|
-
pre: attrs => `<${tagName$
|
|
102099
|
-
post: () => `</${tagName$
|
|
101954
|
+
pre: attrs => `<${tagName$1j} wmChart redrawable aria-label="${attrs.get('type')} Chart" ${getAttrMarkup(attrs)}>`,
|
|
101955
|
+
post: () => `</${tagName$1j}>`
|
|
102100
101956
|
};
|
|
102101
101957
|
});
|
|
102102
101958
|
var chart_build = () => { };
|
|
@@ -102106,19 +101962,19 @@ var chart_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102106
101962
|
default: chart_build
|
|
102107
101963
|
});
|
|
102108
101964
|
|
|
102109
|
-
const tagName$
|
|
101965
|
+
const tagName$1i = 'div';
|
|
102110
101966
|
const dataSetKey$4 = 'dataset';
|
|
102111
|
-
const idGen$
|
|
101967
|
+
const idGen$l = new IDGenerator('wm_accordion_ref_');
|
|
102112
101968
|
const isDynamicAccordion = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
|
102113
101969
|
register('wm-accordion', () => {
|
|
102114
101970
|
return {
|
|
102115
101971
|
pre: (attrs, shared) => {
|
|
102116
101972
|
// generating unique Id for the accordion
|
|
102117
|
-
const counter = idGen$
|
|
101973
|
+
const counter = idGen$l.nextUid();
|
|
102118
101974
|
shared.set('accordion_ref', counter);
|
|
102119
|
-
return `<${tagName$
|
|
101975
|
+
return `<${tagName$1i} wmAccordion #${counter}="wmAccordion" ${getAttrMarkup(attrs)}>`;
|
|
102120
101976
|
},
|
|
102121
|
-
post: () => `</${tagName$
|
|
101977
|
+
post: () => `</${tagName$1i}>`,
|
|
102122
101978
|
template: (node, shared) => {
|
|
102123
101979
|
// check if the accordion is dynamic
|
|
102124
101980
|
if (isDynamicAccordion(node)) {
|
|
@@ -102149,15 +102005,15 @@ var accordion_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102149
102005
|
default: accordion_build
|
|
102150
102006
|
});
|
|
102151
102007
|
|
|
102152
|
-
const tagName$
|
|
102153
|
-
const idGen$
|
|
102008
|
+
const tagName$1h = 'div';
|
|
102009
|
+
const idGen$k = new IDGenerator('wm_accordionpane');
|
|
102154
102010
|
register('wm-accordionpane', () => {
|
|
102155
102011
|
return {
|
|
102156
102012
|
pre: (attrs) => {
|
|
102157
|
-
const counter = idGen$
|
|
102158
|
-
return `<${tagName$
|
|
102013
|
+
const counter = idGen$k.nextUid();
|
|
102014
|
+
return `<${tagName$1h} #${counter}="wmAccordionPane" wmAccordionPane partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
|
|
102159
102015
|
},
|
|
102160
|
-
post: () => `</${tagName$
|
|
102016
|
+
post: () => `</${tagName$1h}>`
|
|
102161
102017
|
};
|
|
102162
102018
|
});
|
|
102163
102019
|
var accordionPane_build = () => { };
|
|
@@ -102167,11 +102023,11 @@ var accordionPane_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102167
102023
|
default: accordionPane_build
|
|
102168
102024
|
});
|
|
102169
102025
|
|
|
102170
|
-
const tagName$
|
|
102026
|
+
const tagName$1g = 'div';
|
|
102171
102027
|
register('wm-container', () => {
|
|
102172
102028
|
return {
|
|
102173
|
-
pre: attrs => `<${tagName$
|
|
102174
|
-
post: () => `</${tagName$
|
|
102029
|
+
pre: attrs => `<${tagName$1g} wmContainer partialContainer wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
|
|
102030
|
+
post: () => `</${tagName$1g}>`
|
|
102175
102031
|
};
|
|
102176
102032
|
});
|
|
102177
102033
|
var container_build = () => { };
|
|
@@ -102181,11 +102037,11 @@ var container_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102181
102037
|
default: container_build
|
|
102182
102038
|
});
|
|
102183
102039
|
|
|
102184
|
-
const tagName$
|
|
102040
|
+
const tagName$1f = 'div';
|
|
102185
102041
|
register('wm-gridcolumn', () => {
|
|
102186
102042
|
return {
|
|
102187
|
-
pre: attrs => `<${tagName$
|
|
102188
|
-
post: () => `</${tagName$
|
|
102043
|
+
pre: attrs => `<${tagName$1f} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,
|
|
102044
|
+
post: () => `</${tagName$1f}>`
|
|
102189
102045
|
};
|
|
102190
102046
|
});
|
|
102191
102047
|
var layoutGridColumn_build = () => { };
|
|
@@ -102195,11 +102051,11 @@ var layoutGridColumn_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102195
102051
|
default: layoutGridColumn_build
|
|
102196
102052
|
});
|
|
102197
102053
|
|
|
102198
|
-
const tagName$
|
|
102054
|
+
const tagName$1e = 'div';
|
|
102199
102055
|
register('wm-gridrow', () => {
|
|
102200
102056
|
return {
|
|
102201
|
-
pre: attrs => `<${tagName$
|
|
102202
|
-
post: () => `</${tagName$
|
|
102057
|
+
pre: attrs => `<${tagName$1e} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,
|
|
102058
|
+
post: () => `</${tagName$1e}>`
|
|
102203
102059
|
};
|
|
102204
102060
|
});
|
|
102205
102061
|
var layoutGridRow_build = () => { };
|
|
@@ -102209,11 +102065,11 @@ var layoutGridRow_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102209
102065
|
default: layoutGridRow_build
|
|
102210
102066
|
});
|
|
102211
102067
|
|
|
102212
|
-
const tagName$
|
|
102068
|
+
const tagName$1d = 'div';
|
|
102213
102069
|
register('wm-layoutgrid', () => {
|
|
102214
102070
|
return {
|
|
102215
|
-
pre: attrs => `<${tagName$
|
|
102216
|
-
post: () => `</${tagName$
|
|
102071
|
+
pre: attrs => `<${tagName$1d} wmLayoutGrid ${getAttrMarkup(attrs)}>`,
|
|
102072
|
+
post: () => `</${tagName$1d}>`
|
|
102217
102073
|
};
|
|
102218
102074
|
});
|
|
102219
102075
|
var layoutGrid_build = () => { };
|
|
@@ -102223,21 +102079,21 @@ var layoutGrid_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102223
102079
|
default: layoutGrid_build
|
|
102224
102080
|
});
|
|
102225
102081
|
|
|
102226
|
-
const tagName$
|
|
102227
|
-
const idGen$
|
|
102082
|
+
const tagName$1c = 'div';
|
|
102083
|
+
const idGen$j = new IDGenerator('wm_panel');
|
|
102228
102084
|
register('wm-panel', () => {
|
|
102229
102085
|
return {
|
|
102230
102086
|
pre: (attrs) => {
|
|
102231
|
-
const counter = idGen$
|
|
102232
|
-
return `<${tagName$
|
|
102087
|
+
const counter = idGen$j.nextUid();
|
|
102088
|
+
return `<${tagName$1c} wmPanel #${counter}="wmPanel" partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
|
|
102233
102089
|
},
|
|
102234
|
-
post: () => `</${tagName$
|
|
102090
|
+
post: () => `</${tagName$1c}>`
|
|
102235
102091
|
};
|
|
102236
102092
|
});
|
|
102237
102093
|
register('wm-panel-footer', () => {
|
|
102238
102094
|
return {
|
|
102239
|
-
pre: attrs => `<${tagName$
|
|
102240
|
-
post: () => `</${tagName$
|
|
102095
|
+
pre: attrs => `<${tagName$1c} wmPanelFooter ${getAttrMarkup(attrs)}>`,
|
|
102096
|
+
post: () => `</${tagName$1c}>`
|
|
102241
102097
|
};
|
|
102242
102098
|
});
|
|
102243
102099
|
var panel_build = () => { };
|
|
@@ -102247,11 +102103,11 @@ var panel_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102247
102103
|
default: panel_build
|
|
102248
102104
|
});
|
|
102249
102105
|
|
|
102250
|
-
const tagName$
|
|
102106
|
+
const tagName$1b = 'div';
|
|
102251
102107
|
register('wm-segmented-control', () => {
|
|
102252
102108
|
return {
|
|
102253
|
-
pre: attrs => `<${tagName$
|
|
102254
|
-
post: () => `</${tagName$
|
|
102109
|
+
pre: attrs => `<${tagName$1b} wmSegmentedControl ${getAttrMarkup(attrs)}>`,
|
|
102110
|
+
post: () => `</${tagName$1b}>`
|
|
102255
102111
|
};
|
|
102256
102112
|
});
|
|
102257
102113
|
var segmentedControl_build = () => { };
|
|
@@ -102261,11 +102117,11 @@ var segmentedControl_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102261
102117
|
default: segmentedControl_build
|
|
102262
102118
|
});
|
|
102263
102119
|
|
|
102264
|
-
const tagName$
|
|
102120
|
+
const tagName$1a = 'li';
|
|
102265
102121
|
register('wm-segment-content', () => {
|
|
102266
102122
|
return {
|
|
102267
|
-
pre: attrs => `<${tagName$
|
|
102268
|
-
post: () => `</${tagName$
|
|
102123
|
+
pre: attrs => `<${tagName$1a} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
102124
|
+
post: () => `</${tagName$1a}>`
|
|
102269
102125
|
};
|
|
102270
102126
|
});
|
|
102271
102127
|
var segmentContent_build = () => { };
|
|
@@ -102303,19 +102159,19 @@ var repeatTemplate_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102303
102159
|
default: repeatTemplate_build
|
|
102304
102160
|
});
|
|
102305
102161
|
|
|
102306
|
-
const tagName$
|
|
102162
|
+
const tagName$19 = 'div';
|
|
102307
102163
|
const dataSetKey$3 = 'dataset';
|
|
102308
|
-
const idGen$
|
|
102164
|
+
const idGen$i = new IDGenerator('wm_tabs_ref_');
|
|
102309
102165
|
const isDynamicTabs = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
|
102310
102166
|
register('wm-tabs', () => {
|
|
102311
102167
|
return {
|
|
102312
102168
|
pre: (attrs, shared) => {
|
|
102313
102169
|
// generating unique Id for the tabs
|
|
102314
|
-
const counter = idGen$
|
|
102170
|
+
const counter = idGen$i.nextUid();
|
|
102315
102171
|
shared.set('tabs_ref', counter);
|
|
102316
|
-
return `<${tagName$
|
|
102172
|
+
return `<${tagName$19} wmTabs #${counter}="wmTabs" ${getAttrMarkup(attrs)}>`;
|
|
102317
102173
|
},
|
|
102318
|
-
post: () => `</${tagName$
|
|
102174
|
+
post: () => `</${tagName$19}>`,
|
|
102319
102175
|
template: (node, shared) => {
|
|
102320
102176
|
// check if the tab widget is dynamic
|
|
102321
102177
|
if (isDynamicTabs(node)) {
|
|
@@ -102346,11 +102202,11 @@ var tabs_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102346
102202
|
default: tabs_build
|
|
102347
102203
|
});
|
|
102348
102204
|
|
|
102349
|
-
const tagName$
|
|
102205
|
+
const tagName$18 = 'div';
|
|
102350
102206
|
register('wm-tabpane', () => {
|
|
102351
102207
|
return {
|
|
102352
|
-
pre: attrs => `<${tagName$
|
|
102353
|
-
post: () => `</${tagName$
|
|
102208
|
+
pre: attrs => `<${tagName$18} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element="true" role="tabpanel">`,
|
|
102209
|
+
post: () => `</${tagName$18}>`
|
|
102354
102210
|
};
|
|
102355
102211
|
});
|
|
102356
102212
|
var tabPane_build = () => { };
|
|
@@ -102360,11 +102216,11 @@ var tabPane_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102360
102216
|
default: tabPane_build
|
|
102361
102217
|
});
|
|
102362
102218
|
|
|
102363
|
-
const tagName$
|
|
102219
|
+
const tagName$17 = 'div';
|
|
102364
102220
|
register('wm-tile', () => {
|
|
102365
102221
|
return {
|
|
102366
|
-
pre: attrs => `<${tagName$
|
|
102367
|
-
post: () => `</${tagName$
|
|
102222
|
+
pre: attrs => `<${tagName$17} wmTile wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
102223
|
+
post: () => `</${tagName$17}>`
|
|
102368
102224
|
};
|
|
102369
102225
|
});
|
|
102370
102226
|
var tile_build = () => { };
|
|
@@ -102374,11 +102230,11 @@ var tile_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102374
102230
|
default: tile_build
|
|
102375
102231
|
});
|
|
102376
102232
|
|
|
102377
|
-
const tagName$
|
|
102233
|
+
const tagName$16 = 'div';
|
|
102378
102234
|
register('wm-wizard', () => {
|
|
102379
102235
|
return {
|
|
102380
|
-
pre: attrs => `<${tagName$
|
|
102381
|
-
post: () => `</${tagName$
|
|
102236
|
+
pre: attrs => `<${tagName$16} wmWizard ${getAttrMarkup(attrs)}>`,
|
|
102237
|
+
post: () => `</${tagName$16}>`
|
|
102382
102238
|
};
|
|
102383
102239
|
});
|
|
102384
102240
|
var wizard_build = () => { };
|
|
@@ -102388,16 +102244,16 @@ var wizard_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102388
102244
|
default: wizard_build
|
|
102389
102245
|
});
|
|
102390
102246
|
|
|
102391
|
-
const tagName$
|
|
102392
|
-
const idGen$
|
|
102247
|
+
const tagName$15 = 'form';
|
|
102248
|
+
const idGen$h = new IDGenerator('wizard_step_id_');
|
|
102393
102249
|
register('wm-wizardstep', () => {
|
|
102394
102250
|
return {
|
|
102395
102251
|
pre: attrs => {
|
|
102396
|
-
const counter = idGen$
|
|
102397
|
-
return `<${tagName$
|
|
102252
|
+
const counter = idGen$h.nextUid();
|
|
102253
|
+
return `<${tagName$15} wmWizardStep #${counter}="wmWizardStep" ${getAttrMarkup(attrs)}>
|
|
102398
102254
|
<ng-template [ngIf]="${counter}.isInitialized">`;
|
|
102399
102255
|
},
|
|
102400
|
-
post: () => `</ng-template></${tagName$
|
|
102256
|
+
post: () => `</ng-template></${tagName$15}>`
|
|
102401
102257
|
};
|
|
102402
102258
|
});
|
|
102403
102259
|
var wizardStep_build = () => { };
|
|
@@ -102407,15 +102263,15 @@ var wizardStep_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102407
102263
|
default: wizardStep_build
|
|
102408
102264
|
});
|
|
102409
102265
|
|
|
102410
|
-
const tagName$
|
|
102411
|
-
const idGen$
|
|
102266
|
+
const tagName$14 = 'button';
|
|
102267
|
+
const idGen$g = new IDGenerator('wm_barcodescanner');
|
|
102412
102268
|
register('wm-barcodescanner', () => {
|
|
102413
102269
|
return {
|
|
102414
102270
|
pre: (attrs) => {
|
|
102415
|
-
const counter = idGen$
|
|
102416
|
-
return `<${tagName$
|
|
102271
|
+
const counter = idGen$g.nextUid();
|
|
102272
|
+
return `<${tagName$14} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.arialabel || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
|
|
102417
102273
|
},
|
|
102418
|
-
post: () => `</${tagName$
|
|
102274
|
+
post: () => `</${tagName$14}>`
|
|
102419
102275
|
};
|
|
102420
102276
|
});
|
|
102421
102277
|
var barcodeScanner_build = () => { };
|
|
@@ -102425,15 +102281,15 @@ var barcodeScanner_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102425
102281
|
default: barcodeScanner_build
|
|
102426
102282
|
});
|
|
102427
102283
|
|
|
102428
|
-
const tagName$
|
|
102429
|
-
const idGen$
|
|
102284
|
+
const tagName$13 = 'button';
|
|
102285
|
+
const idGen$f = new IDGenerator('wm_camera');
|
|
102430
102286
|
register('wm-camera', () => {
|
|
102431
102287
|
return {
|
|
102432
102288
|
pre: (attrs) => {
|
|
102433
|
-
const counter = idGen$
|
|
102434
|
-
return `<${tagName$
|
|
102289
|
+
const counter = idGen$f.nextUid();
|
|
102290
|
+
return `<${tagName$13} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.arialabel || 'Camera'" ${getAttrMarkup(attrs)}>`;
|
|
102435
102291
|
},
|
|
102436
|
-
post: () => `</${tagName$
|
|
102292
|
+
post: () => `</${tagName$13}>`
|
|
102437
102293
|
};
|
|
102438
102294
|
});
|
|
102439
102295
|
var camera_build = () => { };
|
|
@@ -102443,11 +102299,11 @@ var camera_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102443
102299
|
default: camera_build
|
|
102444
102300
|
});
|
|
102445
102301
|
|
|
102446
|
-
const tagName$
|
|
102302
|
+
const tagName$12 = 'div';
|
|
102447
102303
|
register('wm-alertdialog', () => {
|
|
102448
102304
|
return {
|
|
102449
|
-
pre: attrs => `<${tagName$
|
|
102450
|
-
post: () => `</${tagName$
|
|
102305
|
+
pre: attrs => `<${tagName$12} wmAlertDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
102306
|
+
post: () => `</${tagName$12}>`
|
|
102451
102307
|
};
|
|
102452
102308
|
});
|
|
102453
102309
|
var alertDialog_build = () => { };
|
|
@@ -102457,11 +102313,11 @@ var alertDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102457
102313
|
default: alertDialog_build
|
|
102458
102314
|
});
|
|
102459
102315
|
|
|
102460
|
-
const tagName$
|
|
102316
|
+
const tagName$11 = 'div';
|
|
102461
102317
|
register('wm-confirmdialog', () => {
|
|
102462
102318
|
return {
|
|
102463
|
-
pre: attrs => `<${tagName$
|
|
102464
|
-
post: () => `</${tagName$
|
|
102319
|
+
pre: attrs => `<${tagName$11} wmConfirmDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
102320
|
+
post: () => `</${tagName$11}>`
|
|
102465
102321
|
};
|
|
102466
102322
|
});
|
|
102467
102323
|
var confirmDialog_build = () => { };
|
|
@@ -102471,11 +102327,11 @@ var confirmDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102471
102327
|
default: confirmDialog_build
|
|
102472
102328
|
});
|
|
102473
102329
|
|
|
102474
|
-
const tagName$
|
|
102330
|
+
const tagName$10 = 'div';
|
|
102475
102331
|
register('wm-dialogactions', () => {
|
|
102476
102332
|
return {
|
|
102477
|
-
pre: attrs => `<ng-template #dialogFooter><${tagName$
|
|
102478
|
-
post: () => `</${tagName$
|
|
102333
|
+
pre: attrs => `<ng-template #dialogFooter><${tagName$10} wmDialogFooter data-identfier="actions" ${getAttrMarkup(attrs)}>`,
|
|
102334
|
+
post: () => `</${tagName$10}></ng-template>`
|
|
102479
102335
|
};
|
|
102480
102336
|
});
|
|
102481
102337
|
var dialogFooter_build = () => { };
|
|
@@ -102485,11 +102341,11 @@ var dialogFooter_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102485
102341
|
default: dialogFooter_build
|
|
102486
102342
|
});
|
|
102487
102343
|
|
|
102488
|
-
const tagName
|
|
102344
|
+
const tagName$$ = 'div';
|
|
102489
102345
|
register('wm-dialog', () => {
|
|
102490
102346
|
return {
|
|
102491
|
-
pre: attrs => `<${tagName
|
|
102492
|
-
post: () => `</ng-template></${tagName
|
|
102347
|
+
pre: attrs => `<${tagName$$} wmDialog ${getAttrMarkup(attrs)} aria-modal="true" role="dialog" wm-navigable-element="true"><ng-template #dialogBody>`,
|
|
102348
|
+
post: () => `</ng-template></${tagName$$}>`
|
|
102493
102349
|
};
|
|
102494
102350
|
});
|
|
102495
102351
|
// Todo:vinay remove wm-view in migration
|
|
@@ -102506,11 +102362,11 @@ var dialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102506
102362
|
default: dialog_build
|
|
102507
102363
|
});
|
|
102508
102364
|
|
|
102509
|
-
const tagName$
|
|
102365
|
+
const tagName$_ = 'div';
|
|
102510
102366
|
register('wm-iframedialog', () => {
|
|
102511
102367
|
return {
|
|
102512
|
-
pre: attrs => `<${tagName$
|
|
102513
|
-
post: () => `</${tagName$
|
|
102368
|
+
pre: attrs => `<${tagName$_} wmIframeDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
102369
|
+
post: () => `</${tagName$_}>`
|
|
102514
102370
|
};
|
|
102515
102371
|
});
|
|
102516
102372
|
var iframeDialog_build = () => { };
|
|
@@ -102520,11 +102376,11 @@ var iframeDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102520
102376
|
default: iframeDialog_build
|
|
102521
102377
|
});
|
|
102522
102378
|
|
|
102523
|
-
const tagName
|
|
102379
|
+
const tagName$Z = 'div';
|
|
102524
102380
|
register('wm-logindialog', () => {
|
|
102525
102381
|
return {
|
|
102526
|
-
pre: attrs => `<${tagName
|
|
102527
|
-
post: () => `</ng-template></${tagName
|
|
102382
|
+
pre: attrs => `<${tagName$Z} wmDialog wmLoginDialog ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction" wm-navigable-element="true"><ng-template #dialogBody>`,
|
|
102383
|
+
post: () => `</ng-template></${tagName$Z}>`
|
|
102528
102384
|
};
|
|
102529
102385
|
});
|
|
102530
102386
|
var loginDialog_build = () => { };
|
|
@@ -102534,7 +102390,7 @@ var loginDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102534
102390
|
default: loginDialog_build
|
|
102535
102391
|
});
|
|
102536
102392
|
|
|
102537
|
-
const tagName$
|
|
102393
|
+
const tagName$Y = 'div';
|
|
102538
102394
|
register('wm-pagedialog', () => {
|
|
102539
102395
|
return {
|
|
102540
102396
|
pre: (attrs, shared) => {
|
|
@@ -102560,14 +102416,14 @@ register('wm-pagedialog', () => {
|
|
|
102560
102416
|
shared.set('hasPartialContent', true);
|
|
102561
102417
|
containerMarkup += `<ng-template><div wmContainer #partial partialContainer ${contentMarkup} width="100%" height="100%" ${onLoadEvtMarkup}>`;
|
|
102562
102418
|
}
|
|
102563
|
-
return `<${tagName$
|
|
102419
|
+
return `<${tagName$Y} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;
|
|
102564
102420
|
},
|
|
102565
102421
|
post: (attrs, shared) => {
|
|
102566
102422
|
let preContent = '';
|
|
102567
102423
|
if (shared.get('hasPartialContent')) {
|
|
102568
102424
|
preContent = `</div></ng-template>`;
|
|
102569
102425
|
}
|
|
102570
|
-
return `${preContent}</${tagName$
|
|
102426
|
+
return `${preContent}</${tagName$Y}>`;
|
|
102571
102427
|
}
|
|
102572
102428
|
};
|
|
102573
102429
|
});
|
|
@@ -102646,8 +102502,8 @@ const getEditModeWidget = colDef => {
|
|
|
102646
102502
|
return (fieldTypeWidgetTypeMap[colDef.type] && fieldTypeWidgetTypeMap[colDef.type][0]) || FormWidgetType.TEXT;
|
|
102647
102503
|
};
|
|
102648
102504
|
|
|
102649
|
-
const tagName$
|
|
102650
|
-
const idGen$
|
|
102505
|
+
const tagName$X = 'div';
|
|
102506
|
+
const idGen$e = new IDGenerator('formfield_');
|
|
102651
102507
|
const getEventsTemplate = (attrs) => {
|
|
102652
102508
|
const eventAttrs = new Map();
|
|
102653
102509
|
if (!attrs.has('focus.event')) {
|
|
@@ -102697,21 +102553,13 @@ const setDefaultPlaceholder = (attrs, widgetType, index) => {
|
|
|
102697
102553
|
}
|
|
102698
102554
|
};
|
|
102699
102555
|
const getWidgetTemplate = (attrs, options) => {
|
|
102700
|
-
let customAttrs = ``;
|
|
102701
|
-
if (options.widgetType === "custom-widget") {
|
|
102702
|
-
for (let [key, value] of attrs) {
|
|
102703
|
-
if (key.startsWith('prop-'))
|
|
102704
|
-
customAttrs += key + '="' + value + '" ';
|
|
102705
|
-
}
|
|
102706
|
-
}
|
|
102707
102556
|
const name = attrs.get('name');
|
|
102708
|
-
const customWidgetName = attrs.get('widgetname');
|
|
102709
102557
|
const fieldName = (attrs.get('key') || name || '').trim();
|
|
102710
102558
|
const formControl = options.isMaxWidget ? `formControlName="${fieldName}_max"` : (options.isInList ? `[formControlName]="${options.counter}._fieldName"` : `formControlName="${fieldName}"`);
|
|
102711
102559
|
const tmplRef = options.isMaxWidget ? `#formWidgetMax` : `#formWidget`;
|
|
102712
102560
|
const widgetName = name ? (options.isMaxWidget ? `name="${name}_formWidgetMax"` : `name="${name}_formWidget"`) : '';
|
|
102713
102561
|
const conditionalClass = `[ngClass]="${attrs.get('ngclass')}"`;
|
|
102714
|
-
const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName}
|
|
102562
|
+
const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName}`;
|
|
102715
102563
|
return getFormWidgetTemplate(options.widgetType, defaultTmpl, attrs, { counter: options.counter, pCounter: options.pCounter });
|
|
102716
102564
|
};
|
|
102717
102565
|
const getTemplate = (attrs, widgetType, eventsTmpl, counter, pCounter, isInList) => {
|
|
@@ -102755,7 +102603,7 @@ const registerFormField = (isFormField) => {
|
|
|
102755
102603
|
return {
|
|
102756
102604
|
requires: ['wm-form', 'wm-liveform', 'wm-livefilter', 'wm-list'],
|
|
102757
102605
|
pre: (attrs, shared, parentForm, parentLiveForm, parentFilter, parentList) => {
|
|
102758
|
-
const counter = idGen$
|
|
102606
|
+
const counter = idGen$e.nextUid();
|
|
102759
102607
|
const parent = parentForm || parentLiveForm || parentFilter;
|
|
102760
102608
|
const pCounter = (parent && parent.get('form_reference')) || 'form';
|
|
102761
102609
|
const widgetType = attrs.get('widget') || FormWidgetType.TEXT;
|
|
@@ -102778,7 +102626,7 @@ const registerFormField = (isFormField) => {
|
|
|
102778
102626
|
else {
|
|
102779
102627
|
setDefaultPlaceholder(attrs, widgetType, 2);
|
|
102780
102628
|
}
|
|
102781
|
-
return `<${tagName$
|
|
102629
|
+
return `<${tagName$X} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField wmCaptionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${getFormMarkupAttr(attrs)}>
|
|
102782
102630
|
<div class="live-field form-group app-composite-widget clearfix caption-{{${pCounter}.captionposition}}" widget="${widgetType}">
|
|
102783
102631
|
<label [hidden]="!${counter}.displayname" class="app-label control-label formfield-label {{${pCounter}._captionClass}}"
|
|
102784
102632
|
[ngStyle]="{width: ${pCounter}.captionsize}" [ngClass]="{'text-danger': ${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode,
|
|
@@ -102794,7 +102642,7 @@ const registerFormField = (isFormField) => {
|
|
|
102794
102642
|
</div>
|
|
102795
102643
|
</div>`;
|
|
102796
102644
|
},
|
|
102797
|
-
post: () => `</${tagName$
|
|
102645
|
+
post: () => `</${tagName$X}>`,
|
|
102798
102646
|
provide: (attrs, shared) => {
|
|
102799
102647
|
const provider = new Map();
|
|
102800
102648
|
provider.set('form_reference', shared.get('counter'));
|
|
@@ -102816,11 +102664,11 @@ var formField_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102816
102664
|
default: formField_build
|
|
102817
102665
|
});
|
|
102818
102666
|
|
|
102819
|
-
const tagName$
|
|
102667
|
+
const tagName$W = 'div';
|
|
102820
102668
|
const registerAction = (tmpl) => {
|
|
102821
102669
|
return {
|
|
102822
|
-
pre: attrs => `<${tagName$
|
|
102823
|
-
post: () => `</${tagName$
|
|
102670
|
+
pre: attrs => `<${tagName$W} wmFormAction name="${attrs.get('name') || attrs.get('key')}" ${getAttrMarkup(attrs)} ${tmpl}>`,
|
|
102671
|
+
post: () => `</${tagName$W}>`
|
|
102824
102672
|
};
|
|
102825
102673
|
};
|
|
102826
102674
|
register('wm-form-action', registerAction.bind(undefined, ''));
|
|
@@ -102832,8 +102680,8 @@ var formAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102832
102680
|
default: formAction_build
|
|
102833
102681
|
});
|
|
102834
102682
|
|
|
102835
|
-
const tagName$
|
|
102836
|
-
const idGen$
|
|
102683
|
+
const tagName$V = 'form';
|
|
102684
|
+
const idGen$d = new IDGenerator('form_');
|
|
102837
102685
|
const formWidgets$1 = new Set([
|
|
102838
102686
|
'wm-text',
|
|
102839
102687
|
'wm-textarea',
|
|
@@ -102901,7 +102749,7 @@ const buildTask = (directiveAttr = '') => {
|
|
|
102901
102749
|
let tmpl;
|
|
102902
102750
|
let dialogId;
|
|
102903
102751
|
const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';
|
|
102904
|
-
const counter = idGen$
|
|
102752
|
+
const counter = idGen$d.nextUid();
|
|
102905
102753
|
const dependsOn = attrs.get('dependson') ? `dependson="${attrs.get('dependson')}"` : '';
|
|
102906
102754
|
if (dependsOn) {
|
|
102907
102755
|
attrs.set('dependsontable', attrs.get('dependson'));
|
|
@@ -102909,7 +102757,7 @@ const buildTask = (directiveAttr = '') => {
|
|
|
102909
102757
|
const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';
|
|
102910
102758
|
const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];
|
|
102911
102759
|
attrs.delete('dependson');
|
|
102912
|
-
const liveFormTmpl = `<${tagName$
|
|
102760
|
+
const liveFormTmpl = `<${tagName$V} wmForm data-role="${role}" ${directiveAttr} #${counter} ngNativeValidate [formGroup]="${counter}.ngform" [noValidate]="${counter}.validationtype !== 'html'"
|
|
102913
102761
|
class="${classProp}" [class]="${counter}.captionAlignClass" [autocomplete]="${counter}.autocomplete ? 'on' : 'off'" captionposition=${attrs.get('captionposition')}`;
|
|
102914
102762
|
attrs.set('numberOfFields', `${numberOfFields}`);
|
|
102915
102763
|
shared.set('counter', counter);
|
|
@@ -102962,12 +102810,12 @@ const buildTask = (directiveAttr = '') => {
|
|
|
102962
102810
|
return '</form></ng-template></div></div>';
|
|
102963
102811
|
}
|
|
102964
102812
|
if (attrs.get('formlayout') === 'page') {
|
|
102965
|
-
return `</div></${tagName$
|
|
102813
|
+
return `</div></${tagName$V}>`;
|
|
102966
102814
|
}
|
|
102967
102815
|
if (attrs.get('dependsontable')) {
|
|
102968
|
-
return `</${tagName$
|
|
102816
|
+
return `</${tagName$V}></div>`;
|
|
102969
102817
|
}
|
|
102970
|
-
return `</${tagName$
|
|
102818
|
+
return `</${tagName$V}>`;
|
|
102971
102819
|
},
|
|
102972
102820
|
provide: (attrs, shared) => {
|
|
102973
102821
|
const provider = new Map();
|
|
@@ -102986,14 +102834,14 @@ var form_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102986
102834
|
default: form_build
|
|
102987
102835
|
});
|
|
102988
102836
|
|
|
102989
|
-
const tagName$
|
|
102837
|
+
const tagName$U = 'div';
|
|
102990
102838
|
register('wm-calendar', () => {
|
|
102991
102839
|
return {
|
|
102992
102840
|
pre: (attrs) => {
|
|
102993
102841
|
let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';
|
|
102994
|
-
return `<${tagName$
|
|
102842
|
+
return `<${tagName$U} wmCalendar redrawable style="width:100%" role="region" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
|
|
102995
102843
|
},
|
|
102996
|
-
post: () => `</${tagName$
|
|
102844
|
+
post: () => `</${tagName$U}>`
|
|
102997
102845
|
};
|
|
102998
102846
|
});
|
|
102999
102847
|
var calendar_build = () => { };
|
|
@@ -103003,11 +102851,11 @@ var calendar_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103003
102851
|
default: calendar_build
|
|
103004
102852
|
});
|
|
103005
102853
|
|
|
103006
|
-
const tagName$
|
|
102854
|
+
const tagName$T = 'ul';
|
|
103007
102855
|
register('wm-chips', () => {
|
|
103008
102856
|
return {
|
|
103009
|
-
pre: attrs => `<${tagName$
|
|
103010
|
-
post: () => `</${tagName$
|
|
102857
|
+
pre: attrs => `<${tagName$T} wmChips ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
102858
|
+
post: () => `</${tagName$T}>`
|
|
103011
102859
|
};
|
|
103012
102860
|
});
|
|
103013
102861
|
var chips_build = () => { };
|
|
@@ -103017,11 +102865,11 @@ var chips_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103017
102865
|
default: chips_build
|
|
103018
102866
|
});
|
|
103019
102867
|
|
|
103020
|
-
const tagName$
|
|
102868
|
+
const tagName$S = 'div';
|
|
103021
102869
|
register('wm-colorpicker', () => {
|
|
103022
102870
|
return {
|
|
103023
|
-
pre: attrs => `<${tagName$
|
|
103024
|
-
post: () => `</${tagName$
|
|
102871
|
+
pre: attrs => `<${tagName$S} wmColorPicker ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
102872
|
+
post: () => `</${tagName$S}>`
|
|
103025
102873
|
};
|
|
103026
102874
|
});
|
|
103027
102875
|
var colorPicker_build = () => { };
|
|
@@ -103031,11 +102879,11 @@ var colorPicker_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103031
102879
|
default: colorPicker_build
|
|
103032
102880
|
});
|
|
103033
102881
|
|
|
103034
|
-
const tagName$
|
|
102882
|
+
const tagName$R = 'div';
|
|
103035
102883
|
register('wm-currency', () => {
|
|
103036
102884
|
return {
|
|
103037
|
-
pre: attrs => `<${tagName$
|
|
103038
|
-
post: () => `</${tagName$
|
|
102885
|
+
pre: attrs => `<${tagName$R} wmCurrency ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
102886
|
+
post: () => `</${tagName$R}>`
|
|
103039
102887
|
};
|
|
103040
102888
|
});
|
|
103041
102889
|
var currency_build = () => { };
|
|
@@ -103045,11 +102893,11 @@ var currency_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103045
102893
|
default: currency_build
|
|
103046
102894
|
});
|
|
103047
102895
|
|
|
103048
|
-
const tagName$
|
|
102896
|
+
const tagName$Q = 'div';
|
|
103049
102897
|
register('wm-buttongroup', () => {
|
|
103050
102898
|
return {
|
|
103051
|
-
pre: attrs => `<${tagName$
|
|
103052
|
-
post: () => `</${tagName$
|
|
102899
|
+
pre: attrs => `<${tagName$Q} wmButtonGroup role="group" ${getAttrMarkup(attrs)}>`,
|
|
102900
|
+
post: () => `</${tagName$Q}>`
|
|
103053
102901
|
};
|
|
103054
102902
|
});
|
|
103055
102903
|
var buttonGroup_build = () => { };
|
|
@@ -103059,15 +102907,15 @@ var buttonGroup_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103059
102907
|
default: buttonGroup_build
|
|
103060
102908
|
});
|
|
103061
102909
|
|
|
103062
|
-
const tagName$
|
|
103063
|
-
const idGen$
|
|
102910
|
+
const tagName$P = 'button';
|
|
102911
|
+
const idGen$c = new IDGenerator('wm_button');
|
|
103064
102912
|
register('wm-button', () => {
|
|
103065
102913
|
return {
|
|
103066
102914
|
pre: (attrs) => {
|
|
103067
|
-
const counter = idGen$
|
|
103068
|
-
return `<${tagName$
|
|
102915
|
+
const counter = idGen$c.nextUid();
|
|
102916
|
+
return `<${tagName$P} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${getAttrMarkup(attrs)}>`;
|
|
103069
102917
|
},
|
|
103070
|
-
post: () => `</${tagName$
|
|
102918
|
+
post: () => `</${tagName$P}>`
|
|
103071
102919
|
};
|
|
103072
102920
|
});
|
|
103073
102921
|
var button_build = () => { };
|
|
@@ -103077,11 +102925,11 @@ var button_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103077
102925
|
default: button_build
|
|
103078
102926
|
});
|
|
103079
102927
|
|
|
103080
|
-
const tagName$
|
|
102928
|
+
const tagName$O = 'div';
|
|
103081
102929
|
register('wm-checkbox', () => {
|
|
103082
102930
|
return {
|
|
103083
|
-
pre: attrs => `<${tagName$
|
|
103084
|
-
post: () => `</${tagName$
|
|
102931
|
+
pre: attrs => `<${tagName$O} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
102932
|
+
post: () => `</${tagName$O}>`
|
|
103085
102933
|
};
|
|
103086
102934
|
});
|
|
103087
102935
|
var checkbox_build = () => { };
|
|
@@ -103091,11 +102939,11 @@ var checkbox_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103091
102939
|
default: checkbox_build
|
|
103092
102940
|
});
|
|
103093
102941
|
|
|
103094
|
-
const tagName$
|
|
102942
|
+
const tagName$N = 'ul';
|
|
103095
102943
|
register('wm-checkboxset', () => {
|
|
103096
102944
|
return {
|
|
103097
|
-
pre: attrs => `<${tagName$
|
|
103098
|
-
post: () => `</${tagName$
|
|
102945
|
+
pre: attrs => `<${tagName$N} role="group" wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
102946
|
+
post: () => `</${tagName$N}>`
|
|
103099
102947
|
};
|
|
103100
102948
|
});
|
|
103101
102949
|
var checkboxset_build = () => { };
|
|
@@ -103105,11 +102953,11 @@ var checkboxset_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103105
102953
|
default: checkboxset_build
|
|
103106
102954
|
});
|
|
103107
102955
|
|
|
103108
|
-
const tagName$
|
|
102956
|
+
const tagName$M = 'div';
|
|
103109
102957
|
register('wm-composite', () => {
|
|
103110
102958
|
return {
|
|
103111
|
-
pre: attrs => `<${tagName$
|
|
103112
|
-
post: () => `</${tagName$
|
|
102959
|
+
pre: attrs => `<${tagName$M} wmComposite wmCaptionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,
|
|
102960
|
+
post: () => `</${tagName$M}${clearChildAttrs()}>`
|
|
103113
102961
|
};
|
|
103114
102962
|
});
|
|
103115
102963
|
var composite_build = () => { };
|
|
@@ -103119,11 +102967,11 @@ var composite_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103119
102967
|
default: composite_build
|
|
103120
102968
|
});
|
|
103121
102969
|
|
|
103122
|
-
const tagName$
|
|
102970
|
+
const tagName$L = 'div';
|
|
103123
102971
|
register('wm-number', () => {
|
|
103124
102972
|
return {
|
|
103125
|
-
pre: attrs => `<${tagName$
|
|
103126
|
-
post: () => `</${tagName$
|
|
102973
|
+
pre: attrs => `<${tagName$L} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
102974
|
+
post: () => `</${tagName$L}>`
|
|
103127
102975
|
};
|
|
103128
102976
|
});
|
|
103129
102977
|
var number_build = () => { };
|
|
@@ -103133,11 +102981,11 @@ var number_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103133
102981
|
default: number_build
|
|
103134
102982
|
});
|
|
103135
102983
|
|
|
103136
|
-
const tagName$
|
|
102984
|
+
const tagName$K = 'ul';
|
|
103137
102985
|
register('wm-radioset', () => {
|
|
103138
102986
|
return {
|
|
103139
|
-
pre: attrs => `<${tagName$
|
|
103140
|
-
post: () => `</${tagName$
|
|
102987
|
+
pre: attrs => `<${tagName$K} role="radiogroup" wmRadioset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
102988
|
+
post: () => `</${tagName$K}>`
|
|
103141
102989
|
};
|
|
103142
102990
|
});
|
|
103143
102991
|
var radioset_build = () => { };
|
|
@@ -103147,11 +102995,11 @@ var radioset_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103147
102995
|
default: radioset_build
|
|
103148
102996
|
});
|
|
103149
102997
|
|
|
103150
|
-
const tagName$
|
|
102998
|
+
const tagName$J = 'wm-select';
|
|
103151
102999
|
register('wm-select', () => {
|
|
103152
103000
|
return {
|
|
103153
|
-
pre: attrs => `<${tagName$
|
|
103154
|
-
post: () => `</${tagName$
|
|
103001
|
+
pre: attrs => `<${tagName$J} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
103002
|
+
post: () => `</${tagName$J}>`
|
|
103155
103003
|
};
|
|
103156
103004
|
});
|
|
103157
103005
|
var select_build = () => { };
|
|
@@ -103161,15 +103009,15 @@ var select_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103161
103009
|
default: select_build
|
|
103162
103010
|
});
|
|
103163
103011
|
|
|
103164
|
-
const tagName$
|
|
103165
|
-
const idGen$
|
|
103012
|
+
const tagName$I = 'div';
|
|
103013
|
+
const idGen$b = new IDGenerator('wm_switch');
|
|
103166
103014
|
register('wm-switch', () => {
|
|
103167
103015
|
return {
|
|
103168
103016
|
pre: (attrs) => {
|
|
103169
|
-
const counter = idGen$
|
|
103170
|
-
return `<${tagName$
|
|
103017
|
+
const counter = idGen$b.nextUid();
|
|
103018
|
+
return `<${tagName$I} wmSwitch #${counter}="wmSwitch" role="group" [attr.aria-label]="${counter}.arialabel || 'Switch choose options'" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;
|
|
103171
103019
|
},
|
|
103172
|
-
post: () => `</${tagName$
|
|
103020
|
+
post: () => `</${tagName$I}>`
|
|
103173
103021
|
};
|
|
103174
103022
|
});
|
|
103175
103023
|
var switch_build = () => { };
|
|
@@ -103179,11 +103027,11 @@ var switch_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103179
103027
|
default: switch_build
|
|
103180
103028
|
});
|
|
103181
103029
|
|
|
103182
|
-
const tagName$
|
|
103030
|
+
const tagName$H = 'wm-input';
|
|
103183
103031
|
register('wm-text', () => {
|
|
103184
103032
|
return {
|
|
103185
|
-
pre: attrs => `<${tagName$
|
|
103186
|
-
post: () => `</${tagName$
|
|
103033
|
+
pre: attrs => `<${tagName$H} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
103034
|
+
post: () => `</${tagName$H}>`
|
|
103187
103035
|
};
|
|
103188
103036
|
});
|
|
103189
103037
|
var text_build = () => { };
|
|
@@ -103193,11 +103041,11 @@ var text_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103193
103041
|
default: text_build
|
|
103194
103042
|
});
|
|
103195
103043
|
|
|
103196
|
-
const tagName$
|
|
103044
|
+
const tagName$G = 'wm-textarea';
|
|
103197
103045
|
register('wm-textarea', () => {
|
|
103198
103046
|
return {
|
|
103199
|
-
pre: attrs => `<${tagName$
|
|
103200
|
-
post: () => `</${tagName$
|
|
103047
|
+
pre: attrs => `<${tagName$G} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
103048
|
+
post: () => `</${tagName$G}>`
|
|
103201
103049
|
};
|
|
103202
103050
|
});
|
|
103203
103051
|
var textarea_build = () => { };
|
|
@@ -103207,11 +103055,11 @@ var textarea_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103207
103055
|
default: textarea_build
|
|
103208
103056
|
});
|
|
103209
103057
|
|
|
103210
|
-
const tagName$
|
|
103058
|
+
const tagName$F = 'div';
|
|
103211
103059
|
register('wm-datetime', () => {
|
|
103212
103060
|
return {
|
|
103213
|
-
pre: attrs => `<${tagName$
|
|
103214
|
-
post: () => `</${tagName$
|
|
103061
|
+
pre: attrs => `<${tagName$F} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
103062
|
+
post: () => `</${tagName$F}>`
|
|
103215
103063
|
};
|
|
103216
103064
|
});
|
|
103217
103065
|
var dateTime_build = () => { };
|
|
@@ -103221,11 +103069,11 @@ var dateTime_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103221
103069
|
default: dateTime_build
|
|
103222
103070
|
});
|
|
103223
103071
|
|
|
103224
|
-
const tagName$
|
|
103072
|
+
const tagName$E = 'div';
|
|
103225
103073
|
register('wm-date', () => {
|
|
103226
103074
|
return {
|
|
103227
|
-
pre: attrs => `<${tagName$
|
|
103228
|
-
post: () => `</${tagName$
|
|
103075
|
+
pre: attrs => `<${tagName$E} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
103076
|
+
post: () => `</${tagName$E}>`
|
|
103229
103077
|
};
|
|
103230
103078
|
});
|
|
103231
103079
|
var date_build = () => { };
|
|
@@ -103235,11 +103083,11 @@ var date_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103235
103083
|
default: date_build
|
|
103236
103084
|
});
|
|
103237
103085
|
|
|
103238
|
-
const tagName$
|
|
103086
|
+
const tagName$D = 'div';
|
|
103239
103087
|
register('wm-time', () => {
|
|
103240
103088
|
return {
|
|
103241
|
-
pre: attrs => `<${tagName$
|
|
103242
|
-
post: () => `</${tagName$
|
|
103089
|
+
pre: attrs => `<${tagName$D} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
103090
|
+
post: () => `</${tagName$D}>`
|
|
103243
103091
|
};
|
|
103244
103092
|
});
|
|
103245
103093
|
var time_build = () => { };
|
|
@@ -103249,7 +103097,7 @@ var time_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103249
103097
|
default: time_build
|
|
103250
103098
|
});
|
|
103251
103099
|
|
|
103252
|
-
const tagName$
|
|
103100
|
+
const tagName$C = 'div';
|
|
103253
103101
|
register('wm-fileupload', () => {
|
|
103254
103102
|
return {
|
|
103255
103103
|
pre: attrs => {
|
|
@@ -103261,9 +103109,9 @@ register('wm-fileupload', () => {
|
|
|
103261
103109
|
const onDeleteBinding = getDataSource(attrs.get('delete.event'));
|
|
103262
103110
|
attrs.set('deletedatasource.bind', onDeleteBinding);
|
|
103263
103111
|
}
|
|
103264
|
-
return `<${tagName$
|
|
103112
|
+
return `<${tagName$C} wmFileUpload ${getAttrMarkup(attrs)}>`;
|
|
103265
103113
|
},
|
|
103266
|
-
post: () => `</${tagName$
|
|
103114
|
+
post: () => `</${tagName$C}>`
|
|
103267
103115
|
};
|
|
103268
103116
|
});
|
|
103269
103117
|
var fileUpload_build = () => { };
|
|
@@ -103273,11 +103121,11 @@ var fileUpload_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103273
103121
|
default: fileUpload_build
|
|
103274
103122
|
});
|
|
103275
103123
|
|
|
103276
|
-
const tagName$
|
|
103124
|
+
const tagName$B = 'div';
|
|
103277
103125
|
register('wm-rating', () => {
|
|
103278
103126
|
return {
|
|
103279
|
-
pre: attrs => `<${tagName$
|
|
103280
|
-
post: () => `</${tagName$
|
|
103127
|
+
pre: attrs => `<${tagName$B} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
103128
|
+
post: () => `</${tagName$B}>`
|
|
103281
103129
|
};
|
|
103282
103130
|
});
|
|
103283
103131
|
var rating_build = () => { };
|
|
@@ -103287,11 +103135,11 @@ var rating_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103287
103135
|
default: rating_build
|
|
103288
103136
|
});
|
|
103289
103137
|
|
|
103290
|
-
const tagName$
|
|
103138
|
+
const tagName$A = 'div';
|
|
103291
103139
|
register('wm-slider', () => {
|
|
103292
103140
|
return {
|
|
103293
|
-
pre: attrs => `<${tagName$
|
|
103294
|
-
post: () => `</${tagName$
|
|
103141
|
+
pre: attrs => `<${tagName$A} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
103142
|
+
post: () => `</${tagName$A}>`
|
|
103295
103143
|
};
|
|
103296
103144
|
});
|
|
103297
103145
|
var slider_build = () => { };
|
|
@@ -103302,7 +103150,7 @@ var slider_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103302
103150
|
});
|
|
103303
103151
|
|
|
103304
103152
|
const wmlistTag = 'wm-list';
|
|
103305
|
-
const tagName$
|
|
103153
|
+
const tagName$z = 'div';
|
|
103306
103154
|
const dataSetKey$2 = 'dataset';
|
|
103307
103155
|
function copyAttribute$1(from, fromAttrName, to, toAttrName) {
|
|
103308
103156
|
const fromAttr = from.attrs.find(a => a.name === fromAttrName);
|
|
@@ -103350,8 +103198,8 @@ register('wm-media-list', () => {
|
|
|
103350
103198
|
copyAttribute$1(template, 'height', node, 'thumbnailheight');
|
|
103351
103199
|
}
|
|
103352
103200
|
},
|
|
103353
|
-
pre: attrs => `<${tagName$
|
|
103354
|
-
post: () => `</${tagName$
|
|
103201
|
+
pre: attrs => `<${tagName$z} wmMediaList ${getAttrMarkup(attrs)}>`,
|
|
103202
|
+
post: () => `</${tagName$z}>`
|
|
103355
103203
|
};
|
|
103356
103204
|
});
|
|
103357
103205
|
var mediaList_build = () => { };
|
|
@@ -103361,11 +103209,11 @@ var mediaList_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103361
103209
|
default: mediaList_build
|
|
103362
103210
|
});
|
|
103363
103211
|
|
|
103364
|
-
const tagName$
|
|
103212
|
+
const tagName$y = 'ng-template';
|
|
103365
103213
|
register('wm-media-template', () => {
|
|
103366
103214
|
return {
|
|
103367
|
-
pre: () => `<${tagName$
|
|
103368
|
-
post: () => `</${tagName$
|
|
103215
|
+
pre: () => `<${tagName$y} #mediaListTemplate let-item="item" let-index="index">`,
|
|
103216
|
+
post: () => `</${tagName$y}>`
|
|
103369
103217
|
};
|
|
103370
103218
|
});
|
|
103371
103219
|
var mediaListItem_build = () => { };
|
|
@@ -103449,16 +103297,16 @@ var list_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103449
103297
|
default: list_build
|
|
103450
103298
|
});
|
|
103451
103299
|
|
|
103452
|
-
const tagName$
|
|
103453
|
-
const idGen$
|
|
103300
|
+
const tagName$x = 'div';
|
|
103301
|
+
const idGen$a = new IDGenerator('liveform_dialog_id_');
|
|
103454
103302
|
register('wm-livetable', () => {
|
|
103455
103303
|
return {
|
|
103456
103304
|
pre: (attrs, shared) => {
|
|
103457
|
-
const counter = idGen$
|
|
103305
|
+
const counter = idGen$a.nextUid();
|
|
103458
103306
|
shared.set('counter', counter);
|
|
103459
|
-
return `<${tagName$
|
|
103307
|
+
return `<${tagName$x} wmLiveTable ${getAttrMarkup(attrs)} dialogid="${counter}">`;
|
|
103460
103308
|
},
|
|
103461
|
-
post: () => `</${tagName$
|
|
103309
|
+
post: () => `</${tagName$x}>`,
|
|
103462
103310
|
provide: (attrs, shared) => {
|
|
103463
103311
|
const provider = new Map();
|
|
103464
103312
|
provider.set('liveform_dialog_id', shared.get('counter'));
|
|
@@ -103473,15 +103321,15 @@ var liveTable_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103473
103321
|
default: liveTable_build
|
|
103474
103322
|
});
|
|
103475
103323
|
|
|
103476
|
-
const tagName$
|
|
103477
|
-
const idGen$
|
|
103324
|
+
const tagName$w = 'p';
|
|
103325
|
+
const idGen$9 = new IDGenerator('wm_message');
|
|
103478
103326
|
register('wm-message', () => {
|
|
103479
103327
|
return {
|
|
103480
103328
|
pre: (attrs) => {
|
|
103481
|
-
const counter = idGen$
|
|
103482
|
-
return `<${tagName$
|
|
103329
|
+
const counter = idGen$9.nextUid();
|
|
103330
|
+
return `<${tagName$w} wmMessage tabindex="0" #${counter}="wmMessage" ${getAttrMarkup(attrs)}>`;
|
|
103483
103331
|
},
|
|
103484
|
-
post: () => `</${tagName$
|
|
103332
|
+
post: () => `</${tagName$w}>`
|
|
103485
103333
|
};
|
|
103486
103334
|
});
|
|
103487
103335
|
var message_build = () => { };
|
|
@@ -103491,11 +103339,11 @@ var message_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103491
103339
|
default: message_build
|
|
103492
103340
|
});
|
|
103493
103341
|
|
|
103494
|
-
const tagName$
|
|
103342
|
+
const tagName$v = 'ol';
|
|
103495
103343
|
register('wm-breadcrumb', () => {
|
|
103496
103344
|
return {
|
|
103497
|
-
pre: attrs => `<${tagName$
|
|
103498
|
-
post: () => `</${tagName$
|
|
103345
|
+
pre: attrs => `<${tagName$v} wmBreadcrumb ${getAttrMarkup(attrs)}>`,
|
|
103346
|
+
post: () => `</${tagName$v}>`
|
|
103499
103347
|
};
|
|
103500
103348
|
});
|
|
103501
103349
|
var breadcrumb_build = () => { };
|
|
@@ -103505,7 +103353,7 @@ var breadcrumb_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103505
103353
|
default: breadcrumb_build
|
|
103506
103354
|
});
|
|
103507
103355
|
|
|
103508
|
-
const tagName$
|
|
103356
|
+
const tagName$u = 'div';
|
|
103509
103357
|
register('wm-menu', () => {
|
|
103510
103358
|
return {
|
|
103511
103359
|
pre: attrs => {
|
|
@@ -103520,13 +103368,13 @@ register('wm-menu', () => {
|
|
|
103520
103368
|
else {
|
|
103521
103369
|
styleBinding = `[ngStyle]="{'width': '${menuWidth}px'}"`;
|
|
103522
103370
|
}
|
|
103523
|
-
return `<${tagName$
|
|
103371
|
+
return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
|
|
103524
103372
|
}
|
|
103525
103373
|
else {
|
|
103526
|
-
return `<${tagName$
|
|
103374
|
+
return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)}>`;
|
|
103527
103375
|
}
|
|
103528
103376
|
},
|
|
103529
|
-
post: () => `</${tagName$
|
|
103377
|
+
post: () => `</${tagName$u}>`
|
|
103530
103378
|
};
|
|
103531
103379
|
});
|
|
103532
103380
|
var menu_build = () => { };
|
|
@@ -103536,11 +103384,11 @@ var menu_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103536
103384
|
default: menu_build
|
|
103537
103385
|
});
|
|
103538
103386
|
|
|
103539
|
-
const tagName$
|
|
103387
|
+
const tagName$t = 'li';
|
|
103540
103388
|
register('wm-nav-item', () => {
|
|
103541
103389
|
return {
|
|
103542
|
-
pre: attrs => `<${tagName$
|
|
103543
|
-
post: () => `</${tagName$
|
|
103390
|
+
pre: attrs => `<${tagName$t} wmNavItem role="listitem" ${getAttrMarkup(attrs)}>`,
|
|
103391
|
+
post: () => `</${tagName$t}>`
|
|
103544
103392
|
};
|
|
103545
103393
|
});
|
|
103546
103394
|
var navItem_build = () => { };
|
|
@@ -103550,11 +103398,11 @@ var navItem_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103550
103398
|
default: navItem_build
|
|
103551
103399
|
});
|
|
103552
103400
|
|
|
103553
|
-
const tagName$
|
|
103401
|
+
const tagName$s = 'ul';
|
|
103554
103402
|
register('wm-nav', () => {
|
|
103555
103403
|
return {
|
|
103556
|
-
pre: attrs => `<${tagName$
|
|
103557
|
-
post: () => `</${tagName$
|
|
103404
|
+
pre: attrs => `<${tagName$s} wmNav data-element-type="wmNav" data-role="page-header" role="list" ${getAttrMarkup(attrs)}>`,
|
|
103405
|
+
post: () => `</${tagName$s}>`
|
|
103558
103406
|
};
|
|
103559
103407
|
});
|
|
103560
103408
|
var nav_build = () => { };
|
|
@@ -103564,11 +103412,11 @@ var nav_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103564
103412
|
default: nav_build
|
|
103565
103413
|
});
|
|
103566
103414
|
|
|
103567
|
-
const tagName$
|
|
103415
|
+
const tagName$r = 'nav';
|
|
103568
103416
|
register('wm-navbar', () => {
|
|
103569
103417
|
return {
|
|
103570
|
-
pre: attrs => `<${tagName$
|
|
103571
|
-
post: () => `</${tagName$
|
|
103418
|
+
pre: attrs => `<${tagName$r} wmNavbar data-element-type="wmNavbar" role="navigation" ${getAttrMarkup(attrs)}>`,
|
|
103419
|
+
post: () => `</${tagName$r}>`
|
|
103572
103420
|
};
|
|
103573
103421
|
});
|
|
103574
103422
|
var navbar_build = () => { };
|
|
@@ -103578,7 +103426,7 @@ var navbar_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103578
103426
|
default: navbar_build
|
|
103579
103427
|
});
|
|
103580
103428
|
|
|
103581
|
-
const tagName$
|
|
103429
|
+
const tagName$q = 'wm-popover';
|
|
103582
103430
|
register('wm-popover', () => {
|
|
103583
103431
|
return {
|
|
103584
103432
|
requires: ['wm-table'],
|
|
@@ -103598,7 +103446,7 @@ register('wm-popover', () => {
|
|
|
103598
103446
|
popoverTemplate = `<div wmContainer #partial partialContainer ${contentMarkup}>`;
|
|
103599
103447
|
shared.set('hasPopoverContent', true);
|
|
103600
103448
|
}
|
|
103601
|
-
let markup = `<${tagName$
|
|
103449
|
+
let markup = `<${tagName$q} wmPopover ${getAttrMarkup(attrs)}>`;
|
|
103602
103450
|
const contextAttrs = table ? `let-row="row"` : ``;
|
|
103603
103451
|
markup += `<ng-template ${contextAttrs}><div tabindex="0" class="popover-start sr-only" aria-label="">popover content start</div>`;
|
|
103604
103452
|
// todo keyboard navigation - tab
|
|
@@ -103612,7 +103460,7 @@ register('wm-popover', () => {
|
|
|
103612
103460
|
if (shared.get('hasPopoverContent')) {
|
|
103613
103461
|
markup += `</div>`;
|
|
103614
103462
|
}
|
|
103615
|
-
return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$
|
|
103463
|
+
return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$q}>`;
|
|
103616
103464
|
}
|
|
103617
103465
|
};
|
|
103618
103466
|
});
|
|
@@ -103623,16 +103471,16 @@ var popover_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103623
103471
|
default: popover_build
|
|
103624
103472
|
});
|
|
103625
103473
|
|
|
103626
|
-
const tagName$
|
|
103474
|
+
const tagName$p = 'div';
|
|
103627
103475
|
const findChild = (node, childName) => {
|
|
103628
103476
|
const child = node && node.children.find(e => (e instanceof Element$2 && e.name === childName));
|
|
103629
103477
|
return child;
|
|
103630
103478
|
};
|
|
103631
|
-
const createElement$
|
|
103632
|
-
return new Element$2(name, [], [], noSpan$
|
|
103479
|
+
const createElement$3 = name => {
|
|
103480
|
+
return new Element$2(name, [], [], noSpan$3, noSpan$3, noSpan$3);
|
|
103633
103481
|
};
|
|
103634
|
-
const addAtrribute$
|
|
103635
|
-
const attr = new Attribute$1(name, value, noSpan$
|
|
103482
|
+
const addAtrribute$3 = (node, name, value) => {
|
|
103483
|
+
const attr = new Attribute$1(name, value, noSpan$3, noSpan$3, noSpan$3, undefined, undefined);
|
|
103636
103484
|
node.attrs.push(attr);
|
|
103637
103485
|
};
|
|
103638
103486
|
const getElementNode = (name, node) => {
|
|
@@ -103653,8 +103501,8 @@ const getElementNode = (name, node) => {
|
|
|
103653
103501
|
});
|
|
103654
103502
|
return elementNode;
|
|
103655
103503
|
};
|
|
103656
|
-
const noSpan$
|
|
103657
|
-
const idGen$
|
|
103504
|
+
const noSpan$3 = {};
|
|
103505
|
+
const idGen$8 = new IDGenerator('wm_page');
|
|
103658
103506
|
register('wm-page', () => {
|
|
103659
103507
|
return {
|
|
103660
103508
|
template: (node) => {
|
|
@@ -103663,24 +103511,24 @@ register('wm-page', () => {
|
|
|
103663
103511
|
pageContentNode = getElementNode('wm-page-content', getElementNode('wm-content', node));
|
|
103664
103512
|
}
|
|
103665
103513
|
if (pageContentNode) {
|
|
103666
|
-
const conditionalNode = createElement$
|
|
103667
|
-
addAtrribute$
|
|
103514
|
+
const conditionalNode = createElement$3('ng-container');
|
|
103515
|
+
addAtrribute$3(conditionalNode, '*ngIf', 'compilePageContent');
|
|
103668
103516
|
conditionalNode.children = conditionalNode.children.concat(pageContentNode.children);
|
|
103669
103517
|
conditionalNode.children.push(new Text$1('{{onPageContentReady()}}', null, undefined, undefined));
|
|
103670
103518
|
pageContentNode.children = [conditionalNode];
|
|
103671
103519
|
if (isMobileApp()) {
|
|
103672
|
-
const loader = createElement$
|
|
103673
|
-
addAtrribute$
|
|
103674
|
-
addAtrribute$
|
|
103520
|
+
const loader = createElement$3('div');
|
|
103521
|
+
addAtrribute$3(loader, 'wmPageContentLoader', '');
|
|
103522
|
+
addAtrribute$3(loader, '*ngIf', '!showPageContent');
|
|
103675
103523
|
pageContentNode.children.push(loader);
|
|
103676
103524
|
}
|
|
103677
103525
|
}
|
|
103678
103526
|
},
|
|
103679
103527
|
pre: (attrs) => {
|
|
103680
|
-
const counter = idGen$
|
|
103681
|
-
return `<${tagName$
|
|
103528
|
+
const counter = idGen$8.nextUid();
|
|
103529
|
+
return `<${tagName$p} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.arialabel" ${getAttrMarkup(attrs)}>`;
|
|
103682
103530
|
},
|
|
103683
|
-
post: () => `</${tagName$
|
|
103531
|
+
post: () => `</${tagName$p}>`
|
|
103684
103532
|
};
|
|
103685
103533
|
});
|
|
103686
103534
|
var page_build = () => { };
|
|
@@ -103690,15 +103538,15 @@ var page_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103690
103538
|
default: page_build
|
|
103691
103539
|
});
|
|
103692
103540
|
|
|
103693
|
-
const tagName$
|
|
103694
|
-
const idGen$
|
|
103541
|
+
const tagName$o = 'div';
|
|
103542
|
+
const idGen$7 = new IDGenerator('wm_layout');
|
|
103695
103543
|
register('wm-layout', () => {
|
|
103696
103544
|
return {
|
|
103697
103545
|
pre: (attrs) => {
|
|
103698
|
-
const counter = idGen$
|
|
103699
|
-
return `<${tagName$
|
|
103546
|
+
const counter = idGen$7.nextUid();
|
|
103547
|
+
return `<${tagName$o} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.arialabel" ${getAttrMarkup(attrs)}>`;
|
|
103700
103548
|
},
|
|
103701
|
-
post: () => `</${tagName$
|
|
103549
|
+
post: () => `</${tagName$o}>`
|
|
103702
103550
|
};
|
|
103703
103551
|
});
|
|
103704
103552
|
var layout_build = () => { };
|
|
@@ -103708,11 +103556,11 @@ var layout_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103708
103556
|
default: layout_build
|
|
103709
103557
|
});
|
|
103710
103558
|
|
|
103711
|
-
const tagName$
|
|
103559
|
+
const tagName$n = 'router-outlet';
|
|
103712
103560
|
register('wm-router-outlet', () => {
|
|
103713
103561
|
return {
|
|
103714
|
-
pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$
|
|
103715
|
-
post: () => `</${tagName$
|
|
103562
|
+
pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$n} (activate)="onActivate($event)">`,
|
|
103563
|
+
post: () => `</${tagName$n}></div>`
|
|
103716
103564
|
};
|
|
103717
103565
|
});
|
|
103718
103566
|
var routerOutlet_build = () => { };
|
|
@@ -103722,11 +103570,11 @@ var routerOutlet_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103722
103570
|
default: routerOutlet_build
|
|
103723
103571
|
});
|
|
103724
103572
|
|
|
103725
|
-
const tagName$
|
|
103573
|
+
const tagName$m = 'nav';
|
|
103726
103574
|
register('wm-pagination', () => {
|
|
103727
103575
|
return {
|
|
103728
|
-
pre: attrs => `<${tagName$
|
|
103729
|
-
post: () => `</${tagName$
|
|
103576
|
+
pre: attrs => `<${tagName$m} wmPagination data-identifier="pagination" aria-label="Page navigation" ${getAttrMarkup(attrs)}>`,
|
|
103577
|
+
post: () => `</${tagName$m}>`
|
|
103730
103578
|
};
|
|
103731
103579
|
});
|
|
103732
103580
|
var pagination_build = () => { };
|
|
@@ -103736,11 +103584,11 @@ var pagination_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103736
103584
|
default: pagination_build
|
|
103737
103585
|
});
|
|
103738
103586
|
|
|
103739
|
-
const tagName$
|
|
103587
|
+
const tagName$l = 'main';
|
|
103740
103588
|
register('wm-content', () => {
|
|
103741
103589
|
return {
|
|
103742
|
-
pre: attrs => `<${tagName$
|
|
103743
|
-
post: () => `</${tagName$
|
|
103590
|
+
pre: attrs => `<${tagName$l} wmContent data-role="page-content" role="main" ${getAttrMarkup(attrs)}>`,
|
|
103591
|
+
post: () => `</${tagName$l}>`
|
|
103744
103592
|
};
|
|
103745
103593
|
});
|
|
103746
103594
|
var content_build = () => { };
|
|
@@ -103750,15 +103598,15 @@ var content_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103750
103598
|
default: content_build
|
|
103751
103599
|
});
|
|
103752
103600
|
|
|
103753
|
-
const tagName$
|
|
103754
|
-
const idGen$
|
|
103601
|
+
const tagName$k = 'footer';
|
|
103602
|
+
const idGen$6 = new IDGenerator('wm_footer');
|
|
103755
103603
|
register('wm-footer', () => {
|
|
103756
103604
|
return {
|
|
103757
103605
|
pre: (attrs) => {
|
|
103758
|
-
const counter = idGen$
|
|
103759
|
-
return `<${tagName$
|
|
103606
|
+
const counter = idGen$6.nextUid();
|
|
103607
|
+
return `<${tagName$k} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.arialabel || 'Page footer'" ${getAttrMarkup(attrs)}>`;
|
|
103760
103608
|
},
|
|
103761
|
-
post: () => `</${tagName$
|
|
103609
|
+
post: () => `</${tagName$k}>`
|
|
103762
103610
|
};
|
|
103763
103611
|
});
|
|
103764
103612
|
var footer_build = () => { };
|
|
@@ -103768,15 +103616,15 @@ var footer_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103768
103616
|
default: footer_build
|
|
103769
103617
|
});
|
|
103770
103618
|
|
|
103771
|
-
const tagName$
|
|
103772
|
-
const idGen$
|
|
103619
|
+
const tagName$j = 'header';
|
|
103620
|
+
const idGen$5 = new IDGenerator('wm_header');
|
|
103773
103621
|
register('wm-header', () => {
|
|
103774
103622
|
return {
|
|
103775
103623
|
pre: (attrs) => {
|
|
103776
|
-
const counter = idGen$
|
|
103777
|
-
return `<${tagName$
|
|
103624
|
+
const counter = idGen$5.nextUid();
|
|
103625
|
+
return `<${tagName$j} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.arialabel || 'Page header'" ${getAttrMarkup(attrs)}>`;
|
|
103778
103626
|
},
|
|
103779
|
-
post: () => `</${tagName$
|
|
103627
|
+
post: () => `</${tagName$j}>`
|
|
103780
103628
|
};
|
|
103781
103629
|
});
|
|
103782
103630
|
var header_build = () => { };
|
|
@@ -103786,15 +103634,15 @@ var header_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103786
103634
|
default: header_build
|
|
103787
103635
|
});
|
|
103788
103636
|
|
|
103789
|
-
const tagName$
|
|
103790
|
-
const idGen$
|
|
103637
|
+
const tagName$i = 'aside';
|
|
103638
|
+
const idGen$4 = new IDGenerator('wm_left_panel');
|
|
103791
103639
|
register('wm-left-panel', () => {
|
|
103792
103640
|
return {
|
|
103793
103641
|
pre: (attrs) => {
|
|
103794
|
-
const counter = idGen$
|
|
103795
|
-
return `<${tagName$
|
|
103642
|
+
const counter = idGen$4.nextUid();
|
|
103643
|
+
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)}>`;
|
|
103796
103644
|
},
|
|
103797
|
-
post: () => `</${tagName$
|
|
103645
|
+
post: () => `</${tagName$i}>`
|
|
103798
103646
|
};
|
|
103799
103647
|
});
|
|
103800
103648
|
var leftPanel_build = () => { };
|
|
@@ -103804,11 +103652,11 @@ var leftPanel_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103804
103652
|
default: leftPanel_build
|
|
103805
103653
|
});
|
|
103806
103654
|
|
|
103807
|
-
const tagName$
|
|
103655
|
+
const tagName$h = 'header';
|
|
103808
103656
|
register('wm-mobile-navbar', () => {
|
|
103809
103657
|
return {
|
|
103810
|
-
pre: attrs => `<${tagName$
|
|
103811
|
-
post: () => `</${tagName$
|
|
103658
|
+
pre: attrs => `<${tagName$h} wmMobileNavbar ${getAttrMarkup(attrs)}>`,
|
|
103659
|
+
post: () => `</${tagName$h}>`
|
|
103812
103660
|
};
|
|
103813
103661
|
});
|
|
103814
103662
|
var mobileNavbar_build = () => { };
|
|
@@ -103818,15 +103666,15 @@ var mobileNavbar_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103818
103666
|
default: mobileNavbar_build
|
|
103819
103667
|
});
|
|
103820
103668
|
|
|
103821
|
-
const tagName$
|
|
103822
|
-
const idGen$
|
|
103669
|
+
const tagName$g = 'aside';
|
|
103670
|
+
const idGen$3 = new IDGenerator('wm_right_panel');
|
|
103823
103671
|
register('wm-right-panel', () => {
|
|
103824
103672
|
return {
|
|
103825
103673
|
pre: (attrs) => {
|
|
103826
|
-
const counter = idGen$
|
|
103827
|
-
return `<${tagName$
|
|
103674
|
+
const counter = idGen$3.nextUid();
|
|
103675
|
+
return `<${tagName$g} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.arialabel || 'Right navigation panel'" ${getAttrMarkup(attrs)}>`;
|
|
103828
103676
|
},
|
|
103829
|
-
post: () => `</${tagName$
|
|
103677
|
+
post: () => `</${tagName$g}>`
|
|
103830
103678
|
};
|
|
103831
103679
|
});
|
|
103832
103680
|
var rightPanel_build = () => { };
|
|
@@ -103836,22 +103684,22 @@ var rightPanel_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103836
103684
|
default: rightPanel_build
|
|
103837
103685
|
});
|
|
103838
103686
|
|
|
103839
|
-
const tagName$
|
|
103840
|
-
const createElement$
|
|
103841
|
-
return new Element$2(name, [], [], noSpan$
|
|
103687
|
+
const tagName$f = 'div';
|
|
103688
|
+
const createElement$2 = name => {
|
|
103689
|
+
return new Element$2(name, [], [], noSpan$2, noSpan$2, noSpan$2);
|
|
103842
103690
|
};
|
|
103843
|
-
const addAtrribute$
|
|
103844
|
-
const attr = new Attribute$1(name, value, noSpan$
|
|
103691
|
+
const addAtrribute$2 = (node, name, value) => {
|
|
103692
|
+
const attr = new Attribute$1(name, value, noSpan$2, noSpan$2, noSpan$2, undefined, undefined);
|
|
103845
103693
|
node.attrs.push(attr);
|
|
103846
103694
|
};
|
|
103847
|
-
const noSpan$
|
|
103695
|
+
const noSpan$2 = {};
|
|
103848
103696
|
register('wm-page-content', () => {
|
|
103849
103697
|
return {
|
|
103850
103698
|
template: (node) => {
|
|
103851
103699
|
for (let attr of node.attrs) {
|
|
103852
103700
|
if (attr.name === 'spa' && attr.value === 'true') {
|
|
103853
|
-
const conditionalNode = createElement$
|
|
103854
|
-
addAtrribute$
|
|
103701
|
+
const conditionalNode = createElement$2('ng-container');
|
|
103702
|
+
addAtrribute$2(conditionalNode, '*ngIf', 'compilePageContent');
|
|
103855
103703
|
conditionalNode.children = conditionalNode.children.concat(node.children);
|
|
103856
103704
|
conditionalNode.children.push(new Text$1('{{onPageContentReady()}}', null, undefined, undefined));
|
|
103857
103705
|
node.children = [conditionalNode];
|
|
@@ -103859,8 +103707,8 @@ register('wm-page-content', () => {
|
|
|
103859
103707
|
}
|
|
103860
103708
|
}
|
|
103861
103709
|
},
|
|
103862
|
-
pre: attrs => `<${tagName$
|
|
103863
|
-
post: () => `</${tagName$
|
|
103710
|
+
pre: attrs => `<${tagName$f} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
|
|
103711
|
+
post: () => `</${tagName$f}>`
|
|
103864
103712
|
};
|
|
103865
103713
|
});
|
|
103866
103714
|
var pageContent_build = () => { };
|
|
@@ -103870,11 +103718,11 @@ var pageContent_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103870
103718
|
default: pageContent_build
|
|
103871
103719
|
});
|
|
103872
103720
|
|
|
103873
|
-
const tagName$
|
|
103721
|
+
const tagName$e = 'div';
|
|
103874
103722
|
register('wm-mobile-tabbar', () => {
|
|
103875
103723
|
return {
|
|
103876
|
-
pre: attrs => `<${tagName$
|
|
103877
|
-
post: () => `</${tagName$
|
|
103724
|
+
pre: attrs => `<${tagName$e} wmMobileTabbar ${getAttrMarkup(attrs)}>`,
|
|
103725
|
+
post: () => `</${tagName$e}>`
|
|
103878
103726
|
};
|
|
103879
103727
|
});
|
|
103880
103728
|
var tabBar_build = () => { };
|
|
@@ -103884,15 +103732,15 @@ var tabBar_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103884
103732
|
default: tabBar_build
|
|
103885
103733
|
});
|
|
103886
103734
|
|
|
103887
|
-
const tagName$
|
|
103888
|
-
const idGen$
|
|
103735
|
+
const tagName$d = 'section';
|
|
103736
|
+
const idGen$2 = new IDGenerator('wm_top_nav');
|
|
103889
103737
|
register('wm-top-nav', () => {
|
|
103890
103738
|
return {
|
|
103891
103739
|
pre: (attrs) => {
|
|
103892
|
-
const counter = idGen$
|
|
103893
|
-
return `<${tagName$
|
|
103740
|
+
const counter = idGen$2.nextUid();
|
|
103741
|
+
return `<${tagName$d} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.arialabel || 'Second level navigation'" ${getAttrMarkup(attrs)}>`;
|
|
103894
103742
|
},
|
|
103895
|
-
post: () => `</${tagName$
|
|
103743
|
+
post: () => `</${tagName$d}>`
|
|
103896
103744
|
};
|
|
103897
103745
|
});
|
|
103898
103746
|
var topNav_build = () => { };
|
|
@@ -103902,26 +103750,26 @@ var topNav_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103902
103750
|
default: topNav_build
|
|
103903
103751
|
});
|
|
103904
103752
|
|
|
103905
|
-
const tagName$
|
|
103906
|
-
const noSpan$
|
|
103907
|
-
const createElement$
|
|
103908
|
-
return new Element$2(name, [], [], noSpan$
|
|
103753
|
+
const tagName$c = 'section';
|
|
103754
|
+
const noSpan$1 = {};
|
|
103755
|
+
const createElement$1 = name => {
|
|
103756
|
+
return new Element$2(name, [], [], noSpan$1, noSpan$1, noSpan$1);
|
|
103909
103757
|
};
|
|
103910
|
-
const addAtrribute$
|
|
103911
|
-
const attr = new Attribute$1(name, value, noSpan$
|
|
103758
|
+
const addAtrribute$1 = (node, name, value) => {
|
|
103759
|
+
const attr = new Attribute$1(name, value, noSpan$1, noSpan$1, noSpan$1, undefined, undefined);
|
|
103912
103760
|
node.attrs.push(attr);
|
|
103913
103761
|
};
|
|
103914
103762
|
register('wm-partial', () => {
|
|
103915
103763
|
return {
|
|
103916
103764
|
template: (node) => {
|
|
103917
|
-
const conditionalNode = createElement$
|
|
103918
|
-
addAtrribute$
|
|
103765
|
+
const conditionalNode = createElement$1('ng-container');
|
|
103766
|
+
addAtrribute$1(conditionalNode, '*ngIf', 'compileContent');
|
|
103919
103767
|
conditionalNode.children = conditionalNode.children.concat(node.children);
|
|
103920
103768
|
node.children.length = 0;
|
|
103921
103769
|
node.children.push(conditionalNode);
|
|
103922
103770
|
},
|
|
103923
|
-
pre: attrs => `<${tagName$
|
|
103924
|
-
post: () => `</${tagName$
|
|
103771
|
+
pre: attrs => `<${tagName$c} wmPartial data-role="partial" ${getAttrMarkup(attrs)}>`,
|
|
103772
|
+
post: () => `</${tagName$c}>`
|
|
103925
103773
|
};
|
|
103926
103774
|
});
|
|
103927
103775
|
var partial_build = () => { };
|
|
@@ -103931,11 +103779,11 @@ var partial_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103931
103779
|
default: partial_build
|
|
103932
103780
|
});
|
|
103933
103781
|
|
|
103934
|
-
const tagName$
|
|
103782
|
+
const tagName$b = 'div';
|
|
103935
103783
|
register('wm-param', () => {
|
|
103936
103784
|
return {
|
|
103937
|
-
pre: attrs => `<${tagName$
|
|
103938
|
-
post: () => `</${tagName$
|
|
103785
|
+
pre: attrs => `<${tagName$b} wmParam hidden ${getAttrMarkup(attrs)}>`,
|
|
103786
|
+
post: () => `</${tagName$b}>`
|
|
103939
103787
|
};
|
|
103940
103788
|
});
|
|
103941
103789
|
var partialParam_build = () => { };
|
|
@@ -103945,11 +103793,11 @@ var partialParam_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103945
103793
|
default: partialParam_build
|
|
103946
103794
|
});
|
|
103947
103795
|
|
|
103948
|
-
const tagName$
|
|
103796
|
+
const tagName$a = 'section';
|
|
103949
103797
|
register('wm-prefab', () => {
|
|
103950
103798
|
return {
|
|
103951
|
-
pre: attrs => `<${tagName$
|
|
103952
|
-
post: () => `</${tagName$
|
|
103799
|
+
pre: attrs => `<${tagName$a} wmPrefab redrawable data-role="prefab" ${getAttrMarkup(attrs)}>`,
|
|
103800
|
+
post: () => `</${tagName$a}>`
|
|
103953
103801
|
};
|
|
103954
103802
|
});
|
|
103955
103803
|
var prefab_build = () => { };
|
|
@@ -103959,26 +103807,26 @@ var prefab_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103959
103807
|
default: prefab_build
|
|
103960
103808
|
});
|
|
103961
103809
|
|
|
103962
|
-
const noSpan
|
|
103963
|
-
const createElement
|
|
103964
|
-
return new Element$2(name, [], [], noSpan
|
|
103810
|
+
const noSpan = {};
|
|
103811
|
+
const createElement = name => {
|
|
103812
|
+
return new Element$2(name, [], [], noSpan, noSpan, noSpan);
|
|
103965
103813
|
};
|
|
103966
|
-
const addAtrribute
|
|
103967
|
-
const attr = new Attribute$1(name, value, noSpan
|
|
103814
|
+
const addAtrribute = (node, name, value) => {
|
|
103815
|
+
const attr = new Attribute$1(name, value, noSpan, noSpan, noSpan, undefined, undefined);
|
|
103968
103816
|
node.attrs.push(attr);
|
|
103969
103817
|
};
|
|
103970
|
-
const tagName$
|
|
103818
|
+
const tagName$9 = 'div';
|
|
103971
103819
|
register('wm-prefab-container', () => {
|
|
103972
103820
|
return {
|
|
103973
103821
|
template: (node) => {
|
|
103974
|
-
const conditionalNode = createElement
|
|
103975
|
-
addAtrribute
|
|
103822
|
+
const conditionalNode = createElement('ng-container');
|
|
103823
|
+
addAtrribute(conditionalNode, '*ngIf', 'compileContent');
|
|
103976
103824
|
conditionalNode.children = conditionalNode.children.concat(node.children);
|
|
103977
103825
|
node.children.length = 0;
|
|
103978
103826
|
node.children.push(conditionalNode);
|
|
103979
103827
|
},
|
|
103980
|
-
pre: attrs => `<${tagName$
|
|
103981
|
-
post: () => `</${tagName$
|
|
103828
|
+
pre: attrs => `<${tagName$9} wmPrefabContainer ${getAttrMarkup(attrs)}>`,
|
|
103829
|
+
post: () => `</${tagName$9}>`
|
|
103982
103830
|
};
|
|
103983
103831
|
});
|
|
103984
103832
|
var prefabContainer_build = () => { };
|
|
@@ -103988,11 +103836,11 @@ var prefabContainer_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
103988
103836
|
default: prefabContainer_build
|
|
103989
103837
|
});
|
|
103990
103838
|
|
|
103991
|
-
const tagName$
|
|
103839
|
+
const tagName$8 = 'div';
|
|
103992
103840
|
register('wm-table-action', () => {
|
|
103993
103841
|
return {
|
|
103994
|
-
pre: attrs => `<${tagName$
|
|
103995
|
-
post: () => `</${tagName$
|
|
103842
|
+
pre: attrs => `<${tagName$8} name="${attrs.get('name') || attrs.get('key')}" wmTableAction ${getAttrMarkup(attrs)}>`,
|
|
103843
|
+
post: () => `</${tagName$8}>`
|
|
103996
103844
|
};
|
|
103997
103845
|
});
|
|
103998
103846
|
var tableAction_build = () => { };
|
|
@@ -104002,11 +103850,11 @@ var tableAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
104002
103850
|
default: tableAction_build
|
|
104003
103851
|
});
|
|
104004
103852
|
|
|
104005
|
-
const tagName$
|
|
103853
|
+
const tagName$7 = 'div';
|
|
104006
103854
|
register('wm-table-column-group', () => {
|
|
104007
103855
|
return {
|
|
104008
|
-
pre: attrs => `<${tagName$
|
|
104009
|
-
post: () => `</${tagName$
|
|
103856
|
+
pre: attrs => `<${tagName$7} wmTableColumnGroup ${getAttrMarkup(attrs)}>`,
|
|
103857
|
+
post: () => `</${tagName$7}>`
|
|
104010
103858
|
};
|
|
104011
103859
|
});
|
|
104012
103860
|
var tableColumnGroup_build = () => { };
|
|
@@ -104016,8 +103864,8 @@ var tableColumnGroup_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
104016
103864
|
default: tableColumnGroup_build
|
|
104017
103865
|
});
|
|
104018
103866
|
|
|
104019
|
-
const tagName$
|
|
104020
|
-
const idGen$
|
|
103867
|
+
const tagName$6 = 'div';
|
|
103868
|
+
const idGen$1 = new IDGenerator('data_table_form_');
|
|
104021
103869
|
const formWidgets = new Set([
|
|
104022
103870
|
'wm-text',
|
|
104023
103871
|
'wm-textarea',
|
|
@@ -104129,7 +103977,7 @@ const getInlineEditWidgetTmpl = (attrs, isNewRow, errorstyle, pCounter) => {
|
|
|
104129
103977
|
let wmFormWidget = '';
|
|
104130
103978
|
if (widget === FormWidgetType.UPLOAD) {
|
|
104131
103979
|
options.uploadProps = {
|
|
104132
|
-
formName: idGen$
|
|
103980
|
+
formName: idGen$1.nextUid(),
|
|
104133
103981
|
name: fieldName
|
|
104134
103982
|
};
|
|
104135
103983
|
options.counter = pCounter;
|
|
@@ -104269,7 +104117,7 @@ register('wm-table-column', () => {
|
|
|
104269
104117
|
customExprTmpl = `${customExpr}<div data-col-identifier="${attrs.get('binding')}" title="${formatExprTmpl}">${formatExprTmpl}`;
|
|
104270
104118
|
}
|
|
104271
104119
|
}
|
|
104272
|
-
return `<${tagName$
|
|
104120
|
+
return `<${tagName$6} wmTableColumn ${getAttrMarkup(attrs)} ${parentForm}>
|
|
104273
104121
|
${rowFilterTmpl}
|
|
104274
104122
|
${inlineEditTmpl}
|
|
104275
104123
|
${inlineNewEditTmpl}
|
|
@@ -104280,7 +104128,7 @@ register('wm-table-column', () => {
|
|
|
104280
104128
|
if (shared.get('customExpression')) {
|
|
104281
104129
|
customExprTmpl = `</div></ng-template>`;
|
|
104282
104130
|
}
|
|
104283
|
-
return `${customExprTmpl}</${tagName$
|
|
104131
|
+
return `${customExprTmpl}</${tagName$6}>`;
|
|
104284
104132
|
},
|
|
104285
104133
|
imports: (attrs) => {
|
|
104286
104134
|
const editWidgetType = attrs.get('edit-widget-type');
|
|
@@ -104296,7 +104144,7 @@ var tableColumn_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
104296
104144
|
default: tableColumn_build
|
|
104297
104145
|
});
|
|
104298
104146
|
|
|
104299
|
-
const tagName$
|
|
104147
|
+
const tagName$5 = 'div';
|
|
104300
104148
|
const getRowExpansionActionTmpl = (attrs) => {
|
|
104301
104149
|
const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';
|
|
104302
104150
|
const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';
|
|
@@ -104312,7 +104160,7 @@ const getRowExpansionActionTmpl = (attrs) => {
|
|
|
104312
104160
|
register('wm-table-row', () => {
|
|
104313
104161
|
return {
|
|
104314
104162
|
pre: (attrs) => {
|
|
104315
|
-
return `<${tagName$
|
|
104163
|
+
return `<${tagName$5} wmTableRow ${getAttrMarkup(attrs)}>
|
|
104316
104164
|
${getRowExpansionActionTmpl(attrs)}
|
|
104317
104165
|
<ng-template #rowExpansionTmpl let-row="row" let-rowDef="rowDef" let-containerLoad="containerLoad">
|
|
104318
104166
|
<div wmContainer partialContainer content.bind="rowDef.content" load.event="containerLoad(widget)"
|
|
@@ -104320,7 +104168,7 @@ register('wm-table-row', () => {
|
|
|
104320
104168
|
<div *ngFor="let param of rowDef.partialParams | keyvalue" wmParam hidden
|
|
104321
104169
|
[name]="param.key" [value]="param.value"></div>`;
|
|
104322
104170
|
},
|
|
104323
|
-
post: () => `</div></ng-template></${tagName$
|
|
104171
|
+
post: () => `</div></ng-template></${tagName$5}>`
|
|
104324
104172
|
};
|
|
104325
104173
|
});
|
|
104326
104174
|
var tableRow_build = () => { };
|
|
@@ -104330,7 +104178,7 @@ var tableRow_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
104330
104178
|
default: tableRow_build
|
|
104331
104179
|
});
|
|
104332
104180
|
|
|
104333
|
-
const tagName$
|
|
104181
|
+
const tagName$4 = 'div';
|
|
104334
104182
|
const getSaveCancelTemplate = () => {
|
|
104335
104183
|
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">
|
|
104336
104184
|
<i class="wi wi-done" aria-hidden="true"></i>
|
|
@@ -104362,9 +104210,9 @@ const getRowActionTmpl = (attrs) => {
|
|
|
104362
104210
|
};
|
|
104363
104211
|
register('wm-table-row-action', () => {
|
|
104364
104212
|
return {
|
|
104365
|
-
pre: attrs => `<${tagName$
|
|
104213
|
+
pre: attrs => `<${tagName$4} wmTableRowAction ${getAttrMarkup(attrs)}>
|
|
104366
104214
|
${getRowActionTmpl(attrs)}`,
|
|
104367
|
-
post: () => `</${tagName$
|
|
104215
|
+
post: () => `</${tagName$4}>`
|
|
104368
104216
|
};
|
|
104369
104217
|
});
|
|
104370
104218
|
var tableRowAction_build = () => { };
|
|
@@ -104374,9 +104222,9 @@ var tableRowAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
104374
104222
|
default: tableRowAction_build
|
|
104375
104223
|
});
|
|
104376
104224
|
|
|
104377
|
-
const tagName$
|
|
104225
|
+
const tagName$3 = 'div';
|
|
104378
104226
|
const dataSetKey = 'dataset';
|
|
104379
|
-
const idGen
|
|
104227
|
+
const idGen = new IDGenerator('table_');
|
|
104380
104228
|
let columnIndex = 0;
|
|
104381
104229
|
/**
|
|
104382
104230
|
* This method assigns index to the table-column and column-groups in order to the maintain the columns in the same order
|
|
@@ -104436,14 +104284,14 @@ register('wm-table', () => {
|
|
|
104436
104284
|
updateTemplateAttrs(node, boundExpr, widgetNameAttr.value, '', 'row');
|
|
104437
104285
|
},
|
|
104438
104286
|
pre: (attrs, shared) => {
|
|
104439
|
-
const counter = idGen
|
|
104287
|
+
const counter = idGen.nextUid();
|
|
104440
104288
|
shared.set('counter', counter);
|
|
104441
104289
|
attrs.set('isdynamictable', shared.get('isdynamictable'));
|
|
104442
104290
|
attrs.set('isrowexpansionenabled', shared.get('isrowexpansionenabled'));
|
|
104443
104291
|
attrs.set('table_reference', counter);
|
|
104444
|
-
return `<${tagName$
|
|
104292
|
+
return `<${tagName$3} wmTable="${counter}" wmTableFilterSort wmTableCUD #${counter} data-identifier="table" ${getAttrMarkup(attrs)}>`;
|
|
104445
104293
|
},
|
|
104446
|
-
post: () => `</${tagName$
|
|
104294
|
+
post: () => `</${tagName$3}>`,
|
|
104447
104295
|
provide: (attrs, shared) => {
|
|
104448
104296
|
const provider = new Map();
|
|
104449
104297
|
provider.set('table_reference', shared.get('counter'));
|
|
@@ -104462,11 +104310,11 @@ var table_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
104462
104310
|
default: table_build
|
|
104463
104311
|
});
|
|
104464
104312
|
|
|
104465
|
-
const tagName$
|
|
104313
|
+
const tagName$2 = 'div';
|
|
104466
104314
|
register('wm-video', () => {
|
|
104467
104315
|
return {
|
|
104468
|
-
pre: attrs => `<${tagName$
|
|
104469
|
-
post: () => `</${tagName$
|
|
104316
|
+
pre: attrs => `<${tagName$2} wmVideo ${getAttrMarkup(attrs)}>`,
|
|
104317
|
+
post: () => `</${tagName$2}>`
|
|
104470
104318
|
};
|
|
104471
104319
|
});
|
|
104472
104320
|
var video_build = () => { };
|
|
@@ -104476,7 +104324,7 @@ var video_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
104476
104324
|
default: video_build
|
|
104477
104325
|
});
|
|
104478
104326
|
|
|
104479
|
-
const tagName$
|
|
104327
|
+
const tagName$1 = 'div';
|
|
104480
104328
|
const SPACING_KEY = 'parentLinearLayout.spacing';
|
|
104481
104329
|
register('wm-linearlayout', () => {
|
|
104482
104330
|
return {
|
|
@@ -104484,9 +104332,9 @@ register('wm-linearlayout', () => {
|
|
|
104484
104332
|
pre: (attrs, shared, provider) => {
|
|
104485
104333
|
let spacing = attrs.get('spacing');
|
|
104486
104334
|
attrs.set('spacing', (!spacing || spacing === '0') && provider ? provider.get(SPACING_KEY) : spacing);
|
|
104487
|
-
return `<${tagName$
|
|
104335
|
+
return `<${tagName$1} wmLinearLayout ${getAttrMarkup(attrs)}>`;
|
|
104488
104336
|
},
|
|
104489
|
-
post: () => `</${tagName$
|
|
104337
|
+
post: () => `</${tagName$1}>`,
|
|
104490
104338
|
provide: (attrs, shared) => {
|
|
104491
104339
|
const provider = new Map();
|
|
104492
104340
|
provider.set(SPACING_KEY, attrs.get('spacing'));
|
|
@@ -104501,11 +104349,11 @@ var linearLayout_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
104501
104349
|
default: linearLayout_build
|
|
104502
104350
|
});
|
|
104503
104351
|
|
|
104504
|
-
const tagName
|
|
104352
|
+
const tagName = 'div';
|
|
104505
104353
|
register('wm-linearlayoutitem', () => {
|
|
104506
104354
|
return {
|
|
104507
|
-
pre: attrs => `<${tagName
|
|
104508
|
-
post: () => `</${tagName
|
|
104355
|
+
pre: attrs => `<${tagName} wmLinearLayoutItem ${getAttrMarkup(attrs)}>`,
|
|
104356
|
+
post: () => `</${tagName}>`
|
|
104509
104357
|
};
|
|
104510
104358
|
});
|
|
104511
104359
|
var linearLayoutItem_build = () => { };
|
|
@@ -104515,49 +104363,6 @@ var linearLayoutItem_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
104515
104363
|
default: linearLayoutItem_build
|
|
104516
104364
|
});
|
|
104517
104365
|
|
|
104518
|
-
const tagName$1 = 'div';
|
|
104519
|
-
const idGen = new IDGenerator('wm_custom_widget');
|
|
104520
|
-
register('wm-custom-widget', () => {
|
|
104521
|
-
return {
|
|
104522
|
-
pre: (attrs) => {
|
|
104523
|
-
const counter = idGen.nextUid();
|
|
104524
|
-
return `<${tagName$1} wmWidgetContainer customWidgetContainer #${counter}="wmWidgetContainer" ${getAttrMarkup(attrs)}>`;
|
|
104525
|
-
},
|
|
104526
|
-
post: () => `</${tagName$1}>`
|
|
104527
|
-
};
|
|
104528
|
-
});
|
|
104529
|
-
var customWidgetContainer_build = () => { };
|
|
104530
|
-
|
|
104531
|
-
var customWidgetContainer_build$1 = /*#__PURE__*/Object.freeze({
|
|
104532
|
-
__proto__: null,
|
|
104533
|
-
default: customWidgetContainer_build
|
|
104534
|
-
});
|
|
104535
|
-
|
|
104536
|
-
const tagName = 'section';
|
|
104537
|
-
const noSpan = {};
|
|
104538
|
-
const createElement = name => {
|
|
104539
|
-
return new Element$2(name, [], [], noSpan, noSpan, noSpan);
|
|
104540
|
-
};
|
|
104541
|
-
register('wm-custom-widget-container', () => {
|
|
104542
|
-
return {
|
|
104543
|
-
template: (node) => {
|
|
104544
|
-
const conditionalNode = createElement('ng-container');
|
|
104545
|
-
// addAtrribute(conditionalNode, '*ngIf', 'compileContent');
|
|
104546
|
-
conditionalNode.children = conditionalNode.children.concat(node.children);
|
|
104547
|
-
node.children.length = 0;
|
|
104548
|
-
node.children.push(conditionalNode);
|
|
104549
|
-
},
|
|
104550
|
-
pre: attrs => `<${tagName} wmCustomWidget data-role="widget" ${getAttrMarkup(attrs)}>`,
|
|
104551
|
-
post: () => `</${tagName}>`
|
|
104552
|
-
};
|
|
104553
|
-
});
|
|
104554
|
-
var customWidgetWrapper_build = () => { };
|
|
104555
|
-
|
|
104556
|
-
var customWidgetWrapper_build$1 = /*#__PURE__*/Object.freeze({
|
|
104557
|
-
__proto__: null,
|
|
104558
|
-
default: customWidgetWrapper_build
|
|
104559
|
-
});
|
|
104560
|
-
|
|
104561
104366
|
const initComponentsBuildTask = () => { };
|
|
104562
104367
|
|
|
104563
104368
|
exports.WIDGET_IMPORTS = WIDGET_IMPORTS;
|
|
@@ -104589,8 +104394,6 @@ exports.confirmDlgBuild = confirmDialog_build$1;
|
|
|
104589
104394
|
exports.containerBuild = container_build$1;
|
|
104590
104395
|
exports.contentBuild = content_build$1;
|
|
104591
104396
|
exports.currencyBuild = currency_build$1;
|
|
104592
|
-
exports.customWidgetBuild = customWidgetContainer_build$1;
|
|
104593
|
-
exports.customWidgetWrapperBuild = customWidgetWrapper_build$1;
|
|
104594
104397
|
exports.dateBuild = date_build$1;
|
|
104595
104398
|
exports.dateTimeBuild = dateTime_build$1;
|
|
104596
104399
|
exports.dlgBuild = dialog_build$1;
|