@colijnit/transaction 300.1.32 → 300.1.34

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 (25) hide show
  1. package/fesm2022/colijnit-transaction.mjs +2003 -1880
  2. package/fesm2022/colijnit-transaction.mjs.map +1 -1
  3. package/index.d.ts +25 -10
  4. package/lib/component/transaction-header/transaction-header/style/_layout.scss +18 -2
  5. package/lib/component/transaction-header/transaction-header/style/_material-definition.scss +9 -0
  6. package/lib/component/transaction-header/transaction-header/style/_theme.scss +15 -0
  7. package/lib/component/transaction-header/transaction-header-delivery/style/_layout.scss +1 -1
  8. package/lib/component/transaction-header/transaction-header-relation/style/_layout.scss +0 -1
  9. package/lib/component/transaction-line/transaction-line/style/_layout.scss +0 -5
  10. package/lib/component/transaction-line-interbranch-receive-goods/style/_layout.scss +78 -78
  11. package/lib/component/transaction-line-interbranch-receive-goods/style/_material-definition.scss +2 -2
  12. package/lib/component/transaction-line-interbranch-receive-goods/style/_theme.scss +4 -4
  13. package/lib/component/transaction-line-interbranch-receive-goods/style/material.scss +4 -4
  14. package/lib/component/transaction-line-side-panel/style/_layout.scss +2 -1
  15. package/lib/component/transaction-line-side-panel/style/_material-definition.scss +2 -0
  16. package/lib/component/transaction-lines/style/_layout.scss +6 -0
  17. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_layout.scss +27 -27
  18. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_material-definition.scss +1 -1
  19. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_theme.scss +4 -4
  20. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/material.scss +4 -4
  21. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/_layout.scss +73 -73
  22. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/_theme.scss +6 -6
  23. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/material.scss +4 -4
  24. package/lib/style/transaction-globals.scss +0 -3
  25. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -336,6 +336,7 @@ import * as i13 from '@angular/cdk/drag-drop';
336
336
  import { CdkDrag, CdkDropList, CdkDragEnter, CdkDragDrop } from '@angular/cdk/drag-drop';
337
337
  import { TransactionLineType } from '@colijnit/transactionapi/build/enum/transaction-line-type.enum';
338
338
  import { TransactionLineMarginInfo } from '@colijnit/transactionapi/build/model/transaction-line-margin-info.bo';
339
+ import { TransactionType } from '@colijnit/transactionapi/build/enum/transaction-type.enum';
339
340
  import { PaymentLineType } from '@colijnit/transactionapi/build/enum/payment-line-type';
340
341
  import * as i4 from '@angular/cdk/scrolling';
341
342
  import { RelationContactLink } from '@colijnit/relationapi/build/model/relation-contact-link.bo';
@@ -960,6 +961,7 @@ declare class TransactionEventService {
960
961
  }>;
961
962
  readonly refreshHistoricReports: Subject<void>;
962
963
  readonly transactionCommitted: BehaviorSubject<boolean>;
964
+ readonly transactionSaved: Subject<void>;
963
965
  readonly transportContainerChosen: BehaviorSubject<Container>;
964
966
  readonly transportTransactionRequestUpdated: BehaviorSubject<SetMultipleTransportNotificationsInContainerOnSelectedLinesRequest>;
965
967
  readonly transportTransactionRemoveRequestUpdated: BehaviorSubject<RemoveTransactionFromContainerRequest>;
