fantasy-ngzorro 1.2.17 → 1.2.19
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 +16 -3
- 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/fantasy-ngzorro.js +2 -2
- package/esm2015/hd-form-lines/hd-form-lines.component.js +4 -1
- package/esm2015/hd-status/hd-status.service.js +4 -4
- package/esm2015/index.js +2 -2
- package/esm2015/model/staticConst.js +9 -0
- package/esm2015/public-api.js +2 -1
- package/esm5/fantasy-ngzorro.js +2 -2
- package/esm5/hd-form-lines/hd-form-lines.component.js +4 -1
- package/esm5/hd-status/hd-status.service.js +4 -4
- package/esm5/index.js +2 -2
- package/esm5/model/staticConst.js +9 -0
- package/esm5/public-api.js +2 -1
- package/fantasy-ngzorro.metadata.json +1 -1
- package/fesm2015/fantasy-ngzorro.js +16 -4
- package/fesm2015/fantasy-ngzorro.js.map +1 -1
- package/fesm5/fantasy-ngzorro.js +16 -4
- package/fesm5/fantasy-ngzorro.js.map +1 -1
- package/model/staticConst.d.ts +3 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -700,15 +700,15 @@ const statusToColor = {
|
|
|
700
700
|
// 黄色
|
|
701
701
|
'#FAB13B': ['partshipped', 'committed', 'partValid', 'confirm'],
|
|
702
702
|
// 灰色
|
|
703
|
-
'#9FA4A2': ['initial', 'uncommitted', 'OFF_LINE'],
|
|
703
|
+
'#9FA4A2': ['initial', 'uncommitted', 'OFF_LINE', 'UN_PRINTED'],
|
|
704
704
|
// 红色
|
|
705
705
|
'#F5222D': ['delete', 'deleted', 'aborted', 'rejected'],
|
|
706
706
|
// 蓝色
|
|
707
707
|
'#3B77E3': ['audited', 'adjusted', 'invoiced', 'audit', 'submitted'],
|
|
708
708
|
// 绿色
|
|
709
|
-
'#12A34F': ['shipped', 'received', 'checked', 'using', 'reverse', 'valid', 'approved', 'ON_LINE', 'finished', 'opened'],
|
|
709
|
+
'#12A34F': ['shipped', 'received', 'checked', 'using', 'reverse', 'valid', 'approved', 'ON_LINE', 'finished', 'opened', 'PRINTED'],
|
|
710
710
|
// 橙色
|
|
711
|
-
'#F05B24': ['picking', 'partialReceived', 'partDelete', 'tender']
|
|
711
|
+
'#F05B24': ['picking', 'partialReceived', 'partDelete', 'tender', 'MODIFIED_AFTER_PRINTED']
|
|
712
712
|
};
|
|
713
713
|
class HdStatusService {
|
|
714
714
|
constructor() { }
|
|
@@ -1377,10 +1377,13 @@ class HdFormLinesComponent {
|
|
|
1377
1377
|
* @return {?}
|
|
1378
1378
|
*/
|
|
1379
1379
|
ngOnChanges(changes) {
|
|
1380
|
+
console.log('changes', changes);
|
|
1380
1381
|
if (changes['formLinesData'] && JSON.stringify(changes['formLinesData'].currentValue) !== JSON.stringify(changes['formLinesData'].previousValue)) {
|
|
1381
1382
|
if (this.storeFormLinesData && this.storeFormLinesData.length === 0) {
|
|
1383
|
+
console.log('1');
|
|
1382
1384
|
this.storeFormLinesData = this.formLinesData;
|
|
1383
1385
|
}
|
|
1386
|
+
console.log('2');
|
|
1384
1387
|
this.init();
|
|
1385
1388
|
}
|
|
1386
1389
|
if (changes['totalOption'] && JSON.stringify(changes['totalOption'].currentValue) !== JSON.stringify(changes['totalOption'].previousValue)) {
|
|
@@ -4524,6 +4527,15 @@ HdFormService.decorators = [
|
|
|
4524
4527
|
HdFormService.ctorParameters = () => [];
|
|
4525
4528
|
/** @nocollapse */ HdFormService.ngInjectableDef = ɵɵdefineInjectable({ factory: function HdFormService_Factory() { return new HdFormService(); }, token: HdFormService, providedIn: "root" });
|
|
4526
4529
|
|
|
4530
|
+
/**
|
|
4531
|
+
* @fileoverview added by tsickle
|
|
4532
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4533
|
+
*/
|
|
4534
|
+
/** @type {?} */
|
|
4535
|
+
const StaticConst = {
|
|
4536
|
+
MaxPageSize: 99999999
|
|
4537
|
+
};
|
|
4538
|
+
|
|
4527
4539
|
/**
|
|
4528
4540
|
* @fileoverview added by tsickle
|
|
4529
4541
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -4667,5 +4679,5 @@ const Utils = {
|
|
|
4667
4679
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4668
4680
|
*/
|
|
4669
4681
|
|
|
4670
|
-
export { ButtonSize, ButtonType, ColWidth, ColorOption, ExplainOption, FantasyNgzorroModule, Filter, FilterListType, FormItem, FormLine, FormLineType, FormListType, HdButtonService, HdCurrentTableComponent, HdDetailFormService, HdFilterService, HdFormLinesService, HdFormService, HdLogComponent, HdLogService, HdOption, HdTableColumn, HdTableTotalOption, InputNumber, OperateBtn, Page, SelectOption, SelectOptionTableColumn, SelectOptionTableColumnIcon, TableCacheOption, TableColumn, TableTotalOption, TotalOption, TreeGrid, Utils, ValidatorKey, HdComponentModule as ɵa, HdButtonModule as ɵb, HdTipComponent as ɵba, HdPopconfirmModule as ɵbb, HdPopconfirmComponent as ɵbc, HdLogModule as ɵbd, HdButtonComponent as ɵc, HdButtonGroupModule as ɵd, HdButtonGroupComponent as ɵe, HdDetailFormModule as ɵf, HdDetailFormComponent as ɵg, HdDetailLinesModule as ɵh, HdDetailLinesComponent as ɵi, HdDetailTipModule as ɵj, HdDetailTipComponent as ɵk, HdFilterModule as ɵl, HdFilterComponent as ɵm, HdFormModule as ɵn, HdFormComponent as ɵo, HdFormLinesModule as ɵp, HdSpaceModule as ɵq, HdSpaceComponent as ɵr, HdFormLinesComponent as ɵs, HdStatusModule as ɵt, HdStatusComponent as ɵu, HdCurrentTableModule as ɵv, HdTableModule as ɵw, HdTableComponent as ɵx, CommonSessionService as ɵy, HdTipModule as ɵz };
|
|
4682
|
+
export { ButtonSize, ButtonType, ColWidth, ColorOption, ExplainOption, FantasyNgzorroModule, Filter, FilterListType, FormItem, FormLine, FormLineType, FormListType, HdButtonService, HdCurrentTableComponent, HdDetailFormService, HdFilterService, HdFormLinesService, HdFormService, HdLogComponent, HdLogService, HdOption, HdTableColumn, HdTableTotalOption, InputNumber, OperateBtn, Page, SelectOption, SelectOptionTableColumn, SelectOptionTableColumnIcon, StaticConst, TableCacheOption, TableColumn, TableTotalOption, TotalOption, TreeGrid, Utils, ValidatorKey, HdComponentModule as ɵa, HdButtonModule as ɵb, HdTipComponent as ɵba, HdPopconfirmModule as ɵbb, HdPopconfirmComponent as ɵbc, HdLogModule as ɵbd, HdButtonComponent as ɵc, HdButtonGroupModule as ɵd, HdButtonGroupComponent as ɵe, HdDetailFormModule as ɵf, HdDetailFormComponent as ɵg, HdDetailLinesModule as ɵh, HdDetailLinesComponent as ɵi, HdDetailTipModule as ɵj, HdDetailTipComponent as ɵk, HdFilterModule as ɵl, HdFilterComponent as ɵm, HdFormModule as ɵn, HdFormComponent as ɵo, HdFormLinesModule as ɵp, HdSpaceModule as ɵq, HdSpaceComponent as ɵr, HdFormLinesComponent as ɵs, HdStatusModule as ɵt, HdStatusComponent as ɵu, HdCurrentTableModule as ɵv, HdTableModule as ɵw, HdTableComponent as ɵx, CommonSessionService as ɵy, HdTipModule as ɵz };
|
|
4671
4683
|
//# sourceMappingURL=fantasy-ngzorro.js.map
|