@colijnit/sharedcomponents 1.0.46 → 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.
@@ -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;
@@ -3,6 +3,31 @@
3
3
  display: flex;
4
4
  overflow: auto;
5
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
+ }
6
31
 
7
32
  .category-wrapper {
8
33
  display: flex;
@@ -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.46",
3
+ "version": "1.0.47",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "chart.js": "4.3.0",
@@ -11,7 +11,7 @@
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",