@wavemaker/angular-codegen 12.0.0-next.140534 → 12.0.0-next.141130

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. angular-codegen/angular-app/angular.json +2 -0
  2. angular-codegen/angular-app/package-lock.json +8449 -3742
  3. angular-codegen/angular-app/package.json +12 -8
  4. angular-codegen/angular-app/src/framework/services/customwidget-config-provider.service.ts +13 -0
  5. angular-codegen/angular-app/src/framework/util/page-util.ts +3 -1
  6. angular-codegen/angular-app/src/setup-jest.js +0 -1
  7. angular-codegen/angular-app/tsconfig.json +3 -0
  8. angular-codegen/dependencies/custom-widgets-bundle.cjs.js +390 -0
  9. angular-codegen/dependencies/expression-parser.cjs.js +40 -1
  10. angular-codegen/dependencies/pipe-provider.cjs.js +300 -12060
  11. angular-codegen/dependencies/transpilation-mobile.cjs.js +602 -1180
  12. angular-codegen/dependencies/transpilation-web.cjs.js +602 -6425
  13. angular-codegen/package.json +1 -1
  14. angular-codegen/src/codegen.js +1 -1
  15. angular-codegen/src/gen-components.js +1 -1
  16. angular-codegen/src/gen-customwidget-config.js +1 -0
  17. angular-codegen/src/gen-index-html.js +1 -1
  18. angular-codegen/src/handlebar-helpers.js +1 -1
  19. angular-codegen/src/pages-util.js +1 -1
  20. angular-codegen/src/update-angular-json.js +1 -1
  21. angular-codegen/templates/app.module.ts.hbs +5 -1
  22. angular-codegen/templates/component.config.ts.hbs +1 -0
  23. angular-codegen/templates/customwidget/customwidget-config.ts.hbs +6 -0
  24. angular-codegen/templates/customwidget/customwidget.component.script.js.hbs +3 -0
  25. angular-codegen/templates/customwidget/customwidget.component.ts.hbs +42 -0
  26. angular-codegen/templates/page/page.module.ts.hbs +11 -0
  27. angular-codegen/angular-app/build-scripts/update-version.js +0 -24
@@ -4975,6 +4975,45 @@ class AbstractJsEmitterVisitor extends AbstractEmitterVisitor {
4975
4975
  this.visitAllObjects(param => ctx.print(null, param.name), params, ctx, ',');
4976
4976
  }
4977
4977
  }
4978
+
4979
+ /**
4980
+ * @fileoverview
4981
+ * A module to facilitate use of a Trusted Types policy within the JIT
4982
+ * compiler. It lazily constructs the Trusted Types policy, providing helper
4983
+ * utilities for promoting strings to Trusted Types. When Trusted Types are not
4984
+ * available, strings are used as a fallback.
4985
+ * @security All use of this module is security-sensitive and should go through
4986
+ * security review.
4987
+ */
4988
+ /**
4989
+ * The Trusted Types policy, or null if Trusted Types are not
4990
+ * enabled/supported, or undefined if the policy has not been created yet.
4991
+ */
4992
+ let policy$2;
4993
+ /**
4994
+ * Returns the Trusted Types policy, or null if Trusted Types are not
4995
+ * enabled/supported. The first call to this function will create the policy.
4996
+ */
4997
+ function getPolicy$2() {
4998
+ if (policy$2 === undefined) {
4999
+ const trustedTypes = _global$1['trustedTypes'];
5000
+ policy$2 = null;
5001
+ if (trustedTypes) {
5002
+ try {
5003
+ policy$2 = trustedTypes.createPolicy('angular#unsafe-jit', {
5004
+ createScript: (s) => s,
5005
+ });
5006
+ }
5007
+ catch {
5008
+ // trustedTypes.createPolicy throws if called with a name that is
5009
+ // already registered, even in report-only mode. Until the API changes,
5010
+ // catch the error not to break the applications functionally. In such
5011
+ // cases, the code will fall back to using strings.
5012
+ }
5013
+ }
5014
+ }
5015
+ return policy$2;
5016
+ }
4978
5017
  /**
4979
5018
  * Unsafely promote a string to a TrustedScript, falling back to strings when
4980
5019
  * Trusted Types are not available.
@@ -4983,7 +5022,7 @@ class AbstractJsEmitterVisitor extends AbstractEmitterVisitor {
4983
5022
  * interpreted and executed as a script by a browser, e.g. when calling eval.
4984
5023
  */
4985
5024
  function trustedScriptFromString(script) {
4986
- return script;
5025
+ return getPolicy$2()?.createScript(script) || script;
4987
5026
  }
4988
5027
  /**
4989
5028
  * Unsafely call the Function constructor with the given string arguments.
@@ -40017,773 +40056,6 @@ var FilterSubscriber = /*@__PURE__*/ (function (_super) {
40017
40056
  return FilterSubscriber;
40018
40057
  }(Subscriber));
40019
40058
 
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
-
40787
40059
  /**
40788
40060
  * @license Angular v17.3.11
40789
40061
  * (c) 2010-2024 Google LLC. https://angular.io/
@@ -49963,6 +49235,46 @@ const PRESERVE_HOST_CONTENT = new InjectionToken((typeof ngDevMode === 'undefine
49963
49235
  * is enabled.
49964
49236
  */
49965
49237
  const IS_I18N_HYDRATION_ENABLED = new InjectionToken((typeof ngDevMode === 'undefined' || !!ngDevMode ? 'IS_I18N_HYDRATION_ENABLED' : ''));
49238
+
49239
+ /**
49240
+ * @fileoverview
49241
+ * A module to facilitate use of a Trusted Types policy internally within
49242
+ * Angular. It lazily constructs the Trusted Types policy, providing helper
49243
+ * utilities for promoting strings to Trusted Types. When Trusted Types are not
49244
+ * available, strings are used as a fallback.
49245
+ * @security All use of this module is security-sensitive and should go through
49246
+ * security review.
49247
+ */
49248
+ /**
49249
+ * The Trusted Types policy, or null if Trusted Types are not
49250
+ * enabled/supported, or undefined if the policy has not been created yet.
49251
+ */
49252
+ let policy$1;
49253
+ /**
49254
+ * Returns the Trusted Types policy, or null if Trusted Types are not
49255
+ * enabled/supported. The first call to this function will create the policy.
49256
+ */
49257
+ function getPolicy$1() {
49258
+ if (policy$1 === undefined) {
49259
+ policy$1 = null;
49260
+ if (_global.trustedTypes) {
49261
+ try {
49262
+ policy$1 = _global.trustedTypes.createPolicy('angular', {
49263
+ createHTML: (s) => s,
49264
+ createScript: (s) => s,
49265
+ createScriptURL: (s) => s,
49266
+ });
49267
+ }
49268
+ catch {
49269
+ // trustedTypes.createPolicy throws if called with a name that is
49270
+ // already registered, even in report-only mode. Until the API changes,
49271
+ // catch the error not to break the applications functionally. In such
49272
+ // cases, the code will fall back to using strings.
49273
+ }
49274
+ }
49275
+ }
49276
+ return policy$1;
49277
+ }
49966
49278
  /**
49967
49279
  * Unsafely promote a string to a TrustedHTML, falling back to strings when
49968
49280
  * Trusted Types are not available.
@@ -49973,7 +49285,7 @@ const IS_I18N_HYDRATION_ENABLED = new InjectionToken((typeof ngDevMode === 'unde
49973
49285
  * element.innerHTML.
49974
49286
  */
49975
49287
  function trustedHTMLFromString(html) {
49976
- return html;
49288
+ return getPolicy$1()?.createHTML(html) || html;
49977
49289
  }
49978
49290
  /**
49979
49291
  * Unsafely promote a string to a TrustedScriptURL, falling back to strings
@@ -49985,7 +49297,49 @@ function trustedHTMLFromString(html) {
49985
49297
  * assigning to script.src.
49986
49298
  */
49987
49299
  function trustedScriptURLFromString(url) {
49988
- return url;
49300
+ return getPolicy$1()?.createScriptURL(url) || url;
49301
+ }
49302
+
49303
+ /**
49304
+ * @fileoverview
49305
+ * A module to facilitate use of a Trusted Types policy internally within
49306
+ * Angular specifically for bypassSecurityTrust* and custom sanitizers. It
49307
+ * lazily constructs the Trusted Types policy, providing helper utilities for
49308
+ * promoting strings to Trusted Types. When Trusted Types are not available,
49309
+ * strings are used as a fallback.
49310
+ * @security All use of this module is security-sensitive and should go through
49311
+ * security review.
49312
+ */
49313
+ /**
49314
+ * The Trusted Types policy, or null if Trusted Types are not
49315
+ * enabled/supported, or undefined if the policy has not been created yet.
49316
+ */
49317
+ let policy;
49318
+ /**
49319
+ * Returns the Trusted Types policy, or null if Trusted Types are not
49320
+ * enabled/supported. The first call to this function will create the policy.
49321
+ */
49322
+ function getPolicy() {
49323
+ if (policy === undefined) {
49324
+ policy = null;
49325
+ if (_global.trustedTypes) {
49326
+ try {
49327
+ policy = _global.trustedTypes
49328
+ .createPolicy('angular#unsafe-bypass', {
49329
+ createHTML: (s) => s,
49330
+ createScript: (s) => s,
49331
+ createScriptURL: (s) => s,
49332
+ });
49333
+ }
49334
+ catch {
49335
+ // trustedTypes.createPolicy throws if called with a name that is
49336
+ // already registered, even in report-only mode. Until the API changes,
49337
+ // catch the error not to break the applications functionally. In such
49338
+ // cases, the code will fall back to using strings.
49339
+ }
49340
+ }
49341
+ }
49342
+ return policy;
49989
49343
  }
49990
49344
  /**
49991
49345
  * Unsafely promote a string to a TrustedHTML, falling back to strings when
@@ -49996,7 +49350,7 @@ function trustedScriptURLFromString(url) {
49996
49350
  * bypassSecurityTrust* functions.
49997
49351
  */
49998
49352
  function trustedHTMLFromStringBypass(html) {
49999
- return html;
49353
+ return getPolicy()?.createHTML(html) || html;
50000
49354
  }
50001
49355
  /**
50002
49356
  * Unsafely promote a string to a TrustedScript, falling back to strings when
@@ -50007,7 +49361,7 @@ function trustedHTMLFromStringBypass(html) {
50007
49361
  * bypassSecurityTrust* functions.
50008
49362
  */
50009
49363
  function trustedScriptFromStringBypass(script) {
50010
- return script;
49364
+ return getPolicy()?.createScript(script) || script;
50011
49365
  }
50012
49366
  /**
50013
49367
  * Unsafely promote a string to a TrustedScriptURL, falling back to strings
@@ -50018,7 +49372,7 @@ function trustedScriptFromStringBypass(script) {
50018
49372
  * bypassSecurityTrust* functions.
50019
49373
  */
50020
49374
  function trustedScriptURLFromStringBypass(url) {
50021
- return url;
49375
+ return getPolicy()?.createScriptURL(url) || url;
50022
49376
  }
50023
49377
 
50024
49378
  class SafeValueImpl {
@@ -86795,6 +86149,7 @@ var FormWidgetType;
86795
86149
  FormWidgetType["TIMESTAMP"] = "timestamp";
86796
86150
  FormWidgetType["TYPEAHEAD"] = "typeahead";
86797
86151
  FormWidgetType["UPLOAD"] = "upload";
86152
+ FormWidgetType["CUSTOM"] = "custom";
86798
86153
  })(FormWidgetType || (FormWidgetType = {}));
86799
86154
  var DataType;
86800
86155
  (function (DataType) {
@@ -86925,6 +86280,9 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
86925
86280
  case FormWidgetType.TIMESTAMP:
86926
86281
  tmpl = `<div wmDateTime ${attrs.get('required') === 'true' ? 'required=true' : ''} dataentrymode="${attrs.get('dataentrymode')}" ${innerTmpl} role="input" ${showTmpl}></div>`;
86927
86282
  break;
86283
+ case FormWidgetType.CUSTOM:
86284
+ tmpl = `<div wmWidgetContainer customWidgetContainer ${attrs.get('required') === 'true' ? 'required=true' : ''} ${innerTmpl} ${showTmpl}></div>`;
86285
+ break;
86928
86286
  case FormWidgetType.UPLOAD:
86929
86287
  const counter = options.counter;
86930
86288
  const pCounter = options.pCounter;
@@ -86975,6 +86333,8 @@ const getRequiredFormWidget = (widgetType) => {
86975
86333
  return 'wm-richtexteditor';
86976
86334
  case FormWidgetType.SLIDER:
86977
86335
  return 'wm-slider';
86336
+ case FormWidgetType.CUSTOM:
86337
+ return 'wm-custom-widget';
86978
86338
  default:
86979
86339
  return 'wm-text';
86980
86340
  }
@@ -87712,6 +87072,7 @@ var ComponentType;
87712
87072
  ComponentType[ComponentType["PAGE"] = 0] = "PAGE";
87713
87073
  ComponentType[ComponentType["PREFAB"] = 1] = "PREFAB";
87714
87074
  ComponentType[ComponentType["PARTIAL"] = 2] = "PARTIAL";
87075
+ ComponentType[ComponentType["WIDGET"] = 3] = "WIDGET";
87715
87076
  })(ComponentType || (ComponentType = {}));
87716
87077
  var Operation;
