@colijnit/sharedcomponents 300.1.14 → 300.1.15
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.
- package/fesm2022/colijnit-sharedcomponents.mjs +1457 -1420
- package/fesm2022/colijnit-sharedcomponents.mjs.map +1 -1
- package/index.d.ts +7 -1
- package/lib/components/search-presets/search-preset-overview-component/style/_layout.scss +4 -4
- package/lib/components/search-presets/search-preset-overview-component/style/_theme.scss +4 -4
- package/lib/components/search-presets/search-preset-overview-component/style/material.scss +4 -4
- package/lib/components/search-presets/search-preset-overview-dialog-component/style/_layout.scss +8 -8
- package/lib/components/search-presets/search-preset-overview-dialog-component/style/_theme.scss +4 -4
- package/lib/components/search-presets/search-preset-overview-dialog-component/style/material.scss +4 -4
- package/lib/components/search-presets/search-preset-save-dialog/style/_layout.scss +26 -26
- package/lib/components/search-presets/search-preset-save-dialog/style/_theme.scss +4 -4
- package/lib/components/search-presets/search-preset-save-dialog/style/material.scss +4 -4
- package/lib/components/search-presets/search-presets-pinned/style/_layout.scss +59 -59
- package/lib/components/search-presets/search-presets-pinned/style/_theme.scss +4 -4
- package/lib/components/search-presets/search-presets-pinned/style/material.scss +4 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -359,6 +359,7 @@ declare class SharedConnectorService {
|
|
|
359
359
|
lockFormResponse(formResponseId: number): Promise<boolean>;
|
|
360
360
|
unlockFormResponse(formResponseId: number): Promise<boolean>;
|
|
361
361
|
getBranchesByWarehouseNumber(warehouseNo: number): Promise<RelationLight[]>;
|
|
362
|
+
getDefaultWarehouseForUserBranch(): Promise<number>;
|
|
362
363
|
getUserGroups(): Promise<UserGroup[]>;
|
|
363
364
|
getPresets(request: PresetSearchRequest): Promise<Preset[]>;
|
|
364
365
|
savePreset(preset: Preset): Promise<boolean>;
|
|
@@ -398,6 +399,8 @@ declare class StockService {
|
|
|
398
399
|
private _sharedService;
|
|
399
400
|
stockStickers: PrintStockStickers;
|
|
400
401
|
printLayoutParams: SendMethodParams;
|
|
402
|
+
commissionCodes: CoDomainValue[];
|
|
403
|
+
userDefaultWarehouseNo: number;
|
|
401
404
|
constructor(_sharedService: SharedConnectorService);
|
|
402
405
|
refreshStockInformation: EventEmitter<void>;
|
|
403
406
|
getStockHistory(data: GetStockHistoryRequest): Promise<StockHistoryBo[]>;
|
|
@@ -406,6 +409,7 @@ declare class StockService {
|
|
|
406
409
|
updateArticleDetails(data: ArticleDetailsBo): Promise<boolean>;
|
|
407
410
|
getStockState(): Promise<StockStatus[]>;
|
|
408
411
|
getArtStockStatus(goodId: number, branchNo?: string, requestedAmount?: number, warehouseId?: number): Promise<number>;
|
|
412
|
+
getCommissionCodes(): Promise<void>;
|
|
409
413
|
getStockManagementWarehouses(): Promise<StockManagementWarehouses[]>;
|
|
410
414
|
getStockManagementLocations(warehouseNo: number): Promise<StockLocation[]>;
|
|
411
415
|
getArticleTransaction(data: ArticleTransaction): Promise<ArticleTransaction$1[]>;
|
|
@@ -414,6 +418,7 @@ declare class StockService {
|
|
|
414
418
|
getArticleFlat(sku: string): Promise<ArticleFlat>;
|
|
415
419
|
searchArticles(request: ArticleExtendedRequest): Promise<ArticleExtended[]>;
|
|
416
420
|
getBranchesByWarehouseNumber(warehouseNo: number): Promise<RelationLight[]>;
|
|
421
|
+
getDefaultWarehouseForUserBranch(): Promise<void>;
|
|
417
422
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockService, never>;
|
|
418
423
|
static ɵprov: i0.ɵɵInjectableDeclaration<StockService>;
|
|
419
424
|
}
|
|
@@ -796,6 +801,7 @@ declare class OrderTabComponent extends BaseStockComponent {
|
|
|
796
801
|
updateData(): void;
|
|
797
802
|
handleTransactionNavigation(transNr: string): void;
|
|
798
803
|
getGridData(): void;
|
|
804
|
+
setCommissionCodeDescriptions(articleTransactions: ArticleTransaction$1[]): void;
|
|
799
805
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrderTabComponent, never>;
|
|
800
806
|
static ɵcmp: i0.ɵɵComponentDeclaration<OrderTabComponent, "co-order-tab", never, { "warehouseNo": { "alias": "warehouseNo"; "required": false; }; "showStockTransfer": { "alias": "showStockTransfer"; "required": false; }; "allWarehouses": { "alias": "allWarehouses"; "required": false; }; "articleFlat": { "alias": "articleFlat"; "required": false; }; }, { "locationClicked": "locationClicked"; "transferIconClicked": "transferIconClicked"; "sendMethodDialogClicked": "sendMethodDialogClicked"; "handleStickerClicked": "handleStickerClicked"; "showStockTransferChange": "showStockTransferChange"; "handleTransactionClick": "handleTransactionClick"; }, never, never, false, never>;
|
|
801
807
|
}
|
|
@@ -1029,7 +1035,7 @@ declare class StockLocationPopupComponent implements OnInit {
|
|
|
1029
1035
|
amountInStockChanged(data: any): void;
|
|
1030
1036
|
handleOkClick(): Promise<void>;
|
|
1031
1037
|
togglePopup(): void;
|
|
1032
|
-
locationForNumber(number: string):
|
|
1038
|
+
locationForNumber(number: string): StockLocation | "";
|
|
1033
1039
|
locationChanged(event: StockLocation): void;
|
|
1034
1040
|
handleStockChange(): void;
|
|
1035
1041
|
handleSelectedStockState(event: StockStatus): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@include export-module('cc-search-preset-overview-component-layout') {
|
|
2
|
-
.co-search-preset-overview-component {
|
|
3
|
-
}
|
|
4
|
-
}
|
|
1
|
+
@include export-module('cc-search-preset-overview-component-layout') {
|
|
2
|
+
.co-search-preset-overview-component {
|
|
3
|
+
}
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@include export-module('cc-search-preset-overview-component-theme') {
|
|
2
|
-
.co-search-preset-overview-component {
|
|
3
|
-
}
|
|
4
|
-
}
|
|
1
|
+
@include export-module('cc-search-preset-overview-component-theme') {
|
|
2
|
+
.co-search-preset-overview-component {
|
|
3
|
+
}
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import "../../../../style/mixin";
|
|
2
|
-
@import "./_material-definition";
|
|
3
|
-
@import "./_layout";
|
|
4
|
-
@import "./_theme";
|
|
1
|
+
@import "../../../../style/mixin";
|
|
2
|
+
@import "./_material-definition";
|
|
3
|
+
@import "./_layout";
|
|
4
|
+
@import "./_theme";
|
package/lib/components/search-presets/search-preset-overview-dialog-component/style/_layout.scss
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
@include export-module('cc-search-preset-overview-dialog-layout') {
|
|
2
|
-
.co-search-preset-overview-dialog {
|
|
3
|
-
.co-dialog-wrapper {
|
|
4
|
-
max-width: 800px;
|
|
5
|
-
height: 600px;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
}
|
|
1
|
+
@include export-module('cc-search-preset-overview-dialog-layout') {
|
|
2
|
+
.co-search-preset-overview-dialog {
|
|
3
|
+
.co-dialog-wrapper {
|
|
4
|
+
max-width: 800px;
|
|
5
|
+
height: 600px;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
}
|
package/lib/components/search-presets/search-preset-overview-dialog-component/style/_theme.scss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@include export-module('cc-search-preset-overview-component.scss-theme') {
|
|
2
|
-
.co-search-preset-overview {
|
|
3
|
-
}
|
|
4
|
-
}
|
|
1
|
+
@include export-module('cc-search-preset-overview-component.scss-theme') {
|
|
2
|
+
.co-search-preset-overview {
|
|
3
|
+
}
|
|
4
|
+
}
|
package/lib/components/search-presets/search-preset-overview-dialog-component/style/material.scss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import "../../../../style/mixin";
|
|
2
|
-
@import "./_material-definition";
|
|
3
|
-
@import "./_layout";
|
|
4
|
-
@import "./_theme";
|
|
1
|
+
@import "../../../../style/mixin";
|
|
2
|
+
@import "./_material-definition";
|
|
3
|
+
@import "./_layout";
|
|
4
|
+
@import "./_theme";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
@include export-module('cc-search-preset-save-dialog-layout') {
|
|
2
|
-
.co-search-preset-save-dialog {
|
|
3
|
-
#preset-save-dialog:not(.is-mobile) .co-dialog-wrapper {
|
|
4
|
-
width: 400px;
|
|
5
|
-
min-height: 200px;
|
|
6
|
-
max-height: 500px;
|
|
7
|
-
|
|
8
|
-
.save-dialog-contents {
|
|
9
|
-
width: 100%;
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
row-gap: 10px;
|
|
13
|
-
padding: 10px;
|
|
14
|
-
|
|
15
|
-
.co-input-text {
|
|
16
|
-
width: 100%;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.co-list-of-values {
|
|
20
|
-
width: 100%;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
}
|
|
1
|
+
@include export-module('cc-search-preset-save-dialog-layout') {
|
|
2
|
+
.co-search-preset-save-dialog {
|
|
3
|
+
#preset-save-dialog:not(.is-mobile) .co-dialog-wrapper {
|
|
4
|
+
width: 400px;
|
|
5
|
+
min-height: 200px;
|
|
6
|
+
max-height: 500px;
|
|
7
|
+
|
|
8
|
+
.save-dialog-contents {
|
|
9
|
+
width: 100%;
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
row-gap: 10px;
|
|
13
|
+
padding: 10px;
|
|
14
|
+
|
|
15
|
+
.co-input-text {
|
|
16
|
+
width: 100%;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.co-list-of-values {
|
|
20
|
+
width: 100%;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@include export-module('cc-search-preset-save-dialog-theme') {
|
|
2
|
-
.co-search-preset-save-dialog {
|
|
3
|
-
}
|
|
4
|
-
}
|
|
1
|
+
@include export-module('cc-search-preset-save-dialog-theme') {
|
|
2
|
+
.co-search-preset-save-dialog {
|
|
3
|
+
}
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import "../../../../style/mixin";
|
|
2
|
-
@import "./_material-definition";
|
|
3
|
-
@import "./_layout";
|
|
4
|
-
@import "./_theme";
|
|
1
|
+
@import "../../../../style/mixin";
|
|
2
|
+
@import "./_material-definition";
|
|
3
|
+
@import "./_layout";
|
|
4
|
+
@import "./_theme";
|
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
@include export-module('cc-co-search-preset-pinned-layout') {
|
|
2
|
-
.co-search-preset-pinned {
|
|
3
|
-
width: 100%;
|
|
4
|
-
padding: 2px;
|
|
5
|
-
min-height: 30px;
|
|
6
|
-
display: flex;
|
|
7
|
-
.preset-button {
|
|
8
|
-
display: block;
|
|
9
|
-
}
|
|
10
|
-
.pinned-presets-row {
|
|
11
|
-
width: 100%;
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: row;
|
|
14
|
-
column-gap: 5px;
|
|
15
|
-
padding: 10px 10px 10px 20px;
|
|
16
|
-
justify-content: flex-start;
|
|
17
|
-
flex-wrap: wrap;
|
|
18
|
-
}
|
|
19
|
-
.presets-wrapper {
|
|
20
|
-
display: flex;
|
|
21
|
-
align-items: center;
|
|
22
|
-
flex-wrap: wrap;
|
|
23
|
-
gap: 5px
|
|
24
|
-
}
|
|
25
|
-
.presets {
|
|
26
|
-
height: 16px;
|
|
27
|
-
font-size: 10px;
|
|
28
|
-
color: #000000;
|
|
29
|
-
background: #f5f5fa;
|
|
30
|
-
border-radius: 5px;
|
|
31
|
-
padding: 2px 7px;
|
|
32
|
-
user-select: none;
|
|
33
|
-
|
|
34
|
-
&.active {
|
|
35
|
-
color: #FFFFFF;
|
|
36
|
-
background: red;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.show-all-button {
|
|
41
|
-
height: 16px;
|
|
42
|
-
font-size: 10px;
|
|
43
|
-
color: #000000;
|
|
44
|
-
display: flex;
|
|
45
|
-
align-items: center;
|
|
46
|
-
background: #FFFFFF;
|
|
47
|
-
border: 1px solid;
|
|
48
|
-
border-radius: 5px;
|
|
49
|
-
padding: 2px 7px;
|
|
50
|
-
cursor: pointer;
|
|
51
|
-
|
|
52
|
-
&:hover {
|
|
53
|
-
background: #1A73E8;
|
|
54
|
-
color: #FFF;
|
|
55
|
-
filter: none;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
1
|
+
@include export-module('cc-co-search-preset-pinned-layout') {
|
|
2
|
+
.co-search-preset-pinned {
|
|
3
|
+
width: 100%;
|
|
4
|
+
padding: 2px;
|
|
5
|
+
min-height: 30px;
|
|
6
|
+
display: flex;
|
|
7
|
+
.preset-button {
|
|
8
|
+
display: block;
|
|
9
|
+
}
|
|
10
|
+
.pinned-presets-row {
|
|
11
|
+
width: 100%;
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: row;
|
|
14
|
+
column-gap: 5px;
|
|
15
|
+
padding: 10px 10px 10px 20px;
|
|
16
|
+
justify-content: flex-start;
|
|
17
|
+
flex-wrap: wrap;
|
|
18
|
+
}
|
|
19
|
+
.presets-wrapper {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
flex-wrap: wrap;
|
|
23
|
+
gap: 5px
|
|
24
|
+
}
|
|
25
|
+
.presets {
|
|
26
|
+
height: 16px;
|
|
27
|
+
font-size: 10px;
|
|
28
|
+
color: #000000;
|
|
29
|
+
background: #f5f5fa;
|
|
30
|
+
border-radius: 5px;
|
|
31
|
+
padding: 2px 7px;
|
|
32
|
+
user-select: none;
|
|
33
|
+
|
|
34
|
+
&.active {
|
|
35
|
+
color: #FFFFFF;
|
|
36
|
+
background: red;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.show-all-button {
|
|
41
|
+
height: 16px;
|
|
42
|
+
font-size: 10px;
|
|
43
|
+
color: #000000;
|
|
44
|
+
display: flex;
|
|
45
|
+
align-items: center;
|
|
46
|
+
background: #FFFFFF;
|
|
47
|
+
border: 1px solid;
|
|
48
|
+
border-radius: 5px;
|
|
49
|
+
padding: 2px 7px;
|
|
50
|
+
cursor: pointer;
|
|
51
|
+
|
|
52
|
+
&:hover {
|
|
53
|
+
background: #1A73E8;
|
|
54
|
+
color: #FFF;
|
|
55
|
+
filter: none;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@include export-module('cc-co-search-preset-pinned-theme') {
|
|
2
|
-
.co-search-preset-pinned {
|
|
3
|
-
}
|
|
4
|
-
}
|
|
1
|
+
@include export-module('cc-co-search-preset-pinned-theme') {
|
|
2
|
+
.co-search-preset-pinned {
|
|
3
|
+
}
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import "../../../../style/mixin";
|
|
2
|
-
@import "./_material-definition";
|
|
3
|
-
@import "./_layout";
|
|
4
|
-
@import "./_theme";
|
|
1
|
+
@import "../../../../style/mixin";
|
|
2
|
+
@import "./_material-definition";
|
|
3
|
+
@import "./_layout";
|
|
4
|
+
@import "./_theme";
|