@hitsoft/abp.kadooglu 1.0.5 → 1.0.7
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/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 +112 -59
- 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-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-stock-transfer/models.mjs +1 -1
- package/esm2020/lib/services/scale-signalr.service.mjs +36 -8
- package/esm2020/lib/shared/hit-modal/hit-modal.component.mjs +75 -14
- package/esm2020/lib/shared/hit-modal/hit-ui.module.mjs +5 -2
- package/fesm2015/hitsoft-abp.kadooglu.mjs +270 -123
- package/fesm2015/hitsoft-abp.kadooglu.mjs.map +1 -1
- package/fesm2020/hitsoft-abp.kadooglu.mjs +268 -123
- 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 +16 -91
- package/lib/hit-proxy/hit-stock-transfer/models.d.ts +4 -0
- package/lib/services/scale-signalr.service.d.ts +5 -0
- package/lib/shared/hit-modal/hit-modal.component.d.ts +15 -3
- package/lib/shared/hit-modal/hit-ui.module.d.ts +1 -1
- package/package.json +1 -1
- package/src/lib/shared/styles/_plate.scss +35 -0
|
@@ -29,99 +29,21 @@ export declare class HitEntryWeighingFormComponent implements OnInit, OnDestroy
|
|
|
29
29
|
loadDrivers: () => Observable<EntryWeighingDriver[]>;
|
|
30
30
|
loadAccounts: () => Observable<EntryWeighingAccount[]>;
|
|
31
31
|
loadStockItems: () => Observable<EntryWeighingStockItem[]>;
|
|
32
|
-
|
|
32
|
+
waybillDefaultDateFrom: Date;
|
|
33
|
+
waybillDefaultDateTo: Date;
|
|
34
|
+
loadWaybills: (params?: any) => Observable<StockTransfer[]>;
|
|
33
35
|
loadGates: () => Observable<EntryWeighingGate[]>;
|
|
34
36
|
loadVehicleTypes: () => Observable<EntryWeighingVehicleType[]>;
|
|
35
|
-
documentColumns:
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
dataField: string;
|
|
46
|
-
caption: string;
|
|
47
|
-
width: number;
|
|
48
|
-
} | {
|
|
49
|
-
dataField: string;
|
|
50
|
-
caption: string;
|
|
51
|
-
width?: undefined;
|
|
52
|
-
})[];
|
|
53
|
-
truckPlateColumns: ({
|
|
54
|
-
dataField: string;
|
|
55
|
-
caption: string;
|
|
56
|
-
width: number;
|
|
57
|
-
} | {
|
|
58
|
-
dataField: string;
|
|
59
|
-
caption: string;
|
|
60
|
-
width?: undefined;
|
|
61
|
-
})[];
|
|
62
|
-
trailerPlateColumns: ({
|
|
63
|
-
dataField: string;
|
|
64
|
-
caption: string;
|
|
65
|
-
width: number;
|
|
66
|
-
} | {
|
|
67
|
-
dataField: string;
|
|
68
|
-
caption: string;
|
|
69
|
-
width?: undefined;
|
|
70
|
-
})[];
|
|
71
|
-
driverColumns: ({
|
|
72
|
-
dataField: string;
|
|
73
|
-
caption: string;
|
|
74
|
-
width: number;
|
|
75
|
-
} | {
|
|
76
|
-
dataField: string;
|
|
77
|
-
caption: string;
|
|
78
|
-
width?: undefined;
|
|
79
|
-
})[];
|
|
80
|
-
accountColumns: ({
|
|
81
|
-
dataField: string;
|
|
82
|
-
caption: string;
|
|
83
|
-
width: number;
|
|
84
|
-
} | {
|
|
85
|
-
dataField: string;
|
|
86
|
-
caption: string;
|
|
87
|
-
width?: undefined;
|
|
88
|
-
})[];
|
|
89
|
-
stockItemColumns: ({
|
|
90
|
-
dataField: string;
|
|
91
|
-
caption: string;
|
|
92
|
-
width: number;
|
|
93
|
-
} | {
|
|
94
|
-
dataField: string;
|
|
95
|
-
caption: string;
|
|
96
|
-
width?: undefined;
|
|
97
|
-
})[];
|
|
98
|
-
waybillColumns: ({
|
|
99
|
-
dataField: string;
|
|
100
|
-
caption: string;
|
|
101
|
-
width: number;
|
|
102
|
-
} | {
|
|
103
|
-
dataField: string;
|
|
104
|
-
caption: string;
|
|
105
|
-
width?: undefined;
|
|
106
|
-
})[];
|
|
107
|
-
gateColumns: ({
|
|
108
|
-
dataField: string;
|
|
109
|
-
caption: string;
|
|
110
|
-
width: number;
|
|
111
|
-
} | {
|
|
112
|
-
dataField: string;
|
|
113
|
-
caption: string;
|
|
114
|
-
width?: undefined;
|
|
115
|
-
})[];
|
|
116
|
-
vehicleTypeColumns: ({
|
|
117
|
-
dataField: string;
|
|
118
|
-
caption: string;
|
|
119
|
-
width: number;
|
|
120
|
-
} | {
|
|
121
|
-
dataField: string;
|
|
122
|
-
caption: string;
|
|
123
|
-
width?: undefined;
|
|
124
|
-
})[];
|
|
37
|
+
documentColumns: any[];
|
|
38
|
+
scaleColumns: any[];
|
|
39
|
+
truckPlateColumns: any[];
|
|
40
|
+
trailerPlateColumns: any[];
|
|
41
|
+
driverColumns: any[];
|
|
42
|
+
accountColumns: any[];
|
|
43
|
+
stockItemColumns: any[];
|
|
44
|
+
waybillColumns: any[];
|
|
45
|
+
gateColumns: any[];
|
|
46
|
+
vehicleTypeColumns: any[];
|
|
125
47
|
documentCode: string;
|
|
126
48
|
documentName: string;
|
|
127
49
|
scaleCode: string;
|
|
@@ -163,6 +85,9 @@ export declare class HitEntryWeighingFormComponent implements OnInit, OnDestroy
|
|
|
163
85
|
entryTypeTrtmYpilck: boolean;
|
|
164
86
|
entryTypeMalGC: boolean;
|
|
165
87
|
isDoingGoodsMovement: boolean;
|
|
88
|
+
isScaleConnecting: boolean;
|
|
89
|
+
isScaleReconnecting: boolean;
|
|
90
|
+
scaleConnectionFailed: boolean;
|
|
166
91
|
private scaleSub;
|
|
167
92
|
private readonly scaleApiUrl;
|
|
168
93
|
private readonly scaleId;
|
|
@@ -5,11 +5,15 @@ export interface StockTransferLine {
|
|
|
5
5
|
export interface StockTransfer {
|
|
6
6
|
docEntry: number;
|
|
7
7
|
docNum: number;
|
|
8
|
+
u_EFATNO?: string;
|
|
8
9
|
cardCode: string;
|
|
9
10
|
cardName: string;
|
|
10
11
|
docDate: string;
|
|
11
12
|
fromWarehouse: string;
|
|
12
13
|
toWarehouse: string;
|
|
13
14
|
comments: string;
|
|
15
|
+
u_SoforAd?: string;
|
|
16
|
+
u_SoforSoyadi?: string;
|
|
17
|
+
u_AracPlakasi?: string;
|
|
14
18
|
stockTransferLines?: StockTransferLine[];
|
|
15
19
|
}
|
|
@@ -3,8 +3,13 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ScaleSignalRService implements OnDestroy {
|
|
5
5
|
private connection;
|
|
6
|
+
private _stopping;
|
|
6
7
|
private readonly _weight$;
|
|
8
|
+
private readonly _connectionLost$;
|
|
9
|
+
private readonly _reconnecting$;
|
|
7
10
|
readonly weight$: Observable<number | null>;
|
|
11
|
+
readonly connectionLost$: Observable<void>;
|
|
12
|
+
readonly reconnecting$: Observable<void>;
|
|
8
13
|
/**
|
|
9
14
|
* SignalR bağlantısını başlatır ve ilgili kantar grubuna abone olur.
|
|
10
15
|
* Zaten bağlıysa sadece gruba abone olur.
|
|
@@ -1,20 +1,26 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { LocalizationService } from '@abp/ng.core';
|
|
2
3
|
import { DxDataGridComponent } from 'devextreme-angular';
|
|
3
4
|
import { Observable } from 'rxjs';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class HitModalComponent {
|
|
7
|
+
private localizationService;
|
|
6
8
|
dxdataInstance: DxDataGridComponent;
|
|
9
|
+
constructor(localizationService: LocalizationService);
|
|
7
10
|
displayName: string;
|
|
8
11
|
keyExpr: string;
|
|
9
12
|
modalSize: string;
|
|
10
13
|
/** Data array that will be shown in the lookup modal grid (eager / pre-loaded). */
|
|
11
14
|
getFn: any[];
|
|
12
|
-
/** Function returning Observable — called lazily when the modal opens. */
|
|
13
|
-
loadFn: (() => Observable<any[]>) | null;
|
|
15
|
+
/** Function returning Observable — called lazily when the modal opens. Optionally receives filter params. */
|
|
16
|
+
loadFn: ((params?: any) => Observable<any[]>) | null;
|
|
14
17
|
columns: any[];
|
|
15
18
|
isVisible: boolean;
|
|
16
19
|
disabled: boolean;
|
|
17
20
|
readOnly: boolean;
|
|
21
|
+
showDateFilter: boolean;
|
|
22
|
+
defaultDateFrom: Date | null;
|
|
23
|
+
defaultDateTo: Date | null;
|
|
18
24
|
/** Pre-populate display text (e.g. in edit mode). Setter ensures reactive updates. */
|
|
19
25
|
set editingData(val: any);
|
|
20
26
|
selected: EventEmitter<any>;
|
|
@@ -22,10 +28,16 @@ export declare class HitModalComponent {
|
|
|
22
28
|
openModal: boolean;
|
|
23
29
|
isLoading: boolean;
|
|
24
30
|
textDisplay: string;
|
|
31
|
+
filterDateFrom: Date | null;
|
|
32
|
+
filterDateTo: Date | null;
|
|
25
33
|
clickForOpenModal(): void;
|
|
34
|
+
loadData(): void;
|
|
35
|
+
onDateFilterChanged(): void;
|
|
36
|
+
onToolbarPreparing(e: any): void;
|
|
37
|
+
private toDateStr;
|
|
26
38
|
setTitle(): void;
|
|
27
39
|
setTitleOnDoubleClick(e: any): void;
|
|
28
40
|
clearValue(): void;
|
|
29
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<HitModalComponent, never>;
|
|
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>;
|
|
42
|
+
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"; "showDateFilter": "showDateFilter"; "defaultDateFrom": "defaultDateFrom"; "defaultDateTo": "defaultDateTo"; "editingData": "editingData"; }, { "selected": "selected"; }, never, never, false>;
|
|
31
43
|
}
|
|
@@ -6,6 +6,6 @@ import * as i4 from "@angular/forms";
|
|
|
6
6
|
import * as i5 from "devextreme-angular";
|
|
7
7
|
export declare class HitUIModule {
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<HitUIModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<HitUIModule, [typeof i1.HitModalComponent], [typeof i2.CoreModule, typeof i3.ThemeSharedModule, typeof i4.FormsModule, typeof i5.DxDataGridModule, typeof i5.DxTextBoxModule], [typeof i1.HitModalComponent]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HitUIModule, [typeof i1.HitModalComponent], [typeof i2.CoreModule, typeof i3.ThemeSharedModule, typeof i4.FormsModule, typeof i5.DxDataGridModule, typeof i5.DxDateBoxModule, typeof i5.DxTextBoxModule], [typeof i1.HitModalComponent]>;
|
|
10
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<HitUIModule>;
|
|
11
11
|
}
|
package/package.json
CHANGED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
.tr-plate {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: stretch;
|
|
4
|
+
border: 2px solid #1a1a1a;
|
|
5
|
+
border-radius: 4px;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
vertical-align: middle;
|
|
8
|
+
min-width: 115px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.tr-plate-blue {
|
|
12
|
+
display: inline-flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
background: #003399;
|
|
16
|
+
color: #fff;
|
|
17
|
+
font-size: 9px;
|
|
18
|
+
font-weight: 400;
|
|
19
|
+
padding: 2px 4px;
|
|
20
|
+
letter-spacing: 0.5px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.tr-plate-text {
|
|
24
|
+
display: inline-flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
background: #fff;
|
|
27
|
+
color: #1a1a1a;
|
|
28
|
+
font-size: 13px;
|
|
29
|
+
font-weight: 400;
|
|
30
|
+
padding: 3px 8px;
|
|
31
|
+
letter-spacing: 1.5px;
|
|
32
|
+
white-space: nowrap;
|
|
33
|
+
min-width: 115px;
|
|
34
|
+
justify-content: space-around;
|
|
35
|
+
}
|