@colijnit/sharedcomponents 1.0.31 → 1.0.33

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 (25) hide show
  1. package/README.md +24 -24
  2. package/bundles/colijnit-sharedcomponents.umd.js +92 -55
  3. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  4. package/colijnit-sharedcomponents.metadata.json +1 -1
  5. package/esm2015/lib/components/circular-gauge/co-circular-gauge.component.js +18 -15
  6. package/esm2015/lib/components/linear-gauge/co-linear-gauge.component.js +14 -10
  7. package/esm2015/lib/components/statusbar/statusbar.component.js +14 -16
  8. package/esm2015/lib/components/statusbar/statusbar.module.js +4 -2
  9. package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +57 -31
  10. package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +9 -5
  11. package/esm2015/lib/components/stock/stock.component.js +2 -2
  12. package/esm2015/lib/enum/gauge-color.enum.js +10 -0
  13. package/esm2015/lib/enum/icon.enum.js +1 -1
  14. package/esm2015/lib/model/icon-svg.js +1 -1
  15. package/esm2015/lib/pipe/array-number.pipe.js +1 -1
  16. package/fesm2015/colijnit-sharedcomponents.js +120 -76
  17. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  18. package/lib/components/circular-gauge/style/_layout.scss +6 -3
  19. package/lib/components/linear-gauge/co-linear-gauge.component.d.ts +1 -6
  20. package/lib/components/statusbar/statusbar.component.d.ts +2 -3
  21. package/lib/components/stock/stock-information-grid/stock-information-grid.component.d.ts +5 -3
  22. package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +1 -1
  23. package/lib/components/stock/style/_layout.scss +7 -0
  24. package/lib/enum/gauge-color.enum.d.ts +8 -0
  25. package/package.json +1 -1
@@ -11,12 +11,15 @@
11
11
  }
12
12
 
13
13
  .annotation {
14
- display: flex;
15
- justify-content: start;
16
14
  font-family: $circular-gauge-annotation-font-family;
17
15
  font-size: $circular-gauge-annotation-font-size;
18
16
  font-weight: $circular-gauge-annotation-font-weight;
19
- padding-top: $circular-gauge-annotation-padding-top;
17
+ display: flex;
18
+ justify-content: center;
19
+ align-items: center;
20
+ position: absolute;
21
+ top: -1px;
22
+ left: -7px;
20
23
  }
21
24
  }
22
25
  }
@@ -1,8 +1,4 @@
1
- declare enum GaugeColor {
2
- Low = "#E0E0E0",
3
- Medium = "#F88952",
4
- High = "#5FDCB3"
5
- }
1
+ import { GaugeColor } from "../../enum/gauge-color.enum";
6
2
  export declare class CoLinearGaugeComponent {
7
3
  set value(value: number);
8
4
  get value(): number;
@@ -13,4 +9,3 @@ export declare class CoLinearGaugeComponent {
13
9
  getStyle(): string;
14
10
  private _setColor;
15
11
  }
16
- export {};
@@ -17,8 +17,7 @@ export declare class StatusbarComponent {
17
17
  private _statusbarData;
18
18
  private _mouseY;
19
19
  private _windowHeight;
20
- onHover(event: any): void;
21
- onLeave(): void;
22
- onStatusbarClick(): void;
20
+ onStatusbarClick(event: any): void;
23
21
  setPopupClass(): void;
22
+ adjustTooHighPercentages(): void;
24
23
  }
@@ -64,8 +64,10 @@ export declare class StockInformationGridComponent {
64
64
  onSelectWarehouse(event: any): void;
65
65
  getInOrderData(): Promise<void>;
66
66
  getOrderData(): Promise<void>;
67
- onSelectLocation(): void;
68
- onOkClickSendLocations(): void;
67
+ onLocationDropdownClick(): void;
68
+ onLocationSelected(location: any): void;
69
+ onOkClickSendLocations(): Promise<void>;
69
70
  onCancelClickSendLocations(): void;
70
- amountInStockChanged(data: any, row: any): void;
71
+ amountInStockChanged(data: any): void;
72
+ lockSelectedRow(row: any): void;
71
73
  }
@@ -14,7 +14,7 @@ export declare class StockTransferComponent implements AfterViewInit {
14
14
  articleToTransfer: ArticleDetailsBo;
15
15
  articleWarehouse: any[];
16
16
  allWarehouses: any[];
17
- handleCancelClicked: EventEmitter<any>;
17
+ handleClick: EventEmitter<any>;
18
18
  handleStickerClicked: EventEmitter<any>;
19
19
  allWarehousesDropdownFields: CoDropDownListFields;
20
20
  allLocationDropdownFields: CoDropDownListFields;
@@ -26,6 +26,7 @@
26
26
 
27
27
  .stock-image {
28
28
  height: $sc-stock-image-height;
29
+ margin-right: 20px;
29
30
  }
30
31
 
31
32
  .stock-good-info {
@@ -145,6 +146,7 @@
145
146
  display: flex;
146
147
  justify-content: center;
147
148
  padding: 25px;
149
+ cursor: pointer;
148
150
  }
149
151
 
150
152
  .stock-transfer-columns {
@@ -179,5 +181,10 @@
179
181
  height: 50vh;
180
182
  overflow: auto;
181
183
  }
184
+
185
+ .location-link {
186
+ cursor: pointer;
187
+ color: $sc-color-action;
188
+ }
182
189
  }
183
190
  }
@@ -0,0 +1,8 @@
1
+ export declare enum GaugeColor {
2
+ Lowest = "#E0E0E0",
3
+ Low = "#fff7b8",
4
+ MediumLow = "#ffe367",
5
+ MediumHigh = "#ffc15b",
6
+ High = "#F88952",
7
+ Highest = "#5FDCB3"
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/sharedcomponents",
3
- "version": "1.0.31",
3
+ "version": "1.0.33",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.0",