@wavemaker/app-runtime-wm-build 11.5.0-next.40002 → 11.5.0-next.40301

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.
@@ -4168,7 +4168,7 @@
4168
4168
  EXCLUDEDAYS: "excludedays"
4169
4169
  };
4170
4170
  var transformFileURI = function(url) {
4171
- if (_.isString(url) && hasCordova() && url.startsWith("file://")) {
4171
+ if (url && hasCordova() && url.startsWith("file://")) {
4172
4172
  if (isIos()) {
4173
4173
  return url.replace("file://", "/_app_file_");
4174
4174
  } else if (isAndroid() && location.href.startsWith("http")) {
@@ -4387,7 +4387,7 @@
4387
4387
  }();
4388
4388
  var MINIMUM_MOBILE_WIDTH = 480;
4389
4389
  var MINIMUM_TAB_WIDTH = 768;
4390
- var MINIMUM_LARGE_SCREEN_WIDTH = 1200;
4390
+ var MINIMUM_LARGE_SCREEN_WIDTH = 1280;
4391
4391
  var IViewportService = function() {
4392
4392
  function IViewportService() {}
4393
4393
  return IViewportService;
@@ -4472,13 +4472,11 @@
4472
4472
  } else {
4473
4473
  MINIMUM_MOBILE_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue("--screen-xs")) || 480;
4474
4474
  MINIMUM_TAB_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue("--screen-sm")) || 768;
4475
- MINIMUM_LARGE_SCREEN_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue("--screen-lg")) || 1200;
4476
- if (this.screenWidth >= MINIMUM_LARGE_SCREEN_WIDTH) {
4477
- this.isTabletType = isAndroid() || isIos() || isAndroidTablet();
4478
- this.isMobileType = false;
4479
- } else if (this.screenWidth >= MINIMUM_TAB_WIDTH) {
4475
+ if (minValue >= MINIMUM_MOBILE_WIDTH && maxValue >= MINIMUM_TAB_WIDTH) {
4480
4476
  this.type = 1;
4481
- this.isTabletType = true;
4477
+ if (isAndroid() || isIos() || isAndroidTablet()) {
4478
+ this.isTabletType = true;
4479
+ }
4482
4480
  } else {
4483
4481
  this.type = 0;
4484
4482
  this.isMobileType = true;
@@ -4976,7 +4974,7 @@
4976
4974
  if (!_.get(parsedObj, [ stateParam ]) && !_.get(parsedObj, key)) {
4977
4975
  return;
4978
4976
  }
4979
- if (_.get(parsedObj, stateParam + "." + key) || parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key]) {
4977
+ if (_.get(parsedObj, stateParam + "." + key)) {
4980
4978
  if (subParam) {
4981
4979
  delete parsedObj[stateParam][key][subParam];
4982
4980
  } else {
@@ -17071,7 +17069,9 @@
17071
17069
  };
17072
17070
  BaseFormCustomComponent.prototype.invokeOnChange = function(value, $event, valid) {
17073
17071
  this._onChange(value);
17074
- _super.prototype.invokeOnChange.call(this, value, $event);
17072
+ if (valid) {
17073
+ _super.prototype.invokeOnChange.call(this, value, $event);
17074
+ }
17075
17075
  };
17076
17076
  BaseFormCustomComponent.prototype.invokeOnTouched = function($event) {
17077
17077
  this._onTouched();
@@ -17279,9 +17279,6 @@
17279
17279
  core$1.$appDigest();
17280
17280
  }), 150);
17281
17281
  _this.handleHeaderClick = core$1.noop;
17282
- _this.cancelLocaleChangeSubscription = _this.getAppInstance().subscribe("locale-changed", (function() {
17283
- _this._debouncedInitDatasetItems();
17284
- }));
17285
17282
  return _this;
17286
17283
  }
17287
17284
  Object.defineProperty(DatasetAwareFormComponent.prototype, "modelByKey", {
@@ -17494,11 +17491,6 @@
17494
17491
  this.toggleAllHeaders = base.toggleAllHeaders.bind(undefined, this);
17495
17492
  }
17496
17493
  };
17497
- DatasetAwareFormComponent.prototype.ngOnDestroy = function() {
17498
- if (this.cancelLocaleChangeSubscription) {
17499
- this.cancelLocaleChangeSubscription();
17500
- }
17501
- };
17502
17494
  return DatasetAwareFormComponent;
17503
17495
  }(BaseFormCustomComponent);
17504
17496
  DatasetAwareFormComponent.decorators = [ {
@@ -22309,11 +22301,17 @@
22309
22301
  });
22310
22302
  };
