@colijnit/transaction 300.1.7 → 300.1.9

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 (20) hide show
  1. package/fesm2022/colijnit-transaction.mjs +2845 -2496
  2. package/fesm2022/colijnit-transaction.mjs.map +1 -1
  3. package/index.d.ts +78 -9
  4. package/lib/component/transaction-documents-customer-portal/style/_layout.scss +16 -0
  5. package/lib/component/transaction-documents-customer-portal/style/_material-definition.scss +1 -0
  6. package/lib/component/transaction-documents-customer-portal/style/_theme.scss +6 -0
  7. package/lib/component/transaction-documents-customer-portal/style/material.scss +4 -0
  8. package/lib/component/transaction-internal/style/material.scss +1 -0
  9. package/lib/component/transaction-line-interbranch-receive-goods/style/_layout.scss +78 -78
  10. package/lib/component/transaction-line-interbranch-receive-goods/style/_material-definition.scss +2 -2
  11. package/lib/component/transaction-line-interbranch-receive-goods/style/_theme.scss +4 -4
  12. package/lib/component/transaction-line-interbranch-receive-goods/style/material.scss +4 -4
  13. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_layout.scss +27 -27
  14. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_material-definition.scss +1 -1
  15. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_theme.scss +4 -4
  16. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/material.scss +4 -4
  17. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/_layout.scss +73 -73
  18. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/_theme.scss +6 -6
  19. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/material.scss +4 -4
  20. package/package.json +3 -3
