@wavemaker/angular-codegen 12.0.0-next.45032 → 12.0.0-next.45501

Sign up to get free protection for your applications and to get access to all the features.
@@ -40017,6 +40017,773 @@ var FilterSubscriber = /*@__PURE__*/ (function (_super) {
40017
40017
  return FilterSubscriber;
40018
40018
  }(Subscriber));
40019
40019
 
40020
+ /*
40021
+ Copyright 2015 Axinom
40022
+ Copyright 2011-2013 Abdulla Abdurakhmanov
40023
+ Original sources are available at https://code.google.com/p/x2js/
40024
+
40025
+ Licensed under the Apache License, Version 2.0 (the "License");
40026
+ you may not use this file except in compliance with the License.
40027
+ You may obtain a copy of the License at
40028
+
40029
+ http://www.apache.org/licenses/LICENSE-2.0
40030
+
40031
+ Unless required by applicable law or agreed to in writing, software
40032
+ distributed under the License is distributed on an "AS IS" BASIS,
40033
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
40034
+ See the License for the specific language governing permissions and
40035
+ limitations under the License.
40036
+ */
40037
+
40038
+ /*
40039
+ Supported export methods:
40040
+ * AMD
40041
+ * <script> (window.X2JS)
40042
+ * Node.js
40043
+
40044
+ Limitations:
40045
+ * Attribute namespace prefixes are not parsed as such.
40046
+ * Overall the serialization/deserializaton code is "best effort" and not foolproof.
40047
+ */
40048
+
40049
+ // Module definition pattern used is returnExports from https://github.com/umdjs/umd
40050
+ (function (root, factory) {
40051
+
40052
+ /* global define */
40053
+ if (typeof define === 'function' && define.amd) {
40054
+ // AMD. Register as an anonymous module.
40055
+ define([], factory);
40056
+ } else if (typeof module === 'object' && module.exports) {
40057
+ // Node. Does not work with strict CommonJS, but only CommonJS-like
40058
+ // environments that support module.exports, like Node.
40059
+ module.exports = factory(require("@xmldom/xmldom").DOMParser);
40060
+ } else {
40061
+ // Browser globals (root is window)
40062
+ root.X2JS = factory();
40063
+ }
40064
+ })(undefined, function (CustomDOMParser) {
40065
+
40066
+ // We return a constructor that can be used to make X2JS instances.
40067
+ return function X2JS(config) {
40068
+ var VERSION = "3.4.4";
40069
+
40070
+ config = config || {};
40071
+
40072
+ function initConfigDefaults() {
40073
+ // If set to "property" then <element>_asArray will be created
40074
+ // to allow you to access any element as an array (even if there is only one of it).
40075
+ config.arrayAccessForm = config.arrayAccessForm || "none";
40076
+
40077
+ // If "text" then <empty></empty> will be transformed to "".
40078
+ // If "object" then <empty></empty> will be transformed to {}.
40079
+ config.emptyNodeForm = config.emptyNodeForm || "text";
40080
+
40081
+ // Function that will be called for each elements, if the function returns true, the element will be skipped
40082
+ // function(name, value) { return true; };
40083
+ config.jsAttributeFilter = config.jsAttributeFilter;
40084
+
40085
+ // Function that will be called for each elements, the element value will be replaced by the returned value
40086
+ // function(name, value) { return parseFloat(value); };
40087
+ config.jsAttributeConverter = config.jsAttributeConverter;
40088
+
40089
+ // Allows attribute values to be converted on the fly during parsing to objects.
40090
+ // "test": function(name, value) { return true; }
40091
+ // "convert": function(name, value) { return parseFloat(value); };
40092
+ // convert() will be called for every attribute where test() returns true
40093
+ // and the return value from convert() will replace the original value of the attribute.
40094
+ config.attributeConverters = config.attributeConverters || [];
40095
+
40096
+ // Any elements that match the paths here will have their text parsed
40097
+ // as an XML datetime value (2011-11-12T13:00:00-07:00 style).
40098
+ // The path can be a plain string (parent.child1.child2),
40099
+ // a regex (/.*\.child2/) or function(elementPath).
40100
+ config.datetimeAccessFormPaths = config.datetimeAccessFormPaths || [];
40101
+
40102
+ // Any elements that match the paths listed here will be stored in JavaScript objects
40103
+ // as arrays even if there is only one of them. The path can be a plain string
40104
+ // (parent.child1.child2), a regex (/.*\.child2/) or function(elementName, elementPath).
40105
+ config.arrayAccessFormPaths = config.arrayAccessFormPaths || [];
40106
+
40107
+ // xmldom constructor arguments
40108
+ // @see https://github.com/jindw/xmldom#api-reference
40109
+ config.xmldomOptions = config.xmldomOptions || {};
40110
+
40111
+ // If true, a toString function is generated to print nodes containing text or cdata.
40112
+ // Useful if you want to accept both plain text and CData as equivalent inputs.
40113
+ if (config.enableToStringFunc === undefined) {
40114
+ config.enableToStringFunc = true;
40115
+ }
40116
+
40117
+ // If true, empty text tags are ignored for elements with child nodes.
40118
+ if (config.skipEmptyTextNodesForObj === undefined) {
40119
+ config.skipEmptyTextNodesForObj = true;
40120
+ }
40121
+
40122
+ // If true, whitespace is trimmed from text nodes.
40123
+ if (config.stripWhitespaces === undefined) {
40124
+ config.stripWhitespaces = true;
40125
+ }
40126
+
40127
+ // If true, double quotes are used in generated XML.
40128
+ if (config.useDoubleQuotes === undefined) {
40129
+ config.useDoubleQuotes = true;
40130
+ }
40131
+
40132
+ // If true, the root element of the XML document is ignored when converting to objects.
40133
+ // The result will directly have the root element's children as its own properties.
40134
+ if (config.ignoreRoot === undefined) {
40135
+ config.ignoreRoot = false;
40136
+ }
40137
+
40138
+ // Whether XML characters in text are escaped when reading/writing XML.
40139
+ if (config.escapeMode === undefined) {
40140
+ config.escapeMode = true;
40141
+ }
40142
+
40143
+ // Prefix to use for properties that are created to represent XML attributes.
40144
+ if (config.attributePrefix === undefined) {
40145
+ config.attributePrefix = "_";
40146
+ }
40147
+
40148
+ // If true, empty elements will created as self closing elements (<element />)
40149
+ // If false, empty elements will be created with start and end tags (<element></element>)
40150
+ if (config.selfClosingElements === undefined) {
40151
+ config.selfClosingElements = true;
40152
+ }
40153
+
40154
+ // If this property defined as false and an XML element has CData node ONLY, it will be converted to text without additional property "__cdata"
40155
+ if (config.keepCData === undefined) {
40156
+ config.keepCData = false;
40157
+ }
40158
+
40159
+ // If this property defined as true, use { __text: 'abc' } over 'abc'
40160
+ if (config.keepText === undefined) {
40161
+ config.keepText = false;
40162
+ }
40163
+
40164
+ // If true, will output dates in UTC
40165
+ if (config.jsDateUTC === undefined) {
40166
+ config.jsDateUTC = false;
40167
+ }
40168
+ }
40169
+
40170
+ function initRequiredPolyfills() {
40171
+ function pad(number) {
40172
+ var r = String(number);
40173
+ if (r.length === 1) {
40174
+ r = '0' + r;
40175
+ }
40176
+ return r;
40177
+ }
40178
+ // Hello IE8-
40179
+ if (typeof String.prototype.trim !== 'function') {
40180
+ String.prototype.trim = function trim() {
40181
+ return this.replace(/^\s+|^\n+|(\s|\n)+$/g, '');
40182
+ };
40183
+ }
40184
+ if (typeof Date.prototype.toISOString !== 'function') {
40185
+ // Implementation from http://stackoverflow.com/questions/2573521/how-do-i-output-an-iso-8601-formatted-string-in-javascript
40186
+ Date.prototype.toISOString = function toISOString() {
40187
+ var MS_IN_S = 1000;
40188
+
40189
+ return this.getUTCFullYear()
40190
+ + '-' + pad(this.getUTCMonth() + 1)
40191
+ + '-' + pad(this.getUTCDate())
40192
+ + 'T' + pad(this.getUTCHours())
40193
+ + ':' + pad(this.getUTCMinutes())
40194
+ + ':' + pad(this.getUTCSeconds())
40195
+ + '.' + String((this.getUTCMilliseconds() / MS_IN_S).toFixed(3)).slice(2, 5)
40196
+ + 'Z';
40197
+ };
40198
+ }
40199
+ }
40200
+
40201
+ initConfigDefaults();
40202
+ initRequiredPolyfills();
40203
+
40204
+ var DOMNodeTypes = {
40205
+ "ELEMENT_NODE": 1,
40206
+ "TEXT_NODE": 3,
40207
+ "CDATA_SECTION_NODE": 4,
40208
+ "COMMENT_NODE": 8,
40209
+ "DOCUMENT_NODE": 9
40210
+ };
40211
+
40212
+ function getDomNodeLocalName(domNode) {
40213
+ var localName = domNode.localName;
40214
+ if (localName == null) {
40215
+ // Yeah, this is IE!!
40216
+ localName = domNode.baseName;
40217
+ }
40218
+ if (localName == null || localName === "") {
40219
+ // ==="" is IE too
40220
+ localName = domNode.nodeName;
40221
+ }
40222
+ return localName;
40223
+ }
40224
+
40225
+ function getDomNodeNamespacePrefix(node) {
40226
+ return node.prefix;
40227
+ }
40228
+
40229
+ function escapeXmlChars(str) {
40230
+ if (typeof str === "string")
40231
+ return str.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;').replace(/'/g, '&#x27;');
40232
+ else
40233
+ return str;
40234
+ }
40235
+
40236
+ function unescapeXmlChars(str) {
40237
+ return str.replace(/&lt;/g, '<').replace(/&gt;/g, '>').replace(/&quot;/g, '"').replace(/&#x27;/g, "'").replace(/&amp;/g, '&');
40238
+ }
40239
+
40240
+ function ensureProperArrayAccessForm(element, childName, elementPath) {
40241
+ switch (config.arrayAccessForm) {
40242
+ case "property":
40243
+ if (!(element[childName] instanceof Array))
40244
+ element[childName + "_asArray"] = [element[childName]];
40245
+ else
40246
+ element[childName + "_asArray"] = element[childName];
40247
+ break;
40248
+ }
40249
+
40250
+ if (!(element[childName] instanceof Array) && config.arrayAccessFormPaths.length > 0) {
40251
+ var match = false;
40252
+
40253
+ for (var i = 0; i < config.arrayAccessFormPaths.length; i++) {
40254
+ var arrayPath = config.arrayAccessFormPaths[i];
40255
+ if (typeof arrayPath === "string") {
40256
+ if (arrayPath === elementPath) {
40257
+ match = true;
40258
+ break;
40259
+ }
40260
+ } else if (arrayPath instanceof RegExp) {
40261
+ if (arrayPath.test(elementPath)) {
40262
+ match = true;
40263
+ break;
40264
+ }
40265
+ } else if (typeof arrayPath === "function") {
40266
+ if (arrayPath(childName, elementPath)) {
40267
+ match = true;
40268
+ break;
40269
+ }
40270
+ }
40271
+ }
40272
+
40273
+ if (match)
40274
+ element[childName] = [element[childName]];
40275
+ }
40276
+ }
40277
+
40278
+ function xmlDateTimeToDate(prop) {
40279
+ // Implementation based up on http://stackoverflow.com/questions/8178598/xml-datetime-to-javascript-date-object
40280
+ // Improved to support full spec and optional parts
40281
+ var MINUTES_PER_HOUR = 60;
40282
+
40283
+ var bits = prop.split(/[-T:+Z]/g);
40284
+
40285
+ var d = new Date(bits[0], bits[1] - 1, bits[2]);
40286
+ var secondBits = bits[5].split("\.");
40287
+ d.setHours(bits[3], bits[4], secondBits[0]);
40288
+ if (secondBits.length > 1)
40289
+ d.setMilliseconds(secondBits[1]);
40290
+
40291
+ // Get supplied time zone offset in minutes
40292
+ if (bits[6] && bits[7]) {
40293
+ var offsetMinutes = bits[6] * MINUTES_PER_HOUR + Number(bits[7]);
40294
+ var sign = /\d\d-\d\d:\d\d$/.test(prop) ? '-' : '+';
40295
+
40296
+ // Apply the sign
40297
+ offsetMinutes = 0 + (sign === '-' ? -1 * offsetMinutes : offsetMinutes);
40298
+
40299
+ // Apply offset and local timezone
40300
+ d.setMinutes(d.getMinutes() - offsetMinutes - d.getTimezoneOffset());
40301
+ } else if (prop.indexOf("Z", prop.length - 1) !== -1) {
40302
+ d = new Date(Date.UTC(d.getFullYear(), d.getMonth(), d.getDate(), d.getHours(), d.getMinutes(), d.getSeconds(), d.getMilliseconds()));
40303
+ }
40304
+
40305
+ // d is now a local time equivalent to the supplied time
40306
+ return d;
40307
+ }
40308
+
40309
+ function convertToDateIfRequired(value, childName, fullPath) {
40310
+ if (config.datetimeAccessFormPaths.length > 0) {
40311
+ var pathWithoutTextNode = fullPath.split("\.#")[0];
40312
+
40313
+ for (var i = 0; i < config.datetimeAccessFormPaths.length; i++) {
40314
+ var candidatePath = config.datetimeAccessFormPaths[i];
40315
+ if (typeof candidatePath === "string") {
40316
+ if (candidatePath === pathWithoutTextNode)
40317
+ return xmlDateTimeToDate(value);
40318
+ } else if (candidatePath instanceof RegExp) {
40319
+ if (candidatePath.test(pathWithoutTextNode))
40320
+ return xmlDateTimeToDate(value);
40321
+ } else if (typeof candidatePath === "function") {
40322
+ if (candidatePath(pathWithoutTextNode))
40323
+ return xmlDateTimeToDate(value);
40324
+ }
40325
+ }
40326
+ }
40327
+
40328
+ return value;
40329
+ }
40330
+
40331
+ function deserializeRootElementChildren(rootElement) {
40332
+ var result = {};
40333
+ var children = rootElement.childNodes;
40334
+
40335
+ // Alternative for firstElementChild which is not supported in some environments
40336
+ for (var i = 0; i < children.length; i++) {
40337
+ var child = children.item(i);
40338
+ if (child.nodeType === DOMNodeTypes.ELEMENT_NODE) {
40339
+ var childName = getDomNodeLocalName(child);
40340
+
40341
+ if (config.ignoreRoot)
40342
+ result = deserializeDomChildren(child, childName);
40343
+ else
40344
+ result[childName] = deserializeDomChildren(child, childName);
40345
+ }
40346
+ }
40347
+
40348
+ return result;
40349
+ }
40350
+
40351
+ function deserializeElementChildren(element, elementPath) {
40352
+ var result = {};
40353
+ result.__cnt = 0;
40354
+
40355
+ var nodeChildren = element.childNodes;
40356
+
40357
+ // Child nodes.
40358
+ for (var iChild = 0; iChild < nodeChildren.length; iChild++) {
40359
+ var child = nodeChildren.item(iChild);
40360
+ var childName = getDomNodeLocalName(child);
40361
+
40362
+ if (child.nodeType === DOMNodeTypes.COMMENT_NODE)
40363
+ continue;
40364
+
40365
+ result.__cnt++;
40366
+
40367
+ // We deliberately do not accept everything falsey here because
40368
+ // elements that resolve to empty string should still be preserved.
40369
+ if (result[childName] == null) {
40370
+ result[childName] = deserializeDomChildren(child, elementPath + "." + childName);
40371
+ ensureProperArrayAccessForm(result, childName, elementPath + "." + childName);
40372
+ } else {
40373
+ if (!(result[childName] instanceof Array)) {
40374
+ result[childName] = [result[childName]];
40375
+ ensureProperArrayAccessForm(result, childName, elementPath + "." + childName);
40376
+ }
40377
+
40378
+ result[childName][result[childName].length] = deserializeDomChildren(child, elementPath + "." + childName);
40379
+ }
40380
+ }
40381
+
40382
+ // Attributes
40383
+ for (var iAttribute = 0; iAttribute < element.attributes.length; iAttribute++) {
40384
+ var attribute = element.attributes.item(iAttribute);
40385
+ result.__cnt++;
40386
+
40387
+ var adjustedValue = attribute.value;
40388
+ for (var iConverter = 0; iConverter < config.attributeConverters.length; iConverter++) {
40389
+ var converter = config.attributeConverters[iConverter];
40390
+ if (converter.test.call(null, attribute.name, attribute.value))
40391
+ adjustedValue = converter.convert.call(null, attribute.name, attribute.value);
40392
+ }
40393
+
40394
+ result[config.attributePrefix + attribute.name] = adjustedValue;
40395
+ }
40396
+
40397
+ // Node namespace prefix
40398
+ var namespacePrefix = getDomNodeNamespacePrefix(element);
40399
+ if (namespacePrefix) {
40400
+ result.__cnt++;
40401
+ result.__prefix = namespacePrefix;
40402
+ }
40403
+
40404
+ if (result["#text"]) {
40405
+ result.__text = result["#text"];
40406
+
40407
+ if (result.__text instanceof Array) {
40408
+ result.__text = result.__text.join("\n");
40409
+ }
40410
+
40411
+ if (config.escapeMode)
40412
+ result.__text = unescapeXmlChars(result.__text);
40413
+
40414
+ if (config.stripWhitespaces)
40415
+ result.__text = result.__text.trim();
40416
+
40417
+ delete result["#text"];
40418
+
40419
+ if (config.arrayAccessForm === "property")
40420
+ delete result["#text_asArray"];
40421
+
40422
+ result.__text = convertToDateIfRequired(result.__text, "#text", elementPath + ".#text");
40423
+ }
40424
+
40425
+ if (result.hasOwnProperty('#cdata-section')) {
40426
+ result.__cdata = result["#cdata-section"];
40427
+ delete result["#cdata-section"];
40428
+
40429
+ if (config.arrayAccessForm === "property")
40430
+ delete result["#cdata-section_asArray"];
40431
+ }
40432
+
40433
+ if (result.__cnt === 1 && result.__text && !config.keepText) {
40434
+ result = result.__text;
40435
+ } else if (result.__cnt === 0 && config.emptyNodeForm === "text") {
40436
+ result = '';
40437
+ } else if (result.__cnt > 1 && result.__text !== undefined && config.skipEmptyTextNodesForObj) {
40438
+ if (config.stripWhitespaces && result.__text === "" || result.__text.trim() === "") {
40439
+ delete result.__text;
40440
+ }
40441
+ }
40442
+ delete result.__cnt;
40443
+
40444
+ /**
40445
+ * We are checking if we are creating a __cdata property or if we just add the content of cdata inside result.
40446
+ * But, if we have a property inside xml tag (<tag PROPERTY="1"></tag>), and a cdata inside, we can't ignore it.
40447
+ * In this case we are keeping __cdata property.
40448
+ */
40449
+ if (!config.keepCData && (!result.hasOwnProperty('__text') && result.hasOwnProperty('__cdata') && Object.keys(result).length === 1)) {
40450
+ return (result.__cdata ? result.__cdata : '');
40451
+ }
40452
+
40453
+ if (config.enableToStringFunc && (result.__text || result.__cdata)) {
40454
+ result.toString = function toString() {
40455
+ return (this.__text ? this.__text : '') + (this.__cdata ? this.__cdata : '');
40456
+ };
40457
+ }
40458
+
40459
+ return result;
40460
+ }
40461
+
40462
+ function deserializeDomChildren(node, parentPath) {
40463
+ if (node.nodeType === DOMNodeTypes.DOCUMENT_NODE) {
40464
+ return deserializeRootElementChildren(node);
40465
+ } else if (node.nodeType === DOMNodeTypes.ELEMENT_NODE) {
40466
+ return deserializeElementChildren(node, parentPath);
40467
+ } else if (node.nodeType === DOMNodeTypes.TEXT_NODE || node.nodeType === DOMNodeTypes.CDATA_SECTION_NODE) {
40468
+ return node.nodeValue;
40469
+ } else {
40470
+ return null;
40471
+ }
40472
+ }
40473
+
40474
+ function serializeStartTag(jsObject, elementName, attributeNames, selfClosing) {
40475
+ var resultStr = "<" + ((jsObject && jsObject.__prefix) ? (jsObject.__prefix + ":") : "") + elementName;
40476
+
40477
+ if (attributeNames) {
40478
+ for (var i = 0; i < attributeNames.length; i++) {
40479
+ var attributeName = attributeNames[i];
40480
+ var attributeValue = jsObject[attributeName];
40481
+
40482
+ if (config.escapeMode)
40483
+ attributeValue = escapeXmlChars(attributeValue);
40484
+
40485
+ resultStr += " " + attributeName.substr(config.attributePrefix.length) + "=";
40486
+
40487
+ if (config.useDoubleQuotes)
40488
+ resultStr += '"' + attributeValue + '"';
40489
+ else
40490
+ resultStr += "'" + attributeValue + "'";
40491
+ }
40492
+ }
40493
+
40494
+ if (!selfClosing)
40495
+ resultStr += ">";
40496
+ else
40497
+ resultStr += " />";
40498
+
40499
+ return resultStr;
40500
+ }
40501
+
40502
+ function serializeEndTag(jsObject, elementName) {
40503
+ return "</" + ((jsObject && jsObject.__prefix) ? (jsObject.__prefix + ":") : "") + elementName + ">";
40504
+ }
40505
+
40506
+ function endsWith(str, suffix) {
40507
+ return str.indexOf(suffix, str.length - suffix.length) !== -1;
40508
+ }
40509
+
40510
+ function isSpecialProperty(jsonObj, propertyName) {
40511
+ if ((config.arrayAccessForm === "property" && endsWith(propertyName.toString(), ("_asArray")))
40512
+ || propertyName.toString().indexOf(config.attributePrefix) === 0
40513
+ || propertyName.toString().indexOf("__") === 0
40514
+ || (jsonObj[propertyName] instanceof Function))
40515
+ return true;
40516
+ else
40517
+ return false;
40518
+ }
40519
+
40520
+ function getDataElementCount(jsObject) {
40521
+ var count = 0;
40522
+
40523
+ if (jsObject instanceof Object) {
40524
+ for (var propertyName in jsObject) {
40525
+ if (isSpecialProperty(jsObject, propertyName))
40526
+ continue;
40527
+
40528
+ count++;
40529
+ }
40530
+ }
40531
+
40532
+ return count;
40533
+ }
40534
+
40535
+ function getDataAttributeNames(jsObject) {
40536
+ var names = [];
40537
+
40538
+ if (jsObject instanceof Object) {
40539
+ for (var attributeName in jsObject) {
40540
+ if (attributeName.toString().indexOf("__") === -1
40541
+ && attributeName.toString().indexOf(config.attributePrefix) === 0) {
40542
+ names.push(attributeName);
40543
+ }
40544
+ }
40545
+ }
40546
+
40547
+ return names;
40548
+ }
40549
+
40550
+ function serializeComplexTextNodeContents(textNode) {
40551
+ var result = "";
40552
+
40553
+ if (textNode.__cdata) {
40554
+ result += "<![CDATA[" + textNode.__cdata + "]]>";
40555
+ }
40556
+
40557
+ if (textNode.__text || typeof (textNode.__text) === 'number' || typeof (textNode.__text) === 'boolean') {
40558
+ if (config.escapeMode)
40559
+ result += escapeXmlChars(textNode.__text);
40560
+ else
40561
+ result += textNode.__text;
40562
+ }
40563
+
40564
+ return result;
40565
+ }
40566
+
40567
+ function serializeTextNodeContents(textNode) {
40568
+ var result = "";
40569
+
40570
+ if (textNode instanceof Object) {
40571
+ result += serializeComplexTextNodeContents(textNode);
40572
+ } else if (textNode !== null) {
40573
+ if (config.escapeMode)
40574
+ result += escapeXmlChars(textNode);
40575
+ else
40576
+ result += textNode;
40577
+ }
40578
+
40579
+ return result;
40580
+ }
40581
+
40582
+ function serializeArray(elementArray, elementName, attributes) {
40583
+ var result = "";
40584
+
40585
+ if (elementArray.length === 0) {
40586
+ result += serializeStartTag(elementArray, elementName, attributes, true);
40587
+ } else {
40588
+ for (var i = 0; i < elementArray.length; i++) {
40589
+ result += serializeJavaScriptObject(elementArray[i], elementName, getDataAttributeNames(elementArray[i]));
40590
+ }
40591
+ }
40592
+
40593
+ return result;
40594
+ }
40595
+
40596
+ function serializeJavaScriptObject(element, elementName, attributes) {
40597
+ var result = "";
40598
+
40599
+ // Filter out elements
40600
+ if (config.jsAttributeFilter && config.jsAttributeFilter.call(null, elementName, element)) {
40601
+ return result;
40602
+ }
40603
+ // Convert element
40604
+ if (config.jsAttributeConverter) {
40605
+ element = config.jsAttributeConverter.call(null, elementName, element);
40606
+ }
40607
+ if ((element === undefined || element === null || element === '') && config.selfClosingElements) {
40608
+ result += serializeStartTag(element, elementName, attributes, true);
40609
+ } else if (typeof element === 'object') {
40610
+ if (Object.prototype.toString.call(element) === '[object Array]') {
40611
+ result += serializeArray(element, elementName, attributes);
40612
+ } else if (element instanceof Date) {
40613
+ result += serializeStartTag(element, elementName, attributes, false);
40614
+ // Serialize date
40615
+ result += config.jsDateUTC ? element.toUTCString() : element.toISOString();
40616
+ result += serializeEndTag(element, elementName);
40617
+ } else {
40618
+ var childElementCount = getDataElementCount(element);
40619
+ if (childElementCount > 0 || typeof (element.__text) === 'number' || typeof (element.__text) === 'boolean' || element.__text || element.__cdata) {
40620
+ result += serializeStartTag(element, elementName, attributes, false);
40621
+ result += serializeJavaScriptObjectChildren(element);
40622
+ result += serializeEndTag(element, elementName);
40623
+ } else if (config.selfClosingElements) {
40624
+ result += serializeStartTag(element, elementName, attributes, true);
40625
+ } else {
40626
+ result += serializeStartTag(element, elementName, attributes, false);
40627
+ result += serializeEndTag(element, elementName);
40628
+ }
40629
+ }
40630
+ } else {
40631
+ result += serializeStartTag(element, elementName, attributes, false);
40632
+ result += serializeTextNodeContents(element);
40633
+ result += serializeEndTag(element, elementName);
40634
+ }
40635
+
40636
+ return result;
40637
+ }
40638
+
40639
+ function serializeJavaScriptObjectChildren(jsObject) {
40640
+ var result = "";
40641
+
40642
+ var elementCount = getDataElementCount(jsObject);
40643
+
40644
+ if (elementCount > 0) {
40645
+ for (var elementName in jsObject) {
40646
+ if (isSpecialProperty(jsObject, elementName))
40647
+ continue;
40648
+
40649
+ var element = jsObject[elementName];
40650
+ var attributes = getDataAttributeNames(element);
40651
+
40652
+ result += serializeJavaScriptObject(element, elementName, attributes);
40653
+ }
40654
+ }
40655
+
40656
+ result += serializeTextNodeContents(jsObject);
40657
+
40658
+ return result;
40659
+ }
40660
+
40661
+ function parseXml(xml) {
40662
+ if (xml === undefined) {
40663
+ return null;
40664
+ }
40665
+
40666
+ if (typeof xml !== "string") {
40667
+ return null;
40668
+ }
40669
+
40670
+ var parser = null;
40671
+ var domNode = null;
40672
+
40673
+ if (CustomDOMParser) {
40674
+ // This branch is used for node.js, with the xmldom parser.
40675
+ parser = new CustomDOMParser(config.xmldomOptions);
40676
+
40677
+ domNode = parser.parseFromString(xml, "text/xml");
40678
+ } else if (window && window.DOMParser) {
40679
+ parser = new window.DOMParser();
40680
+ var parsererrorNS = null;
40681
+
40682
+ var isIEParser = window.ActiveXObject || "ActiveXObject" in window;
40683
+
40684
+ // IE9+ now is here
40685
+ if (!isIEParser && document.all && !document.addEventListener) {
40686
+ try {
40687
+ parsererrorNS = parser.parseFromString("INVALID", "text/xml").childNodes[0].namespaceURI;
40688
+ } catch (err) {
40689
+ parsererrorNS = null;
40690
+ }
40691
+ }
40692
+
40693
+ try {
40694
+ domNode = parser.parseFromString(xml, "text/xml");
40695
+ if (parsererrorNS !== null && domNode.getElementsByTagNameNS(parsererrorNS, "parsererror").length > 0) {
40696
+ domNode = null;
40697
+ }
40698
+ } catch (err) {
40699
+ domNode = null;
40700
+ }
40701
+ } else {
40702
+ // IE :(
40703
+ if (xml.indexOf("<?") === 0) {
40704
+ xml = xml.substr(xml.indexOf("?>") + 2);
40705
+ }
40706
+
40707
+ /* global ActiveXObject */
40708
+ domNode = new ActiveXObject("Microsoft.XMLDOM");
40709
+ domNode.async = "false";
40710
+ domNode.loadXML(xml);
40711
+ }
40712
+
40713
+ return domNode;
40714
+ }
40715
+
40716
+ this.asArray = function asArray(prop) {
40717
+ if (prop === undefined || prop === null) {
40718
+ return [];
40719
+ } else if (prop instanceof Array) {
40720
+ return prop;
40721
+ } else {
40722
+ return [prop];
40723
+ }
40724
+ };
40725
+
40726
+ this.toXmlDateTime = function toXmlDateTime(dt) {
40727
+ if (dt instanceof Date) {
40728
+ return dt.toISOString();
40729
+ } else if (typeof (dt) === 'number') {
40730
+ return new Date(dt).toISOString();
40731
+ } else {
40732
+ return null;
40733
+ }
40734
+ };
40735
+
40736
+ this.asDateTime = function asDateTime(prop) {
40737
+ if (typeof (prop) === "string") {
40738
+ return xmlDateTimeToDate(prop);
40739
+ } else {
40740
+ return prop;
40741
+ }
40742
+ };
40743
+
40744
+ /*
40745
+ Internally the logic works in a cycle:
40746
+ DOM->JS - implemented by custom logic (deserialization).
40747
+ JS->XML - implemented by custom logic (serialization).
40748
+ XML->DOM - implemented by browser.
40749
+ */
40750
+
40751
+ // Transformns an XML string into DOM-tree
40752
+ this.xml2dom = function xml2dom(xml) {
40753
+ return parseXml(xml);
40754
+ };
40755
+
40756
+ // Transforms a DOM tree to JavaScript objects.
40757
+ this.dom2js = function dom2js(domNode) {
40758
+ return deserializeDomChildren(domNode, null);
40759
+ };
40760
+
40761
+ // Transforms JavaScript objects to a DOM tree.
40762
+ this.js2dom = function js2dom(jsObject) {
40763
+ var xml = this.js2xml(jsObject);
40764
+ return parseXml(xml);
40765
+ };
40766
+
40767
+ // Transformns an XML string into JavaScript objects.
40768
+ this.xml2js = function xml2js(xml) {
40769
+ var domNode = parseXml(xml);
40770
+ if (domNode != null)
40771
+ return this.dom2js(domNode);
40772
+ else
40773
+ return null;
40774
+ };
40775
+
40776
+ // Transforms JavaScript objects into an XML string.
40777
+ this.js2xml = function js2xml(jsObject) {
40778
+ return serializeJavaScriptObjectChildren(jsObject);
40779
+ };
40780
+
40781
+ this.getVersion = function getVersion() {
40782
+ return VERSION;
40783
+ };
40784
+ };
40785
+ });
40786
+
40020
40787
  /**
40021
40788
  * @license Angular v17.3.11
40022
40789
  * (c) 2010-2024 Google LLC. https://angular.io/
@@ -86028,7 +86795,6 @@ var FormWidgetType;
86028
86795
  FormWidgetType["TIMESTAMP"] = "timestamp";
86029
86796
  FormWidgetType["TYPEAHEAD"] = "typeahead";
86030
86797
  FormWidgetType["UPLOAD"] = "upload";
86031
- FormWidgetType["CUSTOM"] = "custom";
86032
86798
  })(FormWidgetType || (FormWidgetType = {}));
86033
86799
  var DataType;
86034
86800
  (function (DataType) {
@@ -86159,9 +86925,6 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
86159
86925
  case FormWidgetType.TIMESTAMP:
86160
86926
  tmpl = `<div wmDateTime ${attrs.get('required') === 'true' ? 'required=true' : ''} dataentrymode="${attrs.get('dataentrymode')}" ${innerTmpl} role="input" ${showTmpl}></div>`;
86161
86927
  break;
86162
- case FormWidgetType.CUSTOM:
86163
- tmpl = `<div wmWidgetContainer customWidgetContainer ${attrs.get('required') === 'true' ? 'required=true' : ''} ${innerTmpl} ${showTmpl}></div>`;
86164
- break;
86165
86928
  case FormWidgetType.UPLOAD:
86166
86929
  const counter = options.counter;
86167
86930
  const pCounter = options.pCounter;
@@ -86212,8 +86975,6 @@ const getRequiredFormWidget = (widgetType) => {
86212
86975
  return 'wm-richtexteditor';
86213
86976
  case FormWidgetType.SLIDER:
86214
86977
  return 'wm-slider';
86215
- case FormWidgetType.CUSTOM:
86216
- return 'wm-custom-widget';
86217
86978
  default:
86218
86979
  return 'wm-text';
86219
86980
  }
@@ -86951,7 +87712,6 @@ var ComponentType;
86951
87712
  ComponentType[ComponentType["PAGE"] = 0] = "PAGE";
86952
87713
  ComponentType[ComponentType["PREFAB"] = 1] = "PREFAB";
86953
87714
  ComponentType[ComponentType["PARTIAL"] = 2] = "PARTIAL";
86954
- ComponentType[ComponentType["WIDGET"] = 3] = "WIDGET";
86955
87715
  })(ComponentType || (ComponentType = {}));
86956
87716
  var Operation;
86957
87717
  (function (Operation) {
@@ -87277,7 +88037,7 @@ const getFormattedDate = (datePipe, dateObj, format, timeZone, isTimeStampType,
87277
88037
  if (format === 'UTC') {
87278
88038
  return new Date(dateObj).toISOString();
87279
88039
  }
87280
- if (timeZone) {
88040
+ if (timeZone && timeZone !== moment.defaultZone?.name) {
87281
88041
  const momentFormat = format.replaceAll('y', 'Y').replaceAll('d', 'D').replace('a', 'A');
87282
88042
  if (isIntervalDateTime) { // dates which are of type time widget (value is hh:mm:ss) but returned as date string from time comp
87283
88043
  return moment(dateObj).format(momentFormat);
@@ -87412,7 +88172,7 @@ const getValidJSON = (content) => {
87412
88172
  }
87413
88173
  };
87414
88174
  const xmlToJson = (xmlString) => {
87415
- const x2jsObj = new X2JS({ 'emptyNodeForm': 'content', 'attributePrefix': '', 'enableToStringFunc': false });
88175
+ const x2jsObj = new X2JS({ 'emptyNodeForm': 'object', 'attributePrefix': '', 'enableToStringFunc': false });
87416
88176
  let json = x2jsObj.xml2js(xmlString);
87417
88177
  if (json) {
87418
88178
  json = get(json, Object.keys(json)[0]);
@@ -89758,7 +90518,6 @@ const LEFT_PANEL_MODULE = [{ from: '@wm/components/page/left-panel', name: 'Left
89758
90518
  { from: '@wm/mobile/components/page/left-panel', name: 'LeftPanelModule', as: 'WM_MobileLeftPanelModule', platformType: 'MOBILE' }];
89759
90519
  const LIST_MODULE = [...PAGINATION_MODULE, ...INPUT_MODULE, { from: '@wm/components/data/list', name: 'ListModule' }];
89760
90520
  const LOGIN_MODULE = [{ from: '@wm/components/advanced/login', name: 'LoginModule' }];
89761
- const CUSTOM_MODULE = [{ from: '@wm/components/advanced/custom', name: 'CustomModule' }];
89762
90521
  const MOBILE_NAV_BAR_MODULE = [...LEFT_PANEL_MODULE, ...SEARCH_MODULE, ...PAGE_MODULE, { from: '@wm/mobile/components/page/mobile-navbar', name: 'MobileNavbarModule' }];
89763
90522
  const MEDIA_LIST_MODULE = [...BASIC_MODULE, ...PAGE_MODULE, ...MOBILE_NAV_BAR_MODULE, { from: '@wm/mobile/components/data/media-list', name: 'MediaListModule' }];
89764
90523
  const MOBILE_TAB_BAR_MODULE = [{ from: '@wm/mobile/components/page/tab-bar', name: 'TabBarModule' }];
@@ -89831,7 +90590,6 @@ const WIDGET_IMPORTS = new Map([
89831
90590
  ['wm-list', LIST_MODULE],
89832
90591
  ['wm-livetable', LIVE_TABLE_MODULE],
89833
90592
  ['wm-login', LOGIN_MODULE],
89834
- ['wm-custom', CUSTOM_MODULE],
89835
90593
  ['wm-logindialog', LOGIN_DIALOG_MODULE],
89836
90594
  ['wm-marquee', MARQUEE_MODULE],
89837
90595
  ['wm-menu', MENU_MODULE],
@@ -90345,9 +91103,6 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
90345
91103
  else if (componentType === 2 || componentType === 'PARTIAL') {
90346
91104
  s = `${prefix} app-partial-${componentName} ${s}`;
90347
91105
  }
90348
- else if (componentType === 3 || componentType === 'WIDGET') {
90349
- s = `${prefix} app-custom-${componentName} ${s}`;
90350
- }
90351
91106
  return s;
90352
91107
  }).join(',');
90353
91108
  }
@@ -90363,13 +91118,13 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
90363
91118
 
90364
91119
  const carouselTagName = 'carousel';
90365
91120
  const dataSetKey$5 = 'dataset';
90366
- const idGen$t = new IDGenerator('wm_carousel_ref_');
91121
+ const idGen$s = new IDGenerator('wm_carousel_ref_');
90367
91122
  const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
90368
91123
  register('wm-carousel', () => {
90369
91124
  return {
90370
91125
  pre: (attrs, shared) => {
90371
91126
  // generating unique Id for the carousel
90372
- const counter = idGen$t.nextUid();
91127
+ const counter = idGen$s.nextUid();
90373
91128
  shared.set('carousel_ref', counter);
90374
91129
  return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
90375
91130
  },
@@ -90437,11 +91192,11 @@ var carouselTemplate_build$1 = /*#__PURE__*/Object.freeze({
90437
91192
  default: carouselTemplate_build
90438
91193
  });
