@colijnit/sharedcomponents 1.0.45 → 1.0.47

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 (31) hide show
  1. package/bundles/colijnit-sharedcomponents.umd.js +96 -9
  2. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  3. package/colijnit-sharedcomponents.metadata.json +1 -1
  4. package/esm2015/lib/components/docsign/docsign.component.js +19 -2
  5. package/esm2015/lib/components/key-pad/key-pad.component.js +18 -16
  6. package/esm2015/lib/components/key-pad/key-pad.module.js +4 -3
  7. package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +2 -2
  8. package/esm2015/lib/components/stock/components/stock-tab/stock-tab.component.js +3 -2
  9. package/esm2015/lib/components/stock/localization/translation.js +9 -1
  10. package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +3 -2
  11. package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +1 -1
  12. package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +15 -16
  13. package/esm2015/lib/components/stock/stock.component.js +2 -2
  14. package/esm2015/lib/enum/icon.enum.js +1 -1
  15. package/esm2015/lib/model/icon-svg.js +1 -1
  16. package/esm2015/lib/service/shared-connector.service.js +33 -1
  17. package/esm2015/lib/service/shared.service.js +11 -1
  18. package/fesm2015/colijnit-sharedcomponents.js +107 -36
  19. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  20. package/lib/components/docsign/docsign.component.d.ts +2 -0
  21. package/lib/components/key-pad/style/_layout.scss +56 -1
  22. package/lib/components/key-pad/style/_material-definition.scss +4 -2
  23. package/lib/components/screen-config-generator/style/_layout.scss +25 -1
  24. package/lib/components/stock/components/stock-tab/stock-tab.component.d.ts +3 -1
  25. package/lib/components/stock/localization/translation.d.ts +8 -0
  26. package/lib/components/stock/stock-information-grid/stock-information-grid.component.d.ts +2 -0
  27. package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +2 -2
  28. package/lib/components/stock/style/_layout.scss +6 -2
  29. package/lib/service/shared-connector.service.d.ts +2 -0
  30. package/lib/service/shared.service.d.ts +2 -0
  31. package/package.json +3 -3
@@ -89,4 +89,6 @@ export declare class DocsignComponent {
89
89
  private _checkSignatures;
90
90
  private _getPositionSignature;
91
91
  private _saveSignature;
92
+ private _handlePdfData;
93
+ private _preparePDF;
92
94
  }
@@ -5,32 +5,76 @@
5
5
  font-family: $sc-key-pad-font-family;
6
6
  font-size: $sc-key-pad-font-size;
7
7
  display: flex;
8
+ width: 100%;
9
+ aspect-ratio: 1/1;
8
10
  .key-pad-wrapper {
9
11
  display: flex;
12
+ width: 100%;
10
13
  flex-direction: column;
11
14
  row-gap: $sc-key-pad-button-gap;
12
15
  padding: $sc-key-pad-button-gap;
13
16
  border-radius: $sc-key-pad-border-radius;
14
17
  }
15
18
  .key-pad-model-wrapper {
19
+ position: relative;
16
20
  font-family: $sc-font-family-digital;
17
- font-size: $sc-key-pad-model-font-size;
21
+ //font-size: $sc-key-pad-model-font-size;
18
22
  display: flex;
23
+ flex-basis: 10%;
19
24
  justify-content: flex-end;
20
25
  padding: $sc-key-pad-model-padding;
21
26
  box-shadow: inset 0px 0px 3px 1px darken($sc-key-pad-button-background-color, 30%);
22
27
  }
