fantasy-ngzorro 1.2.16 → 1.2.18

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.
@@ -481,10 +481,23 @@
481
481
  }
482
482
  }
483
483
  };
484
+ /**
485
+ * @param {?} fn
486
+ * @return {?}
487
+ */
488
+ HdDetailFormComponent.prototype.triggerEvent = /**
489
+ * @param {?} fn
490
+ * @return {?}
491
+ */
492
+ function (fn) {
493
+ if (fn) {
494
+ fn(event);
495
+ }
496
+ };
484
497
  HdDetailFormComponent.decorators = [
485
498
  { type: core.Component, args: [{
486
499
  selector: 'hd-detail-form',
487
- template: "<nz-content class=\"hd-detail-form-container\">\n <nz-descriptions [nzColumn]=\"{ xxl: 4, xl: 3, lg: 3, md: 3, sm: 2, xs: 1 }\">\n <ng-container *ngFor=\"let col of formCols\">\n <nz-descriptions-item [nzTitle]=\"col.label\">\n <span [ngStyle]=\"{'color': col?.color ? col.color : null}\">{{(col.value === '0' || col.value === 0 || col.value\n )? col.value : '&lt;\u7A7A&gt;'}}</span>\n </nz-descriptions-item>\n </ng-container>\n </nz-descriptions>\n</nz-content>",
500
+ template: "<nz-content class=\"hd-detail-form-container\">\n <nz-descriptions [nzColumn]=\"{ xxl: 4, xl: 3, lg: 3, md: 3, sm: 2, xs: 1 }\">\n <ng-container *ngFor=\"let col of formCols\">\n <nz-descriptions-item *ngIf=\"!col.click\" [nzTitle]=\"col.label\">\n <span [ngStyle]=\"{'color': col?.color ? col.color : null}\">{{(col.value === '0' || col.value === 0 || col.value\n )? col.value : '&lt;\u7A7A&gt;'}}</span>\n </nz-descriptions-item>\n <nz-descriptions-item *ngIf=\"col.click\" [nzTitle]=\"col.label\">\n <span [ngStyle]=\"{'color': col?.color ? col.color : null}\">\n <a (click)=\"triggerEvent(col.click || null)\">{{(col.value === '0' || col.value === 0 || col.value\n )? col.value : '&lt;\u7A7A&gt;'}}</a>\n </span>\n </nz-descriptions-item>\n </ng-container>\n </nz-descriptions>\n</nz-content>",
488
501
  styles: ["::ng-deep .common-btn-group>a{font-size:12px;font-weight:400;color:#12a34f!important;white-space:nowrap}::ng-deep .common-btn-group .common-danger-btn:hover{color:#f05b24!important}::ng-deep .common-btn-group>a:hover{color:#20bd62!important}::ng-deep .common-btn-group>a:not(:last-child)::after{content:'';margin:0 2px}::ng-deep .common-billNumber>a{color:#3b77e3}button{box-shadow:unset;text-shadow:unset}::ng-deep .ant-form-item-label>label{color:#4b504e}::ng-deep .ant-input-number-input{height:28px}::ng-deep .ant-input-number{height:28px}textarea.ant-input{height:auto;min-height:28px}::ng-deep .ant-select-selection--multiple{min-height:28px}::ng-deep .ant-select-selection__rendered>ul>li{height:22px!important;margin-top:3px!important;line-height:22px!important}::ng-deep .ant-advanced-search-form .ant-form-item{margin-bottom:0!important}::ng-deep .ant-select-selection--single{height:28px!important}::ng-deep .ant-input{height:28px}::ng-deep .ant-input[disabled]:hover{border-color:#d9d9d9!important}::ng-deep .ant-select-selection__rendered{line-height:28px!important}::ng-deep .ant-calendar-range-picker-input{text-align:left!important}::ng-deep .ant-calendar-picker{width:100%!important}::ng-deep .ant-row{margin-right:0!important;margin-left:0!important}::ng-deep .ant-col-6{padding-left:12px;padding-right:12px}::ng-deep .ant-col-12{padding-left:12px;padding-right:12px}::ng-deep .ant-col-18{padding-left:12px;padding-right:12px}::ng-deep .ant-col-24{padding-left:12px;padding-right:12px}::ng-deep .ant-alert-info{background-color:#f5f8f6;border:1px solid #cfe3d4}:host ::ng-deep th{background:#f5f8f6!important;font-weight:700!important;white-space:nowrap;font-size:12px;font-family:PingFangSC-Medium,PingFang SC;color:#2a3634;padding:8px!important;box-sizing:border-box}:host ::ng-deep td{font-weight:400;font-style:normal;font-size:12px;color:#2a3634;text-align:left;white-space:nowrap;padding:8px!important;box-sizing:border-box}::ng-deep .ant-pagination-options{display:inline-flex;align-items:center}::ng-deep .ant-time-picker{width:100%}.hd-detail-form-container ::ng-deep .ant-descriptions-item-content{word-break:break-all;color:rgba(0,0,0,.85);font-weight:400}.hd-detail-form-container ::ng-deep .ant-descriptions-item-label{color:rgba(0,0,0,.65)}.hd-detail-form-container ::ng-deep .ant-descriptions-item{padding-top:6px!important;padding-bottom:6px!important}.hd-detail-form-container ::ng-deep td{white-space:unset!important}.hd-detail-form-container .ng-star-inserted,.hd-detail-form-container ::ng-deep .ant-descriptions-item{padding-left:0!important}"]
489
502
  }] }
490
503
  ];