@@ -2231,6 +2233,7 @@ declare enum Icon {
2231
2233
  Remark = "remark",
2232
2234
  Resize = "resize",
2233
2235
  Return = "return",
2236
+ SaveDisk = "save_disk",
2234
2237
  ScrewdriverWrenchLight = "screwdriver_wrench_light",
2235
2238
  ScrewdriverWrenchRegular = "screwdriver_wrench_regular",
2236
2239
  ServiceCartRegular = "service_cart_regular",
@@ -2323,6 +2326,7 @@ declare class TransactionBaseService extends BaseModuleService implements OnDest
2323
2326
  currentTransactionDate: Date;
2324
2327
  autoSave: boolean;
2325
2328
  manualSaveParam: boolean;
2329
+ manualSaveOverride: boolean | undefined;
2326
2330
  applicationUser: boolean;
2327
2331
  invoiceAddressSameAsDelivery: boolean;
2328
2332
  afterSalesSystemParam: boolean;
@@ -2332,6 +2336,7 @@ declare class TransactionBaseService extends BaseModuleService implements OnDest
2332
2336
  headerReadonly: boolean;
2333
2337
  transactionDialogOpen: boolean;
2334
2338
  get manualSaveActive(): boolean;
2339
+ get autoSaveToggleAvailable(): boolean;
2335
2340
  set activeRubric(value: TransactionTypeCategory);
2336
2341
  get activeRubric(): TransactionTypeCategory;
2337
2342
  getRelationOnRememberCurrentTransaction: boolean;
@@ -2414,6 +2419,7 @@ declare class TransactionBaseService extends BaseModuleService implements OnDest
2414
2419
  prepareDirectSellInternalParam(): Promise<void>;
2415
2420
  prepareJsPickingListInternalParam(): Promise<void>;
2416
2421
  prepareManualSaveInternalParam(): void;
2422
+ setManualSave(manualSave: boolean): Promise<void>;
2417
2423
  prepareAfterSalesSystemParam(): Promise<void>;
2418
2424
  prepareCanChangeRelationParam(): Promise<void>;
2419
2425
  prepareCanChangeSalesOrderWhenFullyInvoicedParam(): Promise<void>;
@@ -2445,6 +2451,8 @@ declare class TransactionBaseService extends BaseModuleService implements OnDest
2445
2451
  getRefTransactions(transId: number): Promise<RefTransaction[]>;
2446
2452
  getPurchasePortalLines(request: GetPurchasePortalLine): Promise<PurchasePortalLine[]>;
2447
2453
  saveTransactionAndCommit(response?: TransactionInfoResponse, commitTransaction?: boolean): Promise<boolean>;
2454
+ saveTransactionAndCommitIfAutoSave(response: TransactionInfoResponse): Promise<boolean>;
2455
+ saveTransactionAndCommitIfDirty(): Promise<boolean>;
2448
2456
  rememberCurrentTransaction(value: TransactionInfoResponse, fromHeader?: boolean): Promise<void>;
2449
2457
  checkRefTransaction(): Promise<void>;
2450
2458
  refreshCurrentTransaction(): Promise<void>;
@@ -2552,7 +2560,7 @@ declare class TransactionService extends PendingReasonService {
2552
2560
  changeHeaderTransactionType(uuid: string, transactionType: string, saveTransaction: boolean): Promise<boolean>;
2553
2561
  updateHeaderTransactionProjectCode(uuid: string, projectCode: number, saveTransaction: boolean): Promise<boolean>;
2554
2562
  updateHeaderTransactionPaymentCondition(uuid: string, condition: string, saveTransaction: boolean): Promise<boolean>;
2555
- updateHeaderTransactionHanldedBy(uuid: string, handledBy: number, saveTransaction: boolean, lock?: boolean): Promise<boolean>;
2563
+ updateHeaderTransactionHandledBy(uuid: string, handledBy: number, saveTransaction: boolean, lock?: boolean): Promise<boolean>;
2556
2564
  updateHeaderTransactionMarketing(uuid: string, code: string, saveTransaction: boolean): Promise<boolean>;
2557
2565
  updateHeaderTransactionDiscount(uuid: string, type: DiscountType, amount: number, saveTransaction: boolean, reason?: string, code?: string): Promise<boolean>;
2558
2566
  updateHeaderTransactionScoringChance(request: ChangeHeaderScoringChanceRequest, saveTransaction: boolean): Promise<boolean>;
@@ -4791,6 +4799,7 @@ interface TransactionBarButton {
4791
4799
  }
4792
4800
 
4793
4801
  interface TransactionButtonBarMappingConfig {
4802
+ buttonPlanning: Map<TransactionKind, TransactionTypeCategory>;
4794
4803
  buttonBarButtons: Map<TransactionKind, any[]>;
4795
4804
  }
4796
4805
  interface TransactionFilterMappingConfig {
@@ -4840,6 +4849,7 @@ declare class TransactionMappingService {
4840
4849
  private _handledByDescription;
4841
4850
  constructor(_buttonBarConfig: TransactionButtonBarMappingConfig, _filterConfig: TransactionFilterMappingConfig, _searchConfig: TransactionSearchMappingConfig, _lineConfig: TransactionLineMappingConfig, _cardConfig: TransactionCardMappingConfig, _sidePanelConfig: TransactionSidePanelMappingConfig, _quickAccessConfig: TransactionQuickAccessMappingConfig);
4842
4851
  getHandledByDescription(type: TransactionKind): string;
4852
+ getPlanningRubricForTransactionKind(type: TransactionKind): TransactionTypeCategory;
4843
4853
  getButtonBar(type: TransactionKind): TransactionBarButton[];
4844
4854
  getSidePanelComponent(type: TransactionKind): any;
4845
4855
  getQuickAccessComponent(type: TransactionKind, category: TransactionTypeCategory): any;
@@ -5108,6 +5118,7 @@ declare class TransactionOverviewLineComponent extends TransactionLineBaseCompon
5108
5118
  protected dictionaryService: DictionaryService;
5109
5119
  protected changeDetector: ChangeDetectorRef;
5110
5120
  readonly category: typeof TransactionTypeCategory;
5121
+ readonly TransactionType: typeof TransactionType;
5111
5122
  readonly icons: typeof Icon;
5112
5123
  readonly isNaN: typeof isNaN;
5113
5124
  readonly TableName: typeof TableName;
@@ -7858,6 +7869,7 @@ declare class TransactionSearchSalesLineSelectTileComponent extends TransactionS
7858
7869
  iconCacheService: IconCacheService;
7859
7870
  transactionService: TransactionService;
7860
7871
  changeDetector: ChangeDetectorRef;
7872
+ readonly TransactionType: typeof TransactionType;
7861
7873
  showClass(): boolean;
7862
7874
  extendedTransactionSearch: boolean;
7863
7875
  returnWizardLayout: boolean;
@@ -7933,6 +7945,7 @@ declare class TransactionLineTileModule {
7933
7945
  declare class TransactionOrderTileComponent extends TransactionSearchTileBaseComponent {
7934
7946
  iconCacheService: IconCacheService;
7935
7947
  changeDetector: ChangeDetectorRef;
7948
+ readonly TransactionType: typeof TransactionType;
7936
7949
  statusBarConfigNames: StatusBarCfgNames;
7937
7950
  set showAvatar(value: boolean);
7938
7951
  get showAvatar(): boolean;
@@ -14344,6 +14357,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
14344
14357
  private _transactionBaseService;
14345
14358
  private _changeDetector;
14346
14359
  private _overlayService;
14360
+ private _mappingService;
14347
14361
  private _lineSelection;
14348
14362
  readonly categories: typeof TransactionTypeCategory;
14349
14363
  readonly viewModes: typeof ContentViewMode;
@@ -14419,7 +14433,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
14419
14433
  private _salesPersonInputComponentRef;
14420
14434
  private _salesPersonAvatarComponentRef;
14421
14435
  private _containerForFillMode;
14422
- 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);
14436
+ 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, _mappingService: TransactionMappingService, _lineSelection: LineSelectionService);
14423
14437
  ngOnInit(): Promise<void>;
14424
14438
  ngOnDestroy(): void;
14425
14439
  handleButtonBarButtonClicked(button: TransactionBarButton): Promise<void>;
@@ -14474,7 +14488,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
14474
14488
  private _handleCloseSalesPersonInput;
14475
14489
  private _updateUserActionRequired;
14476
14490
  private _commitTransactionSalesPerson;
14477
- private _fetchPlanOrderIfNeeded;
14491
+ private _handlePlanOrderAndActiveCategoryIfNeeded;
14478
14492
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionInternalComponent, never>;
14479
14493
  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>;
14480
14494
  }
@@ -14499,6 +14513,7 @@ declare class TransactionSalesReservationPopupComponent implements OnInit {
14499
14513
 
14500
14514
  declare class TransactionHeaderComponent {
14501
14515
  iconCacheService: IconCacheService;
14516
+ transactionService: TransactionService;
14502
14517
  readonly cfgNames: typeof TransactionCfgName;
14503
14518
  readonly icons: typeof Icon;
14504
14519
  toggleHeader: boolean;
@@ -14511,8 +14526,9 @@ declare class TransactionHeaderComponent {
14511
14526
  isCashOrPurchaseQuotationOrder: boolean;
14512
14527
  isSalesQuotationOrder: boolean;
14513
14528
  private _transaction;
14514
- constructor(iconCacheService: IconCacheService);
14529
+ constructor(iconCacheService: IconCacheService, transactionService: TransactionService);
14515
14530
  expandHeader(): void;
14531
+ toggleAutoSave(): void;
14516
14532
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionHeaderComponent, never>;
14517
14533
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionHeaderComponent, "co-transaction-header", never, { "transaction": { "alias": "transaction"; "required": false; }; }, {}, never, never, false, never>;
14518
14534
  }
@@ -14679,7 +14695,7 @@ declare class TransactionHeaderPaymentModule {
14679
14695
 
14680
14696
  declare class TransactionHeaderModule {
14681
14697
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionHeaderModule, never>;
14682
- static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionHeaderModule, [typeof TransactionHeaderComponent], [typeof i2.CommonModule, typeof CoreModule, typeof TransactionHeaderRelationModule, typeof TransactionHeaderDeliveryModule, typeof TransactionHeaderOrderModule, typeof TransactionHeaderPaymentModule, typeof TransactionHeaderPopupModule, typeof i3.CarouselModule, typeof i3.IconModule, typeof i3.ScreenConfigurationModule], [typeof TransactionHeaderComponent]>;
14698
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionHeaderModule, [typeof TransactionHeaderComponent], [typeof i2.CommonModule, typeof CoreModule, typeof TransactionHeaderRelationModule, typeof TransactionHeaderDeliveryModule, typeof TransactionHeaderOrderModule, typeof TransactionHeaderPaymentModule, typeof TransactionHeaderPopupModule, typeof i3.CarouselModule, typeof i3.IconModule, typeof i3.ScreenConfigurationModule, typeof PipeModule, typeof i3.TooltipDirectiveModule], [typeof TransactionHeaderComponent]>;
14683
14699
  static ɵinj: i0.ɵɵInjectorDeclaration<TransactionHeaderModule>;
14684
14700
  }
14685
14701
 
@@ -14695,9 +14711,6 @@ declare class TransactionQuickAccessComponent implements OnInit, OnDestroy {
14695
14711
  get transactionKind(): TransactionKind;
14696
14712
  set activeCategory(value: TransactionTypeCategory);
14697
14713
  get activeCategory(): TransactionTypeCategory;
14698
- set planningLines(value: boolean);
14699
- get planningLines(): boolean;
14700
- private _planningLines;
14701
14714
  showClass(): boolean;
14702
14715
  private _activeCategory;
14703
14716
  private _componentRef;
@@ -14710,7 +14723,7 @@ declare class TransactionQuickAccessComponent implements OnInit, OnDestroy {
14710
14723
  ngOnDestroy(): void;
14711
14724
  private _prepareContent;
14712
14725
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionQuickAccessComponent, never>;
14713
- 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>;
14726
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionQuickAccessComponent, "co-transaction-quick-access", never, { "transactionKind": { "alias": "transactionKind"; "required": false; }; "activeCategory": { "alias": "activeCategory"; "required": false; }; }, {}, never, never, false, never>;
14714
14727
  }
14715
14728
 
14716
14729
  declare class TransactionQuickAccessOrderConfirmationComponent extends TransactionHeaderBaseComponent implements OnInit, OnDestroy {
@@ -16898,6 +16911,7 @@ declare class TransactionServiceOverviewComponent extends TransactionHeaderBaseC
16898
16911
  setCauseCode(causeCode: CauseCode): Promise<void>;
16899
16912
  setEntryType(entryType: CoDomainValue): Promise<void>;
16900
16913
  upsertDocument(doc: CoDocument): Promise<void>;
16914
+ addedDocument(documents: CoDocument[]): Promise<void>;
16901
16915
  deleteDocument(doc: CoDocument): Promise<void>;
16902
16916
  putDocumentInList(doc: CoDocument): void;
16903
16917
  removeDocumentFromList(doc: CoDocument): void;
@@ -17255,7 +17269,7 @@ declare class TransactionHeaderCustomerPortalComponent {
17255
17269
 
17256
17270
  declare class TransactionHeaderCustomerPortalModule {
17257
17271
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionHeaderCustomerPortalModule, never>;
17258
- static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionHeaderCustomerPortalModule, [typeof TransactionHeaderCustomerPortalComponent], [typeof i2.CommonModule, typeof CoreModule, typeof TransactionHeaderRelationModule, typeof TransactionHeaderDeliveryModule, typeof TransactionHeaderOrderModule, typeof TransactionHeaderPaymentModule, typeof TransactionHeaderPopupModule, typeof i3.CarouselModule, typeof i3.IconModule, typeof i3.ScreenConfigurationModule, typeof PipeModule, typeof DialogTransactionHeaderPlanningRequest], [typeof TransactionHeaderCustomerPortalComponent]>;
17272
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionHeaderCustomerPortalModule, [typeof TransactionHeaderCustomerPortalComponent], [typeof i2.CommonModule, typeof CoreModule, typeof TransactionHeaderRelationModule, typeof TransactionHeaderDeliveryModule, typeof TransactionHeaderOrderModule, typeof TransactionHeaderPaymentModule, typeof TransactionHeaderPopupModule, typeof i3.CarouselModule, typeof i3.IconModule, typeof i3.ScreenConfigurationModule, typeof PipeModule, typeof DialogTransactionHeaderPlanningRequest, typeof i3.TooltipDirectiveModule], [typeof TransactionHeaderCustomerPortalComponent]>;
17259
17273
  static ɵinj: i0.ɵɵInjectorDeclaration<TransactionHeaderCustomerPortalModule>;
17260
17274
  }
17261
17275
 
@@ -17827,6 +17841,7 @@ declare class ServiceWizardServiceFieldsComponent implements OnInit {
17827
17841
  constructor(transactionService: TransactionCreateService);
17828
17842
  ngOnInit(): Promise<void>;
17829
17843
  upsertDocument(document: CoDocument): Promise<void>;
17844
+ addedDocument(docs: CoDocument[]): Promise<void>;
17830
17845
  deleteDocument(document: CoDocument): Promise<void>;
17831
17846
  static ɵfac: i0.ɵɵFactoryDeclaration<ServiceWizardServiceFieldsComponent, never>;
17832
17847
  static ɵcmp: i0.ɵɵComponentDeclaration<ServiceWizardServiceFieldsComponent, "co-service-wizard-service-fields", never, {}, {}, never, never, false, never>;
@@ -5,7 +5,6 @@
5
5
  display: block;
6
6
  font-family: $tp-co-transaction-header-font-family;
7
7
  font-size: $tp-co-transaction-header-font-size;
8
- cursor: pointer;
9
8
  .transaction-header-wrapper {
10
9
  display: flex;
11
10
  flex-direction: row;
@@ -68,6 +67,23 @@
68
67
  margin: $tp-co-transaction-header-divider-margin;
69
68
  }
70
69
  }
70
+ .transaction-delivery-carousel-wrapper {
71
+ display: flex;
72
+ align-items: center;
73
+ justify-content: flex-end;
74
+ .auto-save-toggle-icon-wrapper {
75
+ cursor: pointer;
76
+ margin: $tp-co-transaction-header-auto-save-toggle-icon-wrapper-margin;
77
+ padding: $tp-co-transaction-header-auto-save-toggle-icon-wrapper-padding;
78
+ border-radius: $tp-co-transaction-header-auto-save-toggle-icon-wrapper-border-radius;
79
+ border-width: $tp-co-transaction-header-auto-save-toggle-icon-wrapper-border-width;
80
+ border-style: $tp-co-transaction-header-auto-save-toggle-icon-wrapper-border-style;
81
+ }
82
+ .auto-save-toggle-icon {
83
+ width: $tp-co-transaction-header-auto-save-toggle-icon-size;
84
+ height: $tp-co-transaction-header-auto-save-toggle-icon-size;
85
+ }
86
+ }
71
87
  .expand-transaction-header {
72
88
  width: $tp-co-transaction-header-expand-button-size;
73
89
  height: $tp-co-transaction-header-expand-button-size;
@@ -83,7 +99,7 @@
83
99
  height: $tp-co-transaction-header-expand-button-icon-size;
84
100
  }
85
101
  }
86
- co-transaction-header-delivery-date {
102
+ .co-transaction-header-delivery-date {
87
103
  .input-text-wrapper {
88
104
  align-items: center;
89
105
  .input-wrapper {
@@ -18,3 +18,12 @@ $tp-co-transaction-header-expand-button-bottom: -10px !default;
18
18
  $tp-co-transaction-header-expand-button-border-radius: 100% !default;
19
19
  $tp-co-transaction-header-expand-button-icon-size: 20px !default;
20
20
 
21
+ $tp-co-transaction-header-auto-save-toggle-icon-wrapper-padding: 4px !default;
22
+ $tp-co-transaction-header-auto-save-toggle-icon-wrapper-margin: 0 10px 0 0 !default;
23
+ $tp-co-transaction-header-auto-save-toggle-icon-wrapper-border-width: 1px !default;
24
+ $tp-co-transaction-header-auto-save-toggle-icon-wrapper-border-style: solid !default;
25
+ $tp-co-transaction-header-auto-save-toggle-icon-wrapper-border-color: #F4F4F9 !default;
26
+ $tp-co-transaction-header-auto-save-toggle-icon-wrapper-border-radius: 4px !default;
27
+ $tp-co-transaction-header-auto-save-toggle-icon-size: 20px !default;
28
+ $tp-co-transaction-header-auto-save-toggle-icon-background: #F4F4F9 !default;
29
+ $tp-co-transaction-header-auto-save-toggle-icon-background-active: $tp-color-action !default;
@@ -10,5 +10,20 @@
10
10
  .transaction-header-divider {
11
11
  background-color: $tp-co-transaction-header-border-color;
12
12
  }
13
+ .transaction-delivery-carousel-wrapper {
14
+ .auto-save-toggle-icon-wrapper {
15
+ border-color: $tp-co-transaction-header-auto-save-toggle-icon-wrapper-border-color;
16
+ }
17
+ .auto-save-toggle-icon {
18
+ &.active {
19
+ svg { // for fontawesome icons
20
+ fill: $tp-co-transaction-header-auto-save-toggle-icon-background-active;
21
+ }
22
+ & [fill] { // for own icons
23
+ fill: $tp-co-transaction-header-auto-save-toggle-icon-background-active;
24
+ }
25
+ }
26
+ }
27
+ }
13
28
  }
14
29
  }
@@ -144,7 +144,7 @@
144
144
  border-radius: 4px;
145
145
  display: flex;
146
146
  gap: 10px;
147
- co-icon {
147
+ .co-icon {
148
148
  height: 20px;
149
149
  width: 20px;
150
150
  &.active {
@@ -3,7 +3,6 @@
3
3
  @include export-module('co-transaction-header-relation-layout') {
4
4
  .co-transaction-header-relation {
5
5
  display: flex;
6
- cursor: pointer;
7
6
  .transaction-header-relation-dialog {
8
7
  .co-transaction-header-block {
9
8
  padding: 4px 0;
@@ -10,11 +10,6 @@
10
10
  padding: $tp-transaction-line-padding;
11
11
  border-width: $tp-transaction-line-border-width;
12
12
  position: relative;
13
- &.active {
14
- box-shadow: 0 0 3px 2px #1a73e8a3;
15
- border-radius: 4px;
16
- border-color: #1a73e873;
17
- }
18
13
  .transaction-base-line-wrapper {
19
14
  column-gap: $tp-transaction-line-column-gap;
20
15
  }
@@ -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";
@@ -82,7 +82,7 @@
82
82
  gap: 0;
83
83
  }
84
84
  .button-title {
85
- font-size: 9px;
85
+ font-size: $tp-transaction-line-side-panel-button-wrapper-title-font-size;
86
86
  }
87
87
  .co-transaction-button-bar-button {
88
88
  .button-wrapper {
@@ -254,6 +254,7 @@
254
254
  .co-transaction-button-bar {
255
255
  .button-wrapper {
256
256
  background: $tp-transaction-line-side-panel-background;
257
+ padding: $tp-transaction-line-side-panel-button-wrapper-padding;
257
258
  }
258
259
  }
259
260
  .co-simple-grid {
@@ -24,6 +24,8 @@ $tp-transaction-line-side-panel-simple-grid-background: #f8f8fa !default;
24
24
  $tp-transaction-line-side-panel-simple-grid-font-size: 10px !default;
25
25
  $tp-transaction-line-side-panel-simple-grid-padding: 5px !default;
26
26
  $tp-transaction-line-side-panel-simple-grid-border-radius: 0 !default;
27
+ $tp-transaction-line-side-panel-button-wrapper-padding: 0 3px !default;
28
+ $tp-transaction-line-side-panel-button-wrapper-title-font-size: 8px !default;
27
29
 
28
30
  $tp-transaction-line-side-history-grid-padding: 15px 30px !default;
29
31
  $tp-transaction-line-side-history-grid-header-vertical-align: baseline !default;
@@ -31,6 +31,9 @@
31
31
  display: flex;
32
32
  align-items: center;
33
33
  position: relative;
34
+ &.active {
35
+ border: solid 2px rgb(26 115 232 / 38%);
36
+ }
34
37
  }
35
38
 
36
39
  .draggable-transaction-line.cdk-drag-placeholder {
@@ -47,6 +50,9 @@
47
50
 
48
51
  .draggable-transaction-line:last-child {
49
52
  border: none;
53
+ &.active {
54
+ border: solid 2px rgb(26 115 232 / 38%);
55
+ }
50
56
  }
51
57
  .transaction-lines-drag-drop-list.cdk-drop-list-dragging .draggable-transaction-line:not(.cdk-drag-placeholder) {
52
58
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
@@ -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";