package/index.d.ts CHANGED
@@ -1400,6 +1400,7 @@ declare class TransactionConnectorAdapterService {
1400
1400
  getPackageInformation(transactionUUID: string, lineUUID: string): Promise<PackageLSP[]>;
1401
1401
  getLogisticsPartners(): Promise<DeliveryMethod$1[]>;
1402
1402
  loadDocumentsOfTransaction(key: string): Promise<CoDocument[]>;
1403
+ getDocumentsForCurrentUserByTransId(transId: number): Promise<CoDocument[]>;
1403
1404
  loadDocumentContent(docId: number): Promise<string>;
1404
1405
  mergeDocumentOnTransaction(key: string, document: CoDocument): Promise<CoDocument>;
1405
1406
  deleteDocument(documentId: number): Promise<ValidationResult>;
@@ -1901,6 +1902,7 @@ declare class TransactionConnectorService {
1901
1902
  getPlanTransportWeek(startDate: Date, planningId: number): Promise<PlanningTransportWeek[]>;
1902
1903
  updatePlanTransportWeek(planTransportWeek: PlanningTransportWeek): Promise<boolean>;
1903
1904
  loadDocumentsOfTransaction(key: string): Promise<CoDocument[]>;
1905
+ getDocumentsForCurrentUserByTransId(transId: number): Promise<CoDocument[]>;
1904
1906
  loadDocumentContent(docId: number, thumbnail?: boolean): Promise<string>;
1905
1907
  mergeDocumentOnTransaction(key: string, document: CoDocument): Promise<CoDocument>;
1906
1908
  deleteDocument(documentId: number): Promise<ValidationResult>;
@@ -2787,6 +2789,7 @@ declare class TransactionService extends PendingReasonService {
2787
2789
  getTransactionMarginInfo(transactionUUID: string): Promise<TransactionMarginInfo>;
2788
2790
  printSalesOrdersOverview(request: TransactionSearchViewRequest): Promise<PdfTransactionSearchOverviewResponse>;
2789
2791
  loadDocumentsOfTransaction(key: string): Promise<CoDocument[]>;
2792
+ getDocumentsForCurrentUserByTransId(transId: number): Promise<CoDocument[]>;
2790
2793
  loadDocumentContent(docId: number, thumbnail?: boolean): Promise<string>;
2791
2794
  mergeDocumentOnTransaction(key: string, document: CoDocument): Promise<CoDocument>;
2792
2795
  deleteDocument(documentId: number): Promise<ValidationResult>;
@@ -4815,6 +4818,7 @@ declare class TransactionLineComponent implements OnChanges, OnInit, OnDestroy {
4815
4818
 
4816
4819
  declare class OrderLineSetService {
4817
4820
  currentOrderLineSetCode: string;
4821
+ currentCompositionId: number;
4818
4822
  static ɵfac: i0.ɵɵFactoryDeclaration<OrderLineSetService, never>;
4819
4823
  static ɵprov: i0.ɵɵInjectableDeclaration<OrderLineSetService>;
4820
4824
  }
@@ -5027,10 +5031,13 @@ declare class TransactionOverviewLineComponent extends TransactionLineBaseCompon
5027
5031
  constructor(orderLineSetService: OrderLineSetService, transactionHeaderService: TransactionHeaderService, transactionLineService: TransactionLineService, transactionEventService: TransactionEventService, transactionConnectorService: TransactionConnectorService, iconCacheService: IconCacheService, screenConfigService: TransactionScreenConfigurationService, transactionService: TransactionService, imageService: TransactionImageService, dictionaryService: DictionaryService, changeDetector: ChangeDetectorRef);
5028
5032
  ngOnInit(): void;
5029
5033
  ngOnDestroy(): void;
5034
+ canShowCheckbox(): boolean;
5035
+ checkboxValue(): boolean;
5030
5036
  handleCheckBoxValueChanged(value: boolean): void;
5031
5037
  handleServiceExistingOrderNavigation(ref: TransactionRefTransaction): void;
5032
5038
  onDescriptionDblClick(): void;
5033
5039
  openForm(): Promise<void>;
5040
+ protected readonly isNaN: typeof isNaN;
5034
5041
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionOverviewLineComponent, never>;
5035
5042
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionOverviewLineComponent, "co-transaction-overview-line", never, { "lineIndex": { "alias": "lineIndex"; "required": false; }; }, { "descriptionDblClick": "descriptionDblClick"; }, never, never, false, never>;
5036
5043
  }
@@ -6484,6 +6491,8 @@ declare class RelationAddressesModule {
6484
6491
  declare class DropShipmentComponent implements OnInit {
6485
6492
  iconCacheService: IconCacheService;
6486
6493
  transactionService: TransactionService;
6494
+ transactionEventService: TransactionEventService;
6495
+ changeDetection: ChangeDetectorRef;
6487
6496
  private _dialogService;
6488
6497
  showClass(): boolean;
6489
6498
  transUuid: string;
@@ -6495,15 +6504,18 @@ declare class DropShipmentComponent implements OnInit {
6495
6504
  showDisconnectButton: boolean;
6496
6505
  editMode: boolean;
6497
6506
  readonly icons: typeof Icon;
6498
- constructor(iconCacheService: IconCacheService, transactionService: TransactionService, _dialogService: TransactionDialogService);
6507
+ constructor(iconCacheService: IconCacheService, transactionService: TransactionService, transactionEventService: TransactionEventService, changeDetection: ChangeDetectorRef, _dialogService: TransactionDialogService);
6499
6508
  ngOnInit(): void;
6509
+ handleShowDropShipmentDialog(): void;
6500
6510
  saveDropShipment(): void;
6501
6511
  closeDropShipment(): void;
6502
6512
  handleSearch(searchTerm: string): void;
6513
+ setExistingAddressIfExists(): void;
6503
6514
  selectAddress(selectedAddress: DropshipmentInfo): void;
6504
6515
  removeDropShipment(): void;
6505
6516
  addNewAddress(): void;
6506
6517
  cancelAddingNewAddress(): void;
6518
+ protected detectChanges(): void;
6507
6519
  private _objectContainsTerm;
6508
6520
  private _getAddresses;
6509
6521
  static ɵfac: i0.ɵɵFactoryDeclaration<DropShipmentComponent, never>;
@@ -8053,7 +8065,6 @@ declare class TransactionMarginInfoLineComponent extends TransactionLineBaseComp
8053
8065
  statusBarConfigNames: StatusBarCfgNames;
8054
8066
  discountConfigNames: LineDiscountCfgNames;
8055
8067
  constructor(orderLineSetService: OrderLineSetService, transactionHeaderService: TransactionHeaderService, transactionLineService: TransactionLineService, transactionEventService: TransactionEventService, iconCacheService: IconCacheService, screenConfigService: TransactionScreenConfigurationService, imageService: TransactionImageService, dictionaryService: DictionaryService, transactionService: TransactionService, changeDetector: ChangeDetectorRef);
8056
- handleCheckBoxValueChanged(value: boolean): void;
8057
8068
  onDescriptionDblClick(): void;
8058
8069
  protected transactionInfoSet(): void;
8059
8070
  protected visibilitySet(): void;
@@ -8687,7 +8698,6 @@ declare class TransactionCustomerPortalLineComponent extends TransactionLineBase
8687
8698
  statusBarConfigNames: StatusBarCfgNames;
8688
8699
  discountConfigNames: LineDiscountCfgNames;
8689
8700
  constructor(orderLineSetService: OrderLineSetService, transactionHeaderService: TransactionHeaderService, transactionLineService: TransactionLineService, transactionEventService: TransactionEventService, iconCacheService: IconCacheService, screenConfigService: TransactionScreenConfigurationService, imageService: TransactionImageService, dictionaryService: DictionaryService, transactionService: TransactionService, changeDetector: ChangeDetectorRef);
8690
- handleCheckBoxValueChanged(value: boolean): void;
8691
8701
  onDescriptionDblClick(): void;
8692
8702
  getWeekNumber(dateInput: Date | string | null | undefined): string;
8693
8703
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionCustomerPortalLineComponent, never>;
@@ -9496,9 +9506,12 @@ declare class TransactionSalesOrderQuotationLineComponent extends TransactionLin
9496
9506
  showClass(): boolean;
9497
9507
  constructor(orderLineSetService: OrderLineSetService, transactionHeaderService: TransactionHeaderService, transactionLineService: TransactionLineService, transactionEventService: TransactionEventService, iconCacheService: IconCacheService, screenConfigService: TransactionScreenConfigurationService, imageService: TransactionImageService, dictionaryService: DictionaryService, transactionService: TransactionService, changeDetector: ChangeDetectorRef);
9498
9508
  ngOnInit(): Promise<void>;
9509
+ canShowCheckbox(): boolean;
9510
+ checkboxValue(): boolean;
9499
9511
  handleCheckBoxValueChanged(value: boolean): void;
9500
9512
  discountConfigNames: LineDiscountCfgNames;
9501
9513
  protected readonly TransactionTypeCategory: typeof TransactionTypeCategory;
9514
+ protected readonly isNaN: typeof isNaN;
9502
9515
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionSalesOrderQuotationLineComponent, never>;
9503
9516
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionSalesOrderQuotationLineComponent, "co-transaction-sales-order-quotation-line", never, { "lineIndex": { "alias": "lineIndex"; "required": false; }; }, {}, never, never, false, never>;
9504
9517
  }
@@ -10026,7 +10039,7 @@ declare class TransactionSalesOverviewButtonBarButtonComponent extends Transacti
10026
10039
  showCategories: boolean;
10027
10040
  constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
10028
10041
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
10029
- currentTitle(): "OVERVIEW" | "MARGINS";
10042
+ currentTitle(): "MARGINS" | "OVERVIEW";
10030
10043
  ngOnDestroy(): void;
10031
10044
  handleClickWrapper(event: MouseEvent): void;
10032
10045
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
@@ -10052,7 +10065,7 @@ declare class TransactionPurchaseOverviewButtonBarButtonComponent extends Transa
10052
10065
  constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _transactionService: TransactionService, _elementRef: ElementRef);
10053
10066
  ngOnDestroy(): void;
10054
10067
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
10055
- currentTitle(): "OVERVIEW" | "MARGINS";
10068
+ currentTitle(): "MARGINS" | "OVERVIEW";
10056
10069
  handleClickWrapper(event: MouseEvent): void;
10057
10070
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): Promise<void>;
10058
10071
  private handleDocumentClick;
@@ -10104,7 +10117,7 @@ declare class TransactionSalesQuotationButtonBarButtonComponent extends Transact
10104
10117
  showCategories: boolean;
10105
10118
  constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
10106
10119
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
10107
- currentTitle(): "OVERVIEW" | "MARGINS";
10120
+ currentTitle(): "MARGINS" | "OVERVIEW";
10108
10121
  ngOnDestroy(): void;
10109
10122
  handleClickWrapper(event: MouseEvent): void;
10110
10123
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
@@ -12109,6 +12122,11 @@ declare class TransactionSalesOrderFilterContentOrderComponent extends Transacti
12109
12122
  text: any;
12110
12123
  value: any;
12111
12124
  };
12125
+ searchTypes: FilterItemViewmodel[];
12126
+ searchTypeFields: {
12127
+ text: any;
12128
+ value: any;
12129
+ };
12112
12130
  handleCollectionChange(): void;
12113
12131
  constructor(searchService: TransactionSearchService, filterRequestService: FilterRequestService, transactionService: TransactionService, changeDetector: ChangeDetectorRef, relationService: TransactionRelationService, transationConnectorService: TransactionConnectorService, transactionFilterContentService: TransactionFilterContentService);
12114
12132
  loadCustomers: (nameFilter: string) => Promise<FilterItemViewmodel[]>;
@@ -12129,6 +12147,7 @@ declare class TransactionSalesOrderFilterContentOrderComponent extends Transacti
12129
12147
  private _setWorkFlowStatusNames;
12130
12148
  private _setAllProjectCodes;
12131
12149
  private _setWithOrWithoutLines;
12150
+ private _setSearchTypes;
12132
12151
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionSalesOrderFilterContentOrderComponent, never>;
12133
12152
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionSalesOrderFilterContentOrderComponent, "co-transaction-sales-order-filter-content-order", never, {}, {}, never, never, false, never>;
12134
12153
  }
@@ -12385,6 +12404,11 @@ declare class TransactionInterBranchOrderFilterContentOrderComponent extends Tra
12385
12404
  text: any;
12386
12405
  value: any;
12387
12406
  };
