@colijnit/transaction 262.1.51 → 262.1.53

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 (31) hide show
  1. package/colijnit-transaction-262.1.52.tgz +0 -0
  2. package/fesm2022/colijnit-transaction.mjs +11649 -11356
  3. package/fesm2022/colijnit-transaction.mjs.map +1 -1
  4. package/index.d.ts +53 -11
  5. package/lib/component/core/base/components/transaction-header-contact/style/_layout.scss +65 -65
  6. package/lib/component/core/base/components/transaction-header-contact/style/_material-definition.scss +25 -25
  7. package/lib/component/core/base/components/transaction-header-contact/style/_theme.scss +34 -34
  8. package/lib/component/core/base/components/transaction-header-contact/style/material.scss +4 -4
  9. package/lib/component/core/base/components/voucher-code-pending-reason-dialog/style/_layout.scss +19 -19
  10. package/lib/component/core/base/components/voucher-code-pending-reason-dialog/style/_material-definition.scss +3 -3
  11. package/lib/component/core/base/components/voucher-code-pending-reason-dialog/style/material.scss +4 -4
  12. package/lib/component/returns/return-wizard/form-response/style/_layout.scss +57 -57
  13. package/lib/component/returns/return-wizard/form-response/style/_material-definition.scss +1 -1
  14. package/lib/component/returns/return-wizard/form-response/style/_theme.scss +4 -4
  15. package/lib/component/returns/return-wizard/form-response/style/material.scss +3 -3
  16. package/lib/component/returns/return-wizard/return-lines-wizard/style/_layout.scss +85 -85
  17. package/lib/component/transaction-line-activities/style/_layout.scss +168 -168
  18. package/lib/component/transaction-line-planning-tasks/style/_layout.scss +10 -10
  19. package/lib/component/transaction-line-planning-tasks/style/_theme.scss +4 -4
  20. package/lib/component/transaction-line-planning-tasks/style/material.scss +4 -4
  21. package/lib/component/transaction-line-side-panel/style/_layout.scss +1 -1
  22. package/lib/component/transaction-line-side-panel-service/style/_layout.scss +4 -0
  23. package/lib/component/transaction-line-side-panel-service/style/_material-definition.scss +0 -0
  24. package/lib/component/transaction-line-side-panel-service/style/_theme.scss +4 -0
  25. package/lib/component/transaction-line-side-panel-service/style/material.scss +5 -0
  26. package/lib/component/transaction-quick-access/transaction-quick-access-reserve/style/_layout.scss +19 -19
  27. package/lib/component/transaction-warehouse-batch-amount-grid/style/_layout.scss +27 -0
  28. package/lib/component/transaction-warehouse-batch-amount-grid/style/_material-definition.scss +4 -0
  29. package/lib/component/transaction-warehouse-batch-amount-grid/style/_theme.scss +4 -0
  30. package/lib/component/transaction-warehouse-batch-amount-grid/style/material.scss +4 -0
  31. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -299,6 +299,7 @@ import { PdfHistoricPosReceiptRequest } from '@colijnit/transactionapi/build/mod
299
299
  import { CreatePublicQuoteRequest } from '@colijnit/transactionapi/build/model/create-public-quote-request';
300
300
  import { UpsertTransactionStandardTextRequest } from '@colijnit/transactionapi/build/model/upsert-transaction-standard-text-request';
301
301
  import { ChangeHeaderExtraDocRequest } from '@colijnit/transactionapi/build/model/change-header-extra-doc-request';
302
+ import { AvailableWarehouseStockPerBatch } from '@colijnit/transactionapi/build/model/available-warehouse-stock-per-batch.bo';
302
303
  import { BusinessObjectIDType } from '@colijnit/ioneconnector/build/type/business-object-id-type';
303
304
  import { RelationKind as RelationKind$1 } from '@colijnit/articleapi/build/enum/relation-kind.enum';
304
305
  import { Relation } from '@colijnit/relationapi/build/model/relation.bo';