90439
91194
 
90440
- const tagName$1E = 'div';
91195
+ const tagName$1C = 'div';
90441
91196
  register('wm-login', () => {
90442
91197
  return {
90443
- pre: attrs => `<${tagName$1E} wmLogin ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction">`,
90444
- post: () => `</${tagName$1E}>`,
91198
+ pre: attrs => `<${tagName$1C} wmLogin ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction">`,
91199
+ post: () => `</${tagName$1C}>`,
90445
91200
  provide: () => {
90446
91201
  const provider = new Map();
90447
91202
  provider.set('isLogin', true);
@@ -90456,11 +91211,11 @@ var login_build$1 = /*#__PURE__*/Object.freeze({
90456
91211
  default: login_build
90457
91212
  });
90458
91213
 
90459
- const tagName$1D = 'marquee';
91214
+ const tagName$1B = 'marquee';
90460
91215
  register('wm-marquee', () => {
90461
91216
  return {
90462
- pre: attrs => `<${tagName$1D} onmouseover="this.stop();" onmouseout="this.start();" wmMarquee role="marquee" aria-live="off" ${getAttrMarkup(attrs)}>`,
90463
- post: () => `</${tagName$1D}>`
91217
+ pre: attrs => `<${tagName$1B} onmouseover="this.stop();" onmouseout="this.start();" wmMarquee role="marquee" aria-live="off" ${getAttrMarkup(attrs)}>`,
91218
+ post: () => `</${tagName$1B}>`
90464
91219
  };
90465
91220
  });
90466
91221
  var marquee_build = () => { };
@@ -90470,15 +91225,15 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
90470
91225
  default: marquee_build
90471
91226
  });
90472
91227
 
90473
- const tagName$1C = 'a';
90474
- const idGen$s = new IDGenerator('wm_anchor');
91228
+ const tagName$1A = 'a';
91229
+ const idGen$r = new IDGenerator('wm_anchor');
90475
91230
  register('wm-anchor', () => {
90476
91231
  return {
90477
91232
  pre: (attrs) => {
90478
- const counter = idGen$s.nextUid();
90479
- return `<${tagName$1C} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.hint || ${counter}.caption" ${getAttrMarkup(attrs)}>`;
91233
+ const counter = idGen$r.nextUid();
91234
+ return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.hint || ${counter}.caption" ${getAttrMarkup(attrs)}>`;
90480
91235
  },
90481
- post: () => `</${tagName$1C}>`
91236
+ post: () => `</${tagName$1A}>`
90482
91237
  };
90483
91238
  });
90484
91239
  var anchor_build = () => { };
@@ -90488,11 +91243,11 @@ var anchor_build$1 = /*#__PURE__*/Object.freeze({
90488
91243
  default: anchor_build
90489
91244
  });
90490
91245
 
90491
- const tagName$1B = 'div';
91246
+ const tagName$1z = 'div';
90492
91247
  register('wm-audio', () => {
90493
91248
  return {
90494
- pre: attrs => `<${tagName$1B} wmAudio ${getAttrMarkup(attrs)}>`,
90495
- post: () => `</${tagName$1B}>`
91249
+ pre: attrs => `<${tagName$1z} wmAudio ${getAttrMarkup(attrs)}>`,
91250
+ post: () => `</${tagName$1z}>`
90496
91251
  };
90497
91252
  });
90498
91253
  var audio_build = () => { };
@@ -90502,15 +91257,15 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
90502
91257
  default: audio_build
90503
91258
  });