22311
22303
  SearchComponent.prototype.onFocusOut = function() {
22304
+ var _this = this;
22312
22305
  this._unsubscribeDv = false;
22313
22306
  this._loadingItems = false;
22314
22307
  this.page = 1;
22315
22308
  if (!this._domUpdated && this._isOpen) {
22316
22309
  this.listenQuery = false;
22310
+ setTimeout((function() {
22311
+ if (_this.typeahead._typeahead.isShown) {
22312
+ _this.typeahead.hide();
22313
+ }
22314
+ }), 200);
22317
22315
  }
22318
22316
  this._isOpen = false;
22319
22317
  if (this._domUpdated && this.typeahead && this.typeahead._container) {
@@ -23187,17 +23185,16 @@
23187
23185
  var defaultTreeIconClass = "plus-minus";
23188
23186
  var TreeComponent = function(_super) {
23189
23187
  __extends(TreeComponent, _super);
23190
- function TreeComponent(inj, binddatavalue, bindnodelabel, bindnodeicon, bindnodechildren, bindnodeid) {
23188
+ function TreeComponent(inj) {
23191
23189
  var _this = _super.call(this, inj, WIDGET_INFO) || this;
23192
- _this.binddatavalue = binddatavalue;
23193
- _this.bindnodelabel = bindnodelabel;
23194
- _this.bindnodeicon = bindnodeicon;
23195
- _this.bindnodechildren = bindnodechildren;
23196
- _this.bindnodeid = bindnodeid;
23197
23190
  _this.setting = {
23198
23191
  data: {
23199
23192
  simpleData: {
23200
23193
  enable: false
23194
+ },
23195
+ key: {
23196
+ children: "children",
23197
+ name: "label"
23201
23198
  }
23202
23199
  },
23203
23200
  view: {
@@ -23211,53 +23208,53 @@
23211
23208
  callback: {}
23212
23209
  };
23213
23210
  base.styler(_this.nativeElement, _this, base.APPLY_STYLES_TYPE.CONTAINER);
23214
- _this.setting.view["nodeClasses"] = _this.setNodeClasses;
23215
- _this.setting.callback["onClick"] = _this.onClick.bind(_this);
23216
- _this.setting.callback["onExpand"] = _this.onExpand.bind(_this);
23217
- _this.setting.callback["onCollapse"] = _this.onCollapse.bind(_this);
23218
23211
  return _this;
23219
23212
  }
23220
23213
  TreeComponent.prototype.onPropertyChange = function(key, nv, ov) {
23221
23214
  switch (key) {
23222
23215
  case "dataset":
23223
23216
  this.nodes = this.getNodes(nv);
23217
+ if (this.level > 0) {
23218
+ this.expandTree(this.level, this.nodes, 0);
23219
+ }
23224
23220
  this.renderTree();
23225
23221
  break;
23226
23222
 
23227
23223
  case "levels":
23228
- this.level = nv;
23224
+ if (nv > 0) {
23225
+ this.level = nv;
23226
+ }
23229
23227
  this.renderTree();
23230
23228
  break;
23231
23229
 
23232
- case "nodeicon":
23233
- this.nodeicon = nv;
23230
+ case "treeicons":
23231
+ this.treeicon = nv;
23234
23232
  this.renderTree();
23235
23233
  break;
23236
23234
 
23237
23235
  case "nodelabel":
23238
- this.nodelabel = nv;
23236
+ this.setting.data.key.name = this.labelKey;
23239
23237
  this.renderTree();
23240
23238
  break;
23241
23239
 
23242
23240
  case "nodechildren":
23243
- this.nodechildren = nv;
23241
+ this.setting.data.key.children = this.childrenKey;
23244
23242
  this.renderTree();
23245
23243
  break;
23246
23244
 
23247
- case "orderby":
23248
- this.orderby = nv;
23245
+ case "nodeicon":
23246
+ this.nodeicon = this.iconKey;
23249
23247
  this.renderTree();
23250
23248
  break;
23251
23249
 
23252
- case "treeicons":
23253
- this.treeicons = nv;
23250
+ case "orderby":
23254
23251
  this.renderTree();
23255
23252
  break;
23256
23253
 
23257
23254
  case "class":
23258
23255
  this.treeClass = nv;
23259
- this.setTreeTemplate(this.treeClass);
23260
23256
  this.renderTree();
23257
+ break;
23261
23258
 
23262
23259
  default:
23263
23260
  _super.prototype.onPropertyChange.call(this, key, nv, ov);
@@ -23267,9 +23264,9 @@
23267
23264
  TreeComponent.prototype.expandTree = function(level, node, childLevel) {
23268
23265
  var _this = this;
23269
23266
  node.map((function(childNode) {
23270
- var children = childNode.children;
23271
- if (children && childLevel < level) {
23272
- childNode.open = true;
23267
+ var children = _this.getChildren(childNode);
23268
+ if (children && !("open" in childNode) && childLevel < level) {
23269
+ childNode["open"] = true;
23273
23270
  _this.expandTree(level, children, childLevel + 1);
23274
23271
  } else {
23275
23272
  childLevel = 0;
@@ -23278,13 +23275,12 @@
23278
23275
  }));
23279
23276
  };
23280
23277
  TreeComponent.prototype.setTreeTemplate = function(value) {
23281
- var classList = value.split(" ");
23282
- if (classList.includes("Classic")) {
23278
+ if (value === "Classic") {
23283
23279
  this.setting.check["enable"] = false;
23284
- } else if (classList.includes("Checkbox")) {
23280
+ } else if (value === "Checkbox") {
23285
23281
  this.setting.check["enable"] = true;
23286
23282
  this.setting.check["chkStyle"] = "checkbox";
23287
- } else if (classList.includes("Radio")) {
23283
+ } else if (value === "Radio") {
23288
23284
  this.setting.check["enable"] = true;
23289
23285
  this.setting.check["chkStyle"] = "radio";
23290
23286
  this.setting.check["radioType"] = "all";
@@ -23311,11 +23307,48 @@
23311
23307
  }
23312
23308
  return nodes;
23313
23309
  };
23314
- TreeComponent.prototype.setNodeClasses = function(treeId, treeNode) {
23310
+ TreeComponent.prototype.setNodeclasses = function(treeId, treeNode) {
23315
23311
  return treeNode.icon ? {
23316
23312
  add: [ "" + treeNode.icon ]
23317
23313
  } : "";
23318
23314
  };
23315
+ TreeComponent.prototype.setNodeData = function(nodes, depth, level, parentNode, type) {
23316
+ var _this = this;
23317
+ if (depth === 0) {
23318
+ nodes.map((function(node) {
23319
+ var children = _this.getChildren(node);
23320
+ if (children) {
23321
+ _this.setNodeData(children, depth, level, parentNode, type);
23322
+ }
23323
+ if (node.icon && _this.nodelabel == "icon") {
23324
+ node[type] = node.icon;
23325
+ } else if (node.name && _this.nodelabel == "name") {
23326
+ node[type] = node.name;
23327
+ } else {
23328
+ return;
23329
+ }
23330
+ }));
23331
+ } else {
23332
+ nodes.map((function(node) {
23333
+ var children = _this.getChildren(node);
23334
+ if (children && level > 1) {
23335
+ if (depth === level) {
23336
+ parentNode = node;
23337
+ }
23338
+ _this.setNodeData(children, depth, level - 1, parentNode, type);
23339
+ }
23340
+ if (level === 1 && (type === "name" ? _this.nodelabel.includes("label") || _this.nodelabel.includes("name") : _this.nodeicon.includes("label") || _this.nodeicon.includes("name"))) {
23341
+ parentNode[type] = node.name || node.label;
23342
+ return;
23343
+ } else if (level === 1 && node.icon !== undefined && (type === "name" ? _this.nodelabel.includes("icon") : _this.nodeicon.includes("icon"))) {
23344
+ parentNode[type] = node.icon;
23345
+ return;
23346
+ } else {
23347
+ return;
23348
+ }
23349
+ }));
23350
+ }
23351
+ };
23319
23352
  TreeComponent.prototype.changeTreeIcons = function(nv) {
23320
23353
  var eleClose = $('ul[name="' + this.name + '"] li span.button.switch');
23321
23354
  $(eleClose).map((function(idx, ele) {
@@ -23329,38 +23362,45 @@
23329
23362
  };
23330
23363
  TreeComponent.prototype.getPath = function(treeNode, path) {
23331
23364
  if (treeNode.getParentNode() === null) {
23332
- path = "/" + treeNode.name + path;
23365
+ path = "/" + treeNode[this.labelKey] + path;
23333
23366
  } else {
23334
- path = this.getPath(treeNode.getParentNode(), path) + "/" + treeNode.name;
23367
+ path = this.getPath(treeNode.getParentNode(), path) + "/" + treeNode[this.labelKey];
23335
23368
  }
23336
23369
  return path;
23337
23370
  };
23338
23371
  TreeComponent.prototype.onClick = function(event, treeId, treeNode, clickFlag) {
23339
23372
  if (this.nodeclick === "expand") {
23340
- var nodes = this.zTree.getSelectedNodes();
23373
+ var nodes = this.treeObj.getSelectedNodes();
23341
23374
  if (nodes.length > 0) {
23342
23375
  this.expandNode(nodes[0], !nodes[0].open, true);
23343
23376
  }
23344
23377
  }
23345
- this.selectNode(event, treeNode);
23378
+ var path = this.getPath(treeNode, "");
23379
+ var eventParams = {
23380
+ $event: event,
23381
+ $item: treeNode,
23382
+ $path: path
23383
+ };
23384
+ this.setSelectedItem(treeNode);
23385
+ this.invokeEventCallback("select", eventParams);
23346
23386
  };
23347
23387
  TreeComponent.prototype.onExpand = function(event, treeId, treeNode) {
23348
23388
  var self = this;
23349
23389
  var path = this.getPath(treeNode, "");
23350
23390
  var eventParams = {
23351
23391
  $event: event,
23352
- $item: core.getClonedObject(treeNode.data),
23392
+ $item: treeNode,
23353
23393
  $path: path
23354
23394
  };
23355
23395
  this.invokeEventCallback("expand", eventParams);
23356
- var children = treeNode.children;
23396
+ var children = this.getChildren(treeNode);
23357
23397
  children === null || children === void 0 ? void 0 : children.map((function(el) {
23358
23398
  if (el.isParent) {
23359
23399
  var ele_1 = $("#" + el.tId + "_switch");
23360
- $(ele_1).addClass(self.treeicons || defaultTreeIconClass);
23400
+ $(ele_1).addClass(self.treeicon || defaultTreeIconClass);
23361
23401
  $(ele_1).on("click", (function(e) {
23362
23402
  setTimeout((function() {
23363
- $(ele_1).addClass(self.treeicons || defaultTreeIconClass);
23403
+ $(ele_1).addClass(self.treeicon || defaultTreeIconClass);
23364
23404
  }), 0);
23365
23405
  }));
23366
23406
  }
@@ -23370,138 +23410,185 @@
23370
23410
  var path = this.getPath(treeNode, "");
23371
23411
  var eventParams = {
23372
23412
  $event: event,
23373
- $item: core.getClonedObject(treeNode.data),
23413
+ $item: treeNode,
23374
23414
  $path: path
23375
23415
  };
23376
23416
  this.invokeEventCallback("collapse", eventParams);
23377
23417
  };
23378
- TreeComponent.prototype.constructZTreeData = function(data, zTreeData) {
23418
+ TreeComponent.prototype.getChildren = function(node) {
23419
+ return node[this.childrenKey];
23420
+ };
23421
+ Object.defineProperty(TreeComponent.prototype, "childrenKey", {
23422
+ get: function() {
23423
+ if (!this.nodechildren) {
23424
+ return "children";
23425
+ }
23426
+ var depth = this.countDepth(this.nodechildren);
23427
+ return depth ? this.nodechildren.split(".").pop() : this.nodechildren;
23428
+ },
23429
+ enumerable: false,
23430
+ configurable: true
23431
+ });
23432
+ Object.defineProperty(TreeComponent.prototype, "labelKey", {
23433
+ get: function() {
23434
+ if (!this.nodelabel) {
23435
+ return "label";
23436
+ }
23437
+ var depth = this.countDepth(this.nodelabel);
23438
+ return depth ? this.nodelabel.split(".").pop() : this.nodelabel;
23439
+ },
23440
+ enumerable: false,
23441
+ configurable: true
23442
+ });
23443
+ Object.defineProperty(TreeComponent.prototype, "iconKey", {
23444
+ get: function() {
23445
+ if (!this.nodeicon) {
23446
+ return "icon";
23447
+ }
23448
+ var depth = this.countDepth(this.nodeicon);
23449
+ return depth ? this.nodeicon.split(".").pop() : this.nodeicon;
23450
+ },
23451
+ enumerable: false,
23452
+ configurable: true
23453
+ });
23454
+ Object.defineProperty(TreeComponent.prototype, "treeObj", {
23455
+ get: function() {
23456
+ return $.fn.zTree.getZTreeObj("" + this.name);
23457
+ },
23458
+ enumerable: false,
23459
+ configurable: true
23460
+ });
23461
+ TreeComponent.prototype.modifyObjects = function(array) {
23379
23462
  var _this = this;
23380
- data.forEach((function(node) {
23381
- var zNode = {};
23382
- var name = base.getEvaluatedData(node, {
23383
- field: _this.nodelabel,
23384
- bindExpression: _this.bindnodelabel
23385
- }, _this.viewParent) || node.label;
23386
- var icon = base.getEvaluatedData(node, {
23387
- field: _this.nodeicon,
23388
- bindExpression: _this.bindnodeicon
23389
- }, _this.viewParent) || node.icon;
23390
- var nodeId = base.getEvaluatedData(node, {
23391
- field: _this.nodeid,
23392
- bindExpression: _this.bindnodeid
23393
- }, _this.viewParent);
23394
- var children = base.getEvaluatedData(node, {
23395
- field: _this.nodechildren,
23396
- bindExpression: _this.bindnodechildren
23397
- }, _this.viewParent) || node.children;
23398
- zNode["name"] = name;
23399
- zNode["icon"] = icon;
23400
- zNode["nodeId"] = nodeId;
23401
- zNode["data"] = core.getClonedObject(node);
23402
- if (_.isArray(children) && children.length) {
23403
- zNode["children"] = [];
23404
- _this.constructZTreeData(children, zNode["children"]);
23405
- }
23406
- zTreeData.push(zNode);
23463
+ array.forEach((function(obj) {
23464
+ obj.icon = obj[_this.nodeicon];
23465
+ var children = _this.getChildren(obj);
23466
+ if (children === null || children === void 0 ? void 0 : children.length) {
23467
+ _this.modifyObjects(children);
23468
+ }
23407
23469
  }));
23408
23470
  };
23409
- TreeComponent.prototype.renderTree = function() {
23410
- var _a;
23411
- this.zTreeNodes = [];
23412
- if ((_a = this.nodes) === null || _a === void 0 ? void 0 : _a.length) {
23413
- this.nativeElement.setAttribute("id", this.name);
23414
- this.constructZTreeData(this.nodes, this.zTreeNodes);
23415
- if (this.level > 0) {
23416
- this.expandTree(this.level, this.zTreeNodes, 0);
23471
+ TreeComponent.prototype.setNodeChildren = function(nodes, depth, level, parentNode) {
23472
+ var _this = this;
23473
+ if (depth <= 0) {
23474
+ return nodes;
23475
+ }
23476
+ for (var i = 0; i < nodes.length; i++) {
23477
+ var node = nodes[i];
23478
+ if (depth === level) {
23479
+ parentNode = nodes[i];
23480
+ }
23481
+ var children = this.getChildren(node);
23482
+ if (children === null || children === void 0 ? void 0 : children.length) {
23483
+ if (level === 1) {
23484
+ parentNode[this.childrenKey] = children.map((function(child) {
23485
+ var _a;
23486
+ return _a = {}, _a[_this.labelKey] = child[_this.labelKey], _a[_this.childrenKey] = _this.getChildren(child),
23487
+ _a.icon = child[_this.iconKey], _a;
23488
+ }));
23489
+ return;
23490
+ } else {
23491
+ this.setNodeChildren(children, depth, level - 1, parentNode);
23492
+ }
23417
23493
  }
23418
23494
  }
23419
- this.zTree = $.fn.zTree.init($('ul[name="' + this.name + '"]'), this.setting, this.zTreeNodes);
23420
- $.fn.zTreeKeyboardNavigation(this.zTree, $('ul[name="' + this.name + '"]'), null, this.treeicons || defaultTreeIconClass);
23421
- this.postRenderTree();
23495
+ return nodes;
23422
23496
  };
23423
- TreeComponent.prototype.setChecked = function(zNode, node) {
23424
- var _this = this;
23425
- node.checked = zNode.checked;
23426
- var children = base.getEvaluatedData(node, {
23427
- field: this.nodechildren,
23428
- bindExpression: this.bindnodechildren
23429
- }, this.viewParent) || node.children;
23430
- if (children === null || children === void 0 ? void 0 : children.length) {
23431
- children.forEach((function(node, index) {
23432
- _this.setChecked(zNode.children[index], node);
23433
- }));
23497
+ TreeComponent.prototype.countDepth = function(str) {
23498
+ var e_1, _a;
23499
+ var regex = /\[.*?\]/g;
23500
+ var matches = str.match(regex);
23501
+ var count = 1;
23502
+ if (matches === null) return count;
23503
+ try {
23504
+ for (var matches_1 = __values(matches), matches_1_1 = matches_1.next(); !matches_1_1.done; matches_1_1 = matches_1.next()) {
23505
+ var match = matches_1_1.value;
23506
+ count++;
23507
+ }
23508
+ } catch (e_1_1) {
23509
+ e_1 = {
23510
+ error: e_1_1
23511
+ };
23512
+ } finally {
23513
+ try {
23514
+ if (matches_1_1 && !matches_1_1.done && (_a = matches_1.return)) _a.call(matches_1);
23515
+ } finally {
23516
+ if (e_1) throw e_1.error;
23517
+ }
23434
23518
  }
23519
+ return count;
23435
23520
  };
23436
- TreeComponent.prototype.selectNode = function(event, node) {
23437
- var deSelectElm = $(".app-tree[name=" + this.name + "] li[treenode].selected");
23438
- deSelectElm.removeClass("selected");
23439
- if (!node) {
23440
- return;
23521
+ TreeComponent.prototype.renderTree = function() {
23522
+ if (this.nodes) {
23523
+ this.nativeElement.setAttribute("id", this.name);
23524
+ if (this.nodeicon && this.nodeicon !== "icon") {
23525
+ this.modifyObjects(this.nodes);
23526
+ }
23527
+ this.setTreeTemplate(this.treeClass);
23528
+ if (this.nodelabel) {
23529
+ var depth = 0;
23530
+ if (this.nodelabel.includes("children")) {
23531
+ depth = this.countDepth(this.nodelabel);
23532
+ }
23533
+ this.setNodeData(this.nodes, depth, depth, null, "name");
23534
+ }
23535
+ if (this.nodeicon) {
23536
+ var depth = 0;
23537
+ if (this.nodeicon.includes("children")) {
23538
+ depth = this.countDepth(this.nodeicon);
23539
+ }
23540
+ this.setNodeData(this.nodes, depth, depth, null, "icon");
23541
+ }
23542
+ if (this.nodechildren) {
23543
+ var depth = this.countDepth(this.nodechildren);
23544
+ if (depth > 1) {
23545
+ this.nodes = this.setNodeChildren(this.nodes, depth, depth, null);
23546
+ }
23547
+ }
23441
23548
  }
23442
- var selectElm = $("#" + node.tId + ":has(.curSelectedNode)");
23549
+ this.setting.view["nodeClasses"] = this.setNodeclasses;
23550
+ this.setting.callback["onClick"] = this.onClick.bind(this);
23551
+ this.setting.callback["onExpand"] = this.onExpand.bind(this);
23552
+ this.setting.callback["onCollapse"] = this.onCollapse.bind(this);
23553
+ var zTree = $.fn.zTree.init($('ul[name="' + this.name + '"]'), this.setting, this.nodes);
23554
+ $.fn.zTreeKeyboardNavigation(zTree, $('ul[name="' + this.name + '"]'), null, this.treeicon || defaultTreeIconClass);
23555
+ };
23556
+ TreeComponent.prototype.setSelectedItem = function(treeNode) {
23557
+ this.selecteditem = core.getClonedObject(treeNode) || {};
23558
+ this.selecteditem.path = this.getPath(treeNode, "");
23559
+ var deSelectElm = $("li[treenode].selected");
23560
+ deSelectElm.removeClass("selected");
23561
+ var selectElm = $("#" + treeNode.tId + ":has(.curSelectedNode)");
23443
23562
  selectElm.addClass("selected");
23444
- var classList = (this.treeClass || "").split(" ");
23445
- if (classList.includes("Checkbox") || classList.includes("Radio")) {
23446
- this.setChecked(node, node.data);
23447
- }
23448
- var path = this.getPath(node, "");
23449
- this.selecteditem = core.getClonedObject(node.data) || {};
23450
- this.selecteditem.path = path;
23451
- var eventParams = {
23452
- $event: event,
23453
- $item: core.getClonedObject(node.data),
23454
- $path: path
23455
- };
23456
- var nodeAction = node.data[this.nodeaction || "action"];
23457
- if (nodeAction) {
23458
- core.$parseEvent(nodeAction)(this);
23459
- }
23460
- this.invokeEventCallback("select", eventParams);
23461
23563
  };
23462
23564
  TreeComponent.prototype.expandNode = function(node, expand, eventFlag) {
23463
- this.zTree.expandNode(node, expand, false, false, eventFlag);
23565
+ this.treeObj.expandNode(node, expand, false, false, eventFlag);
23464
23566
  var el = $("#" + node.tId + "_switch");
23465
- $(el).addClass(this.treeicons || defaultTreeIconClass);
23567
+ $(el).addClass(this.treeicon || defaultTreeIconClass);
23466
23568
  };
23467
- TreeComponent.prototype.postRenderTree = function() {
23569
+ TreeComponent.prototype.ngAfterViewInit = function() {
23468
23570
  var _this = this;
23469
23571
  setTimeout((function() {
23470
- _this.changeTreeIcons(_this.treeicons || defaultTreeIconClass);
23471
- if (_this.datavalue && !_this.selecteditem) {
23472
- var nodes = _this.zTree.getNodes();
23473
- var node = void 0;
23474
- if (nodes.length) {
23475
- if (_this.datavalue === "FirstNode") {
23476
- node = nodes[0];
23477
- }
23478
- if (_this.datavalue === "LastNode") {
23479
- node = nodes[nodes.length - 1];
23572
+ _this.changeTreeIcons(_this.treeicon || defaultTreeIconClass);
23573
+ if (_this.datavalue) {
23574
+ var nodes = _this.treeObj.getNodes();
23575
+ var selectNode = void 0;
23576
+ if (_this.datavalue === "FirstNode") {
23577
+ if (nodes.length) {
23578
+ selectNode = nodes[0];
23480
23579
  }
23481
23580
  }
23482
- if (node) {
23483
- _this.zTree.selectNode(node, false);
23484
- _this.selectNode(undefined, node);
23485
- _this.expandNode(node, true, false);
23581
+ if (_this.datavalue === "LastNode") {
23582
+ if (nodes.length) {
23583
+ selectNode = nodes[nodes.length - 1];
23584
+ }
23486
23585
  }
23586
+ _this.treeObj.selectNode(selectNode, false);
23587
+ _this.setSelectedItem(selectNode);
23588
+ _this.expandNode(selectNode, true, false);
23487
23589
  }
23488
23590
  }), 200);
23489
23591
  };
23490
- TreeComponent.prototype.selectById = function(value) {
23491
- var _a;
23492
- var simpleNodes = (_a = this.zTree) === null || _a === void 0 ? void 0 : _a.transformToArray(this.zTree.getNodes());
23493
- var node = simpleNodes === null || simpleNodes === void 0 ? void 0 : simpleNodes.find((function(node) {
23494
- return value === node.nodeId;
23495
- }));
23496
- if (node) {
23497
- this.zTree.selectNode(node, false);
23498
- this.selectNode(undefined, node);
23499
- }
23500
- };
23501
- TreeComponent.prototype.deselectById = function(value) {
23502
- this.selecteditem = {};
23503
- this.selectById();
23504
- };
23505
23592
  return TreeComponent;
23506
23593
  }(base.StylableComponent);
23507
23594
  TreeComponent.initializeProps = registerProps();
@@ -23517,36 +23604,6 @@
23517
23604
  TreeComponent.ctorParameters = function() {
23518
23605
  return [ {
23519
23606
  type: core$1.Injector
23520
- }, {
23521
- type: undefined,
23522
- decorators: [ {
23523
- type: core$1.Attribute,
23524
- args: [ "datavalue.bind" ]
23525
- } ]
23526
- }, {
23527
- type: undefined,
23528
- decorators: [ {
23529
- type: core$1.Attribute,
23530
- args: [ "nodelabel.bind" ]
23531
- } ]
23532
- }, {
23533
- type: undefined,
23534
- decorators: [ {
23535
- type: core$1.Attribute,
23536
- args: [ "nodeicon.bind" ]
23537
- } ]
23538
- }, {
23539
- type: undefined,
23540
- decorators: [ {
23541
- type: core$1.Attribute,
23542
- args: [ "nodechildren.bind" ]
23543
- } ]
23544
- }, {
23545
- type: undefined,
23546
- decorators: [ {
23547
- type: core$1.Attribute,
23548
- args: [ "nodeid.bind" ]
23549
- } ]
23550
23607
  } ];
23551
23608
  };
23552
23609
  var components = [ TreeComponent ];
@@ -24052,11 +24109,6 @@
24052
24109
  i18nService.initCalendarLocale();
24053
24110
  FullCalendar.__wm_locale_initialized = true;
24054
24111
  }
24055
- _this.cancelLocaleChangeSubscription = _this.getAppInstance().subscribe("locale-changed", (function(libLocale) {
24056
- _this.setLocale();
24057
- _this.applyCalendarOptions("option", "locale", libLocale.fullCalendar || "en");
24058
- _this.redraw();
24059
- }));
24060
24112
  return _this;
24061
24113
  }
24062
24114
  CalendarComponent.prototype.selectDate = function() {
@@ -24519,11 +24571,6 @@
24519
24571
  }));
24520
24572
  }));
24521
24573
  };
24522
- CalendarComponent.prototype.ngOnDestroy = function() {
24523
- if (this.cancelLocaleChangeSubscription) {
24524
- this.cancelLocaleChangeSubscription();
24525
- }
24526
- };
24527
24574
  return CalendarComponent;
24528
24575
  }(base.StylableComponent);
24529
24576
  CalendarComponent.initializeProps = registerProps();
@@ -27111,7 +27158,7 @@
27111
27158
  type: core.Component,
27112
27159
  args: [ {
27113
27160
  selector: "wm-datetimepicker",
27114
- template: '\n <ng-template #datetimepickerTemplate>\n <div class="app-datetime-picker">\n <div class="modal-body">\n <div class="mobile-datetime-picker-options">\n\n </div>\n <bs-datepicker-inline\n [bsConfig]="bsDatepickerConfig"\n [datesDisabled]="excludedDatesToDisable"\n bsDatepicker\n [bsValue]="changedValue"\n (bsValueChange)="onDateUpdate($event)"\n *ngIf="mode === \'DATE_TIME\' || mode === \'DATE\'">\n </bs-datepicker-inline>\n <wm-timepicker\n [value]="changedValue"\n [min]="minTime"\n [max]="maxTime"\n (change)="onTimeUpdate($event)"\n *ngIf="mode === \'DATE_TIME\' || mode === \'TIME\'"></wm-timepicker>\n <span class="text-primary date-picker-value">\n {{getDateLabel()}}\n </span>\n </div>\n <div class="modal-footer">\n <button\n *ngIf="mode === \'DATE_TIME\' || mode === \'DATE\'"\n class="btn btn-secondary today-btn"\n (click)="setToday()">{{appLocale.LABEL_TODAY_DATE || "Today" }}</button>\n <button\n class="btn btn-primary pull-right ok-btn"\n *ngIf="mode === \'DATE_TIME\' || mode === \'TIME\'"\n (click)="onOkClick()">{{appLocale.LABEL_OK || "Ok" }}</button>\n <button\n class="btn btn-secondary pull-right clear-btn"\n (click)="clear()">{{appLocale.LABEL_CLEAR_DATE || "Clear" }}</button>\n </div>\n </div>\n </ng-template>\n '
27161
+ template: ' \n <ng-template #datetimepickerTemplate>\n <div class="app-datetime-picker">\n <div class="modal-body">\n <div class="mobile-datetime-picker-options">\n \n </div>\n <bs-datepicker-inline\n [bsConfig]="bsDatepickerConfig"\n [datesDisabled]="excludedDatesToDisable"\n bsDatepicker\n [bsValue]="changedValue"\n (bsValueChange)="onDateUpdate($event)"\n *ngIf="mode === \'DATE_TIME\' || mode === \'DATE\'">\n </bs-datepicker-inline>\n <wm-timepicker\n [value]="changedValue"\n [min]="minTime"\n [max]="maxTime"\n (change)="onTimeUpdate($event)"\n *ngIf="mode === \'DATE_TIME\' || mode === \'TIME\'"></wm-timepicker>\n <span class="text-primary date-picker-value">\n {{getDateLabel()}}\n </span>\n </div>\n <div class="modal-footer">\n <button\n *ngIf="mode === \'DATE_TIME\' || mode === \'DATE\'"\n class="btn btn-secondary today-btn"\n (click)="setToday()">{{appLocale.MESSAGE_DATE_PICKER_TODAY || "Today" }}</button>\n <button\n class="btn btn-primary pull-right ok-btn"\n *ngIf="mode === \'DATE_TIME\' || mode === \'TIME\'"\n (click)="onOkClick()">{{appLocale.MESSAGE_DATE_PICKER_OK || "Ok" }}</button>\n <button\n class="btn btn-secondary pull-right clear-btn"\n (click)="clear()">{{appLocale.MESSAGE_DATE_PICKER_CLEAR || "Clear" }}</button>\n </div>\n </div>\n </ng-template>\n '
27115
27162
  } ]
27116
27163
  } ];
27117
27164
  DateTimePickerComponent.ctorParameters = function() {
@@ -27251,7 +27298,7 @@
27251
27298
  type: core.Component,
27252
27299
  args: [ {
27253
27300
  selector: "wm-timepicker",
27254
- template: '\n <wm-pickergroup>\n <wm-picker\n [options]="options.hour"\n [selectedValue]="hour"\n (change)="set($event, \'HOUR\')"></wm-picker>\n <span class="app-time-separator">:</span>\n <wm-picker\n [options]="options.minute"\n [selectedValue]="minute"\n (change)="set($event, \'MINUTE\')"></wm-picker>\n <span class="app-time-separator">:</span>\n <wm-picker\n [options]="options.minute"\n [selectedValue]="second"\n (change)="set($event, \'SECOND\')"></wm-picker>\n </wm-pickergroup>\n '
27301
+ template: ' \n <wm-pickergroup>\n <wm-picker \n [options]="options.hour"\n [selectedValue]="hour"\n (change)="set($event, \'HOUR\')"></wm-picker>\n <span class="app-time-separator">:</span>\n <wm-picker \n [options]="options.minute"\n [selectedValue]="minute"\n (change)="set($event, \'MINUTE\')"></wm-picker>\n <span class="app-time-separator">:</span>\n <wm-picker \n [options]="options.minute"\n [selectedValue]="second"\n (change)="set($event, \'SECOND\')"></wm-picker>\n </wm-pickergroup>\n '
27255
27302
  } ]
27256
27303
  } ];
27257
27304
  TimePickerComponent.ctorParameters = function() {
@@ -27306,11 +27353,6 @@
27306
27353
  _this._dateOptions.clearPosition = "right";
27307
27354
  _this.meridians = common.getLocaleDayPeriods(_this.selectedLocale, common.FormStyle.Format, common.TranslationWidth.Abbreviated);
27308
27355
  _this.loadNativeDateInput = core$1.isMobile() && !_this.showcustompicker;
27309
- _this.cancelLocaleChangeSubscription = _this.getAppInstance().subscribe("locale-changed", (function(locale) {
27310
- _this.datePipe.datePipe.locale = locale.angular;
27311
- _this._dateOptions.todayButtonLabel = _this.i18nService.getLocalizedMessage("LABEL_TODAY_DATE");
27312
- _this._dateOptions.clearButtonLabel = _this.i18nService.getLocalizedMessage("LABEL_CLEAR_DATE");
27313
- }));
27314
27356
  return _this;
27315
27357
  }
27316
27358
  Object.defineProperty(BaseDateTimeComponent.prototype, "timeZone", {
@@ -27531,8 +27573,6 @@
27531
27573
  if (event.originalEvent) {
27532
27574
  _this.setFocusForDate(-1);
27533
27575
  }
27534
- var prevMon = _this.getMonth(_this.activeDate, -1);
27535
- $(".bs-datepicker-head .previous").prepend('<p aria-hidden="false" class="sr-only">Changed to Previous Month, ' + prevMon.fullMonth + " and year " + prevMon.date.getFullYear() + "</p>");
27536
27576
  setTimeout((function() {
27537
27577
  $(".bs-datepicker-head .previous").focus();
27538
27578
  }));
@@ -27544,8 +27584,6 @@
27544
27584
  if (event.originalEvent) {
27545
27585
  _this.setFocusForDate(1);
27546
27586
  }
27547
- var nextMon = _this.getMonth(_this.activeDate, 1);
27548
- $(".bs-datepicker-head .next").prepend('<p aria-hidden="false" class="sr-only">Changed to Next Month, ' + nextMon.fullMonth + " and year " + nextMon.date.getFullYear() + "</p>");
27549
27587
  setTimeout((function() {
27550
27588
  $(".bs-datepicker-head .next").focus();
27551
27589
  }));
@@ -27561,10 +27599,21 @@
27561
27599
  _this.setFocusForMonthOrDay();
27562
27600
  }
27563
27601
  }));
27564
- if (!this.clicked) {
27565
- datePickerHead.find(".next").attr("aria-label", "Next Month, " + this.next.fullMonth + " " + this.next.date.getFullYear());
27566
- datePickerHead.find(".previous").attr("aria-label", "Previous Month, " + this.prev.fullMonth + " " + this.prev.date.getFullYear());
27567
- }
27602
+ datePickerHead.find(".next").attr("aria-label", "Next Month, " + this.next.fullMonth + " " + this.next.date.getFullYear());
27603
+ datePickerHead.find(".previous").attr("aria-label", "Previous Month, " + this.prev.fullMonth + " " + this.prev.date.getFullYear());
27604
+ setTimeout((function() {
27605
+ var currentNodes = datePickerHead.find(".current span");
27606
+ var msg = "Changed to month ";
27607
+ datePickerHead.find(".current").attr("aria-live", "assertive").attr("aria-atomic", "false");
27608
+ if (_this.clicked) {
27609
+ if ($(currentNodes[0]).text()) {
27610
+ datePickerHead.find(".ng-star-inserted").prepend('<div class="sr-only">' + msg + "</div>");
27611
+ }
27612
+ if ($(currentNodes[1]).text()) {
27613
+ datePickerHead.find(".current").last().prepend('<div class="sr-only"> and year </div>');
27614
+ }
27615
+ }
27616
+ }));
27568
27617
  };
27569
27618
  BaseDateTimeComponent.prototype.setFocusForMonthOrDay = function() {
27570
27619
  var activeMonthOrYear = $(".bs-datepicker-head .current").first().text();
@@ -28084,9 +28133,6 @@
28084
28133
  if (this.dateOnShowSubscription) {
28085
28134
  this.dateOnShowSubscription.unsubscribe();
28086
28135
  }
28087
- if (this.cancelLocaleChangeSubscription) {
28088
- this.cancelLocaleChangeSubscription();
28089
- }
28090
28136
  _super.prototype.ngOnDestroy.call(this);
28091
28137
  };
28092
28138
  BaseDateTimeComponent.prototype.ngOnDetach = function() {
@@ -28215,11 +28261,8 @@
28215
28261
  return core$1.getFormattedDate(this.datePipe, this.bsDataValue, this.outputformat, this.timeZone, null, this.isCurrentDate, this) || "";
28216
28262
  },
28217
28263
  set: function(newVal) {
28218
- var _this = this;
28219
28264
  if (newVal === CURRENT_DATE$1) {
28220
- setTimeout((function() {
28221
- _this.bsDataValue = _this.timeZone ? core$1.getMomentLocaleObject(_this.timeZone) : new Date;
28222
- }), 50);
28265
+ this.bsDataValue = this.timeZone ? core$1.getMomentLocaleObject(this.timeZone) : new Date;
28223
28266
  this.isCurrentDate = true;
28224
28267
  } else {
28225
28268
  this.bsDataValue = newVal ? core$1.getDateObj(newVal, {
@@ -28320,6 +28363,7 @@
28320
28363
  this.invokeEventCallback("click", {
28321
28364
  $event: $event
28322
28365
  });
28366
+ this.focusOnInputEl();
28323
28367
  }
28324
28368
  if ($event.target && $($event.target).is("input") && !this.isDropDownDisplayEnabledOnInput(this.showdropdownon)) {
28325
28369
  $event.stopPropagation();
@@ -28706,6 +28750,7 @@
28706
28750
  this.invokeEventCallback("click", {
28707
28751
  $event: $event
28708
28752
  });
28753
+ this.focusOnInputEl();
28709
28754
  }
28710
28755
  if ($event.target && $($event.target).is("input") && !this.isDropDownDisplayEnabledOnInput(this.showdropdownon)) {
28711
28756
  $event.stopPropagation();
@@ -29027,6 +29072,7 @@
29027
29072
  this.invokeEventCallback("click", {
29028
29073
  $event: $event
29029
29074
  });
29075
+ this.focusOnInputEl();
29030
29076
  }
29031
29077
  if ($event.target && $($event.target).is("input") && !this.isDropDownDisplayEnabledOnInput(this.showdropdownon)) {
29032
29078
  return;
@@ -32388,11 +32434,7 @@
32388
32434
  var value = _.get(dataObj, xKey);
32389
32435
  if (isLineTypeChart(this.type) && !core.isNumberType(this.xAxisDataType)) {
32390
32436
  this.xDataKeyArr.push(value);
32391
- if (value instanceof Date) {
32392
- return value;
32393
- } else {
32394
- return index;
32395
- }
32437
+ return value;
32396
32438
  }
32397
32439
  return value;
32398
32440
  };
@@ -51200,14 +51242,9 @@
51200
51242
  }));
51201
51243
  } else {
51202
51244
  var element = self.$element.find('[wmformfield][key="' + fieldName + '"]');
51203
- if (!element.length) {
51204
- element = self.$element.find('[wmformfield][name="' + fieldName + '"]');
51205
- }
51206
- if (element.length) {
51207
- element[0].setAttribute("__errormsg", element[0].getAttribute("__validationId"));
51208
- (_a = element[0].querySelector("input")) === null || _a === void 0 ? void 0 : _a.setAttribute("aria-invalid", ngForm.invalid);
51209
- (_b = element[0].querySelector("input")) === null || _b === void 0 ? void 0 : _b.setAttribute("aria-describedby", element[0].getAttribute("__validationId"));
51210
- }
51245
+ element[0].setAttribute("__errormsg", element[0].getAttribute("__validationId"));
51246
+ (_a = element[0].querySelector("input")) === null || _a === void 0 ? void 0 : _a.setAttribute("aria-invalid", ngForm.invalid);
51247
+ (_b = element[0].querySelector("input")) === null || _b === void 0 ? void 0 : _b.setAttribute("aria-describedby", element[0].getAttribute("__validationId"));
51211
51248
  ngForm.markAsTouched();
51212
51249
  }
51213
51250
  };
@@ -58659,7 +58696,6 @@
58659
58696
  _this.heading = heading;
58660
58697
  _this.title = title;
58661
58698
  _this._isFirstLoad = true;
58662
- _this._isOnLoadTriggered = false;
58663
58699
  _this.$lazyLoad = core.noop;
58664
58700
  _this.isActive = false;
58665
58701
  _this.disabled = false;
@@ -58710,10 +58746,6 @@
58710
58746
  return c.redraw();
58711
58747
  }));
58712
58748
  }
58713
- if (!_this._isOnLoadTriggered && !_this.content) {
58714
- _this.invokeEventCallback("load");
58715
- _this._isOnLoadTriggered = true;
58716
- }
58717
58749
  }), 100);
58718
58750
  };
58719
58751
  TabPaneComponent.prototype.notifyParent = function(evt) {
@@ -68323,7 +68355,6 @@
68323
68355
  timezone: "",
68324
68356
  number: ""
68325
68357
  };
68326
- _this.bundleLoaded = {};
68327
68358
  _this.appLocale = {};
68328
68359
  _this.prefabLocale = new Map;
68329
68360
  return _this;
@@ -68390,8 +68421,6 @@
68390
68421
  _this.extendMessages(bundle.messages);
68391
68422
  _this.extendPrefabMessages(bundle);
68392
68423
  _this.appDefaults.setFormats(bundle.formats);
68393
- _this.bundleLoaded.app = true;
68394
- _this.notifyLocaleChanged();
68395
68424
  }));
68396
68425
  };
68397
68426
  I18nServiceImpl.prototype.loadMomentLocaleBundle = function(momentLocale) {
@@ -68408,8 +68437,6 @@
68408
68437
  _config = _config && _config._config;
68409
68438
  chronos.defineLocale(_this.selectedLocale, _config);
68410
68439
  _this.bsLocaleService.use(_this.getSelectedLocale() || _this.defaultSupportedLocale);
68411
- _this.bundleLoaded.moment = true;
68412
- _this.notifyLocaleChanged();
68413
68440
  }));
68414
68441
  };
