@hitsoft/abp.kadooglu 1.0.1 → 1.0.3
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 +24 -24
- package/config/enums/route-names.d.ts +1 -1
- package/esm2020/config/enums/index.mjs +1 -1
- package/esm2020/config/enums/route-names.mjs +1 -1
- package/esm2020/config/kadooglu-config.module.mjs +1 -3
- package/esm2020/config/providers/hit-providers/hit-carrier-person-route.provider.mjs +2 -2
- package/esm2020/config/providers/hit-providers/hit-entry-weighing-route.provider.mjs +3 -3
- package/esm2020/config/providers/hit-providers/hit-factory-entry-route.provider.mjs +3 -3
- package/esm2020/config/providers/hit-providers/hit-gate-route.provider.mjs +2 -2
- package/esm2020/config/providers/hit-providers/hit-knt-item-esl-route.provider.mjs +2 -2
- package/esm2020/config/providers/hit-providers/hit-plate-route.provider.mjs +2 -2
- package/esm2020/config/providers/hit-providers/hit-route.provider.mjs +4 -4
- package/esm2020/config/providers/hit-providers/hit-scale-route.provider.mjs +2 -2
- package/esm2020/config/providers/hit-providers/hit-tanimlamalar-route.provider.mjs +2 -2
- package/esm2020/config/providers/hit-providers/hit-vehicle-type-route.provider.mjs +2 -2
- package/esm2020/config/providers/index.mjs +1 -1
- package/esm2020/config/providers/route.provider.mjs +2 -2
- package/esm2020/config/public-api.mjs +1 -1
- package/esm2020/lib/components/kadooglu.component.mjs +1 -1
- package/esm2020/lib/hit-components/hit-carrier-person/hit-carrier-person-form/hit-carrier-person-form.component.mjs +1 -1
- package/esm2020/lib/hit-components/hit-entry-weighing/hit-entry-weighing-form/hit-entry-weighing-form.component.mjs +55 -12
- package/esm2020/lib/hit-components/hit-entry-weighing/hit-entry-weighing-list/hit-entry-weighing-list.component.mjs +26 -4
- package/esm2020/lib/hit-components/hit-factory-entry/hit-factory-entry-form/hit-factory-entry-form.component.mjs +1 -1
- package/esm2020/lib/hit-components/hit-factory-entry/hit-factory-entry-list/hit-factory-entry-list.component.mjs +63 -6
- package/esm2020/lib/hit-components/hit-knt-item-esl/hit-knt-item-esl-form/hit-knt-item-esl-form.component.mjs +1 -1
- package/esm2020/lib/hit-components/hit-vehicle-type/hit-vehicle-type-form/hit-vehicle-type-form.component.mjs +1 -1
- package/esm2020/lib/hit-proxy/hit-factory-entry/hit-factory-entry.service.mjs +4 -1
- package/esm2020/lib/kadooglu-routing.module.mjs +1 -7
- package/esm2020/lib/services/kadooglu.service.mjs +1 -1
- package/esm2020/lib/shared/hit-modal/hit-modal.component.mjs +6 -3
- package/fesm2015/hitsoft-abp.kadooglu-config.mjs +57 -58
- package/fesm2015/hitsoft-abp.kadooglu-config.mjs.map +1 -1
- package/fesm2015/hitsoft-abp.kadooglu.mjs +154 -30
- package/fesm2015/hitsoft-abp.kadooglu.mjs.map +1 -1
- package/fesm2020/hitsoft-abp.kadooglu-config.mjs +57 -58
- package/fesm2020/hitsoft-abp.kadooglu-config.mjs.map +1 -1
- package/fesm2020/hitsoft-abp.kadooglu.mjs +152 -30
- package/fesm2020/hitsoft-abp.kadooglu.mjs.map +1 -1
- package/lib/hit-components/hit-entry-weighing/hit-entry-weighing-form/hit-entry-weighing-form.component.d.ts +14 -10
- package/lib/hit-components/hit-entry-weighing/hit-entry-weighing-list/hit-entry-weighing-list.component.d.ts +5 -0
- package/lib/hit-components/hit-factory-entry/hit-factory-entry-list/hit-factory-entry-list.component.d.ts +9 -0
- package/lib/hit-proxy/hit-factory-entry/hit-factory-entry.service.d.ts +1 -0
- package/lib/shared/hit-modal/hit-modal.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
3
|
import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
|
|
4
4
|
import { LocalizationService } from '@abp/ng.core';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
5
6
|
import { HitEntryWeighingService } from '../../../hit-proxy/hit-entry-weighing/hit-entry-weighing.service';
|
|
6
7
|
import { HitStockTransferService } from '../../../hit-proxy/hit-stock-transfer/hit-stock-transfer.service';
|
|
7
8
|
import { StockTransfer } from '../../../hit-proxy/hit-stock-transfer/models';
|
|
@@ -16,18 +17,19 @@ export declare class HitEntryWeighingFormComponent implements OnInit {
|
|
|
16
17
|
private router;
|
|
17
18
|
private localizationService;
|
|
18
19
|
record: EntryWeighing | null;
|
|
20
|
+
isUpdateMode: boolean;
|
|
19
21
|
formPhase: 1 | 2;
|
|
20
22
|
weighingMode: 'first' | 'last' | null;
|
|
21
|
-
loadDocuments: () =>
|
|
22
|
-
loadScales: () =>
|
|
23
|
-
loadTruckPlates: () =>
|
|
24
|
-
loadTrailerPlates: () =>
|
|
25
|
-
loadDrivers: () =>
|
|
26
|
-
loadAccounts: () =>
|
|
27
|
-
loadStockItems: () =>
|
|
28
|
-
loadWaybills: () =>
|
|
29
|
-
loadGates: () =>
|
|
30
|
-
loadVehicleTypes: () =>
|
|
23
|
+
loadDocuments: () => Observable<EntryWeighingDocument[]>;
|
|
24
|
+
loadScales: () => Observable<EntryWeighingScale[]>;
|
|
25
|
+
loadTruckPlates: () => Observable<EntryWeighingTruckPlate[]>;
|
|
26
|
+
loadTrailerPlates: () => Observable<EntryWeighingTrailerPlate[]>;
|
|
27
|
+
loadDrivers: () => Observable<EntryWeighingDriver[]>;
|
|
28
|
+
loadAccounts: () => Observable<EntryWeighingAccount[]>;
|
|
29
|
+
loadStockItems: () => Observable<EntryWeighingStockItem[]>;
|
|
30
|
+
loadWaybills: () => Observable<StockTransfer[]>;
|
|
31
|
+
loadGates: () => Observable<EntryWeighingGate[]>;
|
|
32
|
+
loadVehicleTypes: () => Observable<EntryWeighingVehicleType[]>;
|
|
31
33
|
documentColumns: ({
|
|
32
34
|
dataField: string;
|
|
33
35
|
caption: string;
|
|
@@ -153,6 +155,7 @@ export declare class HitEntryWeighingFormComponent implements OnInit {
|
|
|
153
155
|
lastOperatorCode: string;
|
|
154
156
|
lastWeighingValue: number | null;
|
|
155
157
|
currentScaleValue: number | null;
|
|
158
|
+
fixedScaleValue: number | null;
|
|
156
159
|
isSaving: boolean;
|
|
157
160
|
isWeighing: boolean;
|
|
158
161
|
entryTypeTrtmYpilck: boolean;
|
|
@@ -193,6 +196,7 @@ export declare class HitEntryWeighingFormComponent implements OnInit {
|
|
|
193
196
|
save(): void;
|
|
194
197
|
doGoodsMovement(): void;
|
|
195
198
|
doWeighing(): void;
|
|
199
|
+
sabitle(): void;
|
|
196
200
|
goBack(): void;
|
|
197
201
|
private validateTCKN;
|
|
198
202
|
static ɵfac: i0.ɵɵFactoryDeclaration<HitEntryWeighingFormComponent, never>;
|
|
@@ -24,6 +24,10 @@ export declare class HitEntryWeighingListComponent implements OnInit {
|
|
|
24
24
|
weighingTypes: Set<string>;
|
|
25
25
|
disabledIdColumn: boolean;
|
|
26
26
|
filterMode: 'all' | 'pending';
|
|
27
|
+
statusFilterDataSource: {
|
|
28
|
+
text: string;
|
|
29
|
+
value: string;
|
|
30
|
+
}[];
|
|
27
31
|
constructor(service: HitEntryWeighingService, confirmation: ConfirmationService, router: Router, localizationService: LocalizationService, gateService: HitGateService);
|
|
28
32
|
ngOnInit(): void;
|
|
29
33
|
loadList(): void;
|
|
@@ -34,6 +38,7 @@ export declare class HitEntryWeighingListComponent implements OnInit {
|
|
|
34
38
|
yeniKayit(): void;
|
|
35
39
|
duzenle(row: EntryWeighing): void;
|
|
36
40
|
tartimYap(row: EntryWeighing, mode: 'first' | 'last'): void;
|
|
41
|
+
ozetiGoruntule(row: EntryWeighing): void;
|
|
37
42
|
sil(row: any): void;
|
|
38
43
|
formatPlate(plate: string | null): string;
|
|
39
44
|
formatEntryDateTime(dateStr: string | null, timeStr: string | null): string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { ConfirmationService } from '@abp/ng.theme.shared';
|
|
3
3
|
import { LocalizationService } from '@abp/ng.core';
|
|
4
|
+
import { DxDataGridComponent } from 'devextreme-angular';
|
|
4
5
|
import { HitFactoryEntryService } from '../../../hit-proxy/hit-factory-entry/hit-factory-entry.service';
|
|
5
6
|
import { FactoryEntry } from '../../../hit-proxy/hit-factory-entry/models';
|
|
6
7
|
import { HitVehicleTypeService } from '../../../hit-proxy/hit-vehicle-type/hit-vehicle-type.service';
|
|
@@ -10,23 +11,31 @@ export declare class HitFactoryEntryListComponent implements OnInit {
|
|
|
10
11
|
private service;
|
|
11
12
|
private vehicleTypeService;
|
|
12
13
|
private localizationService;
|
|
14
|
+
dataGrid: DxDataGridComponent;
|
|
15
|
+
allData: FactoryEntry[];
|
|
13
16
|
filteredData: FactoryEntry[];
|
|
14
17
|
vehicleTypeMap: Map<string, string>;
|
|
18
|
+
filterMode: 'all' | 'inside';
|
|
15
19
|
showForm: boolean;
|
|
16
20
|
disabledIdColumn: boolean;
|
|
17
21
|
selectedRecord: FactoryEntry | null;
|
|
18
22
|
constructor(confirmation: ConfirmationService, service: HitFactoryEntryService, vehicleTypeService: HitVehicleTypeService, localizationService: LocalizationService);
|
|
19
23
|
ngOnInit(): void;
|
|
20
24
|
loadList(): void;
|
|
25
|
+
setFilter(mode: 'all' | 'inside'): void;
|
|
26
|
+
applyFilter(): void;
|
|
21
27
|
onToolbarPreparing(e: any): void;
|
|
22
28
|
yeniKayit(): void;
|
|
23
29
|
duzenle(row: FactoryEntry): void;
|
|
30
|
+
cikisYap(row: FactoryEntry): void;
|
|
24
31
|
sil(row: FactoryEntry): void;
|
|
25
32
|
onFormSaved(): void;
|
|
26
33
|
onFormCancelled(): void;
|
|
27
34
|
formatEntryDateTime(dateStr: string | null | undefined, timeNum: number | null | undefined): string;
|
|
28
35
|
formatPlate(plate: string | null): string;
|
|
29
36
|
getVehicleTypeName(code: string | undefined): string;
|
|
37
|
+
getFactoryEntryStatusLabel(exitDate: string | null | undefined): string;
|
|
38
|
+
getFactoryEntryStatusClass(exitDate: string | null | undefined): string;
|
|
30
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<HitFactoryEntryListComponent, never>;
|
|
31
40
|
static ɵcmp: i0.ɵɵComponentDeclaration<HitFactoryEntryListComponent, "lib-hit-factory-entry-list", never, {}, {}, never, never, false>;
|
|
32
41
|
}
|
|
@@ -12,6 +12,7 @@ export declare class HitFactoryEntryService {
|
|
|
12
12
|
create(body: SaveFactoryEntryDto): Observable<FactoryEntry>;
|
|
13
13
|
update(id: string, body: SaveFactoryEntryDto): Observable<FactoryEntry>;
|
|
14
14
|
delete(id: string): Observable<any>;
|
|
15
|
+
checkout(docEntry: number): Observable<FactoryEntry>;
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<HitFactoryEntryService, never>;
|
|
16
17
|
static ɵprov: i0.ɵɵInjectableDeclaration<HitFactoryEntryService>;
|
|
17
18
|
}
|
|
@@ -14,6 +14,7 @@ export declare class HitModalComponent {
|
|
|
14
14
|
columns: any[];
|
|
15
15
|
isVisible: boolean;
|
|
16
16
|
disabled: boolean;
|
|
17
|
+
readOnly: boolean;
|
|
17
18
|
/** Pre-populate display text (e.g. in edit mode). Setter ensures reactive updates. */
|
|
18
19
|
set editingData(val: any);
|
|
19
20
|
selected: EventEmitter<any>;
|
|
@@ -26,5 +27,5 @@ export declare class HitModalComponent {
|
|
|
26
27
|
setTitleOnDoubleClick(e: any): void;
|
|
27
28
|
clearValue(): void;
|
|
28
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<HitModalComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HitModalComponent, "hit-lookup-select", never, { "displayName": "displayName"; "keyExpr": "keyExpr"; "modalSize": "modalSize"; "getFn": "getFn"; "loadFn": "loadFn"; "columns": "columns"; "isVisible": "isVisible"; "disabled": "disabled"; "editingData": "editingData"; }, { "selected": "selected"; }, never, never, false>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HitModalComponent, "hit-lookup-select", never, { "displayName": "displayName"; "keyExpr": "keyExpr"; "modalSize": "modalSize"; "getFn": "getFn"; "loadFn": "loadFn"; "columns": "columns"; "isVisible": "isVisible"; "disabled": "disabled"; "readOnly": "readOnly"; "editingData": "editingData"; }, { "selected": "selected"; }, never, never, false>;
|
|
30
31
|
}
|