mmhglobal-dynamicform 1.1.39 → 1.1.40
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 +13 -10
- package/bundles/mmhglobal-dynamicform.umd.js +7 -12
- package/bundles/mmhglobal-dynamicform.umd.js.map +1 -1
- package/bundles/mmhglobal-dynamicform.umd.min.js +2 -2
- package/bundles/mmhglobal-dynamicform.umd.min.js.map +1 -1
- package/esm2015/lib/ztextarea/ztextarea.component.js +7 -1
- package/esm2015/lib/zudf/zudf.component.js +2 -13
- package/fesm2015/mmhglobal-dynamicform.js +7 -12
- package/fesm2015/mmhglobal-dynamicform.js.map +1 -1
- package/lib/zudf/zudf.component.d.ts +0 -3
- package/mmhglobal-dynamicform.metadata.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,44 +3,47 @@
|
|
|
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.
|
|
6
|
+
`1.1.40`<br/>
|
|
7
|
+
[ztextarea] enhance to allow onchange.<br/>
|
|
8
|
+
|
|
9
|
+
`1.1.39`<br/>
|
|
7
10
|
[zudf] added load userdefinedform.<br/>
|
|
8
11
|
[zupload] enhance to allow to set MinFileSize & MaxFileSize in field attribute
|
|
9
12
|
|
|
10
|
-
`1.38`<br/>
|
|
13
|
+
`1.1.38`<br/>
|
|
11
14
|
[zupload] default file size restriction.<br/>
|
|
12
15
|
[zupload] added clearFiles function.<br/>
|
|
13
16
|
|
|
14
|
-
`1.37`<br/>
|
|
17
|
+
`1.1.37`<br/>
|
|
15
18
|
[tooltipsinfo] support for setTooltipsDisplayText, setTooltipsInfoIcon.
|
|
16
19
|
|
|
17
|
-
`1.36`<br/>
|
|
20
|
+
`1.1.36`<br/>
|
|
18
21
|
Disable zgrid session storage.
|
|
19
22
|
|
|
20
|
-
`1.35`<br/>
|
|
23
|
+
`1.1.35`<br/>
|
|
21
24
|
Temp disable get grid setting from cookiestore when load.
|
|
22
25
|
Fix and enable back grid session storage.
|
|
23
26
|
|
|
24
|
-
`1.34`<br/>
|
|
27
|
+
`1.1.34`<br/>
|
|
25
28
|
Fix zgrid intermittent display all column.
|
|
26
29
|
Fix zText tooltip issue.
|
|
27
30
|
Fix zSelectMultiple virtual problem for desktop view.
|
|
28
31
|
|
|
29
|
-
`1.33`<br/>
|
|
32
|
+
`1.1.33`<br/>
|
|
30
33
|
[zupload] - minor fix for selectFileOnly attribute. <br/>
|
|
31
34
|
[zgrid] - added support for filter operator "contains" for .net core. Default as contains, to use ==, zgrid attribute add FilterContainsUsingEqual:true.
|
|
32
35
|
|
|
33
|
-
`1.32`<br/>
|
|
36
|
+
`1.1.32`<br/>
|
|
34
37
|
[zgrid] - added getFormControlData function to retrieve incell data. <br/>
|
|
35
38
|
[zgrid] - added AfterloadCallback attribute handling. <br/>
|
|
36
39
|
[zgrid] - fix form control error when grid data is null. <br/>
|
|
37
40
|
[zupload] - save file data to group scope. <br/>
|
|
38
41
|
[zquerybuilder] - bug fix for query builder.
|
|
39
42
|
|
|
40
|
-
`1.31`<br/>
|
|
43
|
+
`1.1.31`<br/>
|
|
41
44
|
update dynamicform module for zuploadmodule. <br/>
|
|
42
45
|
|
|
43
|
-
`1.30`<br/>
|
|
46
|
+
`1.1.30`<br/>
|
|
44
47
|
[zupload] - support Select/Remove/Change Event. <br/>
|
|
45
48
|
[zupload] - added SelectFileOnly attribute handling, to allow select file without upload. <br/>
|
|
46
49
|
[zupload] - added selected file append to group scope (type+value as name). <br/>
|
|
@@ -9690,6 +9690,12 @@
|
|
|
9690
9690
|
this.group[this.itemDataField.slice(6)] = zdataModel;
|
|
9691
9691
|
}
|
|
9692
9692
|
}
|
|
9693
|
+
this.group.subject.next({
|
|
9694
|
+
type: "onChange",
|
|
9695
|
+
target: this.data.OnChange,
|
|
9696
|
+
event: event,
|
|
9697
|
+
data: { value: value, field: this.data }
|
|
9698
|
+
});
|
|
9693
9699
|
};
|
|
9694
9700
|
ZtextareaComponent.prototype.getReadOnlyValue = function () {
|
|
9695
9701
|
var readOnlyValue = i3.ZComponentHelper.getGroupEvalValue.call(this, this.data.ReadOnly, this.group);
|
|
@@ -10847,23 +10853,12 @@
|
|
|
10847
10853
|
ZudfComponent.prototype.ComponentIsVisible = function (field) {
|
|
10848
10854
|
return i3.ZComponentHelper.ComponentIsVisible(field, this.group);
|
|
10849
10855
|
};
|
|
10850
|
-
ZudfComponent.prototype.allowDrop = function (ev) {
|
|
10851
|
-
ev.preventDefault();
|
|
10852
|
-
};
|
|
10853
|
-
ZudfComponent.prototype.drag = function (ev) {
|
|
10854
|
-
ev.dataTransfer.setData("text", ev.target.id);
|
|
10855
|
-
};
|
|
10856
|
-
ZudfComponent.prototype.drop = function (ev) {
|
|
10857
|
-
ev.preventDefault();
|
|
10858
|
-
var data = ev.dataTransfer.getData("text");
|
|
10859
|
-
ev.target.appendChild(document.getElementById(data));
|
|
10860
|
-
};
|
|
10861
10856
|
return ZudfComponent;
|
|
10862
10857
|
}());
|
|
10863
10858
|
ZudfComponent.decorators = [
|
|
10864
10859
|
{ type: i0.Component, args: [{
|
|
10865
10860
|
selector: 'app-zudf',
|
|
10866
|
-
template: "<div *ngIf=\"(!!componentProperties.isVisibleField ? group[componentProperties.isVisibleField] : componentProperties.isVisible)\" class=\"ion-row\">\r\n\r\n <app-zformcontrol [ngClass]=\"group[field.isVisibleField] ? field.DivClass : ((field.Visible === true) ? field.DivClass : 'flex-hide')\"\r\n *ngFor=\"let field of formField | divzlayout: data.zlayout\"\r\n [field]=\"field\"\r\n [group]=\"group\"\r\n [form]=\"form\"\r\n id=\"zudf-{{field.Type}}-{{field.Name}}\">\r\n </app-zformcontrol
|
|
10861
|
+
template: "<div *ngIf=\"(!!componentProperties.isVisibleField ? group[componentProperties.isVisibleField] : componentProperties.isVisible)\" class=\"ion-row\">\r\n\r\n <app-zformcontrol [ngClass]=\"group[field.isVisibleField] ? field.DivClass : ((field.Visible === true) ? field.DivClass : 'flex-hide')\"\r\n *ngFor=\"let field of formField | divzlayout: data.zlayout\"\r\n [field]=\"field\"\r\n [group]=\"group\"\r\n [form]=\"form\"\r\n id=\"zudf-{{field.Type}}-{{field.Name}}\">\r\n </app-zformcontrol> \r\n</div>\r\n",
|
|
10867
10862
|
styles: ["#div1,#div2{float:left;width:100px;height:35px;margin:10px;padding:10px;border:1px solid #000}"]
|
|
10868
10863
|
},] }
|
|
10869
10864
|
];
|