@wavemaker/angular-codegen 12.0.0-next.141131 → 12.0.0-next.141138
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- angular-codegen/angular-app/angular.json +13 -1
- angular-codegen/angular-app/build-scripts/update-version.js +24 -0
- angular-codegen/angular-app/package-lock.json +8431 -10702
- angular-codegen/angular-app/package.json +18 -14
- angular-codegen/angular-app/src/assets/styles/css/wm-style.css +1 -1
- angular-codegen/angular-app/src/framework/util/page-util.ts +1 -3
- angular-codegen/angular-app/src/setup-jest.js +1 -0
- angular-codegen/angular-app/tsconfig.json +0 -3
- angular-codegen/dependencies/expression-parser.cjs.js +1 -40
- angular-codegen/dependencies/pipe-provider.cjs.js +41 -303
- angular-codegen/dependencies/transpilation-mobile.cjs.js +418 -598
- angular-codegen/dependencies/transpilation-web.cjs.js +418 -598
- angular-codegen/package.json +1 -1
- angular-codegen/src/codegen.js +1 -1
- angular-codegen/src/gen-components.js +1 -1
- angular-codegen/src/gen-index-html.js +1 -1
- angular-codegen/src/handlebar-helpers.js +1 -1
- angular-codegen/src/pages-util.js +1 -1
- angular-codegen/src/update-angular-json.js +1 -1
- angular-codegen/templates/app.module.ts.hbs +1 -5
- angular-codegen/templates/page/page.module.ts.hbs +0 -11
- angular-codegen/angular-app/src/framework/services/customwidget-config-provider.service.ts +0 -13
- angular-codegen/dependencies/custom-widgets-bundle.cjs.js +0 -390
- angular-codegen/src/gen-customwidget-config.js +0 -1
- angular-codegen/templates/component.config.ts.hbs +0 -1
- angular-codegen/templates/customwidget/customwidget-config.ts.hbs +0 -6
- angular-codegen/templates/customwidget/customwidget.component.script.js.hbs +0 -3
- angular-codegen/templates/customwidget/customwidget.component.ts.hbs +0 -42
|
@@ -4975,45 +4975,6 @@ class AbstractJsEmitterVisitor extends AbstractEmitterVisitor {
|
|
|
4975
4975
|
this.visitAllObjects(param => ctx.print(null, param.name), params, ctx, ',');
|
|
4976
4976
|
}
|
|
4977
4977
|
}
|
|
4978
|
-
|
|
4979
|
-
/**
|
|
4980
|
-
* @fileoverview
|
|
4981
|
-
* A module to facilitate use of a Trusted Types policy within the JIT
|
|
4982
|
-
* compiler. It lazily constructs the Trusted Types policy, providing helper
|
|
4983
|
-
* utilities for promoting strings to Trusted Types. When Trusted Types are not
|
|
4984
|
-
* available, strings are used as a fallback.
|
|
4985
|
-
* @security All use of this module is security-sensitive and should go through
|
|
4986
|
-
* security review.
|
|
4987
|
-
*/
|
|
4988
|
-
/**
|
|
4989
|
-
* The Trusted Types policy, or null if Trusted Types are not
|
|
4990
|
-
* enabled/supported, or undefined if the policy has not been created yet.
|
|
4991
|
-
*/
|
|
4992
|
-
let policy$2;
|
|
4993
|
-
/**
|
|
4994
|
-
* Returns the Trusted Types policy, or null if Trusted Types are not
|
|
4995
|
-
* enabled/supported. The first call to this function will create the policy.
|
|
4996
|
-
*/
|
|
4997
|
-
function getPolicy$2() {
|
|
4998
|
-
if (policy$2 === undefined) {
|
|
4999
|
-
const trustedTypes = _global$1['trustedTypes'];
|
|
5000
|
-
policy$2 = null;
|
|
5001
|
-
if (trustedTypes) {
|
|
5002
|
-
try {
|
|
5003
|
-
policy$2 = trustedTypes.createPolicy('angular#unsafe-jit', {
|
|
5004
|
-
createScript: (s) => s,
|
|
5005
|
-
});
|
|
5006
|
-
}
|
|
5007
|
-
catch {
|
|
5008
|
-
// trustedTypes.createPolicy throws if called with a name that is
|
|
5009
|
-
// already registered, even in report-only mode. Until the API changes,
|
|
5010
|
-
// catch the error not to break the applications functionally. In such
|
|
5011
|
-
// cases, the code will fall back to using strings.
|
|
5012
|
-
}
|
|
5013
|
-
}
|
|
5014
|
-
}
|
|
5015
|
-
return policy$2;
|
|
5016
|
-
}
|
|
5017
4978
|
/**
|
|
5018
4979
|
* Unsafely promote a string to a TrustedScript, falling back to strings when
|
|
5019
4980
|
* Trusted Types are not available.
|
|
@@ -5022,7 +4983,7 @@ function getPolicy$2() {
|
|
|
5022
4983
|
* interpreted and executed as a script by a browser, e.g. when calling eval.
|
|
5023
4984
|
*/
|
|
5024
4985
|
function trustedScriptFromString(script) {
|
|
5025
|
-
return
|
|
4986
|
+
return script;
|
|
5026
4987
|
}
|
|
5027
4988
|
/**
|
|
5028
4989
|
* Unsafely call the Function constructor with the given string arguments.
|
|
@@ -49235,46 +49196,6 @@ const PRESERVE_HOST_CONTENT = new InjectionToken((typeof ngDevMode === 'undefine
|
|
|
49235
49196
|
* is enabled.
|
|
49236
49197
|
*/
|
|
49237
49198
|
const IS_I18N_HYDRATION_ENABLED = new InjectionToken((typeof ngDevMode === 'undefined' || !!ngDevMode ? 'IS_I18N_HYDRATION_ENABLED' : ''));
|
|
49238
|
-
|
|
49239
|
-
/**
|
|
49240
|
-
* @fileoverview
|
|
49241
|
-
* A module to facilitate use of a Trusted Types policy internally within
|
|
49242
|
-
* Angular. It lazily constructs the Trusted Types policy, providing helper
|
|
49243
|
-
* utilities for promoting strings to Trusted Types. When Trusted Types are not
|
|
49244
|
-
* available, strings are used as a fallback.
|
|
49245
|
-
* @security All use of this module is security-sensitive and should go through
|
|
49246
|
-
* security review.
|
|
49247
|
-
*/
|
|
49248
|
-
/**
|
|
49249
|
-
* The Trusted Types policy, or null if Trusted Types are not
|
|
49250
|
-
* enabled/supported, or undefined if the policy has not been created yet.
|
|
49251
|
-
*/
|
|
49252
|
-
let policy$1;
|
|
49253
|
-
/**
|
|
49254
|
-
* Returns the Trusted Types policy, or null if Trusted Types are not
|
|
49255
|
-
* enabled/supported. The first call to this function will create the policy.
|
|
49256
|
-
*/
|
|
49257
|
-
function getPolicy$1() {
|
|
49258
|
-
if (policy$1 === undefined) {
|
|
49259
|
-
policy$1 = null;
|
|
49260
|
-
if (_global.trustedTypes) {
|
|
49261
|
-
try {
|
|
49262
|
-
policy$1 = _global.trustedTypes.createPolicy('angular', {
|
|
49263
|
-
createHTML: (s) => s,
|
|
49264
|
-
createScript: (s) => s,
|
|
49265
|
-
createScriptURL: (s) => s,
|
|
49266
|
-
});
|
|
49267
|
-
}
|
|
49268
|
-
catch {
|
|
49269
|
-
// trustedTypes.createPolicy throws if called with a name that is
|
|
49270
|
-
// already registered, even in report-only mode. Until the API changes,
|
|
49271
|
-
// catch the error not to break the applications functionally. In such
|
|
49272
|
-
// cases, the code will fall back to using strings.
|
|
49273
|
-
}
|
|
49274
|
-
}
|
|
49275
|
-
}
|
|
49276
|
-
return policy$1;
|
|
49277
|
-
}
|
|
49278
49199
|
/**
|
|
49279
49200
|
* Unsafely promote a string to a TrustedHTML, falling back to strings when
|
|
49280
49201
|
* Trusted Types are not available.
|
|
@@ -49285,7 +49206,7 @@ function getPolicy$1() {
|
|
|
49285
49206
|
* element.innerHTML.
|
|
49286
49207
|
*/
|
|
49287
49208
|
function trustedHTMLFromString(html) {
|
|
49288
|
-
return
|
|
49209
|
+
return html;
|
|
49289
49210
|
}
|
|
49290
49211
|
/**
|
|
49291
49212
|
* Unsafely promote a string to a TrustedScriptURL, falling back to strings
|
|
@@ -49297,49 +49218,7 @@ function trustedHTMLFromString(html) {
|
|
|
49297
49218
|
* assigning to script.src.
|
|
49298
49219
|
*/
|
|
49299
49220
|
function trustedScriptURLFromString(url) {
|
|
49300
|
-
return
|
|
49301
|
-
}
|
|
49302
|
-
|
|
49303
|
-
/**
|
|
49304
|
-
* @fileoverview
|
|
49305
|
-
* A module to facilitate use of a Trusted Types policy internally within
|
|
49306
|
-
* Angular specifically for bypassSecurityTrust* and custom sanitizers. It
|
|
49307
|
-
* lazily constructs the Trusted Types policy, providing helper utilities for
|
|
49308
|
-
* promoting strings to Trusted Types. When Trusted Types are not available,
|
|
49309
|
-
* strings are used as a fallback.
|
|
49310
|
-
* @security All use of this module is security-sensitive and should go through
|
|
49311
|
-
* security review.
|
|
49312
|
-
*/
|
|
49313
|
-
/**
|
|
49314
|
-
* The Trusted Types policy, or null if Trusted Types are not
|
|
49315
|
-
* enabled/supported, or undefined if the policy has not been created yet.
|
|
49316
|
-
*/
|
|
49317
|
-
let policy;
|
|
49318
|
-
/**
|
|
49319
|
-
* Returns the Trusted Types policy, or null if Trusted Types are not
|
|
49320
|
-
* enabled/supported. The first call to this function will create the policy.
|
|
49321
|
-
*/
|
|
49322
|
-
function getPolicy() {
|
|
49323
|
-
if (policy === undefined) {
|
|
49324
|
-
policy = null;
|
|
49325
|
-
if (_global.trustedTypes) {
|
|
49326
|
-
try {
|
|
49327
|
-
policy = _global.trustedTypes
|
|
49328
|
-
.createPolicy('angular#unsafe-bypass', {
|
|
49329
|
-
createHTML: (s) => s,
|
|
49330
|
-
createScript: (s) => s,
|
|
49331
|
-
createScriptURL: (s) => s,
|
|
49332
|
-
});
|
|
49333
|
-
}
|
|
49334
|
-
catch {
|
|
49335
|
-
// trustedTypes.createPolicy throws if called with a name that is
|
|
49336
|
-
// already registered, even in report-only mode. Until the API changes,
|
|
49337
|
-
// catch the error not to break the applications functionally. In such
|
|
49338
|
-
// cases, the code will fall back to using strings.
|
|
49339
|
-
}
|
|
49340
|
-
}
|
|
49341
|
-
}
|
|
49342
|
-
return policy;
|
|
49221
|
+
return url;
|
|
49343
49222
|
}
|
|
49344
49223
|
/**
|
|
49345
49224
|
* Unsafely promote a string to a TrustedHTML, falling back to strings when
|
|
@@ -49350,7 +49229,7 @@ function getPolicy() {
|
|
|
49350
49229
|
* bypassSecurityTrust* functions.
|
|
49351
49230
|
*/
|
|
49352
49231
|
function trustedHTMLFromStringBypass(html) {
|
|
49353
|
-
return
|
|
49232
|
+
return html;
|
|
49354
49233
|
}
|
|
49355
49234
|
/**
|
|
49356
49235
|
* Unsafely promote a string to a TrustedScript, falling back to strings when
|
|
@@ -49361,7 +49240,7 @@ function trustedHTMLFromStringBypass(html) {
|
|
|
49361
49240
|
* bypassSecurityTrust* functions.
|
|
49362
49241
|
*/
|
|
49363
49242
|
function trustedScriptFromStringBypass(script) {
|
|
49364
|
-
return
|
|
49243
|
+
return script;
|
|
49365
49244
|
}
|
|
49366
49245
|
/**
|
|
49367
49246
|
* Unsafely promote a string to a TrustedScriptURL, falling back to strings
|
|
@@ -49372,7 +49251,7 @@ function trustedScriptFromStringBypass(script) {
|
|
|
49372
49251
|
* bypassSecurityTrust* functions.
|
|
49373
49252
|
*/
|
|
49374
49253
|
function trustedScriptURLFromStringBypass(url) {
|
|
49375
|
-
return
|
|
49254
|
+
return url;
|
|
49376
49255
|
}
|
|
49377
49256
|
|
|
49378
49257
|
class SafeValueImpl {
|
|
@@ -86149,7 +86028,6 @@ var FormWidgetType;
|
|
|
86149
86028
|
FormWidgetType["TIMESTAMP"] = "timestamp";
|
|
86150
86029
|
FormWidgetType["TYPEAHEAD"] = "typeahead";
|
|
86151
86030
|
FormWidgetType["UPLOAD"] = "upload";
|
|
86152
|
-
FormWidgetType["CUSTOM"] = "custom";
|
|
86153
86031
|
})(FormWidgetType || (FormWidgetType = {}));
|
|
86154
86032
|
var DataType;
|
|
86155
86033
|
(function (DataType) {
|
|
@@ -86226,7 +86104,7 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
|
|
|
86226
86104
|
tmpl = `<ul role="group" wmCheckboxset ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} ${showTmpl}></ul>`;
|
|
86227
86105
|
break;
|
|
86228
86106
|
case FormWidgetType.CHIPS:
|
|
86229
|
-
tmpl = `<ul wmChips
|
|
86107
|
+
tmpl = `<ul wmChips debouncetime="${attrs.get('debouncetime')}" ${innerTmpl} ${showTmpl}></ul>`;
|
|
86230
86108
|
break;
|
|
86231
86109
|
case FormWidgetType.COLORPICKER:
|
|
86232
86110
|
tmpl = `<div wmColorPicker ${attrs.get('required') === 'true' ? 'required=true' : ''} ${innerTmpl} ${showTmpl}></div>`;
|
|
@@ -86241,10 +86119,10 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
|
|
|
86241
86119
|
tmpl = `<div wmDateTime ${attrs.get('required') === 'true' ? 'required=true' : ''} dataentrymode="${attrs.get('dataentrymode')}" ${innerTmpl} ${showTmpl}></div>`;
|
|
86242
86120
|
break;
|
|
86243
86121
|
case FormWidgetType.NUMBER:
|
|
86244
|
-
tmpl = `<div wmNumber ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="number"
|
|
86122
|
+
tmpl = `<div wmNumber ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="number" ${updateOnTmpl} ${showTmpl}></div>`;
|
|
86245
86123
|
break;
|
|
86246
86124
|
case FormWidgetType.PASSWORD:
|
|
86247
|
-
tmpl = `<wm-input ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="password"
|
|
86125
|
+
tmpl = `<wm-input ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="password" ${updateOnTmpl} ${showTmpl}></wm-input>`;
|
|
86248
86126
|
break;
|
|
86249
86127
|
case FormWidgetType.RADIOSET:
|
|
86250
86128
|
tmpl = `<ul role="radiogroup" wmRadioset ${innerTmpl} ${showTmpl}></ul>`;
|
|
@@ -86259,7 +86137,7 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
|
|
|
86259
86137
|
tmpl = `<wm-select ${attrs.get('required') === 'true' ? 'required=true' : ''} ${innerTmpl} ${showTmpl}></wm-select>`;
|
|
86260
86138
|
break;
|
|
86261
86139
|
case FormWidgetType.TOGGLE:
|
|
86262
|
-
tmpl = `<div wmCheckbox ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="toggle"
|
|
86140
|
+
tmpl = `<div wmCheckbox ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="toggle" ${showTmpl}></div>`;
|
|
86263
86141
|
break;
|
|
86264
86142
|
case FormWidgetType.SLIDER:
|
|
86265
86143
|
tmpl = `<div wmSlider ${innerTmpl} ${showTmpl}></div>`;
|
|
@@ -86272,16 +86150,13 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
|
|
|
86272
86150
|
tmpl = `<wm-input ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="${attrs.get(inputType) || 'text'}" ${updateOnTmpl} ${showTmpl}></wm-input>`;
|
|
86273
86151
|
break;
|
|
86274
86152
|
case FormWidgetType.TEXTAREA:
|
|
86275
|
-
tmpl = `<wm-textarea ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''}
|
|
86153
|
+
tmpl = `<wm-textarea ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} ${updateOnTmpl} ${showTmpl}></wm-textarea>`;
|
|
86276
86154
|
break;
|
|
86277
86155
|
case FormWidgetType.TIME:
|
|
86278
86156
|
tmpl = `<div wmTime ${attrs.get('required') === 'true' ? 'required=true' : ''} dataentrymode="${attrs.get('dataentrymode')}" ${innerTmpl} ${showTmpl}></div>`;
|
|
86279
86157
|
break;
|
|
86280
86158
|
case FormWidgetType.TIMESTAMP:
|
|
86281
|
-
tmpl = `<div wmDateTime ${attrs.get('required') === 'true' ? 'required=true' : ''} dataentrymode="${attrs.get('dataentrymode')}" ${innerTmpl}
|
|
86282
|
-
break;
|
|
86283
|
-
case FormWidgetType.CUSTOM:
|
|
86284
|
-
tmpl = `<div wmWidgetContainer customWidgetContainer ${attrs.get('required') === 'true' ? 'required=true' : ''} ${innerTmpl} ${showTmpl}></div>`;
|
|
86159
|
+
tmpl = `<div wmDateTime ${attrs.get('required') === 'true' ? 'required=true' : ''} dataentrymode="${attrs.get('dataentrymode')}" ${innerTmpl} ${showTmpl}></div>`;
|
|
86285
86160
|
break;
|
|
86286
86161
|
case FormWidgetType.UPLOAD:
|
|
86287
86162
|
const counter = options.counter;
|
|
@@ -86333,8 +86208,6 @@ const getRequiredFormWidget = (widgetType) => {
|
|
|
86333
86208
|
return 'wm-richtexteditor';
|
|
86334
86209
|
case FormWidgetType.SLIDER:
|
|
86335
86210
|
return 'wm-slider';
|
|
86336
|
-
case FormWidgetType.CUSTOM:
|
|
86337
|
-
return 'wm-custom-widget';
|
|
86338
86211
|
default:
|
|
86339
86212
|
return 'wm-text';
|
|
86340
86213
|
}
|
|
@@ -87072,7 +86945,6 @@ var ComponentType;
|
|
|
87072
86945
|
ComponentType[ComponentType["PAGE"] = 0] = "PAGE";
|
|
87073
86946
|
ComponentType[ComponentType["PREFAB"] = 1] = "PREFAB";
|
|
87074
86947
|
ComponentType[ComponentType["PARTIAL"] = 2] = "PARTIAL";
|
|
87075
|
-
ComponentType[ComponentType["WIDGET"] = 3] = "WIDGET";
|
|
87076
86948
|
})(ComponentType || (ComponentType = {}));
|
|
87077
86949
|
var Operation;
|
|
87078
86950
|
(function (Operation) {
|
|
@@ -87130,7 +87002,6 @@ const REGEX = {
|
|
|
87130
87002
|
IPOD: /iPod/i,
|
|
87131
87003
|
IPAD: /iPad/i,
|
|
87132
87004
|
MAC: /Mac/i,
|
|
87133
|
-
MACINTEL: /MacIntel/i,
|
|
87134
87005
|
ANDROID_TABLET: /android|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i,
|
|
87135
87006
|
MOBILE: /Mobile/i,
|
|
87136
87007
|
WINDOWS: /Windows Phone/i,
|
|
@@ -87160,14 +87031,6 @@ const REGEX = {
|
|
|
87160
87031
|
const NUMBER_TYPES = ['int', DataType.INTEGER, DataType.FLOAT, DataType.DOUBLE, DataType.LONG, DataType.SHORT, DataType.BYTE, DataType.BIG_INTEGER, DataType.BIG_DECIMAL];
|
|
87161
87032
|
const now = new Date();
|
|
87162
87033
|
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
|
-
};
|
|
87171
87034
|
const isDefined = v => 'undefined' !== typeof v;
|
|
87172
87035
|
const isObject = v => null !== v && 'object' === typeof v;
|
|
87173
87036
|
const toBoolean = (val, identity) => ((val && val !== 'false') ? true : (identity ? val === identity : false));
|
|
@@ -87182,9 +87045,10 @@ const isAndroidTablet = () => REGEX.ANDROID_TABLET.test(userAgent) && !((/Tablet
|
|
|
87182
87045
|
const isIphone = () => REGEX.IPHONE.test(userAgent);
|
|
87183
87046
|
const isIpod = () => REGEX.IPOD.test(userAgent);
|
|
87184
87047
|
const isIpad = () => {
|
|
87185
|
-
return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 &&
|
|
87048
|
+
return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && REGEX.MAC.test(window.navigator.platform));
|
|
87186
87049
|
};
|
|
87187
87050
|
const isIos = () => isIphone() || isIpod() || isIpad();
|
|
87051
|
+
const isSafari = () => navigator.userAgent.indexOf('Safari') !== -1 && navigator.userAgent.indexOf('Chrome') === -1;
|
|
87188
87052
|
const isLargeTabletLandscape = (landScapeWidth, landScapeHeight) => {
|
|
87189
87053
|
const width = landScapeWidth || '1366px';
|
|
87190
87054
|
const height = landScapeHeight || '1024px';
|
|
@@ -87406,7 +87270,7 @@ const getFormattedDate = (datePipe, dateObj, format, timeZone, isTimeStampType,
|
|
|
87406
87270
|
if (format === 'UTC') {
|
|
87407
87271
|
return new Date(dateObj).toISOString();
|
|
87408
87272
|
}
|
|
87409
|
-
if (timeZone) {
|
|
87273
|
+
if (timeZone && timeZone !== moment.defaultZone?.name) {
|
|
87410
87274
|
const momentFormat = format.replaceAll('y', 'Y').replaceAll('d', 'D').replace('a', 'A');
|
|
87411
87275
|
if (isIntervalDateTime) { // dates which are of type time widget (value is hh:mm:ss) but returned as date string from time comp
|
|
87412
87276
|
return moment(dateObj).format(momentFormat);
|
|
@@ -88615,11 +88479,9 @@ var Utils = /*#__PURE__*/Object.freeze({
|
|
|
88615
88479
|
getFormattedDate: getFormattedDate,
|
|
88616
88480
|
getMomentLocaleObject: getMomentLocaleObject,
|
|
88617
88481
|
getNativeDateObject: getNativeDateObject,
|
|
88618
|
-
getNavClass: getNavClass,
|
|
88619
88482
|
getResourceURL: getResourceURL,
|
|
88620
88483
|
getRouteNameFromLink: getRouteNameFromLink,
|
|
88621
88484
|
getSessionStorageItem: getSessionStorageItem,
|
|
88622
|
-
getSheetPositionClass: getSheetPositionClass,
|
|
88623
88485
|
getUrlParams: getUrlParams,
|
|
88624
88486
|
getValidDateObject: getValidDateObject,
|
|
88625
88487
|
getValidJSON: getValidJSON,
|
|
@@ -88652,6 +88514,7 @@ var Utils = /*#__PURE__*/Object.freeze({
|
|
|
88652
88514
|
isNumberType: isNumberType,
|
|
88653
88515
|
isObject: isObject,
|
|
88654
88516
|
isPageable: isPageable,
|
|
88517
|
+
isSafari: isSafari,
|
|
88655
88518
|
isTablet: isTablet,
|
|
88656
88519
|
isValidWebURL: isValidWebURL,
|
|
88657
88520
|
isVideoFile: isVideoFile,
|
|
@@ -89889,7 +89752,6 @@ const LEFT_PANEL_MODULE = [{ from: '@wm/components/page/left-panel', name: 'Left
|
|
|
89889
89752
|
{ from: '@wm/mobile/components/page/left-panel', name: 'LeftPanelModule', as: 'WM_MobileLeftPanelModule', platformType: 'MOBILE' }];
|
|
89890
89753
|
const LIST_MODULE = [...PAGINATION_MODULE, ...INPUT_MODULE, { from: '@wm/components/data/list', name: 'ListModule' }];
|
|
89891
89754
|
const LOGIN_MODULE = [{ from: '@wm/components/advanced/login', name: 'LoginModule' }];
|
|
89892
|
-
const CUSTOM_MODULE = [{ from: '@wm/components/advanced/custom', name: 'CustomModule' }];
|
|
89893
89755
|
const MOBILE_NAV_BAR_MODULE = [...LEFT_PANEL_MODULE, ...SEARCH_MODULE, ...PAGE_MODULE, { from: '@wm/mobile/components/page/mobile-navbar', name: 'MobileNavbarModule' }];
|
|
89894
89756
|
const MEDIA_LIST_MODULE = [...BASIC_MODULE, ...PAGE_MODULE, ...MOBILE_NAV_BAR_MODULE, { from: '@wm/mobile/components/data/media-list', name: 'MediaListModule' }];
|
|
89895
89757
|
const MOBILE_TAB_BAR_MODULE = [{ from: '@wm/mobile/components/page/tab-bar', name: 'TabBarModule' }];
|
|
@@ -89962,7 +89824,6 @@ const WIDGET_IMPORTS = new Map([
|
|
|
89962
89824
|
['wm-list', LIST_MODULE],
|
|
89963
89825
|
['wm-livetable', LIVE_TABLE_MODULE],
|
|
89964
89826
|
['wm-login', LOGIN_MODULE],
|
|
89965
|
-
['wm-custom', CUSTOM_MODULE],
|
|
89966
89827
|
['wm-logindialog', LOGIN_DIALOG_MODULE],
|
|
89967
89828
|
['wm-marquee', MARQUEE_MODULE],
|
|
89968
89829
|
['wm-menu', MENU_MODULE],
|
|
@@ -90476,9 +90337,6 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
|
|
|
90476
90337
|
else if (componentType === 2 || componentType === 'PARTIAL') {
|
|
90477
90338
|
s = `${prefix} app-partial-${componentName} ${s}`;
|
|
90478
90339
|
}
|
|
90479
|
-
else if (componentType === 3 || componentType === 'WIDGET') {
|
|
90480
|
-
s = `${prefix} app-custom-${componentName} ${s}`;
|
|
90481
|
-
}
|
|
90482
90340
|
return s;
|
|
90483
90341
|
}).join(',');
|
|
90484
90342
|
}
|
|
@@ -90568,11 +90426,11 @@ var carouselTemplate_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90568
90426
|
default: carouselTemplate_build
|
|
90569
90427
|
});
|
|
90570
90428
|
|
|
90571
|
-
const tagName$
|
|
90429
|
+
const tagName$1C = 'div';
|
|
90572
90430
|
register('wm-login', () => {
|
|
90573
90431
|
return {
|
|
90574
|
-
pre: attrs => `<${tagName$
|
|
90575
|
-
post: () => `</${tagName$
|
|
90432
|
+
pre: attrs => `<${tagName$1C} wmLogin ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction">`,
|
|
90433
|
+
post: () => `</${tagName$1C}>`,
|
|
90576
90434
|
provide: () => {
|
|
90577
90435
|
const provider = new Map();
|
|
90578
90436
|
provider.set('isLogin', true);
|
|
@@ -90587,11 +90445,11 @@ var login_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90587
90445
|
default: login_build
|
|
90588
90446
|
});
|
|
90589
90447
|
|
|
90590
|
-
const tagName$
|
|
90448
|
+
const tagName$1B = 'marquee';
|
|
90591
90449
|
register('wm-marquee', () => {
|
|
90592
90450
|
return {
|
|
90593
|
-
pre: attrs => `<${tagName$
|
|
90594
|
-
post: () => `</${tagName$
|
|
90451
|
+
pre: attrs => `<${tagName$1B} onmouseover="this.stop();" onmouseout="this.start();" wmMarquee role="marquee" aria-live="off" ${getAttrMarkup(attrs)}>`,
|
|
90452
|
+
post: () => `</${tagName$1B}>`
|
|
90595
90453
|
};
|
|
90596
90454
|
});
|
|
90597
90455
|
var marquee_build = () => { };
|
|
@@ -90601,15 +90459,15 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90601
90459
|
default: marquee_build
|
|
90602
90460
|
});
|
|
90603
90461
|
|
|
90604
|
-
const tagName$
|
|
90462
|
+
const tagName$1A = 'a';
|
|
90605
90463
|
const idGen$s = new IDGenerator('wm_anchor');
|
|
90606
90464
|
register('wm-anchor', () => {
|
|
90607
90465
|
return {
|
|
90608
90466
|
pre: (attrs) => {
|
|
90609
90467
|
const counter = idGen$s.nextUid();
|
|
90610
|
-
return `<${tagName$
|
|
90468
|
+
return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${getAttrMarkup(attrs)}>`;
|
|
90611
90469
|
},
|
|
90612
|
-
post: () => `</${tagName$
|
|
90470
|
+
post: () => `</${tagName$1A}>`
|
|
90613
90471
|
};
|
|
90614
90472
|
});
|
|
90615
90473
|
var anchor_build = () => { };
|
|
@@ -90619,11 +90477,11 @@ var anchor_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90619
90477
|
default: anchor_build
|
|
90620
90478
|
});
|
|
90621
90479
|
|
|
90622
|
-
const tagName$
|
|
90480
|
+
const tagName$1z = 'div';
|
|
90623
90481
|
register('wm-audio', () => {
|
|
90624
90482
|
return {
|
|
90625
|
-
pre: attrs => `<${tagName$
|
|
90626
|
-
post: () => `</${tagName$
|
|
90483
|
+
pre: attrs => `<${tagName$1z} wmAudio ${getAttrMarkup(attrs)}>`,
|
|
90484
|
+
post: () => `</${tagName$1z}>`
|
|
90627
90485
|
};
|
|
90628
90486
|
});
|
|
90629
90487
|
var audio_build = () => { };
|
|
@@ -90633,15 +90491,15 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90633
90491
|
default: audio_build
|
|
90634
90492
|
});
|
|
90635
90493
|
|
|
90636
|
-
const tagName$
|
|
90494
|
+
const tagName$1y = 'div';
|
|
90637
90495
|
const idGen$r = new IDGenerator('wm_html');
|
|
90638
90496
|
register('wm-html', () => {
|
|
90639
90497
|
return {
|
|
90640
90498
|
pre: (attrs) => {
|
|
90641
90499
|
const counter = idGen$r.nextUid();
|
|
90642
|
-
return `<${tagName$
|
|
90500
|
+
return `<${tagName$1y} wmHtml #${counter}="wmHtml" role="application" [attr.aria-label]="${counter}.arialabel || 'HTML content'" ${getAttrMarkup(attrs)}>`;
|
|
90643
90501
|
},
|
|
90644
|
-
post: () => `</${tagName$
|
|
90502
|
+
post: () => `</${tagName$1y}>`
|
|
90645
90503
|
};
|
|
90646
90504
|
});
|
|
90647
90505
|
var html_build = () => { };
|
|
@@ -90651,11 +90509,11 @@ var html_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90651
90509
|
default: html_build
|
|
90652
90510
|
});
|
|
90653
90511
|
|
|
90654
|
-
const tagName$
|
|
90512
|
+
const tagName$1x = 'span';
|
|
90655
90513
|
register('wm-icon', () => {
|
|
90656
90514
|
return {
|
|
90657
|
-
pre: attrs => `<${tagName$
|
|
90658
|
-
post: () => `</${tagName$
|
|
90515
|
+
pre: attrs => `<${tagName$1x} wmIcon ${getAttrMarkup(attrs)}>`,
|
|
90516
|
+
post: () => `</${tagName$1x}>`
|
|
90659
90517
|
};
|
|
90660
90518
|
});
|
|
90661
90519
|
var icon_build = () => { };
|
|
@@ -90665,11 +90523,11 @@ var icon_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90665
90523
|
default: icon_build
|
|
90666
90524
|
});
|
|
90667
90525
|
|
|
90668
|
-
const tagName$
|
|
90526
|
+
const tagName$1w = 'div';
|
|
90669
90527
|
register('wm-iframe', () => {
|
|
90670
90528
|
return {
|
|
90671
|
-
pre: attrs => `<${tagName$
|
|
90672
|
-
post: () => `</${tagName$
|
|
90529
|
+
pre: attrs => `<${tagName$1w} wmIframe ${getAttrMarkup(attrs)}>`,
|
|
90530
|
+
post: () => `</${tagName$1w}>`
|
|
90673
90531
|
};
|
|
90674
90532
|
});
|
|
90675
90533
|
var iframe_build = () => { };
|
|
@@ -90679,7 +90537,7 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90679
90537
|
default: iframe_build
|
|
90680
90538
|
});
|
|
90681
90539
|
|
|
90682
|
-
let tagName$
|
|
90540
|
+
let tagName$1v = 'p';
|
|
90683
90541
|
const idGen$q = new IDGenerator('wm_label');
|
|
90684
90542
|
register('wm-label', () => {
|
|
90685
90543
|
return {
|
|
@@ -90689,15 +90547,15 @@ register('wm-label', () => {
|
|
|
90689
90547
|
const classList = attrs.get('class') ? attrs.get('class').split(' ').filter(element => ["h1", "h2", "h3", "h4", "h5", "h6", "p"].includes(element)) : [];
|
|
90690
90548
|
attrs.set('type', classList.length ? classList[0] : "p");
|
|
90691
90549
|
}
|
|
90692
|
-
tagName$
|
|
90550
|
+
tagName$1v = attrs.get('type');
|
|
90693
90551
|
}
|
|
90694
90552
|
else {
|
|
90695
|
-
tagName$
|
|
90553
|
+
tagName$1v = 'label';
|
|
90696
90554
|
}
|
|
90697
90555
|
const counter = idGen$q.nextUid();
|
|
90698
|
-
return `<${tagName$
|
|
90556
|
+
return `<${tagName$1v} wmLabel #${counter}="wmLabel" ${getAttrMarkup(attrs)}>`;
|
|
90699
90557
|
},
|
|
90700
|
-
post: () => `</${tagName$
|
|
90558
|
+
post: () => `</${tagName$1v}>`
|
|
90701
90559
|
};
|
|
90702
90560
|
});
|
|
90703
90561
|
var label_build = () => { };
|
|
@@ -90707,13 +90565,13 @@ var label_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90707
90565
|
default: label_build
|
|
90708
90566
|
});
|
|
90709
90567
|
|
|
90710
|
-
const tagName$
|
|
90568
|
+
const tagName$1u = 'img';
|
|
90711
90569
|
const idGen$p = new IDGenerator('wm_picture');
|
|
90712
90570
|
register('wm-picture', () => {
|
|
90713
90571
|
return {
|
|
90714
90572
|
pre: (attrs) => {
|
|
90715
90573
|
const counter = idGen$p.nextUid();
|
|
90716
|
-
return `<${tagName$
|
|
90574
|
+
return `<${tagName$1u} wmPicture #${counter}="wmPicture" [alt]="${counter}.alttext" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.arialabel || 'Image'" ${getAttrMarkup(attrs)}>`;
|
|
90717
90575
|
}
|
|
90718
90576
|
};
|
|
90719
90577
|
});
|
|
@@ -90724,15 +90582,15 @@ var picture_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90724
90582
|
default: picture_build
|
|
90725
90583
|
});
|
|
90726
90584
|
|
|
90727
|
-
const tagName$
|
|
90585
|
+
const tagName$1t = 'div';
|
|
90728
90586
|
const idGen$o = new IDGenerator('wm_spinner');
|
|
90729
90587
|
register('wm-spinner', () => {
|
|
90730
90588
|
return {
|
|
90731
90589
|
pre: (attrs) => {
|
|
90732
90590
|
const counter = idGen$o.nextUid();
|
|
90733
|
-
return `<${tagName$
|
|
90591
|
+
return `<${tagName$1t} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.arialabel || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
|
|
90734
90592
|
},
|
|
90735
|
-
post: () => `</${tagName$
|
|
90593
|
+
post: () => `</${tagName$1t}>`
|
|
90736
90594
|
};
|
|
90737
90595
|
});
|
|
90738
90596
|
var spinner_build = () => { };
|
|
@@ -90742,7 +90600,7 @@ var spinner_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90742
90600
|
default: spinner_build
|
|
90743
90601
|
});
|
|
90744
90602
|
|
|
90745
|
-
const tagName$
|
|
90603
|
+
const tagName$1s = 'div';
|
|
90746
90604
|
const getAttr = (node, attrName) => node.attrs.find(attr => attr.name === attrName);
|
|
90747
90605
|
const getAttrValue = (node, attrName) => {
|
|
90748
90606
|
const match = getAttr(node, attrName);
|
|
@@ -90770,8 +90628,8 @@ register('wm-progress-bar', () => {
|
|
|
90770
90628
|
}
|
|
90771
90629
|
}
|
|
90772
90630
|
},
|
|
90773
|
-
pre: attrs => `<${tagName$
|
|
90774
|
-
post: () => `</${tagName$
|
|
90631
|
+
pre: attrs => `<${tagName$1s} wmProgressBar ${getAttrMarkup(attrs)}>`,
|
|
90632
|
+
post: () => `</${tagName$1s}>`
|
|
90775
90633
|
};
|
|
90776
90634
|
});
|
|
90777
90635
|
var progressBar_build = () => { };
|
|
@@ -90781,11 +90639,15 @@ var progressBar_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90781
90639
|
default: progressBar_build
|
|
90782
90640
|
});
|
|
90783
90641
|
|
|
90784
|
-
const tagName$
|
|
90642
|
+
const tagName$1r = 'div';
|
|
90643
|
+
const idGen$n = new IDGenerator('wm_progress_circle');
|
|
90785
90644
|
register('wm-progress-circle', () => {
|
|
90786
90645
|
return {
|
|
90787
|
-
pre: attrs =>
|
|
90788
|
-
|
|
90646
|
+
pre: (attrs) => {
|
|
90647
|
+
const counter = idGen$n.nextUid();
|
|
90648
|
+
return `<${tagName$1r} wmProgressCircle #${counter}="wmProgressCircle" role="progressbar" [attr.aria-label]="${counter}.arialabel || 'circle-progress'" [attr.hint]="${counter}.hint" [attr.aria-valuetext]="${counter}.displayValue" [attr.aria-valuemin]="${counter}.minvalue" [attr.aria-valuemax]="${counter}.maxvalue" ${getAttrMarkup(attrs)}>`;
|
|
90649
|
+
},
|
|
90650
|
+
post: () => `</${tagName$1r}>`
|
|
90789
90651
|
};
|
|
90790
90652
|
});
|
|
90791
90653
|
var progressCircle_build = () => { };
|
|
@@ -90795,15 +90657,15 @@ var progressCircle_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90795
90657
|
default: progressCircle_build
|
|
90796
90658
|
});
|
|
90797
90659
|
|
|
90798
|
-
const tagName$
|
|
90799
|
-
const idGen$
|
|
90660
|
+
const tagName$1q = 'div';
|
|
90661
|
+
const idGen$m = new IDGenerator('wm_richtexteditor');
|
|
90800
90662
|
register('wm-richtexteditor', () => {
|
|
90801
90663
|
return {
|
|
90802
90664
|
pre: (attrs) => {
|
|
90803
|
-
const counter = idGen$
|
|
90804
|
-
return `<${tagName$
|
|
90665
|
+
const counter = idGen$m.nextUid();
|
|
90666
|
+
return `<${tagName$1q} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.arialabel || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
|
|
90805
90667
|
},
|
|
90806
|
-
post: () => `</${tagName$
|
|
90668
|
+
post: () => `</${tagName$1q}>`
|
|
90807
90669
|
};
|
|
90808
90670
|
});
|
|
90809
90671
|
var richTextEditor_build = () => { };
|
|
@@ -90813,11 +90675,11 @@ var richTextEditor_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90813
90675
|
default: richTextEditor_build
|
|
90814
90676
|
});
|
|
90815
90677
|
|
|
90816
|
-
const tagName$
|
|
90678
|
+
const tagName$1p = 'div';
|
|
90817
90679
|
register('wm-search', () => {
|
|
90818
90680
|
return {
|
|
90819
|
-
pre: attrs => `<${tagName$
|
|
90820
|
-
post: () => `</${tagName$
|
|
90681
|
+
pre: attrs => `<${tagName$1p} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
90682
|
+
post: () => `</${tagName$1p}>`
|
|
90821
90683
|
};
|
|
90822
90684
|
});
|
|
90823
90685
|
var search_build = () => { };
|
|
@@ -90827,11 +90689,11 @@ var search_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90827
90689
|
default: search_build
|
|
90828
90690
|
});
|
|
90829
90691
|
|
|
90830
|
-
const tagName$
|
|
90692
|
+
const tagName$1o = 'ul';
|
|
90831
90693
|
register('wm-tree', () => {
|
|
90832
90694
|
return {
|
|
90833
|
-
pre: attrs => `<${tagName$
|
|
90834
|
-
post: () => `</${tagName$
|
|
90695
|
+
pre: attrs => `<${tagName$1o} wmTree class="ztree" ${getAttrMarkup(attrs)}>`,
|
|
90696
|
+
post: () => `</${tagName$1o}>`
|
|
90835
90697
|
};
|
|
90836
90698
|
});
|
|
90837
90699
|
|
|
@@ -90839,11 +90701,11 @@ var tree_build = /*#__PURE__*/Object.freeze({
|
|
|
90839
90701
|
__proto__: null
|
|
90840
90702
|
});
|
|
90841
90703
|
|
|
90842
|
-
const tagName$
|
|
90704
|
+
const tagName$1n = 'div';
|
|
90843
90705
|
register('wm-card', () => {
|
|
90844
90706
|
return {
|
|
90845
|
-
pre: attrs => `<${tagName$
|
|
90846
|
-
post: () => `</${tagName$
|
|
90707
|
+
pre: attrs => `<${tagName$1n} wmCard ${getAttrMarkup(attrs)}>`,
|
|
90708
|
+
post: () => `</${tagName$1n}>`
|
|
90847
90709
|
};
|
|
90848
90710
|
});
|
|
90849
90711
|
var card_build = () => { };
|
|
@@ -90853,11 +90715,11 @@ var card_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90853
90715
|
default: card_build
|
|
90854
90716
|
});
|
|
90855
90717
|
|
|
90856
|
-
const tagName$
|
|
90718
|
+
const tagName$1m = 'div';
|
|
90857
90719
|
register('wm-card-content', () => {
|
|
90858
90720
|
return {
|
|
90859
|
-
pre: attrs => `<${tagName$
|
|
90860
|
-
post: () => `</${tagName$
|
|
90721
|
+
pre: attrs => `<${tagName$1m} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,
|
|
90722
|
+
post: () => `</${tagName$1m}>`
|
|
90861
90723
|
};
|
|
90862
90724
|
});
|
|
90863
90725
|
var cardContent_build = () => { };
|
|
@@ -90867,11 +90729,11 @@ var cardContent_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90867
90729
|
default: cardContent_build
|
|
90868
90730
|
});
|
|
90869
90731
|
|
|
90870
|
-
const tagName$
|
|
90732
|
+
const tagName$1l = 'div';
|
|
90871
90733
|
register('wm-card-actions', () => {
|
|
90872
90734
|
return {
|
|
90873
|
-
pre: attrs => `<${tagName$
|
|
90874
|
-
post: () => `</${tagName$
|
|
90735
|
+
pre: attrs => `<${tagName$1l} wmCardActions ${getAttrMarkup(attrs)}>`,
|
|
90736
|
+
post: () => `</${tagName$1l}>`
|
|
90875
90737
|
};
|
|
90876
90738
|
});
|
|
90877
90739
|
var cardActions_build = () => { };
|
|
@@ -90881,11 +90743,11 @@ var cardActions_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90881
90743
|
default: cardActions_build
|
|
90882
90744
|
});
|
|
90883
90745
|
|
|
90884
|
-
const tagName$
|
|
90746
|
+
const tagName$1k = 'div';
|
|
90885
90747
|
register('wm-card-footer', () => {
|
|
90886
90748
|
return {
|
|
90887
|
-
pre: attrs => `<${tagName$
|
|
90888
|
-
post: () => `</${tagName$
|
|
90749
|
+
pre: attrs => `<${tagName$1k} wmCardFooter ${getAttrMarkup(attrs)}>`,
|
|
90750
|
+
post: () => `</${tagName$1k}>`
|
|
90889
90751
|
};
|
|
90890
90752
|
});
|
|
90891
90753
|
var cardFooter_build = () => { };
|
|
@@ -90895,11 +90757,11 @@ var cardFooter_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90895
90757
|
default: cardFooter_build
|
|
90896
90758
|
});
|
|
90897
90759
|
|
|
90898
|
-
const tagName$
|
|
90760
|
+
const tagName$1j = 'div';
|
|
90899
90761
|
register('wm-chart', () => {
|
|
90900
90762
|
return {
|
|
90901
|
-
pre: attrs => `<${tagName$
|
|
90902
|
-
post: () => `</${tagName$
|
|
90763
|
+
pre: attrs => `<${tagName$1j} wmChart redrawable aria-label="${attrs.get('type')} Chart" ${getAttrMarkup(attrs)}>`,
|
|
90764
|
+
post: () => `</${tagName$1j}>`
|
|
90903
90765
|
};
|
|
90904
90766
|
});
|
|
90905
90767
|
var chart_build = () => { };
|
|
@@ -90909,19 +90771,19 @@ var chart_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90909
90771
|
default: chart_build
|
|
90910
90772
|
});
|
|
90911
90773
|
|
|
90912
|
-
const tagName$
|
|
90774
|
+
const tagName$1i = 'div';
|
|
90913
90775
|
const dataSetKey$4 = 'dataset';
|
|
90914
|
-
const idGen$
|
|
90776
|
+
const idGen$l = new IDGenerator('wm_accordion_ref_');
|
|
90915
90777
|
const isDynamicAccordion = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
|
90916
90778
|
register('wm-accordion', () => {
|
|
90917
90779
|
return {
|
|
90918
90780
|
pre: (attrs, shared) => {
|
|
90919
90781
|
// generating unique Id for the accordion
|
|
90920
|
-
const counter = idGen$
|
|
90782
|
+
const counter = idGen$l.nextUid();
|
|
90921
90783
|
shared.set('accordion_ref', counter);
|
|
90922
|
-
return `<${tagName$
|
|
90784
|
+
return `<${tagName$1i} wmAccordion #${counter}="wmAccordion" ${getAttrMarkup(attrs)}>`;
|
|
90923
90785
|
},
|
|
90924
|
-
post: () => `</${tagName$
|
|
90786
|
+
post: () => `</${tagName$1i}>`,
|
|
90925
90787
|
template: (node, shared) => {
|
|
90926
90788
|
// check if the accordion is dynamic
|
|
90927
90789
|
if (isDynamicAccordion(node)) {
|
|
@@ -90952,15 +90814,15 @@ var accordion_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90952
90814
|
default: accordion_build
|
|
90953
90815
|
});
|
|
90954
90816
|
|
|
90955
|
-
const tagName$
|
|
90956
|
-
const idGen$
|
|
90817
|
+
const tagName$1h = 'div';
|
|
90818
|
+
const idGen$k = new IDGenerator('wm_accordionpane');
|
|
90957
90819
|
register('wm-accordionpane', () => {
|
|
90958
90820
|
return {
|
|
90959
90821
|
pre: (attrs) => {
|
|
90960
|
-
const counter = idGen$
|
|
90961
|
-
return `<${tagName$
|
|
90822
|
+
const counter = idGen$k.nextUid();
|
|
90823
|
+
return `<${tagName$1h} #${counter}="wmAccordionPane" wmAccordionPane partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
|
|
90962
90824
|
},
|
|
90963
|
-
post: () => `</${tagName$
|
|
90825
|
+
post: () => `</${tagName$1h}>`
|
|
90964
90826
|
};
|
|
90965
90827
|
});
|
|
90966
90828
|
var accordionPane_build = () => { };
|
|
@@ -90970,11 +90832,11 @@ var accordionPane_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90970
90832
|
default: accordionPane_build
|
|
90971
90833
|
});
|
|
90972
90834
|
|
|
90973
|
-
const tagName$
|
|
90835
|
+
const tagName$1g = 'div';
|
|
90974
90836
|
register('wm-container', () => {
|
|
90975
90837
|
return {
|
|
90976
|
-
pre: attrs => `<${tagName$
|
|
90977
|
-
post: () => `</${tagName$
|
|
90838
|
+
pre: attrs => `<${tagName$1g} wmContainer partialContainer wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
|
|
90839
|
+
post: () => `</${tagName$1g}>`
|
|
90978
90840
|
};
|
|
90979
90841
|
});
|
|
90980
90842
|
var container_build = () => { };
|
|
@@ -90984,11 +90846,11 @@ var container_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90984
90846
|
default: container_build
|
|
90985
90847
|
});
|
|
90986
90848
|
|
|
90987
|
-
const tagName$
|
|
90849
|
+
const tagName$1f = 'div';
|
|
90988
90850
|
register('wm-gridcolumn', () => {
|
|
90989
90851
|
return {
|
|
90990
|
-
pre: attrs => `<${tagName$
|
|
90991
|
-
post: () => `</${tagName$
|
|
90852
|
+
pre: attrs => `<${tagName$1f} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,
|
|
90853
|
+
post: () => `</${tagName$1f}>`
|
|
90992
90854
|
};
|
|
90993
90855
|
});
|
|
90994
90856
|
var layoutGridColumn_build = () => { };
|
|
@@ -90998,11 +90860,11 @@ var layoutGridColumn_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90998
90860
|
default: layoutGridColumn_build
|
|
90999
90861
|
});
|
|
91000
90862
|
|
|
91001
|
-
const tagName$
|
|
90863
|
+
const tagName$1e = 'div';
|
|
91002
90864
|
register('wm-gridrow', () => {
|
|
91003
90865
|
return {
|
|
91004
|
-
pre: attrs => `<${tagName$
|
|
91005
|
-
post: () => `</${tagName$
|
|
90866
|
+
pre: attrs => `<${tagName$1e} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,
|
|
90867
|
+
post: () => `</${tagName$1e}>`
|
|
91006
90868
|
};
|
|
91007
90869
|
});
|
|
91008
90870
|
var layoutGridRow_build = () => { };
|
|
@@ -91012,11 +90874,11 @@ var layoutGridRow_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91012
90874
|
default: layoutGridRow_build
|
|
91013
90875
|
});
|
|
91014
90876
|
|
|
91015
|
-
const tagName$
|
|
90877
|
+
const tagName$1d = 'div';
|
|
91016
90878
|
register('wm-layoutgrid', () => {
|
|
91017
90879
|
return {
|
|
91018
|
-
pre: attrs => `<${tagName$
|
|
91019
|
-
post: () => `</${tagName$
|
|
90880
|
+
pre: attrs => `<${tagName$1d} wmLayoutGrid ${getAttrMarkup(attrs)}>`,
|
|
90881
|
+
post: () => `</${tagName$1d}>`
|
|
91020
90882
|
};
|
|
91021
90883
|
});
|
|
91022
90884
|
var layoutGrid_build = () => { };
|
|
@@ -91026,21 +90888,21 @@ var layoutGrid_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91026
90888
|
default: layoutGrid_build
|
|
91027
90889
|
});
|
|
91028
90890
|
|
|
91029
|
-
const tagName$
|
|
91030
|
-
const idGen$
|
|
90891
|
+
const tagName$1c = 'div';
|
|
90892
|
+
const idGen$j = new IDGenerator('wm_panel');
|
|
91031
90893
|
register('wm-panel', () => {
|
|
91032
90894
|
return {
|
|
91033
90895
|
pre: (attrs) => {
|
|
91034
|
-
const counter = idGen$
|
|
91035
|
-
return `<${tagName$
|
|
90896
|
+
const counter = idGen$j.nextUid();
|
|
90897
|
+
return `<${tagName$1c} wmPanel #${counter}="wmPanel" partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
|
|
91036
90898
|
},
|
|
91037
|
-
post: () => `</${tagName$
|
|
90899
|
+
post: () => `</${tagName$1c}>`
|
|
91038
90900
|
};
|
|
91039
90901
|
});
|
|
91040
90902
|
register('wm-panel-footer', () => {
|
|
91041
90903
|
return {
|
|
91042
|
-
pre: attrs => `<${tagName$
|
|
91043
|
-
post: () => `</${tagName$
|
|
90904
|
+
pre: attrs => `<${tagName$1c} wmPanelFooter ${getAttrMarkup(attrs)}>`,
|
|
90905
|
+
post: () => `</${tagName$1c}>`
|
|
91044
90906
|
};
|
|
91045
90907
|
});
|
|
91046
90908
|
var panel_build = () => { };
|
|
@@ -91050,11 +90912,11 @@ var panel_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91050
90912
|
default: panel_build
|
|
91051
90913
|
});
|
|
91052
90914
|
|
|
91053
|
-
const tagName$
|
|
90915
|
+
const tagName$1b = 'div';
|
|
91054
90916
|
register('wm-segmented-control', () => {
|
|
91055
90917
|
return {
|
|
91056
|
-
pre: attrs => `<${tagName$
|
|
91057
|
-
post: () => `</${tagName$
|
|
90918
|
+
pre: attrs => `<${tagName$1b} wmSegmentedControl ${getAttrMarkup(attrs)}>`,
|
|
90919
|
+
post: () => `</${tagName$1b}>`
|
|
91058
90920
|
};
|
|
91059
90921
|
});
|
|
91060
90922
|
var segmentedControl_build = () => { };
|
|
@@ -91064,11 +90926,11 @@ var segmentedControl_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91064
90926
|
default: segmentedControl_build
|
|
91065
90927
|
});
|
|
91066
90928
|
|
|
91067
|
-
const tagName$
|
|
90929
|
+
const tagName$1a = 'li';
|
|
91068
90930
|
register('wm-segment-content', () => {
|
|
91069
90931
|
return {
|
|
91070
|
-
pre: attrs => `<${tagName$
|
|
91071
|
-
post: () => `</${tagName$
|
|
90932
|
+
pre: attrs => `<${tagName$1a} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
90933
|
+
post: () => `</${tagName$1a}>`
|
|
91072
90934
|
};
|
|
91073
90935
|
});
|
|
91074
90936
|
var segmentContent_build = () => { };
|
|
@@ -91106,19 +90968,19 @@ var repeatTemplate_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91106
90968
|
default: repeatTemplate_build
|
|
91107
90969
|
});
|
|
91108
90970
|
|
|
91109
|
-
const tagName$
|
|
90971
|
+
const tagName$19 = 'div';
|
|
91110
90972
|
const dataSetKey$3 = 'dataset';
|
|
91111
|
-
const idGen$
|
|
90973
|
+
const idGen$i = new IDGenerator('wm_tabs_ref_');
|
|
91112
90974
|
const isDynamicTabs = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
|
91113
90975
|
register('wm-tabs', () => {
|
|
91114
90976
|
return {
|
|
91115
90977
|
pre: (attrs, shared) => {
|
|
91116
90978
|
// generating unique Id for the tabs
|
|
91117
|
-
const counter = idGen$
|
|
90979
|
+
const counter = idGen$i.nextUid();
|
|
91118
90980
|
shared.set('tabs_ref', counter);
|
|
91119
|
-
return `<${tagName$
|
|
90981
|
+
return `<${tagName$19} wmTabs #${counter}="wmTabs" ${getAttrMarkup(attrs)}>`;
|
|
91120
90982
|
},
|
|
91121
|
-
post: () => `</${tagName$
|
|
90983
|
+
post: () => `</${tagName$19}>`,
|
|
91122
90984
|
template: (node, shared) => {
|
|
91123
90985
|
// check if the tab widget is dynamic
|
|
91124
90986
|
if (isDynamicTabs(node)) {
|
|
@@ -91149,11 +91011,11 @@ var tabs_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91149
91011
|
default: tabs_build
|
|
91150
91012
|
});
|
|
91151
91013
|
|
|
91152
|
-
const tagName$
|
|
91014
|
+
const tagName$18 = 'div';
|
|
91153
91015
|
register('wm-tabpane', () => {
|
|
91154
91016
|
return {
|
|
91155
|
-
pre: attrs => `<${tagName$
|
|
91156
|
-
post: () => `</${tagName$
|
|
91017
|
+
pre: attrs => `<${tagName$18} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element="true" role="tabpanel">`,
|
|
91018
|
+
post: () => `</${tagName$18}>`
|
|
91157
91019
|
};
|
|
91158
91020
|
});
|
|
91159
91021
|
var tabPane_build = () => { };
|
|
@@ -91163,11 +91025,11 @@ var tabPane_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91163
91025
|
default: tabPane_build
|
|
91164
91026
|
});
|
|
91165
91027
|
|
|
91166
|
-
const tagName$
|
|
91028
|
+
const tagName$17 = 'div';
|
|
91167
91029
|
register('wm-tile', () => {
|
|
91168
91030
|
return {
|
|
91169
|
-
pre: attrs => `<${tagName$
|
|
91170
|
-
post: () => `</${tagName$
|
|
91031
|
+
pre: attrs => `<${tagName$17} wmTile wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
91032
|
+
post: () => `</${tagName$17}>`
|
|
91171
91033
|
};
|
|
91172
91034
|
});
|
|
91173
91035
|
var tile_build = () => { };
|
|
@@ -91177,11 +91039,11 @@ var tile_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91177
91039
|
default: tile_build
|
|
91178
91040
|
});
|
|
91179
91041
|
|
|
91180
|
-
const tagName$
|
|
91042
|
+
const tagName$16 = 'div';
|
|
91181
91043
|
register('wm-wizard', () => {
|
|
91182
91044
|
return {
|
|
91183
|
-
pre: attrs => `<${tagName$
|
|
91184
|
-
post: () => `</${tagName$
|
|
91045
|
+
pre: attrs => `<${tagName$16} wmWizard ${getAttrMarkup(attrs)}>`,
|
|
91046
|
+
post: () => `</${tagName$16}>`
|
|
91185
91047
|
};
|
|
91186
91048
|
});
|
|
91187
91049
|
var wizard_build = () => { };
|
|
@@ -91191,16 +91053,16 @@ var wizard_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91191
91053
|
default: wizard_build
|
|
91192
91054
|
});
|
|
91193
91055
|
|
|
91194
|
-
const tagName$
|
|
91195
|
-
const idGen$
|
|
91056
|
+
const tagName$15 = 'form';
|
|
91057
|
+
const idGen$h = new IDGenerator('wizard_step_id_');
|
|
91196
91058
|
register('wm-wizardstep', () => {
|
|
91197
91059
|
return {
|
|
91198
91060
|
pre: attrs => {
|
|
91199
|
-
const counter = idGen$
|
|
91200
|
-
return `<${tagName$
|
|
91061
|
+
const counter = idGen$h.nextUid();
|
|
91062
|
+
return `<${tagName$15} wmWizardStep #${counter}="wmWizardStep" ${getAttrMarkup(attrs)}>
|
|
91201
91063
|
<ng-template [ngIf]="${counter}.isInitialized">`;
|
|
91202
91064
|
},
|
|
91203
|
-
post: () => `</ng-template></${tagName$
|
|
91065
|
+
post: () => `</ng-template></${tagName$15}>`
|
|
91204
91066
|
};
|
|
91205
91067
|
});
|
|
91206
91068
|
var wizardStep_build = () => { };
|
|
@@ -91210,15 +91072,15 @@ var wizardStep_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91210
91072
|
default: wizardStep_build
|
|
91211
91073
|
});
|
|
91212
91074
|
|
|
91213
|
-
const tagName$
|
|
91214
|
-
const idGen$
|
|
91075
|
+
const tagName$14 = 'button';
|
|
91076
|
+
const idGen$g = new IDGenerator('wm_barcodescanner');
|
|
91215
91077
|
register('wm-barcodescanner', () => {
|
|
91216
91078
|
return {
|
|
91217
91079
|
pre: (attrs) => {
|
|
91218
|
-
const counter = idGen$
|
|
91219
|
-
return `<${tagName$
|
|
91080
|
+
const counter = idGen$g.nextUid();
|
|
91081
|
+
return `<${tagName$14} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.arialabel || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
|
|
91220
91082
|
},
|
|
91221
|
-
post: () => `</${tagName$
|
|
91083
|
+
post: () => `</${tagName$14}>`
|
|
91222
91084
|
};
|
|
91223
91085
|
});
|
|
91224
91086
|
var barcodeScanner_build = () => { };
|
|
@@ -91228,15 +91090,15 @@ var barcodeScanner_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91228
91090
|
default: barcodeScanner_build
|
|
91229
91091
|
});
|
|
91230
91092
|
|
|
91231
|
-
const tagName$
|
|
91232
|
-
const idGen$
|
|
91093
|
+
const tagName$13 = 'button';
|
|
91094
|
+
const idGen$f = new IDGenerator('wm_camera');
|
|
91233
91095
|
register('wm-camera', () => {
|
|
91234
91096
|
return {
|
|
91235
91097
|
pre: (attrs) => {
|
|
91236
|
-
const counter = idGen$
|
|
91237
|
-
return `<${tagName$
|
|
91098
|
+
const counter = idGen$f.nextUid();
|
|
91099
|
+
return `<${tagName$13} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.arialabel || 'Camera'" ${getAttrMarkup(attrs)}>`;
|
|
91238
91100
|
},
|
|
91239
|
-
post: () => `</${tagName$
|
|
91101
|
+
post: () => `</${tagName$13}>`
|
|
91240
91102
|
};
|
|
91241
91103
|
});
|
|
91242
91104
|
var camera_build = () => { };
|
|
@@ -91246,11 +91108,11 @@ var camera_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91246
91108
|
default: camera_build
|
|
91247
91109
|
});
|
|
91248
91110
|
|
|
91249
|
-
const tagName$
|
|
91111
|
+
const tagName$12 = 'div';
|
|
91250
91112
|
register('wm-alertdialog', () => {
|
|
91251
91113
|
return {
|
|
91252
|
-
pre: attrs => `<${tagName$
|
|
91253
|
-
post: () => `</${tagName$
|
|
91114
|
+
pre: attrs => `<${tagName$12} wmAlertDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
91115
|
+
post: () => `</${tagName$12}>`
|
|
91254
91116
|
};
|
|
91255
91117
|
});
|
|
91256
91118
|
var alertDialog_build = () => { };
|
|
@@ -91260,11 +91122,11 @@ var alertDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91260
91122
|
default: alertDialog_build
|
|
91261
91123
|
});
|
|
91262
91124
|
|
|
91263
|
-
const tagName$
|
|
91125
|
+
const tagName$11 = 'div';
|
|
91264
91126
|
register('wm-confirmdialog', () => {
|
|
91265
91127
|
return {
|
|
91266
|
-
pre: attrs => `<${tagName$
|
|
91267
|
-
post: () => `</${tagName$
|
|
91128
|
+
pre: attrs => `<${tagName$11} wmConfirmDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
91129
|
+
post: () => `</${tagName$11}>`
|
|
91268
91130
|
};
|
|
91269
91131
|
});
|
|
91270
91132
|
var confirmDialog_build = () => { };
|
|
@@ -91274,11 +91136,11 @@ var confirmDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91274
91136
|
default: confirmDialog_build
|
|
91275
91137
|
});
|
|
91276
91138
|
|
|
91277
|
-
const tagName$
|
|
91139
|
+
const tagName$10 = 'div';
|
|
91278
91140
|
register('wm-dialogactions', () => {
|
|
91279
91141
|
return {
|
|
91280
|
-
pre: attrs => `<ng-template #dialogFooter><${tagName$
|
|
91281
|
-
post: () => `</${tagName$
|
|
91142
|
+
pre: attrs => `<ng-template #dialogFooter><${tagName$10} wmDialogFooter data-identfier="actions" ${getAttrMarkup(attrs)}>`,
|
|
91143
|
+
post: () => `</${tagName$10}></ng-template>`
|
|
91282
91144
|
};
|
|
91283
91145
|
});
|
|
91284
91146
|
var dialogFooter_build = () => { };
|
|
@@ -91288,11 +91150,11 @@ var dialogFooter_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91288
91150
|
default: dialogFooter_build
|
|
91289
91151
|
});
|
|
91290
91152
|
|
|
91291
|
-
const tagName
|
|
91153
|
+
const tagName$$ = 'div';
|
|
91292
91154
|
register('wm-dialog', () => {
|
|
91293
91155
|
return {
|
|
91294
|
-
pre: attrs => `<${tagName
|
|
91295
|
-
post: () => `</ng-template></${tagName
|
|
91156
|
+
pre: attrs => `<${tagName$$} wmDialog ${getAttrMarkup(attrs)} aria-modal="true" role="dialog" wm-navigable-element="true"><ng-template #dialogBody>`,
|
|
91157
|
+
post: () => `</ng-template></${tagName$$}>`
|
|
91296
91158
|
};
|
|
91297
91159
|
});
|
|
91298
91160
|
// Todo:vinay remove wm-view in migration
|
|
@@ -91309,11 +91171,11 @@ var dialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91309
91171
|
default: dialog_build
|
|
91310
91172
|
});
|
|
91311
91173
|
|
|
91312
|
-
const tagName$
|
|
91174
|
+
const tagName$_ = 'div';
|
|
91313
91175
|
register('wm-iframedialog', () => {
|
|
91314
91176
|
return {
|
|
91315
|
-
pre: attrs => `<${tagName$
|
|
91316
|
-
post: () => `</${tagName$
|
|
91177
|
+
pre: attrs => `<${tagName$_} wmIframeDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
91178
|
+
post: () => `</${tagName$_}>`
|
|
91317
91179
|
};
|
|
91318
91180
|
});
|
|
91319
91181
|
var iframeDialog_build = () => { };
|
|
@@ -91323,11 +91185,11 @@ var iframeDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91323
91185
|
default: iframeDialog_build
|
|
91324
91186
|
});
|
|
91325
91187
|
|
|
91326
|
-
const tagName
|
|
91188
|
+
const tagName$Z = 'div';
|
|
91327
91189
|
register('wm-logindialog', () => {
|
|
91328
91190
|
return {
|
|
91329
|
-
pre: attrs => `<${tagName
|
|
91330
|
-
post: () => `</ng-template></${tagName
|
|
91191
|
+
pre: attrs => `<${tagName$Z} wmDialog wmLoginDialog ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction" wm-navigable-element="true"><ng-template #dialogBody>`,
|
|
91192
|
+
post: () => `</ng-template></${tagName$Z}>`
|
|
91331
91193
|
};
|
|
91332
91194
|
});
|
|
91333
91195
|
var loginDialog_build = () => { };
|
|
@@ -91337,7 +91199,7 @@ var loginDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91337
91199
|
default: loginDialog_build
|
|
91338
91200
|
});
|
|
91339
91201
|
|
|
91340
|
-
const tagName$
|
|
91202
|
+
const tagName$Y = 'div';
|
|
91341
91203
|
register('wm-pagedialog', () => {
|
|
91342
91204
|
return {
|
|
91343
91205
|
pre: (attrs, shared) => {
|
|
@@ -91363,14 +91225,14 @@ register('wm-pagedialog', () => {
|
|
|
91363
91225
|
shared.set('hasPartialContent', true);
|
|
91364
91226
|
containerMarkup += `<ng-template><div wmContainer #partial partialContainer ${contentMarkup} width="100%" height="100%" ${onLoadEvtMarkup}>`;
|
|
91365
91227
|
}
|
|
91366
|
-
return `<${tagName$
|
|
91228
|
+
return `<${tagName$Y} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;
|
|
91367
91229
|
},
|
|
91368
91230
|
post: (attrs, shared) => {
|
|
91369
91231
|
let preContent = '';
|
|
91370
91232
|
if (shared.get('hasPartialContent')) {
|
|
91371
91233
|
preContent = `</div></ng-template>`;
|
|
91372
91234
|
}
|
|
91373
|
-
return `${preContent}</${tagName$
|
|
91235
|
+
return `${preContent}</${tagName$Y}>`;
|
|
91374
91236
|
}
|
|
91375
91237
|
};
|
|
91376
91238
|
});
|
|
@@ -91449,8 +91311,8 @@ const getEditModeWidget = colDef => {
|
|
|
91449
91311
|
return (fieldTypeWidgetTypeMap[colDef.type] && fieldTypeWidgetTypeMap[colDef.type][0]) || FormWidgetType.TEXT;
|
|
91450
91312
|
};
|
|
91451
91313
|
|
|
91452
|
-
const tagName$
|
|
91453
|
-
const idGen$
|
|
91314
|
+
const tagName$X = 'div';
|
|
91315
|
+
const idGen$e = new IDGenerator('formfield_');
|
|
91454
91316
|
const getEventsTemplate = (attrs) => {
|
|
91455
91317
|
const eventAttrs = new Map();
|
|
91456
91318
|
if (!attrs.has('focus.event')) {
|
|
@@ -91501,13 +91363,12 @@ const setDefaultPlaceholder = (attrs, widgetType, index) => {
|
|
|
91501
91363
|
};
|
|
91502
91364
|
const getWidgetTemplate = (attrs, options) => {
|
|
91503
91365
|
const name = attrs.get('name');
|
|
91504
|
-
const customWidgetName = attrs.get('widgetname');
|
|
91505
91366
|
const fieldName = (attrs.get('key') || name || '').trim();
|
|
91506
91367
|
const formControl = options.isMaxWidget ? `formControlName="${fieldName}_max"` : (options.isInList ? `[formControlName]="${options.counter}._fieldName"` : `formControlName="${fieldName}"`);
|
|
91507
91368
|
const tmplRef = options.isMaxWidget ? `#formWidgetMax` : `#formWidget`;
|
|
91508
91369
|
const widgetName = name ? (options.isMaxWidget ? `name="${name}_formWidgetMax"` : `name="${name}_formWidget"`) : '';
|
|
91509
91370
|
const conditionalClass = `[ngClass]="${attrs.get('ngclass')}"`;
|
|
91510
|
-
const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName}
|
|
91371
|
+
const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName}`;
|
|
91511
91372
|
return getFormWidgetTemplate(options.widgetType, defaultTmpl, attrs, { counter: options.counter, pCounter: options.pCounter });
|
|
91512
91373
|
};
|
|
91513
91374
|
const getTemplate = (attrs, widgetType, eventsTmpl, counter, pCounter, isInList) => {
|
|
@@ -91551,14 +91412,14 @@ const registerFormField = (isFormField) => {
|
|
|
91551
91412
|
return {
|
|
91552
91413
|
requires: ['wm-form', 'wm-liveform', 'wm-livefilter', 'wm-list'],
|
|
91553
91414
|
pre: (attrs, shared, parentForm, parentLiveForm, parentFilter, parentList) => {
|
|
91554
|
-
const counter = idGen$
|
|
91415
|
+
const counter = idGen$e.nextUid();
|
|
91555
91416
|
const parent = parentForm || parentLiveForm || parentFilter;
|
|
91556
91417
|
const pCounter = (parent && parent.get('form_reference')) || 'form';
|
|
91557
91418
|
const widgetType = attrs.get('widget') || FormWidgetType.TEXT;
|
|
91558
91419
|
const dataRole = isFormField ? 'form-field' : 'filter-field';
|
|
91559
91420
|
const formFieldErrorMsgId = 'wmform-field-error-' + generateGUId();
|
|
91560
91421
|
const validationMsg = isFormField ? `<p *ngIf="${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode"
|
|
91561
|
-
class="help-block text-danger" aria-hidden="false"
|
|
91422
|
+
class="help-block text-danger" aria-hidden="false" role="alert"
|
|
91562
91423
|
aria-live="assertive" [attr.aria-label]="${counter}.validationmessage" id="${formFieldErrorMsgId}"><span aria-hidden="true" [textContent]="${counter}.validationmessage"></span></p>` : '';
|
|
91563
91424
|
const eventsTmpl = widgetType === FormWidgetType.UPLOAD ? '' : getEventsTemplate(attrs);
|
|
91564
91425
|
const controlLayout = isMobileApp() ? 'col-xs-12' : 'col-sm-12';
|
|
@@ -91574,7 +91435,7 @@ const registerFormField = (isFormField) => {
|
|
|
91574
91435
|
else {
|
|
91575
91436
|
setDefaultPlaceholder(attrs, widgetType, 2);
|
|
91576
91437
|
}
|
|
91577
|
-
return `<${tagName$
|
|
91438
|
+
return `<${tagName$X} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField wmCaptionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${getFormMarkupAttr(attrs)}>
|
|
91578
91439
|
<div class="live-field form-group app-composite-widget clearfix caption-{{${pCounter}.captionposition}}" widget="${widgetType}">
|
|
91579
91440
|
<label [hidden]="!${counter}.displayname" class="app-label control-label formfield-label {{${pCounter}._captionClass}}"
|
|
91580
91441
|
[ngStyle]="{width: ${pCounter}.captionsize}" [ngClass]="{'text-danger': ${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode,
|
|
@@ -91590,7 +91451,7 @@ const registerFormField = (isFormField) => {
|
|
|
91590
91451
|
</div>
|
|
91591
91452
|
</div>`;
|
|
91592
91453
|
},
|
|
91593
|
-
post: () => `</${tagName$
|
|
91454
|
+
post: () => `</${tagName$X}>`,
|
|
91594
91455
|
provide: (attrs, shared) => {
|
|
91595
91456
|
const provider = new Map();
|
|
91596
91457
|
provider.set('form_reference', shared.get('counter'));
|
|
@@ -91612,11 +91473,11 @@ var formField_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91612
91473
|
default: formField_build
|
|
91613
91474
|
});
|
|
91614
91475
|
|
|
91615
|
-
const tagName$
|
|
91476
|
+
const tagName$W = 'div';
|
|
91616
91477
|
const registerAction = (tmpl) => {
|
|
91617
91478
|
return {
|
|
91618
|
-
pre: attrs => `<${tagName$
|
|
91619
|
-
post: () => `</${tagName$
|
|
91479
|
+
pre: attrs => `<${tagName$W} wmFormAction name="${attrs.get('name') || attrs.get('key')}" ${getAttrMarkup(attrs)} ${tmpl}>`,
|
|
91480
|
+
post: () => `</${tagName$W}>`
|
|
91620
91481
|
};
|
|
91621
91482
|
};
|
|
91622
91483
|
register('wm-form-action', registerAction.bind(undefined, ''));
|
|
@@ -91628,8 +91489,8 @@ var formAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91628
91489
|
default: formAction_build
|
|
91629
91490
|
});
|
|
91630
91491
|
|
|
91631
|
-
const tagName$
|
|
91632
|
-
const idGen$
|
|
91492
|
+
const tagName$V = 'form';
|
|
91493
|
+
const idGen$d = new IDGenerator('form_');
|
|
91633
91494
|
const formWidgets$1 = new Set([
|
|
91634
91495
|
'wm-text',
|
|
91635
91496
|
'wm-textarea',
|
|
@@ -91697,7 +91558,7 @@ const buildTask = (directiveAttr = '') => {
|
|
|
91697
91558
|
let tmpl;
|
|
91698
91559
|
let dialogId;
|
|
91699
91560
|
const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';
|
|
91700
|
-
const counter = idGen$
|
|
91561
|
+
const counter = idGen$d.nextUid();
|
|
91701
91562
|
const dependsOn = attrs.get('dependson') ? `dependson="${attrs.get('dependson')}"` : '';
|
|
91702
91563
|
if (dependsOn) {
|
|
91703
91564
|
attrs.set('dependsontable', attrs.get('dependson'));
|
|
@@ -91705,7 +91566,7 @@ const buildTask = (directiveAttr = '') => {
|
|
|
91705
91566
|
const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';
|
|
91706
91567
|
const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];
|
|
91707
91568
|
attrs.delete('dependson');
|
|
91708
|
-
const liveFormTmpl = `<${tagName$
|
|
91569
|
+
const liveFormTmpl = `<${tagName$V} wmForm data-role="${role}" ${directiveAttr} #${counter} ngNativeValidate [formGroup]="${counter}.ngform" [noValidate]="${counter}.validationtype !== 'html'"
|
|
91709
91570
|
class="${classProp}" [class]="${counter}.captionAlignClass" [autocomplete]="${counter}.autocomplete ? 'on' : 'off'" captionposition=${attrs.get('captionposition')}`;
|
|
91710
91571
|
attrs.set('numberOfFields', `${numberOfFields}`);
|
|
91711
91572
|
shared.set('counter', counter);
|
|
@@ -91758,12 +91619,12 @@ const buildTask = (directiveAttr = '') => {
|
|
|
91758
91619
|
return '</form></ng-template></div></div>';
|
|
91759
91620
|
}
|
|
91760
91621
|
if (attrs.get('formlayout') === 'page') {
|
|
91761
|
-
return `</div></${tagName$
|
|
91622
|
+
return `</div></${tagName$V}>`;
|
|
91762
91623
|
}
|
|
91763
91624
|
if (attrs.get('dependsontable')) {
|
|
91764
|
-
return `</${tagName$
|
|
91625
|
+
return `</${tagName$V}></div>`;
|
|
91765
91626
|
}
|
|
91766
|
-
return `</${tagName$
|
|
91627
|
+
return `</${tagName$V}>`;
|
|
91767
91628
|
},
|
|
91768
91629
|
provide: (attrs, shared) => {
|
|
91769
91630
|
const provider = new Map();
|
|
@@ -91782,14 +91643,14 @@ var form_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91782
91643
|
default: form_build
|
|
91783
91644
|
});
|
|
91784
91645
|
|
|
91785
|
-
const tagName$
|
|
91646
|
+
const tagName$U = 'div';
|
|
91786
91647
|
register('wm-calendar', () => {
|
|
91787
91648
|
return {
|
|
91788
91649
|
pre: (attrs) => {
|
|
91789
91650
|
let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';
|
|
91790
|
-
return `<${tagName$
|
|
91651
|
+
return `<${tagName$U} wmCalendar redrawable style="width:100%" role="region" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
|
|
91791
91652
|
},
|
|
91792
|
-
post: () => `</${tagName$
|
|
91653
|
+
post: () => `</${tagName$U}>`
|
|
91793
91654
|
};
|
|
91794
91655
|
});
|
|
91795
91656
|
var calendar_build = () => { };
|
|
@@ -91799,11 +91660,11 @@ var calendar_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91799
91660
|
default: calendar_build
|
|
91800
91661
|
});
|
|
91801
91662
|
|
|
91802
|
-
const tagName$
|
|
91663
|
+
const tagName$T = 'ul';
|
|
91803
91664
|
register('wm-chips', () => {
|
|
91804
91665
|
return {
|
|
91805
|
-
pre: attrs => `<${tagName$
|
|
91806
|
-
post: () => `</${tagName$
|
|
91666
|
+
pre: attrs => `<${tagName$T} wmChips ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91667
|
+
post: () => `</${tagName$T}>`
|
|
91807
91668
|
};
|
|
91808
91669
|
});
|
|
91809
91670
|
var chips_build = () => { };
|
|
@@ -91813,11 +91674,11 @@ var chips_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91813
91674
|
default: chips_build
|
|
91814
91675
|
});
|
|
91815
91676
|
|
|
91816
|
-
const tagName$
|
|
91677
|
+
const tagName$S = 'div';
|
|
91817
91678
|
register('wm-colorpicker', () => {
|
|
91818
91679
|
return {
|
|
91819
|
-
pre: attrs => `<${tagName$
|
|
91820
|
-
post: () => `</${tagName$
|
|
91680
|
+
pre: attrs => `<${tagName$S} wmColorPicker ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91681
|
+
post: () => `</${tagName$S}>`
|
|
91821
91682
|
};
|
|
91822
91683
|
});
|
|
91823
91684
|
var colorPicker_build = () => { };
|
|
@@ -91827,11 +91688,11 @@ var colorPicker_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91827
91688
|
default: colorPicker_build
|
|
91828
91689
|
});
|
|
91829
91690
|
|
|
91830
|
-
const tagName$
|
|
91691
|
+
const tagName$R = 'div';
|
|
91831
91692
|
register('wm-currency', () => {
|
|
91832
91693
|
return {
|
|
91833
|
-
pre: attrs => `<${tagName$
|
|
91834
|
-
post: () => `</${tagName$
|
|
91694
|
+
pre: attrs => `<${tagName$R} wmCurrency ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91695
|
+
post: () => `</${tagName$R}>`
|
|
91835
91696
|
};
|
|
91836
91697
|
});
|
|
91837
91698
|
var currency_build = () => { };
|
|
@@ -91841,11 +91702,11 @@ var currency_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91841
91702
|
default: currency_build
|
|
91842
91703
|
});
|
|
91843
91704
|
|
|
91844
|
-
const tagName$
|
|
91705
|
+
const tagName$Q = 'div';
|
|
91845
91706
|
register('wm-buttongroup', () => {
|
|
91846
91707
|
return {
|
|
91847
|
-
pre: attrs => `<${tagName$
|
|
91848
|
-
post: () => `</${tagName$
|
|
91708
|
+
pre: attrs => `<${tagName$Q} wmButtonGroup role="group" ${getAttrMarkup(attrs)}>`,
|
|
91709
|
+
post: () => `</${tagName$Q}>`
|
|
91849
91710
|
};
|
|
91850
91711
|
});
|
|
91851
91712
|
var buttonGroup_build = () => { };
|
|
@@ -91855,15 +91716,15 @@ var buttonGroup_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91855
91716
|
default: buttonGroup_build
|
|
91856
91717
|
});
|
|
91857
91718
|
|
|
91858
|
-
const tagName$
|
|
91859
|
-
const idGen$
|
|
91719
|
+
const tagName$P = 'button';
|
|
91720
|
+
const idGen$c = new IDGenerator('wm_button');
|
|
91860
91721
|
register('wm-button', () => {
|
|
91861
91722
|
return {
|
|
91862
91723
|
pre: (attrs) => {
|
|
91863
|
-
const counter = idGen$
|
|
91864
|
-
return `<${tagName$
|
|
91724
|
+
const counter = idGen$c.nextUid();
|
|
91725
|
+
return `<${tagName$P} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${getAttrMarkup(attrs)}>`;
|
|
91865
91726
|
},
|
|
91866
|
-
post: () => `</${tagName$
|
|
91727
|
+
post: () => `</${tagName$P}>`
|
|
91867
91728
|
};
|
|
91868
91729
|
});
|
|
91869
91730
|
var button_build = () => { };
|
|
@@ -91873,11 +91734,11 @@ var button_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91873
91734
|
default: button_build
|
|
91874
91735
|
});
|
|
91875
91736
|
|
|
91876
|
-
const tagName$
|
|
91737
|
+
const tagName$O = 'div';
|
|
91877
91738
|
register('wm-checkbox', () => {
|
|
91878
91739
|
return {
|
|
91879
|
-
pre: attrs => `<${tagName$
|
|
91880
|
-
post: () => `</${tagName$
|
|
91740
|
+
pre: attrs => `<${tagName$O} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91741
|
+
post: () => `</${tagName$O}>`
|
|
91881
91742
|
};
|
|
91882
91743
|
});
|
|
91883
91744
|
var checkbox_build = () => { };
|
|
@@ -91887,11 +91748,11 @@ var checkbox_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91887
91748
|
default: checkbox_build
|
|
91888
91749
|
});
|
|
91889
91750
|
|
|
91890
|
-
const tagName$
|
|
91751
|
+
const tagName$N = 'ul';
|
|
91891
91752
|
register('wm-checkboxset', () => {
|
|
91892
91753
|
return {
|
|
91893
|
-
pre: attrs => `<${tagName$
|
|
91894
|
-
post: () => `</${tagName$
|
|
91754
|
+
pre: attrs => `<${tagName$N} role="group" wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91755
|
+
post: () => `</${tagName$N}>`
|
|
91895
91756
|
};
|
|
91896
91757
|
});
|
|
91897
91758
|
var checkboxset_build = () => { };
|
|
@@ -91901,11 +91762,11 @@ var checkboxset_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91901
91762
|
default: checkboxset_build
|
|
91902
91763
|
});
|
|
91903
91764
|
|
|
91904
|
-
const tagName$
|
|
91765
|
+
const tagName$M = 'div';
|
|
91905
91766
|
register('wm-composite', () => {
|
|
91906
91767
|
return {
|
|
91907
|
-
pre: attrs => `<${tagName$
|
|
91908
|
-
post: () => `</${tagName$
|
|
91768
|
+
pre: attrs => `<${tagName$M} wmComposite wmCaptionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,
|
|
91769
|
+
post: () => `</${tagName$M}${clearChildAttrs()}>`
|
|
91909
91770
|
};
|
|
91910
91771
|
});
|
|
91911
91772
|
var composite_build = () => { };
|
|
@@ -91915,11 +91776,11 @@ var composite_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91915
91776
|
default: composite_build
|
|
91916
91777
|
});
|
|
91917
91778
|
|
|
91918
|
-
const tagName$
|
|
91779
|
+
const tagName$L = 'div';
|
|
91919
91780
|
register('wm-number', () => {
|
|
91920
91781
|
return {
|
|
91921
|
-
pre: attrs => `<${tagName$
|
|
91922
|
-
post: () => `</${tagName$
|
|
91782
|
+
pre: attrs => `<${tagName$L} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91783
|
+
post: () => `</${tagName$L}>`
|
|
91923
91784
|
};
|
|
91924
91785
|
});
|
|
91925
91786
|
var number_build = () => { };
|
|
@@ -91929,11 +91790,11 @@ var number_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91929
91790
|
default: number_build
|
|
91930
91791
|
});
|
|
91931
91792
|
|
|
91932
|
-
const tagName$
|
|
91793
|
+
const tagName$K = 'ul';
|
|
91933
91794
|
register('wm-radioset', () => {
|
|
91934
91795
|
return {
|
|
91935
|
-
pre: attrs => `<${tagName$
|
|
91936
|
-
post: () => `</${tagName$
|
|
91796
|
+
pre: attrs => `<${tagName$K} role="radiogroup" wmRadioset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91797
|
+
post: () => `</${tagName$K}>`
|
|
91937
91798
|
};
|
|
91938
91799
|
});
|
|
91939
91800
|
var radioset_build = () => { };
|
|
@@ -91943,11 +91804,11 @@ var radioset_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91943
91804
|
default: radioset_build
|
|
91944
91805
|
});
|
|
91945
91806
|
|
|
91946
|
-
const tagName$
|
|
91807
|
+
const tagName$J = 'wm-select';
|
|
91947
91808
|
register('wm-select', () => {
|
|
91948
91809
|
return {
|
|
91949
|
-
pre: attrs => `<${tagName$
|
|
91950
|
-
post: () => `</${tagName$
|
|
91810
|
+
pre: attrs => `<${tagName$J} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91811
|
+
post: () => `</${tagName$J}>`
|
|
91951
91812
|
};
|
|
91952
91813
|
});
|
|
91953
91814
|
var select_build = () => { };
|
|
@@ -91957,15 +91818,15 @@ var select_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91957
91818
|
default: select_build
|
|
91958
91819
|
});
|
|
91959
91820
|
|
|
91960
|
-
const tagName$
|
|
91961
|
-
const idGen$
|
|
91821
|
+
const tagName$I = 'div';
|
|
91822
|
+
const idGen$b = new IDGenerator('wm_switch');
|
|
91962
91823
|
register('wm-switch', () => {
|
|
91963
91824
|
return {
|
|
91964
91825
|
pre: (attrs) => {
|
|
91965
|
-
const counter = idGen$
|
|
91966
|
-
return `<${tagName$
|
|
91826
|
+
const counter = idGen$b.nextUid();
|
|
91827
|
+
return `<${tagName$I} wmSwitch #${counter}="wmSwitch" role="group" [attr.aria-label]="${counter}.arialabel || 'Switch choose options'" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;
|
|
91967
91828
|
},
|
|
91968
|
-
post: () => `</${tagName$
|
|
91829
|
+
post: () => `</${tagName$I}>`
|
|
91969
91830
|
};
|
|
91970
91831
|
});
|
|
91971
91832
|
var switch_build = () => { };
|
|
@@ -91975,11 +91836,11 @@ var switch_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91975
91836
|
default: switch_build
|
|
91976
91837
|
});
|
|
91977
91838
|
|
|
91978
|
-
const tagName$
|
|
91839
|
+
const tagName$H = 'wm-input';
|
|
91979
91840
|
register('wm-text', () => {
|
|
91980
91841
|
return {
|
|
91981
|
-
pre: attrs => `<${tagName$
|
|
91982
|
-
post: () => `</${tagName$
|
|
91842
|
+
pre: attrs => `<${tagName$H} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91843
|
+
post: () => `</${tagName$H}>`
|
|
91983
91844
|
};
|
|
91984
91845
|
});
|
|
91985
91846
|
var text_build = () => { };
|
|
@@ -91989,11 +91850,11 @@ var text_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91989
91850
|
default: text_build
|
|
91990
91851
|
});
|
|
91991
91852
|
|
|
91992
|
-
const tagName$
|
|
91853
|
+
const tagName$G = 'wm-textarea';
|
|
91993
91854
|
register('wm-textarea', () => {
|
|
91994
91855
|
return {
|
|
91995
|
-
pre: attrs => `<${tagName$
|
|
91996
|
-
post: () => `</${tagName$
|
|
91856
|
+
pre: attrs => `<${tagName$G} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91857
|
+
post: () => `</${tagName$G}>`
|
|
91997
91858
|
};
|
|
91998
91859
|
});
|
|
91999
91860
|
var textarea_build = () => { };
|
|
@@ -92003,11 +91864,11 @@ var textarea_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92003
91864
|
default: textarea_build
|
|
92004
91865
|
});
|
|
92005
91866
|
|
|
92006
|
-
const tagName$
|
|
91867
|
+
const tagName$F = 'div';
|
|
92007
91868
|
register('wm-datetime', () => {
|
|
92008
91869
|
return {
|
|
92009
|
-
pre: attrs => `<${tagName$
|
|
92010
|
-
post: () => `</${tagName$
|
|
91870
|
+
pre: attrs => `<${tagName$F} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91871
|
+
post: () => `</${tagName$F}>`
|
|
92011
91872
|
};
|
|
92012
91873
|
});
|
|
92013
91874
|
var dateTime_build = () => { };
|
|
@@ -92017,11 +91878,11 @@ var dateTime_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92017
91878
|
default: dateTime_build
|
|
92018
91879
|
});
|
|
92019
91880
|
|
|
92020
|
-
const tagName$
|
|
91881
|
+
const tagName$E = 'div';
|
|
92021
91882
|
register('wm-date', () => {
|
|
92022
91883
|
return {
|
|
92023
|
-
pre: attrs => `<${tagName$
|
|
92024
|
-
post: () => `</${tagName$
|
|
91884
|
+
pre: attrs => `<${tagName$E} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91885
|
+
post: () => `</${tagName$E}>`
|
|
92025
91886
|
};
|
|
92026
91887
|
});
|
|
92027
91888
|
var date_build = () => { };
|
|
@@ -92031,11 +91892,11 @@ var date_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92031
91892
|
default: date_build
|
|
92032
91893
|
});
|
|
92033
91894
|
|
|
92034
|
-
const tagName$
|
|
91895
|
+
const tagName$D = 'div';
|
|
92035
91896
|
register('wm-time', () => {
|
|
92036
91897
|
return {
|
|
92037
|
-
pre: attrs => `<${tagName$
|
|
92038
|
-
post: () => `</${tagName$
|
|
91898
|
+
pre: attrs => `<${tagName$D} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91899
|
+
post: () => `</${tagName$D}>`
|
|
92039
91900
|
};
|
|
92040
91901
|
});
|
|
92041
91902
|
var time_build = () => { };
|
|
@@ -92045,7 +91906,7 @@ var time_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92045
91906
|
default: time_build
|
|
92046
91907
|
});
|
|
92047
91908
|
|
|
92048
|
-
const tagName$
|
|
91909
|
+
const tagName$C = 'div';
|
|
92049
91910
|
register('wm-fileupload', () => {
|
|
92050
91911
|
return {
|
|
92051
91912
|
pre: attrs => {
|
|
@@ -92053,9 +91914,13 @@ register('wm-fileupload', () => {
|
|
|
92053
91914
|
const onSelectBinding = getDataSource(attrs.get('select.event'));
|
|
92054
91915
|
attrs.set('datasource.bind', onSelectBinding);
|
|
92055
91916
|
}
|
|
92056
|
-
|
|
91917
|
+
if (attrs.get('delete.event')) {
|
|
91918
|
+
const onDeleteBinding = getDataSource(attrs.get('delete.event'));
|
|
91919
|
+
attrs.set('deletedatasource.bind', onDeleteBinding);
|
|
91920
|
+
}
|
|
91921
|
+
return `<${tagName$C} wmFileUpload ${getAttrMarkup(attrs)}>`;
|
|
92057
91922
|
},
|
|
92058
|
-
post: () => `</${tagName$
|
|
91923
|
+
post: () => `</${tagName$C}>`
|
|
92059
91924
|
};
|
|
92060
91925
|
});
|
|
92061
91926
|
var fileUpload_build = () => { };
|
|
@@ -92065,11 +91930,11 @@ var fileUpload_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92065
91930
|
default: fileUpload_build
|
|
92066
91931
|
});
|
|
92067
91932
|
|
|
92068
|
-
const tagName$
|
|
91933
|
+
const tagName$B = 'div';
|
|
92069
91934
|
register('wm-rating', () => {
|
|
92070
91935
|
return {
|
|
92071
|
-
pre: attrs => `<${tagName$
|
|
92072
|
-
post: () => `</${tagName$
|
|
91936
|
+
pre: attrs => `<${tagName$B} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91937
|
+
post: () => `</${tagName$B}>`
|
|
92073
91938
|
};
|
|
92074
91939
|
});
|
|
92075
91940
|
var rating_build = () => { };
|
|
@@ -92079,11 +91944,11 @@ var rating_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92079
91944
|
default: rating_build
|
|
92080
91945
|
});
|
|
92081
91946
|
|
|
92082
|
-
const tagName$
|
|
91947
|
+
const tagName$A = 'div';
|
|
92083
91948
|
register('wm-slider', () => {
|
|
92084
91949
|
return {
|
|
92085
|
-
pre: attrs => `<${tagName$
|
|
92086
|
-
post: () => `</${tagName$
|
|
91950
|
+
pre: attrs => `<${tagName$A} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
91951
|
+
post: () => `</${tagName$A}>`
|
|
92087
91952
|
};
|
|
92088
91953
|
});
|
|
92089
91954
|
var slider_build = () => { };
|
|
@@ -92094,7 +91959,7 @@ var slider_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92094
91959
|
});
|
|
92095
91960
|
|
|
92096
91961
|
const wmlistTag = 'wm-list';
|
|
92097
|
-
const tagName$
|
|
91962
|
+
const tagName$z = 'div';
|
|
92098
91963
|
const dataSetKey$2 = 'dataset';
|
|
92099
91964
|
function copyAttribute$1(from, fromAttrName, to, toAttrName) {
|
|
92100
91965
|
const fromAttr = from.attrs.find(a => a.name === fromAttrName);
|
|
@@ -92142,8 +92007,8 @@ register('wm-media-list', () => {
|
|
|
92142
92007
|
copyAttribute$1(template, 'height', node, 'thumbnailheight');
|
|
92143
92008
|
}
|
|
92144
92009
|
},
|
|
92145
|
-
pre: attrs => `<${tagName$
|
|
92146
|
-
post: () => `</${tagName$
|
|
92010
|
+
pre: attrs => `<${tagName$z} wmMediaList ${getAttrMarkup(attrs)}>`,
|
|
92011
|
+
post: () => `</${tagName$z}>`
|
|
92147
92012
|
};
|
|
92148
92013
|
});
|
|
92149
92014
|
var mediaList_build = () => { };
|
|
@@ -92153,11 +92018,11 @@ var mediaList_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92153
92018
|
default: mediaList_build
|
|
92154
92019
|
});
|
|
92155
92020
|
|
|
92156
|
-
const tagName$
|
|
92021
|
+
const tagName$y = 'ng-template';
|
|
92157
92022
|
register('wm-media-template', () => {
|
|
92158
92023
|
return {
|
|
92159
|
-
pre: () => `<${tagName$
|
|
92160
|
-
post: () => `</${tagName$
|
|
92024
|
+
pre: () => `<${tagName$y} #mediaListTemplate let-item="item" let-index="index">`,
|
|
92025
|
+
post: () => `</${tagName$y}>`
|
|
92161
92026
|
};
|
|
92162
92027
|
});
|
|
92163
92028
|
var mediaListItem_build = () => { };
|
|
@@ -92241,16 +92106,16 @@ var list_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92241
92106
|
default: list_build
|
|
92242
92107
|
});
|
|
92243
92108
|
|
|
92244
|
-
const tagName$
|
|
92245
|
-
const idGen$
|
|
92109
|
+
const tagName$x = 'div';
|
|
92110
|
+
const idGen$a = new IDGenerator('liveform_dialog_id_');
|
|
92246
92111
|
register('wm-livetable', () => {
|
|
92247
92112
|
return {
|
|
92248
92113
|
pre: (attrs, shared) => {
|
|
92249
|
-
const counter = idGen$
|
|
92114
|
+
const counter = idGen$a.nextUid();
|
|
92250
92115
|
shared.set('counter', counter);
|
|
92251
|
-
return `<${tagName$
|
|
92116
|
+
return `<${tagName$x} wmLiveTable ${getAttrMarkup(attrs)} dialogid="${counter}">`;
|
|
92252
92117
|
},
|
|
92253
|
-
post: () => `</${tagName$
|
|
92118
|
+
post: () => `</${tagName$x}>`,
|
|
92254
92119
|
provide: (attrs, shared) => {
|
|
92255
92120
|
const provider = new Map();
|
|
92256
92121
|
provider.set('liveform_dialog_id', shared.get('counter'));
|
|
@@ -92265,15 +92130,15 @@ var liveTable_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92265
92130
|
default: liveTable_build
|
|
92266
92131
|
});
|
|
92267
92132
|
|
|
92268
|
-
const tagName$
|
|
92269
|
-
const idGen$
|
|
92133
|
+
const tagName$w = 'p';
|
|
92134
|
+
const idGen$9 = new IDGenerator('wm_message');
|
|
92270
92135
|
register('wm-message', () => {
|
|
92271
92136
|
return {
|
|
92272
92137
|
pre: (attrs) => {
|
|
92273
|
-
const counter = idGen$
|
|
92274
|
-
return `<${tagName$
|
|
92138
|
+
const counter = idGen$9.nextUid();
|
|
92139
|
+
return `<${tagName$w} wmMessage tabindex="0" #${counter}="wmMessage" ${getAttrMarkup(attrs)}>`;
|
|
92275
92140
|
},
|
|
92276
|
-
post: () => `</${tagName$
|
|
92141
|
+
post: () => `</${tagName$w}>`
|
|
92277
92142
|
};
|
|
92278
92143
|
});
|
|
92279
92144
|
var message_build = () => { };
|
|
@@ -92283,11 +92148,11 @@ var message_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92283
92148
|
default: message_build
|
|
92284
92149
|
});
|
|
92285
92150
|
|
|
92286
|
-
const tagName$
|
|
92151
|
+
const tagName$v = 'ol';
|
|
92287
92152
|
register('wm-breadcrumb', () => {
|
|
92288
92153
|
return {
|
|
92289
|
-
pre: attrs => `<${tagName$
|
|
92290
|
-
post: () => `</${tagName$
|
|
92154
|
+
pre: attrs => `<${tagName$v} wmBreadcrumb ${getAttrMarkup(attrs)}>`,
|
|
92155
|
+
post: () => `</${tagName$v}>`
|
|
92291
92156
|
};
|
|
92292
92157
|
});
|
|
92293
92158
|
var breadcrumb_build = () => { };
|
|
@@ -92297,7 +92162,7 @@ var breadcrumb_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92297
92162
|
default: breadcrumb_build
|
|
92298
92163
|
});
|
|
92299
92164
|
|
|
92300
|
-
const tagName$
|
|
92165
|
+
const tagName$u = 'div';
|
|
92301
92166
|
register('wm-menu', () => {
|
|
92302
92167
|
return {
|
|
92303
92168
|
pre: attrs => {
|
|
@@ -92312,13 +92177,13 @@ register('wm-menu', () => {
|
|
|
92312
92177
|
else {
|
|
92313
92178
|
styleBinding = `[ngStyle]="{'width': '${menuWidth}px'}"`;
|
|
92314
92179
|
}
|
|
92315
|
-
return `<${tagName$
|
|
92180
|
+
return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
|
|
92316
92181
|
}
|
|
92317
92182
|
else {
|
|
92318
|
-
return `<${tagName$
|
|
92183
|
+
return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)}>`;
|
|
92319
92184
|
}
|
|
92320
92185
|
},
|
|
92321
|
-
post: () => `</${tagName$
|
|
92186
|
+
post: () => `</${tagName$u}>`
|
|
92322
92187
|
};
|
|
92323
92188
|
});
|
|
92324
92189
|
var menu_build = () => { };
|
|
@@ -92328,11 +92193,11 @@ var menu_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92328
92193
|
default: menu_build
|
|
92329
92194
|
});
|
|
92330
92195
|
|
|
92331
|
-
const tagName$
|
|
92196
|
+
const tagName$t = 'li';
|
|
92332
92197
|
register('wm-nav-item', () => {
|
|
92333
92198
|
return {
|
|
92334
|
-
pre: attrs => `<${tagName$
|
|
92335
|
-
post: () => `</${tagName$
|
|
92199
|
+
pre: attrs => `<${tagName$t} wmNavItem role="listitem" ${getAttrMarkup(attrs)}>`,
|
|
92200
|
+
post: () => `</${tagName$t}>`
|
|
92336
92201
|
};
|
|
92337
92202
|
});
|
|
92338
92203
|
var navItem_build = () => { };
|
|
@@ -92342,11 +92207,11 @@ var navItem_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92342
92207
|
default: navItem_build
|
|
92343
92208
|
});
|
|
92344
92209
|
|
|
92345
|
-
const tagName$
|
|
92210
|
+
const tagName$s = 'ul';
|
|
92346
92211
|
register('wm-nav', () => {
|
|
92347
92212
|
return {
|
|
92348
|
-
pre: attrs => `<${tagName$
|
|
92349
|
-
post: () => `</${tagName$
|
|
92213
|
+
pre: attrs => `<${tagName$s} wmNav data-element-type="wmNav" data-role="page-header" role="list" ${getAttrMarkup(attrs)}>`,
|
|
92214
|
+
post: () => `</${tagName$s}>`
|
|
92350
92215
|
};
|
|
92351
92216
|
});
|
|
92352
92217
|
var nav_build = () => { };
|
|
@@ -92356,11 +92221,11 @@ var nav_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92356
92221
|
default: nav_build
|
|
92357
92222
|
});
|
|
92358
92223
|
|
|
92359
|
-
const tagName$
|
|
92224
|
+
const tagName$r = 'nav';
|
|
92360
92225
|
register('wm-navbar', () => {
|
|
92361
92226
|
return {
|
|
92362
|
-
pre: attrs => `<${tagName$
|
|
92363
|
-
post: () => `</${tagName$
|
|
92227
|
+
pre: attrs => `<${tagName$r} wmNavbar data-element-type="wmNavbar" role="navigation" ${getAttrMarkup(attrs)}>`,
|
|
92228
|
+
post: () => `</${tagName$r}>`
|
|
92364
92229
|
};
|
|
92365
92230
|
});
|
|
92366
92231
|
var navbar_build = () => { };
|
|
@@ -92370,7 +92235,7 @@ var navbar_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92370
92235
|
default: navbar_build
|
|
92371
92236
|
});
|
|
92372
92237
|
|
|
92373
|
-
const tagName$
|
|
92238
|
+
const tagName$q = 'wm-popover';
|
|
92374
92239
|
register('wm-popover', () => {
|
|
92375
92240
|
return {
|
|
92376
92241
|
requires: ['wm-table'],
|
|
@@ -92390,7 +92255,7 @@ register('wm-popover', () => {
|
|
|
92390
92255
|
popoverTemplate = `<div wmContainer #partial partialContainer ${contentMarkup}>`;
|
|
92391
92256
|
shared.set('hasPopoverContent', true);
|
|
92392
92257
|
}
|
|
92393
|
-
let markup = `<${tagName$
|
|
92258
|
+
let markup = `<${tagName$q} wmPopover ${getAttrMarkup(attrs)}>`;
|
|
92394
92259
|
const contextAttrs = table ? `let-row="row"` : ``;
|
|
92395
92260
|
markup += `<ng-template ${contextAttrs}><div tabindex="0" class="popover-start sr-only" aria-label="">popover content start</div>`;
|
|
92396
92261
|
// todo keyboard navigation - tab
|
|
@@ -92404,7 +92269,7 @@ register('wm-popover', () => {
|
|
|
92404
92269
|
if (shared.get('hasPopoverContent')) {
|
|
92405
92270
|
markup += `</div>`;
|
|
92406
92271
|
}
|
|
92407
|
-
return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$
|
|
92272
|
+
return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$q}>`;
|
|
92408
92273
|
}
|
|
92409
92274
|
};
|
|
92410
92275
|
});
|
|
@@ -92415,16 +92280,16 @@ var popover_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92415
92280
|
default: popover_build
|
|
92416
92281
|
});
|
|
92417
92282
|
|
|
92418
|
-
const tagName$
|
|
92283
|
+
const tagName$p = 'div';
|
|
92419
92284
|
const findChild = (node, childName) => {
|
|
92420
92285
|
const child = node && node.children.find(e => (e instanceof Element$2 && e.name === childName));
|
|
92421
92286
|
return child;
|
|
92422
92287
|
};
|
|
92423
|
-
const createElement$
|
|
92424
|
-
return new Element$2(name, [], [], noSpan$
|
|
92288
|
+
const createElement$3 = name => {
|
|
92289
|
+
return new Element$2(name, [], [], noSpan$3, noSpan$3, noSpan$3);
|
|
92425
92290
|
};
|
|
92426
|
-
const addAtrribute$
|
|
92427
|
-
const attr = new Attribute$1(name, value, noSpan$
|
|
92291
|
+
const addAtrribute$3 = (node, name, value) => {
|
|
92292
|
+
const attr = new Attribute$1(name, value, noSpan$3, noSpan$3, noSpan$3, undefined, undefined);
|
|
92428
92293
|
node.attrs.push(attr);
|
|
92429
92294
|
};
|
|
92430
92295
|
const getElementNode = (name, node) => {
|
|
@@ -92445,8 +92310,8 @@ const getElementNode = (name, node) => {
|
|
|
92445
92310
|
});
|
|
92446
92311
|
return elementNode;
|
|
92447
92312
|
};
|
|
92448
|
-
const noSpan$
|
|
92449
|
-
const idGen$
|
|
92313
|
+
const noSpan$3 = {};
|
|
92314
|
+
const idGen$8 = new IDGenerator('wm_page');
|
|
92450
92315
|
register('wm-page', () => {
|
|
92451
92316
|
return {
|
|
92452
92317
|
template: (node) => {
|
|
@@ -92455,24 +92320,24 @@ register('wm-page', () => {
|
|
|
92455
92320
|
pageContentNode = getElementNode('wm-page-content', getElementNode('wm-content', node));
|
|
92456
92321
|
}
|
|
92457
92322
|
if (pageContentNode) {
|
|
92458
|
-
const conditionalNode = createElement$
|
|
92459
|
-
addAtrribute$
|
|
92323
|
+
const conditionalNode = createElement$3('ng-container');
|
|
92324
|
+
addAtrribute$3(conditionalNode, '*ngIf', 'compilePageContent');
|
|
92460
92325
|
conditionalNode.children = conditionalNode.children.concat(pageContentNode.children);
|
|
92461
92326
|
conditionalNode.children.push(new Text$1('{{onPageContentReady()}}', null, undefined, undefined));
|
|
92462
92327
|
pageContentNode.children = [conditionalNode];
|
|
92463
92328
|
if (isMobileApp()) {
|
|
92464
|
-
const loader = createElement$
|
|
92465
|
-
addAtrribute$
|
|
92466
|
-
addAtrribute$
|
|
92329
|
+
const loader = createElement$3('div');
|
|
92330
|
+
addAtrribute$3(loader, 'wmPageContentLoader', '');
|
|
92331
|
+
addAtrribute$3(loader, '*ngIf', '!showPageContent');
|
|
92467
92332
|
pageContentNode.children.push(loader);
|
|
92468
92333
|
}
|
|
92469
92334
|
}
|
|
92470
92335
|
},
|
|
92471
92336
|
pre: (attrs) => {
|
|
92472
|
-
const counter = idGen$
|
|
92473
|
-
return `<${tagName$
|
|
92337
|
+
const counter = idGen$8.nextUid();
|
|
92338
|
+
return `<${tagName$p} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.arialabel" ${getAttrMarkup(attrs)}>`;
|
|
92474
92339
|
},
|
|
92475
|
-
post: () => `</${tagName$
|
|
92340
|
+
post: () => `</${tagName$p}>`
|
|
92476
92341
|
};
|
|
92477
92342
|
});
|
|
92478
92343
|
var page_build = () => { };
|
|
@@ -92482,15 +92347,15 @@ var page_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92482
92347
|
default: page_build
|
|
92483
92348
|
});
|
|
92484
92349
|
|
|
92485
|
-
const tagName$
|
|
92486
|
-
const idGen$
|
|
92350
|
+
const tagName$o = 'div';
|
|
92351
|
+
const idGen$7 = new IDGenerator('wm_layout');
|
|
92487
92352
|
register('wm-layout', () => {
|
|
92488
92353
|
return {
|
|
92489
92354
|
pre: (attrs) => {
|
|
92490
|
-
const counter = idGen$
|
|
92491
|
-
return `<${tagName$
|
|
92355
|
+
const counter = idGen$7.nextUid();
|
|
92356
|
+
return `<${tagName$o} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.arialabel" ${getAttrMarkup(attrs)}>`;
|
|
92492
92357
|
},
|
|
92493
|
-
post: () => `</${tagName$
|
|
92358
|
+
post: () => `</${tagName$o}>`
|
|
92494
92359
|
};
|
|
92495
92360
|
});
|
|
92496
92361
|
var layout_build = () => { };
|
|
@@ -92500,11 +92365,11 @@ var layout_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92500
92365
|
default: layout_build
|
|
92501
92366
|
});
|
|
92502
92367
|
|
|
92503
|
-
const tagName$
|
|
92368
|
+
const tagName$n = 'router-outlet';
|
|
92504
92369
|
register('wm-router-outlet', () => {
|
|
92505
92370
|
return {
|
|
92506
|
-
pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$
|
|
92507
|
-
post: () => `</${tagName$
|
|
92371
|
+
pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$n} (activate)="onActivate($event)">`,
|
|
92372
|
+
post: () => `</${tagName$n}></div>`
|
|
92508
92373
|
};
|
|
92509
92374
|
});
|
|
92510
92375
|
var routerOutlet_build = () => { };
|
|
@@ -92514,11 +92379,11 @@ var routerOutlet_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92514
92379
|
default: routerOutlet_build
|
|
92515
92380
|
});
|
|
92516
92381
|
|
|
92517
|
-
const tagName$
|
|
92382
|
+
const tagName$m = 'nav';
|
|
92518
92383
|
register('wm-pagination', () => {
|
|
92519
92384
|
return {
|
|
92520
|
-
pre: attrs => `<${tagName$
|
|
92521
|
-
post: () => `</${tagName$
|
|
92385
|
+
pre: attrs => `<${tagName$m} wmPagination data-identifier="pagination" aria-label="Page navigation" ${getAttrMarkup(attrs)}>`,
|
|
92386
|
+
post: () => `</${tagName$m}>`
|
|
92522
92387
|
};
|
|
92523
92388
|
});
|
|
92524
92389
|
var pagination_build = () => { };
|
|
@@ -92528,11 +92393,11 @@ var pagination_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92528
92393
|
default: pagination_build
|
|
92529
92394
|
});
|
|
92530
92395
|
|
|
92531
|
-
const tagName$
|
|
92396
|
+
const tagName$l = 'main';
|
|
92532
92397
|
register('wm-content', () => {
|
|
92533
92398
|
return {
|
|
92534
|
-
pre: attrs => `<${tagName$
|
|
92535
|
-
post: () => `</${tagName$
|
|
92399
|
+
pre: attrs => `<${tagName$l} wmContent data-role="page-content" role="main" ${getAttrMarkup(attrs)}>`,
|
|
92400
|
+
post: () => `</${tagName$l}>`
|
|
92536
92401
|
};
|
|
92537
92402
|
});
|
|
92538
92403
|
var content_build = () => { };
|
|
@@ -92542,15 +92407,15 @@ var content_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92542
92407
|
default: content_build
|
|
92543
92408
|
});
|
|
92544
92409
|
|
|
92545
|
-
const tagName$
|
|
92546
|
-
const idGen$
|
|
92410
|
+
const tagName$k = 'footer';
|
|
92411
|
+
const idGen$6 = new IDGenerator('wm_footer');
|
|
92547
92412
|
register('wm-footer', () => {
|
|
92548
92413
|
return {
|
|
92549
92414
|
pre: (attrs) => {
|
|
92550
|
-
const counter = idGen$
|
|
92551
|
-
return `<${tagName$
|
|
92415
|
+
const counter = idGen$6.nextUid();
|
|
92416
|
+
return `<${tagName$k} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.arialabel || 'Page footer'" ${getAttrMarkup(attrs)}>`;
|
|
92552
92417
|
},
|
|
92553
|
-
post: () => `</${tagName$
|
|
92418
|
+
post: () => `</${tagName$k}>`
|
|
92554
92419
|
};
|
|
92555
92420
|
});
|
|
92556
92421
|
var footer_build = () => { };
|
|
@@ -92560,15 +92425,15 @@ var footer_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92560
92425
|
default: footer_build
|
|
92561
92426
|
});
|
|
92562
92427
|
|
|
92563
|
-
const tagName$
|
|
92564
|
-
const idGen$
|
|
92428
|
+
const tagName$j = 'header';
|
|
92429
|
+
const idGen$5 = new IDGenerator('wm_header');
|
|
92565
92430
|
register('wm-header', () => {
|
|
92566
92431
|
return {
|
|
92567
92432
|
pre: (attrs) => {
|
|
92568
|
-
const counter = idGen$
|
|
92569
|
-
return `<${tagName$
|
|
92433
|
+
const counter = idGen$5.nextUid();
|
|
92434
|
+
return `<${tagName$j} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.arialabel || 'Page header'" ${getAttrMarkup(attrs)}>`;
|
|
92570
92435
|
},
|
|
92571
|
-
post: () => `</${tagName$
|
|
92436
|
+
post: () => `</${tagName$j}>`
|
|
92572
92437
|
};
|
|
92573
92438
|
});
|
|
92574
92439
|
var header_build = () => { };
|
|
@@ -92578,15 +92443,15 @@ var header_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92578
92443
|
default: header_build
|
|
92579
92444
|
});
|
|
92580
92445
|
|
|
92581
|
-
const tagName$
|
|
92582
|
-
const idGen$
|
|
92446
|
+
const tagName$i = 'aside';
|
|
92447
|
+
const idGen$4 = new IDGenerator('wm_left_panel');
|
|
92583
92448
|
register('wm-left-panel', () => {
|
|
92584
92449
|
return {
|
|
92585
92450
|
pre: (attrs) => {
|
|
92586
|
-
const counter = idGen$
|
|
92587
|
-
return `<${tagName$
|
|
92451
|
+
const counter = idGen$4.nextUid();
|
|
92452
|
+
return `<${tagName$i} wmLeftPanel #${counter}="wmLeftPanel" partialContainer data-role="page-left-panel" [attr.aria-label]="${counter}.arialabel || 'Left navigation panel'" wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`;
|
|
92588
92453
|
},
|
|
92589
|
-
post: () => `</${tagName$
|
|
92454
|
+
post: () => `</${tagName$i}>`
|
|
92590
92455
|
};
|
|
92591
92456
|
});
|
|
92592
92457
|
var leftPanel_build = () => { };
|
|
@@ -92596,11 +92461,11 @@ var leftPanel_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92596
92461
|
default: leftPanel_build
|
|
92597
92462
|
});
|
|
92598
92463
|
|
|
92599
|
-
const tagName$
|
|
92464
|
+
const tagName$h = 'header';
|
|
92600
92465
|
register('wm-mobile-navbar', () => {
|
|
92601
92466
|
return {
|
|
92602
|
-
pre: attrs => `<${tagName$
|
|
92603
|
-
post: () => `</${tagName$
|
|
92467
|
+
pre: attrs => `<${tagName$h} wmMobileNavbar ${getAttrMarkup(attrs)}>`,
|
|
92468
|
+
post: () => `</${tagName$h}>`
|
|
92604
92469
|
};
|
|
92605
92470
|
});
|
|
92606
92471
|
var mobileNavbar_build = () => { };
|
|
@@ -92610,15 +92475,15 @@ var mobileNavbar_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92610
92475
|
default: mobileNavbar_build
|
|
92611
92476
|
});
|
|
92612
92477
|
|
|
92613
|
-
const tagName$
|
|
92614
|
-
const idGen$
|
|
92478
|
+
const tagName$g = 'aside';
|
|
92479
|
+
const idGen$3 = new IDGenerator('wm_right_panel');
|
|
92615
92480
|
register('wm-right-panel', () => {
|
|
92616
92481
|
return {
|
|
92617
92482
|
pre: (attrs) => {
|
|
92618
|
-
const counter = idGen$
|
|
92619
|
-
return `<${tagName$
|
|
92483
|
+
const counter = idGen$3.nextUid();
|
|
92484
|
+
return `<${tagName$g} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.arialabel || 'Right navigation panel'" ${getAttrMarkup(attrs)}>`;
|
|
92620
92485
|
},
|
|
92621
|
-
post: () => `</${tagName$
|
|
92486
|
+
post: () => `</${tagName$g}>`
|
|
92622
92487
|
};
|
|
92623
92488
|
});
|
|
92624
92489
|
var rightPanel_build = () => { };
|
|
@@ -92628,22 +92493,22 @@ var rightPanel_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92628
92493
|
default: rightPanel_build
|
|
92629
92494
|
});
|
|
92630
92495
|
|
|
92631
|
-
const tagName$
|
|
92632
|
-
const createElement$
|
|
92633
|
-
return new Element$2(name, [], [], noSpan$
|
|
92496
|
+
const tagName$f = 'div';
|
|
92497
|
+
const createElement$2 = name => {
|
|
92498
|
+
return new Element$2(name, [], [], noSpan$2, noSpan$2, noSpan$2);
|
|
92634
92499
|
};
|
|
92635
|
-
const addAtrribute$
|
|
92636
|
-
const attr = new Attribute$1(name, value, noSpan$
|
|
92500
|
+
const addAtrribute$2 = (node, name, value) => {
|
|
92501
|
+
const attr = new Attribute$1(name, value, noSpan$2, noSpan$2, noSpan$2, undefined, undefined);
|
|
92637
92502
|
node.attrs.push(attr);
|
|
92638
92503
|
};
|
|
92639
|
-
const noSpan$
|
|
92504
|
+
const noSpan$2 = {};
|
|
92640
92505
|
register('wm-page-content', () => {
|
|
92641
92506
|
return {
|
|
92642
92507
|
template: (node) => {
|
|
92643
92508
|
for (let attr of node.attrs) {
|
|
92644
92509
|
if (attr.name === 'spa' && attr.value === 'true') {
|
|
92645
|
-
const conditionalNode = createElement$
|
|
92646
|
-
addAtrribute$
|
|
92510
|
+
const conditionalNode = createElement$2('ng-container');
|
|
92511
|
+
addAtrribute$2(conditionalNode, '*ngIf', 'compilePageContent');
|
|
92647
92512
|
conditionalNode.children = conditionalNode.children.concat(node.children);
|
|
92648
92513
|
conditionalNode.children.push(new Text$1('{{onPageContentReady()}}', null, undefined, undefined));
|
|
92649
92514
|
node.children = [conditionalNode];
|
|
@@ -92651,8 +92516,8 @@ register('wm-page-content', () => {
|
|
|
92651
92516
|
}
|
|
92652
92517
|
}
|
|
92653
92518
|
},
|
|
92654
|
-
pre: attrs => `<${tagName$
|
|
92655
|
-
post: () => `</${tagName$
|
|
92519
|
+
pre: attrs => `<${tagName$f} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
|
|
92520
|
+
post: () => `</${tagName$f}>`
|
|
92656
92521
|
};
|
|
92657
92522
|
});
|
|
92658
92523
|
var pageContent_build = () => { };
|
|
@@ -92662,11 +92527,11 @@ var pageContent_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92662
92527
|
default: pageContent_build
|
|
92663
92528
|
});
|
|
92664
92529
|
|
|
92665
|
-
const tagName$
|
|
92530
|
+
const tagName$e = 'div';
|
|
92666
92531
|
register('wm-mobile-tabbar', () => {
|
|
92667
92532
|
return {
|
|
92668
|
-
pre: attrs => `<${tagName$
|
|
92669
|
-
post: () => `</${tagName$
|
|
92533
|
+
pre: attrs => `<${tagName$e} wmMobileTabbar ${getAttrMarkup(attrs)}>`,
|
|
92534
|
+
post: () => `</${tagName$e}>`
|
|
92670
92535
|
};
|
|
92671
92536
|
});
|
|
92672
92537
|
var tabBar_build = () => { };
|
|
@@ -92676,15 +92541,15 @@ var tabBar_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92676
92541
|
default: tabBar_build
|
|
92677
92542
|
});
|
|
92678
92543
|
|
|
92679
|
-
const tagName$
|
|
92680
|
-
const idGen$
|
|
92544
|
+
const tagName$d = 'section';
|
|
92545
|
+
const idGen$2 = new IDGenerator('wm_top_nav');
|
|
92681
92546
|
register('wm-top-nav', () => {
|
|
92682
92547
|
return {
|
|
92683
92548
|
pre: (attrs) => {
|
|
92684
|
-
const counter = idGen$
|
|
92685
|
-
return `<${tagName$
|
|
92549
|
+
const counter = idGen$2.nextUid();
|
|
92550
|
+
return `<${tagName$d} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.arialabel || 'Second level navigation'" ${getAttrMarkup(attrs)}>`;
|
|
92686
92551
|
},
|
|
92687
|
-
post: () => `</${tagName$
|
|
92552
|
+
post: () => `</${tagName$d}>`
|
|
92688
92553
|
};
|
|
92689
92554
|
});
|
|
92690
92555
|
var topNav_build = () => { };
|
|
@@ -92694,26 +92559,26 @@ var topNav_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92694
92559
|
default: topNav_build
|
|
92695
92560
|
});
|
|
92696
92561
|
|
|
92697
|
-
const tagName$
|
|
92698
|
-
const noSpan$
|
|
92699
|
-
const createElement$
|
|
92700
|
-
return new Element$2(name, [], [], noSpan$
|
|
92562
|
+
const tagName$c = 'section';
|
|
92563
|
+
const noSpan$1 = {};
|
|
92564
|
+
const createElement$1 = name => {
|
|
92565
|
+
return new Element$2(name, [], [], noSpan$1, noSpan$1, noSpan$1);
|
|
92701
92566
|
};
|
|
92702
|
-
const addAtrribute$
|
|
92703
|
-
const attr = new Attribute$1(name, value, noSpan$
|
|
92567
|
+
const addAtrribute$1 = (node, name, value) => {
|
|
92568
|
+
const attr = new Attribute$1(name, value, noSpan$1, noSpan$1, noSpan$1, undefined, undefined);
|
|
92704
92569
|
node.attrs.push(attr);
|
|
92705
92570
|
};
|
|
92706
92571
|
register('wm-partial', () => {
|
|
92707
92572
|
return {
|
|
92708
92573
|
template: (node) => {
|
|
92709
|
-
const conditionalNode = createElement$
|
|
92710
|
-
addAtrribute$
|
|
92574
|
+
const conditionalNode = createElement$1('ng-container');
|
|
92575
|
+
addAtrribute$1(conditionalNode, '*ngIf', 'compileContent');
|
|
92711
92576
|
conditionalNode.children = conditionalNode.children.concat(node.children);
|
|
92712
92577
|
node.children.length = 0;
|
|
92713
92578
|
node.children.push(conditionalNode);
|
|
92714
92579
|
},
|
|
92715
|
-
pre: attrs => `<${tagName$
|
|
92716
|
-
post: () => `</${tagName$
|
|
92580
|
+
pre: attrs => `<${tagName$c} wmPartial data-role="partial" ${getAttrMarkup(attrs)}>`,
|
|
92581
|
+
post: () => `</${tagName$c}>`
|
|
92717
92582
|
};
|
|
92718
92583
|
});
|
|
92719
92584
|
var partial_build = () => { };
|
|
@@ -92723,11 +92588,11 @@ var partial_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92723
92588
|
default: partial_build
|
|
92724
92589
|
});
|
|
92725
92590
|
|
|
92726
|
-
const tagName$
|
|
92591
|
+
const tagName$b = 'div';
|
|
92727
92592
|
register('wm-param', () => {
|
|
92728
92593
|
return {
|
|
92729
|
-
pre: attrs => `<${tagName$
|
|
92730
|
-
post: () => `</${tagName$
|
|
92594
|
+
pre: attrs => `<${tagName$b} wmParam hidden ${getAttrMarkup(attrs)}>`,
|
|
92595
|
+
post: () => `</${tagName$b}>`
|
|
92731
92596
|
};
|
|
92732
92597
|
});
|
|
92733
92598
|
var partialParam_build = () => { };
|
|
@@ -92737,11 +92602,11 @@ var partialParam_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92737
92602
|
default: partialParam_build
|
|
92738
92603
|
});
|
|
92739
92604
|
|
|
92740
|
-
const tagName$
|
|
92605
|
+
const tagName$a = 'section';
|
|
92741
92606
|
register('wm-prefab', () => {
|
|
92742
92607
|
return {
|
|
92743
|
-
pre: attrs => `<${tagName$
|
|
92744
|
-
post: () => `</${tagName$
|
|
92608
|
+
pre: attrs => `<${tagName$a} wmPrefab redrawable data-role="prefab" ${getAttrMarkup(attrs)}>`,
|
|
92609
|
+
post: () => `</${tagName$a}>`
|
|
92745
92610
|
};
|
|
92746
92611
|
});
|
|
92747
92612
|
var prefab_build = () => { };
|
|
@@ -92751,26 +92616,26 @@ var prefab_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92751
92616
|
default: prefab_build
|
|
92752
92617
|
});
|
|
92753
92618
|
|
|
92754
|
-
const noSpan
|
|
92755
|
-
const createElement
|
|
92756
|
-
return new Element$2(name, [], [], noSpan
|
|
92619
|
+
const noSpan = {};
|
|
92620
|
+
const createElement = name => {
|
|
92621
|
+
return new Element$2(name, [], [], noSpan, noSpan, noSpan);
|
|
92757
92622
|
};
|
|
92758
|
-
const addAtrribute
|
|
92759
|
-
const attr = new Attribute$1(name, value, noSpan
|
|
92623
|
+
const addAtrribute = (node, name, value) => {
|
|
92624
|
+
const attr = new Attribute$1(name, value, noSpan, noSpan, noSpan, undefined, undefined);
|
|
92760
92625
|
node.attrs.push(attr);
|
|
92761
92626
|
};
|
|
92762
|
-
const tagName$
|
|
92627
|
+
const tagName$9 = 'div';
|
|
92763
92628
|
register('wm-prefab-container', () => {
|
|
92764
92629
|
return {
|
|
92765
92630
|
template: (node) => {
|
|
92766
|
-
const conditionalNode = createElement
|
|
92767
|
-
addAtrribute
|
|
92631
|
+
const conditionalNode = createElement('ng-container');
|
|
92632
|
+
addAtrribute(conditionalNode, '*ngIf', 'compileContent');
|
|
92768
92633
|
conditionalNode.children = conditionalNode.children.concat(node.children);
|
|
92769
92634
|
node.children.length = 0;
|
|
92770
92635
|
node.children.push(conditionalNode);
|
|
92771
92636
|
},
|
|
92772
|
-
pre: attrs => `<${tagName$
|
|
92773
|
-
post: () => `</${tagName$
|
|
92637
|
+
pre: attrs => `<${tagName$9} wmPrefabContainer ${getAttrMarkup(attrs)}>`,
|
|
92638
|
+
post: () => `</${tagName$9}>`
|
|
92774
92639
|
};
|
|
92775
92640
|
});
|
|
92776
92641
|
var prefabContainer_build = () => { };
|
|
@@ -92780,11 +92645,11 @@ var prefabContainer_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92780
92645
|
default: prefabContainer_build
|
|
92781
92646
|
});
|
|
92782
92647
|
|
|
92783
|
-
const tagName$
|
|
92648
|
+
const tagName$8 = 'div';
|
|
92784
92649
|
register('wm-table-action', () => {
|
|
92785
92650
|
return {
|
|
92786
|
-
pre: attrs => `<${tagName$
|
|
92787
|
-
post: () => `</${tagName$
|
|
92651
|
+
pre: attrs => `<${tagName$8} name="${attrs.get('name') || attrs.get('key')}" wmTableAction ${getAttrMarkup(attrs)}>`,
|
|
92652
|
+
post: () => `</${tagName$8}>`
|
|
92788
92653
|
};
|
|
92789
92654
|
});
|
|
92790
92655
|
var tableAction_build = () => { };
|
|
@@ -92794,11 +92659,11 @@ var tableAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92794
92659
|
default: tableAction_build
|
|
92795
92660
|
});
|
|
92796
92661
|
|
|
92797
|
-
const tagName$
|
|
92662
|
+
const tagName$7 = 'div';
|
|
92798
92663
|
register('wm-table-column-group', () => {
|
|
92799
92664
|
return {
|
|
92800
|
-
pre: attrs => `<${tagName$
|
|
92801
|
-
post: () => `</${tagName$
|
|
92665
|
+
pre: attrs => `<${tagName$7} wmTableColumnGroup ${getAttrMarkup(attrs)}>`,
|
|
92666
|
+
post: () => `</${tagName$7}>`
|
|
92802
92667
|
};
|
|
92803
92668
|
});
|
|
92804
92669
|
var tableColumnGroup_build = () => { };
|
|
@@ -92808,8 +92673,8 @@ var tableColumnGroup_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
92808
92673
|
default: tableColumnGroup_build
|
|
92809
92674
|
});
|
|
92810
92675
|
|
|
92811
|
-
const tagName$
|
|
92812
|
-
const idGen$
|
|
92676
|
+
const tagName$6 = 'div';
|
|
92677
|
+
const idGen$1 = new IDGenerator('data_table_form_');
|
|
92813
92678
|
const formWidgets = new Set([
|
|
92814
92679
|
'wm-text',
|
|
92815
92680
|
'wm-textarea',
|
|
@@ -92921,7 +92786,7 @@ const getInlineEditWidgetTmpl = (attrs, isNewRow, errorstyle, pCounter) => {
|
|
|
92921
92786
|
let wmFormWidget = '';
|
|
92922
92787
|
if (widget === FormWidgetType.UPLOAD) {
|
|
92923
92788
|
options.uploadProps = {
|
|
92924
|
-
formName: idGen$
|
|
92789
|
+
formName: idGen$1.nextUid(),
|
|
92925
92790
|
name: fieldName
|
|
92926
92791
|
};
|
|
92927
92792
|
options.counter = pCounter;
|
|
@@ -93061,7 +92926,7 @@ register('wm-table-column', () => {
|
|
|
93061
92926
|
customExprTmpl = `${customExpr}<div data-col-identifier="${attrs.get('binding')}" title="${formatExprTmpl}">${formatExprTmpl}`;
|
|
93062
92927
|
}
|
|
93063
92928
|
}
|
|
93064
|
-
return `<${tagName$
|
|
92929
|
+
return `<${tagName$6} wmTableColumn ${getAttrMarkup(attrs)} ${parentForm}>
|
|
93065
92930
|
${rowFilterTmpl}
|
|
93066
92931
|
${inlineEditTmpl}
|
|
93067
92932
|
${inlineNewEditTmpl}
|
|
@@ -93072,7 +92937,7 @@ register('wm-table-column', () => {
|
|
|
93072
92937
|
if (shared.get('customExpression')) {
|
|
93073
92938
|
customExprTmpl = `</div></ng-template>`;
|
|
93074
92939
|
}
|
|
93075
|
-
return `${customExprTmpl}</${tagName$
|
|
92940
|
+
return `${customExprTmpl}</${tagName$6}>`;
|
|
93076
92941
|
},
|
|
93077
92942
|
imports: (attrs) => {
|
|
93078
92943
|
const editWidgetType = attrs.get('edit-widget-type');
|
|
@@ -93088,7 +92953,7 @@ var tableColumn_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
93088
92953
|
default: tableColumn_build
|
|
93089
92954
|
});
|
|
93090
92955
|
|
|
93091
|
-
const tagName$
|
|
92956
|
+
const tagName$5 = 'div';
|
|
93092
92957
|
const getRowExpansionActionTmpl = (attrs) => {
|
|
93093
92958
|
const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';
|
|
93094
92959
|
const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';
|
|
@@ -93104,7 +92969,7 @@ const getRowExpansionActionTmpl = (attrs) => {
|
|
|
93104
92969
|
register('wm-table-row', () => {
|
|
93105
92970
|
return {
|
|
93106
92971
|
pre: (attrs) => {
|
|
93107
|
-
return `<${tagName$
|
|
92972
|
+
return `<${tagName$5} wmTableRow ${getAttrMarkup(attrs)}>
|
|
93108
92973
|
${getRowExpansionActionTmpl(attrs)}
|
|
93109
92974
|
<ng-template #rowExpansionTmpl let-row="row" let-rowDef="rowDef" let-containerLoad="containerLoad">
|
|
93110
92975
|
<div wmContainer partialContainer content.bind="rowDef.content" load.event="containerLoad(widget)"
|
|
@@ -93112,7 +92977,7 @@ register('wm-table-row', () => {
|
|
|
93112
92977
|
<div *ngFor="let param of rowDef.partialParams | keyvalue" wmParam hidden
|
|
93113
92978
|
[name]="param.key" [value]="param.value"></div>`;
|
|
93114
92979
|
},
|
|
93115
|
-
post: () => `</div></ng-template></${tagName$
|
|
92980
|
+
post: () => `</div></ng-template></${tagName$5}>`
|
|
93116
92981
|
};
|
|
93117
92982
|
});
|
|
93118
92983
|
var tableRow_build = () => { };
|
|
@@ -93122,7 +92987,7 @@ var tableRow_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
93122
92987
|
default: tableRow_build
|
|
93123
92988
|
});
|
|
93124
92989
|
|
|
93125
|
-
const tagName$
|
|
92990
|
+
const tagName$4 = 'div';
|
|
93126
92991
|
const getSaveCancelTemplate = () => {
|
|
93127
92992
|
return `<button type="button" aria-label="Save edit icon" class="save row-action-button btn app-button btn-transparent save-edit-row-button hidden" title="Save">
|
|
93128
92993
|
<i class="wi wi-done" aria-hidden="true"></i>
|
|
@@ -93154,9 +93019,9 @@ const getRowActionTmpl = (attrs) => {
|
|
|
93154
93019
|
};
|
|
93155
93020
|
register('wm-table-row-action', () => {
|
|
93156
93021
|
return {
|
|
93157
|
-
pre: attrs => `<${tagName$
|
|
93022
|
+
pre: attrs => `<${tagName$4} wmTableRowAction ${getAttrMarkup(attrs)}>
|
|
93158
93023
|
${getRowActionTmpl(attrs)}`,
|
|
93159
|
-
post: () => `</${tagName$
|
|
93024
|
+
post: () => `</${tagName$4}>`
|
|
93160
93025
|
};
|
|
93161
93026
|
});
|
|
93162
93027
|
var tableRowAction_build = () => { };
|
|
@@ -93166,9 +93031,9 @@ var tableRowAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
93166
93031
|
default: tableRowAction_build
|
|
93167
93032
|
});
|
|
93168
93033
|
|
|
93169
|
-
const tagName$
|
|
93034
|
+
const tagName$3 = 'div';
|
|
93170
93035
|
const dataSetKey = 'dataset';
|
|
93171
|
-
const idGen
|
|
93036
|
+
const idGen = new IDGenerator('table_');
|
|
93172
93037
|
let columnIndex = 0;
|
|
93173
93038
|
/**
|
|
93174
93039
|
* This method assigns index to the table-column and column-groups in order to the maintain the columns in the same order
|
|
@@ -93228,14 +93093,14 @@ register('wm-table', () => {
|
|
|
93228
93093
|
updateTemplateAttrs(node, boundExpr, widgetNameAttr.value, '', 'row');
|
|
93229
93094
|
},
|
|
93230
93095
|
pre: (attrs, shared) => {
|
|
93231
|
-
const counter = idGen
|
|
93096
|
+
const counter = idGen.nextUid();
|
|
93232
93097
|
shared.set('counter', counter);
|
|
93233
93098
|
attrs.set('isdynamictable', shared.get('isdynamictable'));
|
|
93234
93099
|
attrs.set('isrowexpansionenabled', shared.get('isrowexpansionenabled'));
|
|
93235
93100
|
attrs.set('table_reference', counter);
|
|
93236
|
-
return `<${tagName$
|
|
93101
|
+
return `<${tagName$3} wmTable="${counter}" wmTableFilterSort wmTableCUD #${counter} data-identifier="table" ${getAttrMarkup(attrs)}>`;
|
|
93237
93102
|
},
|
|
93238
|
-
post: () => `</${tagName$
|
|
93103
|
+
post: () => `</${tagName$3}>`,
|
|
93239
93104
|
provide: (attrs, shared) => {
|
|
93240
93105
|
const provider = new Map();
|
|
93241
93106
|
provider.set('table_reference', shared.get('counter'));
|
|
@@ -93254,11 +93119,11 @@ var table_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
93254
93119
|
default: table_build
|
|
93255
93120
|
});
|
|
93256
93121
|
|
|
93257
|
-
const tagName$
|
|
93122
|
+
const tagName$2 = 'div';
|
|
93258
93123
|
register('wm-video', () => {
|
|
93259
93124
|
return {
|
|
93260
|
-
pre: attrs => `<${tagName$
|
|
93261
|
-
post: () => `</${tagName$
|
|
93125
|
+
pre: attrs => `<${tagName$2} wmVideo ${getAttrMarkup(attrs)}>`,
|
|
93126
|
+
post: () => `</${tagName$2}>`
|
|
93262
93127
|
};
|
|
93263
93128
|
});
|
|
93264
93129
|
var video_build = () => { };
|
|
@@ -93268,7 +93133,7 @@ var video_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
93268
93133
|
default: video_build
|
|
93269
93134
|
});
|
|
93270
93135
|
|
|
93271
|
-
const tagName$
|
|
93136
|
+
const tagName$1 = 'div';
|
|
93272
93137
|
const SPACING_KEY = 'parentLinearLayout.spacing';
|
|
93273
93138
|
register('wm-linearlayout', () => {
|
|
93274
93139
|
return {
|
|
@@ -93276,9 +93141,9 @@ register('wm-linearlayout', () => {
|
|
|
93276
93141
|
pre: (attrs, shared, provider) => {
|
|
93277
93142
|
let spacing = attrs.get('spacing');
|
|
93278
93143
|
attrs.set('spacing', (!spacing || spacing === '0') && provider ? provider.get(SPACING_KEY) : spacing);
|
|
93279
|
-
return `<${tagName$
|
|
93144
|
+
return `<${tagName$1} wmLinearLayout ${getAttrMarkup(attrs)}>`;
|
|
93280
93145
|
},
|
|
93281
|
-
post: () => `</${tagName$
|
|
93146
|
+
post: () => `</${tagName$1}>`,
|
|
93282
93147
|
provide: (attrs, shared) => {
|
|
93283
93148
|
const provider = new Map();
|
|
93284
93149
|
provider.set(SPACING_KEY, attrs.get('spacing'));
|
|
@@ -93293,11 +93158,11 @@ var linearLayout_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
93293
93158
|
default: linearLayout_build
|
|
93294
93159
|
});
|
|
93295
93160
|
|
|
93296
|
-
const tagName
|
|
93161
|
+
const tagName = 'div';
|
|
93297
93162
|
register('wm-linearlayoutitem', () => {
|
|
93298
93163
|
return {
|
|
93299
|
-
pre: attrs => `<${tagName
|
|
93300
|
-
post: () => `</${tagName
|
|
93164
|
+
pre: attrs => `<${tagName} wmLinearLayoutItem ${getAttrMarkup(attrs)}>`,
|
|
93165
|
+
post: () => `</${tagName}>`
|
|
93301
93166
|
};
|
|
93302
93167
|
});
|
|
93303
93168
|
var linearLayoutItem_build = () => { };
|
|
@@ -93307,49 +93172,6 @@ var linearLayoutItem_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
93307
93172
|
default: linearLayoutItem_build
|
|
93308
93173
|
});
|
|
93309
93174
|
|
|
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
|
-
|
|
93353
93175
|
const initComponentsBuildTask = () => { };
|
|
93354
93176
|
|
|
93355
93177
|
exports.WIDGET_IMPORTS = WIDGET_IMPORTS;
|
|
@@ -93381,8 +93203,6 @@ exports.confirmDlgBuild = confirmDialog_build$1;
|
|
|
93381
93203
|
exports.containerBuild = container_build$1;
|
|
93382
93204
|
exports.contentBuild = content_build$1;
|
|
93383
93205
|
exports.currencyBuild = currency_build$1;
|
|
93384
|
-
exports.customWidgetBuild = customWidgetContainer_build$1;
|
|
93385
|
-
exports.customWidgetWrapperBuild = customWidgetWrapper_build$1;
|
|
93386
93206
|
exports.dateBuild = date_build$1;
|
|
93387
93207
|
exports.dateTimeBuild = dateTime_build$1;
|
|
93388
93208
|
exports.dlgBuild = dialog_build$1;
|