90504
91259
 
90505
- const tagName$1A = 'div';
90506
- const idGen$r = new IDGenerator('wm_html');
91260
+ const tagName$1y = 'div';
91261
+ const idGen$q = new IDGenerator('wm_html');
90507
91262
  register('wm-html', () => {
90508
91263
  return {
90509
91264
  pre: (attrs) => {
90510
- const counter = idGen$r.nextUid();
90511
- return `<${tagName$1A} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
91265
+ const counter = idGen$q.nextUid();
91266
+ return `<${tagName$1y} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
90512
91267
  },
90513
- post: () => `</${tagName$1A}>`
91268
+ post: () => `</${tagName$1y}>`
90514
91269
  };
90515
91270
  });
90516
91271
  var html_build = () => { };
@@ -90520,11 +91275,11 @@ var html_build$1 = /*#__PURE__*/Object.freeze({
90520
91275
  default: html_build
90521
91276
  });
90522
91277
 
90523
- const tagName$1z = 'span';
91278
+ const tagName$1x = 'span';
90524
91279
  register('wm-icon', () => {
90525
91280
  return {
90526
- pre: attrs => `<${tagName$1z} wmIcon aria-hidden="true" ${getAttrMarkup(attrs)}>`,
90527
- post: () => `</${tagName$1z}>`
91281
+ pre: attrs => `<${tagName$1x} wmIcon aria-hidden="true" ${getAttrMarkup(attrs)}>`,
91282
+ post: () => `</${tagName$1x}>`
90528
91283
  };
90529
91284
  });
90530
91285
  var icon_build = () => { };
@@ -90534,11 +91289,11 @@ var icon_build$1 = /*#__PURE__*/Object.freeze({
90534
91289
  default: icon_build
90535
91290
  });
90536
91291
 
90537
- const tagName$1y = 'div';
91292
+ const tagName$1w = 'div';
90538
91293
  register('wm-iframe', () => {
90539
91294
  return {
90540
- pre: attrs => `<${tagName$1y} wmIframe ${getAttrMarkup(attrs)}>`,
90541
- post: () => `</${tagName$1y}>`
91295
+ pre: attrs => `<${tagName$1w} wmIframe ${getAttrMarkup(attrs)}>`,
91296
+ post: () => `</${tagName$1w}>`
90542
91297
  };
90543
91298
  });
90544
91299
  var iframe_build = () => { };
@@ -90548,8 +91303,8 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
90548
91303
  default: iframe_build
90549
91304
  });
90550
91305
 
90551
- let tagName$1x = 'p';
90552
- const idGen$q = new IDGenerator('wm_label');
91306
+ let tagName$1v = 'p';
91307
+ const idGen$p = new IDGenerator('wm_label');
90553
91308
  register('wm-label', () => {
90554
91309
  return {
90555
91310
  pre: (attrs) => {
@@ -90558,15 +91313,15 @@ register('wm-label', () => {
90558
91313
  const classList = attrs.get('class') ? attrs.get('class').split(' ').filter(element => ["h1", "h2", "h3", "h4", "h5", "h6", "p"].includes(element)) : [];
90559
91314
  attrs.set('type', classList.length ? classList[0] : "p");
90560
91315
  }
90561
- tagName$1x = attrs.get('type');
91316
+ tagName$1v = attrs.get('type');
90562
91317
  }
90563
91318
  else {
90564
- tagName$1x = 'label';
91319
+ tagName$1v = 'label';
90565
91320
  }
90566
- const counter = idGen$q.nextUid();
90567
- return `<${tagName$1x} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
91321
+ const counter = idGen$p.nextUid();
91322
+ return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
90568
91323
  },
90569
- post: () => `</${tagName$1x}>`
91324
+ post: () => `</${tagName$1v}>`
90570
91325
  };
90571
91326
  });
90572
91327
  var label_build = () => { };
@@ -90576,13 +91331,13 @@ var label_build$1 = /*#__PURE__*/Object.freeze({
90576
91331
  default: label_build
90577
91332
  });
90578
91333
 
90579
- const tagName$1w = 'img';
90580
- const idGen$p = new IDGenerator('wm_picture');
91334
+ const tagName$1u = 'img';
91335
+ const idGen$o = new IDGenerator('wm_picture');
90581
91336
  register('wm-picture', () => {
90582
91337
  return {
90583
91338
  pre: (attrs) => {
90584
- const counter = idGen$p.nextUid();
90585
- return `<${tagName$1w} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.hint || 'Image'" ${getAttrMarkup(attrs)}>`;
91339
+ const counter = idGen$o.nextUid();
91340
+ return `<${tagName$1u} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.hint || 'Image'" ${getAttrMarkup(attrs)}>`;
90586
91341
  }
90587
91342
  };
90588
91343
  });
@@ -90593,15 +91348,15 @@ var picture_build$1 = /*#__PURE__*/Object.freeze({
90593
91348
  default: picture_build
90594
91349
  });
90595
91350
 
90596
- const tagName$1v = 'div';
90597
- const idGen$o = new IDGenerator('wm_spinner');
91351
+ const tagName$1t = 'div';
91352
+ const idGen$n = new IDGenerator('wm_spinner');
90598
91353
  register('wm-spinner', () => {
90599
91354
  return {
90600
91355
  pre: (attrs) => {
90601
- const counter = idGen$o.nextUid();
90602
- return `<${tagName$1v} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.hint || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
91356
+ const counter = idGen$n.nextUid();
91357
+ return `<${tagName$1t} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.hint || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
90603
91358
  },
90604
- post: () => `</${tagName$1v}>`
91359
+ post: () => `</${tagName$1t}>`
90605
91360
  };
90606
91361
  });
90607
91362
  var spinner_build = () => { };
@@ -90611,7 +91366,7 @@ var spinner_build$1 = /*#__PURE__*/Object.freeze({
90611
91366
  default: spinner_build
90612
91367
  });
90613
91368
 
90614
- const tagName$1u = 'div';
91369
+ const tagName$1s = 'div';
90615
91370
  const getAttr = (node, attrName) => node.attrs.find(attr => attr.name === attrName);
90616
91371
  const getAttrValue = (node, attrName) => {
90617
91372
  const match = getAttr(node, attrName);
@@ -90639,8 +91394,8 @@ register('wm-progress-bar', () => {
90639
91394
  }
90640
91395
  }
90641
91396
  },
90642
- pre: attrs => `<${tagName$1u} wmProgressBar ${getAttrMarkup(attrs)}>`,
90643
- post: () => `</${tagName$1u}>`
91397
+ pre: attrs => `<${tagName$1s} wmProgressBar ${getAttrMarkup(attrs)}>`,
91398
+ post: () => `</${tagName$1s}>`
90644
91399
  };
90645
91400
  });
90646
91401
  var progressBar_build = () => { };
@@ -90650,11 +91405,11 @@ var progressBar_build$1 = /*#__PURE__*/Object.freeze({
90650
91405
  default: progressBar_build
90651
91406
  });
90652
91407
 
90653
- const tagName$1t = 'div';
91408
+ const tagName$1r = 'div';
90654
91409
  register('wm-progress-circle', () => {
90655
91410
  return {
90656
- pre: attrs => `<${tagName$1t} wmProgressCircle ${getAttrMarkup(attrs)}>`,
90657
- post: () => `</${tagName$1t}>`
91411
+ pre: attrs => `<${tagName$1r} wmProgressCircle ${getAttrMarkup(attrs)}>`,
91412
+ post: () => `</${tagName$1r}>`
90658
91413
  };
90659
91414
  });
90660
91415
  var progressCircle_build = () => { };
@@ -90664,15 +91419,15 @@ var progressCircle_build$1 = /*#__PURE__*/Object.freeze({
90664
91419
  default: progressCircle_build
90665
91420
  });
90666
91421
 
90667
- const tagName$1s = 'div';
90668
- const idGen$n = new IDGenerator('wm_richtexteditor');
91422
+ const tagName$1q = 'div';
91423
+ const idGen$m = new IDGenerator('wm_richtexteditor');
90669
91424
  register('wm-richtexteditor', () => {
90670
91425
  return {
90671
91426
  pre: (attrs) => {
90672
- const counter = idGen$n.nextUid();
90673
- return `<${tagName$1s} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.hint || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
91427
+ const counter = idGen$m.nextUid();
91428
+ return `<${tagName$1q} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.hint || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
90674
91429
  },
90675
- post: () => `</${tagName$1s}>`
91430
+ post: () => `</${tagName$1q}>`
90676
91431
  };
90677
91432
  });
90678
91433
  var richTextEditor_build = () => { };
@@ -90682,11 +91437,11 @@ var richTextEditor_build$1 = /*#__PURE__*/Object.freeze({
90682
91437
  default: richTextEditor_build
90683
91438
  });
90684
91439
 
90685
- const tagName$1r = 'div';
91440
+ const tagName$1p = 'div';
90686
91441
  register('wm-search', () => {
90687
91442
  return {
90688
- pre: attrs => `<${tagName$1r} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
90689
- post: () => `</${tagName$1r}>`
91443
+ pre: attrs => `<${tagName$1p} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
91444
+ post: () => `</${tagName$1p}>`
90690
91445
  };
90691
91446
  });
90692
91447
  var search_build = () => { };
@@ -90696,11 +91451,11 @@ var search_build$1 = /*#__PURE__*/Object.freeze({
90696
91451
  default: search_build
90697
91452
  });
90698
91453
 
90699
- const tagName$1q = 'ul';
91454
+ const tagName$1o = 'ul';
90700
91455
  register('wm-tree', () => {
90701
91456
  return {
90702
- pre: attrs => `<${tagName$1q} wmTree class="ztree" ${getAttrMarkup(attrs)}>`,
90703
- post: () => `</${tagName$1q}>`
91457
+ pre: attrs => `<${tagName$1o} wmTree class="ztree" ${getAttrMarkup(attrs)}>`,
91458
+ post: () => `</${tagName$1o}>`
90704
91459
  };
90705
91460
  });
90706
91461
 
@@ -90708,11 +91463,11 @@ var tree_build = /*#__PURE__*/Object.freeze({
90708
91463
  __proto__: null
90709
91464
  });
90710
91465
 
90711
- const tagName$1p = 'div';
91466
+ const tagName$1n = 'div';
90712
91467
  register('wm-card', () => {
90713
91468
  return {
90714
- pre: attrs => `<${tagName$1p} wmCard ${getAttrMarkup(attrs)}>`,
90715
- post: () => `</${tagName$1p}>`
91469
+ pre: attrs => `<${tagName$1n} wmCard ${getAttrMarkup(attrs)}>`,
91470
+ post: () => `</${tagName$1n}>`
90716
91471
  };
90717
91472
  });
90718
91473
  var card_build = () => { };
@@ -90722,11 +91477,11 @@ var card_build$1 = /*#__PURE__*/Object.freeze({
90722
91477
  default: card_build
90723
91478
  });
90724
91479
 
90725
- const tagName$1o = 'div';
91480
+ const tagName$1m = 'div';
90726
91481
  register('wm-card-content', () => {
90727
91482
  return {
90728
- pre: attrs => `<${tagName$1o} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,
90729
- post: () => `</${tagName$1o}>`
91483
+ pre: attrs => `<${tagName$1m} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,
91484
+ post: () => `</${tagName$1m}>`
90730
91485
  };
90731
91486
  });
90732
91487
  var cardContent_build = () => { };
@@ -90736,11 +91491,11 @@ var cardContent_build$1 = /*#__PURE__*/Object.freeze({
90736
91491
  default: cardContent_build
90737
91492
  });
90738
91493
 
90739
- const tagName$1n = 'div';
91494
+ const tagName$1l = 'div';
90740
91495
  register('wm-card-actions', () => {
90741
91496
  return {
90742
- pre: attrs => `<${tagName$1n} wmCardActions ${getAttrMarkup(attrs)}>`,
90743
- post: () => `</${tagName$1n}>`
91497
+ pre: attrs => `<${tagName$1l} wmCardActions ${getAttrMarkup(attrs)}>`,
91498
+ post: () => `</${tagName$1l}>`
90744
91499
  };
90745
91500
  });
90746
91501
  var cardActions_build = () => { };
@@ -90750,11 +91505,11 @@ var cardActions_build$1 = /*#__PURE__*/Object.freeze({
90750
91505
  default: cardActions_build
90751
91506
  });
90752
91507
 
90753
- const tagName$1m = 'div';
91508
+ const tagName$1k = 'div';
90754
91509
  register('wm-card-footer', () => {
90755
91510
  return {
90756
- pre: attrs => `<${tagName$1m} wmCardFooter ${getAttrMarkup(attrs)}>`,
90757
- post: () => `</${tagName$1m}>`
91511
+ pre: attrs => `<${tagName$1k} wmCardFooter ${getAttrMarkup(attrs)}>`,
91512
+ post: () => `</${tagName$1k}>`
90758
91513
  };
90759
91514
  });
90760
91515
  var cardFooter_build = () => { };