12407
+ searchTypes: FilterItemViewmodel[];
12408
+ searchTypeFields: {
12409
+ text: any;
12410
+ value: any;
12411
+ };
12388
12412
  handleCollectionChange(): void;
12389
12413
  loadCustomers: (nameFilter: string) => Promise<FilterItemViewmodel[]>;
12390
12414
  protected loadCollections(): void;
@@ -12403,6 +12427,7 @@ declare class TransactionInterBranchOrderFilterContentOrderComponent extends Tra
12403
12427
  private _setTransactionKinds;
12404
12428
  private _setWorkFlowStatusNames;
12405
12429
  private _setAllProjectCodes;
12430
+ private _setSearchTypes;
12406
12431
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionInterBranchOrderFilterContentOrderComponent, never>;
12407
12432
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionInterBranchOrderFilterContentOrderComponent, "co-transaction-inter-branch-order-filter-content-order", never, {}, {}, never, never, false, never>;
12408
12433
  }
@@ -12600,6 +12625,11 @@ declare class TransactionPurchaseOrderFilterContentOrderComponent extends Transa
12600
12625
  text: any;
12601
12626
  value: any;
12602
12627
  };
12628
+ searchTypes: FilterItemViewmodel[];
12629
+ searchTypeFields: {
12630
+ text: any;
12631
+ value: any;
12632
+ };
12603
12633
  transStartDate: Date;