@@ -1521,6 +1522,7 @@ declare class TransactionConnectorAdapterService {
1521
1522
  createQRCode(width: number, height: number, data: string): Promise<string>;
1522
1523
  roundUp(amount: number, paymentMethodCode: string, showLoader?: boolean): Promise<number>;
1523
1524
  createPublicQuote(request: CreatePublicQuoteRequest): Promise<number>;
1525
+ getAvailableWarehouseStockPerBatchNrByGoodIdAndBranch(goodId: number, branchNr: string): Promise<AvailableWarehouseStockPerBatch[]>;
1524
1526
  getCreatePublicQuoteResponse(request: CreatePublicQuoteRequest): Promise<DataServiceResponseData>;
1525
1527
  private _openPdfContent;
1526
1528
  private _handleLocalPrintFile;
@@ -2005,6 +2007,7 @@ declare class TransactionConnectorService {
2005
2007
  roundUp(amount: number, paymentMethodCode: string, showLoader?: boolean): Promise<number>;
2006
2008
  createPublicQuote(request: CreatePublicQuoteRequest): Promise<number>;
2007
2009
  getCreatePublicQuoteResponse(request: CreatePublicQuoteRequest): Promise<DataServiceResponseData>;
2010
+ getAvailableWarehouseStockPerBatchNrByGoodIdAndBranch(goodId: number, branchNr: string): Promise<AvailableWarehouseStockPerBatch[]>;
2008
2011
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionConnectorService, never>;
2009
2012
  static ɵprov: i0.ɵɵInjectableDeclaration<TransactionConnectorService>;
2010
2013
  }
@@ -2872,6 +2875,7 @@ declare class TransactionService extends PendingReasonService {
2872
2875
  cancelPspTransaction(pspTransactionUuid: string): Promise<boolean>;
2873
2876
  createQRCode(width: number, height: number, data: string): Promise<string>;
2874
2877
  roundUp(amount: number, paymentMethodCode: string, showLoader?: boolean): Promise<number>;
2878
+ getAvailableWarehouseStockPerBatchNrByGoodIdAndBranch(goodId: number, branchNr: string): Promise<AvailableWarehouseStockPerBatch[]>;
2875
2879
  protected _handleBeforeRememberCurrentTransaction(transactionInfoResponse: TransactionInfoResponse): Promise<void>;
2876
2880
  protected _handleAfterRememberCurrentTransaction(): Promise<void>;
2877
2881
  private _checkAndSaveLinesForAIConfirmation;
@@ -4120,6 +4124,7 @@ declare enum TransactionCfgName {
4120
4124
  ProjectCode = "projectCode",
4121
4125
  TransactionType = "transactionType",
4122
4126
  TransTypeField = "transTypeField",
4127
+ RelationOrderDate = "relationOrderDate",
4123
4128
  HeaderPaymentAvatarHeader = "headerPaymentAvatarHeader",
4124
4129
  HeaderPaymentPercentageHeader = "headerPaymentPercentageHeader",
4125
4130
  HeaderPaymentAmountHeader = "headerPaymentAmountHeader",
@@ -4702,6 +4707,7 @@ interface TransactionBarButton {
4702
4707
  }
4703
4708
 
4704
4709
  interface TransactionButtonBarMappingConfig {
4710
+ buttonPlanning: Map<TransactionKind, TransactionTypeCategory>;
4705
4711
  buttonBarButtons: Map<TransactionKind, any[]>;
4706
4712
  }
4707
4713
  interface TransactionFilterMappingConfig {
@@ -4751,6 +4757,7 @@ declare class TransactionMappingService {
4751
4757
  private _handledByDescription;
4752
4758
  constructor(_buttonBarConfig: TransactionButtonBarMappingConfig, _filterConfig: TransactionFilterMappingConfig, _searchConfig: TransactionSearchMappingConfig, _lineConfig: TransactionLineMappingConfig, _cardConfig: TransactionCardMappingConfig, _sidePanelConfig: TransactionSidePanelMappingConfig, _quickAccessConfig: TransactionQuickAccessMappingConfig);
4753
4759
  getHandledByDescription(type: TransactionKind): string;
4760
+ getPlanningRubricForTransactionKind(type: TransactionKind): TransactionTypeCategory;
4754
4761
  getButtonBar(type: TransactionKind): TransactionBarButton[];
4755
4762
  getSidePanelComponent(type: TransactionKind): any;
4756
4763
  getQuickAccessComponent(type: TransactionKind, category: TransactionTypeCategory): any;
@@ -10035,7 +10042,7 @@ declare class TransactionSalesOverviewButtonBarButtonComponent extends Transacti
10035
10042
  showCategories: boolean;
10036
10043
  constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
10037
10044
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
10038
- currentTitle(): "MARGINS" | "OVERVIEW";
10045
+ currentTitle(): "OVERVIEW" | "MARGINS";
10039
10046
  ngOnDestroy(): void;
10040
10047
  handleClickWrapper(event: MouseEvent): void;
10041
10048
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
@@ -10061,7 +10068,7 @@ declare class TransactionPurchaseOverviewButtonBarButtonComponent extends Transa
10061
10068
  constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _transactionService: TransactionService, _elementRef: ElementRef);
10062
10069
  ngOnDestroy(): void;
10063
10070
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
10064
- currentTitle(): "MARGINS" | "OVERVIEW";
10071
+ currentTitle(): "OVERVIEW" | "MARGINS";
10065
10072
  handleClickWrapper(event: MouseEvent): void;
10066
10073
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): Promise<void>;
10067
10074
  private handleDocumentClick;
@@ -10113,7 +10120,7 @@ declare class TransactionSalesQuotationButtonBarButtonComponent extends Transact
10113
10120
  showCategories: boolean;
10114
10121
  constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
10115
10122
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
10116
- currentTitle(): "MARGINS" | "OVERVIEW";
10123
+ currentTitle(): "OVERVIEW" | "MARGINS";
10117
10124
  ngOnDestroy(): void;
10118
10125
  handleClickWrapper(event: MouseEvent): void;
10119
10126
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
@@ -10575,6 +10582,7 @@ declare class TransactionLineSalesAllocationComponent extends TransactionLineBas
10575
10582
  constructor(transactionHeaderService: TransactionHeaderService, transactionLineService: TransactionLineService, transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _formMaster: FormMasterService, _dialogService: TransactionDialogService);
10576
10583
  ngOnInit(): void;
10577
10584
  ngOnDestroy(): void;
10585
+ handleLineClicked(line: AvailableWarehouseStockPerBatch): void;
10578
10586
  submit(): boolean;
10579
10587
  getGoodsAllocationHistory(): Promise<void>;
10580
10588
  handleSaveDetailsEdit(): void;
@@ -10585,9 +10593,31 @@ declare class TransactionLineSalesAllocationComponent extends TransactionLineBas
10585
10593
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineSalesAllocationComponent, "co-transaction-line-sales-allocation", never, {}, {}, never, never, false, never>;
10586
10594
  }
10587
10595
 
10596
+ declare class TransactionWarehouseStockBatchAmountComponent extends TransactionLineBaseComponent {
10597
+ readonly SimpleGridColumnTemplateType: typeof SimpleGridColumnTemplateType;
10598
+ set stockComparisonAmount(amount: number);
10599
+ get stockComparisonAmount(): number;
10600
+ lineClicked: EventEmitter<AvailableWarehouseStockPerBatch>;
10601
+ showClass(): boolean;
10602
+ availableWarehouseStockPerBatchCollection: AvailableWarehouseStockPerBatch[];
10603
+ private _stockComparisonAmount;
10604
+ handleLineClicked(line: any): void;
10605
+ checkWarehouseAndAmount: (row: AvailableWarehouseStockPerBatch) => string[];
10606
+ protected transactionLineSet(): void;
10607
+ private _forceGridRedraw;
10608
+ static ɵfac: i0.ɵɵFactoryDeclaration<TransactionWarehouseStockBatchAmountComponent, never>;
10609
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionWarehouseStockBatchAmountComponent, "co-transaction-warehouse-batch-amount", never, { "stockComparisonAmount": { "alias": "stockComparisonAmount"; "required": false; }; }, { "lineClicked": "lineClicked"; }, never, never, false, never>;
10610
+ }
10611
+
10612
+ declare class TransactionWarehouseStockBatchAmountModule {
10613
+ static ɵfac: i0.ɵɵFactoryDeclaration<TransactionWarehouseStockBatchAmountModule, never>;
10614
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionWarehouseStockBatchAmountModule, [typeof TransactionWarehouseStockBatchAmountComponent], [typeof i3.SimpleGridModule, typeof i2.DatePipe, typeof PipeModule], [typeof TransactionWarehouseStockBatchAmountComponent]>;
10615
+ static ɵinj: i0.ɵɵInjectorDeclaration<TransactionWarehouseStockBatchAmountModule>;
10616
+ }
10617
+
10588
10618
  declare class TransactionLineSalesAllocationModule {
10589
10619
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineSalesAllocationModule, never>;
10590
- static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionLineSalesAllocationModule, [typeof TransactionLineSalesAllocationComponent], [typeof i2.CommonModule, typeof i3.FormModule, typeof PipeModule, typeof i3.InputTextModule, typeof i3.IconModule, typeof TransactionAllocateGoodsHistoryModule, typeof i3.InputNumberPickerModule, typeof TransactionButtonModule, typeof i3.TooltipDirectiveModule, typeof i3.ButtonModule, typeof TransactionLineWarehouseLocationButtonModule, typeof TransactionLineLabelModule], [typeof TransactionLineSalesAllocationComponent]>;
10620
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionLineSalesAllocationModule, [typeof TransactionLineSalesAllocationComponent], [typeof i2.CommonModule, typeof i3.FormModule, typeof PipeModule, typeof i3.InputTextModule, typeof i3.IconModule, typeof TransactionAllocateGoodsHistoryModule, typeof i3.InputNumberPickerModule, typeof TransactionButtonModule, typeof i3.TooltipDirectiveModule, typeof i3.ButtonModule, typeof TransactionLineWarehouseLocationButtonModule, typeof TransactionLineLabelModule, typeof TransactionWarehouseStockBatchAmountModule], [typeof TransactionLineSalesAllocationComponent]>;
10591
10621
  static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineSalesAllocationModule>;
10592
10622
  }
10593
10623
 
@@ -13507,9 +13537,23 @@ declare class TransactionLineSidePanelInternalDeliveryModule {
13507
13537
  static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineSidePanelInternalDeliveryModule>;
13508
13538
  }
13509
13539
 
13540
+ declare class TransactionLineSidePanelServiceComponent extends TransactionLineBaseComponent {
13541
+ readonly categories: typeof TransactionTypeCategory;
13542
+ categoryType: TransactionTypeCategory;
13543
+ showClass(): boolean;
13544
+ static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineSidePanelServiceComponent, never>;
13545
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineSidePanelServiceComponent, "co-transaction-line-side-panel-service", never, { "categoryType": { "alias": "categoryType"; "required": false; }; }, {}, never, never, false, never>;
13546
+ }
13547
+
13548
+ declare class TransactionLineSidePanelServiceModule {
13549
+ static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineSidePanelServiceModule, never>;
13550
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionLineSidePanelServiceModule, [typeof TransactionLineSidePanelServiceComponent], [typeof i2.CommonModule, typeof i3.ButtonModule, typeof PipeModule, typeof i3.IconModule, typeof TransactionLineSidePanelSalesPurchaseModule, typeof TransactionLineSalesAllocationModule, typeof TransactionLineSalesInvoiceModule, typeof TransactionLineSalesDeliveryModule, typeof TransactionLineSidePanelToBePickedModule, typeof TransactionLineSidePanelPickedModule, typeof TransactionLineSidePanelDefaultModule], [typeof TransactionLineSidePanelServiceComponent]>;
13551
+ static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineSidePanelServiceModule>;
13552
+ }
13553
+
13510
13554
  declare class TransactionLineSidePanelModule {
13511
13555
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineSidePanelModule, never>;
13512
- static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionLineSidePanelModule, [typeof TransactionLineSidePanelComponent], [typeof i2.CommonModule, typeof CoreModule, typeof TransactionLineSidePanelDefaultModule, typeof TransactionReceivingGoodsHistoryModule, typeof PipeModule, typeof i3.ButtonModule, typeof TransactionButtonBarModule, typeof i3.PriceDisplayPipeModule, typeof TransactionConfirmationHistoryModule, typeof TransactionLineSidePanelPurchaseModule, typeof TransactionConfirmationHistoryModule, typeof TransactionLineSidePanelSalesModule, typeof TransactionLineSidePanelArticleDetailsModule, typeof TransactionLineSidePanelInternalDeliveryModule], [typeof TransactionLineSidePanelComponent]>;
13556
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionLineSidePanelModule, [typeof TransactionLineSidePanelComponent], [typeof i2.CommonModule, typeof CoreModule, typeof TransactionLineSidePanelDefaultModule, typeof TransactionReceivingGoodsHistoryModule, typeof PipeModule, typeof i3.ButtonModule, typeof TransactionButtonBarModule, typeof i3.PriceDisplayPipeModule, typeof TransactionConfirmationHistoryModule, typeof TransactionLineSidePanelPurchaseModule, typeof TransactionConfirmationHistoryModule, typeof TransactionLineSidePanelSalesModule, typeof TransactionLineSidePanelArticleDetailsModule, typeof TransactionLineSidePanelInternalDeliveryModule, typeof TransactionLineSidePanelServiceModule], [typeof TransactionLineSidePanelComponent]>;
13513
13557
  static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineSidePanelModule>;
13514
13558
  }
13515
13559
 
@@ -13985,6 +14029,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
13985
14029
  private _changeDetector;
13986
14030
  transactionHeaderService: TransactionHeaderService;
13987
14031
  private _overlayService;
14032
+ private _mappingService;
13988
14033
  private _lineSelection;
13989
14034
  readonly categories: typeof TransactionTypeCategory;
13990
14035
  readonly viewModes: typeof ContentViewMode;
@@ -14061,7 +14106,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
14061
14106
  private _salesPersonInputComponentRef;
14062
14107
  private _salesPersonAvatarComponentRef;
14063
14108
  private _containerForFillMode;
14064
- 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);
14109
+ 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, _mappingService: TransactionMappingService, _lineSelection: LineSelectionService);
14065
14110
  ngOnInit(): Promise<void>;