28
+ .co-scalable-text {
29
+ display: flex;
30
+ width: 100%;
31
+ justify-content: flex-end;
32
+ }
23
33
  .key-pad-model {
24
34
  user-select: none;
35
+ pointer-events: none;
36
+ display: block;
37
+ position: absolute;
38
+ width: 100%;
39
+ top: 50%;
40
+ transform: translateY(-50%);
41
+ //right: 10%;
42
+ //transform: translate(50%, -50%);
43
+ //foreignObject {
44
+ // overflow: visible;
45
+ //}
46
+ svg {
47
+ position: relative;
48
+ width: 100%;
49
+ }
50
+ .text {
51
+ font-size: $sc-key-pad-model-font-size;
52
+ font-weight: bold;
53
+ /* display: flex; */
54
+ /* align-items: center; */
55
+ /* justify-content: flex-end; */
56
+ /* align-self: auto; */
57
+ position: absolute;
58
+ top: 50%;
59
+ right: 0;
60
+ transform: translateY(-50%);
61
+ }
62
+ }
63
+ .key-pad-button-flex-wrapper {
64
+ display: flex;
65
+ flex-basis: 100%;
25
66
  }
26
67
  .key-pad-button-wrapper {
27
68
  display: grid;
69
+ height: 100%;
70
+ width: 100%;
28
71
  grid-template-columns: $sc-key-pad-button-size $sc-key-pad-button-size $sc-key-pad-button-size $sc-key-pad-button-size;
29
72
  grid-template-rows: $sc-key-pad-button-size $sc-key-pad-button-size $sc-key-pad-button-size $sc-key-pad-button-size;
30
73
  row-gap: $sc-key-pad-button-gap;
31
74
  column-gap: $sc-key-pad-button-gap;
32
75
  }
33
76
  .key-pad-button {
77
+ position: relative;
34
78
  display: flex;
35
79
  align-items: center;
36
80
  justify-content: center;
@@ -41,6 +85,17 @@
41
85
  width: 45%;
42
86
  height: 45%;
43
87
  }
88
+ .key-pad-button-text {
89
+ position: absolute;
90
+ }
91
+ .text {
92
+ display: flex;
93
+ //width: 100%;
94
+ height: 100%;
95
+ align-items: center;
96
+ justify-content: center;
97
+ font-size: $sc-key-pad-button-font-size;
98
+ }
44
99
  }