@@ -572,6 +585,8 @@
572
585
  HdOption.prototype.color;
573
586
  /** @type {?} */
574
587
  HdOption.prototype.hide;
588
+ /** @type {?} */
589
+ HdOption.prototype.click;
575
590
  }
576
591
  var SelectOption = /** @class */ (function () {
577
592
  function SelectOption() {
@@ -995,15 +1010,15 @@
995
1010
  // 黄色
996
1011
  '#FAB13B': ['partshipped', 'committed', 'partValid', 'confirm'],
997
1012
  // 灰色
998
- '#9FA4A2': ['initial', 'uncommitted', 'OFF_LINE'],
1013
+ '#9FA4A2': ['initial', 'uncommitted', 'OFF_LINE', 'UN_PRINTED'],
999
1014
  // 红色
1000
1015
  '#F5222D': ['delete', 'deleted', 'aborted', 'rejected'],
1001
1016
  // 蓝色
1002
1017
  '#3B77E3': ['audited', 'adjusted', 'invoiced', 'audit', 'submitted'],
1003
1018
  // 绿色
1004
- '#12A34F': ['shipped', 'received', 'checked', 'using', 'reverse', 'valid', 'approved', 'ON_LINE', 'finished', 'opened'],
1019
+ '#12A34F': ['shipped', 'received', 'checked', 'using', 'reverse', 'valid', 'approved', 'ON_LINE', 'finished', 'opened', 'PRINTED'],
1005
1020
  // 橙色
1006
- '#F05B24': ['picking', 'partialReceived', 'partDelete', 'tender']
1021
+ '#F05B24': ['picking', 'partialReceived', 'partDelete', 'tender', 'MODIFIED_AFTER_PRINTED']
1007
1022
  };
1008
1023
  var HdStatusService = /** @class */ (function () {
1009
1024
  function HdStatusService() {
@@ -5407,6 +5422,15 @@
5407
5422
  return HdFormService;
5408
5423
  }());
5409
5424
 
5425
+ /**
5426
+ * @fileoverview added by tsickle
5427
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5428
+ */
5429
+ /** @type {?} */
5430
+ var StaticConst = {
5431
+ MaxPageSize: 99999999
5432
+ };
5433
+
5410
5434
  /**
5411
5435
  * @fileoverview added by tsickle
5412
5436
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -5564,6 +5588,7 @@
5564
5588
  exports.SelectOption = SelectOption;
5565
5589
  exports.SelectOptionTableColumn = SelectOptionTableColumn;
5566
5590
  exports.SelectOptionTableColumnIcon = SelectOptionTableColumnIcon;
5591
+ exports.StaticConst = StaticConst;
5567
5592
  exports.TableCacheOption = TableCacheOption;
5568
5593
  exports.TableColumn = TableColumn;
5569
5594
  exports.TableTotalOption = TableTotalOption;