68415
68442
  I18nServiceImpl.prototype.loadAngularLocaleBundle = function(angLocale) {
@@ -68439,7 +68466,6 @@
68439
68466
  return Promise.resolve();
68440
68467
  }
68441
68468
  if (!force && (i2.isMobile() || i2.isMobileApp() || this.selectedLocale === this.defaultSupportedLocale)) {
68442
- this.bundleLoaded.fullCalendar = true;
68443
68469
  return;
68444
68470
  }
68445
68471
  return i2.loadScripts([ path ], true);
@@ -68469,21 +68495,11 @@
68469
68495
  }));
68470
68496
  };
68471
68497
  I18nServiceImpl.prototype.loadLocaleBundles = function(libLocale) {
68472
- var _this = this;
68473
- var _a;
68474
68498
  if (libLocale.moment) {
68475
68499
  this.loadMomentLocaleBundle(libLocale.moment);
68476
- } else if (this.selectedLocale === this.defaultSupportedLocale) {
68477
- this.bsLocaleService.use(this.getSelectedLocale() || this.defaultSupportedLocale);
68478
- this.bundleLoaded.moment = true;
68479
68500
  }
68480
68501
  if (libLocale.fullCalendar && window["FullCalendar"]) {
68481
- (_a = this.loadCalendarLocaleBundle(libLocale.fullCalendar)) === null || _a === void 0 ? void 0 : _a.then((function() {
68482
- _this.bundleLoaded.fullCalendar = true;
68483
- _this.notifyLocaleChanged();
68484
- }));
68485
- } else {
68486
- this.bundleLoaded.fullCalendar = true;
68502
+ this.loadCalendarLocaleBundle(libLocale.fullCalendar);
68487
68503
  }
68488
68504
  if (libLocale.angular) {
68489
68505
  this.loadAppLocaleBundle();
@@ -68523,15 +68539,8 @@
68523
68539
  i2.setSessionStorageItem("selectedLocale", locale);
68524
68540
  this.selectedLocale = locale;
68525
68541
  this.init();
68526
- this.bundleLoaded.moment = false;
68527
- this.bundleLoaded.fullCalendar = false;
68528
- this.bundleLoaded.app = false;
68529
- this.bundleLoaded.angular = false;
68530
- this.bundleLoaded.libLocale = libLocale;
68531
68542
  return this.loadLocaleBundles(libLocale).then((function() {
68532
- _this.updateLocaleDirection();
68533
- _this.bundleLoaded.angular = true;
68534
- _this.notifyLocaleChanged();
68543
+ return _this.updateLocaleDirection();
68535
68544
  }));
68536
68545
  };
68537
68546
  I18nServiceImpl.prototype.deduceAppLocale = function() {
@@ -68567,7 +68576,6 @@
68567
68576
  return defaultLanguage;
68568
68577
  };
68569
68578
  I18nServiceImpl.prototype.loadDefaultLocale = function() {
68570
- Date.prototype["month"] = Date.prototype.getMonth;
68571
68579
  var locale = this.deduceAppLocale();
68572
68580
  return this.setSelectedLocale(locale);
68573
68581
  };
@@ -68605,11 +68613,6 @@
68605
68613
  I18nServiceImpl.prototype.getwidgetLocale = function() {
68606
68614
  return this.formatsByLocale;
68607
68615
  };
68608
- I18nServiceImpl.prototype.notifyLocaleChanged = function() {
68609
- if (this.bundleLoaded.moment && this.bundleLoaded.fullCalendar && this.bundleLoaded.angular && this.bundleLoaded.app) {
68610
- this.app.notify("locale-changed", this.bundleLoaded.libLocale);
68611
- }
68612
- };
68613
68616
  return I18nServiceImpl;
68614
68617
  }(i2.AbstractI18nService);
68615
68618
  I18nServiceImpl.decorators = [ {