@@ -90764,11 +91519,11 @@ var cardFooter_build$1 = /*#__PURE__*/Object.freeze({
90764
91519
  default: cardFooter_build
90765
91520
  });
90766
91521
 
90767
- const tagName$1l = 'div';
91522
+ const tagName$1j = 'div';
90768
91523
  register('wm-chart', () => {
90769
91524
  return {
90770
- pre: attrs => `<${tagName$1l} wmChart redrawable aria-label="${attrs.get('type')} Chart" ${getAttrMarkup(attrs)}>`,
90771
- post: () => `</${tagName$1l}>`
91525
+ pre: attrs => `<${tagName$1j} wmChart redrawable aria-label="${attrs.get('type')} Chart" ${getAttrMarkup(attrs)}>`,
91526
+ post: () => `</${tagName$1j}>`
90772
91527
  };
90773
91528
  });
90774
91529
  var chart_build = () => { };
@@ -90778,19 +91533,19 @@ var chart_build$1 = /*#__PURE__*/Object.freeze({
90778
91533
  default: chart_build
90779
91534
  });
90780
91535
 
90781
- const tagName$1k = 'div';
91536
+ const tagName$1i = 'div';
90782
91537
  const dataSetKey$4 = 'dataset';
90783
- const idGen$m = new IDGenerator('wm_accordion_ref_');
91538
+ const idGen$l = new IDGenerator('wm_accordion_ref_');
90784
91539
  const isDynamicAccordion = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