45
100
  .button-7 {
46
101
  grid-column: 1 / 1;
@@ -3,7 +3,7 @@ $sc-key-pad-model-font-family: $sc-font-family-digital !default;
3
3
  $sc-key-pad-font-size: $sc-font-size !default;
4
4
  $sc-key-pad-border-radius: 5px !default;
5
5
 
6
- $sc-key-pad-button-size: 40px !default;
6
+ $sc-key-pad-button-size: 4fr !default;
7
7
  $sc-key-pad-button-gap: 10px !default;
8
8
  $sc-key-pad-button-border-radius: 5px !default;
9
9
 
@@ -11,7 +11,9 @@ $sc-key-pad-background-color: #d8d8d8 !default;
11
11
  $sc-key-pad-button-background-color: #555555 !default;
12
12
  $sc-key-pad-button-font-color: white !default;
13
13
 
14
- $sc-key-pad-model-font-size: 30px !default;
14
+ $sc-key-pad-model-font-size: 12px !default;
15
15
  $sc-key-pad-model-padding: 10px !default;
16
16
  $sc-key-pad-model-font-color-positive: #00dc00 !default;
17
17
  $sc-key-pad-model-font-color-negative: red !default;
18
+
19
+ $sc-key-pad-button-font-size: 20px !default;
@@ -1,9 +1,33 @@
1
1
  @include export-module('cc-screen-config-generator-layout') {
2
2
  .co-screen-config-generator {
3
- padding: 20px;
4
3
  display: flex;
5
4
  overflow: auto;
6
5
  height: 93vh;
6
+ column-gap: 20px;
7
+
8
+ .tree-wrapper {
9
+
10
+ .tree-entry {
11
+ display: flex;
12
+ flex-direction: column;
13
+
14
+ span {
15
+ padding: 7px;
16
+ border: 1px solid #dddddd;
17
+ border-radius: 5px;
18
+ margin-bottom: 6px;
19
+ cursor: pointer;
20
+ background: #f6f6f6;
21
+ }
22
+
23
+ &.level2 {
24
+ margin-left: 25px;
25
+ }
26
+ &.level3 {
27
+ margin-left: 50px;
28
+ }
29
+ }
30
+ }
7
31
 
8
32
  .category-wrapper {
9
33
  display: flex;
@@ -1,7 +1,9 @@
1
1
  import { EventEmitter } from "@angular/core";
2
2
  import { ArticleStock as ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
3
+ import { StockManagementWarehouses } from "@colijnit/articleapi/build/model/stock-management-warehouses.bo";
3
4
  export declare class StockTabComponent {
4
5
  articleStockInformation: ArticleStockBo[];
5
- locationClicked: EventEmitter<ArticleStockBo>;
6
+ locationClicked: EventEmitter<StockManagementWarehouses>;
7
+ warehouseToShow: StockManagementWarehouses;
6
8
  onLocationClick(data: ArticleStockBo): void;
7
9
  }
@@ -6,6 +6,7 @@ export declare class Translation {
6
6
  AMOUNT_AVAILABLE?: string;
7
7
  AMOUNT_IN_STOCK?: string;
8
8
  AMOUNT_LATER_AVAILABLE?: string;
9
+ AVAILABILITY?: string;
9
10
  AVAILABLE_STOCK?: string;
10
11
  BACK_TO_STOCK_LINES?: string;
11
12
  BATCH?: string;
@@ -13,11 +14,14 @@ export declare class Translation {
13
14
  CHOICES?: string;
14
15
  CUSTOMER?: string;
15
16
  DATE?: string;
17
+ DATE_DELIVERED?: string;
16
18
  DELIVERY_DATE?: string;
19
+ DELIVERY_DATE_CONFIRMED?: string;
17
20
  DESCRIPTION?: string;
18
21
  DOCUMENT_NUMBER?: string;
19
22
  ECONOMICAL_STOCK?: string;
20
23
  FREE_STOCK?: string;
24
+ FUTURE_FREE_STOCK?: string;
21
25
  HISTORY?: string;
22
26
  IN_ORDER?: string;
23
27
  LINE?: string;
@@ -31,8 +35,11 @@ export declare class Translation {
31
35
  ORDER_COMMISSION?: string;
32
36
  ORDER_STOCK?: string;
33
37
  OVERVIEW?: string;
38
+ PURCHASE_ORDER?: string;
39
+ PURCHASE_ORDER_DATE?: string;
34
40
  PURCHASE_ORDER_NR?: string;
35
41
  PURCHASE_PRICE?: string;
42
+ REFERENCE?: string;
36
43
  RELATION_ID?: string;
37
44
  RELATION_NR?: string;
38
45
  RESERVED?: string;
@@ -41,6 +48,7 @@ export declare class Translation {
41
48
  STICKER?: string;
42
49
  STOCK?: string;
43
50
  STOCK_DETAILS?: string;
51
+ STOCK_FORECAST?: string;
44
52
  STOCK_REMARK?: string;
45
53
  STOCK_STATE?: string;
46
54
  STOCK_STATUS?: string;
@@ -12,6 +12,7 @@ import { CoDropDownListFields } from "../stock-transfer/co-drop-down-list-fields
12
12
  import { ArticleTransaction as ArticleTransactionBo } from "@colijnit/articleapi/build/model/article-transaction.bo";
13
13
  import { StockLocation } from "@colijnit/articleapi/build/model/stock-location.bo";
14
14
  import { ArticleExtended } from "@colijnit/articleapi/build/model/article-extended.bo";
15
+ import { SendMethodType } from "@colijnit/mainapi/build/enum/send-method-type.enum";
15
16
  export declare class StockInformationGridComponent {
16
17
  iconCacheService: IconCacheService;
17
18
  private _stockService;
@@ -44,6 +45,7 @@ export declare class StockInformationGridComponent {
44
45
  selectedArticleDetailsData: ArticleDetailsBo;
45
46
  showChangeStockDetails: boolean;
46
47
  articleDetailsInformation: ArticleStockManagement;
48
+ sendMethod: SendMethodType[];
47
49
  tabs: string[];
48
50
  activeTab: string;
49
51
  get activeTabText(): string;
@@ -20,7 +20,7 @@ export declare class StockTabsComponent implements OnInit {
20
20
  warehouses: StockManagementWarehouses[];
21
21
  readonly transferIconClicked: EventEmitter<ArticleStockBo>;
22
22
  readonly sendMethodDialogClicked: EventEmitter<PrintPriceStickers>;
23
- selectedLocation: string;
23
+ selectedLocation: number;
24
24
  stockHistory: StockHistoryBo[];
25
25
  orderSupplyStockHistory: StockHistoryBo[];
26
26
  orderCommissionStockHistory: StockHistoryBo[];
@@ -37,7 +37,7 @@ export declare class StockTabsComponent implements OnInit {
37
37
  historyTabs: Tab[];
38
38
  constructor(_stockService: StockService, _localizeService: LocalizeService);
39
39
  ngOnInit(): void;
40
- handleLocationClicked(data: ArticleStockBo): void;
40
+ handleLocationClicked(data: StockManagementWarehouses): void;
41
41
  getStockHistory(): Promise<void>;
42
42
  getOrderSupplyStockHistory(): Promise<void>;
43
43
  getOrderCommissionStockHistory(): Promise<void>;
@@ -142,8 +142,12 @@
142
142
  .ok-cancel-buttons {
143
143
  display: flex;
144
144
  justify-content: center;
145
- padding: 25px;
146
- cursor: pointer;
145
+ padding-top: 25px;
146
+ }
147
+
148
+ .ok-cancel-buttons co-button {
149
+ margin-right: 10px;
150
+ width: 100px;
147
151
  }
148
152
 
149
153
  .stock-transfer-columns {
@@ -27,6 +27,8 @@ export declare class SharedConnectorService {
27
27
  connect(): Promise<void>;
28
28
  getAllPrinters(): Promise<Printer[]>;
29
29
  getSendMethods(): Promise<SendMethod[]>;
30
+ getScreenConfigTree(): Promise<any>;
31
+ getScreenConfigSubRubric(parentRubricId: number, configId: number, fixedKey: string): Promise<any>;
30
32
  getStockHistory(request: GetStockHistoryRequest): Promise<StockHistoryBo[]>;
31
33
  getStockInformation(data: ArticleStock): Promise<ArticleStockBo[]>;
32
34
  getArtStockStatus(goodId: number, branchNo?: string, requestedAmount?: number, warehouseId?: number): Promise<number>;
@@ -9,4 +9,6 @@ export declare class SharedService {
9
9
  init(options: any): Promise<void>;
10
10
  getAllPrinters(): Promise<Printer[]>;
11
11
  getSendMethods(): Promise<SendMethod[]>;
12
+ getScreenConfigTree(): Promise<any>;
13
+ getScreenConfigSubRubric(parentRubricId: number, configId: number, fixedKey: string): Promise<any>;
12
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/sharedcomponents",
3
- "version": "1.0.45",
3
+ "version": "1.0.47",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "chart.js": "4.3.0",
@@ -11,11 +11,11 @@
11
11
  "@angular/core": ">=12.2.0",
12
12
  "@colijnit/articleapi": ">=1.0.17",
13
13
  "@colijnit/mainapi": ">=1.0.15",
14
- "@colijnit/corecomponents_v12": ">=12.1.0",
14
+ "@colijnit/corecomponents_v12": ">=12.1.4",
15
15
  "@colijnit/ioneconnector": ">=2.1.15",
16
16
  "@colijnit/sharedapi": ">=1.0.11",
17
17
  "pdf-lib": ">=1.17.1",
18
- "pdfjs-dist": ">=2.12.313",
18
+ "pdfjs-dist": ">=3.8.162",
19
19
  "rxjs": ">=7.4.0",
20
20
  "signature_pad": ">=4.0.2",
21
21
  "zone.js": ">=0.11.4"