fantasy-ngzorro 1.1.32 → 1.1.34
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/bundles/fantasy-ngzorro.umd.js +30 -0
- package/bundles/fantasy-ngzorro.umd.js.map +1 -1
- package/bundles/fantasy-ngzorro.umd.min.js +1 -1
- package/bundles/fantasy-ngzorro.umd.min.js.map +1 -1
- package/esm2015/hd-detail-form/hd-detail-form.component.js +25 -1
- package/esm2015/model/common-type.js +3 -1
- package/esm5/hd-detail-form/hd-detail-form.component.js +29 -1
- package/esm5/model/common-type.js +3 -1
- package/fantasy-ngzorro.metadata.json +1 -1
- package/fesm2015/fantasy-ngzorro.js +26 -0
- package/fesm2015/fantasy-ngzorro.js.map +1 -1
- package/fesm5/fantasy-ngzorro.js +30 -0
- package/fesm5/fantasy-ngzorro.js.map +1 -1
- package/hd-detail-form/hd-detail-form.component.d.ts +2 -1
- package/model/common-type.d.ts +1 -0
- package/package.json +1 -1
|
@@ -452,6 +452,34 @@
|
|
|
452
452
|
* @return {?}
|
|
453
453
|
*/
|
|
454
454
|
function () {
|
|
455
|
+
if (this.formCols && this.formCols.length > 0) {
|
|
456
|
+
// 剔除掉formCols里面不需要显示的内容
|
|
457
|
+
this.formCols = this.formCols.filter((/**
|
|
458
|
+
* @param {?} item
|
|
459
|
+
* @return {?}
|
|
460
|
+
*/
|
|
461
|
+
function (item) { return !item.hide; }));
|
|
462
|
+
}
|
|
463
|
+
};
|
|
464
|
+
/**
|
|
465
|
+
* @param {?} changes
|
|
466
|
+
* @return {?}
|
|
467
|
+
*/
|
|
468
|
+
HdDetailFormComponent.prototype.ngOnChanges = /**
|
|
469
|
+
* @param {?} changes
|
|
470
|
+
* @return {?}
|
|
471
|
+
*/
|
|
472
|
+
function (changes) {
|
|
473
|
+
if (changes['formCols'] && JSON.stringify(changes['formCols'].currentValue) !== JSON.stringify(changes['formCols'].previousValue)) {
|
|
474
|
+
if (this.formCols && this.formCols.length > 0) {
|
|
475
|
+
// 剔除掉formCols里面不需要显示的内容
|
|
476
|
+
this.formCols = this.formCols.filter((/**
|
|
477
|
+
* @param {?} item
|
|
478
|
+
* @return {?}
|
|
479
|
+
*/
|
|
480
|
+
function (item) { return !item.hide; }));
|
|
481
|
+
}
|
|
482
|
+
}
|
|
455
483
|
};
|
|
456
484
|
HdDetailFormComponent.decorators = [
|
|
457
485
|
{ type: core.Component, args: [{
|
|
@@ -542,6 +570,8 @@
|
|
|
542
570
|
HdOption.prototype.value;
|
|
543
571
|
/** @type {?} */
|
|
544
572
|
HdOption.prototype.color;
|
|
573
|
+
/** @type {?} */
|
|
574
|
+
HdOption.prototype.hide;
|
|
545
575
|
}
|
|
546
576
|
var SelectOption = /** @class */ (function () {
|
|
547
577
|
function SelectOption() {
|