87717
87078
  (function (Operation) {
@@ -87799,6 +87160,14 @@ const REGEX = {
87799
87160
  const NUMBER_TYPES = ['int', DataType.INTEGER, DataType.FLOAT, DataType.DOUBLE, DataType.LONG, DataType.SHORT, DataType.BYTE, DataType.BIG_INTEGER, DataType.BIG_DECIMAL];
87800
87161
  const now = new Date();
87801
87162
  const CURRENT_DATE = 'CURRENT_DATE';
87163
+ const getNavClass = (suffix) => {
87164
+ const APP_NAV_CLASS_PREFIX = 'app-nav-';
87165
+ return APP_NAV_CLASS_PREFIX + suffix;
87166
+ };
87167
+ const getSheetPositionClass = (suffix) => {
87168
+ const SHEET_POSITION_CLASS_PREFIX = 'sheet-position-';
87169
+ return SHEET_POSITION_CLASS_PREFIX + suffix;
87170
+ };
87802
87171
  const isDefined = v => 'undefined' !== typeof v;
87803
87172
  const isObject = v => null !== v && 'object' === typeof v;
87804
87173
  const toBoolean = (val, identity) => ((val && val !== 'false') ? true : (identity ? val === identity : false));
@@ -88037,7 +87406,7 @@ const getFormattedDate = (datePipe, dateObj, format, timeZone, isTimeStampType,
88037
87406
  if (format === 'UTC') {
88038
87407
  return new Date(dateObj).toISOString();
88039
87408
  }
88040
- if (timeZone && timeZone !== moment.defaultZone?.name) {
87409
+ if (timeZone) {
88041
87410
  const momentFormat = format.replaceAll('y', 'Y').replaceAll('d', 'D').replace('a', 'A');
88042
87411
  if (isIntervalDateTime) { // dates which are of type time widget (value is hh:mm:ss) but returned as date string from time comp
88043
87412
  return moment(dateObj).format(momentFormat);
@@ -88172,7 +87541,7 @@ const getValidJSON = (content) => {
88172
87541
  }
88173
87542
  };
88174
87543
  const xmlToJson = (xmlString) => {
88175
- const x2jsObj = new X2JS({ 'emptyNodeForm': 'object', 'attributePrefix': '', 'enableToStringFunc': false });
87544
+ const x2jsObj = new X2JS({ 'emptyNodeForm': 'content', 'attributePrefix': '', 'enableToStringFunc': false });
88176
87545
  let json = x2jsObj.xml2js(xmlString);
88177
87546
  if (json) {
88178
87547
  json = get(json, Object.keys(json)[0]);
@@ -89246,9 +88615,11 @@ var Utils = /*#__PURE__*/Object.freeze({
89246
88615
  getFormattedDate: getFormattedDate,
89247
88616
  getMomentLocaleObject: getMomentLocaleObject,
89248
88617
  getNativeDateObject: getNativeDateObject,
88618
+ getNavClass: getNavClass,
89249
88619
  getResourceURL: getResourceURL,
89250
88620
  getRouteNameFromLink: getRouteNameFromLink,
89251
88621
  getSessionStorageItem: getSessionStorageItem,
88622
+ getSheetPositionClass: getSheetPositionClass,
89252
88623
  getUrlParams: getUrlParams,
89253
88624
  getValidDateObject: getValidDateObject,
89254
88625
  getValidJSON: getValidJSON,
@@ -90518,6 +89889,7 @@ const LEFT_PANEL_MODULE = [{ from: '@wm/components/page/left-panel', name: 'Left
90518
89889
  { from: '@wm/mobile/components/page/left-panel', name: 'LeftPanelModule', as: 'WM_MobileLeftPanelModule', platformType: 'MOBILE' }];
90519
89890
  const LIST_MODULE = [...PAGINATION_MODULE, ...INPUT_MODULE, { from: '@wm/components/data/list', name: 'ListModule' }];
90520
89891
  const LOGIN_MODULE = [{ from: '@wm/components/advanced/login', name: 'LoginModule' }];
89892
+ const CUSTOM_MODULE = [{ from: '@wm/components/advanced/custom', name: 'CustomModule' }];
90521
89893
  const MOBILE_NAV_BAR_MODULE = [...LEFT_PANEL_MODULE, ...SEARCH_MODULE, ...PAGE_MODULE, { from: '@wm/mobile/components/page/mobile-navbar', name: 'MobileNavbarModule' }];
90522
89894
  const MEDIA_LIST_MODULE = [...BASIC_MODULE, ...PAGE_MODULE, ...MOBILE_NAV_BAR_MODULE, { from: '@wm/mobile/components/data/media-list', name: 'MediaListModule' }];
90523
89895
  const MOBILE_TAB_BAR_MODULE = [{ from: '@wm/mobile/components/page/tab-bar', name: 'TabBarModule' }];
@@ -90590,6 +89962,7 @@ const WIDGET_IMPORTS = new Map([
90590
89962
  ['wm-list', LIST_MODULE],
90591
89963
  ['wm-livetable', LIVE_TABLE_MODULE],
90592
89964
  ['wm-login', LOGIN_MODULE],
89965
+ ['wm-custom', CUSTOM_MODULE],
90593
89966
  ['wm-logindialog', LOGIN_DIALOG_MODULE],
90594
89967
  ['wm-marquee', MARQUEE_MODULE],
90595
89968
  ['wm-menu', MENU_MODULE],
@@ -91103,6 +90476,9 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
91103
90476
  else if (componentType === 2 || componentType === 'PARTIAL') {
91104
90477
  s = `${prefix} app-partial-${componentName} ${s}`;
91105
90478
  }
90479
+ else if (componentType === 3 || componentType === 'WIDGET') {
90480
+ s = `${prefix} app-custom-${componentName} ${s}`;
90481
+ }
91106
90482
  return s;
91107
90483
  }).join(',');
91108
90484
  }
@@ -91118,13 +90494,13 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
91118
90494
 
91119
90495
  const carouselTagName = 'carousel';
91120
90496
  const dataSetKey$5 = 'dataset';
91121
- const idGen$s = new IDGenerator('wm_carousel_ref_');
90497
+ const idGen$t = new IDGenerator('wm_carousel_ref_');
91122
90498
  const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
91123
90499
  register('wm-carousel', () => {
91124
90500
  return {
91125
90501
  pre: (attrs, shared) => {
91126
90502
  // generating unique Id for the carousel
91127
- const counter = idGen$s.nextUid();
90503
+ const counter = idGen$t.nextUid();
91128
90504
  shared.set('carousel_ref', counter);
91129
90505
  return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
91130
90506
  },
@@ -91192,11 +90568,11 @@ var carouselTemplate_build$1 = /*#__PURE__*/Object.freeze({
91192
90568
  default: carouselTemplate_build
91193
90569
  });
91194
90570
 
91195
- const tagName$1C = 'div';
90571
+ const tagName$1E = 'div';
91196
90572
  register('wm-login', () => {
91197
90573
  return {
91198
- pre: attrs => `<${tagName$1C} wmLogin ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction">`,
91199
- post: () => `</${tagName$1C}>`,
90574
+ pre: attrs => `<${tagName$1E} wmLogin ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction">`,
90575
+ post: () => `</${tagName$1E}>`,
91200
90576
  provide: () => {
91201
90577
  const provider = new Map();
91202
90578
  provider.set('isLogin', true);
@@ -91211,11 +90587,11 @@ var login_build$1 = /*#__PURE__*/Object.freeze({
91211
90587
  default: login_build
91212
90588
  });
91213
90589
 
91214
- const tagName$1B = 'marquee';
90590
+ const tagName$1D = 'marquee';
91215
90591
  register('wm-marquee', () => {
91216
90592
  return {
91217
- pre: attrs => `<${tagName$1B} onmouseover="this.stop();" onmouseout="this.start();" wmMarquee role="marquee" aria-live="off" ${getAttrMarkup(attrs)}>`,
91218
- post: () => `</${tagName$1B}>`
90593
+ pre: attrs => `<${tagName$1D} onmouseover="this.stop();" onmouseout="this.start();" wmMarquee role="marquee" aria-live="off" ${getAttrMarkup(attrs)}>`,
90594
+ post: () => `</${tagName$1D}>`
91219
90595
  };
91220
90596
  });
91221
90597
  var marquee_build = () => { };
@@ -91225,15 +90601,15 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
91225
90601
  default: marquee_build
91226
90602
  });
91227
90603
 
91228
- const tagName$1A = 'a';
91229
- const idGen$r = new IDGenerator('wm_anchor');
90604
+ const tagName$1C = 'a';
90605
+ const idGen$s = new IDGenerator('wm_anchor');
91230
90606
  register('wm-anchor', () => {
91231
90607
  return {
91232
90608
  pre: (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)}>`;
90609
+ const counter = idGen$s.nextUid();
90610
+ return `<${tagName$1C} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.hint || ${counter}.caption" ${getAttrMarkup(attrs)}>`;
91235
90611
  },
91236
- post: () => `</${tagName$1A}>`
90612
+ post: () => `</${tagName$1C}>`
91237
90613
  };
91238
90614
  });
91239
90615
  var anchor_build = () => { };
@@ -91243,11 +90619,11 @@ var anchor_build$1 = /*#__PURE__*/Object.freeze({
91243
90619
  default: anchor_build
91244
90620
  });
91245
90621
 
91246
- const tagName$1z = 'div';
90622
+ const tagName$1B = 'div';
91247
90623
  register('wm-audio', () => {
91248
90624
  return {
91249
- pre: attrs => `<${tagName$1z} wmAudio ${getAttrMarkup(attrs)}>`,
91250
- post: () => `</${tagName$1z}>`
90625
+ pre: attrs => `<${tagName$1B} wmAudio ${getAttrMarkup(attrs)}>`,
90626
+ post: () => `</${tagName$1B}>`
91251
90627
  };
91252
90628
  });
91253
90629
  var audio_build = () => { };
@@ -91257,15 +90633,15 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
91257
90633
  default: audio_build
91258
90634
  });
91259
90635
 
91260
- const tagName$1y = 'div';
91261
- const idGen$q = new IDGenerator('wm_html');
90636
+ const tagName$1A = 'div';
90637
+ const idGen$r = new IDGenerator('wm_html');
91262
90638
  register('wm-html', () => {
91263
90639
  return {
91264
90640
  pre: (attrs) => {
91265
- const counter = idGen$q.nextUid();
91266
- return `<${tagName$1y} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
90641
+ const counter = idGen$r.nextUid();
90642
+ return `<${tagName$1A} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
91267
90643
  },
91268
- post: () => `</${tagName$1y}>`
90644
+ post: () => `</${tagName$1A}>`
91269
90645
  };
91270
90646
  });
91271
90647
  var html_build = () => { };
@@ -91275,11 +90651,11 @@ var html_build$1 = /*#__PURE__*/Object.freeze({
91275
90651
  default: html_build
91276
90652
  });
91277
90653
 
91278
- const tagName$1x = 'span';
90654
+ const tagName$1z = 'span';
91279
90655
  register('wm-icon', () => {
91280
90656
  return {
91281
- pre: attrs => `<${tagName$1x} wmIcon aria-hidden="true" ${getAttrMarkup(attrs)}>`,
91282
- post: () => `</${tagName$1x}>`
90657
+ pre: attrs => `<${tagName$1z} wmIcon aria-hidden="true" ${getAttrMarkup(attrs)}>`,
90658
+ post: () => `</${tagName$1z}>`
91283
90659
  };
91284
90660
  });
91285
90661
  var icon_build = () => { };
@@ -91289,11 +90665,11 @@ var icon_build$1 = /*#__PURE__*/Object.freeze({
91289
90665
  default: icon_build
91290
90666
  });
91291
90667
 
91292
- const tagName$1w = 'div';
90668
+ const tagName$1y = 'div';
91293
90669
  register('wm-iframe', () => {
91294
90670
  return {
91295
- pre: attrs => `<${tagName$1w} wmIframe ${getAttrMarkup(attrs)}>`,
91296
- post: () => `</${tagName$1w}>`
90671
+ pre: attrs => `<${tagName$1y} wmIframe ${getAttrMarkup(attrs)}>`,
90672
+ post: () => `</${tagName$1y}>`
91297
90673
  };
91298
90674
  });
91299
90675
  var iframe_build = () => { };
@@ -91303,8 +90679,8 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
91303
90679
  default: iframe_build
91304
90680
  });
91305
90681
 
91306
- let tagName$1v = 'p';
91307
- const idGen$p = new IDGenerator('wm_label');
90682
+ let tagName$1x = 'p';
90683
+ const idGen$q = new IDGenerator('wm_label');
91308
90684
  register('wm-label', () => {
91309
90685
  return {
91310
90686
  pre: (attrs) => {
@@ -91313,15 +90689,15 @@ register('wm-label', () => {
91313
90689
  const classList = attrs.get('class') ? attrs.get('class').split(' ').filter(element => ["h1", "h2", "h3", "h4", "h5", "h6", "p"].includes(element)) : [];
91314
90690
  attrs.set('type', classList.length ? classList[0] : "p");
91315
90691
  }
91316
- tagName$1v = attrs.get('type');
90692
+ tagName$1x = attrs.get('type');
91317
90693
  }
91318
90694
  else {
91319
- tagName$1v = 'label';
90695
+ tagName$1x = 'label';
91320
90696
  }
91321
- const counter = idGen$p.nextUid();
91322
- return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
90697
+ const counter = idGen$q.nextUid();
90698
+ return `<${tagName$1x} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
91323
90699
  },
91324
- post: () => `</${tagName$1v}>`
90700
+ post: () => `</${tagName$1x}>`
91325
90701
  };
91326
90702
  });
91327
90703
  var label_build = () => { };
@@ -91331,13 +90707,13 @@ var label_build$1 = /*#__PURE__*/Object.freeze({
91331
90707
  default: label_build
91332
90708
  });
91333
90709
 
91334
- const tagName$1u = 'img';
91335
- const idGen$o = new IDGenerator('wm_picture');
90710
+ const tagName$1w = 'img';
90711
+ const idGen$p = new IDGenerator('wm_picture');
91336
90712
  register('wm-picture', () => {
91337
90713
  return {
91338
90714
  pre: (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)}>`;
90715
+ const counter = idGen$p.nextUid();
90716
+ return `<${tagName$1w} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.hint || 'Image'" ${getAttrMarkup(attrs)}>`;
91341
90717
  }
91342
90718
  };
91343
90719
  });
@@ -91348,15 +90724,15 @@ var picture_build$1 = /*#__PURE__*/Object.freeze({
91348
90724
  default: picture_build
91349
90725
  });
91350
90726
 
91351
- const tagName$1t = 'div';
91352
- const idGen$n = new IDGenerator('wm_spinner');
90727
+ const tagName$1v = 'div';
90728
+ const idGen$o = new IDGenerator('wm_spinner');
91353
90729
  register('wm-spinner', () => {
91354
90730
  return {
91355
90731
  pre: (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)}>`;
90732
+ const counter = idGen$o.nextUid();
90733
+ return `<${tagName$1v} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.hint || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
91358
90734
  },
91359
- post: () => `</${tagName$1t}>`
90735
+ post: () => `</${tagName$1v}>`
91360
90736
  };
91361
90737
  });
91362
90738
  var spinner_build = () => { };
@@ -91366,7 +90742,7 @@ var spinner_build$1 = /*#__PURE__*/Object.freeze({
91366
90742
  default: spinner_build
91367
90743
  });
91368
90744
 
91369
- const tagName$1s = 'div';
90745
+ const tagName$1u = 'div';
91370
90746
  const getAttr = (node, attrName) => node.attrs.find(attr => attr.name === attrName);
91371
90747
  const getAttrValue = (node, attrName) => {
91372
90748
  const match = getAttr(node, attrName);
@@ -91394,8 +90770,8 @@ register('wm-progress-bar', () => {
91394
90770
  }
91395
90771
  }
91396
90772
  },
91397
- pre: attrs => `<${tagName$1s} wmProgressBar ${getAttrMarkup(attrs)}>`,
91398
- post: () => `</${tagName$1s}>`
90773
+ pre: attrs => `<${tagName$1u} wmProgressBar ${getAttrMarkup(attrs)}>`,
90774
+ post: () => `</${tagName$1u}>`
91399
90775
  };
91400
90776
  });
91401
90777
  var progressBar_build = () => { };
@@ -91405,11 +90781,11 @@ var progressBar_build$1 = /*#__PURE__*/Object.freeze({
91405
90781
  default: progressBar_build
91406
90782
  });
91407
90783
 
91408
- const tagName$1r = 'div';
90784
+ const tagName$1t = 'div';
91409
90785
  register('wm-progress-circle', () => {
91410
90786
  return {
91411
- pre: attrs => `<${tagName$1r} wmProgressCircle ${getAttrMarkup(attrs)}>`,
91412
- post: () => `</${tagName$1r}>`
90787
+ pre: attrs => `<${tagName$1t} wmProgressCircle ${getAttrMarkup(attrs)}>`,
90788
+ post: () => `</${tagName$1t}>`
91413
90789
  };
91414
90790
  });
91415
90791
  var progressCircle_build = () => { };
@@ -91419,15 +90795,15 @@ var progressCircle_build$1 = /*#__PURE__*/Object.freeze({
91419
90795
  default: progressCircle_build
91420
90796
  });
91421
90797
 
91422
- const tagName$1q = 'div';
91423
- const idGen$m = new IDGenerator('wm_richtexteditor');
90798
+ const tagName$1s = 'div';
90799
+ const idGen$n = new IDGenerator('wm_richtexteditor');
91424
90800
  register('wm-richtexteditor', () => {
91425
90801
  return {
91426
90802
  pre: (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)}>`;
90803
+ const counter = idGen$n.nextUid();
90804
+ return `<${tagName$1s} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.hint || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
91429
90805
  },
91430
- post: () => `</${tagName$1q}>`
90806
+ post: () => `</${tagName$1s}>`
91431
90807
  };
91432
90808
  });
91433
90809
  var richTextEditor_build = () => { };
@@ -91437,11 +90813,11 @@ var richTextEditor_build$1 = /*#__PURE__*/Object.freeze({
91437
90813
  default: richTextEditor_build
91438
90814
  });
91439
90815
 
91440
- const tagName$1p = 'div';
90816
+ const tagName$1r = 'div';
91441
90817
  register('wm-search', () => {
91442
90818
  return {
91443
- pre: attrs => `<${tagName$1p} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
91444
- post: () => `</${tagName$1p}>`
90819
+ pre: attrs => `<${tagName$1r} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
90820
+ post: () => `</${tagName$1r}>`
91445
90821
  };
91446
90822
  });
91447
90823
  var search_build = () => { };
@@ -91451,11 +90827,11 @@ var search_build$1 = /*#__PURE__*/Object.freeze({
91451
90827
  default: search_build
91452
90828
  });
91453
90829
 
91454
- const tagName$1o = 'ul';
90830
+ const tagName$1q = 'ul';
91455
90831
  register('wm-tree', () => {
91456
90832
  return {
91457
- pre: attrs => `<${tagName$1o} wmTree class="ztree" ${getAttrMarkup(attrs)}>`,
91458
- post: () => `</${tagName$1o}>`
90833
+ pre: attrs => `<${tagName$1q} wmTree class="ztree" ${getAttrMarkup(attrs)}>`,
90834
+ post: () => `</${tagName$1q}>`
91459
90835
  };
91460
90836
  });
91461
90837
 
@@ -91463,11 +90839,11 @@ var tree_build = /*#__PURE__*/Object.freeze({
91463
90839
  __proto__: null
91464
90840
  });
91465
90841
 
91466
- const tagName$1n = 'div';
90842
+ const tagName$1p = 'div';
91467
90843
  register('wm-card', () => {
91468
90844
  return {
91469
- pre: attrs => `<${tagName$1n} wmCard ${getAttrMarkup(attrs)}>`,
91470
- post: () => `</${tagName$1n}>`
90845
+ pre: attrs => `<${tagName$1p} wmCard ${getAttrMarkup(attrs)}>`,
90846
+ post: () => `</${tagName$1p}>`
91471
90847
  };
91472
90848
  });
91473
90849
  var card_build = () => { };
@@ -91477,11 +90853,11 @@ var card_build$1 = /*#__PURE__*/Object.freeze({
91477
90853
  default: card_build
91478
90854
  });
91479
90855
 
91480
- const tagName$1m = 'div';
90856
+ const tagName$1o = 'div';
91481
90857
  register('wm-card-content', () => {
91482
90858
  return {
91483
- pre: attrs => `<${tagName$1m} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,
91484
- post: () => `</${tagName$1m}>`
90859
+ pre: attrs => `<${tagName$1o} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,
90860
+ post: () => `</${tagName$1o}>`
91485
90861
  };
91486
90862
  });
91487
90863
  var cardContent_build = () => { };
@@ -91491,11 +90867,11 @@ var cardContent_build$1 = /*#__PURE__*/Object.freeze({
91491
90867
  default: cardContent_build
91492
90868
  });
91493
90869
 
91494
- const tagName$1l = 'div';
90870
+ const tagName$1n = 'div';
91495
90871
  register('wm-card-actions', () => {
91496
90872
  return {
91497
- pre: attrs => `<${tagName$1l} wmCardActions ${getAttrMarkup(attrs)}>`,
91498
- post: () => `</${tagName$1l}>`
90873
+ pre: attrs => `<${tagName$1n} wmCardActions ${getAttrMarkup(attrs)}>`,
90874
+ post: () => `</${tagName$1n}>`
91499
90875
  };
91500
90876
  });
91501
90877
  var cardActions_build = () => { };
@@ -91505,11 +90881,11 @@ var cardActions_build$1 = /*#__PURE__*/Object.freeze({
91505
90881
  default: cardActions_build
91506
90882
  });
91507
90883
 
91508
- const tagName$1k = 'div';
90884
+ const tagName$1m = 'div';
91509
90885
  register('wm-card-footer', () => {
91510
90886
  return {
91511
- pre: attrs => `<${tagName$1k} wmCardFooter ${getAttrMarkup(attrs)}>`,
91512
- post: () => `</${tagName$1k}>`
90887
+ pre: attrs => `<${tagName$1m} wmCardFooter ${getAttrMarkup(attrs)}>`,
90888
+ post: () => `</${tagName$1m}>`
91513
90889
  };
91514
90890
  });
91515
90891
  var cardFooter_build = () => { };
@@ -91519,11 +90895,11 @@ var cardFooter_build$1 = /*#__PURE__*/Object.freeze({
91519
90895
  default: cardFooter_build
91520
90896
  });
91521
90897
 
91522
- const tagName$1j = 'div';
90898
+ const tagName$1l = 'div';
91523
90899
  register('wm-chart', () => {
91524
90900
  return {
91525
- pre: attrs => `<${tagName$1j} wmChart redrawable aria-label="${attrs.get('type')} Chart" ${getAttrMarkup(attrs)}>`,
91526
- post: () => `</${tagName$1j}>`
90901
+ pre: attrs => `<${tagName$1l} wmChart redrawable aria-label="${attrs.get('type')} Chart" ${getAttrMarkup(attrs)}>`,
90902
+ post: () => `</${tagName$1l}>`
91527
90903
  };
91528
90904
  });
91529
90905
  var chart_build = () => { };
@@ -91533,19 +90909,19 @@ var chart_build$1 = /*#__PURE__*/Object.freeze({
91533
90909
  default: chart_build
91534
90910
  });
91535
90911
 
91536
- const tagName$1i = 'div';
90912
+ const tagName$1k = 'div';
91537
90913
  const dataSetKey$4 = 'dataset';
91538
- const idGen$l = new IDGenerator('wm_accordion_ref_');
90914
+ const idGen$m = new IDGenerator('wm_accordion_ref_');
91539
90915
  const isDynamicAccordion = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
91540
90916
  register('wm-accordion', () => {
91541
90917
  return {
91542
90918
  pre: (attrs, shared) => {
91543
90919
  // generating unique Id for the accordion
91544
- const counter = idGen$l.nextUid();
90920
+ const counter = idGen$m.nextUid();
91545
90921
  shared.set('accordion_ref', counter);
91546
- return `<${tagName$1i} wmAccordion #${counter}="wmAccordion" role="tablist" aria-multiselectable="true" ${getAttrMarkup(attrs)}>`;
90922
+ return `<${tagName$1k} wmAccordion #${counter}="wmAccordion" role="tablist" aria-multiselectable="true" ${getAttrMarkup(attrs)}>`;
91547
90923
  },
91548
- post: () => `</${tagName$1i}>`,
90924
+ post: () => `</${tagName$1k}>`,
91549
90925
  template: (node, shared) => {
91550
90926
  // check if the accordion is dynamic
91551
90927
  if (isDynamicAccordion(node)) {
@@ -91576,15 +90952,15 @@ var accordion_build$1 = /*#__PURE__*/Object.freeze({
91576
90952
  default: accordion_build
91577
90953
  });
91578
90954
 
91579
- const tagName$1h = 'div';
91580
- const idGen$k = new IDGenerator('wm_accordionpane');
90955
+ const tagName$1j = 'div';
90956
+ const idGen$l = new IDGenerator('wm_accordionpane');
91581
90957
  register('wm-accordionpane', () => {
91582
90958
  return {
91583
90959
  pre: (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)}>`;
90960
+ const counter = idGen$l.nextUid();
90961
+ return `<${tagName$1j} #${counter}="wmAccordionPane" [attr.aria-expanded]="${counter}.isActive" wmAccordionPane partialContainer wm-navigable-element="true" role="tab" ${getAttrMarkup(attrs)}>`;
91586
90962
  },
91587
- post: () => `</${tagName$1h}>`
90963
+ post: () => `</${tagName$1j}>`
91588
90964
  };
91589
90965
  });
91590
90966
  var accordionPane_build = () => { };
@@ -91594,11 +90970,11 @@ var accordionPane_build$1 = /*#__PURE__*/Object.freeze({
91594
90970
  default: accordionPane_build
91595
90971
  });
91596
90972
 
91597
- const tagName$1g = 'div';
90973
+ const tagName$1i = 'div';
91598
90974
  register('wm-container', () => {
91599
90975
  return {
91600
- pre: attrs => `<${tagName$1g} wmContainer partialContainer wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
91601
- post: () => `</${tagName$1g}>`
90976
+ pre: attrs => `<${tagName$1i} wmContainer partialContainer wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
90977
+ post: () => `</${tagName$1i}>`
91602
90978
  };
91603
90979
  });
91604
90980
  var container_build = () => { };
@@ -91608,11 +90984,11 @@ var container_build$1 = /*#__PURE__*/Object.freeze({
91608
90984
  default: container_build
91609
90985
  });
91610
90986
 
91611
- const tagName$1f = 'div';
90987
+ const tagName$1h = 'div';
91612
90988
  register('wm-gridcolumn', () => {
91613
90989
  return {
91614
- pre: attrs => `<${tagName$1f} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,
91615
- post: () => `</${tagName$1f}>`
90990
+ pre: attrs => `<${tagName$1h} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,
90991
+ post: () => `</${tagName$1h}>`
91616
90992
  };
91617
90993
  });
91618
90994
  var layoutGridColumn_build = () => { };
@@ -91622,11 +90998,11 @@ var layoutGridColumn_build$1 = /*#__PURE__*/Object.freeze({
91622
90998
  default: layoutGridColumn_build
91623
90999
  });
91624
91000
 
91625
- const tagName$1e = 'div';
91001
+ const tagName$1g = 'div';
91626
91002
  register('wm-gridrow', () => {
91627
91003
  return {
91628
- pre: attrs => `<${tagName$1e} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,
91629
- post: () => `</${tagName$1e}>`
91004
+ pre: attrs => `<${tagName$1g} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,
91005
+ post: () => `</${tagName$1g}>`
91630
91006
  };
91631
91007
  });
91632
91008
  var layoutGridRow_build = () => { };
@@ -91636,11 +91012,11 @@ var layoutGridRow_build$1 = /*#__PURE__*/Object.freeze({
91636
91012
  default: layoutGridRow_build
91637
91013
  });
91638
91014
 
91639
- const tagName$1d = 'div';
91015
+ const tagName$1f = 'div';
91640
91016
  register('wm-layoutgrid', () => {
91641
91017
  return {
91642
- pre: attrs => `<${tagName$1d} wmLayoutGrid ${getAttrMarkup(attrs)}>`,
91643
- post: () => `</${tagName$1d}>`
91018
+ pre: attrs => `<${tagName$1f} wmLayoutGrid ${getAttrMarkup(attrs)}>`,
91019
+ post: () => `</${tagName$1f}>`
91644
91020
  };
91645
91021
  });
91646
91022
  var layoutGrid_build = () => { };
@@ -91650,21 +91026,21 @@ var layoutGrid_build$1 = /*#__PURE__*/Object.freeze({
91650
91026
  default: layoutGrid_build
91651
91027
  });
91652
91028
 
91653
- const tagName$1c = 'div';
91654
- const idGen$j = new IDGenerator('wm_panel');
91029
+ const tagName$1e = 'div';
91030
+ const idGen$k = new IDGenerator('wm_panel');
91655
91031
  register('wm-panel', () => {
91656
91032
  return {
91657
91033
  pre: (attrs) => {
91658
- const counter = idGen$j.nextUid();
91659
- return `<${tagName$1c} wmPanel #${counter}="wmPanel" partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
91034
+ const counter = idGen$k.nextUid();
91035
+ return `<${tagName$1e} wmPanel #${counter}="wmPanel" partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
91660
91036
  },
91661
- post: () => `</${tagName$1c}>`
91037
+ post: () => `</${tagName$1e}>`
91662
91038
  };
91663
91039
  });
91664
91040
  register('wm-panel-footer', () => {
91665
91041
  return {
91666
- pre: attrs => `<${tagName$1c} wmPanelFooter ${getAttrMarkup(attrs)}>`,
91667
- post: () => `</${tagName$1c}>`
91042
+ pre: attrs => `<${tagName$1e} wmPanelFooter ${getAttrMarkup(attrs)}>`,
91043
+ post: () => `</${tagName$1e}>`
91668
91044
  };
91669
91045
  });
91670
91046
  var panel_build = () => { };
@@ -91674,11 +91050,11 @@ var panel_build$1 = /*#__PURE__*/Object.freeze({
91674
91050
  default: panel_build
91675
91051
  });
91676
91052
 
91677
- const tagName$1b = 'div';
91053
+ const tagName$1d = 'div';
91678
91054
  register('wm-segmented-control', () => {
91679
91055
  return {
91680
- pre: attrs => `<${tagName$1b} wmSegmentedControl ${getAttrMarkup(attrs)}>`,
91681
- post: () => `</${tagName$1b}>`
91056
+ pre: attrs => `<${tagName$1d} wmSegmentedControl ${getAttrMarkup(attrs)}>`,
91057
+ post: () => `</${tagName$1d}>`
91682
91058
  };
91683
91059
  });
91684
91060
  var segmentedControl_build = () => { };
@@ -91688,11 +91064,11 @@ var segmentedControl_build$1 = /*#__PURE__*/Object.freeze({
91688
91064
  default: segmentedControl_build
91689
91065
  });
91690
91066
 
91691
- const tagName$1a = 'li';
91067
+ const tagName$1c = 'li';
91692
91068
  register('wm-segment-content', () => {
91693
91069
  return {
91694
- pre: attrs => `<${tagName$1a} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91695
- post: () => `</${tagName$1a}>`
91070
+ pre: attrs => `<${tagName$1c} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91071
+ post: () => `</${tagName$1c}>`
91696
91072
  };
91697
91073
  });
91698
91074
  var segmentContent_build = () => { };
@@ -91730,19 +91106,19 @@ var repeatTemplate_build$1 = /*#__PURE__*/Object.freeze({
91730
91106
  default: repeatTemplate_build
91731
91107
  });
91732
91108
 
91733
- const tagName$19 = 'div';
91109
+ const tagName$1b = 'div';
91734
91110
  const dataSetKey$3 = 'dataset';
91735
- const idGen$i = new IDGenerator('wm_tabs_ref_');
91111
+ const idGen$j = new IDGenerator('wm_tabs_ref_');
91736
91112
  const isDynamicTabs = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
91737
91113
  register('wm-tabs', () => {
91738
91114
  return {
91739
91115
  pre: (attrs, shared) => {
91740
91116
  // generating unique Id for the tabs
91741
- const counter = idGen$i.nextUid();
91117
+ const counter = idGen$j.nextUid();
91742
91118
  shared.set('tabs_ref', counter);
91743
- return `<${tagName$19} wmTabs #${counter}="wmTabs" ${getAttrMarkup(attrs)}>`;
91119
+ return `<${tagName$1b} wmTabs #${counter}="wmTabs" ${getAttrMarkup(attrs)}>`;
91744
91120
  },
91745
- post: () => `</${tagName$19}>`,
91121
+ post: () => `</${tagName$1b}>`,
91746
91122
  template: (node, shared) => {
91747
91123
  // check if the tab widget is dynamic
91748
91124
  if (isDynamicTabs(node)) {
@@ -91773,11 +91149,11 @@ var tabs_build$1 = /*#__PURE__*/Object.freeze({
91773
91149
  default: tabs_build
91774
91150
  });
91775
91151
 
91776
- const tagName$18 = 'div';
91152
+ const tagName$1a = 'div';
91777
91153
  register('wm-tabpane', () => {
91778
91154
  return {
91779
- pre: attrs => `<${tagName$18} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element="true" role="tabpanel">`,
91780
- post: () => `</${tagName$18}>`
91155
+ pre: attrs => `<${tagName$1a} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element="true" role="tabpanel">`,
91156
+ post: () => `</${tagName$1a}>`
91781
91157
  };
91782
91158
  });
91783
91159
  var tabPane_build = () => { };
@@ -91787,11 +91163,11 @@ var tabPane_build$1 = /*#__PURE__*/Object.freeze({
91787
91163
  default: tabPane_build
91788
91164
  });
91789
91165
 
91790
- const tagName$17 = 'div';
91166
+ const tagName$19 = 'div';
91791
91167
  register('wm-tile', () => {
91792
91168
  return {
91793
- pre: attrs => `<${tagName$17} wmTile aria-describedby="Tile" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91794
- post: () => `</${tagName$17}>`
91169
+ pre: attrs => `<${tagName$19} wmTile aria-describedby="Tile" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91170
+ post: () => `</${tagName$19}>`
91795
91171
  };
91796
91172
  });
91797
91173
  var tile_build = () => { };
@@ -91801,11 +91177,11 @@ var tile_build$1 = /*#__PURE__*/Object.freeze({
91801
91177
  default: tile_build
91802
91178
  });
91803
91179
 
91804
- const tagName$16 = 'div';
91180
+ const tagName$18 = 'div';
91805
91181
  register('wm-wizard', () => {
91806
91182
  return {
91807
- pre: attrs => `<${tagName$16} wmWizard role="tablist" ${getAttrMarkup(attrs)}>`,
91808
- post: () => `</${tagName$16}>`
91183
+ pre: attrs => `<${tagName$18} wmWizard role="tablist" ${getAttrMarkup(attrs)}>`,
91184
+ post: () => `</${tagName$18}>`
91809
91185
  };
91810
91186
  });
91811
91187
  var wizard_build = () => { };
@@ -91815,16 +91191,16 @@ var wizard_build$1 = /*#__PURE__*/Object.freeze({
91815
91191
  default: wizard_build
91816
91192
  });
91817
91193
 
91818
- const tagName$15 = 'form';
91819
- const idGen$h = new IDGenerator('wizard_step_id_');
91194
+ const tagName$17 = 'form';
91195
+ const idGen$i = new IDGenerator('wizard_step_id_');
91820
91196
  register('wm-wizardstep', () => {
91821
91197
  return {
91822
91198
  pre: attrs => {
91823
- const counter = idGen$h.nextUid();
91824
- return `<${tagName$15} wmWizardStep #${counter}="wmWizardStep" ${getAttrMarkup(attrs)}>
91199
+ const counter = idGen$i.nextUid();
91200
+ return `<${tagName$17} wmWizardStep #${counter}="wmWizardStep" ${getAttrMarkup(attrs)}>
91825
91201
  <ng-template [ngIf]="${counter}.isInitialized">`;
91826
91202
  },
91827
- post: () => `</ng-template></${tagName$15}>`
91203
+ post: () => `</ng-template></${tagName$17}>`
91828
91204
  };
91829
91205
  });
91830
91206
  var wizardStep_build = () => { };
@@ -91834,15 +91210,15 @@ var wizardStep_build$1 = /*#__PURE__*/Object.freeze({
91834
91210
  default: wizardStep_build
91835
91211
  });
91836
91212
 
91837
- const tagName$14 = 'button';
91838
- const idGen$g = new IDGenerator('wm_barcodescanner');
91213
+ const tagName$16 = 'button';
91214
+ const idGen$h = new IDGenerator('wm_barcodescanner');
91839
91215
  register('wm-barcodescanner', () => {
91840
91216
  return {
91841
91217
  pre: (attrs) => {
91842
- const counter = idGen$g.nextUid();
91843
- return `<${tagName$14} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.hint || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
91218
+ const counter = idGen$h.nextUid();
91219
+ return `<${tagName$16} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.hint || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
91844
91220
  },
91845
- post: () => `</${tagName$14}>`
91221
+ post: () => `</${tagName$16}>`
91846
91222
  };
91847
91223
  });
91848
91224
  var barcodeScanner_build = () => { };
@@ -91852,15 +91228,15 @@ var barcodeScanner_build$1 = /*#__PURE__*/Object.freeze({
91852
91228
  default: barcodeScanner_build
91853
91229
  });
91854
91230
 
91855
- const tagName$13 = 'button';
91856
- const idGen$f = new IDGenerator('wm_camera');
91231
+ const tagName$15 = 'button';
91232
+ const idGen$g = new IDGenerator('wm_camera');
91857
91233
  register('wm-camera', () => {
91858
91234
  return {
91859
91235
  pre: (attrs) => {
91860
- const counter = idGen$f.nextUid();
91861
- return `<${tagName$13} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.hint || 'Camera'" ${getAttrMarkup(attrs)}>`;
91236
+ const counter = idGen$g.nextUid();
91237
+ return `<${tagName$15} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.hint || 'Camera'" ${getAttrMarkup(attrs)}>`;
91862
91238
  },
91863
- post: () => `</${tagName$13}>`
91239
+ post: () => `</${tagName$15}>`
91864
91240
  };
91865
91241
  });
91866
91242
  var camera_build = () => { };
@@ -91870,11 +91246,11 @@ var camera_build$1 = /*#__PURE__*/Object.freeze({
91870
91246
  default: camera_build
91871
91247
  });
91872
91248
 
91873
- const tagName$12 = 'div';
91249
+ const tagName$14 = 'div';
91874
91250
  register('wm-alertdialog', () => {
91875
91251
  return {
91876
- pre: attrs => `<${tagName$12} wmAlertDialog role="alertdialog" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91877
- post: () => `</${tagName$12}>`
91252
+ pre: attrs => `<${tagName$14} wmAlertDialog role="alertdialog" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91253
+ post: () => `</${tagName$14}>`
91878
91254
  };
91879
91255
  });
91880
91256
  var alertDialog_build = () => { };
@@ -91884,11 +91260,11 @@ var alertDialog_build$1 = /*#__PURE__*/Object.freeze({
91884
91260
  default: alertDialog_build
91885
91261
  });
91886
91262
 
91887
- const tagName$11 = 'div';
91263
+ const tagName$13 = 'div';
91888
91264
  register('wm-confirmdialog', () => {
91889
91265
  return {
91890
- pre: attrs => `<${tagName$11} wmConfirmDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91891
- post: () => `</${tagName$11}>`
91266
+ pre: attrs => `<${tagName$13} wmConfirmDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91267
+ post: () => `</${tagName$13}>`
91892
91268
  };
91893
91269
  });
91894
91270
  var confirmDialog_build = () => { };
@@ -91898,11 +91274,11 @@ var confirmDialog_build$1 = /*#__PURE__*/Object.freeze({
91898
91274
  default: confirmDialog_build
91899
91275
  });
91900
91276
 
91901
- const tagName$10 = 'div';
91277
+ const tagName$12 = 'div';
91902
91278
  register('wm-dialogactions', () => {
91903
91279
  return {
91904
- pre: attrs => `<ng-template #dialogFooter><${tagName$10} wmDialogFooter data-identfier="actions" ${getAttrMarkup(attrs)}>`,
91905
- post: () => `</${tagName$10}></ng-template>`
91280
+ pre: attrs => `<ng-template #dialogFooter><${tagName$12} wmDialogFooter data-identfier="actions" ${getAttrMarkup(attrs)}>`,
91281
+ post: () => `</${tagName$12}></ng-template>`
91906
91282
  };
91907
91283
  });
91908
91284
  var dialogFooter_build = () => { };
@@ -91912,11 +91288,11 @@ var dialogFooter_build$1 = /*#__PURE__*/Object.freeze({
91912
91288
  default: dialogFooter_build
91913
91289
  });
91914
91290
 
91915
- const tagName$$ = 'div';
91291
+ const tagName$11 = 'div';
91916
91292
  register('wm-dialog', () => {
91917
91293
  return {
91918
- pre: attrs => `<${tagName$$} wmDialog ${getAttrMarkup(attrs)} aria-modal="true" role="dialog" wm-navigable-element="true"><ng-template #dialogBody>`,
91919
- post: () => `</ng-template></${tagName$$}>`
91294
+ pre: attrs => `<${tagName$11} wmDialog ${getAttrMarkup(attrs)} aria-modal="true" role="dialog" wm-navigable-element="true"><ng-template #dialogBody>`,
91295
+ post: () => `</ng-template></${tagName$11}>`
91920
91296
  };
91921
91297
  });
91922
91298
  // Todo:vinay remove wm-view in migration
@@ -91933,11 +91309,11 @@ var dialog_build$1 = /*#__PURE__*/Object.freeze({
91933
91309
  default: dialog_build
91934
91310
  });
91935
91311
 
91936
- const tagName$_ = 'div';
91312
+ const tagName$10 = 'div';
91937
91313
  register('wm-iframedialog', () => {
91938
91314
  return {
91939
- pre: attrs => `<${tagName$_} wmIframeDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91940
- post: () => `</${tagName$_}>`
91315
+ pre: attrs => `<${tagName$10} wmIframeDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
91316
+ post: () => `</${tagName$10}>`
91941
91317
  };
91942
91318
  });
91943
91319
  var iframeDialog_build = () => { };
@@ -91947,11 +91323,11 @@ var iframeDialog_build$1 = /*#__PURE__*/Object.freeze({
91947
91323
  default: iframeDialog_build
91948
91324
  });
91949
91325
 
91950
- const tagName$Z = 'div';
91326
+ const tagName$$ = 'div';
91951
91327
  register('wm-logindialog', () => {
91952
91328
  return {
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}>`
91329
+ pre: attrs => `<${tagName$$} wmDialog wmLoginDialog ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction" wm-navigable-element="true"><ng-template #dialogBody>`,
91330
+ post: () => `</ng-template></${tagName$$}>`
91955
91331
  };
91956
91332
  });
91957
91333
  var loginDialog_build = () => { };
@@ -91961,7 +91337,7 @@ var loginDialog_build$1 = /*#__PURE__*/Object.freeze({
91961
91337
  default: loginDialog_build
91962
91338
  });
91963
91339
 
91964
- const tagName$Y = 'div';
91340
+ const tagName$_ = 'div';
91965
91341
  register('wm-pagedialog', () => {
91966
91342
  return {
91967
91343
  pre: (attrs, shared) => {
@@ -91987,14 +91363,14 @@ register('wm-pagedialog', () => {
91987
91363
  shared.set('hasPartialContent', true);
91988
91364
  containerMarkup += `<ng-template><div wmContainer #partial partialContainer ${contentMarkup} width="100%" height="100%" ${onLoadEvtMarkup}>`;
91989
91365
  }
91990
- return `<${tagName$Y} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;
91366
+ return `<${tagName$_} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;
91991
91367
  },
91992
91368
  post: (attrs, shared) => {
91993
91369
  let preContent = '';
91994
91370
  if (shared.get('hasPartialContent')) {
91995
91371
  preContent = `</div></ng-template>`;
91996
91372
  }
91997
- return `${preContent}</${tagName$Y}>`;
91373
+ return `${preContent}</${tagName$_}>`;
91998
91374
  }
91999
91375
  };
92000
91376
  });
@@ -92073,8 +91449,8 @@ const getEditModeWidget = colDef => {
92073
91449
  return (fieldTypeWidgetTypeMap[colDef.type] && fieldTypeWidgetTypeMap[colDef.type][0]) || FormWidgetType.TEXT;
92074
91450
  };
92075
91451
 
92076
- const tagName$X = 'div';
92077
- const idGen$e = new IDGenerator('formfield_');
91452
+ const tagName$Z = 'div';
91453
+ const idGen$f = new IDGenerator('formfield_');
92078
91454
  const getEventsTemplate = (attrs) => {
92079
91455
  const eventAttrs = new Map();
92080
91456
  if (!attrs.has('focus.event')) {
@@ -92125,12 +91501,13 @@ const setDefaultPlaceholder = (attrs, widgetType, index) => {
92125
91501
  };
92126
91502
  const getWidgetTemplate = (attrs, options) => {
92127
91503
  const name = attrs.get('name');
91504
+ const customWidgetName = attrs.get('widgetname');
92128
91505
  const fieldName = (attrs.get('key') || name || '').trim();
92129
91506
  const formControl = options.isMaxWidget ? `formControlName="${fieldName}_max"` : (options.isInList ? `[formControlName]="${options.counter}._fieldName"` : `formControlName="${fieldName}"`);
92130
91507
  const tmplRef = options.isMaxWidget ? `#formWidgetMax` : `#formWidget`;
92131
91508
  const widgetName = name ? (options.isMaxWidget ? `name="${name}_formWidgetMax"` : `name="${name}_formWidget"`) : '';
92132
91509
  const conditionalClass = `[ngClass]="${attrs.get('ngclass')}"`;
92133
- const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName}`;
91510
+ const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName} ${customWidgetName ? `widgetname=${customWidgetName}` : ''}`;
92134
91511
  return getFormWidgetTemplate(options.widgetType, defaultTmpl, attrs, { counter: options.counter, pCounter: options.pCounter });
92135
91512
  };
92136
91513
  const getTemplate = (attrs, widgetType, eventsTmpl, counter, pCounter, isInList) => {
@@ -92174,7 +91551,7 @@ const registerFormField = (isFormField) => {
92174
91551
  return {
92175
91552
  requires: ['wm-form', 'wm-liveform', 'wm-livefilter', 'wm-list'],
92176
91553
  pre: (attrs, shared, parentForm, parentLiveForm, parentFilter, parentList) => {
92177
- const counter = idGen$e.nextUid();
91554
+ const counter = idGen$f.nextUid();
92178
91555
  const parent = parentForm || parentLiveForm || parentFilter;
92179
91556
  const pCounter = (parent && parent.get('form_reference')) || 'form';
92180
91557
  const widgetType = attrs.get('widget') || FormWidgetType.TEXT;
@@ -92197,7 +91574,7 @@ const registerFormField = (isFormField) => {
92197
91574
  else {
92198
91575
  setDefaultPlaceholder(attrs, widgetType, 2);
92199
91576
  }
92200
- return `<${tagName$X} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField wmCaptionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${getFormMarkupAttr(attrs)}>
91577
+ return `<${tagName$Z} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField wmCaptionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${getFormMarkupAttr(attrs)}>
92201
91578
  <div class="live-field form-group app-composite-widget clearfix caption-{{${pCounter}.captionposition}}" widget="${widgetType}">
92202
91579
  <label [hidden]="!${counter}.displayname" class="app-label control-label formfield-label {{${pCounter}._captionClass}}"
92203
91580
  [ngStyle]="{width: ${pCounter}.captionsize}" [ngClass]="{'text-danger': ${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode,
@@ -92213,7 +91590,7 @@ const registerFormField = (isFormField) => {
92213
91590
  </div>
92214
91591
  </div>`;
92215
91592
  },
92216
- post: () => `</${tagName$X}>`,
91593
+ post: () => `</${tagName$Z}>`,
92217
91594
  provide: (attrs, shared) => {
92218
91595
  const provider = new Map();
92219
91596
  provider.set('form_reference', shared.get('counter'));
@@ -92235,11 +91612,11 @@ var formField_build$1 = /*#__PURE__*/Object.freeze({
92235
91612
  default: formField_build
92236
91613
  });
92237
91614
 
92238
- const tagName$W = 'div';
91615
+ const tagName$Y = 'div';
92239
91616
  const registerAction = (tmpl) => {
92240
91617
  return {
92241
- pre: attrs => `<${tagName$W} wmFormAction name="${attrs.get('name') || attrs.get('key')}" ${getAttrMarkup(attrs)} ${tmpl}>`,
92242
- post: () => `</${tagName$W}>`
91618
+ pre: attrs => `<${tagName$Y} wmFormAction name="${attrs.get('name') || attrs.get('key')}" ${getAttrMarkup(attrs)} ${tmpl}>`,
91619
+ post: () => `</${tagName$Y}>`
92243
91620
  };
92244
91621
  };
92245
91622
  register('wm-form-action', registerAction.bind(undefined, ''));
@@ -92251,8 +91628,8 @@ var formAction_build$1 = /*#__PURE__*/Object.freeze({
92251
91628
  default: formAction_build
92252
91629
  });
92253
91630
 
92254
- const tagName$V = 'form';
92255
- const idGen$d = new IDGenerator('form_');
91631
+ const tagName$X = 'form';
91632
+ const idGen$e = new IDGenerator('form_');
92256
91633
  const formWidgets$1 = new Set([
92257
91634
  'wm-text',
92258
91635
  'wm-textarea',
@@ -92320,7 +91697,7 @@ const buildTask = (directiveAttr = '') => {
92320
91697
  let tmpl;
92321
91698
  let dialogId;
92322
91699
  const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';
92323
- const counter = idGen$d.nextUid();
91700
+ const counter = idGen$e.nextUid();
92324
91701
  const dependsOn = attrs.get('dependson') ? `dependson="${attrs.get('dependson')}"` : '';
92325
91702
  if (dependsOn) {
92326
91703
  attrs.set('dependsontable', attrs.get('dependson'));
@@ -92328,7 +91705,7 @@ const buildTask = (directiveAttr = '') => {
92328
91705
  const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';
92329
91706
  const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];
92330
91707
  attrs.delete('dependson');
92331
- const liveFormTmpl = `<${tagName$V} wmForm data-role="${role}" ${directiveAttr} #${counter} ngNativeValidate [formGroup]="${counter}.ngform" [noValidate]="${counter}.validationtype !== 'html'"
91708
+ const liveFormTmpl = `<${tagName$X} wmForm data-role="${role}" ${directiveAttr} #${counter} ngNativeValidate [formGroup]="${counter}.ngform" [noValidate]="${counter}.validationtype !== 'html'"
92332
91709
  class="${classProp}" [class]="${counter}.captionAlignClass" [autocomplete]="${counter}.autocomplete ? 'on' : 'off'" captionposition=${attrs.get('captionposition')}`;
92333
91710
  attrs.set('numberOfFields', `${numberOfFields}`);
92334
91711
  shared.set('counter', counter);
@@ -92381,12 +91758,12 @@ const buildTask = (directiveAttr = '') => {
92381
91758
  return '</form></ng-template></div></div>';
92382
91759
  }
92383
91760
  if (attrs.get('formlayout') === 'page') {
92384
- return `</div></${tagName$V}>`;
91761
+ return `</div></${tagName$X}>`;
92385
91762
  }
92386
91763
  if (attrs.get('dependsontable')) {
92387
- return `</${tagName$V}></div>`;
91764
+ return `</${tagName$X}></div>`;
92388
91765
  }
92389
- return `</${tagName$V}>`;
91766
+ return `</${tagName$X}>`;
92390
91767
  },
92391
91768
  provide: (attrs, shared) => {
92392
91769
  const provider = new Map();
@@ -92405,14 +91782,14 @@ var form_build$1 = /*#__PURE__*/Object.freeze({
92405
91782
  default: form_build
92406
91783
  });
92407
91784
 
92408
- const tagName$U = 'div';
91785
+ const tagName$W = 'div';
92409
91786
  register('wm-calendar', () => {
92410
91787
  return {
92411
91788
  pre: (attrs) => {
92412
91789
  let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';
92413
- return `<${tagName$U} wmCalendar redrawable style="width:100%" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
91790
+ return `<${tagName$W} wmCalendar redrawable style="width:100%" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
92414
91791
  },
92415
- post: () => `</${tagName$U}>`
91792
+ post: () => `</${tagName$W}>`
92416
91793
  };
92417
91794
  });
92418
91795
  var calendar_build = () => { };
@@ -92422,11 +91799,11 @@ var calendar_build$1 = /*#__PURE__*/Object.freeze({
92422
91799
  default: calendar_build
92423
91800
  });
92424
91801
 
92425
- const tagName$T = 'ul';
91802
+ const tagName$V = 'ul';
92426
91803
  register('wm-chips', () => {
92427
91804
  return {
92428
- pre: attrs => `<${tagName$T} wmChips role="listbox" ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
92429
- post: () => `</${tagName$T}>`
91805
+ pre: attrs => `<${tagName$V} wmChips role="listbox" ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
91806
+ post: () => `</${tagName$V}>`
92430
91807
  };
92431
91808
  });
92432
91809
  var chips_build = () => { };
@@ -92436,11 +91813,11 @@ var chips_build$1 = /*#__PURE__*/Object.freeze({
92436
91813
  default: chips_build
92437
91814
  });
92438
91815
 
92439
- const tagName$S = 'div';
91816
+ const tagName$U = 'div';
92440
91817
  register('wm-colorpicker', () => {
92441
91818
  return {
92442
- pre: attrs => `<${tagName$S} wmColorPicker ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92443
- post: () => `</${tagName$S}>`
91819
+ pre: attrs => `<${tagName$U} wmColorPicker ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91820
+ post: () => `</${tagName$U}>`
92444
91821
  };
92445
91822
  });
92446
91823
  var colorPicker_build = () => { };
@@ -92450,11 +91827,11 @@ var colorPicker_build$1 = /*#__PURE__*/Object.freeze({
92450
91827
  default: colorPicker_build
92451
91828
  });
92452
91829
 
92453
- const tagName$R = 'div';
91830
+ const tagName$T = 'div';
92454
91831
  register('wm-currency', () => {
92455
91832
  return {
92456
- pre: attrs => `<${tagName$R} wmCurrency ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92457
- post: () => `</${tagName$R}>`
91833
+ pre: attrs => `<${tagName$T} wmCurrency ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91834
+ post: () => `</${tagName$T}>`
92458
91835
  };
92459
91836
  });
92460
91837
  var currency_build = () => { };
@@ -92464,11 +91841,11 @@ var currency_build$1 = /*#__PURE__*/Object.freeze({
92464
91841
  default: currency_build
92465
91842
  });
92466
91843
 
92467
- const tagName$Q = 'div';
91844
+ const tagName$S = 'div';
92468
91845
  register('wm-buttongroup', () => {
92469
91846
  return {
92470
- pre: attrs => `<${tagName$Q} wmButtonGroup role="group" aria-labelledby="button group" ${getAttrMarkup(attrs)}>`,
92471
- post: () => `</${tagName$Q}>`
91847
+ pre: attrs => `<${tagName$S} wmButtonGroup role="group" aria-labelledby="button group" ${getAttrMarkup(attrs)}>`,
91848
+ post: () => `</${tagName$S}>`
92472
91849
  };
92473
91850
  });
92474
91851
  var buttonGroup_build = () => { };
@@ -92478,15 +91855,15 @@ var buttonGroup_build$1 = /*#__PURE__*/Object.freeze({
92478
91855
  default: buttonGroup_build
92479
91856
  });
92480
91857
 
92481
- const tagName$P = 'button';
92482
- const idGen$c = new IDGenerator('wm_button');
91858
+ const tagName$R = 'button';
91859
+ const idGen$d = new IDGenerator('wm_button');
92483
91860
  register('wm-button', () => {
92484
91861
  return {
92485
91862
  pre: (attrs) => {
92486
- const counter = idGen$c.nextUid();
92487
- return `<${tagName$P} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.hint || ${counter}.caption || null" ${getAttrMarkup(attrs)}>`;
91863
+ const counter = idGen$d.nextUid();
91864
+ return `<${tagName$R} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.hint || ${counter}.caption || null" ${getAttrMarkup(attrs)}>`;
92488
91865
  },
92489
- post: () => `</${tagName$P}>`
91866
+ post: () => `</${tagName$R}>`
92490
91867
  };
92491
91868
  });
92492
91869
  var button_build = () => { };
@@ -92496,11 +91873,11 @@ var button_build$1 = /*#__PURE__*/Object.freeze({
92496
91873
  default: button_build
92497
91874
  });
92498
91875
 
92499
- const tagName$O = 'div';
91876
+ const tagName$Q = 'div';
92500
91877
  register('wm-checkbox', () => {
92501
91878
  return {
92502
- pre: attrs => `<${tagName$O} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92503
- post: () => `</${tagName$O}>`
91879
+ pre: attrs => `<${tagName$Q} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91880
+ post: () => `</${tagName$Q}>`
92504
91881
  };
92505
91882
  });
92506
91883
  var checkbox_build = () => { };
@@ -92510,11 +91887,11 @@ var checkbox_build$1 = /*#__PURE__*/Object.freeze({
92510
91887
  default: checkbox_build
92511
91888
  });
92512
91889
 
92513
- const tagName$N = 'ul';
91890
+ const tagName$P = 'ul';
92514
91891
  register('wm-checkboxset', () => {
92515
91892
  return {
92516
- pre: attrs => `<${tagName$N} role="group" wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92517
- post: () => `</${tagName$N}>`
91893
+ pre: attrs => `<${tagName$P} role="group" wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91894
+ post: () => `</${tagName$P}>`
92518
91895
  };
92519
91896
  });
92520
91897
  var checkboxset_build = () => { };
@@ -92524,11 +91901,11 @@ var checkboxset_build$1 = /*#__PURE__*/Object.freeze({
92524
91901
  default: checkboxset_build
92525
91902
  });
92526
91903
 
92527
- const tagName$M = 'div';
91904
+ const tagName$O = 'div';
92528
91905
  register('wm-composite', () => {
92529
91906
  return {
92530
- pre: attrs => `<${tagName$M} wmComposite wmCaptionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,
92531
- post: () => `</${tagName$M}${clearChildAttrs()}>`
91907
+ pre: attrs => `<${tagName$O} wmComposite wmCaptionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,
91908
+ post: () => `</${tagName$O}${clearChildAttrs()}>`
92532
91909
  };
92533
91910
  });
92534
91911
  var composite_build = () => { };
@@ -92538,11 +91915,11 @@ var composite_build$1 = /*#__PURE__*/Object.freeze({
92538
91915
  default: composite_build
92539
91916
  });
92540
91917
 
92541
- const tagName$L = 'div';
91918
+ const tagName$N = 'div';
92542
91919
  register('wm-number', () => {
92543
91920
  return {
92544
- pre: attrs => `<${tagName$L} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92545
- post: () => `</${tagName$L}>`
91921
+ pre: attrs => `<${tagName$N} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91922
+ post: () => `</${tagName$N}>`
92546
91923
  };
92547
91924
  });
92548
91925
  var number_build = () => { };
@@ -92552,11 +91929,11 @@ var number_build$1 = /*#__PURE__*/Object.freeze({
92552
91929
  default: number_build
92553
91930
  });
92554
91931
 
92555
- const tagName$K = 'ul';
91932
+ const tagName$M = 'ul';
92556
91933
  register('wm-radioset', () => {
92557
91934
  return {
92558
- pre: attrs => `<${tagName$K} role="radiogroup" wmRadioset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92559
- post: () => `</${tagName$K}>`
91935
+ pre: attrs => `<${tagName$M} role="radiogroup" wmRadioset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91936
+ post: () => `</${tagName$M}>`
92560
91937
  };
92561
91938
  });
92562
91939
  var radioset_build = () => { };
@@ -92566,11 +91943,11 @@ var radioset_build$1 = /*#__PURE__*/Object.freeze({
92566
91943
  default: radioset_build
92567
91944
  });
92568
91945
 
92569
- const tagName$J = 'wm-select';
91946
+ const tagName$L = 'wm-select';
92570
91947
  register('wm-select', () => {
92571
91948
  return {
92572
- pre: attrs => `<${tagName$J} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92573
- post: () => `</${tagName$J}>`
91949
+ pre: attrs => `<${tagName$L} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91950
+ post: () => `</${tagName$L}>`
92574
91951
  };
92575
91952
  });
92576
91953
  var select_build = () => { };
@@ -92580,15 +91957,15 @@ var select_build$1 = /*#__PURE__*/Object.freeze({
92580
91957
  default: select_build
92581
91958
  });
92582
91959
 
92583
- const tagName$I = 'div';
92584
- const idGen$b = new IDGenerator('wm_switch');
91960
+ const tagName$K = 'div';
91961
+ const idGen$c = new IDGenerator('wm_switch');
92585
91962
  register('wm-switch', () => {
92586
91963
  return {
92587
91964
  pre: (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)}>`;
91965
+ const counter = idGen$c.nextUid();
91966
+ return `<${tagName$K} wmSwitch #${counter}="wmSwitch" [attr.aria-label]="${counter}.hint || 'Switch button'" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;
92590
91967
  },
92591
- post: () => `</${tagName$I}>`
91968
+ post: () => `</${tagName$K}>`
92592
91969
  };
92593
91970
  });
92594
91971
  var switch_build = () => { };
@@ -92598,11 +91975,11 @@ var switch_build$1 = /*#__PURE__*/Object.freeze({
92598
91975
  default: switch_build
92599
91976
  });
92600
91977
 
92601
- const tagName$H = 'wm-input';
91978
+ const tagName$J = 'wm-input';
92602
91979
  register('wm-text', () => {
92603
91980
  return {
92604
- pre: attrs => `<${tagName$H} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92605
- post: () => `</${tagName$H}>`
91981
+ pre: attrs => `<${tagName$J} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91982
+ post: () => `</${tagName$J}>`
92606
91983
  };
92607
91984
  });
92608
91985
  var text_build = () => { };
@@ -92612,11 +91989,11 @@ var text_build$1 = /*#__PURE__*/Object.freeze({
92612
91989
  default: text_build
92613
91990
  });
92614
91991
 
92615
- const tagName$G = 'wm-textarea';
91992
+ const tagName$I = 'wm-textarea';
92616
91993
  register('wm-textarea', () => {
92617
91994
  return {
92618
- pre: attrs => `<${tagName$G} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92619
- post: () => `</${tagName$G}>`
91995
+ pre: attrs => `<${tagName$I} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
91996
+ post: () => `</${tagName$I}>`
92620
91997
  };
92621
91998
  });
92622
91999
  var textarea_build = () => { };
@@ -92626,11 +92003,11 @@ var textarea_build$1 = /*#__PURE__*/Object.freeze({
92626
92003
  default: textarea_build
92627
92004
  });
92628
92005
 
92629
- const tagName$F = 'div';
92006
+ const tagName$H = 'div';
92630
92007
  register('wm-datetime', () => {
92631
92008
  return {
92632
- pre: attrs => `<${tagName$F} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92633
- post: () => `</${tagName$F}>`
92009
+ pre: attrs => `<${tagName$H} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92010
+ post: () => `</${tagName$H}>`
92634
92011
  };
92635
92012
  });
92636
92013
  var dateTime_build = () => { };
@@ -92640,11 +92017,11 @@ var dateTime_build$1 = /*#__PURE__*/Object.freeze({
92640
92017
  default: dateTime_build
92641
92018
  });
92642
92019
 
92643
- const tagName$E = 'div';
92020
+ const tagName$G = 'div';
92644
92021
  register('wm-date', () => {
92645
92022
  return {
92646
- pre: attrs => `<${tagName$E} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92647
- post: () => `</${tagName$E}>`
92023
+ pre: attrs => `<${tagName$G} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92024
+ post: () => `</${tagName$G}>`
92648
92025
  };
92649
92026
  });
92650
92027
  var date_build = () => { };
@@ -92654,11 +92031,11 @@ var date_build$1 = /*#__PURE__*/Object.freeze({
92654
92031
  default: date_build
92655
92032
  });
92656
92033
 
92657
- const tagName$D = 'div';
92034
+ const tagName$F = 'div';
92658
92035
  register('wm-time', () => {
92659
92036
  return {
92660
- pre: attrs => `<${tagName$D} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92661
- post: () => `</${tagName$D}>`
92037
+ pre: attrs => `<${tagName$F} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
92038
+ post: () => `</${tagName$F}>`
92662
92039
  };
92663
92040
  });
92664
92041
  var time_build = () => { };
@@ -92668,7 +92045,7 @@ var time_build$1 = /*#__PURE__*/Object.freeze({
92668
92045
  default: time_build
92669
92046
  });
92670
92047
 
92671
- const tagName$C = 'div';
92048
+ const tagName$E = 'div';
92672
92049
  register('wm-fileupload', () => {
92673
92050
  return {
92674
92051
  pre: attrs => {
@@ -92676,9 +92053,9 @@ register('wm-fileupload', () => {
92676
92053
  const onSelectBinding = getDataSource(attrs.get('select.event'));
92677
92054
  attrs.set('datasource.bind', onSelectBinding);
92678
92055
  }
92679
- return `<${tagName$C} wmFileUpload ${getAttrMarkup(attrs)} role="input">`;
92056
+ return `<${tagName$E} wmFileUpload ${getAttrMarkup(attrs)} role="input">`;
92680
92057
  },
92681
- post: () => `</${tagName$C}>`
92058
+ post: () => `</${tagName$E}>`
92682
92059
  };
92683
92060
  });
92684
92061
  var fileUpload_build = () => { };
@@ -92688,11 +92065,11 @@ var fileUpload_build$1 = /*#__PURE__*/Object.freeze({
92688
92065
  default: fileUpload_build
92689
92066
  });
92690
92067
 
92691
- const tagName$B = 'div';
92068
+ const tagName$D = 'div';
92692
92069
  register('wm-rating', () => {
92693
92070
  return {
92694
- pre: attrs => `<${tagName$B} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
92695
- post: () => `</${tagName$B}>`
92071
+ pre: attrs => `<${tagName$D} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
92072
+ post: () => `</${tagName$D}>`
92696
92073
  };
92697
92074
  });
92698
92075
  var rating_build = () => { };
@@ -92702,11 +92079,11 @@ var rating_build$1 = /*#__PURE__*/Object.freeze({
92702
92079
  default: rating_build
92703
92080
  });
92704
92081
 
92705
- const tagName$A = 'div';
92082
+ const tagName$C = 'div';
92706
92083
  register('wm-slider', () => {
92707
92084
  return {
92708
- pre: attrs => `<${tagName$A} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
92709
- post: () => `</${tagName$A}>`
92085
+ pre: attrs => `<${tagName$C} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
92086
+ post: () => `</${tagName$C}>`
92710
92087
  };
92711
92088
  });
92712
92089
  var slider_build = () => { };
@@ -92717,7 +92094,7 @@ var slider_build$1 = /*#__PURE__*/Object.freeze({
92717
92094
  });
92718
92095
 
92719
92096
  const wmlistTag = 'wm-list';
92720
- const tagName$z = 'div';
92097
+ const tagName$B = 'div';
92721
92098
  const dataSetKey$2 = 'dataset';
92722
92099
  function copyAttribute$1(from, fromAttrName, to, toAttrName) {
92723
92100
  const fromAttr = from.attrs.find(a => a.name === fromAttrName);
@@ -92765,8 +92142,8 @@ register('wm-media-list', () => {
92765
92142
  copyAttribute$1(template, 'height', node, 'thumbnailheight');
92766
92143
  }
92767
92144
  },
92768
- pre: attrs => `<${tagName$z} wmMediaList ${getAttrMarkup(attrs)}>`,
92769
- post: () => `</${tagName$z}>`
92145
+ pre: attrs => `<${tagName$B} wmMediaList ${getAttrMarkup(attrs)}>`,
92146
+ post: () => `</${tagName$B}>`
92770
92147
  };
92771
92148
  });
92772
92149
  var mediaList_build = () => { };
@@ -92776,11 +92153,11 @@ var mediaList_build$1 = /*#__PURE__*/Object.freeze({
92776
92153
  default: mediaList_build
92777
92154
  });
92778
92155
 
92779
- const tagName$y = 'ng-template';
92156
+ const tagName$A = 'ng-template';
92780
92157
  register('wm-media-template', () => {
92781
92158
  return {
92782
- pre: () => `<${tagName$y} #mediaListTemplate let-item="item" let-index="index">`,
92783
- post: () => `</${tagName$y}>`
92159
+ pre: () => `<${tagName$A} #mediaListTemplate let-item="item" let-index="index">`,
92160
+ post: () => `</${tagName$A}>`
92784
92161
  };
92785
92162
  });
92786
92163
  var mediaListItem_build = () => { };
@@ -92864,16 +92241,16 @@ var list_build$1 = /*#__PURE__*/Object.freeze({
92864
92241
  default: list_build
92865
92242
  });
92866
92243
 
92867
- const tagName$x = 'div';
92868
- const idGen$a = new IDGenerator('liveform_dialog_id_');
92244
+ const tagName$z = 'div';
92245
+ const idGen$b = new IDGenerator('liveform_dialog_id_');
92869
92246
  register('wm-livetable', () => {
92870
92247
  return {
92871
92248
  pre: (attrs, shared) => {
92872
- const counter = idGen$a.nextUid();
92249
+ const counter = idGen$b.nextUid();
92873
92250
  shared.set('counter', counter);
92874
- return `<${tagName$x} wmLiveTable ${getAttrMarkup(attrs)} dialogid="${counter}">`;
92251
+ return `<${tagName$z} wmLiveTable ${getAttrMarkup(attrs)} dialogid="${counter}">`;
92875
92252
  },
92876
- post: () => `</${tagName$x}>`,
92253
+ post: () => `</${tagName$z}>`,
92877
92254
  provide: (attrs, shared) => {
92878
92255
  const provider = new Map();
92879
92256
  provider.set('liveform_dialog_id', shared.get('counter'));
@@ -92888,15 +92265,15 @@ var liveTable_build$1 = /*#__PURE__*/Object.freeze({
92888
92265
  default: liveTable_build
92889
92266
  });
92890
92267
 
92891
- const tagName$w = 'p';
92892
- const idGen$9 = new IDGenerator('wm_message');
92268
+ const tagName$y = 'p';
92269
+ const idGen$a = new IDGenerator('wm_message');
92893
92270
  register('wm-message', () => {
92894
92271
  return {
92895
92272
  pre: (attrs) => {
92896
- const counter = idGen$9.nextUid();
92897
- return `<${tagName$w} wmMessage tabindex="0" #${counter}="wmMessage" ${getAttrMarkup(attrs)}>`;
92273
+ const counter = idGen$a.nextUid();
92274
+ return `<${tagName$y} wmMessage tabindex="0" #${counter}="wmMessage" ${getAttrMarkup(attrs)}>`;
92898
92275
  },
92899
- post: () => `</${tagName$w}>`
92276
+ post: () => `</${tagName$y}>`
92900
92277
  };
92901
92278
  });
92902
92279
  var message_build = () => { };
@@ -92906,11 +92283,11 @@ var message_build$1 = /*#__PURE__*/Object.freeze({
92906
92283
  default: message_build
92907
92284
  });
92908
92285
 
92909
- const tagName$v = 'ol';
92286
+ const tagName$x = 'ol';
92910
92287
  register('wm-breadcrumb', () => {
92911
92288
  return {
92912
- pre: attrs => `<${tagName$v} wmBreadcrumb ${getAttrMarkup(attrs)}>`,
92913
- post: () => `</${tagName$v}>`
92289
+ pre: attrs => `<${tagName$x} wmBreadcrumb ${getAttrMarkup(attrs)}>`,
92290
+ post: () => `</${tagName$x}>`
92914
92291
  };
92915
92292
  });
92916
92293
  var breadcrumb_build = () => { };
@@ -92920,7 +92297,7 @@ var breadcrumb_build$1 = /*#__PURE__*/Object.freeze({
92920
92297
  default: breadcrumb_build
92921
92298
  });
92922
92299
 
92923
- const tagName$u = 'div';
92300
+ const tagName$w = 'div';
92924
92301
  register('wm-menu', () => {
92925
92302
  return {
92926
92303
  pre: attrs => {
@@ -92935,13 +92312,13 @@ register('wm-menu', () => {
92935
92312
  else {
92936
92313
  styleBinding = `[ngStyle]="{'width': '${menuWidth}px'}"`;
92937
92314
  }
92938
- return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
92315
+ return `<${tagName$w} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
92939
92316
  }
92940
92317
  else {
92941
- return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)}>`;
92318
+ return `<${tagName$w} wmMenu dropdown ${getAttrMarkup(attrs)}>`;
92942
92319
  }
92943
92320
  },
92944
- post: () => `</${tagName$u}>`
92321
+ post: () => `</${tagName$w}>`
92945
92322
  };
92946
92323
  });
92947
92324
  var menu_build = () => { };
@@ -92951,11 +92328,11 @@ var menu_build$1 = /*#__PURE__*/Object.freeze({
92951
92328
  default: menu_build
92952
92329
  });
92953
92330
 
92954
- const tagName$t = 'li';
92331
+ const tagName$v = 'li';
92955
92332
  register('wm-nav-item', () => {
92956
92333
  return {
92957
- pre: attrs => `<${tagName$t} wmNavItem role="listitem" ${getAttrMarkup(attrs)}>`,
92958
- post: () => `</${tagName$t}>`
92334
+ pre: attrs => `<${tagName$v} wmNavItem role="listitem" ${getAttrMarkup(attrs)}>`,
92335
+ post: () => `</${tagName$v}>`
92959
92336
  };
92960
92337
  });
92961
92338
  var navItem_build = () => { };
@@ -92965,11 +92342,11 @@ var navItem_build$1 = /*#__PURE__*/Object.freeze({
92965
92342
  default: navItem_build
92966
92343
  });
92967
92344
 
92968
- const tagName$s = 'ul';
92345
+ const tagName$u = 'ul';
92969
92346
  register('wm-nav', () => {
92970
92347
  return {
92971
- pre: attrs => `<${tagName$s} wmNav data-element-type="wmNav" data-role="page-header" role="list" ${getAttrMarkup(attrs)}>`,
92972
- post: () => `</${tagName$s}>`
92348
+ pre: attrs => `<${tagName$u} wmNav data-element-type="wmNav" data-role="page-header" role="list" ${getAttrMarkup(attrs)}>`,
92349
+ post: () => `</${tagName$u}>`
92973
92350
  };
92974
92351
  });
92975
92352
  var nav_build = () => { };
@@ -92979,11 +92356,11 @@ var nav_build$1 = /*#__PURE__*/Object.freeze({
92979
92356
  default: nav_build
92980
92357
  });
92981
92358
 
92982
- const tagName$r = 'nav';
92359
+ const tagName$t = 'nav';
92983
92360
  register('wm-navbar', () => {
92984
92361
  return {
92985
- pre: attrs => `<${tagName$r} wmNavbar data-element-type="wmNavbar" role="navigation" ${getAttrMarkup(attrs)}>`,
92986
- post: () => `</${tagName$r}>`
92362
+ pre: attrs => `<${tagName$t} wmNavbar data-element-type="wmNavbar" role="navigation" ${getAttrMarkup(attrs)}>`,
92363
+ post: () => `</${tagName$t}>`
92987
92364
  };
92988
92365
  });
92989
92366
  var navbar_build = () => { };
@@ -92993,7 +92370,7 @@ var navbar_build$1 = /*#__PURE__*/Object.freeze({
92993
92370
  default: navbar_build
92994
92371
  });
92995
92372
 
92996
- const tagName$q = 'wm-popover';
92373
+ const tagName$s = 'wm-popover';
92997
92374
  register('wm-popover', () => {
92998
92375
  return {
92999
92376
  requires: ['wm-table'],
@@ -93013,7 +92390,7 @@ register('wm-popover', () => {
93013
92390
  popoverTemplate = `<div wmContainer #partial partialContainer ${contentMarkup}>`;
93014
92391
  shared.set('hasPopoverContent', true);
93015
92392
  }
93016
- let markup = `<${tagName$q} wmPopover ${getAttrMarkup(attrs)}>`;
92393
+ let markup = `<${tagName$s} wmPopover ${getAttrMarkup(attrs)}>`;
93017
92394
  const contextAttrs = table ? `let-row="row"` : ``;
93018
92395
  markup += `<ng-template ${contextAttrs}><div tabindex="0" class="popover-start sr-only" aria-label="">popover content start</div>`;
93019
92396
  // todo keyboard navigation - tab
@@ -93027,7 +92404,7 @@ register('wm-popover', () => {
93027
92404
  if (shared.get('hasPopoverContent')) {
93028
92405
  markup += `</div>`;
93029
92406
  }
93030
- return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$q}>`;
92407
+ return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$s}>`;
93031
92408
  }
93032
92409
  };
93033
92410
  });
@@ -93038,16 +92415,16 @@ var popover_build$1 = /*#__PURE__*/Object.freeze({
93038
92415
  default: popover_build
93039
92416
  });
93040
92417
 
93041
- const tagName$p = 'div';
92418
+ const tagName$r = 'div';
93042
92419
  const findChild = (node, childName) => {
93043
92420
  const child = node && node.children.find(e => (e instanceof Element$2 && e.name === childName));
93044
92421
  return child;
93045
92422
  };
93046
- const createElement$3 = name => {
93047
- return new Element$2(name, [], [], noSpan$3, noSpan$3, noSpan$3);
92423
+ const createElement$4 = name => {
92424
+ return new Element$2(name, [], [], noSpan$4, noSpan$4, noSpan$4);
93048
92425
  };
93049
- const addAtrribute$3 = (node, name, value) => {
93050
- const attr = new Attribute$1(name, value, noSpan$3, noSpan$3, noSpan$3, undefined, undefined);
92426
+ const addAtrribute$4 = (node, name, value) => {
92427
+ const attr = new Attribute$1(name, value, noSpan$4, noSpan$4, noSpan$4, undefined, undefined);
93051
92428
  node.attrs.push(attr);
93052
92429
  };
93053
92430
  const getElementNode = (name, node) => {
@@ -93068,8 +92445,8 @@ const getElementNode = (name, node) => {
93068
92445
  });
93069
92446
  return elementNode;
93070
92447
  };
93071
- const noSpan$3 = {};
93072
- const idGen$8 = new IDGenerator('wm_page');
92448
+ const noSpan$4 = {};
92449
+ const idGen$9 = new IDGenerator('wm_page');
93073
92450
  register('wm-page', () => {
93074
92451
  return {
93075
92452
  template: (node) => {
@@ -93078,24 +92455,24 @@ register('wm-page', () => {
93078
92455
  pageContentNode = getElementNode('wm-page-content', getElementNode('wm-content', node));
93079
92456
  }
93080
92457
  if (pageContentNode) {
93081
- const conditionalNode = createElement$3('ng-container');
93082
- addAtrribute$3(conditionalNode, '*ngIf', 'compilePageContent');
92458
+ const conditionalNode = createElement$4('ng-container');
92459
+ addAtrribute$4(conditionalNode, '*ngIf', 'compilePageContent');
93083
92460
  conditionalNode.children = conditionalNode.children.concat(pageContentNode.children);
93084
92461
  conditionalNode.children.push(new Text$1('{{onPageContentReady()}}', null, undefined, undefined));
93085
92462
  pageContentNode.children = [conditionalNode];
93086
92463
  if (isMobileApp()) {
93087
- const loader = createElement$3('div');
93088
- addAtrribute$3(loader, 'wmPageContentLoader', '');
93089
- addAtrribute$3(loader, '*ngIf', '!showPageContent');
92464
+ const loader = createElement$4('div');
92465
+ addAtrribute$4(loader, 'wmPageContentLoader', '');
92466
+ addAtrribute$4(loader, '*ngIf', '!showPageContent');
93090
92467
  pageContentNode.children.push(loader);
93091
92468
  }
93092
92469
  }
93093
92470
  },
93094
92471
  pre: (attrs) => {
93095
- const counter = idGen$8.nextUid();
93096
- return `<${tagName$p} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
92472
+ const counter = idGen$9.nextUid();
92473
+ return `<${tagName$r} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
93097
92474
  },
93098
- post: () => `</${tagName$p}>`
92475
+ post: () => `</${tagName$r}>`
93099
92476
  };
93100
92477
  });
93101
92478
  var page_build = () => { };
@@ -93105,15 +92482,15 @@ var page_build$1 = /*#__PURE__*/Object.freeze({
93105
92482
  default: page_build
93106
92483
  });
93107
92484
 
93108
- const tagName$o = 'div';
93109
- const idGen$7 = new IDGenerator('wm_layout');
92485
+ const tagName$q = 'div';
92486
+ const idGen$8 = new IDGenerator('wm_layout');
93110
92487
  register('wm-layout', () => {
93111
92488
  return {
93112
92489
  pre: (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)}>`;
92490
+ const counter = idGen$8.nextUid();
92491
+ return `<${tagName$q} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.hint || 'Main page content'" ${getAttrMarkup(attrs)}>`;
93115
92492
  },
93116
- post: () => `</${tagName$o}>`
92493
+ post: () => `</${tagName$q}>`
93117
92494
  };
93118
92495
  });
93119
92496
  var layout_build = () => { };
@@ -93123,11 +92500,11 @@ var layout_build$1 = /*#__PURE__*/Object.freeze({
93123
92500
  default: layout_build
93124
92501
  });
93125
92502
 
93126
- const tagName$n = 'router-outlet';
92503
+ const tagName$p = 'router-outlet';
93127
92504
  register('wm-router-outlet', () => {
93128
92505
  return {
93129
- pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$n} (activate)="onActivate($event)">`,
93130
- post: () => `</${tagName$n}></div>`
92506
+ pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$p} (activate)="onActivate($event)">`,
92507
+ post: () => `</${tagName$p}></div>`
93131
92508
  };
93132
92509
  });
93133
92510
  var routerOutlet_build = () => { };
@@ -93137,11 +92514,11 @@ var routerOutlet_build$1 = /*#__PURE__*/Object.freeze({
93137
92514
  default: routerOutlet_build
93138
92515
  });
93139
92516
 
93140
- const tagName$m = 'nav';
92517
+ const tagName$o = 'nav';
93141
92518
  register('wm-pagination', () => {
93142
92519
  return {
93143
- pre: attrs => `<${tagName$m} wmPagination data-identifier="pagination" aria-label="Page navigation" ${getAttrMarkup(attrs)}>`,
93144
- post: () => `</${tagName$m}>`
92520
+ pre: attrs => `<${tagName$o} wmPagination data-identifier="pagination" aria-label="Page navigation" ${getAttrMarkup(attrs)}>`,
92521
+ post: () => `</${tagName$o}>`
93145
92522
  };
93146
92523
  });
93147
92524
  var pagination_build = () => { };
@@ -93151,11 +92528,11 @@ var pagination_build$1 = /*#__PURE__*/Object.freeze({
93151
92528
  default: pagination_build
93152
92529
  });
93153
92530
 
93154
- const tagName$l = 'main';
92531
+ const tagName$n = 'main';
93155
92532
  register('wm-content', () => {
93156
92533
  return {
93157
- pre: attrs => `<${tagName$l} wmContent data-role="page-content" role="main" ${getAttrMarkup(attrs)}>`,
93158
- post: () => `</${tagName$l}>`
92534
+ pre: attrs => `<${tagName$n} wmContent data-role="page-content" role="main" ${getAttrMarkup(attrs)}>`,
92535
+ post: () => `</${tagName$n}>`
93159
92536
  };
93160
92537
  });
93161
92538
  var content_build = () => { };
@@ -93165,15 +92542,15 @@ var content_build$1 = /*#__PURE__*/Object.freeze({
93165
92542
  default: content_build
93166
92543
  });
93167
92544
 
93168
- const tagName$k = 'footer';
93169
- const idGen$6 = new IDGenerator('wm_footer');
92545
+ const tagName$m = 'footer';
92546
+ const idGen$7 = new IDGenerator('wm_footer');
93170
92547
  register('wm-footer', () => {
93171
92548
  return {
93172
92549
  pre: (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)}>`;
92550
+ const counter = idGen$7.nextUid();
92551
+ return `<${tagName$m} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.hint || 'Page footer'" ${getAttrMarkup(attrs)}>`;
93175
92552
  },
93176
- post: () => `</${tagName$k}>`
92553
+ post: () => `</${tagName$m}>`
93177
92554
  };
93178
92555
  });
93179
92556
  var footer_build = () => { };
@@ -93183,15 +92560,15 @@ var footer_build$1 = /*#__PURE__*/Object.freeze({
93183
92560
  default: footer_build
93184
92561
  });
93185
92562
 
93186
- const tagName$j = 'header';
93187
- const idGen$5 = new IDGenerator('wm_header');
92563
+ const tagName$l = 'header';
92564
+ const idGen$6 = new IDGenerator('wm_header');
93188
92565
  register('wm-header', () => {
93189
92566
  return {
93190
92567
  pre: (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)}>`;
92568
+ const counter = idGen$6.nextUid();
92569
+ return `<${tagName$l} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.hint || 'Page header'" ${getAttrMarkup(attrs)}>`;
93193
92570
  },
93194
- post: () => `</${tagName$j}>`
92571
+ post: () => `</${tagName$l}>`
93195
92572
  };
93196
92573
  });
93197
92574
  var header_build = () => { };
@@ -93201,15 +92578,15 @@ var header_build$1 = /*#__PURE__*/Object.freeze({
93201
92578
  default: header_build
93202
92579
  });
93203
92580
 
93204
- const tagName$i = 'aside';
93205
- const idGen$4 = new IDGenerator('wm_left_panel');
92581
+ const tagName$k = 'aside';
92582
+ const idGen$5 = new IDGenerator('wm_left_panel');
93206
92583
  register('wm-left-panel', () => {
93207
92584
  return {
93208
92585
  pre: (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)}>`;
92586
+ const counter = idGen$5.nextUid();
92587
+ 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)}>`;
93211
92588
  },
93212
- post: () => `</${tagName$i}>`
92589
+ post: () => `</${tagName$k}>`
93213
92590
  };
93214
92591
  });
93215
92592
  var leftPanel_build = () => { };
@@ -93219,11 +92596,11 @@ var leftPanel_build$1 = /*#__PURE__*/Object.freeze({
93219
92596
  default: leftPanel_build
93220
92597
  });
93221
92598
 
93222
- const tagName$h = 'header';
92599
+ const tagName$j = 'header';
93223
92600
  register('wm-mobile-navbar', () => {
93224
92601
  return {
93225
- pre: attrs => `<${tagName$h} wmMobileNavbar ${getAttrMarkup(attrs)}>`,
93226
- post: () => `</${tagName$h}>`
92602
+ pre: attrs => `<${tagName$j} wmMobileNavbar ${getAttrMarkup(attrs)}>`,
92603
+ post: () => `</${tagName$j}>`
93227
92604
  };
93228
92605
  });
93229
92606
  var mobileNavbar_build = () => { };
@@ -93233,15 +92610,15 @@ var mobileNavbar_build$1 = /*#__PURE__*/Object.freeze({
93233
92610
  default: mobileNavbar_build
93234
92611
  });
93235
92612
 
93236
- const tagName$g = 'aside';
93237
- const idGen$3 = new IDGenerator('wm_right_panel');
92613
+ const tagName$i = 'aside';
92614
+ const idGen$4 = new IDGenerator('wm_right_panel');
93238
92615
  register('wm-right-panel', () => {
93239
92616
  return {
93240
92617
  pre: (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)}>`;
92618
+ const counter = idGen$4.nextUid();
92619
+ return `<${tagName$i} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.hint || 'Right navigation panel'" ${getAttrMarkup(attrs)}>`;
93243
92620
  },
93244
- post: () => `</${tagName$g}>`
92621
+ post: () => `</${tagName$i}>`
93245
92622
  };
93246
92623
  });
93247
92624
  var rightPanel_build = () => { };
@@ -93251,22 +92628,22 @@ var rightPanel_build$1 = /*#__PURE__*/Object.freeze({
93251
92628
  default: rightPanel_build
93252
92629
  });
93253
92630
 
93254
- const tagName$f = 'div';
93255
- const createElement$2 = name => {
93256
- return new Element$2(name, [], [], noSpan$2, noSpan$2, noSpan$2);
92631
+ const tagName$h = 'div';
92632
+ const createElement$3 = name => {
92633
+ return new Element$2(name, [], [], noSpan$3, noSpan$3, noSpan$3);
93257
92634
  };
93258
- const addAtrribute$2 = (node, name, value) => {
93259
- const attr = new Attribute$1(name, value, noSpan$2, noSpan$2, noSpan$2, undefined, undefined);
92635
+ const addAtrribute$3 = (node, name, value) => {
92636
+ const attr = new Attribute$1(name, value, noSpan$3, noSpan$3, noSpan$3, undefined, undefined);
93260
92637
  node.attrs.push(attr);
93261
92638
  };
93262
- const noSpan$2 = {};
92639
+ const noSpan$3 = {};
93263
92640
  register('wm-page-content', () => {
93264
92641
  return {
93265
92642
  template: (node) => {
93266
92643
  for (let attr of node.attrs) {
93267
92644
  if (attr.name === 'spa' && attr.value === 'true') {
93268
- const conditionalNode = createElement$2('ng-container');
93269
- addAtrribute$2(conditionalNode, '*ngIf', 'compilePageContent');
92645
+ const conditionalNode = createElement$3('ng-container');
92646
+ addAtrribute$3(conditionalNode, '*ngIf', 'compilePageContent');
93270
92647
  conditionalNode.children = conditionalNode.children.concat(node.children);
93271
92648
  conditionalNode.children.push(new Text$1('{{onPageContentReady()}}', null, undefined, undefined));
93272
92649
  node.children = [conditionalNode];
@@ -93274,8 +92651,8 @@ register('wm-page-content', () => {
93274
92651
  }
93275
92652
  }
93276
92653
  },
93277
- pre: attrs => `<${tagName$f} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
93278
- post: () => `</${tagName$f}>`
92654
+ pre: attrs => `<${tagName$h} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
92655
+ post: () => `</${tagName$h}>`
93279
92656
  };
93280
92657
  });
93281
92658
  var pageContent_build = () => { };
@@ -93285,11 +92662,11 @@ var pageContent_build$1 = /*#__PURE__*/Object.freeze({
93285
92662
  default: pageContent_build
93286
92663
  });
93287
92664
 
93288
- const tagName$e = 'div';
92665
+ const tagName$g = 'div';
93289
92666
  register('wm-mobile-tabbar', () => {
93290
92667
  return {
93291
- pre: attrs => `<${tagName$e} wmMobileTabbar ${getAttrMarkup(attrs)}>`,
93292
- post: () => `</${tagName$e}>`
92668
+ pre: attrs => `<${tagName$g} wmMobileTabbar ${getAttrMarkup(attrs)}>`,
92669
+ post: () => `</${tagName$g}>`
93293
92670
  };
93294
92671
  });
93295
92672
  var tabBar_build = () => { };
@@ -93299,15 +92676,15 @@ var tabBar_build$1 = /*#__PURE__*/Object.freeze({
93299
92676
  default: tabBar_build
93300
92677
  });
93301
92678
 
93302
- const tagName$d = 'section';
93303
- const idGen$2 = new IDGenerator('wm_top_nav');
92679
+ const tagName$f = 'section';
92680
+ const idGen$3 = new IDGenerator('wm_top_nav');
93304
92681
  register('wm-top-nav', () => {
93305
92682
  return {
93306
92683
  pre: (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)}>`;
92684
+ const counter = idGen$3.nextUid();
92685
+ return `<${tagName$f} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.hint || 'Second level navigation'" ${getAttrMarkup(attrs)}>`;
93309
92686
  },
93310
- post: () => `</${tagName$d}>`
92687
+ post: () => `</${tagName$f}>`
93311
92688
  };
93312
92689
  });
93313
92690
  var topNav_build = () => { };
@@ -93317,26 +92694,26 @@ var topNav_build$1 = /*#__PURE__*/Object.freeze({
93317
92694
  default: topNav_build
93318
92695
  });
93319
92696
 
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);
92697
+ const tagName$e = 'section';
92698
+ const noSpan$2 = {};
92699
+ const createElement$2 = name => {
92700
+ return new Element$2(name, [], [], noSpan$2, noSpan$2, noSpan$2);
93324
92701
  };
93325
- const addAtrribute$1 = (node, name, value) => {
93326
- const attr = new Attribute$1(name, value, noSpan$1, noSpan$1, noSpan$1, undefined, undefined);
92702
+ const addAtrribute$2 = (node, name, value) => {
92703
+ const attr = new Attribute$1(name, value, noSpan$2, noSpan$2, noSpan$2, undefined, undefined);
93327
92704
  node.attrs.push(attr);
93328
92705
  };
93329
92706
  register('wm-partial', () => {
93330
92707
  return {
93331
92708
  template: (node) => {
93332
- const conditionalNode = createElement$1('ng-container');
93333
- addAtrribute$1(conditionalNode, '*ngIf', 'compileContent');
92709
+ const conditionalNode = createElement$2('ng-container');
92710
+ addAtrribute$2(conditionalNode, '*ngIf', 'compileContent');
93334
92711
  conditionalNode.children = conditionalNode.children.concat(node.children);
93335
92712
  node.children.length = 0;
93336
92713
  node.children.push(conditionalNode);
93337
92714
  },
93338
- pre: attrs => `<${tagName$c} wmPartial data-role="partial" ${getAttrMarkup(attrs)}>`,
93339
- post: () => `</${tagName$c}>`
92715
+ pre: attrs => `<${tagName$e} wmPartial data-role="partial" ${getAttrMarkup(attrs)}>`,
92716
+ post: () => `</${tagName$e}>`
93340
92717
  };
93341
92718
  });
93342
92719
  var partial_build = () => { };
@@ -93346,11 +92723,11 @@ var partial_build$1 = /*#__PURE__*/Object.freeze({
93346
92723
  default: partial_build
93347
92724
  });
93348
92725
 
93349
- const tagName$b = 'div';
92726
+ const tagName$d = 'div';
93350
92727
  register('wm-param', () => {
93351
92728
  return {
93352
- pre: attrs => `<${tagName$b} wmParam hidden ${getAttrMarkup(attrs)}>`,
93353
- post: () => `</${tagName$b}>`
92729
+ pre: attrs => `<${tagName$d} wmParam hidden ${getAttrMarkup(attrs)}>`,
92730
+ post: () => `</${tagName$d}>`
93354
92731
  };
93355
92732
  });
93356
92733
  var partialParam_build = () => { };
@@ -93360,11 +92737,11 @@ var partialParam_build$1 = /*#__PURE__*/Object.freeze({
93360
92737
  default: partialParam_build
93361
92738
  });
93362
92739
 
93363
- const tagName$a = 'section';
92740
+ const tagName$c = 'section';
93364
92741
  register('wm-prefab', () => {
93365
92742
  return {
93366
- pre: attrs => `<${tagName$a} wmPrefab redrawable data-role="prefab" ${getAttrMarkup(attrs)}>`,
93367
- post: () => `</${tagName$a}>`
92743
+ pre: attrs => `<${tagName$c} wmPrefab redrawable data-role="prefab" ${getAttrMarkup(attrs)}>`,
92744
+ post: () => `</${tagName$c}>`
93368
92745
  };
93369
92746
  });
93370
92747
  var prefab_build = () => { };
@@ -93374,26 +92751,26 @@ var prefab_build$1 = /*#__PURE__*/Object.freeze({
93374
92751
  default: prefab_build
93375
92752
  });
93376
92753
 
93377
- const noSpan = {};
93378
- const createElement = name => {
93379
- return new Element$2(name, [], [], noSpan, noSpan, noSpan);
92754
+ const noSpan$1 = {};
92755
+ const createElement$1 = name => {
92756
+ return new Element$2(name, [], [], noSpan$1, noSpan$1, noSpan$1);
93380
92757
  };
93381
- const addAtrribute = (node, name, value) => {
93382
- const attr = new Attribute$1(name, value, noSpan, noSpan, noSpan, undefined, undefined);
92758
+ const addAtrribute$1 = (node, name, value) => {
92759
+ const attr = new Attribute$1(name, value, noSpan$1, noSpan$1, noSpan$1, undefined, undefined);
93383
92760
  node.attrs.push(attr);
93384
92761
  };
93385
- const tagName$9 = 'div';
92762
+ const tagName$b = 'div';
93386
92763
  register('wm-prefab-container', () => {
93387
92764
  return {
93388
92765
  template: (node) => {
93389
- const conditionalNode = createElement('ng-container');
93390
- addAtrribute(conditionalNode, '*ngIf', 'compileContent');
92766
+ const conditionalNode = createElement$1('ng-container');
92767
+ addAtrribute$1(conditionalNode, '*ngIf', 'compileContent');
93391
92768
  conditionalNode.children = conditionalNode.children.concat(node.children);
93392
92769
  node.children.length = 0;
93393
92770
  node.children.push(conditionalNode);
93394
92771
  },
93395
- pre: attrs => `<${tagName$9} wmPrefabContainer ${getAttrMarkup(attrs)}>`,
93396
- post: () => `</${tagName$9}>`
92772
+ pre: attrs => `<${tagName$b} wmPrefabContainer ${getAttrMarkup(attrs)}>`,
92773
+ post: () => `</${tagName$b}>`
93397
92774
  };
93398
92775
  });
93399
92776
  var prefabContainer_build = () => { };
@@ -93403,11 +92780,11 @@ var prefabContainer_build$1 = /*#__PURE__*/Object.freeze({
93403
92780
  default: prefabContainer_build
93404
92781
  });
93405
92782
 
93406
- const tagName$8 = 'div';
92783
+ const tagName$a = 'div';
93407
92784
  register('wm-table-action', () => {
93408
92785
  return {
93409
- pre: attrs => `<${tagName$8} name="${attrs.get('name') || attrs.get('key')}" wmTableAction ${getAttrMarkup(attrs)}>`,
93410
- post: () => `</${tagName$8}>`
92786
+ pre: attrs => `<${tagName$a} name="${attrs.get('name') || attrs.get('key')}" wmTableAction ${getAttrMarkup(attrs)}>`,
92787
+ post: () => `</${tagName$a}>`
93411
92788
  };
93412
92789
  });
93413
92790
  var tableAction_build = () => { };
@@ -93417,11 +92794,11 @@ var tableAction_build$1 = /*#__PURE__*/Object.freeze({
93417
92794
  default: tableAction_build
93418
92795
  });
93419
92796
 
93420
- const tagName$7 = 'div';
92797
+ const tagName$9 = 'div';
93421
92798
  register('wm-table-column-group', () => {
93422
92799
  return {
93423
- pre: attrs => `<${tagName$7} wmTableColumnGroup ${getAttrMarkup(attrs)}>`,
93424
- post: () => `</${tagName$7}>`
92800
+ pre: attrs => `<${tagName$9} wmTableColumnGroup ${getAttrMarkup(attrs)}>`,
92801
+ post: () => `</${tagName$9}>`
93425
92802
  };
93426
92803
  });
93427
92804
  var tableColumnGroup_build = () => { };
@@ -93431,8 +92808,8 @@ var tableColumnGroup_build$1 = /*#__PURE__*/Object.freeze({
93431
92808
  default: tableColumnGroup_build
93432
92809
  });
93433
92810
 
93434
- const tagName$6 = 'div';
93435
- const idGen$1 = new IDGenerator('data_table_form_');
92811
+ const tagName$8 = 'div';
92812
+ const idGen$2 = new IDGenerator('data_table_form_');
93436
92813
  const formWidgets = new Set([
93437
92814
  'wm-text',
93438
92815
  'wm-textarea',
@@ -93544,7 +92921,7 @@ const getInlineEditWidgetTmpl = (attrs, isNewRow, errorstyle, pCounter) => {
93544
92921
  let wmFormWidget = '';
93545
92922
  if (widget === FormWidgetType.UPLOAD) {
93546
92923
  options.uploadProps = {
93547
- formName: idGen$1.nextUid(),
92924
+ formName: idGen$2.nextUid(),
93548
92925
  name: fieldName
93549
92926
  };
93550
92927
  options.counter = pCounter;
@@ -93684,7 +93061,7 @@ register('wm-table-column', () => {
93684
93061
  customExprTmpl = `${customExpr}<div data-col-identifier="${attrs.get('binding')}" title="${formatExprTmpl}">${formatExprTmpl}`;
93685
93062
  }
93686
93063
  }
93687
- return `<${tagName$6} wmTableColumn ${getAttrMarkup(attrs)} ${parentForm}>
93064
+ return `<${tagName$8} wmTableColumn ${getAttrMarkup(attrs)} ${parentForm}>
93688
93065
  ${rowFilterTmpl}
93689
93066
  ${inlineEditTmpl}
93690
93067
  ${inlineNewEditTmpl}
@@ -93695,7 +93072,7 @@ register('wm-table-column', () => {
93695
93072
  if (shared.get('customExpression')) {
93696
93073
  customExprTmpl = `</div></ng-template>`;
93697
93074
  }
93698
- return `${customExprTmpl}</${tagName$6}>`;
93075
+ return `${customExprTmpl}</${tagName$8}>`;
93699
93076
  },
93700
93077
  imports: (attrs) => {
93701
93078
  const editWidgetType = attrs.get('edit-widget-type');
@@ -93711,7 +93088,7 @@ var tableColumn_build$1 = /*#__PURE__*/Object.freeze({
93711
93088
  default: tableColumn_build
93712
93089
  });
93713
93090
 
93714
- const tagName$5 = 'div';
93091
+ const tagName$7 = 'div';
93715
93092
  const getRowExpansionActionTmpl = (attrs) => {
93716
93093
  const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';
93717
93094
  const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';
@@ -93727,7 +93104,7 @@ const getRowExpansionActionTmpl = (attrs) => {
93727
93104
  register('wm-table-row', () => {
93728
93105
  return {
93729
93106
  pre: (attrs) => {
93730
- return `<${tagName$5} wmTableRow ${getAttrMarkup(attrs)}>
93107
+ return `<${tagName$7} wmTableRow ${getAttrMarkup(attrs)}>
93731
93108
  ${getRowExpansionActionTmpl(attrs)}
93732
93109
  <ng-template #rowExpansionTmpl let-row="row" let-rowDef="rowDef" let-containerLoad="containerLoad">
93733
93110
  <div wmContainer partialContainer content.bind="rowDef.content" load.event="containerLoad(widget)"
@@ -93735,7 +93112,7 @@ register('wm-table-row', () => {
93735
93112
  <div *ngFor="let param of rowDef.partialParams | keyvalue" wmParam hidden
93736
93113
  [name]="param.key" [value]="param.value"></div>`;
93737
93114
  },
93738
- post: () => `</div></ng-template></${tagName$5}>`
93115
+ post: () => `</div></ng-template></${tagName$7}>`
93739
93116
  };
93740
93117
  });
93741
93118
  var tableRow_build = () => { };
@@ -93745,7 +93122,7 @@ var tableRow_build$1 = /*#__PURE__*/Object.freeze({
93745
93122
  default: tableRow_build
93746
93123
  });
93747
93124
 
93748
- const tagName$4 = 'div';
93125
+ const tagName$6 = 'div';
93749
93126
  const getSaveCancelTemplate = () => {
93750
93127
  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">
93751
93128
  <i class="wi wi-done" aria-hidden="true"></i>
@@ -93777,9 +93154,9 @@ const getRowActionTmpl = (attrs) => {
93777
93154
  };
93778
93155
  register('wm-table-row-action', () => {
93779
93156
  return {
93780
- pre: attrs => `<${tagName$4} wmTableRowAction ${getAttrMarkup(attrs)}>
93157
+ pre: attrs => `<${tagName$6} wmTableRowAction ${getAttrMarkup(attrs)}>
93781
93158
  ${getRowActionTmpl(attrs)}`,
93782
- post: () => `</${tagName$4}>`
93159
+ post: () => `</${tagName$6}>`
93783
93160
  };
93784
93161
  });
93785
93162
  var tableRowAction_build = () => { };
@@ -93789,9 +93166,9 @@ var tableRowAction_build$1 = /*#__PURE__*/Object.freeze({
93789
93166
  default: tableRowAction_build
93790
93167
  });
93791
93168
 
93792
- const tagName$3 = 'div';
93169
+ const tagName$5 = 'div';
93793
93170
  const dataSetKey = 'dataset';
93794
- const idGen = new IDGenerator('table_');
93171
+ const idGen$1 = new IDGenerator('table_');
93795
93172
  let columnIndex = 0;
93796
93173
  /**
93797
93174
  * This method assigns index to the table-column and column-groups in order to the maintain the columns in the same order
@@ -93851,14 +93228,14 @@ register('wm-table', () => {
93851
93228
  updateTemplateAttrs(node, boundExpr, widgetNameAttr.value, '', 'row');
93852
93229
  },
93853
93230
  pre: (attrs, shared) => {
93854
- const counter = idGen.nextUid();
93231
+ const counter = idGen$1.nextUid();
93855
93232
  shared.set('counter', counter);
93856
93233
  attrs.set('isdynamictable', shared.get('isdynamictable'));
93857
93234
  attrs.set('isrowexpansionenabled', shared.get('isrowexpansionenabled'));
93858
93235
  attrs.set('table_reference', counter);
93859
- return `<${tagName$3} wmTable="${counter}" wmTableFilterSort wmTableCUD #${counter} data-identifier="table" ${getAttrMarkup(attrs)}>`;
93236
+ return `<${tagName$5} wmTable="${counter}" wmTableFilterSort wmTableCUD #${counter} data-identifier="table" ${getAttrMarkup(attrs)}>`;
93860
93237
  },
93861
- post: () => `</${tagName$3}>`,
93238
+ post: () => `</${tagName$5}>`,
93862
93239
  provide: (attrs, shared) => {
93863
93240
  const provider = new Map();
93864
93241
  provider.set('table_reference', shared.get('counter'));
@@ -93877,11 +93254,11 @@ var table_build$1 = /*#__PURE__*/Object.freeze({
93877
93254
  default: table_build
93878
93255
  });
93879
93256
 
93880
- const tagName$2 = 'div';
93257
+ const tagName$4 = 'div';
93881
93258
  register('wm-video', () => {
93882
93259
  return {
93883
- pre: attrs => `<${tagName$2} wmVideo ${getAttrMarkup(attrs)}>`,
93884
- post: () => `</${tagName$2}>`
93260
+ pre: attrs => `<${tagName$4} wmVideo ${getAttrMarkup(attrs)}>`,
93261
+ post: () => `</${tagName$4}>`
93885
93262
  };
93886
93263
  });
93887
93264
  var video_build = () => { };
@@ -93891,7 +93268,7 @@ var video_build$1 = /*#__PURE__*/Object.freeze({
93891
93268
  default: video_build
93892
93269
  });
93893
93270
 
93894
- const tagName$1 = 'div';
93271
+ const tagName$3 = 'div';
93895
93272
  const SPACING_KEY = 'parentLinearLayout.spacing';
93896
93273
  register('wm-linearlayout', () => {
93897
93274
  return {
@@ -93899,9 +93276,9 @@ register('wm-linearlayout', () => {
93899
93276
  pre: (attrs, shared, provider) => {
93900
93277
  let spacing = attrs.get('spacing');
93901
93278
  attrs.set('spacing', (!spacing || spacing === '0') && provider ? provider.get(SPACING_KEY) : spacing);
93902
- return `<${tagName$1} wmLinearLayout ${getAttrMarkup(attrs)}>`;
93279
+ return `<${tagName$3} wmLinearLayout ${getAttrMarkup(attrs)}>`;
93903
93280
  },
93904
- post: () => `</${tagName$1}>`,
93281
+ post: () => `</${tagName$3}>`,
93905
93282
  provide: (attrs, shared) => {
93906
93283
  const provider = new Map();
93907
93284
  provider.set(SPACING_KEY, attrs.get('spacing'));
@@ -93916,11 +93293,11 @@ var linearLayout_build$1 = /*#__PURE__*/Object.freeze({
93916
93293
  default: linearLayout_build
93917
93294
  });
93918
93295
 
93919
- const tagName = 'div';
93296
+ const tagName$2 = 'div';
93920
93297
  register('wm-linearlayoutitem', () => {
93921
93298
  return {
93922
- pre: attrs => `<${tagName} wmLinearLayoutItem ${getAttrMarkup(attrs)}>`,
93923
- post: () => `</${tagName}>`
93299
+ pre: attrs => `<${tagName$2} wmLinearLayoutItem ${getAttrMarkup(attrs)}>`,
93300
+ post: () => `</${tagName$2}>`
93924
93301
  };
93925
93302
  });
93926
93303
  var linearLayoutItem_build = () => { };
@@ -93930,6 +93307,49 @@ var linearLayoutItem_build$1 = /*#__PURE__*/Object.freeze({
93930
93307
  default: linearLayoutItem_build
93931
93308
  });
93932
93309
 
93310
+ const tagName$1 = 'div';
93311
+ const idGen = new IDGenerator('wm_custom_widget');
93312
+ register('wm-custom-widget', () => {
93313
+ return {
93314
+ pre: (attrs) => {
93315
+ const counter = idGen.nextUid();
93316
+ return `<${tagName$1} wmWidgetContainer customWidgetContainer #${counter}="wmWidgetContainer" ${getAttrMarkup(attrs)}>`;
93317
+ },
93318
+ post: () => `</${tagName$1}>`
93319
+ };
93320
+ });
93321
+ var customWidgetContainer_build = () => { };
93322
+
93323
+ var customWidgetContainer_build$1 = /*#__PURE__*/Object.freeze({
93324
+ __proto__: null,
93325
+ default: customWidgetContainer_build
93326
+ });
93327
+
93328
+ const tagName = 'section';
93329
+ const noSpan = {};
93330
+ const createElement = name => {
93331
+ return new Element$2(name, [], [], noSpan, noSpan, noSpan);
93332
+ };
93333
+ register('wm-custom-widget-container', () => {
93334
+ return {
93335
+ template: (node) => {
93336
+ const conditionalNode = createElement('ng-container');
93337
+ // addAtrribute(conditionalNode, '*ngIf', 'compileContent');
93338
+ conditionalNode.children = conditionalNode.children.concat(node.children);
93339
+ node.children.length = 0;
93340
+ node.children.push(conditionalNode);
93341
+ },
93342
+ pre: attrs => `<${tagName} wmCustomWidget data-role="widget" ${getAttrMarkup(attrs)}>`,
93343
+ post: () => `</${tagName}>`
93344
+ };
93345
+ });
93346
+ var customWidgetWrapper_build = () => { };
93347
+
93348
+ var customWidgetWrapper_build$1 = /*#__PURE__*/Object.freeze({
93349
+ __proto__: null,
93350
+ default: customWidgetWrapper_build
93351
+ });
93352
+
93933
93353
  const initComponentsBuildTask = () => { };
93934
93354
 
93935
93355
  exports.WIDGET_IMPORTS = WIDGET_IMPORTS;
@@ -93961,6 +93381,8 @@ exports.confirmDlgBuild = confirmDialog_build$1;
93961
93381
  exports.containerBuild = container_build$1;
93962
93382
  exports.contentBuild = content_build$1;
93963
93383
  exports.currencyBuild = currency_build$1;
93384
+ exports.customWidgetBuild = customWidgetContainer_build$1;
93385
+ exports.customWidgetWrapperBuild = customWidgetWrapper_build$1;
93964
93386
  exports.dateBuild = date_build$1;
93965
93387
  exports.dateTimeBuild = dateTime_build$1;
93966
93388
  exports.dlgBuild = dialog_build$1;