12604
12634
  transEndDate: Date;
12605
12635
  deliveryStartDate: Date;
@@ -12618,6 +12648,7 @@ declare class TransactionPurchaseOrderFilterContentOrderComponent extends Transa
12618
12648
  private _setAllProjectCodes;
12619
12649
  private _setSuppliers;
12620
12650
  private _setWithOrWithoutLines;
12651
+ private _setSearchTypes;
12621
12652
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionPurchaseOrderFilterContentOrderComponent, never>;
12622
12653
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionPurchaseOrderFilterContentOrderComponent, "co-transaction-purchase-order-filter-content-order", never, {}, {}, never, never, false, never>;
12623
12654
  }
@@ -12787,6 +12818,11 @@ declare class TransactionSalesQuotationFilterContentOrderComponent extends Trans
12787
12818
  text: any;
12788
12819
  value: any;
12789
12820
  };
12821
+ searchTypes: FilterItemViewmodel[];
12822
+ searchTypeFields: {
12823
+ text: any;
12824
+ value: any;
12825
+ };
12790
12826
  loadCustomers: (nameFilter: string) => Promise<FilterItemViewmodel[]>;
12791
12827
  protected loadCollections(): void;
12792
12828
  private _setSalesPersons;
@@ -12801,6 +12837,7 @@ declare class TransactionSalesQuotationFilterContentOrderComponent extends Trans
12801
12837
  private _setRetailStadiums;
12802
12838
  private _setIsQuotationProcessedToSales;
12803
12839
  private _setAllProjectCodes;
12840
+ private _setSearchTypes;
12804
12841
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionSalesQuotationFilterContentOrderComponent, never>;
12805
12842
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionSalesQuotationFilterContentOrderComponent, "co-transaction-sales-quotation-filter-content-order", never, {}, {}, never, never, false, never>;
12806
12843
  }
@@ -13061,6 +13098,11 @@ declare class TransactionCashDeskFilterContentOrderComponent extends Transaction
13061
13098
  text: any;
13062
13099
  value: any;
13063
13100
  };
13101
+ searchTypes: FilterItemViewmodel[];
13102
+ searchTypeFields: {
13103
+ text: any;
13104
+ value: any;
13105
+ };
13064
13106
  handleCollectionChange(): void;
13065
13107
  loadCustomers: (nameFilter: string) => Promise<FilterItemViewmodel[]>;
13066
13108
  protected loadCollections(): void;
@@ -13076,6 +13118,7 @@ declare class TransactionCashDeskFilterContentOrderComponent extends Transaction
13076
13118
  private _setOrderActive;
13077
13119
  private _setCustomerGroups;
13078
13120
  private _setWorkFlowStatusNames;
