@colijnit/sharedcomponents 255.1.23 → 255.1.24
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 +207 -24
- 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 +9 -13
- package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +4 -5
- 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/service/stock.service.js +2 -3
- package/esm2015/public-api.js +3 -1
- package/fesm2015/colijnit-sharedcomponents.js +248 -24
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/index.html +2 -2
- 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 +4 -6
- package/lib/components/tab-bar/tab-bar.component.d.ts +4 -1
- package/lib/service/stock.service.d.ts +0 -2
- package/main.fbdbe938084ad6fbf240.js +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/{styles.486be41aa0593b705e42.css → styles.49bd98bd336b5413992f.css} +1 -1
- package/main.744dc3d73d03c6e7b1d4.js +0 -1
|
@@ -2033,7 +2033,6 @@
|
|
|
2033
2033
|
var StockService = /** @class */ (function () {
|
|
2034
2034
|
function StockService(_sharedService) {
|
|
2035
2035
|
this._sharedService = _sharedService;
|
|
2036
|
-
this.warehouseSelected = new i0.EventEmitter();
|
|
2037
2036
|
}
|
|
2038
2037
|
// public async getPrintStockStickers(data: PrintStockStickers): Promise<void> {
|
|
2039
2038
|
// await this._sharedService.getPrintStockStickers(data);
|
|
@@ -4272,13 +4271,13 @@
|
|
|
4272
4271
|
StockTabsComponent.prototype.handleLocationClicked = function (data) {
|
|
4273
4272
|
this.tabs[0].active = false;
|
|
4274
4273
|
this.tabs[2].active = true;
|
|
4275
|
-
|
|
4274
|
+
var warehouse = this.wareHouseForCode(parseInt(data));
|
|
4275
|
+
this.selectedWarehouse = warehouse;
|
|
4276
4276
|
this.handleWarehouseSelected(this.selectedWarehouse);
|
|
4277
4277
|
this.getStockData(this.selectedWarehouse);
|
|
4278
4278
|
};
|
|
4279
4279
|
StockTabsComponent.prototype.handleWarehouseSelected = function (event) {
|
|
4280
4280
|
this.selectedWarehouse = event;
|
|
4281
|
-
this._stockService.warehouseSelected.emit(event);
|
|
4282
4281
|
};
|
|
4283
4282
|
StockTabsComponent.prototype.getStockData = function (warehouse) {
|
|
4284
4283
|
this.handleWarehouseSelected(warehouse);
|
|
@@ -4293,7 +4292,7 @@
|
|
|
4293
4292
|
StockTabsComponent.decorators = [
|
|
4294
4293
|
{ type: i0.Component, args: [{
|
|
4295
4294
|
selector: "co-stock-tabs",
|
|
4296
|
-
template: "\n <co-tab-bar [wareHouseLabel]=\"'CHOICES' | sharedLocalize\"\n [wareHouseSearchLabel]=\"'SEARCH' | sharedLocalize\"\n [tabs]=\"tabs\"\n [dataWareHouseCode]=\"warehouses\"\n [selectedWarehouse]=\"selectedWarehouse\"\n [secondaryTabs]=\"historyTabs\"\n [ActivateSecondaryTabs]=\"tabs[5].active\"\n [showWarehouseSelection]=\"tabs[1].active || tabs[2].active\"\n (warehouseSelected)=\"handleWarehouseSelected($event)\"\n ></co-tab-bar>\n\n <co-stock-tab *ngIf=\"tabs[0].active\"\n [articleStockInformation]=\"stockInformation\"\n (locationClicked)=\"handleLocationClicked($event)\"\n ></co-stock-tab>\n\n <co-stock-prognose *ngIf=\"tabs[1].active\"\n [goodId]=\"article.goodId\"\n [warehouseNo]=\"selectedWarehouse.warehouseNo\"\n ></co-stock-prognose>\n\n <co-stock-location *ngIf=\"tabs[2].active\"\n [articleStockInformation]=\"stockInformation\"\n [goodId]=\"article.goodId\"\n [warehouseNo]=\"selectedWarehouse.warehouseNo\"\n [articleFlat]=\"articleFlat\"\n [dataWareHouseCode]=\"warehouses\"\n [showStockTransfer]=\"showStockTransfer\"\n (transferIconClicked)=\"transferIconClicked.emit($event)\"\n (sendMethodDialogClicked)=\"sendMethodDialogClicked.emit($event)\"\n (showStockTransferChange)=\"onShowStockTransferChange($event)\"\n ></co-stock-location>\n\n <co-order-tab *ngIf=\"tabs[3].active\"\n [goodId]=\"article.goodId\"\n (transferIconClicked)=\"transferIconClicked.emit($event)\"\n (sendMethodDialogClicked)=\"sendMethodDialogClicked.emit($event)\"\n ></co-order-tab>\n\n <co-order-stock-tab *ngIf=\"tabs[4].active\"\n [goodId]=\"article.goodId\"\n ></co-order-stock-tab>\n\n <co-stock-history *ngIf=\"historyTabs[0].active && tabs[5].active\"\n [goodId]=\"article.goodId\"\n ></co-stock-history>\n\n <co-order-supply-stock-history *ngIf=\"historyTabs[1].active && tabs[5].active\"\n [goodId]=\"article.goodId\"\n ></co-order-supply-stock-history>\n\n <co-order-stock-commission-history *ngIf=\"historyTabs[2].active && tabs[5].active\"\n [goodId]=\"article.goodId\"\n ></co-order-stock-commission-history>\n\n <co-order-stock-history *ngIf=\"historyTabs[3].active && tabs[5].active\"\n [goodId]=\"article.goodId\"\n ></co-order-stock-history>\n\n <co-allocation-stock-history *ngIf=\"historyTabs[4].active && tabs[5].active\"\n [goodId]=\"article.goodId\"\n ></co-allocation-stock-history>\n\n ",
|
|
4295
|
+
template: "\n <co-tab-bar [wareHouseLabel]=\"'CHOICES' | sharedLocalize\"\n [wareHouseSearchLabel]=\"'SEARCH' | sharedLocalize\"\n [tabs]=\"tabs\"\n [dataWareHouseCode]=\"warehouses\"\n [selectedWarehouse]=\"selectedWarehouse\"\n [secondaryTabs]=\"historyTabs\"\n [ActivateSecondaryTabs]=\"tabs[5].active\"\n [showWarehouseSelection]=\"tabs[1].active || tabs[2].active\"\n (warehouseSelected)=\"handleWarehouseSelected($event)\"\n ></co-tab-bar>\n\n <co-stock-tab *ngIf=\"tabs[0].active\"\n [articleStockInformation]=\"stockInformation\"\n (locationClicked)=\"handleLocationClicked($event)\"\n ></co-stock-tab>\n\n <co-stock-prognose *ngIf=\"tabs[1].active\"\n [goodId]=\"article.goodId\"\n [warehouseNo]=\"selectedWarehouse.warehouseNo\"\n ></co-stock-prognose>\n\n <co-stock-location *ngIf=\"tabs[2].active\"\n [articleStockInformation]=\"stockInformation\"\n [goodId]=\"article.goodId\"\n [warehouseNo]=\"selectedWarehouse.warehouseNo\"\n [articleFlat]=\"articleFlat\"\n [dataWareHouseCode]=\"warehouses\"\n [showStockTransfer]=\"showStockTransfer\"\n [selectedWarehouse]=\"selectedWarehouse\"\n (transferIconClicked)=\"transferIconClicked.emit($event)\"\n (sendMethodDialogClicked)=\"sendMethodDialogClicked.emit($event)\"\n (showStockTransferChange)=\"onShowStockTransferChange($event)\"\n ></co-stock-location>\n\n <co-order-tab *ngIf=\"tabs[3].active\"\n [goodId]=\"article.goodId\"\n (transferIconClicked)=\"transferIconClicked.emit($event)\"\n (sendMethodDialogClicked)=\"sendMethodDialogClicked.emit($event)\"\n ></co-order-tab>\n\n <co-order-stock-tab *ngIf=\"tabs[4].active\"\n [goodId]=\"article.goodId\"\n ></co-order-stock-tab>\n\n <co-stock-history *ngIf=\"historyTabs[0].active && tabs[5].active\"\n [goodId]=\"article.goodId\"\n ></co-stock-history>\n\n <co-order-supply-stock-history *ngIf=\"historyTabs[1].active && tabs[5].active\"\n [goodId]=\"article.goodId\"\n ></co-order-supply-stock-history>\n\n <co-order-stock-commission-history *ngIf=\"historyTabs[2].active && tabs[5].active\"\n [goodId]=\"article.goodId\"\n ></co-order-stock-commission-history>\n\n <co-order-stock-history *ngIf=\"historyTabs[3].active && tabs[5].active\"\n [goodId]=\"article.goodId\"\n ></co-order-stock-history>\n\n <co-allocation-stock-history *ngIf=\"historyTabs[4].active && tabs[5].active\"\n [goodId]=\"article.goodId\"\n ></co-allocation-stock-history>\n\n ",
|
|
4297
4296
|
encapsulation: i0.ViewEncapsulation.None
|
|
4298
4297
|
},] }
|
|
4299
4298
|
];
|
|
@@ -4415,9 +4414,6 @@
|
|
|
4415
4414
|
this._stockService.getStockState().then(function (result) {
|
|
4416
4415
|
_this.stockStatus = result;
|
|
4417
4416
|
});
|
|
4418
|
-
this._subs.push(this._stockService.warehouseSelected.subscribe(function (warehouse) {
|
|
4419
|
-
_this.selectedWarehouse = warehouse;
|
|
4420
|
-
}));
|
|
4421
4417
|
};
|
|
4422
4418
|
StockLocationComponent.prototype.ngOnDestroy = function () {
|
|
4423
4419
|
this._subs.forEach(function (s) { return s.unsubscribe(); });
|
|
@@ -4536,7 +4532,7 @@
|
|
|
4536
4532
|
StockLocationComponent.decorators = [
|
|
4537
4533
|
{ type: i0.Component, args: [{
|
|
4538
4534
|
selector: 'co-stock-location',
|
|
4539
|
-
template: "\n <div class=\"stock-grid\">\n <div class=\"stock-transfer-wrapper\">\n <co-stock-transfer *ngIf=\"showStockTransfer\"\n class=\"stock-transfer-dialog\"\n [articleToTransfer]=\"articleDetails\"\n (handleStickerClicked)=\"handleStickerClicked.emit($event)\"\n [allWarehouses]=\"allWarehouses\"\n [stockLocations]=\"stockLocations\"\n [articleFlat]=\"articleFlat\"\n [showStockTransfer]=\"showStockTransfer\"\n (showStockTransferChange)=\"onShowStockTransferChange($event)\">\n </co-stock-transfer>\n </div>\n <co-stock-location-popup\n [selectedWarehouse]=\"selectedWarehouse\"\n [articleFlat]=\"articleFlat\"\n [selectedLocationNo]=\"selectedLocationNo\"\n [stockLocations]=\"stockLocations\"\n [articleDetailsInformation]=\"articleDetailsInformation\"\n [articleStockInfo]=\"data\"\n [selectedArticleDetailsData]=\"selectedArticleDetailsData\"\n [showConfirmationDialog]=\"showConfirmationDialog\"\n [newStockLine]=\"newStockLine\"\n (togglePopupEvent)=\"showConfirmationDialog = $event\"\n (updateGridData)=\"data = $event\"\n\n ></co-stock-location-popup>\n <co-simple-grid [data]=\"data\"\n class=\"simple-grid\"\n [showAdd]=\"true\"\n [inlineEdit]=\"false\"\n [showToolbar]=\"true\"\n (addRow)=\"handleAddRow()\"\n >\n <co-simple-grid-column [headerText]=\"'STOCK' | sharedLocalize\" [field]=\"'amountInStock'\">\n <ng-template #template let-row=\"row\">\n <div class=\"stock-amount\" (click)=\"onOkClickSendLocations(row)\">\n <co-icon class=\"menu-icon\" [iconData]=\"iconCacheService.getIcon(icons.EditPenRegular)\"></co-icon>\n <span [textContent]=\"row['amountInStock']\"></span>\n </div>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [width]=\"150\" [headerText]=\"'LOCATION' | sharedLocalize\" [field]=\"'locationNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-list-of-values\n [model]=\"locationForNumber(row['locationNo'])\"\n [collection]=\"stockLocations\"\n [displayField]=\"'description'\"\n [label]=\"'LOCATION' | sharedLocalize\"\n [required]=\"true\"\n (modelChange)=\"locationChanged(row, $event)\"\n ></co-list-of-values>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleFlat?.batch\" [headerText]=\"'BATCH' | sharedLocalize\" [field]=\"'batchNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [model]=\"selectedArticleDetailsData.batchNo\"\n [placeholder]=\"'BATCH' | sharedLocalize\"\n (modelChange)=\"row['batchNo'] = $event\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleFlat?.serial\" [headerText]=\"'SERIAL_NO' | sharedLocalize\" [field]=\"'serialNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [model]=\"selectedArticleDetailsData.serialNo\"\n [placeholder]=\"'SERIAL_NO' | sharedLocalize\"\n (modelChange)=\"row['serialNo'] = $event\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'ALLOCATED' | sharedLocalize\" [field]=\"'stockAssigned'\">\n <ng-template #editTemplate let-row=\"row\">\n <span [textContent]=\"row['stockAssigned']\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AVAILABLE_STOCK' | sharedLocalize\" [field]=\"'amountInStockFree'\">\n <ng-template #editTemplate let-row=\"row\">\n <span [textContent]=\"row['amountInStockFree']\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA' | sharedLocalize\" [field]=\"'currency'\">\n <ng-template #editTemplate let-row=\"row\">\n <span [textContent]=\"row['currency']\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'PURCHASE_PRICE' | sharedLocalize\" [field]=\"'purchasePrice'\">\n <ng-template #editTemplate let-row=\"row\">\n <span [textContent]=\"row['purchasePrice']\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'SUPPLIERNR' | sharedLocalize\" [field]=\"'supplierNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <span [textContent]=\"row['supplierNo']\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [readonly]=\"true\" [headerText]=\"'TRANSFER' | sharedLocalize\" [field]=\"'transfer'\">\n <ng-template #template let-row=\"row\">\n <co-icon class=\"menu-icon\" [iconData]=\"iconCacheService.getIcon(icons.DeliveryTruck)\"\n (click)=\"handleStockTransferClick(row)\"></co-icon>\n </ng-template>\n <ng-template #editTemplate></ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [readonly]=\"true\" [headerText]=\"'STICKER' | sharedLocalize\" [field]=\"'sticker'\">\n <ng-template #template let-row=\"row\">\n <co-icon class=\"menu-icon\" [iconData]=\"iconCacheService.getIcon(icons.Print)\"\n (click)=\"openSendMethodDialog(row)\"></co-icon>\n </ng-template>\n <ng-template #editTemplate></ng-template>\n </co-simple-grid-column>\n </co-simple-grid>\n </div>\n ",
|
|
4535
|
+
template: "\n <div class=\"stock-grid\">\n <div class=\"stock-transfer-wrapper\">\n <co-stock-transfer *ngIf=\"showStockTransfer\"\n class=\"stock-transfer-dialog\"\n [articleToTransfer]=\"articleDetails\"\n (handleStickerClicked)=\"handleStickerClicked.emit($event)\"\n [allWarehouses]=\"allWarehouses\"\n [stockLocations]=\"stockLocations\"\n [articleFlat]=\"articleFlat\"\n [showStockTransfer]=\"showStockTransfer\"\n (showStockTransferChange)=\"onShowStockTransferChange($event)\">\n </co-stock-transfer>\n </div>\n <co-stock-location-popup\n [selectedWarehouse]=\"selectedWarehouse\"\n [articleFlat]=\"articleFlat\"\n [selectedLocationNo]=\"selectedLocationNo\"\n [stockLocations]=\"stockLocations\"\n [articleDetailsInformation]=\"articleDetailsInformation\"\n [articleStockInfo]=\"data\"\n [selectedArticleDetailsData]=\"selectedArticleDetailsData\"\n [showConfirmationDialog]=\"showConfirmationDialog\"\n [newStockLine]=\"newStockLine\"\n [stockStatus]=\"stockStatus\"\n (togglePopupEvent)=\"showConfirmationDialog = $event\"\n (updateGridData)=\"data = $event\"\n\n ></co-stock-location-popup>\n <co-simple-grid [data]=\"data\"\n class=\"simple-grid\"\n [showAdd]=\"true\"\n [inlineEdit]=\"false\"\n [showToolbar]=\"true\"\n (addRow)=\"handleAddRow()\"\n >\n <co-simple-grid-column [headerText]=\"'STOCK' | sharedLocalize\" [field]=\"'amountInStock'\">\n <ng-template #template let-row=\"row\">\n <div class=\"stock-amount\" (click)=\"onOkClickSendLocations(row)\">\n <co-icon class=\"menu-icon\" [iconData]=\"iconCacheService.getIcon(icons.EditPenRegular)\"></co-icon>\n <span [textContent]=\"row['amountInStock']\"></span>\n </div>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [width]=\"150\" [headerText]=\"'LOCATION' | sharedLocalize\" [field]=\"'locationNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-list-of-values\n [model]=\"locationForNumber(row['locationNo'])\"\n [collection]=\"stockLocations\"\n [displayField]=\"'description'\"\n [label]=\"'LOCATION' | sharedLocalize\"\n [required]=\"true\"\n (modelChange)=\"locationChanged(row, $event)\"\n ></co-list-of-values>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleFlat?.batch\" [headerText]=\"'BATCH' | sharedLocalize\" [field]=\"'batchNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [model]=\"selectedArticleDetailsData.batchNo\"\n [placeholder]=\"'BATCH' | sharedLocalize\"\n (modelChange)=\"row['batchNo'] = $event\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column *ngIf=\"articleFlat?.serial\" [headerText]=\"'SERIAL_NO' | sharedLocalize\" [field]=\"'serialNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text [model]=\"selectedArticleDetailsData.serialNo\"\n [placeholder]=\"'SERIAL_NO' | sharedLocalize\"\n (modelChange)=\"row['serialNo'] = $event\"\n ></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'ALLOCATED' | sharedLocalize\" [field]=\"'stockAssigned'\">\n <ng-template #editTemplate let-row=\"row\">\n <span [textContent]=\"row['stockAssigned']\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AVAILABLE_STOCK' | sharedLocalize\" [field]=\"'amountInStockFree'\">\n <ng-template #editTemplate let-row=\"row\">\n <span [textContent]=\"row['amountInStockFree']\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'VALUTA' | sharedLocalize\" [field]=\"'currency'\">\n <ng-template #editTemplate let-row=\"row\">\n <span [textContent]=\"row['currency']\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'PURCHASE_PRICE' | sharedLocalize\" [field]=\"'purchasePrice'\">\n <ng-template #editTemplate let-row=\"row\">\n <span [textContent]=\"row['purchasePrice']\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'SUPPLIERNR' | sharedLocalize\" [field]=\"'supplierNo'\">\n <ng-template #editTemplate let-row=\"row\">\n <span [textContent]=\"row['supplierNo']\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [readonly]=\"true\" [headerText]=\"'TRANSFER' | sharedLocalize\" [field]=\"'transfer'\">\n <ng-template #template let-row=\"row\">\n <co-icon class=\"menu-icon\" [iconData]=\"iconCacheService.getIcon(icons.DeliveryTruck)\"\n (click)=\"handleStockTransferClick(row)\"></co-icon>\n </ng-template>\n <ng-template #editTemplate></ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [readonly]=\"true\" [headerText]=\"'STICKER' | sharedLocalize\" [field]=\"'sticker'\">\n <ng-template #template let-row=\"row\">\n <co-icon class=\"menu-icon\" [iconData]=\"iconCacheService.getIcon(icons.Print)\"\n (click)=\"openSendMethodDialog(row)\"></co-icon>\n </ng-template>\n <ng-template #editTemplate></ng-template>\n </co-simple-grid-column>\n </co-simple-grid>\n </div>\n ",
|
|
4540
4536
|
encapsulation: i0.ViewEncapsulation.None
|
|
4541
4537
|
},] }
|
|
4542
4538
|
];
|
|
@@ -4556,7 +4552,8 @@
|
|
|
4556
4552
|
transferIconClicked: [{ type: i0.Output }],
|
|
4557
4553
|
sendMethodDialogClicked: [{ type: i0.Output }],
|
|
4558
4554
|
showStockTransferChange: [{ type: i0.Output }],
|
|
4559
|
-
handleStickerClicked: [{ type: i0.Output }]
|
|
4555
|
+
handleStickerClicked: [{ type: i0.Output }],
|
|
4556
|
+
selectedWarehouse: [{ type: i0.Input }]
|
|
4560
4557
|
};
|
|
4561
4558
|
|
|
4562
4559
|
var StockHistoryComponent = /** @class */ (function (_super) {
|
|
@@ -4604,7 +4601,8 @@
|
|
|
4604
4601
|
};
|
|
4605
4602
|
|
|
4606
4603
|
var TabBarComponent = /** @class */ (function () {
|
|
4607
|
-
function TabBarComponent() {
|
|
4604
|
+
function TabBarComponent(_stockService) {
|
|
4605
|
+
this._stockService = _stockService;
|
|
4608
4606
|
this.tabs = [];
|
|
4609
4607
|
this.secondaryTabs = [];
|
|
4610
4608
|
this.ActivateSecondaryTabs = false;
|
|
@@ -4635,10 +4633,13 @@
|
|
|
4635
4633
|
TabBarComponent.decorators = [
|
|
4636
4634
|
{ type: i0.Component, args: [{
|
|
4637
4635
|
selector: "co-tab-bar",
|
|
4638
|
-
template: "\n <div class=\"tab-bar-wrapper\">\n <div class=\"tab-bar-warehouse-wrapper\">\n <div class=\"stock-location-group\">\n <div class=\"stock-location-right-group\">\n <co-list-of-values *ngIf=\"showWarehouseSelection\"\n [label]=\"wareHouseLabel\"\n [displayField]=\"'warehouseDescription'\"\n [collection]=\"dataWareHouseCode\"\n [multiselect]=\"false\"\n [required]=\"false\"\n [readonly]=\"false\"\n [customCssClass]=\"'mini-scrollbar'\"\n [searchPlaceholder]=\"wareHouseSearchLabel\"\n [(model)]=\"selectedWarehouse\"\n (modelChange)=\"onSelectWarehouse($event)\"\n class=\"custom-height\"\n >\n </co-list-of-values>\n </div>\n </div>\n </div>\n <div class=\"tab-bar\">\n <div class=\"tab-bar-primary\">\n <div class=\"tab-primary\" *ngFor=\"let tab of tabs\">\n <co-button\n [label]=\"tab.title\"\n [screenConfigurationObject]=\"tab.cfg\"\n [class.active]=\"tab.active\"\n (click)=\"selectTab(tab)\"
|
|
4636
|
+
template: "\n <div class=\"tab-bar-wrapper\">\n <div class=\"tab-bar-warehouse-wrapper\">\n <div class=\"stock-location-group\">\n <div class=\"stock-location-right-group\">\n <co-list-of-values *ngIf=\"showWarehouseSelection\"\n [label]=\"wareHouseLabel\"\n [displayField]=\"'warehouseDescription'\"\n [collection]=\"dataWareHouseCode\"\n [multiselect]=\"false\"\n [required]=\"false\"\n [readonly]=\"false\"\n [customCssClass]=\"'mini-scrollbar'\"\n [searchPlaceholder]=\"wareHouseSearchLabel\"\n [(model)]=\"selectedWarehouse\"\n (modelChange)=\"onSelectWarehouse($event)\"\n class=\"custom-height\"\n >\n </co-list-of-values>\n </div>\n </div>\n </div>\n <div class=\"tab-bar\">\n <div class=\"tab-bar-primary\">\n <div class=\"tab-primary\" *ngFor=\"let tab of tabs\">\n <co-button\n [label]=\"tab.title\"\n [screenConfigurationObject]=\"tab.cfg\"\n [class.active]=\"tab.active\"\n (click)=\"selectTab(tab)\"\n ></co-button>\n </div>\n </div>\n <div class=\"secondary-tab-bar\" *ngIf=\"ActivateSecondaryTabs\">\n <co-button *ngFor=\"let tab of secondaryTabs\"\n [label]=\"tab.title\"\n [screenConfigurationObject]=\"tab.cfg\"\n [class.active]=\"tab.active\"\n (click)=\"selectSecondaryTab(tab)\"\n ></co-button>\n </div>\n </div>\n </div>\n ",
|
|
4639
4637
|
encapsulation: i0.ViewEncapsulation.None
|
|
4640
4638
|
},] }
|
|
4641
4639
|
];
|
|
4640
|
+
TabBarComponent.ctorParameters = function () { return [
|
|
4641
|
+
{ type: StockService }
|
|
4642
|
+
]; };
|
|
4642
4643
|
TabBarComponent.propDecorators = {
|
|
4643
4644
|
wareHouseLabel: [{ type: i0.Input }],
|
|
4644
4645
|
wareHouseSearchLabel: [{ type: i0.Input }],
|
|
@@ -5191,20 +5192,15 @@
|
|
|
5191
5192
|
this.newStockLine = false;
|
|
5192
5193
|
this.selectedArticleDetailsData = new articleDetails_bo.ArticleDetailsBo();
|
|
5193
5194
|
this.articleDetailsInformation = new articleStockManagement.ArticleStockManagement();
|
|
5195
|
+
this.selectedWarehouse = new stockManagementWarehouses_bo.StockManagementWarehouses();
|
|
5194
5196
|
this.articleStockInfo = [];
|
|
5195
5197
|
this.togglePopupEvent = new i0.EventEmitter();
|
|
5196
5198
|
this.updateGridData = new i0.EventEmitter();
|
|
5197
5199
|
this.stockLocations = [];
|
|
5198
5200
|
this.stockStatus = [];
|
|
5199
5201
|
}
|
|
5200
|
-
StockLocationPopupComponent.prototype.ngOnInit = function () {
|
|
5201
|
-
var _this = this;
|
|
5202
|
-
this._stockService.getStockState().then(function (result) {
|
|
5203
|
-
_this.stockStatus = result;
|
|
5204
|
-
});
|
|
5205
|
-
};
|
|
5206
5202
|
StockLocationPopupComponent.prototype.statusForId = function (id) {
|
|
5207
|
-
return this.stockStatus.find(function (status) { return status.stockStateId === id; });
|
|
5203
|
+
return this.stockStatus.find(function (status) { return status.stockStateId === id; }) ? this.stockStatus.find(function (status) { return status.stockStateId === id; }) : 0;
|
|
5208
5204
|
};
|
|
5209
5205
|
StockLocationPopupComponent.prototype.handleStockStatusChange = function (status) {
|
|
5210
5206
|
this.selectedArticleDetailsData.stockStateId = status.stockStateId;
|
|
@@ -5224,8 +5220,6 @@
|
|
|
5224
5220
|
this.togglePopupEvent.emit(!this.showConfirmationDialog);
|
|
5225
5221
|
this._changeDetector.detectChanges();
|
|
5226
5222
|
};
|
|
5227
|
-
StockLocationPopupComponent.prototype.ngOnDestroy = function () {
|
|
5228
|
-
};
|
|
5229
5223
|
StockLocationPopupComponent.prototype.togglePopup = function () {
|
|
5230
5224
|
this.togglePopupEvent.emit(!this.showConfirmationDialog);
|
|
5231
5225
|
};
|
|
@@ -5236,8 +5230,8 @@
|
|
|
5236
5230
|
});
|
|
5237
5231
|
};
|
|
5238
5232
|
StockLocationPopupComponent.prototype.locationForNumber = function (number) {
|
|
5239
|
-
var _a;
|
|
5240
|
-
return (_a = this.stockLocations) === null || _a === void 0 ? void 0 : _a.find(function (location) { return location.locationNo === number; });
|
|
5233
|
+
var _a, _b;
|
|
5234
|
+
return ((_a = this.stockLocations) === null || _a === void 0 ? void 0 : _a.find(function (location) { return location.locationNo === number; })) ? (_b = this.stockLocations) === null || _b === void 0 ? void 0 : _b.find(function (location) { return location.locationNo === number; }) : "";
|
|
5241
5235
|
};
|
|
5242
5236
|
StockLocationPopupComponent.prototype.locationChanged = function (event) {
|
|
5243
5237
|
var _a;
|
|
@@ -5281,7 +5275,7 @@
|
|
|
5281
5275
|
StockLocationPopupComponent.decorators = [
|
|
5282
5276
|
{ type: i0.Component, args: [{
|
|
5283
5277
|
selector: "co-stock-location-popup",
|
|
5284
|
-
template: "\n <div class=\"stock-grid\">\n <co-dialog *ngIf=\"showConfirmationDialog\"\n [showCloseIcon]=\"true\"\n [modal]=\"true\"\n (closeClick)=\"togglePopup()\"\n [headerTemplate]=\"headerTemplate\"\n [footerTemplate]=\"footerTemplate\">\n <ng-template #headerTemplate>\n <div class=\"co-dialog-header-title-wrapper\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.Cubes)\"></co-icon>\n <div class=\"co-dialog-header-title\" [textContent]=\"'CONFIRM_STOCK_CHANGE' | sharedLocalize\"></div>\n </div>\n </ng-template>\n <div class=\"dialog-wrapper\">\n <div class=\"stock-dialog-header\">\n <span class=\"stock-header\" *ngIf=\"newStockLine\" [textContent]=\"'NEW_STOCK_LINE' | sharedLocalize\"></span>\n <span class=\"stock-header\" *ngIf=\"!newStockLine\" [textContent]=\"'CHANGE_STOCK_LINE' | sharedLocalize\"></span>\n </div>\n <div class=\"stock-dialog-row\">\n <co-input-text [model]=\"selectedWarehouse
|
|
5278
|
+
template: "\n <div class=\"stock-grid\">\n <co-dialog *ngIf=\"showConfirmationDialog\"\n [showCloseIcon]=\"true\"\n [modal]=\"true\"\n (closeClick)=\"togglePopup()\"\n [headerTemplate]=\"headerTemplate\"\n [footerTemplate]=\"footerTemplate\">\n <ng-template #headerTemplate>\n <div class=\"co-dialog-header-title-wrapper\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.Cubes)\"></co-icon>\n <div class=\"co-dialog-header-title\" [textContent]=\"'CONFIRM_STOCK_CHANGE' | sharedLocalize\"></div>\n </div>\n </ng-template>\n <div class=\"dialog-wrapper\">\n <div class=\"stock-dialog-header\">\n <span class=\"stock-header\" *ngIf=\"newStockLine\" [textContent]=\"'NEW_STOCK_LINE' | sharedLocalize\"></span>\n <span class=\"stock-header\" *ngIf=\"!newStockLine\" [textContent]=\"'CHANGE_STOCK_LINE' | sharedLocalize\"></span>\n </div>\n <div class=\"stock-dialog-row\">\n <co-input-text [model]=\"selectedWarehouse?.warehouseDescription\"\n [placeholder]=\"'WAREHOUSE' | sharedLocalize\"\n [readonly]=\"true\"\n ></co-input-text>\n\n <co-list-of-values\n [model]=\"locationForNumber(selectedLocationNo)\"\n [collection]=\"stockLocations\"\n [displayField]=\"'locationNo'\"\n [label]=\"'LOCATION' | sharedLocalize\"\n [required]=\"true\"\n (modelChange)=\"locationChanged($event)\"\n ></co-list-of-values>\n </div>\n <div class=\"stock-dialog-row\">\n <co-input-text [(model)]=\"selectedArticleDetailsData.serialNo\"\n [placeholder]=\"'SERIAL_NO' | sharedLocalize\"\n [readonly]=\"false\"\n ></co-input-text>\n <co-input-text [(model)]=\"selectedArticleDetailsData.batchNo\"\n [placeholder]=\"'BATCH' | sharedLocalize\"\n [readonly]=\"false\"\n ></co-input-text>\n </div>\n <div class=\"stock-dialog-row\">\n <div class=\"stock-dialog-row-row\">\n <co-input-text [model]=\"articleStockInfo[0]?.purchasePrice | currency:'EUR'\"\n [placeholder]=\"'PURCHASE_PRICE' | sharedLocalize\"\n [readonly]=\"false\"\n ></co-input-text>\n <co-input-text [(model)]=\"articleStockInfo[0].currency\"\n [placeholder]=\"'VALUTA' | sharedLocalize\"\n [readonly]=\"false\"\n ></co-input-text>\n </div>\n <co-input-date [model]=\"selectedArticleDetailsData?.entryDate | date\"\n [placeholder]=\"'DATE' | sharedLocalize\"\n [readonly]=\"false\"\n ></co-input-date>\n </div>\n <div class=\"stock-dialog-row\">\n <co-list-of-values [label]=\"'STATUS' | sharedLocalize\"\n [model]=\"statusForId(selectedArticleDetailsData?.stockStateId)\"\n [collection]=\"stockStatus\"\n [displayField]=\"'stateDescription'\"\n (modelChange)=\"handleStockStatusChange($event)\"\n ></co-list-of-values>\n <co-input-text [placeholder]=\"'REMARK' | sharedLocalize\"\n (modelChange)=\"handleStockStatusRemarkChange($event)\"></co-input-text>\n </div>\n <co-input-number-picker\n [(model)]=\"selectedArticleDetailsData.amountInStock\"\n [label]=\"'STOCK' | sharedLocalize\"\n (modelChange)=\"amountInStockChanged($event)\"\n [min]=\"1\"\n ></co-input-number-picker>\n </div>\n <ng-template #footerTemplate>\n <div class=\"button-wrapper ok-cancel-buttons\">\n <co-button class=\"save-button\"\n (click)=\"handleOkClick()\"\n [iconData]=\"iconCacheService.getIcon(icons.CheckDuotone)\"\n [disabled]=\"disabled()\">\n </co-button>\n <co-button class=\"cancel-button\"\n (click)=\"togglePopup()\"\n [iconData]=\"iconCacheService.getIcon(icons.CrossSkinny)\">\n </co-button>\n </div>\n </ng-template>\n </co-dialog>\n </div>\n ",
|
|
5285
5279
|
encapsulation: i0.ViewEncapsulation.None
|
|
5286
5280
|
},] }
|
|
5287
5281
|
];
|
|
@@ -5301,7 +5295,8 @@
|
|
|
5301
5295
|
articleStockInfo: [{ type: i0.Input }],
|
|
5302
5296
|
togglePopupEvent: [{ type: i0.Output }],
|
|
5303
5297
|
updateGridData: [{ type: i0.Output }],
|
|
5304
|
-
stockLocations: [{ type: i0.Input }]
|
|
5298
|
+
stockLocations: [{ type: i0.Input }],
|
|
5299
|
+
stockStatus: [{ type: i0.Input }]
|
|
5305
5300
|
};
|
|
5306
5301
|
|
|
5307
5302
|
var SharedLocalizePipe = /** @class */ (function () {
|
|
@@ -15430,6 +15425,192 @@
|
|
|
15430
15425
|
},] }
|
|
15431
15426
|
];
|
|
15432
15427
|
|
|
15428
|
+
var PreferredPlanningComponent = /** @class */ (function () {
|
|
15429
|
+
function PreferredPlanningComponent(locale, iconCacheService, _changeDetector) {
|
|
15430
|
+
this.locale = locale;
|
|
15431
|
+
this.iconCacheService = iconCacheService;
|
|
15432
|
+
this._changeDetector = _changeDetector;
|
|
15433
|
+
this.icons = exports["ɵbt"];
|
|
15434
|
+
this.buttonLabel = "";
|
|
15435
|
+
this.headerText = "";
|
|
15436
|
+
this.headerDescription = "";
|
|
15437
|
+
this.disclaimerHeader = "";
|
|
15438
|
+
this.disclaimerDescription = "";
|
|
15439
|
+
this.loadMoreButtonText = "";
|
|
15440
|
+
this.eventsPerDay = [];
|
|
15441
|
+
this.buttonClick = new i0.EventEmitter();
|
|
15442
|
+
this.selected = new i0.EventEmitter();
|
|
15443
|
+
this.showClass = true;
|
|
15444
|
+
this.days = [];
|
|
15445
|
+
this.events = [];
|
|
15446
|
+
this.limit = 4;
|
|
15447
|
+
this.moreLoadable = true;
|
|
15448
|
+
this.checkDisabled = false;
|
|
15449
|
+
}
|
|
15450
|
+
PreferredPlanningComponent.prototype.ngOnInit = function () {
|
|
15451
|
+
// const eventone = new AgendaEvent();
|
|
15452
|
+
// eventone.checked = false;
|
|
15453
|
+
// eventone.showCheckbox = true;
|
|
15454
|
+
// eventone.draggable = false;
|
|
15455
|
+
// eventone.id = 2;
|
|
15456
|
+
// eventone.dayPartNo = 2;
|
|
15457
|
+
// eventone.date = new Date('2024-10-21T00:00:00');
|
|
15458
|
+
// eventone.from = new Date('2024-10-21T09:00:00');
|
|
15459
|
+
// eventone.to = new Date('2024-10-21T12:00:00');
|
|
15460
|
+
// eventone.fromString = "09:00 AM";
|
|
15461
|
+
// eventone.toString = "12:00 PM";
|
|
15462
|
+
// eventone.fromToRepresentation = "09:00 AM - 12:00 PM";
|
|
15463
|
+
// eventone.description = "Morgen van 9.00- 12.00 uur";
|
|
15464
|
+
//
|
|
15465
|
+
// const eventwo = new AgendaEvent();
|
|
15466
|
+
// eventwo.checked = false;
|
|
15467
|
+
// eventwo.showCheckbox = true;
|
|
15468
|
+
// eventwo.draggable = false;
|
|
15469
|
+
// eventwo.id = 3;
|
|
15470
|
+
// eventwo.dayPartNo = 3;
|
|
15471
|
+
// eventwo.date = new Date('2024-10-21T00:00:00');
|
|
15472
|
+
// eventwo.from = new Date('2024-10-21T12:00:00');
|
|
15473
|
+
// eventwo.to = new Date('2024-10-21T15:00:00');
|
|
15474
|
+
// eventwo.fromString = "12:00 PM";
|
|
15475
|
+
// eventwo.toString = "03:00 PM";
|
|
15476
|
+
// eventwo.fromToRepresentation = "12:00 PM - 03:00 PM";
|
|
15477
|
+
// eventwo.description = "Hele dag";
|
|
15478
|
+
//
|
|
15479
|
+
//
|
|
15480
|
+
// const eventthree = new AgendaEvent();
|
|
15481
|
+
// eventthree.checked = false;
|
|
15482
|
+
// eventthree.showCheckbox = true;
|
|
15483
|
+
// eventthree.draggable = false;
|
|
15484
|
+
// eventthree.id = 7;
|
|
15485
|
+
// eventthree.dayPartNo = 1;
|
|
15486
|
+
// eventthree.date = new Date('2024-10-21T00:00:00');
|
|
15487
|
+
// eventthree.from = new Date('2024-10-21T09:00:00');
|
|
15488
|
+
// eventthree.to = new Date('2024-10-21T12:00:00');
|
|
15489
|
+
// eventthree.fromString = "09:00 AM";
|
|
15490
|
+
// eventthree.toString = "12:00 PM";
|
|
15491
|
+
// eventthree.fromToRepresentation = "09:00 AM - 12:00 PM";
|
|
15492
|
+
// eventthree.description = "Morgen van 9.00- 12.00 uur";
|
|
15493
|
+
//
|
|
15494
|
+
// const evenfour = new AgendaEvent();
|
|
15495
|
+
// evenfour.checked = false;
|
|
15496
|
+
// evenfour.showCheckbox = true;
|
|
15497
|
+
// evenfour.draggable = false;
|
|
15498
|
+
// evenfour.id = 8;
|
|
15499
|
+
// evenfour.dayPartNo = 2;
|
|
15500
|
+
// evenfour.date = new Date('2024-10-21T00:00:00');
|
|
15501
|
+
// evenfour.from = new Date('2024-10-21T12:00:00');
|
|
15502
|
+
// evenfour.to = new Date('2024-10-21T15:00:00');
|
|
15503
|
+
// evenfour.fromString = "12:00 PM";
|
|
15504
|
+
// evenfour.toString = "03:00 PM";
|
|
15505
|
+
// evenfour.fromToRepresentation = "12:00 PM - 03:00 PM";
|
|
15506
|
+
// evenfour.description = "Hele dag";
|
|
15507
|
+
//
|
|
15508
|
+
// const testData = new AgendaEventPerDay();
|
|
15509
|
+
// testData.date = new Date('2024-10-21T00:00:00');
|
|
15510
|
+
// testData.events.push(eventone);
|
|
15511
|
+
// testData.events.push(eventwo);
|
|
15512
|
+
//
|
|
15513
|
+
// const testDataTwo = new AgendaEventPerDay();
|
|
15514
|
+
// testDataTwo.date = new Date('2024-11-21T00:00:00');
|
|
15515
|
+
// testDataTwo.events.push(eventthree);
|
|
15516
|
+
// testDataTwo.events.push(evenfour);
|
|
15517
|
+
//
|
|
15518
|
+
// this.events.push(testData);
|
|
15519
|
+
// this.events.push(testDataTwo);
|
|
15520
|
+
if (this.eventsPerDay) {
|
|
15521
|
+
this.events = this.eventsPerDay;
|
|
15522
|
+
if (this.eventsPerDay.length <= this.limit) {
|
|
15523
|
+
this.moreLoadable = false;
|
|
15524
|
+
}
|
|
15525
|
+
this._changeDetector.detectChanges();
|
|
15526
|
+
}
|
|
15527
|
+
};
|
|
15528
|
+
PreferredPlanningComponent.prototype.handleOptionSelect = function (event, selectedOption, date, index) {
|
|
15529
|
+
var olderItems = document.getElementsByClassName('eventOption');
|
|
15530
|
+
for (var i = 0; i < olderItems.length; i++) {
|
|
15531
|
+
olderItems[i].classList.remove('day-selected');
|
|
15532
|
+
}
|
|
15533
|
+
if (event) {
|
|
15534
|
+
this.selectedOption = selectedOption;
|
|
15535
|
+
var agendaEventPerDay = new AgendaEventPerDay();
|
|
15536
|
+
agendaEventPerDay.date = date;
|
|
15537
|
+
agendaEventPerDay.events.push(selectedOption);
|
|
15538
|
+
this.selected.emit(agendaEventPerDay);
|
|
15539
|
+
var target = document.getElementById('event-' + index);
|
|
15540
|
+
target.classList.add('day-selected');
|
|
15541
|
+
this.checkDisabled = true;
|
|
15542
|
+
}
|
|
15543
|
+
};
|
|
15544
|
+
PreferredPlanningComponent.prototype.loadMore = function () {
|
|
15545
|
+
this.limit = this.limit += 4;
|
|
15546
|
+
if (this.eventsPerDay.length <= this.limit) {
|
|
15547
|
+
this.moreLoadable = false;
|
|
15548
|
+
}
|
|
15549
|
+
this._changeDetector.detectChanges();
|
|
15550
|
+
};
|
|
15551
|
+
return PreferredPlanningComponent;
|
|
15552
|
+
}());
|
|
15553
|
+
PreferredPlanningComponent.decorators = [
|
|
15554
|
+
{ type: i0.Component, args: [{
|
|
15555
|
+
selector: "co-preferred-planning",
|
|
15556
|
+
template: "\n <div class=\"co-preferred-planning\">\n <div class=\"content-wrapper\">\n <p [textContent]=\"headerDescription\"></p>\n <div class=\"planning-container\">\n <div class=\"planning-options\" *ngIf=\"events\">\n <ng-container *ngFor=\"let event of events | slice:0:limit; let i=index\">\n <div class=\"eventOption\" id=\"event-{{i}}\">\n <p [textContent]=\"event.date | date:'EEEE dd MMMM':'nl'\"></p>\n <ng-container *ngFor=\"let option of event.events\">\n <div class=\"planning-option\">\n <co-input-checkbox\n [disabled]=\"checkDisabled\"\n [model]=\"option.checked\"\n [label]=\"option.description\"\n (modelChange)=\"handleOptionSelect($event, option, event.date, i)\"\n ></co-input-checkbox>\n </div>\n </ng-container>\n </div>\n </ng-container>\n </div>\n <div class=\"planning-disclaimer\">\n <h2 [textContent]=\"disclaimerHeader\"></h2>\n <div class=\"planning-disclaimer-contents\">\n <co-icon class=\"disclaimer-icon\" [iconData]=\"iconCacheService.getIcon(icons.CheckRound)\"></co-icon>\n <p [textContent]=\"disclaimerDescription\"></p>\n </div>\n </div>\n </div>\n <div (click)=\"loadMore()\" class=\"load-more-container\"\n [ngClass]=\"!moreLoadable ? 'load-more-container-disabled':''\">\n <p>\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.ArrowFatRight)\"></co-icon>\n <span [textContent]=\"loadMoreButtonText\"></span>\n </p>\n </div>\n </div>\n </div>\n\n <co-button class=\"submit-button\"\n [label]=\"buttonLabel\"\n (click)=\"buttonClick.emit($event)\">\n </co-button>\n ",
|
|
15557
|
+
animations: [
|
|
15558
|
+
animations.trigger("showHideWindow", [
|
|
15559
|
+
animations.state("void", animations.style({ transform: "scaleY(0)" })),
|
|
15560
|
+
animations.state("*", animations.style({ transform: "scaleY(1)" })),
|
|
15561
|
+
animations.transition(":enter, :leave", [
|
|
15562
|
+
animations.animate("200ms ease-in-out")
|
|
15563
|
+
])
|
|
15564
|
+
])
|
|
15565
|
+
],
|
|
15566
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
15567
|
+
},] }
|
|
15568
|
+
];
|
|
15569
|
+
PreferredPlanningComponent.ctorParameters = function () { return [
|
|
15570
|
+
{ type: String, decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
|
|
15571
|
+
{ type: IconCacheService },
|
|
15572
|
+
{ type: i0.ChangeDetectorRef }
|
|
15573
|
+
]; };
|
|
15574
|
+
PreferredPlanningComponent.propDecorators = {
|
|
15575
|
+
dayStart: [{ type: i0.ViewChild, args: ["dayStart", { static: true },] }],
|
|
15576
|
+
firstAvailableDate: [{ type: i0.Input }],
|
|
15577
|
+
buttonLabel: [{ type: i0.Input }],
|
|
15578
|
+
headerText: [{ type: i0.Input }],
|
|
15579
|
+
headerDescription: [{ type: i0.Input }],
|
|
15580
|
+
disclaimerHeader: [{ type: i0.Input }],
|
|
15581
|
+
disclaimerDescription: [{ type: i0.Input }],
|
|
15582
|
+
loadMoreButtonText: [{ type: i0.Input }],
|
|
15583
|
+
eventsPerDay: [{ type: i0.Input }],
|
|
15584
|
+
selectedDate: [{ type: i0.Input }],
|
|
15585
|
+
buttonClick: [{ type: i0.Output }],
|
|
15586
|
+
selected: [{ type: i0.Output }],
|
|
15587
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-preferred-planning",] }]
|
|
15588
|
+
};
|
|
15589
|
+
|
|
15590
|
+
var PreferredPlanningModule = /** @class */ (function () {
|
|
15591
|
+
function PreferredPlanningModule() {
|
|
15592
|
+
}
|
|
15593
|
+
return PreferredPlanningModule;
|
|
15594
|
+
}());
|
|
15595
|
+
PreferredPlanningModule.decorators = [
|
|
15596
|
+
{ type: i0.NgModule, args: [{
|
|
15597
|
+
imports: [
|
|
15598
|
+
common.CommonModule,
|
|
15599
|
+
corecomponents_v12.InputDatePickerModule,
|
|
15600
|
+
corecomponents_v12.IconModule,
|
|
15601
|
+
corecomponents_v12.ButtonModule,
|
|
15602
|
+
corecomponents_v12.InputCheckboxModule,
|
|
15603
|
+
corecomponents_v12.InputRadioButtonModule,
|
|
15604
|
+
],
|
|
15605
|
+
declarations: [
|
|
15606
|
+
PreferredPlanningComponent,
|
|
15607
|
+
],
|
|
15608
|
+
exports: [
|
|
15609
|
+
PreferredPlanningComponent
|
|
15610
|
+
]
|
|
15611
|
+
},] }
|
|
15612
|
+
];
|
|
15613
|
+
|
|
15433
15614
|
/*
|
|
15434
15615
|
* Public API Surface of sharedcomponents
|
|
15435
15616
|
*/
|
|
@@ -15456,6 +15637,8 @@
|
|
|
15456
15637
|
exports.KeyPadModule = KeyPadModule;
|
|
15457
15638
|
exports.LayoutSwitcherComponent = LayoutSwitcherComponent;
|
|
15458
15639
|
exports.LayoutSwitcherModule = LayoutSwitcherModule;
|
|
15640
|
+
exports.PreferredPlanningComponent = PreferredPlanningComponent;
|
|
15641
|
+
exports.PreferredPlanningModule = PreferredPlanningModule;
|
|
15459
15642
|
exports.RoleEmailSelectorComponent = RoleEmailSelectorComponent;
|
|
15460
15643
|
exports.RoleEmailSelectorModule = RoleEmailSelectorModule;
|
|
15461
15644
|
exports.SendMethodDialogComponent = SendMethodDialogComponent;
|