@colijnit/sharedcomponents 255.1.23 → 255.1.25
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/bundles/colijnit-sharedcomponents.umd.js +220 -28
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/lib/components/preferred-planning/preferred-planning.component.js +210 -0
- package/esm2015/lib/components/preferred-planning/preferred-planning.module.js +25 -0
- package/esm2015/lib/components/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.js +15 -16
- package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +11 -6
- package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +4 -3
- package/esm2015/lib/components/tab-bar/tab-bar.component.js +10 -5
- package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
- package/esm2015/lib/service/stock.service.js +2 -3
- package/esm2015/public-api.js +3 -1
- package/fesm2015/colijnit-sharedcomponents.js +263 -30
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/lib/components/preferred-planning/preferred-planning.component.d.ts +34 -0
- package/lib/components/preferred-planning/preferred-planning.module.d.ts +2 -0
- package/lib/components/preferred-planning/style/_layout.scss +74 -0
- package/lib/components/preferred-planning/style/_material-definition.scss +0 -0
- package/lib/components/preferred-planning/style/_theme.scss +5 -0
- package/lib/components/preferred-planning/style/material.scss +5 -0
- package/lib/components/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.d.ts +5 -6
- package/lib/components/stock/components/stock-location/stock-location.component.d.ts +1 -0
- package/lib/components/tab-bar/tab-bar.component.d.ts +4 -1
- package/lib/res/dictionary/dictionaries.d.ts +8 -0
- package/lib/service/stock.service.d.ts +0 -2
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/3rdpartylicenses.txt +0 -1405
- package/favicon.ico +0 -0
- package/index.html +0 -12
- package/main.744dc3d73d03c6e7b1d4.js +0 -1
- package/polyfills.907fe9d1887c5de17993.js +0 -1
- package/runtime.8aac21847ed3d3829cca.js +0 -1
- package/styles.486be41aa0593b705e42.css +0 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { AgendaEventPerDay } from "../../model/agenda-event-per-day.model";
|
|
3
|
+
import { AgendaEvent } from "../../model/agenda-event.model";
|
|
4
|
+
import { IconCacheService } from "../../service/icon-cache.service";
|
|
5
|
+
import { Icon } from "../../enum/icon.enum";
|
|
6
|
+
export declare class PreferredPlanningComponent implements OnInit {
|
|
7
|
+
locale: string;
|
|
8
|
+
iconCacheService: IconCacheService;
|
|
9
|
+
private _changeDetector;
|
|
10
|
+
dayStart: ElementRef;
|
|
11
|
+
readonly icons: typeof Icon;
|
|
12
|
+
firstAvailableDate: Date;
|
|
13
|
+
buttonLabel: string;
|
|
14
|
+
headerText: string;
|
|
15
|
+
headerDescription: string;
|
|
16
|
+
disclaimerHeader: string;
|
|
17
|
+
disclaimerDescription: string;
|
|
18
|
+
loadMoreButtonText: string;
|
|
19
|
+
eventsPerDay: AgendaEventPerDay[];
|
|
20
|
+
selectedDate: Date;
|
|
21
|
+
readonly buttonClick: EventEmitter<MouseEvent>;
|
|
22
|
+
selected: EventEmitter<AgendaEventPerDay>;
|
|
23
|
+
showClass: boolean;
|
|
24
|
+
days: Date[];
|
|
25
|
+
events: AgendaEventPerDay[];
|
|
26
|
+
limit: number;
|
|
27
|
+
selectedOption: AgendaEvent;
|
|
28
|
+
moreLoadable: boolean;
|
|
29
|
+
checkDisabled: boolean;
|
|
30
|
+
constructor(locale: string, iconCacheService: IconCacheService, _changeDetector: ChangeDetectorRef);
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
handleOptionSelect(event: boolean, selectedOption: AgendaEvent, date: Date, index: number): void;
|
|
33
|
+
loadMore(): void;
|
|
34
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
@include export-module('co-preferred-planning') {
|
|
2
|
+
.co-preferred-planning {
|
|
3
|
+
.planning-container {
|
|
4
|
+
display: flex;
|
|
5
|
+
min-height: 0;
|
|
6
|
+
margin-top: 20px;
|
|
7
|
+
.eventOption {
|
|
8
|
+
border: 1px solid #939397;
|
|
9
|
+
border-radius: 2px;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
padding: 15px;
|
|
12
|
+
min-width: 330px;
|
|
13
|
+
margin-bottom: 15px;
|
|
14
|
+
p {
|
|
15
|
+
font-weight: bold;
|
|
16
|
+
margin-bottom: 5px;
|
|
17
|
+
}
|
|
18
|
+
.planning-option {
|
|
19
|
+
margin-bottom: 10px;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
.day-selected {
|
|
23
|
+
border: 1px solid #1A73E8;
|
|
24
|
+
}
|
|
25
|
+
.planning-disclaimer {
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
padding-left: 20px;
|
|
28
|
+
h2 {
|
|
29
|
+
font-weight: bold;
|
|
30
|
+
margin-bottom: 10px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.planning-disclaimer-contents {
|
|
34
|
+
display: flex;
|
|
35
|
+
justify-items: center;
|
|
36
|
+
align-items: center;
|
|
37
|
+
.disclaimer-icon {
|
|
38
|
+
path {
|
|
39
|
+
fill: #1A73E8;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
.load-more-container {
|
|
46
|
+
margin: 10px 0;
|
|
47
|
+
}
|
|
48
|
+
.load-more-container p {
|
|
49
|
+
display: flex;
|
|
50
|
+
color: #1A73E8;
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
align-items: center;
|
|
53
|
+
polygon {
|
|
54
|
+
fill: #1A73E8;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
.load-more-container-disabled p {
|
|
58
|
+
color: #939397;
|
|
59
|
+
cursor: default;
|
|
60
|
+
polygon {
|
|
61
|
+
fill: #939397;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
.submit-button {
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
padding: 15px;
|
|
69
|
+
place-content: center;
|
|
70
|
+
background: #1A73E8;
|
|
71
|
+
color: #fff;
|
|
72
|
+
max-width: 250px;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter } from "@angular/core";
|
|
2
2
|
import { IconCacheService } from "../../../../../../service/icon-cache.service";
|
|
3
3
|
import { Icon } from "../../../../../../enum/icon.enum";
|
|
4
4
|
import { StockService } from "../../../../../../service/stock.service";
|
|
@@ -8,7 +8,7 @@ import { ArticleDetailsBo } from "@colijnit/articleapi/build/model/article-detai
|
|
|
8
8
|
import { StockStatus } from "@colijnit/articleapi/build/model/stock-status.bo";
|
|
9
9
|
import { ArticleFlat } from "@colijnit/articleapi/build/model/article-flat.bo";
|
|
10
10
|
import { StockLocation } from "@colijnit/articleapi/build/model/stock-location.bo";
|
|
11
|
-
export declare class StockLocationPopupComponent
|
|
11
|
+
export declare class StockLocationPopupComponent {
|
|
12
12
|
iconCacheService: IconCacheService;
|
|
13
13
|
private _stockService;
|
|
14
14
|
private _changeDetector;
|
|
@@ -26,17 +26,16 @@ export declare class StockLocationPopupComponent implements OnInit, OnDestroy {
|
|
|
26
26
|
stockLocations: StockLocation[];
|
|
27
27
|
stockStatus: StockStatus[];
|
|
28
28
|
constructor(iconCacheService: IconCacheService, _stockService: StockService, _changeDetector: ChangeDetectorRef);
|
|
29
|
-
|
|
30
|
-
statusForId(id: number): StockStatus;
|
|
29
|
+
statusForId(id: number): 0 | StockStatus;
|
|
31
30
|
handleStockStatusChange(status: StockStatus): void;
|
|
32
31
|
handleStockStatusRemarkChange(remark: string): void;
|
|
33
32
|
amountInStockChanged(data: any): void;
|
|
34
33
|
disabled(): boolean;
|
|
35
34
|
handleOkClick(): void;
|
|
36
|
-
ngOnDestroy(): void;
|
|
37
35
|
togglePopup(): void;
|
|
38
36
|
getStockLocations(): void;
|
|
39
|
-
locationForNumber(number: string): StockLocation;
|
|
37
|
+
locationForNumber(number: string): "" | StockLocation;
|
|
40
38
|
locationChanged(event: StockLocation): void;
|
|
41
39
|
handleStockChange(): void;
|
|
40
|
+
newDate(): Date;
|
|
42
41
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
2
|
import { Tab } from "./tab.interface";
|
|
3
3
|
import { StockManagementWarehouses } from "@colijnit/articleapi/build/model/stock-management-warehouses.bo";
|
|
4
|
+
import { StockService } from "../../service/stock.service";
|
|
4
5
|
export declare class TabBarComponent {
|
|
6
|
+
private _stockService;
|
|
5
7
|
wareHouseLabel: string;
|
|
6
8
|
wareHouseSearchLabel: string;
|
|
7
9
|
tabs: Tab[];
|
|
@@ -12,7 +14,8 @@ export declare class TabBarComponent {
|
|
|
12
14
|
showWarehouseSelection: boolean;
|
|
13
15
|
warehouseSelected: EventEmitter<StockManagementWarehouses>;
|
|
14
16
|
selectedWarehouse: StockManagementWarehouses;
|
|
17
|
+
constructor(_stockService: StockService);
|
|
15
18
|
selectTab(tab: Tab): void;
|
|
16
19
|
selectSecondaryTab(secondaryTab: Tab): void;
|
|
17
|
-
onSelectWarehouse(event:
|
|
20
|
+
onSelectWarehouse(event: StockManagementWarehouses): void;
|
|
18
21
|
}
|
|
@@ -3009,6 +3009,7 @@ export declare class Dictionaries {
|
|
|
3009
3009
|
AVAILABILITY: string;
|
|
3010
3010
|
AVAILABILITY_RESOURCES: string;
|
|
3011
3011
|
AVAILABLE: string;
|
|
3012
|
+
HOMEDECORATOR: string;
|
|
3012
3013
|
NO_DIFFERENCES_FOUND: string;
|
|
3013
3014
|
NO_DIRECT_SELL: string;
|
|
3014
3015
|
NO_DOCS_TO_SIGN: string;
|
|
@@ -14246,6 +14247,7 @@ export declare class Dictionaries {
|
|
|
14246
14247
|
GUARANTEE_PURCHASE: string;
|
|
14247
14248
|
GUARANTEE_SALES: string;
|
|
14248
14249
|
GZVD: string;
|
|
14250
|
+
HOMEDECORATOR: string;
|
|
14249
14251
|
H3DADDADJUST: string;
|
|
14250
14252
|
H3DBRANDID: string;
|
|
14251
14253
|
H3DBRANDNAME: string;
|
|
@@ -16344,6 +16346,12 @@ export declare class Dictionaries {
|
|
|
16344
16346
|
PREFERRED_CONTACTOPTION: string;
|
|
16345
16347
|
PREFERRED_DATE: string;
|
|
16346
16348
|
PREFERRED_DELIVERY_DATE: string;
|
|
16349
|
+
PREFERRED_DELIVERY_DATE_HEADER: string;
|
|
16350
|
+
PREFERRED_DELIVERY_DATE_DESCRIPTION: string;
|
|
16351
|
+
PREFERRED_DELIVERY_DATE_DISCLAIMER_HEADER: string;
|
|
16352
|
+
PREFERRED_DELIVERY_DATE_DISCLAIMER_DESCRIPTION: string;
|
|
16353
|
+
PREFERRED_DELIVERY_DATE_LOAD_MORE: string;
|
|
16354
|
+
PREFERRED_DELIVERY_DATE_CONFIRM: string;
|
|
16347
16355
|
PREFERRED_NAME_HANDLING: string;
|
|
16348
16356
|
PREFFERED_DELIVERY_MOMENT: string;
|
|
16349
16357
|
PREFIX2: string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { EventEmitter } from "@angular/core";
|
|
2
1
|
import { PrintStockStickers } from "@colijnit/sharedapi/build/model/print-stock-stickers";
|
|
3
2
|
import { GetStockHistoryRequest } from "@colijnit/articleapi/build/model/get-stock-history-request";
|
|
4
3
|
import { ArticleStock as ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
@@ -22,7 +21,6 @@ export declare class StockService {
|
|
|
22
21
|
private _sharedService;
|
|
23
22
|
stockStickers: PrintStockStickers;
|
|
24
23
|
printLayoutParams: SendMethodParams;
|
|
25
|
-
readonly warehouseSelected: EventEmitter<StockManagementWarehouses>;
|
|
26
24
|
constructor(_sharedService: SharedConnectorService);
|
|
27
25
|
getStockHistory(data: GetStockHistoryRequest): Promise<StockHistoryBo[]>;
|
|
28
26
|
getStockInformation(data: ArticleStock): Promise<ArticleStockBo[]>;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -36,3 +36,5 @@ export * from './lib/translation/shared-components-dictionary.service';
|
|
|
36
36
|
export * from './lib/enum/calendar-view.enum';
|
|
37
37
|
export * from './lib/model/agenda-event-per-day.model';
|
|
38
38
|
export * from './lib/model/agenda-event.model';
|
|
39
|
+
export * from './lib/components/preferred-planning/preferred-planning.component';
|
|
40
|
+
export * from './lib/components/preferred-planning/preferred-planning.module';
|