@colijnit/transaction 262.1.31 → 262.1.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -2380,7 +2380,6 @@ declare class TransactionBaseService extends BaseModuleService implements OnDest
2380
2380
  resetCurrentTransaction(): void;
2381
2381
  saveTransaction(rememberTransaction?: boolean): Promise<TransactionInfoResponse>;
2382
2382
  commit(): Promise<boolean>;
2383
- commitGeneral(): Promise<boolean>;
2384
2383
  rollback(refresh?: boolean, force?: boolean): Promise<boolean>;
2385
2384
  rollbackBeacon(): Promise<void>;
2386
2385
  searchTransactions(request: TransactionSearchViewRequest): Promise<TransactionSearchResult>;
@@ -9972,7 +9971,7 @@ declare class TransactionSalesOverviewButtonBarButtonComponent extends Transacti
9972
9971
  showCategories: boolean;
9973
9972
  constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
9974
9973
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
9975
- currentTitle(): "OVERVIEW" | "MARGINS";
9974
+ currentTitle(): "MARGINS" | "OVERVIEW";
9976
9975
  ngOnDestroy(): void;
9977
9976
  handleClickWrapper(event: MouseEvent): void;
9978
9977
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
@@ -9998,7 +9997,7 @@ declare class TransactionPurchaseOverviewButtonBarButtonComponent extends Transa
9998
9997
  constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _transactionService: TransactionService, _elementRef: ElementRef);
9999
9998
  ngOnDestroy(): void;
10000
9999
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
10001
- currentTitle(): "OVERVIEW" | "MARGINS";
10000
+ currentTitle(): "MARGINS" | "OVERVIEW";
10002
10001
  handleClickWrapper(event: MouseEvent): void;
10003
10002
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): Promise<void>;
10004
10003
  private handleDocumentClick;
@@ -10050,7 +10049,7 @@ declare class TransactionSalesQuotationButtonBarButtonComponent extends Transact
10050
10049
  showCategories: boolean;
10051
10050
  constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
10052
10051
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
10053
- currentTitle(): "OVERVIEW" | "MARGINS";
10052
+ currentTitle(): "MARGINS" | "OVERVIEW";
10054
10053
  ngOnDestroy(): void;
10055
10054
  handleClickWrapper(event: MouseEvent): void;
10056
10055
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
@@ -14079,6 +14078,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
14079
14078
  handleSaveForm(formResponse: FormResponse): Promise<void>;
14080
14079
  private _handleCloseSalesPersonInput;
14081
14080
  private _commitTransactionSalesPerson;
14081
+ private _fetchPlanOrderIfNeeded;
14082
14082
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionInternalComponent, never>;
14083
14083
  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; }; "showQuickAccess": { "alias": "showQuickAccess"; "required": false; }; "showButtonBar": { "alias": "showButtonBar"; "required": false; }; }, { "serviceRequested": "serviceRequested"; }, never, never, false, never>;
14084
14084
  }
@@ -14734,6 +14734,9 @@ declare class TransactionQuickAccessInvoiceComponent extends TransactionQuickAcc
14734
14734
  protected combinedDocument(request: PrintPurchaseOrderForTransactionOrderWithoutLinesRequest, localPrint: boolean): void;
14735
14735
  transactionSet(): void;
14736
14736
  _prepareRequest(request: EmailInvoiceRequest | PrintInvoiceRequest | PdfInvoiceRequest): boolean;
14737
+ openSendMethodDialogForNewInvoice(): void;
14738
+ private _isHistoricReportSelected;
14739
+ private _showNoInvoiceLinesError;
14737
14740
  filterLinesForRequest(): TransactionLineInfo[];
14738
14741
  historicDocuments(): boolean;
14739
14742
  handleSendDocument(defaultSendMethod: string): void;
@@ -14901,6 +14904,7 @@ declare class TransactionQuickAccessPlanningComponent extends TransactionHeaderB
14901
14904
  protected changeDetector: ChangeDetectorRef;
14902
14905
  private _connector;
14903
14906
  private _deliveryPlanningService;
14907
+ private _dialogService;
14904
14908
  sendDocumentsComponent: TransactionSendDocumentsComponent;
14905
14909
  readonly buttonType: typeof AppPopupButtonType;
14906
14910
  showLspPopup: boolean;
@@ -14909,7 +14913,7 @@ declare class TransactionQuickAccessPlanningComponent extends TransactionHeaderB
14909
14913
  get lspMode(): boolean;
14910
14914
  set lspMode(lspMode: boolean);
14911
14915
  showClass(): boolean;
14912
- constructor(transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, iconCacheService: IconCacheService, screenConfigService: TransactionScreenConfigurationService, imageService: TransactionImageService, dictionaryService: DictionaryService, transactionService: TransactionService, changeDetector: ChangeDetectorRef, _connector: TransactionConnectorService, _deliveryPlanningService: DeliveryPlanningService);
14916
+ constructor(transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, iconCacheService: IconCacheService, screenConfigService: TransactionScreenConfigurationService, imageService: TransactionImageService, dictionaryService: DictionaryService, transactionService: TransactionService, changeDetector: ChangeDetectorRef, _connector: TransactionConnectorService, _deliveryPlanningService: DeliveryPlanningService, _dialogService: DialogService);
14913
14917
  ngOnInit(): void;
14914
14918
  handleSelectAllLines(value: boolean): void;
14915
14919
  toggleLspMode(): void;
@@ -0,0 +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
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('co-form-response-theme') {
2
+ .co-form-response {
3
+ }
4
+ }
@@ -0,0 +1,3 @@
1
+ @import "./material-definition";
2
+ @import "./layout";
3
+ @import "./theme";
@@ -5,6 +5,10 @@
5
5
  flex-direction: column;
6
6
  row-gap: 10px;
7
7
 
8
+ .form-repsonse-component {
9
+ padding-left: 5px;
10
+ }
11
+
8
12
  .lines-wizard-sub-title {
9
13
  margin-top: 30px;
10
14
  font-weight: bold;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transaction",
3
- "version": "262.1.31",
3
+ "version": "262.1.33",
4
4
  "description": "Colijn IT transaction module for Angular 20",
5
5
  "repository": "npm/npm",
6
6
  "author": "Colijn IT",
@@ -13,13 +13,13 @@
13
13
  "@colijnit/catalog": ">=262.1.0",
14
14
  "@colijnit/corecomponents_v12": ">=262.1.10",
15
15
  "@colijnit/ioneconnector": ">=262.1.0",
16
- "@colijnit/mainapi": ">=262.1.11",
16
+ "@colijnit/mainapi": ">=262.1.12",
17
17
  "@colijnit/product": ">=262.1.0",
18
18
  "@colijnit/relation": ">=262.1.0",
19
19
  "@colijnit/relationapi": ">=262.1.0",
20
20
  "@colijnit/sharedapi": ">=1.0.20",
21
21
  "@colijnit/sharedcomponents": ">=262.1.11",
22
- "@colijnit/transactionapi": ">=262.1.13"
22
+ "@colijnit/transactionapi": ">=262.1.14"
23
23
  },
24
24
  "dependencies": {
25
25
  "tslib": "^2.8.1"