fantasy-ngzorro 1.0.27 → 1.0.29
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 +6 -4
- 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 +2 -2
- package/esm2015/hd-detail-tip/hd-detail-tip.component.js +2 -2
- package/esm2015/hd-status/hd-status.service.js +3 -3
- package/esm2015/model/common-type.js +3 -1
- package/esm5/hd-detail-form/hd-detail-form.component.js +2 -2
- package/esm5/hd-detail-tip/hd-detail-tip.component.js +2 -2
- package/esm5/hd-status/hd-status.service.js +3 -3
- package/esm5/model/common-type.js +3 -1
- package/fantasy-ngzorro.metadata.json +1 -1
- package/fesm2015/fantasy-ngzorro.js +6 -4
- package/fesm2015/fantasy-ngzorro.js.map +1 -1
- package/fesm5/fantasy-ngzorro.js +6 -4
- package/fesm5/fantasy-ngzorro.js.map +1 -1
- package/model/common-type.d.ts +1 -0
- package/package.json +1 -1
|
@@ -447,7 +447,7 @@
|
|
|
447
447
|
HdDetailFormComponent.decorators = [
|
|
448
448
|
{ type: core.Component, args: [{
|
|
449
449
|
selector: 'hd-detail-form',
|
|
450
|
-
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\">{{(col.value === '0' || col.value === 0 || col.value
|
|
450
|
+
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 : '<\u7A7A>'}}</span>\n </nz-descriptions-item>\n </ng-container>\n </nz-descriptions>\n</nz-content>",
|
|
451
451
|
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}"]
|
|
452
452
|
}] }
|
|
453
453
|
];
|
|
@@ -531,6 +531,8 @@
|
|
|
531
531
|
HdOption.prototype.label;
|
|
532
532
|
/** @type {?} */
|
|
533
533
|
HdOption.prototype.value;
|
|
534
|
+
/** @type {?} */
|
|
535
|
+
HdOption.prototype.color;
|
|
534
536
|
}
|
|
535
537
|
var SelectOption = /** @class */ (function () {
|
|
536
538
|
function SelectOption() {
|
|
@@ -908,7 +910,7 @@
|
|
|
908
910
|
/** @type {?} */
|
|
909
911
|
var statusToColor = {
|
|
910
912
|
// 黄色
|
|
911
|
-
'#FAB13B': ['partshipped', 'committed'],
|
|
913
|
+
'#FAB13B': ['partshipped', 'committed', 'partValid'],
|
|
912
914
|
// 灰色
|
|
913
915
|
'#9FA4A2': ['initial', 'uncommitted', 'deleted'],
|
|
914
916
|
// 红色
|
|
@@ -916,7 +918,7 @@
|
|
|
916
918
|
// 蓝色
|
|
917
919
|
'#3B77E3': ['audited', 'finished', 'adjusted', 'invoiced', 'audit'],
|
|
918
920
|
// 绿色
|
|
919
|
-
'#12A34F': ['shipped', 'received', 'checked', 'using', 'reverse'],
|
|
921
|
+
'#12A34F': ['shipped', 'received', 'checked', 'using', 'reverse', 'valid'],
|
|
920
922
|
// 橙色
|
|
921
923
|
'#F05B24': ['picking', 'partialReceived', 'partDelete']
|
|
922
924
|
};
|
|
@@ -977,7 +979,7 @@
|
|
|
977
979
|
HdDetailTipComponent.decorators = [
|
|
978
980
|
{ type: core.Component, args: [{
|
|
979
981
|
selector: 'hd-detail-tip',
|
|
980
|
-
template: "<nz-content class=\"hd-detail-tip-container\">\n <div class=\"hd-detail-tip-state\" [ngStyle]=\"{'background': statusColor || '#9FA4A2'}\"
|
|
982
|
+
template: "<nz-content class=\"hd-detail-tip-container\">\n <div *ngIf=\"stateText\" class=\"hd-detail-tip-state\" [ngStyle]=\"{'background': statusColor || '#9FA4A2'}\">{{stateText}}\n </div>\n <div class=\"hd-detail-tip-billNumber\">{{billNumber}}</div>\n <div *ngIf=\"tip\" class=\"hd-detail-tip-name\"> / {{tip}}</div>\n</nz-content>",
|
|
981
983
|
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-tip-container{display:flex;align-items:center}.hd-detail-tip-container .hd-detail-tip-state{padding:2px 6px;border-radius:2px;font-size:12px;font-weight:500;color:#fff;margin-right:8px}.hd-detail-tip-container .hd-detail-tip-billNumber{font-size:16px;font-weight:500;color:#2a3634}.hd-detail-tip-container .hd-detail-tip-name{font-size:14px;font-weight:500;color:#5d7267}"]
|
|
982
984
|
}] }
|
|
983
985
|
];
|