@colijnit/transaction 300.1.33 → 300.1.35
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/fesm2022/colijnit-transaction.mjs +759 -554
- package/fesm2022/colijnit-transaction.mjs.map +1 -1
- package/index.d.ts +25 -12
- package/lib/component/transaction-header/transaction-header/style/_layout.scss +18 -2
- package/lib/component/transaction-header/transaction-header/style/_material-definition.scss +9 -0
- package/lib/component/transaction-header/transaction-header/style/_theme.scss +15 -0
- package/lib/component/transaction-header/transaction-header-delivery/style/_layout.scss +1 -1
- package/lib/component/transaction-header/transaction-header-relation/style/_layout.scss +0 -1
- package/lib/component/transaction-line/transaction-line/style/_layout.scss +0 -5
- package/lib/component/transaction-line-interbranch-receive-goods/style/_layout.scss +78 -78
- package/lib/component/transaction-line-interbranch-receive-goods/style/_material-definition.scss +2 -2
- package/lib/component/transaction-line-interbranch-receive-goods/style/_theme.scss +4 -4
- package/lib/component/transaction-line-interbranch-receive-goods/style/material.scss +4 -4
- package/lib/component/transaction-line-side-panel/style/_layout.scss +2 -1
- package/lib/component/transaction-line-side-panel/style/_material-definition.scss +2 -0
- package/lib/component/transaction-lines/style/_layout.scss +6 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_layout.scss +27 -27
- package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_material-definition.scss +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_theme.scss +4 -4
- package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/material.scss +4 -4
- package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/_layout.scss +73 -73
- package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/_theme.scss +6 -6
- package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/material.scss +4 -4
- package/lib/style/transaction-globals.scss +0 -3
- 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
|
-
|
|
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>;
|
|
@@ -5110,6 +5118,7 @@ declare class TransactionOverviewLineComponent extends TransactionLineBaseCompon
|
|
|
5110
5118
|
protected dictionaryService: DictionaryService;
|
|
5111
5119
|
protected changeDetector: ChangeDetectorRef;
|
|
5112
5120
|
readonly category: typeof TransactionTypeCategory;
|
|
5121
|
+
readonly TransactionType: typeof TransactionType;
|
|
5113
5122
|
readonly icons: typeof Icon;
|
|
5114
5123
|
readonly isNaN: typeof isNaN;
|
|
5115
5124
|
readonly TableName: typeof TableName;
|
|
@@ -5411,6 +5420,7 @@ declare class EditableLabelComponent implements ScreenConfigAdapterComponent {
|
|
|
5411
5420
|
set editMode(value: boolean);
|
|
5412
5421
|
get editMode(): boolean;
|
|
5413
5422
|
readonly: boolean;
|
|
5423
|
+
forceReadonly: boolean;
|
|
5414
5424
|
crossedOut: boolean;
|
|
5415
5425
|
inputLabel: boolean;
|
|
5416
5426
|
insideLabel: string;
|
|
@@ -5420,14 +5430,13 @@ declare class EditableLabelComponent implements ScreenConfigAdapterComponent {
|
|
|
5420
5430
|
objectConfigName: string;
|
|
5421
5431
|
hidden: boolean;
|
|
5422
5432
|
required: boolean;
|
|
5423
|
-
forceReadonly: boolean;
|
|
5424
5433
|
maxLength: number;
|
|
5425
5434
|
decimals: number;
|
|
5426
5435
|
redErrorBackground: boolean;
|
|
5427
5436
|
private _editMode;
|
|
5428
5437
|
private _inputTextComponent;
|
|
5429
5438
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditableLabelComponent, never>;
|
|
5430
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditableLabelComponent, "co-editable-label", never, { "model": { "alias": "model"; "required": false; }; "editModel": { "alias": "editModel"; "required": false; }; "commit": { "alias": "commit"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "crossedOut": { "alias": "crossedOut"; "required": false; }; "inputLabel": { "alias": "inputLabel"; "required": false; }; "insideLabel": { "alias": "insideLabel"; "required": false; }; }, { "editModelChange": "editModelChange"; }, never, never, false, never>;
|
|
5439
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditableLabelComponent, "co-editable-label", never, { "model": { "alias": "model"; "required": false; }; "editModel": { "alias": "editModel"; "required": false; }; "commit": { "alias": "commit"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "forceReadonly": { "alias": "forceReadonly"; "required": false; }; "crossedOut": { "alias": "crossedOut"; "required": false; }; "inputLabel": { "alias": "inputLabel"; "required": false; }; "insideLabel": { "alias": "insideLabel"; "required": false; }; }, { "editModelChange": "editModelChange"; }, never, never, false, never>;
|
|
5431
5440
|
}
|
|
5432
5441
|
|
|
5433
5442
|
declare class EditableLabelModule {
|
|
@@ -7860,6 +7869,7 @@ declare class TransactionSearchSalesLineSelectTileComponent extends TransactionS
|
|
|
7860
7869
|
iconCacheService: IconCacheService;
|
|
7861
7870
|
transactionService: TransactionService;
|
|
7862
7871
|
changeDetector: ChangeDetectorRef;
|
|
7872
|
+
readonly TransactionType: typeof TransactionType;
|
|
7863
7873
|
showClass(): boolean;
|
|
7864
7874
|
extendedTransactionSearch: boolean;
|
|
7865
7875
|
returnWizardLayout: boolean;
|
|
@@ -7935,6 +7945,7 @@ declare class TransactionLineTileModule {
|
|
|
7935
7945
|
declare class TransactionOrderTileComponent extends TransactionSearchTileBaseComponent {
|
|
7936
7946
|
iconCacheService: IconCacheService;
|
|
7937
7947
|
changeDetector: ChangeDetectorRef;
|
|
7948
|
+
readonly TransactionType: typeof TransactionType;
|
|
7938
7949
|
statusBarConfigNames: StatusBarCfgNames;
|
|
7939
7950
|
set showAvatar(value: boolean);
|
|
7940
7951
|
get showAvatar(): boolean;
|
|
@@ -9969,7 +9980,7 @@ declare class TransactionLineAssemblyTimeModule {
|
|
|
9969
9980
|
|
|
9970
9981
|
declare class TransactionLineSidePanelDefaultModule {
|
|
9971
9982
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineSidePanelDefaultModule, never>;
|
|
9972
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionLineSidePanelDefaultModule, [typeof TransactionLineSidePanelDefaultComponent], [typeof i2.CommonModule, typeof CoreModule, typeof PipeModule, typeof i3.ButtonModule, typeof i3.CollapsibleModule, typeof i3.InputTextModule, typeof i3.InputDatePickerModule, typeof i3.InputNumberPickerModule, typeof TransactionLinePriceListModule, typeof TransactionLineVatModule, typeof TransactionLineAmountModule, typeof TransactionLineDiscountPercentageModule, typeof TransactionLineDeliveryMethodModule, typeof TransactionLineDeliveryDateModule, typeof TransactionLineReferenceModule, typeof TransactionLineCommissionCodeModule, typeof TransactionLineWarehouseModule, typeof TransactionLineDiscountAmountModule, typeof TransactionLineQuantumDiscountModule, typeof TransactionLineSpecialDiscountModule, typeof TransactionLineSupplierModule, typeof TransactionLineDescriptionModule, typeof TransactionLinePriceModule, typeof TransactionLineSupplierButtonModule, typeof TransactionLineSupplierArtNrModule, typeof TransactionLineAssemblyTimeModule, typeof EditableLabelModule], [typeof TransactionLineSidePanelDefaultComponent]>;
|
|
9983
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionLineSidePanelDefaultModule, [typeof TransactionLineSidePanelDefaultComponent], [typeof i2.CommonModule, typeof CoreModule, typeof PipeModule, typeof i3.ButtonModule, typeof i3.CollapsibleModule, typeof i3.InputTextModule, typeof i3.InputDatePickerModule, typeof i3.InputNumberPickerModule, typeof TransactionLinePriceListModule, typeof TransactionLineVatModule, typeof TransactionLineAmountModule, typeof TransactionLineDiscountPercentageModule, typeof TransactionLineDeliveryMethodModule, typeof TransactionLineDeliveryDateModule, typeof TransactionLineReferenceModule, typeof TransactionLineCommissionCodeModule, typeof TransactionLineWarehouseModule, typeof TransactionLineDiscountAmountModule, typeof TransactionLineQuantumDiscountModule, typeof TransactionLineSpecialDiscountModule, typeof TransactionLineSupplierModule, typeof TransactionLineDescriptionModule, typeof TransactionLinePriceModule, typeof TransactionLineSupplierButtonModule, typeof TransactionLineSupplierArtNrModule, typeof TransactionLineAssemblyTimeModule, typeof EditableLabelModule, typeof i3.ScreenConfigurationModule], [typeof TransactionLineSidePanelDefaultComponent]>;
|
|
9973
9984
|
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineSidePanelDefaultModule>;
|
|
9974
9985
|
}
|
|
9975
9986
|
|
|
@@ -10262,7 +10273,7 @@ declare class TransactionSalesOverviewButtonBarButtonComponent extends Transacti
|
|
|
10262
10273
|
showCategories: boolean;
|
|
10263
10274
|
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
|
|
10264
10275
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
10265
|
-
currentTitle(): "
|
|
10276
|
+
currentTitle(): "MARGINS" | "OVERVIEW";
|
|
10266
10277
|
ngOnDestroy(): void;
|
|
10267
10278
|
handleClickWrapper(event: MouseEvent): void;
|
|
10268
10279
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
|
|
@@ -10288,7 +10299,7 @@ declare class TransactionPurchaseOverviewButtonBarButtonComponent extends Transa
|
|
|
10288
10299
|
constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _transactionService: TransactionService, _elementRef: ElementRef);
|
|
10289
10300
|
ngOnDestroy(): void;
|
|
10290
10301
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
10291
|
-
currentTitle(): "
|
|
10302
|
+
currentTitle(): "MARGINS" | "OVERVIEW";
|
|
10292
10303
|
handleClickWrapper(event: MouseEvent): void;
|
|
10293
10304
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): Promise<void>;
|
|
10294
10305
|
private handleDocumentClick;
|
|
@@ -10340,7 +10351,7 @@ declare class TransactionSalesQuotationButtonBarButtonComponent extends Transact
|
|
|
10340
10351
|
showCategories: boolean;
|
|
10341
10352
|
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
|
|
10342
10353
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
10343
|
-
currentTitle(): "
|
|
10354
|
+
currentTitle(): "MARGINS" | "OVERVIEW";
|
|
10344
10355
|
ngOnDestroy(): void;
|
|
10345
10356
|
handleClickWrapper(event: MouseEvent): void;
|
|
10346
10357
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
|
|
@@ -11777,7 +11788,7 @@ declare class TransactionSearchSalesQuotationTileComponent extends TransactionSe
|
|
|
11777
11788
|
|
|
11778
11789
|
declare class TransactionSearchSalesQuotationTileModule {
|
|
11779
11790
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionSearchSalesQuotationTileModule, never>;
|
|
11780
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionSearchSalesQuotationTileModule, [typeof TransactionSearchSalesQuotationTileComponent], [typeof i2.CommonModule, typeof AvatarModule, typeof i3.InputCheckboxModule, typeof i3.IconModule, typeof PipeModule], [typeof TransactionSearchSalesQuotationTileComponent]>;
|
|
11791
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionSearchSalesQuotationTileModule, [typeof TransactionSearchSalesQuotationTileComponent], [typeof i2.CommonModule, typeof AvatarModule, typeof i3.InputCheckboxModule, typeof i3.IconModule, typeof PipeModule, typeof i3.ScreenConfigurationModule], [typeof TransactionSearchSalesQuotationTileComponent]>;
|
|
11781
11792
|
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionSearchSalesQuotationTileModule>;
|
|
11782
11793
|
}
|
|
11783
11794
|
|
|
@@ -14096,7 +14107,7 @@ declare class DialogTransactionHeaderDiscountModule {
|
|
|
14096
14107
|
|
|
14097
14108
|
declare class TransactionTotalsModule {
|
|
14098
14109
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionTotalsModule, never>;
|
|
14099
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionTotalsModule, [typeof TransactionTotalsComponent, typeof TransactionConfirmTotalsComponent], [typeof i2.CommonModule, typeof CoreModule, typeof PipeModule, typeof DialogTransactionHeaderDiscountModule], [typeof TransactionTotalsComponent, typeof TransactionConfirmTotalsComponent]>;
|
|
14110
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionTotalsModule, [typeof TransactionTotalsComponent, typeof TransactionConfirmTotalsComponent], [typeof i2.CommonModule, typeof CoreModule, typeof PipeModule, typeof DialogTransactionHeaderDiscountModule, typeof i3.ScreenConfigurationModule], [typeof TransactionTotalsComponent, typeof TransactionConfirmTotalsComponent]>;
|
|
14100
14111
|
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionTotalsModule>;
|
|
14101
14112
|
}
|
|
14102
14113
|
|
|
@@ -14502,6 +14513,7 @@ declare class TransactionSalesReservationPopupComponent implements OnInit {
|
|
|
14502
14513
|
|
|
14503
14514
|
declare class TransactionHeaderComponent {
|
|
14504
14515
|
iconCacheService: IconCacheService;
|
|
14516
|
+
transactionService: TransactionService;
|
|
14505
14517
|
readonly cfgNames: typeof TransactionCfgName;
|
|
14506
14518
|
readonly icons: typeof Icon;
|
|
14507
14519
|
toggleHeader: boolean;
|
|
@@ -14514,8 +14526,9 @@ declare class TransactionHeaderComponent {
|
|
|
14514
14526
|
isCashOrPurchaseQuotationOrder: boolean;
|
|
14515
14527
|
isSalesQuotationOrder: boolean;
|
|
14516
14528
|
private _transaction;
|
|
14517
|
-
constructor(iconCacheService: IconCacheService);
|
|
14529
|
+
constructor(iconCacheService: IconCacheService, transactionService: TransactionService);
|
|
14518
14530
|
expandHeader(): void;
|
|
14531
|
+
toggleAutoSave(): void;
|
|
14519
14532
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionHeaderComponent, never>;
|
|
14520
14533
|
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionHeaderComponent, "co-transaction-header", never, { "transaction": { "alias": "transaction"; "required": false; }; }, {}, never, never, false, never>;
|
|
14521
14534
|
}
|
|
@@ -14682,7 +14695,7 @@ declare class TransactionHeaderPaymentModule {
|
|
|
14682
14695
|
|
|
14683
14696
|
declare class TransactionHeaderModule {
|
|
14684
14697
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionHeaderModule, never>;
|
|
14685
|
-
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]>;
|
|
14686
14699
|
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionHeaderModule>;
|
|
14687
14700
|
}
|
|
14688
14701
|
|
|
@@ -17256,7 +17269,7 @@ declare class TransactionHeaderCustomerPortalComponent {
|
|
|
17256
17269
|
|
|
17257
17270
|
declare class TransactionHeaderCustomerPortalModule {
|
|
17258
17271
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionHeaderCustomerPortalModule, never>;
|
|
17259
|
-
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]>;
|
|
17260
17273
|
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionHeaderCustomerPortalModule>;
|
|
17261
17274
|
}
|
|
17262
17275
|
|
|
@@ -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
|
}
|
|
@@ -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
|
+
}
|
package/lib/component/transaction-line-interbranch-receive-goods/style/_material-definition.scss
CHANGED
|
@@ -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:
|
|
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";
|