@colijnit/sharedcomponents 257.1.6 → 257.1.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.
@@ -6,16 +6,30 @@ import { StockService } from "../../../../service/stock.service";
6
6
  import { ArticleTransaction as ArticleTransactionBo } from "@colijnit/articleapi/build/model/article-transaction.bo";
7
7
  import { PrintPriceStickers } from "@colijnit/sharedapi/build/model/print-price-stickers.bo";
8
8
  import { BaseStockComponent } from '../../base/base-stock.component';
9
+ import { ArticleDetailsBo } from "@colijnit/articleapi/build/model/article-details.bo";
10
+ import { StockLocation } from "@colijnit/articleapi/build/model/stock-location.bo";
11
+ import { ArticleFlat } from "@colijnit/articleapi/build/model/article-flat.bo";
9
12
  export declare class OrderTabComponent extends BaseStockComponent {
10
13
  iconCacheService: IconCacheService;
11
14
  private _stockService;
12
15
  readonly icons: typeof Icon;
16
+ stockLocations: StockLocation[];
17
+ showStockTransfer: boolean;
18
+ allWarehouses: any[];
19
+ articleFlat: ArticleFlat;
13
20
  locationClicked: EventEmitter<ArticleStockBo>;
14
21
  readonly transferIconClicked: EventEmitter<ArticleStockBo>;
15
22
  readonly sendMethodDialogClicked: EventEmitter<PrintPriceStickers>;
23
+ handleStickerClicked: EventEmitter<any>;
24
+ showStockTransferChange: EventEmitter<boolean>;
16
25
  data: ArticleTransactionBo[];
26
+ selectedRow: ArticleDetailsBo | null;
27
+ articleDetails: ArticleDetailsBo;
28
+ showSendMethodDialog: boolean;
17
29
  constructor(iconCacheService: IconCacheService, _stockService: StockService);
18
30
  openSendMethodDialog(data: any): void;
19
- handleStockTransferClick(event: any): void;
31
+ handleStockTransferClick(event: ArticleDetailsBo): void;
32
+ onRowSelected(row: ArticleDetailsBo): void;
33
+ onShowStockTransferChange(show: boolean): void;
20
34
  protected getData(): Promise<void>;
21
35
  }
@@ -39,6 +39,8 @@ export declare class StockLocationComponent extends BaseStockComponent implement
39
39
  data: ArticleDetailsBo[];
40
40
  selectedWarehouse: StockManagementWarehouses;
41
41
  stockLocations: StockLocation[];
42
+ selectedRow: ArticleDetailsBo | null;
43
+ showSendMethodDialog: boolean;
42
44
  private _warehouseNo;
43
45
  private _subs;
44
46
  constructor(iconCacheService: IconCacheService, _stockService: StockService, _changeDetector: ChangeDetectorRef);
@@ -50,6 +52,7 @@ export declare class StockLocationComponent extends BaseStockComponent implement
50
52
  amountInStockChanged(data: any): void;
51
53
  openSendMethodDialog(data: any): void;
52
54
  handleStockTransferClick(event: ArticleDetailsBo): void;
55
+ onRowSelected(row: ArticleDetailsBo): void;
53
56
  onOkClickSendLocations(row: ArticleDetailsBo): void;
54
57
  handleAddRow(): void;
55
58
  handleOkClick(): void;
@@ -1,5 +1,34 @@
1
1
  @include export-module('co-stock-layout') {
2
2
  .co-stock {
3
+ co-stock-location {
4
+ position: relative;
5
+ .stock-transfer-add {
6
+ display: flex;
7
+ gap: 5px;
8
+ position: absolute;
9
+ top: -38px;
10
+ left: 200px;
11
+ }
12
+ }
13
+ .stock-transfer-add {
14
+ display: flex;
15
+ gap: 5px;
16
+ co-icon {
17
+ width: 40px;
18
+ border: 1px solid #1A73E8;
19
+ padding: 5px;
20
+ cursor: pointer;
21
+ svg {
22
+ fill: #1A73E8;
23
+ }
24
+ &:hover {
25
+ background: #1A73E8;
26
+ svg {
27
+ fill: #FFF;
28
+ }
29
+ }
30
+ }
31
+ }
3
32
  .stock-grid {
4
33
  co-dialog {
5
34
  .co-dialog-wrapper {
@@ -168,7 +197,7 @@
168
197
  .stock-location-right-group {
169
198
  display: flex;
170
199
  justify-content: flex-end;
171
-
200
+ min-width: 190px;
172
201
  .co-list-of-values {
173
202
  .co-input-text {
174
203
  height: 100%;
@@ -10,6 +10,7 @@ export declare enum Icon {
10
10
  ArrowPointLeft = "arrow_point_left",
11
11
  ArrowPointRight = "arrow_point_right",
12
12
  ArrowPointUp = "arrow_point_up",
13
+ ArrowRightArrowLeftRegular = "arrow_right_arrow_left_regular",
13
14
  AtSolid = "at_solid",
14
15
  BarcodeReadRegular = "barcode_read_regular",
15
16
  BellRegular = "bell_regular",
@@ -53,12 +54,14 @@ export declare enum Icon {
53
54
  Pdf = "pdf",
54
55
  PersonDiggingRegular = "person_digging_regular",
55
56
  PinRoundOpen = "pin_round_open",
57
+ PlusRegular = "plus_regular",
56
58
  PlusSimple = "plus_simple",
57
59
  Print = "print",
58
60
  PrintRegular = "print_regular",
59
61
  PrintSolid = "print_solid",
60
62
  RegularFileSignatureCirclePlus = "regular_file_signature_circle_plus",
61
63
  SignatureField = "signature_field",
64
+ SolidBarcodeReadTag = "solid_barcode_read_tag",
62
65
  SquarePlusRegular = "square_plus_regular",
63
66
  TagRegular = "tag_regular",
64
67
  Task = "task",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/sharedcomponents",
3
- "version": "257.1.6",
3
+ "version": "257.1.7",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "chart.js": "4.3.0",