14066
14111
  ngOnDestroy(): void;
14067
14112
  handleButtonBarButtonClicked(button: TransactionBarButton): Promise<void>;
@@ -14113,7 +14158,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
14113
14158
  handleSaveForm(formResponse: FormResponse): Promise<void>;
14114
14159
  private _handleCloseSalesPersonInput;
14115
14160
  private _commitTransactionSalesPerson;
14116
- private _fetchPlanOrderIfNeeded;
14161
+ private _handlePlanOrderAndActiveCategoryIfNeeded;
14117
14162
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionInternalComponent, never>;
14118
14163
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionInternalComponent, "co-transaction-internal", never, { "confirmationAnalysisId": { "alias": "confirmationAnalysisId"; "required": false; }; "posOrderData": { "alias": "posOrderData"; "required": false; }; "transaction": { "alias": "transaction"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showViewModeButtons": { "alias": "showViewModeButtons"; "required": false; }; "transactionPlanning": { "alias": "transactionPlanning"; "required": false; }; "customerPortal": { "alias": "customerPortal"; "required": false; }; "resetActiveRubric": { "alias": "resetActiveRubric"; "required": false; }; "showPresets": { "alias": "showPresets"; "required": false; }; "showQuickAccess": { "alias": "showQuickAccess"; "required": false; }; "showButtonBar": { "alias": "showButtonBar"; "required": false; }; }, { "serviceRequested": "serviceRequested"; }, never, never, false, never>;
14119
14164
  }
@@ -14334,9 +14379,6 @@ declare class TransactionQuickAccessComponent implements OnInit, OnDestroy {
14334
14379
  get transactionKind(): TransactionKind;
14335
14380
  set activeCategory(value: TransactionTypeCategory);
14336
14381
  get activeCategory(): TransactionTypeCategory;
14337
- set planningLines(value: boolean);
14338
- get planningLines(): boolean;
14339
- private _planningLines;
14340
14382
  showClass(): boolean;
14341
14383
  private _activeCategory;
14342
14384
  private _componentRef;
@@ -14349,7 +14391,7 @@ declare class TransactionQuickAccessComponent implements OnInit, OnDestroy {
14349
14391
  ngOnDestroy(): void;
14350
14392
  private _prepareContent;
14351
14393
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionQuickAccessComponent, never>;
14352
- static ɵcmp: i0.ɵɵComponentDeclaration<TransactionQuickAccessComponent, "co-transaction-quick-access", never, { "transactionKind": { "alias": "transactionKind"; "required": false; }; "activeCategory": { "alias": "activeCategory"; "required": false; }; "planningLines": { "alias": "planningLines"; "required": false; }; }, {}, never, never, false, never>;
14394
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionQuickAccessComponent, "co-transaction-quick-access", never, { "transactionKind": { "alias": "transactionKind"; "required": false; }; "activeCategory": { "alias": "activeCategory"; "required": false; }; }, {}, never, never, false, never>;
14353
14395
  }
14354
14396
 
14355
14397
  declare class TransactionQuickAccessOrderConfirmationComponent extends TransactionHeaderBaseComponent implements OnInit, OnDestroy {
@@ -1,65 +1,65 @@
1
- @include export-module('co-transaction-header-contact-layout') {
2
- .co-transaction-header-contact {
3
- display: flex;
4
- align-items: center;
5
- column-gap: var(--co-transaction-header-contact-column-gap);
6
- min-width: 0;
7
-
8
- .transaction-header-contact-value {
9
- flex: 1 1 auto;
10
- min-width: 0;
11
- overflow: hidden;
12
- text-overflow: ellipsis;
13
- white-space: nowrap;
14
- text-decoration: none;
15
- }
16
-
17
- .transaction-header-contact-copy {
18
- display: flex;
19
- align-items: center;
20
- justify-content: center;
21
- flex-shrink: 0;
22
- width: var(--co-transaction-header-contact-copy-hit-size);
23
- height: var(--co-transaction-header-contact-copy-hit-size);
24
- cursor: pointer;
25
- // Always visible, so the option is discoverable without a hovering pointer.
26
- opacity: var(--co-transaction-header-contact-copy-idle-opacity);
27
- transition: var(--co-transaction-header-contact-copy-transition);
28
-
29
- &:hover, &.copied {
30
- opacity: 1;
31
- }
32
-
33
- .co-icon {
34
- width: var(--co-transaction-header-contact-copy-icon-size);
35
- height: var(--co-transaction-header-contact-copy-icon-size);
36
- }
37
- }
38
-
39
- // Deliberately not the screen-mobile mixin: the target has to grow wherever a finger is doing the
40
- // tapping, which is the same condition under which the component renders a mailto: / tel: link.
41
- // A tablet in landscape is wider than the mobile breakpoint and still needs the bigger target.
42
- @media only screen and (max-width: 700px), (hover: none) and (pointer: coarse) {
43
- min-height: var(--co-transaction-header-contact-copy-hit-size-touch);
44
-
45
- .transaction-header-contact-copy {
46
- width: var(--co-transaction-header-contact-copy-hit-size-touch);
47
- height: var(--co-transaction-header-contact-copy-hit-size-touch);
48
- }
49
- }
50
- }
51
-
52
- .transaction-header-contact-clipboard-proxy {
53
- position: fixed;
54
- top: 0;
55
- left: 0;
56
- width: 1px;
57
- height: 1px;
58
- padding: 0;
59
- border-width: 0;
60
- // iOS zooms in on a focused field below 16px, even one it cannot see.
61
- font-size: 16px;
62
- opacity: 0;
63
- pointer-events: none;
64
- }
65
- }
1
+ @include export-module('co-transaction-header-contact-layout') {
2
+ .co-transaction-header-contact {
3
+ display: flex;
4
+ align-items: center;
5
+ column-gap: var(--co-transaction-header-contact-column-gap);
6
+ min-width: 0;
7
+
8
+ .transaction-header-contact-value {
9
+ flex: 1 1 auto;
10
+ min-width: 0;
11
+ overflow: hidden;
12
+ text-overflow: ellipsis;
13
+ white-space: nowrap;
14
+ text-decoration: none;
15
+ }
16
+
17
+ .transaction-header-contact-copy {
18
+ display: flex;
19
+ align-items: center;
20
+ justify-content: center;
21
+ flex-shrink: 0;
22
+ width: var(--co-transaction-header-contact-copy-hit-size);
23
+ height: var(--co-transaction-header-contact-copy-hit-size);
24
+ cursor: pointer;
25
+ // Always visible, so the option is discoverable without a hovering pointer.
26
+ opacity: var(--co-transaction-header-contact-copy-idle-opacity);
27
+ transition: var(--co-transaction-header-contact-copy-transition);
28
+
29
+ &:hover, &.copied {
30
+ opacity: 1;
31
+ }
32
+
33
+ .co-icon {
34
+ width: var(--co-transaction-header-contact-copy-icon-size);
35
+ height: var(--co-transaction-header-contact-copy-icon-size);
36
+ }
37
+ }
38
+
39
+ // Deliberately not the screen-mobile mixin: the target has to grow wherever a finger is doing the
40
+ // tapping, which is the same condition under which the component renders a mailto: / tel: link.
41
+ // A tablet in landscape is wider than the mobile breakpoint and still needs the bigger target.
42
+ @media only screen and (max-width: 700px), (hover: none) and (pointer: coarse) {
43
+ min-height: var(--co-transaction-header-contact-copy-hit-size-touch);
44
+
45
+ .transaction-header-contact-copy {
46
+ width: var(--co-transaction-header-contact-copy-hit-size-touch);
47
+ height: var(--co-transaction-header-contact-copy-hit-size-touch);
48
+ }
49
+ }
50
+ }
51
+
52
+ .transaction-header-contact-clipboard-proxy {
53
+ position: fixed;
54
+ top: 0;
55
+ left: 0;
56
+ width: 1px;
57
+ height: 1px;
58
+ padding: 0;
59
+ border-width: 0;
60
+ // iOS zooms in on a focused field below 16px, even one it cannot see.
61
+ font-size: 16px;
62
+ opacity: 0;
63
+ pointer-events: none;
64
+ }
65
+ }
@@ -1,25 +1,25 @@
1
- $tp-transaction-header-contact-column-gap: 4px !default;
2
- $tp-transaction-header-contact-copy-icon-size: 11px !default;
3
- $tp-transaction-header-contact-copy-hit-size: 16px !default;
4
- // A finger needs a target of its own; on touch the contact row grows to fit it.
5
- $tp-transaction-header-contact-copy-hit-size-touch: 32px !default;
6
- $tp-transaction-header-contact-copy-idle-opacity: 0.45 !default;
7
- $tp-transaction-header-contact-copy-transition: opacity 0.2s !default;
8
-
9
- $tp-transaction-header-contact-copy-color: $tp-color-text-grey !default;
10
- $tp-transaction-header-contact-copy-hover-color: $tp-color-action !default;
11
- $tp-transaction-header-contact-copied-color: $tp-color-active !default;
12
-
13
- @include export-module('co-transaction-header-contact-tokens') {
14
- :root {
15
- --co-transaction-header-contact-column-gap: #{$tp-transaction-header-contact-column-gap};
16
- --co-transaction-header-contact-copy-icon-size: #{$tp-transaction-header-contact-copy-icon-size};
17
- --co-transaction-header-contact-copy-hit-size: #{$tp-transaction-header-contact-copy-hit-size};
18
- --co-transaction-header-contact-copy-hit-size-touch: #{$tp-transaction-header-contact-copy-hit-size-touch};
19
- --co-transaction-header-contact-copy-idle-opacity: #{$tp-transaction-header-contact-copy-idle-opacity};
20
- --co-transaction-header-contact-copy-transition: #{$tp-transaction-header-contact-copy-transition};
21
- --co-transaction-header-contact-copy-color: #{$tp-transaction-header-contact-copy-color};
22
- --co-transaction-header-contact-copy-hover-color: #{$tp-transaction-header-contact-copy-hover-color};
23
- --co-transaction-header-contact-copied-color: #{$tp-transaction-header-contact-copied-color};
24
- }
25
- }
1
+ $tp-transaction-header-contact-column-gap: 4px !default;
2
+ $tp-transaction-header-contact-copy-icon-size: 11px !default;
3
+ $tp-transaction-header-contact-copy-hit-size: 16px !default;
4
+ // A finger needs a target of its own; on touch the contact row grows to fit it.
5
+ $tp-transaction-header-contact-copy-hit-size-touch: 32px !default;
6
+ $tp-transaction-header-contact-copy-idle-opacity: 0.45 !default;
7
+ $tp-transaction-header-contact-copy-transition: opacity 0.2s !default;
8
+
9
+ $tp-transaction-header-contact-copy-color: $tp-color-text-grey !default;
10
+ $tp-transaction-header-contact-copy-hover-color: $tp-color-action !default;
11
+ $tp-transaction-header-contact-copied-color: $tp-color-active !default;
12
+
13
+ @include export-module('co-transaction-header-contact-tokens') {
14
+ :root {
15
+ --co-transaction-header-contact-column-gap: #{$tp-transaction-header-contact-column-gap};
16
+ --co-transaction-header-contact-copy-icon-size: #{$tp-transaction-header-contact-copy-icon-size};
17
+ --co-transaction-header-contact-copy-hit-size: #{$tp-transaction-header-contact-copy-hit-size};
18
+ --co-transaction-header-contact-copy-hit-size-touch: #{$tp-transaction-header-contact-copy-hit-size-touch};
19
+ --co-transaction-header-contact-copy-idle-opacity: #{$tp-transaction-header-contact-copy-idle-opacity};
20
+ --co-transaction-header-contact-copy-transition: #{$tp-transaction-header-contact-copy-transition};
21
+ --co-transaction-header-contact-copy-color: #{$tp-transaction-header-contact-copy-color};
22
+ --co-transaction-header-contact-copy-hover-color: #{$tp-transaction-header-contact-copy-hover-color};
23
+ --co-transaction-header-contact-copied-color: #{$tp-transaction-header-contact-copied-color};
24
+ }
25
+ }
@@ -1,34 +1,34 @@
1
- @include export-module('co-transaction-header-contact-theme') {
2
- .co-transaction-header-contact {
3
- .transaction-header-contact-value {
4
- color: inherit;
5
- }
6
-
7
- .transaction-header-contact-copy {
8
- svg {
9
- fill: var(--co-transaction-header-contact-copy-color);
10
- }
11
- [fill] {
12
- fill: var(--co-transaction-header-contact-copy-color);
13
- }
14
-
15
- &:hover {
16
- svg {
17
- fill: var(--co-transaction-header-contact-copy-hover-color);
18
- }
19
- [fill] {
20
- fill: var(--co-transaction-header-contact-copy-hover-color);
21
- }
22
- }
23
-
24
- &.copied {
25
- svg {
26
- fill: var(--co-transaction-header-contact-copied-color);
27
- }
28
- [fill] {
29
- fill: var(--co-transaction-header-contact-copied-color);
30
- }
31
- }
32
- }
33
- }
34
- }
1
+ @include export-module('co-transaction-header-contact-theme') {
2
+ .co-transaction-header-contact {
3
+ .transaction-header-contact-value {
4
+ color: inherit;
5
+ }
6
+
7
+ .transaction-header-contact-copy {
8
+ svg {
9
+ fill: var(--co-transaction-header-contact-copy-color);
10
+ }
11
+ [fill] {
12
+ fill: var(--co-transaction-header-contact-copy-color);
13
+ }
14
+
15
+ &:hover {
16
+ svg {
17
+ fill: var(--co-transaction-header-contact-copy-hover-color);
18
+ }
19
+ [fill] {
20
+ fill: var(--co-transaction-header-contact-copy-hover-color);
21
+ }
22
+ }
23
+
24
+ &.copied {
25
+ svg {
26
+ fill: var(--co-transaction-header-contact-copied-color);
27
+ }
28
+ [fill] {
29
+ fill: var(--co-transaction-header-contact-copied-color);
30
+ }
31
+ }
32
+ }
33
+ }
34
+ }
@@ -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,19 +1,19 @@
1
- @include export-module('cc-voucher-code-pending-reason-dialog-layout') {
2
- .co-voucher-code-pending-reason-dialog {
3
- co-dialog {
4
- .co-dialog-wrapper {
5
- max-width: $cc-voucher-code-pending-dialog-width;
6
- .co-dialog-header-title-icon {
7
- display: flex;
8
- align-items: center;
9
- gap: $cc-voucher-code-pending-dialog-title-gap;
10
- }
11
- .co-dialog-content {
12
- .co-input-text {
13
- margin: $cc-voucher-code-pending-dialog-co-input-margin;
14
- }
15
- }
16
- }
17
- }
18
- }
19
- }
1
+ @include export-module('cc-voucher-code-pending-reason-dialog-layout') {
2
+ .co-voucher-code-pending-reason-dialog {
3
+ co-dialog {
4
+ .co-dialog-wrapper {
5
+ max-width: $cc-voucher-code-pending-dialog-width;
6
+ .co-dialog-header-title-icon {
7
+ display: flex;
8
+ align-items: center;
9
+ gap: $cc-voucher-code-pending-dialog-title-gap;
10
+ }
11
+ .co-dialog-content {
12
+ .co-input-text {
13
+ margin: $cc-voucher-code-pending-dialog-co-input-margin;
14
+ }
15
+ }
16
+ }
17
+ }
18
+ }
19
+ }
@@ -1,3 +1,3 @@
1
- $cc-voucher-code-pending-dialog-width: 460px !default;
2
- $cc-voucher-code-pending-dialog-title-gap: 10px !default;
3
- $cc-voucher-code-pending-dialog-co-input-margin: 5px 0 15px 0 !default;
1
+ $cc-voucher-code-pending-dialog-width: 460px !default;
2
+ $cc-voucher-code-pending-dialog-title-gap: 10px !default;
3
+ $cc-voucher-code-pending-dialog-co-input-margin: 5px 0 15px 0 !default;
@@ -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,57 +1,57 @@
1
- @include export-module('co-form-response-layout') {
2
- .co-form-response {
3
- font-family: $tp-co-transaction-search-font-family;
4
- font-size: $tp-co-transaction-search-font-size;
5
-
6
- .form-response-contents {
7
- display: flex;
8
- flex-direction: column;
9
- row-gap: 20px;
10
-
11
- .answered-questions {
12
- display: flex;
13
- flex-direction: column;
14
- row-gap: 20px;
15
-
16
- .answered-question-container {
17
- display: flex;
18
- flex-direction: column;
19
- row-gap: 10px;
20
-
21
- .answered-question {
22
- font-weight: bold;
23
- }
24
-
25
- .given-answer-container {
26
- display: flex;
27
- flex-direction: row;
28
- column-gap: 20px;
29
- padding: 20px;
30
- border: 1px solid $tp-color-border;
31
-
32
- .change-answer {
33
- font-style: italic;
34
- color: #1A73E8;
35
- }
36
- }
37
- }
38
- }
39
-
40
- .current-question-container {
41
- display: flex;
42
- flex-direction: column;
43
- row-gap: 20px;
44
-
45
- .current-question {
46
- font-weight: bold;
47
- }
48
-
49
- .current-answers-container {
50
- display: flex;
51
- flex-direction: column;
52
- row-gap: 10px;
53
- }
54
- }
55
- }
56
- }
57
- }
1
+ @include export-module('co-form-response-layout') {
2
+ .co-form-response {
3
+ font-family: $tp-co-transaction-search-font-family;
4
+ font-size: $tp-co-transaction-search-font-size;
5
+
6
+ .form-response-contents {
7
+ display: flex;
8
+ flex-direction: column;
9
+ row-gap: 20px;
10
+
11
+ .answered-questions {
12
+ display: flex;
13
+ flex-direction: column;
14
+ row-gap: 20px;
15
+
16
+ .answered-question-container {
17
+ display: flex;
18
+ flex-direction: column;
19
+ row-gap: 10px;
20
+
21
+ .answered-question {
22
+ font-weight: bold;
23
+ }
24
+
25
+ .given-answer-container {
26
+ display: flex;
27
+ flex-direction: row;
28
+ column-gap: 20px;
29
+ padding: 20px;
30
+ border: 1px solid $tp-color-border;
31
+
32
+ .change-answer {
33
+ font-style: italic;
34
+ color: #1A73E8;
35
+ }
36
+ }
37
+ }
38
+ }
39
+
40
+ .current-question-container {
41
+ display: flex;
42
+ flex-direction: column;
43
+ row-gap: 20px;
44
+
45
+ .current-question {
46
+ font-weight: bold;
47
+ }
48
+
49
+ .current-answers-container {
50
+ display: flex;
51
+ flex-direction: column;
52
+ row-gap: 10px;
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
@@ -1,4 +1,4 @@
1
- @include export-module('co-form-response-theme') {
2
- .co-form-response {
3
- }
4
- }
1
+ @include export-module('co-form-response-theme') {
2
+ .co-form-response {
3
+ }
4
+ }