90785
91540
  register('wm-accordion', () => {
90786
91541
  return {
90787
91542
  pre: (attrs, shared) => {
90788
91543
  // generating unique Id for the accordion
90789
- const counter = idGen$m.nextUid();
91544
+ const counter = idGen$l.nextUid();
90790
91545
  shared.set('accordion_ref', counter);
90791
- return `<${tagName$1k} wmAccordion #${counter}="wmAccordion" role="tablist" aria-multiselectable="true" ${getAttrMarkup(attrs)}>`;
91546
+ return `<${tagName$1i} wmAccordion #${counter}="wmAccordion" role="tablist" aria-multiselectable="true" ${getAttrMarkup(attrs)}>`;
90792
91547
  },
90793
- post: () => `</${tagName$1k}>`,
91548
+ post: () => `</${tagName$1i}>`,
90794
91549
  template: (node, shared) => {
90795
91550
  // check if the accordion is dynamic
90796
91551
  if (isDynamicAccordion(node)) {
@@ -90821,15 +91576,15 @@ var accordion_build$1 = /*#__PURE__*/Object.freeze({
90821
91576
  default: accordion_build
90822
91577
  });
90823
91578
 
90824
- const tagName$1j = 'div';
90825
- const idGen$l = new IDGenerator('wm_accordionpane');
91579
+ const tagName$1h = 'div';
91580
+ const idGen$k = new IDGenerator('wm_accordionpane');
90826
91581
  register('wm-accordionpane', () => {
90827
91582
  return {
90828
91583
  pre: (attrs) => {
90829
- const counter = idGen$l.nextUid();
90830
- return `<${tagName$1j} #${counter}="wmAccordionPane" [attr.aria-expanded]="${counter}.isActive" wmAccordionPane partialContainer wm-navigable-element="true" role="tab" ${getAttrMarkup(attrs)}>`;
91584
+ const counter = idGen$k.nextUid();
91585
+ return `<${tagName$1h} #${counter}="wmAccordionPane" [attr.aria-expanded]="${counter}.isActive" wmAccordionPane partialContainer wm-navigable-element="true" role="tab" ${getAttrMarkup(attrs)}>`;
90831
91586
  },
90832
- post: () => `</${tagName$1j}>`
91587
+ post: () => `</${tagName$1h}>`
90833
91588
  };
90834
91589
  });
90835
91590
  var accordionPane_build = () => { };
@@ -90839,11 +91594,11 @@ var accordionPane_build$1 = /*#__PURE__*/Object.freeze({
90839
91594
  default: accordionPane_build
90840
91595
  });
90841
91596
 
90842
- const tagName$1i = 'div';
91597
+ const tagName$1g = 'div';
90843
91598
  register('wm-container', () => {
90844
91599
  return {
90845
- pre: attrs => `<${tagName$1i} wmContainer partialContainer wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
90846
- post: () => `</${tagName$1i}>`
91600
+ pre: attrs => `<${tagName$1g} wmContainer partialContainer wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
91601
+ post: () => `</${tagName$1g}>`
90847
91602
  };
90848
91603
  });
90849
91604
  var container_build = () => { };
@@ -90853,11 +91608,11 @@ var container_build$1 = /*#__PURE__*/Object.freeze({
90853
91608
  default: container_build
90854
91609
  });
90855
91610
 
90856
- const tagName$1h = 'div';
91611
+ const tagName$1f = 'div';
90857
91612
  register('wm-gridcolumn', () => {
90858
91613
  return {
90859
- pre: attrs => `<${tagName$1h} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,
90860
- post: () => `</${tagName$1h}>`
91614
+ pre: attrs => `<${tagName$1f} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,
91615
+ post: () => `</${tagName$1f}>`
90861
91616
  };
90862
91617
  });
90863
91618
  var layoutGridColumn_build = () => { };
@@ -90867,11 +91622,11 @@ var layoutGridColumn_build$1 = /*#__PURE__*/Object.freeze({
90867
91622
  default: layoutGridColumn_build
90868
91623
  });
90869
91624
 
90870
- const tagName$1g = 'div';
91625
+ const tagName$1e = 'div';
90871
91626
  register('wm-gridrow', () => {
90872
91627
  return {
90873
- pre: attrs => `<${tagName$1g} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,
90874
- post: () => `</${tagName$1g}>`
91628
+ pre: attrs => `<${tagName$1e} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,
91629
+ post: () => `</${tagName$1e}>`
90875
91630
  };
90876
91631
  });
90877
91632
  var layoutGridRow_build = () => { };
@@ -90881,11 +91636,11 @@ var layoutGridRow_build$1 = /*#__PURE__*/Object.freeze({
90881
91636
  default: layoutGridRow_build
90882
91637
  });
90883
91638
 
90884
- const tagName$1f = 'div';
91639
+ const tagName$1d = 'div';
90885
91640
  register('wm-layoutgrid', () => {
90886
91641
  return {
90887
- pre: attrs => `<${tagName$1f} wmLayoutGrid ${getAttrMarkup(attrs)}>`,
90888
- post: () => `</${tagName$1f}>`
91642
+ pre: attrs => `<${tagName$1d} wmLayoutGrid ${getAttrMarkup(attrs)}>`,
91643
+ post: () => `</${tagName$1d}>`
90889
91644
  };
90890
91645
  });
90891
91646
  var layoutGrid_build = () => { };
@@ -90895,21 +91650,21 @@ var layoutGrid_build$1 = /*#__PURE__*/Object.freeze({
90895
91650
  default: layoutGrid_build
90896
91651
  });
90897
91652
 
90898
- const tagName$1e = 'div';
90899
- const idGen$k = new IDGenerator('wm_panel');
91653
+ const tagName$1c = 'div';
91654
+ const idGen$j = new IDGenerator('wm_panel');
90900
91655
  register('wm-panel', () => {
90901
91656
  return {
90902
91657
  pre: (attrs) => {
90903
- const counter = idGen$k.nextUid();
90904
- return `<${tagName$1e} wmPanel #${counter}="wmPanel" partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
91658
+ const counter = idGen$j.nextUid();
91659
+ return `<${tagName$1c} wmPanel #${counter}="wmPanel" partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
90905
91660
  },
90906
- post: () => `</${tagName$1e}>`
91661
+ post: () => `</${tagName$1c}>`
90907
91662
  };
90908
91663
  });
90909
91664
  register('wm-panel-footer', () => {
90910
91665
  return {
90911
- pre: attrs => `<${tagName$1e} wmPanelFooter ${getAttrMarkup(attrs)}>`,
90912
- post: () => `</${tagName$1e}>`
91666
+ pre: attrs => `<${tagName$1c} wmPanelFooter ${getAttrMarkup(attrs)}>`,
91667
+ post: () => `</${tagName$1c}>`
90913
91668
  };
90914
91669
  });
90915
91670
  var panel_build = () => { };
@@ -90919,11 +91674,11 @@ var panel_build$1 = /*#__PURE__*/Object.freeze({
90919
91674
  default: panel_build
90920
91675
  });
90921
91676
 
90922
- const tagName$1d = 'div';
91677
+ const tagName$1b = 'div';
90923
91678
  register('wm-segmented-control', () => {
90924
91679
  return {
90925
- pre: attrs => `<${tagName$1d} wmSegmentedControl ${getAttrMarkup(attrs)}>`,
90926
- post: () => `</${tagName$1d}>`
91680
+ pre: attrs => `<${tagName$1b} wmSegmentedControl ${getAttrMarkup(attrs)}>`,
91681
+ post: () => `</${tagName$1b}>`
90927
91682
  };
90928
91683
  });
90929
91684
  var segmentedControl_build = () => { };
@@ -90933,11 +91688,11 @@ var segmentedControl_build$1 = /*#__PURE__*/Object.freeze({
90933
91688
  default: segmentedControl_build
90934
91689
  });
90935
91690
 
90936
- const tagName$1c = 'li';
91691
+ const tagName$1a = 'li';
90937
91692
  register('wm-segment-content', () => {
90938
91693
  return {
90939
- pre: attrs => `<${tagName$1c} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
90940
- post: () => `</${tagName$1c}>`
91694
+ pre: attrs => `<${tagName$1a} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91695
+ post: () => `</${tagName$1a}>`
90941
91696
  };
90942
91697
  });
90943
91698
  var segmentContent_build = () => { };
@@ -90975,19 +91730,19 @@ var repeatTemplate_build$1 = /*#__PURE__*/Object.freeze({
90975
91730
  default: repeatTemplate_build
90976
91731
  });
90977
91732
 
90978
- const tagName$1b = 'div';
91733
+ const tagName$19 = 'div';
90979
91734
  const dataSetKey$3 = 'dataset';
90980
- const idGen$j = new IDGenerator('wm_tabs_ref_');
91735
+ const idGen$i = new IDGenerator('wm_tabs_ref_');
90981
91736
  const isDynamicTabs = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
90982
91737
  register('wm-tabs', () => {
90983
91738
  return {
90984
91739
  pre: (attrs, shared) => {
90985
91740
  // generating unique Id for the tabs
90986
- const counter = idGen$j.nextUid();
91741
+ const counter = idGen$i.nextUid();
90987
91742
  shared.set('tabs_ref', counter);
90988
- return `<${tagName$1b} wmTabs #${counter}="wmTabs" ${getAttrMarkup(attrs)}>`;
91743
+ return `<${tagName$19} wmTabs #${counter}="wmTabs" ${getAttrMarkup(attrs)}>`;
90989
91744
  },
90990
- post: () => `</${tagName$1b}>`,
91745
+ post: () => `</${tagName$19}>`,
90991
91746
  template: (node, shared) => {
90992
91747
  // check if the tab widget is dynamic
90993
91748
  if (isDynamicTabs(node)) {
@@ -91018,11 +91773,11 @@ var tabs_build$1 = /*#__PURE__*/Object.freeze({
91018
91773
  default: tabs_build
91019
91774
  });
91020
91775
 
91021
- const tagName$1a = 'div';
91776
+ const tagName$18 = 'div';
91022
91777
  register('wm-tabpane', () => {
91023
91778
  return {
91024
- pre: attrs => `<${tagName$1a} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element="true" role="tabpanel">`,
91025
- post: () => `</${tagName$1a}>`
91779
+ pre: attrs => `<${tagName$18} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element="true" role="tabpanel">`,
91780
+ post: () => `</${tagName$18}>`
91026
91781
  };
91027
91782
  });
91028
91783
  var tabPane_build = () => { };
@@ -91032,11 +91787,11 @@ var tabPane_build$1 = /*#__PURE__*/Object.freeze({
91032
91787
  default: tabPane_build
91033
91788
  });
91034
91789
 
91035
- const tagName$19 = 'div';
91790
+ const tagName$17 = 'div';
91036
91791
  register('wm-tile', () => {
91037
91792
  return {
91038
- pre: attrs => `<${tagName$19} wmTile aria-describedby="Tile" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91039
- post: () => `</${tagName$19}>`
91793
+ pre: attrs => `<${tagName$17} wmTile aria-describedby="Tile" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91794
+ post: () => `</${tagName$17}>`
91040
91795
  };
91041
91796
  });
91042
91797
  var tile_build = () => { };
@@ -91046,11 +91801,11 @@ var tile_build$1 = /*#__PURE__*/Object.freeze({
91046
91801
  default: tile_build
91047
91802
  });
91048
91803
 
91049
- const tagName$18 = 'div';
91804
+ const tagName$16 = 'div';
91050
91805
  register('wm-wizard', () => {
91051
91806
  return {
91052
- pre: attrs => `<${tagName$18} wmWizard role="tablist" ${getAttrMarkup(attrs)}>`,
91053
- post: () => `</${tagName$18}>`
91807
+ pre: attrs => `<${tagName$16} wmWizard role="tablist" ${getAttrMarkup(attrs)}>`,
91808
+ post: () => `</${tagName$16}>`
91054
91809
  };
91055
91810
  });
91056
91811
  var wizard_build = () => { };
@@ -91060,16 +91815,16 @@ var wizard_build$1 = /*#__PURE__*/Object.freeze({
91060
91815
  default: wizard_build
91061
91816
  });
91062
91817
 
91063
- const tagName$17 = 'form';
91064
- const idGen$i = new IDGenerator('wizard_step_id_');
91818
+ const tagName$15 = 'form';
91819
+ const idGen$h = new IDGenerator('wizard_step_id_');
91065
91820
  register('wm-wizardstep', () => {
91066
91821
  return {
91067
91822
  pre: attrs => {
91068
- const counter = idGen$i.nextUid();
91069
- return `<${tagName$17} wmWizardStep #${counter}="wmWizardStep" ${getAttrMarkup(attrs)}>
91823
+ const counter = idGen$h.nextUid();
91824
+ return `<${tagName$15} wmWizardStep #${counter}="wmWizardStep" ${getAttrMarkup(attrs)}>
91070
91825
  <ng-template [ngIf]="${counter}.isInitialized">`;
91071
91826
  },
91072
- post: () => `</ng-template></${tagName$17}>`
91827
+ post: () => `</ng-template></${tagName$15}>`
91073
91828
  };
91074
91829
  });
91075
91830
  var wizardStep_build = () => { };
@@ -91079,15 +91834,15 @@ var wizardStep_build$1 = /*#__PURE__*/Object.freeze({
91079
91834
  default: wizardStep_build
91080
91835
  });
91081
91836
 
91082
- const tagName$16 = 'button';
91083
- const idGen$h = new IDGenerator('wm_barcodescanner');
91837
+ const tagName$14 = 'button';
91838
+ const idGen$g = new IDGenerator('wm_barcodescanner');
91084
91839
  register('wm-barcodescanner', () => {
91085
91840
  return {
91086
91841
  pre: (attrs) => {
91087
- const counter = idGen$h.nextUid();
91088
- return `<${tagName$16} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.hint || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
91842
+ const counter = idGen$g.nextUid();
91843
+ return `<${tagName$14} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.hint || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
91089
91844
  },
91090
- post: () => `</${tagName$16}>`
91845
+ post: () => `</${tagName$14}>`
91091
91846
  };
91092
91847
  });
91093
91848
  var barcodeScanner_build = () => { };
@@ -91097,15 +91852,15 @@ var barcodeScanner_build$1 = /*#__PURE__*/Object.freeze({
91097
91852
  default: barcodeScanner_build
91098
91853
  });
91099
91854
 
91100
- const tagName$15 = 'button';
91101
- const idGen$g = new IDGenerator('wm_camera');
91855
+ const tagName$13 = 'button';
91856
+ const idGen$f = new IDGenerator('wm_camera');
91102
91857
  register('wm-camera', () => {
91103
91858
  return {
91104
91859
  pre: (attrs) => {
91105
- const counter = idGen$g.nextUid();
91106
- return `<${tagName$15} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.hint || 'Camera'" ${getAttrMarkup(attrs)}>`;
91860
+ const counter = idGen$f.nextUid();
91861
+ return `<${tagName$13} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.hint || 'Camera'" ${getAttrMarkup(attrs)}>`;
91107
91862
  },
91108
- post: () => `</${tagName$15}>`
91863
+ post: () => `</${tagName$13}>`
91109
91864
  };
91110
91865
  });
91111
91866
  var camera_build = () => { };
@@ -91115,11 +91870,11 @@ var camera_build$1 = /*#__PURE__*/Object.freeze({
91115
91870
  default: camera_build
91116
91871
  });
91117
91872
 
91118
- const tagName$14 = 'div';
91873
+ const tagName$12 = 'div';
91119
91874
  register('wm-alertdialog', () => {
91120
91875
  return {
91121
- pre: attrs => `<${tagName$14} wmAlertDialog role="alertdialog" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91122
- post: () => `</${tagName$14}>`
91876
+ pre: attrs => `<${tagName$12} wmAlertDialog role="alertdialog" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91877
+ post: () => `</${tagName$12}>`
91123
91878
  };
91124
91879
  });
91125
91880
  var alertDialog_build = () => { };
@@ -91129,11 +91884,11 @@ var alertDialog_build$1 = /*#__PURE__*/Object.freeze({
91129
91884
  default: alertDialog_build
91130
91885
  });
91131
91886
 
91132
- const tagName$13 = 'div';
91887
+ const tagName$11 = 'div';
91133
91888
  register('wm-confirmdialog', () => {
91134
91889
  return {
91135
- pre: attrs => `<${tagName$13} wmConfirmDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91136
- post: () => `</${tagName$13}>`
91890
+ pre: attrs => `<${tagName$11} wmConfirmDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91891
+ post: () => `</${tagName$11}>`
91137
91892
  };
91138
91893
  });
91139
91894
  var confirmDialog_build = () => { };
@@ -91143,11 +91898,11 @@ var confirmDialog_build$1 = /*#__PURE__*/Object.freeze({
91143
91898
  default: confirmDialog_build
91144
91899
  });
91145
91900
 
91146
- const tagName$12 = 'div';
91901
+ const tagName$10 = 'div';
91147
91902
  register('wm-dialogactions', () => {
91148
91903
  return {
91149
- pre: attrs => `<ng-template #dialogFooter><${tagName$12} wmDialogFooter data-identfier="actions" ${getAttrMarkup(attrs)}>`,
91150
- post: () => `</${tagName$12}></ng-template>`
91904
+ pre: attrs => `<ng-template #dialogFooter><${tagName$10} wmDialogFooter data-identfier="actions" ${getAttrMarkup(attrs)}>`,
91905
+ post: () => `</${tagName$10}></ng-template>`
91151
91906
  };
91152
91907
  });
91153
91908
  var dialogFooter_build = () => { };
@@ -91157,11 +91912,11 @@ var dialogFooter_build$1 = /*#__PURE__*/Object.freeze({
91157
91912
  default: dialogFooter_build
91158
91913
  });
91159
91914
 
91160
- const tagName$11 = 'div';
91915
+ const tagName$$ = 'div';
91161
91916
  register('wm-dialog', () => {
91162
91917
  return {
91163
- pre: attrs => `<${tagName$11} wmDialog ${getAttrMarkup(attrs)} aria-modal="true" role="dialog" wm-navigable-element="true"><ng-template #dialogBody>`,
91164
- post: () => `</ng-template></${tagName$11}>`
91918
+ pre: attrs => `<${tagName$$} wmDialog ${getAttrMarkup(attrs)} aria-modal="true" role="dialog" wm-navigable-element="true"><ng-template #dialogBody>`,
91919
+ post: () => `</ng-template></${tagName$$}>`
91165
91920
  };
91166
91921
  });
91167
91922
  // Todo:vinay remove wm-view in migration
@@ -91178,11 +91933,11 @@ var dialog_build$1 = /*#__PURE__*/Object.freeze({
91178
91933
  default: dialog_build
91179
91934
  });
91180
91935
 
91181
- const tagName$10 = 'div';
91936
+ const tagName$_ = 'div';
91182
91937
  register('wm-iframedialog', () => {
91183
91938
  return {
91184
- pre: attrs => `<${tagName$10} wmIframeDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91185
- post: () => `</${tagName$10}>`
91939
+ pre: attrs => `<${tagName$_} wmIframeDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91940
+ post: () => `</${tagName$_}>`
91186
91941
  };
91187
91942
  });
91188
91943
  var iframeDialog_build = () => { };
@@ -91192,11 +91947,11 @@ var iframeDialog_build$1 = /*#__PURE__*/Object.freeze({
91192
91947
  default: iframeDialog_build
91193
91948
  });
91194
91949
 
91195
- const tagName$$ = 'div';
91950
+ const tagName$Z = 'div';
91196
91951
  register('wm-logindialog', () => {
91197
91952
  return {
91198
- pre: attrs => `<${tagName$$} wmDialog wmLoginDialog ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction" wm-navigable-element="true"><ng-template #dialogBody>`,
91199
- post: () => `</ng-template></${tagName$$}>`
91953
+ pre: attrs => `<${tagName$Z} wmDialog wmLoginDialog ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction" wm-navigable-element="true"><ng-template #dialogBody>`,
91954
+ post: () => `</ng-template></${tagName$Z}>`
91200
91955
  };
91201
91956
  });
91202
91957
  var loginDialog_build = () => { };
@@ -91206,7 +91961,7 @@ var loginDialog_build$1 = /*#__PURE__*/Object.freeze({
91206
91961
  default: loginDialog_build
91207
91962
  });
91208
91963
 
91209
- const tagName$_ = 'div';
91964
+ const tagName$Y = 'div';
91210
91965
  register('wm-pagedialog', () => {
91211
91966
  return {
91212
91967
  pre: (attrs, shared) => {
@@ -91232,14 +91987,14 @@ register('wm-pagedialog', () => {
91232
91987
  shared.set('hasPartialContent', true);
91233
91988
  containerMarkup += `<ng-template><div wmContainer #partial partialContainer ${contentMarkup} width="100%" height="100%" ${onLoadEvtMarkup}>`;
91234
91989
  }
91235
- return `<${tagName$_} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;
91990
+ return `<${tagName$Y} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;
91236
91991
  },
91237
91992
  post: (attrs, shared) => {
91238
91993
  let preContent = '';
91239
91994
  if (shared.get('hasPartialContent')) {
91240
91995
  preContent = `</div></ng-template>`;
91241
91996
  }
91242
- return `${preContent}</${tagName$_}>`;
91997
+ return `${preContent}</${tagName$Y}>`;
91243
91998
  }
91244
91999
  };
91245
92000
  });
@@ -91318,8 +92073,8 @@ const getEditModeWidget = colDef => {
91318
92073
  return (fieldTypeWidgetTypeMap[colDef.type] && fieldTypeWidgetTypeMap[colDef.type][0]) || FormWidgetType.TEXT;
91319
92074
  };
91320
92075
 
91321
- const tagName$Z = 'div';
91322
- const idGen$f = new IDGenerator('formfield_');
92076
+ const tagName$X = 'div';
92077
+ const idGen$e = new IDGenerator('formfield_');
91323
92078
  const getEventsTemplate = (attrs) => {
91324
92079
  const eventAttrs = new Map();
91325
92080
  if (!attrs.has('focus.event')) {
@@ -91370,13 +92125,12 @@ const setDefaultPlaceholder = (attrs, widgetType, index) => {
91370
92125
  };
91371
92126
  const getWidgetTemplate = (attrs, options) => {
91372
92127
  const name = attrs.get('name');
91373
- const customWidgetName = attrs.get('widgetname');
91374
92128
  const fieldName = (attrs.get('key') || name || '').trim();
91375
92129
  const formControl = options.isMaxWidget ? `formControlName="${fieldName}_max"` : (options.isInList ? `[formControlName]="${options.counter}._fieldName"` : `formControlName="${fieldName}"`);
91376
92130
  const tmplRef = options.isMaxWidget ? `#formWidgetMax` : `#formWidget`;
91377
92131
  const widgetName = name ? (options.isMaxWidget ? `name="${name}_formWidgetMax"` : `name="${name}_formWidget"`) : '';
91378
92132
  const conditionalClass = `[ngClass]="${attrs.get('ngclass')}"`;
91379
- const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName} ${customWidgetName ? `widgetname=${customWidgetName}` : ''}`;
92133
+ const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName}`;
91380
92134
  return getFormWidgetTemplate(options.widgetType, defaultTmpl, attrs, { counter: options.counter, pCounter: options.pCounter });
91381
92135
  };
91382
92136
  const getTemplate = (attrs, widgetType, eventsTmpl, counter, pCounter, isInList) => {
@@ -91420,7 +92174,7 @@ const registerFormField = (isFormField) => {
91420
92174
  return {
91421
92175
  requires: ['wm-form', 'wm-liveform', 'wm-livefilter', 'wm-list'],
91422
92176
  pre: (attrs, shared, parentForm, parentLiveForm, parentFilter, parentList) => {
91423
- const counter = idGen$f.nextUid();
92177
+ const counter = idGen$e.nextUid();
91424
92178
  const parent = parentForm || parentLiveForm || parentFilter;
91425
92179
  const pCounter = (parent && parent.get('form_reference')) || 'form';
91426
92180
  const widgetType = attrs.get('widget') || FormWidgetType.TEXT;
@@ -91443,7 +92197,7 @@ const registerFormField = (isFormField) => {
91443
92197
  else {
91444
92198
  setDefaultPlaceholder(attrs, widgetType, 2);
91445
92199
  }
91446
- return `<${tagName$Z} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField wmCaptionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${getFormMarkupAttr(attrs)}>
92200
+ return `<${tagName$X} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField wmCaptionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${getFormMarkupAttr(attrs)}>
91447
92201
  <div class="live-field form-group app-composite-widget clearfix caption-{{${pCounter}.captionposition}}" widget="${widgetType}">
91448
92202
  <label [hidden]="!${counter}.displayname" class="app-label control-label formfield-label {{${pCounter}._captionClass}}"
91449
92203
  [ngStyle]="{width: ${pCounter}.captionsize}" [ngClass]="{'text-danger': ${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode,
@@ -91459,7 +92213,7 @@ const registerFormField = (isFormField) => {
91459
92213
  </div>
91460
92214
  </div>`;
91461
92215
  },
91462
- post: () => `</${tagName$Z}>`,
92216
+ post: () => `</${tagName$X}>`,
91463
92217
  provide: (attrs, shared) => {
91464
92218
  const provider = new Map();
91465
92219
  provider.set('form_reference', shared.get('counter'));
@@ -91481,11 +92235,11 @@ var formField_build$1 = /*#__PURE__*/Object.freeze({
91481
92235
  default: formField_build
91482
92236
  });
91483
92237
 
91484
- const tagName$Y = 'div';
92238
+ const tagName$W = 'div';
91485
92239
  const registerAction = (tmpl) => {
91486
92240
  return {
91487
- pre: attrs => `<${tagName$Y} wmFormAction name="${attrs.get('name') || attrs.get('key')}" ${getAttrMarkup(attrs)} ${tmpl}>`,
91488
- post: () => `</${tagName$Y}>`
92241
+ pre: attrs => `<${tagName$W} wmFormAction name="${attrs.get('name') || attrs.get('key')}" ${getAttrMarkup(attrs)} ${tmpl}>`,
92242
+ post: () => `</${tagName$W}>`
91489
92243
  };
91490
92244
  };
91491
92245
  register('wm-form-action', registerAction.bind(undefined, ''));
@@ -91497,8 +92251,8 @@ var formAction_build$1 = /*#__PURE__*/Object.freeze({
91497
92251
  default: formAction_build
91498
92252
  });
91499
92253
 
91500
- const tagName$X = 'form';
91501
- const idGen$e = new IDGenerator('form_');
92254
+ const tagName$V = 'form';
92255
+ const idGen$d = new IDGenerator('form_');
91502
92256
  const formWidgets$1 = new Set([
91503
92257
  'wm-text',
91504
92258
  'wm-textarea',
@@ -91566,7 +92320,7 @@ const buildTask = (directiveAttr = '') => {
91566
92320
  let tmpl;
91567
92321
  let dialogId;
91568
92322
  const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';
91569
- const counter = idGen$e.nextUid();
92323
+ const counter = idGen$d.nextUid();
91570
92324
  const dependsOn = attrs.get('dependson') ? `dependson="${attrs.get('dependson')}"` : '';
91571
92325
  if (dependsOn) {
91572
92326
  attrs.set('dependsontable', attrs.get('dependson'));
@@ -91574,7 +92328,7 @@ const buildTask = (directiveAttr = '') => {
91574
92328
  const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';
91575
92329
  const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];
91576
92330
  attrs.delete('dependson');
91577
- const liveFormTmpl = `<${tagName$X} wmForm data-role="${role}" ${directiveAttr} #${counter} ngNativeValidate [formGroup]="${counter}.ngform" [noValidate]="${counter}.validationtype !== 'html'"
92331
+ const liveFormTmpl = `<${tagName$V} wmForm data-role="${role}" ${directiveAttr} #${counter} ngNativeValidate [formGroup]="${counter}.ngform" [noValidate]="${counter}.validationtype !== 'html'"
91578
92332
  class="${classProp}" [class]="${counter}.captionAlignClass" [autocomplete]="${counter}.autocomplete ? 'on' : 'off'" captionposition=${attrs.get('captionposition')}`;
91579
92333
  attrs.set('numberOfFields', `${numberOfFields}`);
91580
92334
  shared.set('counter', counter);
@@ -91627,12 +92381,12 @@ const buildTask = (directiveAttr = '') => {
91627
92381
  return '</form></ng-template></div></div>';
91628
92382
  }
91629
92383
  if (attrs.get('formlayout') === 'page') {
91630
- return `</div></${tagName$X}>`;
92384
+ return `</div></${tagName$V}>`;
91631
92385
  }
91632
92386
  if (attrs.get('dependsontable')) {
91633
- return `</${tagName$X}></div>`;
92387
+ return `</${tagName$V}></div>`;
91634
92388
  }
91635
- return `</${tagName$X}>`;
92389
+ return `</${tagName$V}>`;
91636
92390
  },
91637
92391
  provide: (attrs, shared) => {
91638
92392
  const provider = new Map();
@@ -91651,14 +92405,14 @@ var form_build$1 = /*#__PURE__*/Object.freeze({
91651
92405
  default: form_build
91652
92406
  });
91653
92407
 
91654
- const tagName$W = 'div';
92408
+ const tagName$U = 'div';
91655
92409
  register('wm-calendar', () => {
91656
92410
  return {
91657
92411
  pre: (attrs) => {
91658
92412
  let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';
91659
- return `<${tagName$W} wmCalendar redrawable style="width:100%" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
92413
+ return `<${tagName$U} wmCalendar redrawable style="width:100%" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
91660
92414
  },
91661
- post: () => `</${tagName$W}>`
92415
+ post: () => `</${tagName$U}>`
91662
92416
  };
91663
92417
  });
91664
92418
  var calendar_build = () => { };
@@ -91668,11 +92422,11 @@ var calendar_build$1 = /*#__PURE__*/Object.freeze({
91668
92422
  default: calendar_build
91669
92423
  });
91670
92424
 
91671
- const tagName$V = 'ul';
92425
+ const tagName$T = 'ul';
91672
92426
  register('wm-chips', () => {
91673
92427
  return {
91674
- pre: attrs => `<${tagName$V} wmChips role="listbox" ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
91675
- post: () => `</${tagName$V}>`
92428
+ pre: attrs => `<${tagName$T} wmChips role="listbox" ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
92429
+ post: () => `</${tagName$T}>`
91676
92430
  };
91677
92431
  });
91678
92432
  var chips_build = () => { };
@@ -91682,11 +92436,11 @@ var chips_build$1 = /*#__PURE__*/Object.freeze({
91682
92436
  default: chips_build
91683
92437
  });
91684
92438
 
91685
- const tagName$U = 'div';
92439
+ const tagName$S = 'div';
91686
92440
  register('wm-colorpicker', () => {
91687
92441
  return {
91688
- pre: attrs => `<${tagName$U} wmColorPicker ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91689
- post: () => `</${tagName$U}>`
92442
+ pre: attrs => `<${tagName$S} wmColorPicker ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92443
+ post: () => `</${tagName$S}>`
91690
92444
  };
91691
92445
  });
91692
92446
  var colorPicker_build = () => { };
@@ -91696,11 +92450,11 @@ var colorPicker_build$1 = /*#__PURE__*/Object.freeze({
91696
92450
  default: colorPicker_build
91697
92451
  });
91698
92452
 
91699
- const tagName$T = 'div';
92453
+ const tagName$R = 'div';
91700
92454
  register('wm-currency', () => {
91701
92455
  return {
91702
- pre: attrs => `<${tagName$T} wmCurrency ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91703
- post: () => `</${tagName$T}>`
92456
+ pre: attrs => `<${tagName$R} wmCurrency ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92457
+ post: () => `</${tagName$R}>`
91704
92458
  };
91705
92459
  });
91706
92460
  var currency_build = () => { };
@@ -91710,11 +92464,11 @@ var currency_build$1 = /*#__PURE__*/Object.freeze({
91710
92464
  default: currency_build
91711
92465
  });
91712
92466
 
91713
- const tagName$S = 'div';
92467
+ const tagName$Q = 'div';
91714
92468
  register('wm-buttongroup', () => {
91715
92469
  return {
91716
- pre: attrs => `<${tagName$S} wmButtonGroup role="group" aria-labelledby="button group" ${getAttrMarkup(attrs)}>`,
91717
- post: () => `</${tagName$S}>`
92470
+ pre: attrs => `<${tagName$Q} wmButtonGroup role="group" aria-labelledby="button group" ${getAttrMarkup(attrs)}>`,
92471
+ post: () => `</${tagName$Q}>`
91718
92472
  };
91719
92473
  });
91720
92474
  var buttonGroup_build = () => { };
@@ -91724,15 +92478,15 @@ var buttonGroup_build$1 = /*#__PURE__*/Object.freeze({
91724
92478
  default: buttonGroup_build
91725
92479
  });
91726
92480
 
91727
- const tagName$R = 'button';
91728
- const idGen$d = new IDGenerator('wm_button');
92481
+ const tagName$P = 'button';
92482
+ const idGen$c = new IDGenerator('wm_button');
91729
92483
  register('wm-button', () => {
91730
92484
  return {
91731
92485
  pre: (attrs) => {
91732
- const counter = idGen$d.nextUid();
91733
- return `<${tagName$R} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.hint || ${counter}.caption || null" ${getAttrMarkup(attrs)}>`;
92486
+ const counter = idGen$c.nextUid();
92487
+ return `<${tagName$P} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.hint || ${counter}.caption || null" ${getAttrMarkup(attrs)}>`;
91734
92488
  },
91735
- post: () => `</${tagName$R}>`
92489
+ post: () => `</${tagName$P}>`
91736
92490
  };
91737
92491
  });
91738
92492
  var button_build = () => { };
@@ -91742,11 +92496,11 @@ var button_build$1 = /*#__PURE__*/Object.freeze({
91742
92496
  default: button_build
91743
92497
  });
91744
92498
 
91745
- const tagName$Q = 'div';
92499
+ const tagName$O = 'div';
91746
92500
  register('wm-checkbox', () => {
91747
92501
  return {
91748
- pre: attrs => `<${tagName$Q} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91749
- post: () => `</${tagName$Q}>`
92502
+ pre: attrs => `<${tagName$O} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92503
+ post: () => `</${tagName$O}>`
91750
92504
  };
91751
92505
  });
91752
92506
  var checkbox_build = () => { };
@@ -91756,11 +92510,11 @@ var checkbox_build$1 = /*#__PURE__*/Object.freeze({
91756
92510
  default: checkbox_build
91757
92511
  });
91758
92512
 
91759
- const tagName$P = 'ul';
92513
+ const tagName$N = 'ul';
91760
92514
  register('wm-checkboxset', () => {
91761
92515
  return {
91762
- pre: attrs => `<${tagName$P} role="group" wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91763
- post: () => `</${tagName$P}>`
92516
+ pre: attrs => `<${tagName$N} role="group" wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92517
+ post: () => `</${tagName$N}>`
91764
92518
  };
91765
92519
  });
91766
92520
  var checkboxset_build = () => { };
@@ -91770,11 +92524,11 @@ var checkboxset_build$1 = /*#__PURE__*/Object.freeze({
91770
92524
  default: checkboxset_build
91771
92525
  });
91772
92526
 
91773
- const tagName$O = 'div';
92527
+ const tagName$M = 'div';
91774
92528
  register('wm-composite', () => {
91775
92529
  return {
91776
- pre: attrs => `<${tagName$O} wmComposite wmCaptionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,
91777
- post: () => `</${tagName$O}${clearChildAttrs()}>`
92530
+ pre: attrs => `<${tagName$M} wmComposite wmCaptionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,
92531
+ post: () => `</${tagName$M}${clearChildAttrs()}>`
91778
92532
  };
91779
92533
  });
91780
92534
  var composite_build = () => { };
@@ -91784,11 +92538,11 @@ var composite_build$1 = /*#__PURE__*/Object.freeze({
91784
92538
  default: composite_build
91785
92539
  });
91786
92540
 
91787
- const tagName$N = 'div';
92541
+ const tagName$L = 'div';
91788
92542
  register('wm-number', () => {
91789
92543
  return {
91790
- pre: attrs => `<${tagName$N} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91791
- post: () => `</${tagName$N}>`
92544
+ pre: attrs => `<${tagName$L} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92545
+ post: () => `</${tagName$L}>`
91792
92546
  };
91793
92547
  });
91794
92548
  var number_build = () => { };
@@ -91798,11 +92552,11 @@ var number_build$1 = /*#__PURE__*/Object.freeze({
91798
92552
  default: number_build
91799
92553
  });
91800
92554
 
91801
- const tagName$M = 'ul';
92555
+ const tagName$K = 'ul';
91802
92556
  register('wm-radioset', () => {
91803
92557
  return {
91804
- pre: attrs => `<${tagName$M} role="radiogroup" wmRadioset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91805
- post: () => `</${tagName$M}>`
92558
+ pre: attrs => `<${tagName$K} role="radiogroup" wmRadioset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92559
+ post: () => `</${tagName$K}>`
91806
92560
  };
91807
92561
  });
91808
92562
  var radioset_build = () => { };
@@ -91812,11 +92566,11 @@ var radioset_build$1 = /*#__PURE__*/Object.freeze({
91812
92566
  default: radioset_build
91813
92567
  });
91814
92568
 
91815
- const tagName$L = 'wm-select';
92569
+ const tagName$J = 'wm-select';
91816
92570
  register('wm-select', () => {
91817
92571
  return {
91818
- pre: attrs => `<${tagName$L} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91819
- post: () => `</${tagName$L}>`
92572
+ pre: attrs => `<${tagName$J} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92573
+ post: () => `</${tagName$J}>`
91820
92574
  };
91821
92575
  });
91822
92576
  var select_build = () => { };
@@ -91826,15 +92580,15 @@ var select_build$1 = /*#__PURE__*/Object.freeze({
91826
92580
  default: select_build
91827
92581
  });
91828
92582
 
91829
- const tagName$K = 'div';
91830
- const idGen$c = new IDGenerator('wm_switch');
92583
+ const tagName$I = 'div';
92584
+ const idGen$b = new IDGenerator('wm_switch');
91831
92585
  register('wm-switch', () => {
91832
92586
  return {
91833
92587
  pre: (attrs) => {
91834
- const counter = idGen$c.nextUid();
91835
- return `<${tagName$K} wmSwitch #${counter}="wmSwitch" [attr.aria-label]="${counter}.hint || 'Switch button'" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;
92588
+ const counter = idGen$b.nextUid();
92589
+ return `<${tagName$I} wmSwitch #${counter}="wmSwitch" [attr.aria-label]="${counter}.hint || 'Switch button'" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;
91836
92590
  },
91837
- post: () => `</${tagName$K}>`
92591
+ post: () => `</${tagName$I}>`
91838
92592
  };
91839
92593
  });
91840
92594
  var switch_build = () => { };
@@ -91844,11 +92598,11 @@ var switch_build$1 = /*#__PURE__*/Object.freeze({
91844
92598
  default: switch_build
91845
92599
  });
91846
92600
 
91847
- const tagName$J = 'wm-input';
92601
+ const tagName$H = 'wm-input';
91848
92602
  register('wm-text', () => {
91849
92603
  return {
91850
- pre: attrs => `<${tagName$J} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91851
- post: () => `</${tagName$J}>`
92604
+ pre: attrs => `<${tagName$H} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92605
+ post: () => `</${tagName$H}>`
91852
92606
  };
91853
92607
  });
91854
92608
  var text_build = () => { };
@@ -91858,11 +92612,11 @@ var text_build$1 = /*#__PURE__*/Object.freeze({
91858
92612
  default: text_build
91859
92613
  });
91860
92614
 
91861
- const tagName$I = 'wm-textarea';
92615
+ const tagName$G = 'wm-textarea';
91862
92616
  register('wm-textarea', () => {
91863
92617
  return {
91864
- pre: attrs => `<${tagName$I} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91865
- post: () => `</${tagName$I}>`
92618
+ pre: attrs => `<${tagName$G} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92619
+ post: () => `</${tagName$G}>`
91866
92620
  };
91867
92621
  });
91868
92622
  var textarea_build = () => { };
@@ -91872,11 +92626,11 @@ var textarea_build$1 = /*#__PURE__*/Object.freeze({
91872
92626
  default: textarea_build
91873
92627
  });
91874
92628
 
91875
- const tagName$H = 'div';
92629
+ const tagName$F = 'div';
91876
92630
  register('wm-datetime', () => {
91877
92631
  return {
91878
- pre: attrs => `<${tagName$H} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91879
- post: () => `</${tagName$H}>`
92632
+ pre: attrs => `<${tagName$F} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92633
+ post: () => `</${tagName$F}>`
91880
92634
  };
91881
92635
  });
91882
92636
  var dateTime_build = () => { };
@@ -91886,11 +92640,11 @@ var dateTime_build$1 = /*#__PURE__*/Object.freeze({
91886
92640
  default: dateTime_build
91887
92641
  });
91888
92642
 
91889
- const tagName$G = 'div';
92643
+ const tagName$E = 'div';
91890
92644
  register('wm-date', () => {
91891
92645
  return {
91892
- pre: attrs => `<${tagName$G} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91893
- post: () => `</${tagName$G}>`
92646
+ pre: attrs => `<${tagName$E} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92647
+ post: () => `</${tagName$E}>`
91894
92648
  };
91895
92649
  });
91896
92650
  var date_build = () => { };
@@ -91900,11 +92654,11 @@ var date_build$1 = /*#__PURE__*/Object.freeze({
91900
92654
  default: date_build
91901
92655
  });
91902
92656
 
91903
- const tagName$F = 'div';
92657
+ const tagName$D = 'div';
91904
92658
  register('wm-time', () => {
91905
92659
  return {
91906
- pre: attrs => `<${tagName$F} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91907
- post: () => `</${tagName$F}>`
92660
+ pre: attrs => `<${tagName$D} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92661
+ post: () => `</${tagName$D}>`
91908
92662
  };
91909
92663
  });
91910
92664
  var time_build = () => { };
@@ -91914,7 +92668,7 @@ var time_build$1 = /*#__PURE__*/Object.freeze({
91914
92668
  default: time_build
91915
92669
  });
91916
92670
 
91917
- const tagName$E = 'div';
92671
+ const tagName$C = 'div';
91918
92672
  register('wm-fileupload', () => {
91919
92673
  return {
91920
92674
  pre: attrs => {
@@ -91922,9 +92676,9 @@ register('wm-fileupload', () => {
91922
92676
  const onSelectBinding = getDataSource(attrs.get('select.event'));
91923
92677
  attrs.set('datasource.bind', onSelectBinding);
91924
92678
  }
91925
- return `<${tagName$E} wmFileUpload ${getAttrMarkup(attrs)} role="input">`;
92679
+ return `<${tagName$C} wmFileUpload ${getAttrMarkup(attrs)} role="input">`;
91926
92680
  },
91927
- post: () => `</${tagName$E}>`
92681
+ post: () => `</${tagName$C}>`
91928
92682
  };
91929
92683
  });
91930
92684
  var fileUpload_build = () => { };
@@ -91934,11 +92688,11 @@ var fileUpload_build$1 = /*#__PURE__*/Object.freeze({
91934
92688
  default: fileUpload_build
91935
92689
  });
91936
92690
 
91937
- const tagName$D = 'div';
92691
+ const tagName$B = 'div';
91938
92692
  register('wm-rating', () => {
91939
92693
  return {
91940
- pre: attrs => `<${tagName$D} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
91941
- post: () => `</${tagName$D}>`
92694
+ pre: attrs => `<${tagName$B} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
92695
+ post: () => `</${tagName$B}>`
91942
92696
  };
91943
92697
  });
91944
92698
  var rating_build = () => { };
@@ -91948,11 +92702,11 @@ var rating_build$1 = /*#__PURE__*/Object.freeze({
91948
92702
  default: rating_build
91949
92703
  });
91950
92704
 
91951
- const tagName$C = 'div';
92705
+ const tagName$A = 'div';
91952
92706
  register('wm-slider', () => {
91953
92707
  return {
91954
- pre: attrs => `<${tagName$C} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
91955
- post: () => `</${tagName$C}>`
92708
+ pre: attrs => `<${tagName$A} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
92709
+ post: () => `</${tagName$A}>`
91956
92710
  };
91957
92711
  });
91958
92712
  var slider_build = () => { };
@@ -91963,7 +92717,7 @@ var slider_build$1 = /*#__PURE__*/Object.freeze({
91963
92717
  });
91964
92718
 
91965
92719
  const wmlistTag = 'wm-list';
91966
- const tagName$B = 'div';
92720
+ const tagName$z = 'div';
91967
92721
  const dataSetKey$2 = 'dataset';
91968
92722
  function copyAttribute$1(from, fromAttrName, to, toAttrName) {
91969
92723
  const fromAttr = from.attrs.find(a => a.name === fromAttrName);
@@ -92011,8 +92765,8 @@ register('wm-media-list', () => {
92011
92765
  copyAttribute$1(template, 'height', node, 'thumbnailheight');
92012
92766
  }
92013
92767
  },
92014
- pre: attrs => `<${tagName$B} wmMediaList ${getAttrMarkup(attrs)}>`,
92015
- post: () => `</${tagName$B}>`
92768
+ pre: attrs => `<${tagName$z} wmMediaList ${getAttrMarkup(attrs)}>`,
92769
+ post: () => `</${tagName$z}>`
92016
92770
  };
92017
92771
  });
92018
92772
  var mediaList_build = () => { };
@@ -92022,11 +92776,11 @@ var mediaList_build$1 = /*#__PURE__*/Object.freeze({
92022
92776
  default: mediaList_build
92023
92777
  });
92024
92778
 
92025
- const tagName$A = 'ng-template';
92779
+ const tagName$y = 'ng-template';
92026
92780
  register('wm-media-template', () => {
92027
92781
  return {
92028
- pre: () => `<${tagName$A} #mediaListTemplate let-item="item" let-index="index">`,
92029
- post: () => `</${tagName$A}>`
92782
+ pre: () => `<${tagName$y} #mediaListTemplate let-item="item" let-index="index">`,
92783
+ post: () => `</${tagName$y}>`
92030
92784
  };
92031
92785
  });
92032
92786
  var mediaListItem_build = () => { };
@@ -92110,16 +92864,16 @@ var list_build$1 = /*#__PURE__*/Object.freeze({
92110
92864
  default: list_build
92111
92865
  });
92112
92866
 
92113
- const tagName$z = 'div';
92114
- const idGen$b = new IDGenerator('liveform_dialog_id_');
92867
+ const tagName$x = 'div';
92868
+ const idGen$a = new IDGenerator('liveform_dialog_id_');
92115
92869
  register('wm-livetable', () => {
92116
92870
  return {
92117
92871
  pre: (attrs, shared) => {
92118
- const counter = idGen$b.nextUid();
92872
+ const counter = idGen$a.nextUid();
92119
92873
  shared.set('counter', counter);
92120
- return `<${tagName$z} wmLiveTable ${getAttrMarkup(attrs)} dialogid="${counter}">`;
92874
+ return `<${tagName$x} wmLiveTable ${getAttrMarkup(attrs)} dialogid="${counter}">`;
92121
92875
  },
92122
- post: () => `</${tagName$z}>`,
92876
+ post: () => `</${tagName$x}>`,
92123
92877
  provide: (attrs, shared) => {
92124
92878
  const provider = new Map();
92125
92879
  provider.set('liveform_dialog_id', shared.get('counter'));
@@ -92134,15 +92888,15 @@ var liveTable_build$1 = /*#__PURE__*/Object.freeze({
92134
92888
  default: liveTable_build
92135
92889
  });
92136
92890
 
92137
- const tagName$y = 'p';
92138
- const idGen$a = new IDGenerator('wm_message');
92891
+ const tagName$w = 'p';
92892
+ const idGen$9 = new IDGenerator('wm_message');
92139
92893
  register('wm-message', () => {
92140
92894
  return {
92141
92895
  pre: (attrs) => {
92142
- const counter = idGen$a.nextUid();
92143
- return `<${tagName$y} wmMessage tabindex="0" #${counter}="wmMessage" ${getAttrMarkup(attrs)}>`;
92896
+ const counter = idGen$9.nextUid();
92897
+ return `<${tagName$w} wmMessage tabindex="0" #${counter}="wmMessage" ${getAttrMarkup(attrs)}>`;
92144
92898
  },
92145
- post: () => `</${tagName$y}>`
92899
+ post: () => `</${tagName$w}>`
92146
92900
  };
92147
92901
  });
92148
92902
  var message_build = () => { };
@@ -92152,11 +92906,11 @@ var message_build$1 = /*#__PURE__*/Object.freeze({
92152
92906
  default: message_build
92153
92907
  });
92154
92908
 
92155
- const tagName$x = 'ol';
92909
+ const tagName$v = 'ol';
92156
92910
  register('wm-breadcrumb', () => {
92157
92911
  return {
92158
- pre: attrs => `<${tagName$x} wmBreadcrumb ${getAttrMarkup(attrs)}>`,
92159
- post: () => `</${tagName$x}>`
92912
+ pre: attrs => `<${tagName$v} wmBreadcrumb ${getAttrMarkup(attrs)}>`,
92913
+ post: () => `</${tagName$v}>`
92160
92914
  };
92161
92915
  });
92162
92916
  var breadcrumb_build = () => { };
@@ -92166,7 +92920,7 @@ var breadcrumb_build$1 = /*#__PURE__*/Object.freeze({
92166
92920
  default: breadcrumb_build
92167
92921
  });
92168
92922
 
92169
- const tagName$w = 'div';
92923
+ const tagName$u = 'div';
92170
92924
  register('wm-menu', () => {
92171
92925
  return {
92172
92926
  pre: attrs => {
@@ -92181,13 +92935,13 @@ register('wm-menu', () => {
92181
92935
  else {
92182
92936
  styleBinding = `[ngStyle]="{'width': '${menuWidth}px'}"`;
92183
92937
  }
92184
- return `<${tagName$w} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
92938
+ return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
92185
92939
  }
92186
92940
  else {
92187
- return `<${tagName$w} wmMenu dropdown ${getAttrMarkup(attrs)}>`;
92941
+ return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)}>`;
92188
92942
  }
92189
92943
  },
92190
- post: () => `</${tagName$w}>`
92944
+ post: () => `</${tagName$u}>`
92191
92945
  };
92192
92946
  });
92193
92947
  var menu_build = () => { };
@@ -92197,11 +92951,11 @@ var menu_build$1 = /*#__PURE__*/Object.freeze({
92197
92951
  default: menu_build
92198
92952
  });
92199
92953
 
92200
- const tagName$v = 'li';
92954
+ const tagName$t = 'li';
92201
92955
  register('wm-nav-item', () => {
92202
92956
  return {
92203
- pre: attrs => `<${tagName$v} wmNavItem role="listitem" ${getAttrMarkup(attrs)}>`,
92204
- post: () => `</${tagName$v}>`
92957
+ pre: attrs => `<${tagName$t} wmNavItem role="listitem" ${getAttrMarkup(attrs)}>`,
92958
+ post: () => `</${tagName$t}>`
92205
92959
  };
92206
92960
  });
92207
92961
  var navItem_build = () => { };
@@ -92211,11 +92965,11 @@ var navItem_build$1 = /*#__PURE__*/Object.freeze({
92211
92965
  default: navItem_build
92212
92966
  });
92213
92967
 
92214
- const tagName$u = 'ul';
92968
+ const tagName$s = 'ul';
92215
92969
  register('wm-nav', () => {
92216
92970
  return {
92217
- pre: attrs => `<${tagName$u} wmNav data-element-type="wmNav" data-role="page-header" role="list" ${getAttrMarkup(attrs)}>`,
92218
- post: () => `</${tagName$u}>`
92971
+ pre: attrs => `<${tagName$s} wmNav data-element-type="wmNav" data-role="page-header" role="list" ${getAttrMarkup(attrs)}>`,
92972
+ post: () => `</${tagName$s}>`
92219
92973
  };
92220
92974
  });
92221
92975
  var nav_build = () => { };
@@ -92225,11 +92979,11 @@ var nav_build$1 = /*#__PURE__*/Object.freeze({
92225
92979
  default: nav_build
92226
92980
  });
92227
92981
 
92228
- const tagName$t = 'nav';
92982
+ const tagName$r = 'nav';
92229
92983
  register('wm-navbar', () => {
92230
92984
  return {
92231
- pre: attrs => `<${tagName$t} wmNavbar data-element-type="wmNavbar" role="navigation" ${getAttrMarkup(attrs)}>`,
92232
- post: () => `</${tagName$t}>`
92985
+ pre: attrs => `<${tagName$r} wmNavbar data-element-type="wmNavbar" role="navigation" ${getAttrMarkup(attrs)}>`,
92986
+ post: () => `</${tagName$r}>`
92233
92987
  };
92234
92988
  });
92235
92989
  var navbar_build = () => { };
@@ -92239,7 +92993,7 @@ var navbar_build$1 = /*#__PURE__*/Object.freeze({
92239
92993
  default: navbar_build
92240
92994
  });
92241
92995
 
92242
- const tagName$s = 'wm-popover';
92996
+ const tagName$q = 'wm-popover';
92243
92997
  register('wm-popover', () => {
92244
92998
  return {
92245
92999
  requires: ['wm-table'],
@@ -92259,7 +93013,7 @@ register('wm-popover', () => {
92259
93013
  popoverTemplate = `<div wmContainer #partial partialContainer ${contentMarkup}>`;
92260
93014
  shared.set('hasPopoverContent', true);
92261
93015
  }
92262
- let markup = `<${tagName$s} wmPopover ${getAttrMarkup(attrs)}>`;
93016
+ let markup = `<${tagName$q} wmPopover ${getAttrMarkup(attrs)}>`;
92263
93017
  const contextAttrs = table ? `let-row="row"` : ``;
92264
93018
  markup += `<ng-template ${contextAttrs}><div tabindex="0" class="popover-start sr-only" aria-label="">popover content start</div>`;
92265
93019
  // todo keyboard navigation - tab
@@ -92273,7 +93027,7 @@ register('wm-popover', () => {
92273
93027
  if (shared.get('hasPopoverContent')) {
92274
93028
  markup += `</div>`;
92275
93029
  }
92276
- return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$s}>`;
93030
+ return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$q}>`;
92277
93031
  }
92278
93032
  };
92279
93033
  });
@@ -92284,16 +93038,16 @@ var popover_build$1 = /*#__PURE__*/Object.freeze({
92284
93038
  default: popover_build
92285
93039
  });
92286
93040
 
92287
- const tagName$r = 'div';
93041
+ const tagName$p = 'div';
92288
93042
  const findChild = (node, childName) => {
92289
93043
  const child = node && node.children.find(e => (e instanceof Element$2 && e.name === childName));
92290
93044
  return child;
92291
93045
  };
92292
- const createElement$4 = name => {
92293
- return new Element$2(name, [], [], noSpan$4, noSpan$4, noSpan$4);
93046
+ const createElement$3 = name => {
93047
+ return new Element$2(name, [], [], noSpan$3, noSpan$3, noSpan$3);
92294
93048
  };
92295
- const addAtrribute$4 = (node, name, value) => {
92296
- const attr = new Attribute$1(name, value, noSpan$4, noSpan$4, noSpan$4, undefined, undefined);
93049
+ const addAtrribute$3 = (node, name, value) => {
93050
+ const attr = new Attribute$1(name, value, noSpan$3, noSpan$3, noSpan$3, undefined, undefined);
92297
93051
  node.attrs.push(attr);
92298
93052
  };
92299
93053
  const getElementNode = (name, node) => {
@@ -92314,8 +93068,8 @@ const getElementNode = (name, node) => {
92314
93068
  });
92315
93069
  return elementNode;
92316
93070
  };
92317
- const noSpan$4 = {};
92318
- const idGen$9 = new IDGenerator('wm_page');
93071
+ const noSpan$3 = {};
93072
+ const idGen$8 = new IDGenerator('wm_page');
92319
93073
  register('wm-page', () => {
92320
93074
  return {
92321
93075
  template: (node) => {
@@ -92324,24 +93078,24 @@ register('wm-page', () => {
92324
93078
  pageContentNode = getElementNode('wm-page-content', getElementNode('wm-content', node));
92325
93079
  }
92326
93080
  if (pageContentNode) {
92327
- const conditionalNode = createElement$4('ng-container');
92328
- addAtrribute$4(conditionalNode, '*ngIf', 'compilePageContent');
93081
+ const conditionalNode = createElement$3('ng-container');
93082
+ addAtrribute$3(conditionalNode, '*ngIf', 'compilePageContent');
92329
93083
  conditionalNode.children = conditionalNode.children.concat(pageContentNode.children);
92330
93084
  conditionalNode.children.push(new Text$1('{{onPageContentReady()}}', null, undefined, undefined));
92331
93085
  pageContentNode.children = [conditionalNode];
92332
93086
  if (isMobileApp()) {
92333
- const loader = createElement$4('div');
92334
- addAtrribute$4(loader, 'wmPageContentLoader', '');
92335
- addAtrribute$4(loader, '*ngIf', '!showPageContent');
93087
+ const loader = createElement$3('div');
93088
+ addAtrribute$3(loader, 'wmPageContentLoader', '');
93089
+ addAtrribute$3(loader, '*ngIf', '!showPageContent');
92336
93090
  pageContentNode.children.push(loader);
92337
93091
  }
92338
93092
  }
92339
93093
  },
92340
93094
  pre: (attrs) => {
92341
- const counter = idGen$9.nextUid();
92342
- return `<${tagName$r} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
93095
+ const counter = idGen$8.nextUid();
93096
+ return `<${tagName$p} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
92343
93097
  },
92344
- post: () => `</${tagName$r}>`
93098
+ post: () => `</${tagName$p}>`
92345
93099
  };
92346
93100
  });
92347
93101
  var page_build = () => { };
@@ -92351,15 +93105,15 @@ var page_build$1 = /*#__PURE__*/Object.freeze({
92351
93105
  default: page_build
92352
93106
  });
92353
93107
 
92354
- const tagName$q = 'div';
92355
- const idGen$8 = new IDGenerator('wm_layout');
93108
+ const tagName$o = 'div';
93109
+ const idGen$7 = new IDGenerator('wm_layout');
92356
93110
  register('wm-layout', () => {
92357
93111
  return {
92358
93112
  pre: (attrs) => {
92359
- const counter = idGen$8.nextUid();
92360
- return `<${tagName$q} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.hint || 'Main page content'" ${getAttrMarkup(attrs)}>`;
93113
+ const counter = idGen$7.nextUid();
93114
+ return `<${tagName$o} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.hint || 'Main page content'" ${getAttrMarkup(attrs)}>`;
92361
93115
  },
92362
- post: () => `</${tagName$q}>`
93116
+ post: () => `</${tagName$o}>`
92363
93117
  };
92364
93118
  });
92365
93119
  var layout_build = () => { };
@@ -92369,11 +93123,11 @@ var layout_build$1 = /*#__PURE__*/Object.freeze({
92369
93123
  default: layout_build
92370
93124
  });
92371
93125
 
92372
- const tagName$p = 'router-outlet';
93126
+ const tagName$n = 'router-outlet';
92373
93127
  register('wm-router-outlet', () => {
92374
93128
  return {
92375
- pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$p} (activate)="onActivate($event)">`,
92376
- post: () => `</${tagName$p}></div>`
93129
+ pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$n} (activate)="onActivate($event)">`,
93130
+ post: () => `</${tagName$n}></div>`
92377
93131
  };
92378
93132
  });
92379
93133
  var routerOutlet_build = () => { };
@@ -92383,11 +93137,11 @@ var routerOutlet_build$1 = /*#__PURE__*/Object.freeze({
92383
93137
  default: routerOutlet_build
92384
93138
  });
92385
93139
 
92386
- const tagName$o = 'nav';
93140
+ const tagName$m = 'nav';
92387
93141
  register('wm-pagination', () => {
92388
93142
  return {
92389
- pre: attrs => `<${tagName$o} wmPagination data-identifier="pagination" aria-label="Page navigation" ${getAttrMarkup(attrs)}>`,
92390
- post: () => `</${tagName$o}>`
93143
+ pre: attrs => `<${tagName$m} wmPagination data-identifier="pagination" aria-label="Page navigation" ${getAttrMarkup(attrs)}>`,
93144
+ post: () => `</${tagName$m}>`
92391
93145
  };
92392
93146
  });
92393
93147
  var pagination_build = () => { };
@@ -92397,11 +93151,11 @@ var pagination_build$1 = /*#__PURE__*/Object.freeze({
92397
93151
  default: pagination_build
92398
93152
  });
92399
93153
 
92400
- const tagName$n = 'main';
93154
+ const tagName$l = 'main';
92401
93155
  register('wm-content', () => {
92402
93156
  return {
92403
- pre: attrs => `<${tagName$n} wmContent data-role="page-content" role="main" ${getAttrMarkup(attrs)}>`,
92404
- post: () => `</${tagName$n}>`
93157
+ pre: attrs => `<${tagName$l} wmContent data-role="page-content" role="main" ${getAttrMarkup(attrs)}>`,
93158
+ post: () => `</${tagName$l}>`
92405
93159
  };
92406
93160
  });
92407
93161
  var content_build = () => { };
@@ -92411,15 +93165,15 @@ var content_build$1 = /*#__PURE__*/Object.freeze({
92411
93165
  default: content_build
92412
93166
  });
92413
93167
 
92414
- const tagName$m = 'footer';
92415
- const idGen$7 = new IDGenerator('wm_footer');
93168
+ const tagName$k = 'footer';
93169
+ const idGen$6 = new IDGenerator('wm_footer');
92416
93170
  register('wm-footer', () => {
92417
93171
  return {
92418
93172
  pre: (attrs) => {
92419
- const counter = idGen$7.nextUid();
92420
- return `<${tagName$m} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.hint || 'Page footer'" ${getAttrMarkup(attrs)}>`;
93173
+ const counter = idGen$6.nextUid();
93174
+ return `<${tagName$k} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.hint || 'Page footer'" ${getAttrMarkup(attrs)}>`;
92421
93175
  },
92422
- post: () => `</${tagName$m}>`
93176
+ post: () => `</${tagName$k}>`
92423
93177
  };
92424
93178
  });
92425
93179
  var footer_build = () => { };
@@ -92429,15 +93183,15 @@ var footer_build$1 = /*#__PURE__*/Object.freeze({
92429
93183
  default: footer_build
92430
93184
  });
92431
93185
 
92432
- const tagName$l = 'header';
92433
- const idGen$6 = new IDGenerator('wm_header');
93186
+ const tagName$j = 'header';
93187
+ const idGen$5 = new IDGenerator('wm_header');
92434
93188
  register('wm-header', () => {
92435
93189
  return {
92436
93190
  pre: (attrs) => {
92437
- const counter = idGen$6.nextUid();
92438
- return `<${tagName$l} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.hint || 'Page header'" ${getAttrMarkup(attrs)}>`;
93191
+ const counter = idGen$5.nextUid();
93192
+ return `<${tagName$j} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.hint || 'Page header'" ${getAttrMarkup(attrs)}>`;
92439
93193
  },
92440
- post: () => `</${tagName$l}>`
93194
+ post: () => `</${tagName$j}>`
92441
93195
  };
92442
93196
  });
92443
93197
  var header_build = () => { };
@@ -92447,15 +93201,15 @@ var header_build$1 = /*#__PURE__*/Object.freeze({
92447
93201
  default: header_build
92448
93202
  });
92449
93203
 
92450
- const tagName$k = 'aside';
92451
- const idGen$5 = new IDGenerator('wm_left_panel');
93204
+ const tagName$i = 'aside';
93205
+ const idGen$4 = new IDGenerator('wm_left_panel');
92452
93206
  register('wm-left-panel', () => {
92453
93207
  return {
92454
93208
  pre: (attrs) => {
92455
- const counter = idGen$5.nextUid();
92456
- return `<${tagName$k} wmLeftPanel #${counter}="wmLeftPanel" partialContainer data-role="page-left-panel" [attr.aria-label]="${counter}.hint || 'Left navigation panel'" wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`;
93209
+ const counter = idGen$4.nextUid();
93210
+ return `<${tagName$i} wmLeftPanel #${counter}="wmLeftPanel" partialContainer data-role="page-left-panel" [attr.aria-label]="${counter}.hint || 'Left navigation panel'" wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`;
92457
93211
  },
92458
- post: () => `</${tagName$k}>`
93212
+ post: () => `</${tagName$i}>`
92459
93213
  };
92460
93214
  });
92461
93215
  var leftPanel_build = () => { };
@@ -92465,11 +93219,11 @@ var leftPanel_build$1 = /*#__PURE__*/Object.freeze({
92465
93219
  default: leftPanel_build
92466
93220
  });
92467
93221
 
92468
- const tagName$j = 'header';
93222
+ const tagName$h = 'header';
92469
93223
  register('wm-mobile-navbar', () => {
92470
93224
  return {
92471
- pre: attrs => `<${tagName$j} wmMobileNavbar ${getAttrMarkup(attrs)}>`,
92472
- post: () => `</${tagName$j}>`
93225
+ pre: attrs => `<${tagName$h} wmMobileNavbar ${getAttrMarkup(attrs)}>`,
93226
+ post: () => `</${tagName$h}>`
92473
93227
  };
92474
93228
  });
92475
93229
  var mobileNavbar_build = () => { };
@@ -92479,15 +93233,15 @@ var mobileNavbar_build$1 = /*#__PURE__*/Object.freeze({
92479
93233
  default: mobileNavbar_build
92480
93234
  });
92481
93235
 
92482
- const tagName$i = 'aside';
92483
- const idGen$4 = new IDGenerator('wm_right_panel');
93236
+ const tagName$g = 'aside';
93237
+ const idGen$3 = new IDGenerator('wm_right_panel');
92484
93238
  register('wm-right-panel', () => {
92485
93239
  return {
92486
93240
  pre: (attrs) => {
92487
- const counter = idGen$4.nextUid();
92488
- return `<${tagName$i} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.hint || 'Right navigation panel'" ${getAttrMarkup(attrs)}>`;
93241
+ const counter = idGen$3.nextUid();
93242
+ return `<${tagName$g} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.hint || 'Right navigation panel'" ${getAttrMarkup(attrs)}>`;
92489
93243
  },
92490
- post: () => `</${tagName$i}>`
93244
+ post: () => `</${tagName$g}>`
92491
93245
  };
92492
93246
  });
92493
93247
  var rightPanel_build = () => { };
@@ -92497,22 +93251,22 @@ var rightPanel_build$1 = /*#__PURE__*/Object.freeze({
92497
93251
  default: rightPanel_build
92498
93252
  });
92499
93253
 
92500
- const tagName$h = 'div';
92501
- const createElement$3 = name => {
92502
- return new Element$2(name, [], [], noSpan$3, noSpan$3, noSpan$3);
93254
+ const tagName$f = 'div';
93255
+ const createElement$2 = name => {
93256
+ return new Element$2(name, [], [], noSpan$2, noSpan$2, noSpan$2);
92503
93257
  };
92504
- const addAtrribute$3 = (node, name, value) => {
92505
- const attr = new Attribute$1(name, value, noSpan$3, noSpan$3, noSpan$3, undefined, undefined);
93258
+ const addAtrribute$2 = (node, name, value) => {
93259
+ const attr = new Attribute$1(name, value, noSpan$2, noSpan$2, noSpan$2, undefined, undefined);
92506
93260
  node.attrs.push(attr);
92507
93261
  };
92508
- const noSpan$3 = {};
93262
+ const noSpan$2 = {};
92509
93263
  register('wm-page-content', () => {
92510
93264
  return {
92511
93265
  template: (node) => {
92512
93266
  for (let attr of node.attrs) {
92513
93267
  if (attr.name === 'spa' && attr.value === 'true') {
92514
- const conditionalNode = createElement$3('ng-container');
92515
- addAtrribute$3(conditionalNode, '*ngIf', 'compilePageContent');
93268
+ const conditionalNode = createElement$2('ng-container');
93269
+ addAtrribute$2(conditionalNode, '*ngIf', 'compilePageContent');
92516
93270
  conditionalNode.children = conditionalNode.children.concat(node.children);
92517
93271
  conditionalNode.children.push(new Text$1('{{onPageContentReady()}}', null, undefined, undefined));
92518
93272
  node.children = [conditionalNode];
@@ -92520,8 +93274,8 @@ register('wm-page-content', () => {
92520
93274
  }
92521
93275
  }
92522
93276
  },
92523
- pre: attrs => `<${tagName$h} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
92524
- post: () => `</${tagName$h}>`
93277
+ pre: attrs => `<${tagName$f} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
93278
+ post: () => `</${tagName$f}>`
92525
93279
  };
92526
93280
  });
92527
93281
  var pageContent_build = () => { };
@@ -92531,11 +93285,11 @@ var pageContent_build$1 = /*#__PURE__*/Object.freeze({
92531
93285
  default: pageContent_build
92532
93286
  });
92533
93287
 
92534
- const tagName$g = 'div';
93288
+ const tagName$e = 'div';
92535
93289
  register('wm-mobile-tabbar', () => {
92536
93290
  return {
92537
- pre: attrs => `<${tagName$g} wmMobileTabbar ${getAttrMarkup(attrs)}>`,
92538
- post: () => `</${tagName$g}>`
93291
+ pre: attrs => `<${tagName$e} wmMobileTabbar ${getAttrMarkup(attrs)}>`,
93292
+ post: () => `</${tagName$e}>`
92539
93293
  };
92540
93294
  });
92541
93295
  var tabBar_build = () => { };
@@ -92545,15 +93299,15 @@ var tabBar_build$1 = /*#__PURE__*/Object.freeze({
92545
93299
  default: tabBar_build
92546
93300
  });
92547
93301
 
92548
- const tagName$f = 'section';
92549
- const idGen$3 = new IDGenerator('wm_top_nav');
93302
+ const tagName$d = 'section';
93303
+ const idGen$2 = new IDGenerator('wm_top_nav');
92550
93304
  register('wm-top-nav', () => {
92551
93305
  return {
92552
93306
  pre: (attrs) => {
92553
- const counter = idGen$3.nextUid();
92554
- return `<${tagName$f} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.hint || 'Second level navigation'" ${getAttrMarkup(attrs)}>`;
93307
+ const counter = idGen$2.nextUid();
93308
+ return `<${tagName$d} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.hint || 'Second level navigation'" ${getAttrMarkup(attrs)}>`;
92555
93309
  },
92556
- post: () => `</${tagName$f}>`
93310
+ post: () => `</${tagName$d}>`
92557
93311
  };
92558
93312
  });
92559
93313
  var topNav_build = () => { };
@@ -92563,26 +93317,26 @@ var topNav_build$1 = /*#__PURE__*/Object.freeze({
92563
93317
  default: topNav_build
92564
93318
  });
92565
93319
 
92566
- const tagName$e = 'section';
92567
- const noSpan$2 = {};
92568
- const createElement$2 = name => {
92569
- return new Element$2(name, [], [], noSpan$2, noSpan$2, noSpan$2);
93320
+ const tagName$c = 'section';
93321
+ const noSpan$1 = {};
93322
+ const createElement$1 = name => {
93323
+ return new Element$2(name, [], [], noSpan$1, noSpan$1, noSpan$1);
92570
93324
  };
92571
- const addAtrribute$2 = (node, name, value) => {
92572
- const attr = new Attribute$1(name, value, noSpan$2, noSpan$2, noSpan$2, undefined, undefined);
93325
+ const addAtrribute$1 = (node, name, value) => {
93326
+ const attr = new Attribute$1(name, value, noSpan$1, noSpan$1, noSpan$1, undefined, undefined);
92573
93327
  node.attrs.push(attr);
92574
93328
  };
92575
93329
  register('wm-partial', () => {
92576
93330
  return {
92577
93331
  template: (node) => {
92578
- const conditionalNode = createElement$2('ng-container');
92579
- addAtrribute$2(conditionalNode, '*ngIf', 'compileContent');
93332
+ const conditionalNode = createElement$1('ng-container');
93333
+ addAtrribute$1(conditionalNode, '*ngIf', 'compileContent');
92580
93334
  conditionalNode.children = conditionalNode.children.concat(node.children);
92581
93335
  node.children.length = 0;
92582
93336
  node.children.push(conditionalNode);
92583
93337
  },
92584
- pre: attrs => `<${tagName$e} wmPartial data-role="partial" ${getAttrMarkup(attrs)}>`,
92585
- post: () => `</${tagName$e}>`
93338
+ pre: attrs => `<${tagName$c} wmPartial data-role="partial" ${getAttrMarkup(attrs)}>`,
93339
+ post: () => `</${tagName$c}>`
92586
93340
  };
92587
93341
  });
92588
93342
  var partial_build = () => { };
@@ -92592,11 +93346,11 @@ var partial_build$1 = /*#__PURE__*/Object.freeze({
92592
93346
  default: partial_build
92593
93347
  });
92594
93348
 
92595
- const tagName$d = 'div';
93349
+ const tagName$b = 'div';
92596
93350
  register('wm-param', () => {
92597
93351
  return {
92598
- pre: attrs => `<${tagName$d} wmParam hidden ${getAttrMarkup(attrs)}>`,
92599
- post: () => `</${tagName$d}>`
93352
+ pre: attrs => `<${tagName$b} wmParam hidden ${getAttrMarkup(attrs)}>`,
93353
+ post: () => `</${tagName$b}>`
92600
93354
  };
92601
93355
  });
92602
93356
  var partialParam_build = () => { };
@@ -92606,11 +93360,11 @@ var partialParam_build$1 = /*#__PURE__*/Object.freeze({
92606
93360
  default: partialParam_build
92607
93361
  });
92608
93362
 
92609
- const tagName$c = 'section';
93363
+ const tagName$a = 'section';
92610
93364
  register('wm-prefab', () => {
92611
93365
  return {
92612
- pre: attrs => `<${tagName$c} wmPrefab redrawable data-role="prefab" ${getAttrMarkup(attrs)}>`,
92613
- post: () => `</${tagName$c}>`
93366
+ pre: attrs => `<${tagName$a} wmPrefab redrawable data-role="prefab" ${getAttrMarkup(attrs)}>`,
93367
+ post: () => `</${tagName$a}>`
92614
93368
  };
92615
93369
  });
92616
93370
  var prefab_build = () => { };
@@ -92620,26 +93374,26 @@ var prefab_build$1 = /*#__PURE__*/Object.freeze({
92620
93374
  default: prefab_build
92621
93375
  });
92622
93376
 
92623
- const noSpan$1 = {};
92624
- const createElement$1 = name => {
92625
- return new Element$2(name, [], [], noSpan$1, noSpan$1, noSpan$1);
93377
+ const noSpan = {};
93378
+ const createElement = name => {
93379
+ return new Element$2(name, [], [], noSpan, noSpan, noSpan);
92626
93380
  };
92627
- const addAtrribute$1 = (node, name, value) => {
92628
- const attr = new Attribute$1(name, value, noSpan$1, noSpan$1, noSpan$1, undefined, undefined);
93381
+ const addAtrribute = (node, name, value) => {
93382
+ const attr = new Attribute$1(name, value, noSpan, noSpan, noSpan, undefined, undefined);
92629
93383
  node.attrs.push(attr);
92630
93384
  };
92631
- const tagName$b = 'div';
93385
+ const tagName$9 = 'div';
92632
93386
  register('wm-prefab-container', () => {
92633
93387
  return {
92634
93388
  template: (node) => {
92635
- const conditionalNode = createElement$1('ng-container');
92636
- addAtrribute$1(conditionalNode, '*ngIf', 'compileContent');
93389
+ const conditionalNode = createElement('ng-container');
93390
+ addAtrribute(conditionalNode, '*ngIf', 'compileContent');
92637
93391
  conditionalNode.children = conditionalNode.children.concat(node.children);
92638
93392
  node.children.length = 0;
92639
93393
  node.children.push(conditionalNode);
92640
93394
  },
92641
- pre: attrs => `<${tagName$b} wmPrefabContainer ${getAttrMarkup(attrs)}>`,
92642
- post: () => `</${tagName$b}>`
93395
+ pre: attrs => `<${tagName$9} wmPrefabContainer ${getAttrMarkup(attrs)}>`,
93396
+ post: () => `</${tagName$9}>`
92643
93397
  };
92644
93398
  });
92645
93399
  var prefabContainer_build = () => { };
@@ -92649,11 +93403,11 @@ var prefabContainer_build$1 = /*#__PURE__*/Object.freeze({
92649
93403
  default: prefabContainer_build
92650
93404
  });
92651
93405
 
92652
- const tagName$a = 'div';
93406
+ const tagName$8 = 'div';
92653
93407
  register('wm-table-action', () => {
92654
93408
  return {
92655
- pre: attrs => `<${tagName$a} name="${attrs.get('name') || attrs.get('key')}" wmTableAction ${getAttrMarkup(attrs)}>`,
92656
- post: () => `</${tagName$a}>`
93409
+ pre: attrs => `<${tagName$8} name="${attrs.get('name') || attrs.get('key')}" wmTableAction ${getAttrMarkup(attrs)}>`,
93410
+ post: () => `</${tagName$8}>`
92657
93411
  };
92658
93412
  });
92659
93413
  var tableAction_build = () => { };
@@ -92663,11 +93417,11 @@ var tableAction_build$1 = /*#__PURE__*/Object.freeze({
92663
93417
  default: tableAction_build
92664
93418
  });
92665
93419
 
92666
- const tagName$9 = 'div';
93420
+ const tagName$7 = 'div';
92667
93421
  register('wm-table-column-group', () => {
92668
93422
  return {
92669
- pre: attrs => `<${tagName$9} wmTableColumnGroup ${getAttrMarkup(attrs)}>`,
92670
- post: () => `</${tagName$9}>`
93423
+ pre: attrs => `<${tagName$7} wmTableColumnGroup ${getAttrMarkup(attrs)}>`,
93424
+ post: () => `</${tagName$7}>`
92671
93425
  };
92672
93426
  });
92673
93427
  var tableColumnGroup_build = () => { };
@@ -92677,8 +93431,8 @@ var tableColumnGroup_build$1 = /*#__PURE__*/Object.freeze({
92677
93431
  default: tableColumnGroup_build
92678
93432
  });
92679
93433
 
92680
- const tagName$8 = 'div';
92681
- const idGen$2 = new IDGenerator('data_table_form_');
93434
+ const tagName$6 = 'div';
93435
+ const idGen$1 = new IDGenerator('data_table_form_');
92682
93436
  const formWidgets = new Set([
92683
93437
  'wm-text',
92684
93438
  'wm-textarea',
@@ -92790,7 +93544,7 @@ const getInlineEditWidgetTmpl = (attrs, isNewRow, errorstyle, pCounter) => {
92790
93544
  let wmFormWidget = '';
92791
93545
  if (widget === FormWidgetType.UPLOAD) {
92792
93546
  options.uploadProps = {
92793
- formName: idGen$2.nextUid(),
93547
+ formName: idGen$1.nextUid(),
92794
93548
  name: fieldName
92795
93549
  };
92796
93550
  options.counter = pCounter;
@@ -92930,7 +93684,7 @@ register('wm-table-column', () => {
92930
93684
  customExprTmpl = `${customExpr}<div data-col-identifier="${attrs.get('binding')}" title="${formatExprTmpl}">${formatExprTmpl}`;
92931
93685
  }
92932
93686
  }
92933
- return `<${tagName$8} wmTableColumn ${getAttrMarkup(attrs)} ${parentForm}>
93687
+ return `<${tagName$6} wmTableColumn ${getAttrMarkup(attrs)} ${parentForm}>
92934
93688
  ${rowFilterTmpl}
92935
93689
  ${inlineEditTmpl}
92936
93690
  ${inlineNewEditTmpl}
@@ -92941,7 +93695,7 @@ register('wm-table-column', () => {
92941
93695
  if (shared.get('customExpression')) {
92942
93696
  customExprTmpl = `</div></ng-template>`;
92943
93697
  }
92944
- return `${customExprTmpl}</${tagName$8}>`;
93698
+ return `${customExprTmpl}</${tagName$6}>`;
92945
93699
  },
92946
93700
  imports: (attrs) => {
92947
93701
  const editWidgetType = attrs.get('edit-widget-type');
@@ -92957,7 +93711,7 @@ var tableColumn_build$1 = /*#__PURE__*/Object.freeze({
92957
93711
  default: tableColumn_build
92958
93712
  });
92959
93713
 
92960
- const tagName$7 = 'div';
93714
+ const tagName$5 = 'div';
92961
93715
  const getRowExpansionActionTmpl = (attrs) => {
92962
93716
  const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';
92963
93717
  const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';
@@ -92973,7 +93727,7 @@ const getRowExpansionActionTmpl = (attrs) => {
92973
93727
  register('wm-table-row', () => {
92974
93728
  return {
92975
93729
  pre: (attrs) => {
92976
- return `<${tagName$7} wmTableRow ${getAttrMarkup(attrs)}>
93730
+ return `<${tagName$5} wmTableRow ${getAttrMarkup(attrs)}>
92977
93731
  ${getRowExpansionActionTmpl(attrs)}
92978
93732
  <ng-template #rowExpansionTmpl let-row="row" let-rowDef="rowDef" let-containerLoad="containerLoad">
92979
93733
  <div wmContainer partialContainer content.bind="rowDef.content" load.event="containerLoad(widget)"
@@ -92981,7 +93735,7 @@ register('wm-table-row', () => {
92981
93735
  <div *ngFor="let param of rowDef.partialParams | keyvalue" wmParam hidden
92982
93736
  [name]="param.key" [value]="param.value"></div>`;
92983
93737
  },
92984
- post: () => `</div></ng-template></${tagName$7}>`
93738
+ post: () => `</div></ng-template></${tagName$5}>`
92985
93739
  };
92986
93740
  });
92987
93741
  var tableRow_build = () => { };
@@ -92991,7 +93745,7 @@ var tableRow_build$1 = /*#__PURE__*/Object.freeze({
92991
93745
  default: tableRow_build
92992
93746
  });
92993
93747
 
92994
- const tagName$6 = 'div';
93748
+ const tagName$4 = 'div';
92995
93749
  const getSaveCancelTemplate = () => {
92996
93750
  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">
92997
93751
  <i class="wi wi-done" aria-hidden="true"></i>
@@ -93023,9 +93777,9 @@ const getRowActionTmpl = (attrs) => {
93023
93777
  };
93024
93778
  register('wm-table-row-action', () => {
93025
93779
  return {
93026
- pre: attrs => `<${tagName$6} wmTableRowAction ${getAttrMarkup(attrs)}>
93780
+ pre: attrs => `<${tagName$4} wmTableRowAction ${getAttrMarkup(attrs)}>
93027
93781
  ${getRowActionTmpl(attrs)}`,
93028
- post: () => `</${tagName$6}>`
93782
+ post: () => `</${tagName$4}>`
93029
93783
  };
93030
93784
  });
93031
93785
  var tableRowAction_build = () => { };
@@ -93035,9 +93789,9 @@ var tableRowAction_build$1 = /*#__PURE__*/Object.freeze({
93035
93789
  default: tableRowAction_build
93036
93790
  });
93037
93791
 
93038
- const tagName$5 = 'div';
93792
+ const tagName$3 = 'div';
93039
93793
  const dataSetKey = 'dataset';
93040
- const idGen$1 = new IDGenerator('table_');
93794
+ const idGen = new IDGenerator('table_');
93041
93795
  let columnIndex = 0;
93042
93796
  /**
93043
93797
  * This method assigns index to the table-column and column-groups in order to the maintain the columns in the same order
@@ -93097,14 +93851,14 @@ register('wm-table', () => {
93097
93851
  updateTemplateAttrs(node, boundExpr, widgetNameAttr.value, '', 'row');
93098
93852
  },
93099
93853
  pre: (attrs, shared) => {
93100
- const counter = idGen$1.nextUid();
93854
+ const counter = idGen.nextUid();
93101
93855
  shared.set('counter', counter);
93102
93856
  attrs.set('isdynamictable', shared.get('isdynamictable'));
93103
93857
  attrs.set('isrowexpansionenabled', shared.get('isrowexpansionenabled'));
93104
93858
  attrs.set('table_reference', counter);
93105
- return `<${tagName$5} wmTable="${counter}" wmTableFilterSort wmTableCUD #${counter} data-identifier="table" ${getAttrMarkup(attrs)}>`;
93859
+ return `<${tagName$3} wmTable="${counter}" wmTableFilterSort wmTableCUD #${counter} data-identifier="table" ${getAttrMarkup(attrs)}>`;
93106
93860
  },
93107
- post: () => `</${tagName$5}>`,
93861
+ post: () => `</${tagName$3}>`,
93108
93862
  provide: (attrs, shared) => {
93109
93863
  const provider = new Map();
93110
93864
  provider.set('table_reference', shared.get('counter'));
@@ -93123,11 +93877,11 @@ var table_build$1 = /*#__PURE__*/Object.freeze({
93123
93877
  default: table_build
93124
93878
  });
93125
93879
 
93126
- const tagName$4 = 'div';
93880
+ const tagName$2 = 'div';
93127
93881
  register('wm-video', () => {
93128
93882
  return {
93129
- pre: attrs => `<${tagName$4} wmVideo ${getAttrMarkup(attrs)}>`,
93130
- post: () => `</${tagName$4}>`
93883
+ pre: attrs => `<${tagName$2} wmVideo ${getAttrMarkup(attrs)}>`,
93884
+ post: () => `</${tagName$2}>`
93131
93885
  };
93132
93886
  });
93133
93887
  var video_build = () => { };
@@ -93137,7 +93891,7 @@ var video_build$1 = /*#__PURE__*/Object.freeze({
93137
93891
  default: video_build
93138
93892
  });
93139
93893
 
93140
- const tagName$3 = 'div';
93894
+ const tagName$1 = 'div';
93141
93895
  const SPACING_KEY = 'parentLinearLayout.spacing';
93142
93896
  register('wm-linearlayout', () => {
93143
93897
  return {
@@ -93145,9 +93899,9 @@ register('wm-linearlayout', () => {
93145
93899
  pre: (attrs, shared, provider) => {
93146
93900
  let spacing = attrs.get('spacing');
93147
93901
  attrs.set('spacing', (!spacing || spacing === '0') && provider ? provider.get(SPACING_KEY) : spacing);
93148
- return `<${tagName$3} wmLinearLayout ${getAttrMarkup(attrs)}>`;
93902
+ return `<${tagName$1} wmLinearLayout ${getAttrMarkup(attrs)}>`;
93149
93903
  },
93150
- post: () => `</${tagName$3}>`,
93904
+ post: () => `</${tagName$1}>`,
93151
93905
  provide: (attrs, shared) => {
93152
93906
  const provider = new Map();
93153
93907
  provider.set(SPACING_KEY, attrs.get('spacing'));
@@ -93162,11 +93916,11 @@ var linearLayout_build$1 = /*#__PURE__*/Object.freeze({
93162
93916
  default: linearLayout_build
93163
93917
  });
93164
93918
 
93165
- const tagName$2 = 'div';
93919
+ const tagName = 'div';
93166
93920
  register('wm-linearlayoutitem', () => {
93167
93921
  return {
93168
- pre: attrs => `<${tagName$2} wmLinearLayoutItem ${getAttrMarkup(attrs)}>`,
93169
- post: () => `</${tagName$2}>`
93922
+ pre: attrs => `<${tagName} wmLinearLayoutItem ${getAttrMarkup(attrs)}>`,
93923
+ post: () => `</${tagName}>`
93170
93924
  };
93171
93925
  });
93172
93926
  var linearLayoutItem_build = () => { };
@@ -93176,49 +93930,6 @@ var linearLayoutItem_build$1 = /*#__PURE__*/Object.freeze({
93176
93930
  default: linearLayoutItem_build
93177
93931
  });
93178
93932
 
93179
- const tagName$1 = 'div';
93180
- const idGen = new IDGenerator('wm_custom_widget');
93181
- register('wm-custom-widget', () => {
93182
- return {
93183
- pre: (attrs) => {
93184
- const counter = idGen.nextUid();
93185
- return `<${tagName$1} wmWidgetContainer customWidgetContainer #${counter}="wmWidgetContainer" ${getAttrMarkup(attrs)}>`;
93186
- },
93187
- post: () => `</${tagName$1}>`
93188
- };
93189
- });
93190
- var customWidgetContainer_build = () => { };
93191
-
93192
- var customWidgetContainer_build$1 = /*#__PURE__*/Object.freeze({
93193
- __proto__: null,
93194
- default: customWidgetContainer_build
93195
- });
93196
-
93197
- const tagName = 'section';
93198
- const noSpan = {};
93199
- const createElement = name => {
93200
- return new Element$2(name, [], [], noSpan, noSpan, noSpan);
93201
- };
93202
- register('wm-custom-widget-container', () => {
93203
- return {
93204
- template: (node) => {
93205
- const conditionalNode = createElement('ng-container');
93206
- // addAtrribute(conditionalNode, '*ngIf', 'compileContent');
93207
- conditionalNode.children = conditionalNode.children.concat(node.children);
93208
- node.children.length = 0;
93209
- node.children.push(conditionalNode);
93210
- },
93211
- pre: attrs => `<${tagName} wmCustomWidget data-role="widget" ${getAttrMarkup(attrs)}>`,
93212
- post: () => `</${tagName}>`
93213
- };
93214
- });
93215
- var customWidgetWrapper_build = () => { };
93216
-
93217
- var customWidgetWrapper_build$1 = /*#__PURE__*/Object.freeze({
93218
- __proto__: null,
93219
- default: customWidgetWrapper_build
93220
- });
93221
-
93222
93933
  const initComponentsBuildTask = () => { };
93223
93934
 
93224
93935
  exports.WIDGET_IMPORTS = WIDGET_IMPORTS;
@@ -93250,8 +93961,6 @@ exports.confirmDlgBuild = confirmDialog_build$1;
93250
93961
  exports.containerBuild = container_build$1;
93251
93962
  exports.contentBuild = content_build$1;
93252
93963
  exports.currencyBuild = currency_build$1;
93253
- exports.customWidgetBuild = customWidgetContainer_build$1;
93254
- exports.customWidgetWrapperBuild = customWidgetWrapper_build$1;
93255
93964
  exports.dateBuild = date_build$1;
93256
93965
  exports.dateTimeBuild = dateTime_build$1;
93257
93966
  exports.dlgBuild = dialog_build$1;