@colijnit/transaction 300.1.20 → 300.1.21
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 +1993 -1796
- package/fesm2022/colijnit-transaction.mjs.map +1 -1
- package/index.d.ts +53 -7
- package/lib/component/core/base/components/transaction-header-block/style/_layout.scss +0 -4
- package/lib/component/core/base/components/transaction-header-contact/style/_layout.scss +65 -0
- package/lib/component/core/base/components/transaction-header-contact/style/_material-definition.scss +25 -0
- package/lib/component/core/base/components/transaction-header-contact/style/_theme.scss +34 -0
- package/lib/component/core/base/components/transaction-header-contact/style/material.scss +4 -0
- package/lib/component/transaction-header/transaction-header-relation/style/_layout.scss +1 -1
- package/lib/component/transaction-header/transaction-header-relation/style/material.scss +1 -0
- 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-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/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -868,7 +868,7 @@ declare class TransactionEventService {
|
|
|
868
868
|
readonly transactionCopyNavigation: Subject<string>;
|
|
869
869
|
readonly transactionDeleted: Subject<void>;
|
|
870
870
|
readonly transactionPaymentDone: Subject<void>;
|
|
871
|
-
readonly transactionLoaded: Subject<
|
|
871
|
+
readonly transactionLoaded: Subject<TransactionInfoResponse>;
|
|
872
872
|
readonly copyOrder: Subject<void>;
|
|
873
873
|
readonly updateTransactionReferences: Subject<void>;
|
|
874
874
|
readonly transactionLineVisibilityChange: BehaviorSubject<{
|
|
@@ -2118,6 +2118,7 @@ declare enum Icon {
|
|
|
2118
2118
|
CloseDialog = "close_dialog",
|
|
2119
2119
|
CodeRegular = "code_regular",
|
|
2120
2120
|
ContainerStorageRegularFull = "container_storage_regular_full",
|
|
2121
|
+
CopyRegularFull = "copy_regular_full",
|
|
2121
2122
|
CreditCardRegular = "credit_card_regular",
|
|
2122
2123
|
CreditCardRegularCheck = "credit_card_regular_check",
|
|
2123
2124
|
CreditCardSolid = "credit_card_solid",
|
|
@@ -10126,7 +10127,7 @@ declare class TransactionSalesOverviewButtonBarButtonComponent extends Transacti
|
|
|
10126
10127
|
showCategories: boolean;
|
|
10127
10128
|
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
|
|
10128
10129
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
10129
|
-
currentTitle(): "
|
|
10130
|
+
currentTitle(): "MARGINS" | "OVERVIEW";
|
|
10130
10131
|
ngOnDestroy(): void;
|
|
10131
10132
|
handleClickWrapper(event: MouseEvent): void;
|
|
10132
10133
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
|
|
@@ -10152,7 +10153,7 @@ declare class TransactionPurchaseOverviewButtonBarButtonComponent extends Transa
|
|
|
10152
10153
|
constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _transactionService: TransactionService, _elementRef: ElementRef);
|
|
10153
10154
|
ngOnDestroy(): void;
|
|
10154
10155
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
10155
|
-
currentTitle(): "
|
|
10156
|
+
currentTitle(): "MARGINS" | "OVERVIEW";
|
|
10156
10157
|
handleClickWrapper(event: MouseEvent): void;
|
|
10157
10158
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): Promise<void>;
|
|
10158
10159
|
private handleDocumentClick;
|
|
@@ -10204,7 +10205,7 @@ declare class TransactionSalesQuotationButtonBarButtonComponent extends Transact
|
|
|
10204
10205
|
showCategories: boolean;
|
|
10205
10206
|
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
|
|
10206
10207
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
10207
|
-
currentTitle(): "
|
|
10208
|
+
currentTitle(): "MARGINS" | "OVERVIEW";
|
|
10208
10209
|
ngOnDestroy(): void;
|
|
10209
10210
|
handleClickWrapper(event: MouseEvent): void;
|
|
10210
10211
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
|
|
@@ -13975,7 +13976,6 @@ declare class TransactionHeaderBlockComponent {
|
|
|
13975
13976
|
secondBlockTemplate: TemplateRef<any>;
|
|
13976
13977
|
thirdBlockTemplate: TemplateRef<any>;
|
|
13977
13978
|
hiddenBlockTemplate: TemplateRef<any>;
|
|
13978
|
-
dontShowEditIcon: boolean;
|
|
13979
13979
|
headerClick: EventEmitter<MouseEvent>;
|
|
13980
13980
|
showClass(): boolean;
|
|
13981
13981
|
handleHostClick(event: MouseEvent): void;
|
|
@@ -13983,7 +13983,7 @@ declare class TransactionHeaderBlockComponent {
|
|
|
13983
13983
|
constructor(iconCacheService: IconCacheService);
|
|
13984
13984
|
onHeaderClick(event: MouseEvent): void;
|
|
13985
13985
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionHeaderBlockComponent, never>;
|
|
13986
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionHeaderBlockComponent, "co-transaction-header-block", never, { "headerBlockTemplate": { "alias": "headerBlockTemplate"; "required": false; }; "firstBlockTemplate": { "alias": "firstBlockTemplate"; "required": false; }; "secondBlockTemplate": { "alias": "secondBlockTemplate"; "required": false; }; "thirdBlockTemplate": { "alias": "thirdBlockTemplate"; "required": false; }; "hiddenBlockTemplate": { "alias": "hiddenBlockTemplate"; "required": false; };
|
|
13986
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionHeaderBlockComponent, "co-transaction-header-block", never, { "headerBlockTemplate": { "alias": "headerBlockTemplate"; "required": false; }; "firstBlockTemplate": { "alias": "firstBlockTemplate"; "required": false; }; "secondBlockTemplate": { "alias": "secondBlockTemplate"; "required": false; }; "thirdBlockTemplate": { "alias": "thirdBlockTemplate"; "required": false; }; "hiddenBlockTemplate": { "alias": "hiddenBlockTemplate"; "required": false; }; }, { "headerClick": "headerClick"; }, never, never, false, never>;
|
|
13987
13987
|
}
|
|
13988
13988
|
|
|
13989
13989
|
declare class TransactionHeaderBlockModule {
|
|
@@ -14355,8 +14355,14 @@ declare class TransactionHeaderComponent {
|
|
|
14355
14355
|
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionHeaderComponent, "co-transaction-header", never, { "transaction": { "alias": "transaction"; "required": false; }; }, {}, never, never, false, never>;
|
|
14356
14356
|
}
|
|
14357
14357
|
|
|
14358
|
+
declare enum ContactValueKind {
|
|
14359
|
+
Email = "email",
|
|
14360
|
+
Phone = "phone"
|
|
14361
|
+
}
|
|
14362
|
+
|
|
14358
14363
|
declare class TransactionHeaderRelationComponent extends TransactionHeaderBaseComponent implements OnInit, OnDestroy {
|
|
14359
14364
|
readonly icons: typeof Icon;
|
|
14365
|
+
readonly contactKinds: typeof ContactValueKind;
|
|
14360
14366
|
showClass(): boolean;
|
|
14361
14367
|
firstAddress: string;
|
|
14362
14368
|
firstPostal: string;
|
|
@@ -14378,9 +14384,49 @@ declare class TransactionHeaderRelationComponent extends TransactionHeaderBaseCo
|
|
|
14378
14384
|
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionHeaderRelationComponent, "co-transaction-header-relation", never, {}, {}, never, never, false, never>;
|
|
14379
14385
|
}
|
|
14380
14386
|
|
|
14387
|
+
declare class TransactionHeaderContactComponent implements OnInit, OnDestroy {
|
|
14388
|
+
iconCacheService: IconCacheService;
|
|
14389
|
+
private _changeDetector;
|
|
14390
|
+
value: string;
|
|
14391
|
+
kind: ContactValueKind;
|
|
14392
|
+
showClass(): boolean;
|
|
14393
|
+
readonly icons: typeof Icon;
|
|
14394
|
+
copied: boolean;
|
|
14395
|
+
/**
|
|
14396
|
+
* Href of the `mailto:` / `tel:` link, or `undefined` when the value must render as plain text.
|
|
14397
|
+
* Only touch-only devices get a link: there a tap to call or to mail is what the user wants, and a
|
|
14398
|
+
* long press hands them the operating system's own "copy" menu. With a mouse the same link would
|
|
14399
|
+
* hijack the click and open an unwanted mail client.
|
|
14400
|
+
*/
|
|
14401
|
+
get href(): string;
|
|
14402
|
+
private _touchOnlyDevice;
|
|
14403
|
+
private _copyResetTimeoutId;
|
|
14404
|
+
constructor(iconCacheService: IconCacheService, _changeDetector: ChangeDetectorRef);
|
|
14405
|
+
ngOnInit(): void;
|
|
14406
|
+
ngOnDestroy(): void;
|
|
14407
|
+
handleValueClick(event: MouseEvent): void;
|
|
14408
|
+
handleCopyClick(event: MouseEvent): void;
|
|
14409
|
+
private _isTouchOnlyDevice;
|
|
14410
|
+
private _copyUsingFallback;
|
|
14411
|
+
private _confirmCopy;
|
|
14412
|
+
/**
|
|
14413
|
+
* Fallback for the pages where `navigator.clipboard` is missing — it needs a secure context, so it is
|
|
14414
|
+
* simply absent when iOne is served over plain http.
|
|
14415
|
+
*/
|
|
14416
|
+
private _copyUsingSelection;
|
|
14417
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionHeaderContactComponent, never>;
|
|
14418
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionHeaderContactComponent, "co-transaction-header-contact", never, { "value": { "alias": "value"; "required": false; }; "kind": { "alias": "kind"; "required": false; }; }, {}, never, never, false, never>;
|
|
14419
|
+
}
|
|
14420
|
+
|
|
14421
|
+
declare class TransactionHeaderContactModule {
|
|
14422
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionHeaderContactModule, never>;
|
|
14423
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionHeaderContactModule, [typeof TransactionHeaderContactComponent], [typeof i2.CommonModule, typeof i3.IconModule, typeof PipeModule], [typeof TransactionHeaderContactComponent]>;
|
|
14424
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionHeaderContactModule>;
|
|
14425
|
+
}
|
|
14426
|
+
|
|
14381
14427
|
declare class TransactionHeaderRelationModule {
|
|
14382
14428
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionHeaderRelationModule, never>;
|
|
14383
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionHeaderRelationModule, [typeof TransactionHeaderRelationComponent], [typeof i2.CommonModule, typeof TransactionHeaderBlockModule, typeof CheckoutModule, typeof RelationTypeModule, typeof CoreModule, typeof RelationGeneralModule, typeof RelationAddressModule, typeof RelationAddressesModule, typeof i3.InputCheckboxModule, typeof RelationContactDetailsModule, typeof RelationPreferencesModule, typeof PipeModule, typeof i3.CoDialogModule, typeof TransactionFilterCategoriesModule, typeof i3.ButtonModule, typeof i3.FormModule, typeof TransactionHeaderPopupModule, typeof i3.IconModule, typeof AvatarModule, typeof i3.ScreenConfigurationModule], [typeof TransactionHeaderRelationComponent]>;
|
|
14429
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionHeaderRelationModule, [typeof TransactionHeaderRelationComponent], [typeof i2.CommonModule, typeof TransactionHeaderBlockModule, typeof TransactionHeaderContactModule, typeof CheckoutModule, typeof RelationTypeModule, typeof CoreModule, typeof RelationGeneralModule, typeof RelationAddressModule, typeof RelationAddressesModule, typeof i3.InputCheckboxModule, typeof RelationContactDetailsModule, typeof RelationPreferencesModule, typeof PipeModule, typeof i3.CoDialogModule, typeof TransactionFilterCategoriesModule, typeof i3.ButtonModule, typeof i3.FormModule, typeof TransactionHeaderPopupModule, typeof i3.IconModule, typeof AvatarModule, typeof i3.ScreenConfigurationModule], [typeof TransactionHeaderRelationComponent]>;
|
|
14384
14430
|
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionHeaderRelationModule>;
|
|
14385
14431
|
}
|
|
14386
14432
|
|
|
@@ -17,10 +17,6 @@
|
|
|
17
17
|
border-radius: $tp-transaction-header-block-border-radius $tp-transaction-header-block-border-radius 0 0;
|
|
18
18
|
z-index: 100;
|
|
19
19
|
}
|
|
20
|
-
&.no-pointer {
|
|
21
|
-
pointer-events: none;
|
|
22
|
-
cursor: initial;
|
|
23
|
-
}
|
|
24
20
|
.transaction-header-block-header {
|
|
25
21
|
font-family: $tp-transaction-header-block-label-font-family;
|
|
26
22
|
display: flex;
|
|
@@ -0,0 +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
|
+
}
|
|
@@ -0,0 +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
|
+
}
|
|
@@ -0,0 +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
|
+
}
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
.header-relation-email {
|
|
126
126
|
margin: $tp-co-transaction-header-relation-content-email-margin;
|
|
127
127
|
}
|
|
128
|
-
.text-overflow {
|
|
128
|
+
.text-overflow, .co-transaction-header-contact .transaction-header-contact-value {
|
|
129
129
|
max-height: $tp-co-transaction-header-relation-content-line-height;
|
|
130
130
|
text-overflow: ellipsis;
|
|
131
131
|
overflow: hidden;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@import "./layout";
|
|
3
3
|
@import "./theme";
|
|
4
4
|
@import "../../../core/base/components/transaction-header-block/style/material";
|
|
5
|
+
@import "../../../core/base/components/transaction-header-contact/style/material";
|
|
5
6
|
@import "../../../relation/relation-type/style/material";
|
|
6
7
|
@import "../../../relation/relation-addresses/style/material";
|
|
7
8
|
@import "../../../relation/relation-address/style/material";
|
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
@include export-module('co-transaction-line-interbranch-receive-goods-layout') {
|
|
2
|
-
.co-transaction-line-interbranch-receive-goods {
|
|
3
|
-
.columns-wrapper {
|
|
4
|
-
display: flex;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.co-input-number-picker {
|
|
8
|
-
width: 140px;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.details-column {
|
|
12
|
-
width: 45%;
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
|
|
16
|
-
.transaction-line-totals-amount {
|
|
17
|
-
margin: 5px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
//.amount-number-picker {
|
|
21
|
-
// height: 40px;
|
|
22
|
-
// margin: 5px;
|
|
23
|
-
//}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.header-wrapper {
|
|
27
|
-
display: flex;
|
|
28
|
-
align-items: center;
|
|
29
|
-
justify-content: space-between;
|
|
30
|
-
margin: $tp-co-transaction-line-receive-goods-title-margin;
|
|
31
|
-
|
|
32
|
-
.details-header {
|
|
33
|
-
font-size: $tp-co-transaction-line-receive-goods-title-font-size;
|
|
34
|
-
font-weight: bold;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.divider-wrapper {
|
|
39
|
-
display: flex;
|
|
40
|
-
width: 10%;
|
|
41
|
-
justify-content: center;
|
|
42
|
-
visibility: hidden;
|
|
43
|
-
|
|
44
|
-
.divider {
|
|
45
|
-
border-left: 1px solid;
|
|
46
|
-
border-color: $tp-color-border;
|
|
47
|
-
margin: 5px; // $tp-co-transaction-request-details-input-margin;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.details-input {
|
|
52
|
-
margin: 5px; // $tp-co-transaction-request-details-input-margin;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.location-wrapper {
|
|
56
|
-
position: relative;
|
|
57
|
-
|
|
58
|
-
.co-transaction-button {
|
|
59
|
-
width: auto;
|
|
60
|
-
margin: 5px;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
.disabled {
|
|
64
|
-
cursor: default;
|
|
65
|
-
opacity: 0.6;
|
|
66
|
-
}
|
|
67
|
-
.clickable {
|
|
68
|
-
cursor: pointer;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.warehouse-buttons {
|
|
72
|
-
width: 100%;
|
|
73
|
-
.co-transaction-button {
|
|
74
|
-
width: 100%;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
1
|
+
@include export-module('co-transaction-line-interbranch-receive-goods-layout') {
|
|
2
|
+
.co-transaction-line-interbranch-receive-goods {
|
|
3
|
+
.columns-wrapper {
|
|
4
|
+
display: flex;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.co-input-number-picker {
|
|
8
|
+
width: 140px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.details-column {
|
|
12
|
+
width: 45%;
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
|
|
16
|
+
.transaction-line-totals-amount {
|
|
17
|
+
margin: 5px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
//.amount-number-picker {
|
|
21
|
+
// height: 40px;
|
|
22
|
+
// margin: 5px;
|
|
23
|
+
//}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.header-wrapper {
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
justify-content: space-between;
|
|
30
|
+
margin: $tp-co-transaction-line-receive-goods-title-margin;
|
|
31
|
+
|
|
32
|
+
.details-header {
|
|
33
|
+
font-size: $tp-co-transaction-line-receive-goods-title-font-size;
|
|
34
|
+
font-weight: bold;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.divider-wrapper {
|
|
39
|
+
display: flex;
|
|
40
|
+
width: 10%;
|
|
41
|
+
justify-content: center;
|
|
42
|
+
visibility: hidden;
|
|
43
|
+
|
|
44
|
+
.divider {
|
|
45
|
+
border-left: 1px solid;
|
|
46
|
+
border-color: $tp-color-border;
|
|
47
|
+
margin: 5px; // $tp-co-transaction-request-details-input-margin;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.details-input {
|
|
52
|
+
margin: 5px; // $tp-co-transaction-request-details-input-margin;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.location-wrapper {
|
|
56
|
+
position: relative;
|
|
57
|
+
|
|
58
|
+
.co-transaction-button {
|
|
59
|
+
width: auto;
|
|
60
|
+
margin: 5px;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
.disabled {
|
|
64
|
+
cursor: default;
|
|
65
|
+
opacity: 0.6;
|
|
66
|
+
}
|
|
67
|
+
.clickable {
|
|
68
|
+
cursor: pointer;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.warehouse-buttons {
|
|
72
|
+
width: 100%;
|
|
73
|
+
.co-transaction-button {
|
|
74
|
+
width: 100%;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
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";
|
|
@@ -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";
|