13121
+ private _setSearchTypes;
13079
13122
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionCashDeskFilterContentOrderComponent, never>;
13080
13123
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionCashDeskFilterContentOrderComponent, "co-transaction-cash-desk-filter-content-order", never, {}, {}, never, never, false, never>;
13081
13124
  }
@@ -13174,6 +13217,11 @@ declare class TransactionServiceOrderFilterContentOrderComponent extends Transac
13174
13217
  text: any;
13175
13218
  value: any;
13176
13219
  };
13220
+ searchTypes: FilterItemViewmodel[];
13221
+ searchTypeFields: {
13222
+ text: any;
13223
+ value: any;
13224
+ };
13177
13225
  handleCollectionChange(): void;
13178
13226
  loadCustomers: (nameFilter: string) => Promise<FilterItemViewmodel[]>;
13179
13227
  protected loadCollections(): void;
@@ -13191,6 +13239,7 @@ declare class TransactionServiceOrderFilterContentOrderComponent extends Transac
13191
13239
  private _setWorkFlowStatusNames;
13192
13240
  private _setSLAProducts;
13193
13241
  private _setAllProjectCodes;
13242
+ private _setSearchTypes;
13194
13243
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionServiceOrderFilterContentOrderComponent, never>;
13195
13244
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionServiceOrderFilterContentOrderComponent, "co-transaction-service-order-filter-content-order", never, {}, {}, never, never, false, never>;
13196
13245
  }
@@ -14038,6 +14087,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
14038
14087
  iconCacheService: IconCacheService;
14039
14088
  service: TransactionService;
14040
14089
  deliveryPlanningService: DeliveryPlanningService;
14090
+ transactionHeaderService: TransactionHeaderService;
14041
14091
  private _transactionConnectorService;
14042
14092
  private _transactionEventService;
14043
14093
  private _screenConfigurationService;
@@ -14045,7 +14095,6 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
14045
14095
  private _purchaseConfirmationService;
14046
14096
  private _transactionBaseService;
14047
14097
  private _changeDetector;
14048
- transactionHeaderService: TransactionHeaderService;
14049
14098
  private _overlayService;
14050
14099
  private _lineSelection;
14051
14100
  readonly categories: typeof TransactionTypeCategory;
@@ -14123,7 +14172,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
14123
14172
  private _salesPersonInputComponentRef;
14124
14173
  private _salesPersonAvatarComponentRef;
14125
14174
  private _containerForFillMode;
14126
- constructor(iconCacheService: IconCacheService, service: TransactionService, deliveryPlanningService: DeliveryPlanningService, _transactionConnectorService: TransactionConnectorService, _transactionEventService: TransactionEventService, _screenConfigurationService: TransactionScreenConfigurationService, _dialogService: TransactionDialogService, _purchaseConfirmationService: PurchaseConfirmationService, _transactionBaseService: TransactionBaseService, _changeDetector: ChangeDetectorRef, transactionHeaderService: TransactionHeaderService, _overlayService: OverlayService, _lineSelection: LineSelectionService);
14175
+ constructor(iconCacheService: IconCacheService, service: TransactionService, deliveryPlanningService: DeliveryPlanningService, transactionHeaderService: TransactionHeaderService, _transactionConnectorService: TransactionConnectorService, _transactionEventService: TransactionEventService, _screenConfigurationService: TransactionScreenConfigurationService, _dialogService: TransactionDialogService, _purchaseConfirmationService: PurchaseConfirmationService, _transactionBaseService: TransactionBaseService, _changeDetector: ChangeDetectorRef, _overlayService: OverlayService, _lineSelection: LineSelectionService);
14127
14176
  ngOnInit(): Promise<void>;
14128
14177
  ngOnDestroy(): void;
14129
14178
  handleButtonBarButtonClicked(button: TransactionBarButton): Promise<void>;
@@ -16748,9 +16797,29 @@ declare class TransactionLineConversionAssistantModule {
16748
16797
  static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineConversionAssistantModule>;
16749
16798
  }
16750
16799
 
