@colijnit/sharedcomponents 256.1.6 → 256.1.8

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 (24) hide show
  1. package/bundles/colijnit-sharedcomponents.umd.js +59 -14
  2. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  3. package/colijnit-sharedcomponents.metadata.json +1 -1
  4. package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.js +8 -1
  5. package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +7 -3
  6. package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +6 -1
  7. package/esm2015/lib/components/stock/components/order-tab/order-tab.component.js +50 -15
  8. package/esm2015/lib/components/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.js +3 -7
  9. package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +21 -17
  10. package/esm2015/lib/enum/icon.enum.js +4 -1
  11. package/esm2015/lib/model/icon-svg.js +4 -1
  12. package/esm2015/lib/res/dictionary/dictionaries.js +2 -2
  13. package/fesm2015/colijnit-sharedcomponents.js +95 -38
  14. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  15. package/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.d.ts +2 -0
  16. package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.d.ts +2 -0
  17. package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +2 -0
  18. package/lib/components/stock/components/order-tab/order-tab.component.d.ts +15 -1
  19. package/lib/components/stock/components/stock-location/stock-location.component.d.ts +3 -0
  20. package/lib/components/stock/style/_layout.scss +35 -1
  21. package/lib/components/stock/style/_material-definition.scss +1 -1
  22. package/lib/enum/icon.enum.d.ts +3 -0
  23. package/lib/res/dictionary/dictionaries.d.ts +1 -0
  24. package/package.json +1 -1
@@ -10,8 +10,10 @@ export declare class PrinterSelectionComponent implements OnInit {
10
10
  private _service;
11
11
  readonly icons: typeof Icon;
12
12
  printers: Printer[];
13
+ set defaultPrinterName(printerName: string);
13
14
  showClass(): boolean;
14
15
  showPrinterList: boolean;
16
+ private _defaultPrinterName;
15
17
  constructor(sendMethodService: SendMethodService, iconService: IconCacheService, _service: SharedService);
16
18
  ngOnInit(): void;
17
19
  handlePrinterClicked(printer: Printer): void;
@@ -9,6 +9,7 @@ export declare class SendMethodPrinterComponent {
9
9
  sendMethodService: SendMethodService;
10
10
  iconCacheService: IconCacheService;
11
11
  printerList: Printer[];
12
+ defaultPrinterName: string;
12
13
  layouts: ReportLayoutSelectionPrint[];
13
14
  isPrinterLayoutsEnabled: boolean;
14
15
  isAdditionalDocEnabled: boolean;
@@ -16,6 +17,7 @@ export declare class SendMethodPrinterComponent {
16
17
  additionalFileContents: any;
17
18
  additionalFileName: string;
18
19
  additionalFileChangeEvent: EventEmitter<CoDocument>;
20
+ showFilePreview: EventEmitter<void>;
19
21
  constructor(sendMethodService: SendMethodService, iconCacheService: IconCacheService);
20
22
  handleDefaultPrinterUserChange(checked: boolean): void;
21
23
  handleDefaultPrinterAllUsersChange(checked: boolean): void;
@@ -34,6 +34,7 @@ export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
34
34
  reportingDocumentPdfRequest: ReportingDocumentPdfBaseRequest;
35
35
  emailLayouts: ReportLayoutSelectionEmail[];
36
36
  printLayouts: ReportLayoutSelectionPrint[];
37
+ defaultPrinterName: string;
37
38
  headerTitle: string;
38
39
  emailAddresses: string[];
39
40
  defaultSendMethod: string;
@@ -51,6 +52,7 @@ export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
51
52
  closeClick: EventEmitter<MouseEvent>;
52
53
  okClick: EventEmitter<string>;
53
54
  additionalFileChangeEvent: EventEmitter<CoDocument>;
55
+ showFilePreview: EventEmitter<void>;
54
56
  showClass(): boolean;
55
57
  sendMethods: SendMethod[];
56
58
  activeSendMethod: SendMethod;
@@ -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%;
@@ -571,5 +600,10 @@
571
600
  }
572
601
  }
573
602
  }
603
+ .clickable-link {
604
+ cursor: pointer;
605
+ color: #1A73E8;
606
+ text-decoration: underline;
607
+ }
574
608
  }
575
609
  }
@@ -16,7 +16,7 @@ $sc-stock-tab-link-buttons-pointer: pointer !default;
16
16
  $sc-stock-grid-margin: 0 0 0 0 !default;
17
17
  $sc-stock-simple-grid-column-header-wrapper-border-bottom: 1px solid black !default;
18
18
  $sc-stock-info-container-max-width: 100% !default;
19
- $sc-stock-info-container-width: 1000px !default;
19
+ $sc-stock-info-container-width: 100% !default;
20
20
  $sc-stock-info-container-padding: 40px 0 0 0 !default;
21
21
  $sc-stock-info-container-height: 100% !default;
22
22
  $sc-stock-image-height: 50px !default;
@@ -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",
@@ -11944,6 +11944,7 @@ export declare class Dictionaries {
11944
11944
  ARTICLE: string;
11945
11945
  ARTICLEGROUP: string;
11946
11946
  ARTICLENR: string;
11947
+ ARTICLE_ACTIVE: string;
11947
11948
  ARTICLES: string;
11948
11949
  ARTICLES_ALREADY_PRESENT: string;
11949
11950
  ARTICLES_GENERATED: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/sharedcomponents",
3
- "version": "256.1.6",
3
+ "version": "256.1.8",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "chart.js": "4.3.0",