@wavemaker/app-runtime-wm-build 11.4.3-next.25779 → 11.4.3-next.25781

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/app-runtime-wm-build",
3
- "version": "11.4.3-next.25779",
3
+ "version": "11.4.3-next.25781",
4
4
  "description": "All modules required for a wavemaker application.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -2719,7 +2719,7 @@
2719
2719
  config = {};
2720
2720
  }
2721
2721
  if (expr.indexOf("[$i]") !== -1) {
2722
- var watchInfo = getUpdatedWatcInfo(expr, config && config.arrayType, listener);
2722
+ var watchInfo = getUpdatedWatcInfo(expr, config && (config.arrayType || config.isList), listener);
2723
2723
  expr = watchInfo.expr;
2724
2724
  listener = watchInfo.listener;
2725
2725
  }
@@ -28251,8 +28251,6 @@
28251
28251
  if (isNativePicker === void 0) {
28252
28252
  isNativePicker = false;
28253
28253
  }
28254
- this.datepattern = this.appDefaults.dateFormat || core$1.getDisplayDateTimeFormat(core$1.FormWidgetType.DATE);
28255
- this.updateFormat("datepattern");
28256
28254
  if (this.isEnterPressedOnDateInput) {
28257
28255
  this.isEnterPressedOnDateInput = false;
28258
28256
  return;
@@ -28358,8 +28356,6 @@
28358
28356
  }), 350);
28359
28357
  };
28360
28358
  DateComponent.prototype.onDisplayKeydown = function(event) {
28361
- this.datepattern = this.appDefaults.dateFormat || core$1.getDisplayDateTimeFormat(core$1.FormWidgetType.DATE);
28362
- this.updateFormat("datepattern");
28363
28359
  if (this.isDropDownDisplayEnabledOnInput(this.showdropdownon)) {
28364
28360
  event.stopPropagation();
28365
28361
  var action = this.keyEventPlugin.constructor.getEventFullKey(event);
@@ -28392,8 +28388,6 @@
28392
28388
  }
28393
28389
  };
28394
28390
  DateComponent.prototype.onDateChange = function(newVal) {
28395
- this.datepattern = this.appDefaults.dateFormat || core$1.getDisplayDateTimeFormat(core$1.FormWidgetType.DATE);
28396
- this.updateFormat("datepattern");
28397
28391
  if (this._bsDefaultLoadCheck) {
28398
28392
  this._bsDefaultLoadCheck = false;
28399
28393
  return;
@@ -65019,9 +65013,9 @@
65019
65013
  var v = _.isArray(d.value) ? d.value[0] : d.value;
65020
65014
  if (v) {
65021
65015
  if (v.startsWith && v.startsWith("bind:")) {
65022
- v = core.$watch(v.replace("bind:", ""), scope, {}, variable.invokeOnParamChange.bind(variable, d), undefined, undefined, undefined, (function() {
65016
+ v = scope.registerDestroyListener(core.$watch(v.replace("bind:", ""), scope, {}, variable.invokeOnParamChange.bind(variable, d), undefined, undefined, d, (function() {
65023
65017
  return variable.isMuted;
65024
- }));
65018
+ })));
65025
65019
  } else if (!_.isUndefined(d.value)) {
65026
65020
  variables.setValueToNode(d.target, d, root, variable, d.value, true);
65027
65021
  if (runMode && root !== targetNodeKey) {