16800
+ declare class TransactionDocumentsCustomerPortalComponent implements OnInit {
16801
+ private _transactionService;
16802
+ set transactionId(id: number);
16803
+ showClass(): boolean;
16804
+ documents: CoDocument[];
16805
+ documentsForCurrentUser: CoDocument[];
16806
+ private _transactionId;
16807
+ constructor(_transactionService: TransactionService);
16808
+ ngOnInit(): void;
16809
+ private _loadDocuments;
16810
+ static ɵfac: i0.ɵɵFactoryDeclaration<TransactionDocumentsCustomerPortalComponent, never>;
16811
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionDocumentsCustomerPortalComponent, "co-transaction-documents-customer-portal", never, { "transactionId": { "alias": "transactionId"; "required": false; }; }, {}, never, never, false, never>;
16812
+ }
16813
+
16814
+ declare class TransactionDocumentsCustomerPortalModule {
16815
+ static ɵfac: i0.ɵɵFactoryDeclaration<TransactionDocumentsCustomerPortalModule, never>;
16816
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionDocumentsCustomerPortalModule, [typeof TransactionDocumentsCustomerPortalComponent], [typeof i2.CommonModule, typeof CoreModule, typeof PipeModule, typeof i6.FilesUploadModule], [typeof TransactionDocumentsCustomerPortalComponent]>;
16817
+ static ɵinj: i0.ɵɵInjectorDeclaration<TransactionDocumentsCustomerPortalModule>;
16818
+ }
16819
+
16751
16820
  declare class TransactionInternalModule {
16752
16821
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionInternalModule, never>;
16753
- static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionInternalModule, [typeof TransactionInternalComponent, typeof TransactionSalesReservationPopupComponent], [typeof i2.CommonModule, typeof TransactionHeaderModule, typeof TransactionQuickAccessModule, typeof TransactionButtonBarModule, typeof AvatarModule, typeof i3.ViewModeButtonsModule, typeof TransactionCardModule, typeof TransactionLinesModule, typeof AddProductModule, typeof TransactionTotalsModule, typeof TransactionLineSidePanelModule, typeof TransactionArticleTextOverviewModule, typeof TransactionArticleTextModule, typeof PipeModule, typeof TransactionCopyOrderModule, typeof i13.DragDropModule, typeof TransactionLinesSidePanelModule, typeof i3.ButtonModule, typeof i3.IconModule, typeof TransactionButtonModule, typeof i3.ScreenConfigurationModule, typeof TransactionServiceOverviewModule, typeof TransactionCardsModule, typeof TransactionMarginModule, typeof ClickBlockModule, typeof DialogTransactionLineWarehouseCcModule, typeof DialogTransactionHeaderBranchModule, typeof DialogBranchModule, typeof TransactionPurchaseReservationOrderTileModule, typeof i3.CoDialogModule, typeof i6.StockModule, typeof TransactionArticleStockModule, typeof TransactionOrderTileModule, typeof TransactionHeaderCustomerPortalModule, typeof TransactionSalesPersonInputModule, typeof TransactionHeaderSalesPersonModule, typeof i3.ClickoutsideModule, typeof i3.OverlayModule, typeof TransactionHeaderHandledByModule, typeof i6.FormBuilderUserFormModule, typeof DeliveryPlanningOverviewModule, typeof TransactionLineActivitiesModule, typeof TransactionLineConversionAssistantModule], [typeof TransactionInternalComponent, typeof TransactionSalesReservationPopupComponent]>;
16822
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionInternalModule, [typeof TransactionInternalComponent, typeof TransactionSalesReservationPopupComponent], [typeof i2.CommonModule, typeof TransactionHeaderModule, typeof TransactionQuickAccessModule, typeof TransactionButtonBarModule, typeof AvatarModule, typeof i3.ViewModeButtonsModule, typeof TransactionCardModule, typeof TransactionLinesModule, typeof AddProductModule, typeof TransactionTotalsModule, typeof TransactionLineSidePanelModule, typeof TransactionArticleTextOverviewModule, typeof TransactionArticleTextModule, typeof PipeModule, typeof TransactionCopyOrderModule, typeof i13.DragDropModule, typeof TransactionLinesSidePanelModule, typeof i3.ButtonModule, typeof i3.IconModule, typeof TransactionButtonModule, typeof i3.ScreenConfigurationModule, typeof TransactionServiceOverviewModule, typeof TransactionCardsModule, typeof TransactionMarginModule, typeof ClickBlockModule, typeof DialogTransactionLineWarehouseCcModule, typeof DialogTransactionHeaderBranchModule, typeof DialogBranchModule, typeof TransactionPurchaseReservationOrderTileModule, typeof i3.CoDialogModule, typeof i6.StockModule, typeof TransactionArticleStockModule, typeof TransactionOrderTileModule, typeof TransactionHeaderCustomerPortalModule, typeof TransactionSalesPersonInputModule, typeof TransactionHeaderSalesPersonModule, typeof i3.ClickoutsideModule, typeof i3.OverlayModule, typeof TransactionHeaderHandledByModule, typeof i6.FormBuilderUserFormModule, typeof DeliveryPlanningOverviewModule, typeof TransactionLineActivitiesModule, typeof TransactionLineConversionAssistantModule, typeof TransactionDocumentsCustomerPortalModule], [typeof TransactionInternalComponent, typeof TransactionSalesReservationPopupComponent]>;
16754
16823
  static ɵinj: i0.ɵɵInjectorDeclaration<TransactionInternalModule>;
16755
16824
  }
