mmhglobal-dynamicform 1.1.32 → 1.1.33

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.
package/README.md CHANGED
@@ -3,6 +3,10 @@
3
3
  This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.2.13.
4
4
 
5
5
  ## Changelog
6
+ `1.33`<br/>
7
+ [zupload] - minor fix for selectFileOnly attribute. <br/>
8
+ [zgrid] - added support for filter operator "contains" for .net core. Default as contains, to use ==, zgrid attribute add FilterContainsUsingEqual:true.
9
+
6
10
  `1.32`<br/>
7
11
  [zgrid] - added getFormControlData function to retrieve incell data. <br/>
8
12
  [zgrid] - added AfterloadCallback attribute handling. <br/>
@@ -2397,6 +2397,11 @@
2397
2397
  return "isnull";
2398
2398
  case "isnotnull":
2399
2399
  return "isnotnull";
2400
+ case "contains": {
2401
+ if (!this.field['FilterContainsUsingEqual']) {
2402
+ return "contains";
2403
+ }
2404
+ }
2400
2405
  default:
2401
2406
  return "==";
2402
2407
  // eq, neq, isnull, isnotnull, endswith, startswith
@@ -10913,7 +10918,7 @@
10913
10918
  ZuploadComponent.prototype.selectEventHandler = function (e) {
10914
10919
  var _this = this;
10915
10920
  var me = this;
10916
- if (this.data['FileSelectedEvent']) {
10921
+ if (this.data['SelectFileOnly']) {
10917
10922
  // append all file to component memory
10918
10923
  e.files.forEach(function (file) { return __awaiter(_this, void 0, void 0, function () {
10919
10924
  var reader;
@@ -10980,7 +10985,7 @@
10980
10985
  } // file type check
10981
10986
  }); // loop each file
10982
10987
  } // imagecompression check
10983
- // add to group scope
10988
+ // add to group scope
10984
10989
  me.group['zupload_' + me.data.Value] = e.files;
10985
10990
  }
10986
10991
  }