@hitsoft/abp.kadooglu 1.0.4 → 1.0.6

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.
Files changed (23) hide show
  1. package/esm2020/lib/hit-components/hit-carrier-person/hit-carrier-person-form/hit-carrier-person-form.component.mjs +1 -1
  2. package/esm2020/lib/hit-components/hit-entry-weighing/hit-entry-weighing-form/hit-entry-weighing-form.component.mjs +112 -59
  3. package/esm2020/lib/hit-components/hit-entry-weighing/hit-entry-weighing-list/hit-entry-weighing-list.component.mjs +3 -21
  4. package/esm2020/lib/hit-components/hit-factory-entry/hit-factory-entry-form/hit-factory-entry-form.component.mjs +1 -1
  5. package/esm2020/lib/hit-components/hit-knt-item-esl/hit-knt-item-esl-form/hit-knt-item-esl-form.component.mjs +1 -1
  6. package/esm2020/lib/hit-components/hit-vehicle-type/hit-vehicle-type-form/hit-vehicle-type-form.component.mjs +1 -1
  7. package/esm2020/lib/hit-proxy/hit-entry-weighing/hit-entry-weighing.service.mjs +1 -4
  8. package/esm2020/lib/hit-proxy/hit-stock-transfer/models.mjs +1 -1
  9. package/esm2020/lib/services/scale-signalr.service.mjs +36 -8
  10. package/esm2020/lib/shared/hit-modal/hit-modal.component.mjs +75 -14
  11. package/esm2020/lib/shared/hit-modal/hit-ui.module.mjs +5 -2
  12. package/fesm2015/hitsoft-abp.kadooglu.mjs +271 -146
  13. package/fesm2015/hitsoft-abp.kadooglu.mjs.map +1 -1
  14. package/fesm2020/hitsoft-abp.kadooglu.mjs +269 -145
  15. package/fesm2020/hitsoft-abp.kadooglu.mjs.map +1 -1
  16. package/lib/hit-components/hit-entry-weighing/hit-entry-weighing-form/hit-entry-weighing-form.component.d.ts +16 -91
  17. package/lib/hit-components/hit-entry-weighing/hit-entry-weighing-list/hit-entry-weighing-list.component.d.ts +0 -1
  18. package/lib/hit-proxy/hit-entry-weighing/hit-entry-weighing.service.d.ts +0 -3
  19. package/lib/hit-proxy/hit-stock-transfer/models.d.ts +4 -0
  20. package/lib/services/scale-signalr.service.d.ts +5 -0
  21. package/lib/shared/hit-modal/hit-modal.component.d.ts +15 -3
  22. package/lib/shared/hit-modal/hit-ui.module.d.ts +1 -1
  23. package/package.json +1 -1
@@ -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
- loadWaybills: () => Observable<StockTransfer[]>;
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
- dataField: string;
37
- caption: string;
38
- width: number;
39
- } | {
40
- dataField: string;
41
- caption: string;
42
- width?: undefined;
43
- })[];
44
- scaleColumns: ({
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;
@@ -46,7 +46,6 @@ export declare class HitEntryWeighingListComponent implements OnInit {
46
46
  getStatusLabel(status: string | null): string;
47
47
  getStatusClass(status: string | null): string;
48
48
  malGcYap(row: EntryWeighing): void;
49
- barkodYazdir(row: EntryWeighing): void;
50
49
  static ɵfac: i0.ɵɵFactoryDeclaration<HitEntryWeighingListComponent, never>;
51
50
  static ɵcmp: i0.ɵɵComponentDeclaration<HitEntryWeighingListComponent, "lib-hit-entry-weighing-list", never, {}, {}, never, never, false>;
52
51
  }
@@ -44,9 +44,6 @@ export declare class HitEntryWeighingService {
44
44
  getGates(): Observable<EntryWeighingGate[]>;
45
45
  getVehicleTypes(): Observable<EntryWeighingVehicleType[]>;
46
46
  doGoodsMovement(docEntry: number): Observable<EntryWeighing>;
47
- getWeighingSlip(docEntry: number): Observable<{
48
- base64: string;
49
- }>;
50
47
  static ɵfac: i0.ɵɵFactoryDeclaration<HitEntryWeighingService, never>;
51
48
  static ɵprov: i0.ɵɵInjectableDeclaration<HitEntryWeighingService>;
52
49
  }
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitsoft/abp.kadooglu",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=9",
6
6
  "@angular/core": ">=9",