16756
16825
 
@@ -0,0 +1,16 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('co-transaction-documents-layout') {
4
+ .co-transaction-documents-customer-portal {
5
+ display: block;
6
+ margin: 20px 0;
7
+ padding: 20px;
8
+ border-radius: 4px;
9
+ box-shadow: 0px 2px 0px 0px rgba(234, 234, 234, 0.7);
10
+ background-color: #FFFFFF;
11
+
12
+ h2, p {
13
+ margin-bottom: 10px;
14
+ }
15
+ }
16
+ }
@@ -0,0 +1,6 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('co-transaction-documents-theme') {
4
+ .co-transaction-documents-customer-portal {
5
+ }
6
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/variables";
2
+ @import "./material-definition";
3
+ @import "./layout";
4
+ @import "./theme";
@@ -13,6 +13,7 @@
13
13
  @import "../../dialog/transaction-header/dialog-transaction-header-branch/style/material";
14
14
  @import "../../transaction-labeled-warehouse-location-button/style/material";
15
15
  @import "../../transaction-header/transaction-header-customer-portal/style/material";
16
+ @import "../../transaction-documents-customer-portal/style/material";
16
17
  @import "../../transaction-line-checkbox-list/style/material";
17
18
  @import "../../transaction-card/transaction-card/style/material";
18
19
  //@import "../../transaction-document-button/style/material";
@@ -1,78 +1,78 @@
1
- @include export-module('co-transaction-line-interbranch-receive-goods-layout') {
2
- .co-transaction-line-interbranch-receive-goods {
3
- .columns-wrapper {
4
- display: flex;
5
- }
6
-
7
- .co-input-number-picker {
8
- width: 140px;
9
- }
10
-
11
- .details-column {
12
- width: 45%;
13
- display: flex;
14
- flex-direction: column;
15
-
16
- .transaction-line-totals-amount {
17
- margin: 5px;
18
- }
19
-
20
- //.amount-number-picker {
21
- // height: 40px;
22
- // margin: 5px;
23
- //}
24
- }
25
-
26
- .header-wrapper {
27
- display: flex;
28
- align-items: center;
29
- justify-content: space-between;
30
- margin: $tp-co-transaction-line-receive-goods-title-margin;
31
-
32
- .details-header {
33
- font-size: $tp-co-transaction-line-receive-goods-title-font-size;
34
- font-weight: bold;
35
- }
36
- }
37
-
38
- .divider-wrapper {
39
- display: flex;
40
- width: 10%;
41
- justify-content: center;
42
- visibility: hidden;
43
-
44
- .divider {
45
- border-left: 1px solid;
46
- border-color: $tp-color-border;
47
- margin: 5px; // $tp-co-transaction-request-details-input-margin;
48
- }
49
- }
50
-
51
- .details-input {
52
- margin: 5px; // $tp-co-transaction-request-details-input-margin;
53
- }
54
-
55
- .location-wrapper {
56
- position: relative;
57
-
58
- .co-transaction-button {
59
- width: auto;
60
- margin: 5px;
61
- }
62
- }
63
- .disabled {
64
- cursor: default;
65
- opacity: 0.6;
66
- }
67
- .clickable {
68
- cursor: pointer;
69
- }
70
-
71
- .warehouse-buttons {
72
- width: 100%;
73
- .co-transaction-button {
74
- width: 100%;
75
- }
76
- }
77
- }
78
- }
1
+ @include export-module('co-transaction-line-interbranch-receive-goods-layout') {
2
+ .co-transaction-line-interbranch-receive-goods {
3
+ .columns-wrapper {
4
+ display: flex;
5
+ }
6
+
7
+ .co-input-number-picker {
8
+ width: 140px;
9
+ }
10
+
11
+ .details-column {
12
+ width: 45%;
13
+ display: flex;
14
+ flex-direction: column;
15
+
16
+ .transaction-line-totals-amount {
17
+ margin: 5px;
18
+ }
19
+
20
+ //.amount-number-picker {
21
+ // height: 40px;
22
+ // margin: 5px;
23
+ //}
24
+ }
25
+
26
+ .header-wrapper {
27
+ display: flex;
28
+ align-items: center;
29
+ justify-content: space-between;
30
+ margin: $tp-co-transaction-line-receive-goods-title-margin;
31
+
32
+ .details-header {
33
+ font-size: $tp-co-transaction-line-receive-goods-title-font-size;
34
+ font-weight: bold;
35
+ }
36
+ }
37
+
38
+ .divider-wrapper {
39
+ display: flex;
40
+ width: 10%;
41
+ justify-content: center;
42
+ visibility: hidden;
43
+
44
+ .divider {
45
+ border-left: 1px solid;
46
+ border-color: $tp-color-border;
47
+ margin: 5px; // $tp-co-transaction-request-details-input-margin;
48
+ }
49
+ }
50
+
51
+ .details-input {
52
+ margin: 5px; // $tp-co-transaction-request-details-input-margin;
53
+ }
54
+
55
+ .location-wrapper {
56
+ position: relative;
57
+
58
+ .co-transaction-button {
59
+ width: auto;
60
+ margin: 5px;
61
+ }
62
+ }
63
+ .disabled {
64
+ cursor: default;
65
+ opacity: 0.6;
66
+ }
67
+ .clickable {
68
+ cursor: pointer;
69
+ }
70
+
71
+ .warehouse-buttons {
72
+ width: 100%;
73
+ .co-transaction-button {
74
+ width: 100%;
75
+ }
76
+ }
77
+ }
78
+ }
@@ -1,2 +1,2 @@
1
- $tp-co-transaction-line-receive-goods-title-font-size: 12px !default;
2
- $tp-co-transaction-line-receive-goods-title-margin: 0 0 10px 5px !default;
1
+ $tp-co-transaction-line-receive-goods-title-font-size: 12px !default;
2
+ $tp-co-transaction-line-receive-goods-title-margin: 0 0 10px 5px !default;
@@ -1,4 +1,4 @@
1
- @include export-module('co-transaction-line-interbranch-receive-goods-theme') {
2
- .co-transaction-line-interbranch-receive-goods {
3
- }
4
- }
1
+ @include export-module('co-transaction-line-interbranch-receive-goods-theme') {
2
+ .co-transaction-line-interbranch-receive-goods {
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,27 +1,27 @@
1
- @use "sass:math";
2
- @import "../../../../style/mixin";
3
-
4
- @include export-module('co-transaction-quick-access-interbranch-order-purchase-layout') {
5
- .co-transaction-quick-access-interbranch-order-purchase {
6
- .select-all-wrapper {
7
- display: flex;
8
- align-items: center;
9
- }
10
- .button {
11
- padding: 0.25em;
12
- background-color: white;
13
- border: 1px solid $tp-transaction-quick-access-planning-lsp-mode-button;
14
- cursor: pointer;
15
- co-icon {
16
- fill: $tp-transaction-quick-access-planning-lsp-mode-button;
17
- }
18
- &.selected {
19
- background-color: $tp-transaction-quick-access-planning-lsp-mode-button;
20
- co-icon {
21
- fill: white;
22
- }
23
- }
24
- }
25
-
26
- }
27
- }
1
+ @use "sass:math";
2
+ @import "../../../../style/mixin";
3
+
4
+ @include export-module('co-transaction-quick-access-interbranch-order-purchase-layout') {
5
+ .co-transaction-quick-access-interbranch-order-purchase {
6
+ .select-all-wrapper {
7
+ display: flex;
8
+ align-items: center;
9
+ }
10
+ .button {
11
+ padding: 0.25em;
12
+ background-color: white;
13
+ border: 1px solid $tp-transaction-quick-access-planning-lsp-mode-button;
14
+ cursor: pointer;
15
+ co-icon {
16
+ fill: $tp-transaction-quick-access-planning-lsp-mode-button;
17
+ }
18
+ &.selected {
19
+ background-color: $tp-transaction-quick-access-planning-lsp-mode-button;
20
+ co-icon {
21
+ fill: white;
22
+ }
23
+ }
24
+ }
25
+
26
+ }
27
+ }
@@ -1 +1 @@
1
- $tp-transaction-quick-access-planning-lsp-mode-button: #1A73E8;
1
+ $tp-transaction-quick-access-planning-lsp-mode-button: #1A73E8;
@@ -1,4 +1,4 @@
1
- @include export-module('co-transaction-quick-access-interbranch-order-purchase-theme') {
2
- .co-transaction-quick-access-interbranch-order-purchase {
3
- }
4
- }
1
+ @include export-module('co-transaction-quick-access-interbranch-order-purchase-theme') {
2
+ .co-transaction-quick-access-interbranch-order-purchase {
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";