diff --git a/src/app/sections/analytics/components/base/components/fraud-summary-list/components/fraud-summary-item/fraud-summary-item.component.scss b/src/app/sections/analytics/components/base/components/fraud-summary-list/components/fraud-summary-item/fraud-summary-item.component.scss index e9884051..80a17210 100644 --- a/src/app/sections/analytics/components/base/components/fraud-summary-list/components/fraud-summary-item/fraud-summary-item.component.scss +++ b/src/app/sections/analytics/components/base/components/fraud-summary-list/components/fraud-summary-item/fraud-summary-item.component.scss @@ -1,9 +1,5 @@ @import '../fraud-summary-grid'; -.fb-list-item { - height: 48px !important; -} - .fraud-summary-grid { @include fraud-summary-grid; } diff --git a/src/app/sections/groups/components/group-references/components/group-references-list/components/reference-header/reference-header.component.html b/src/app/sections/groups/components/group-references/components/group-references-list/components/reference-header/reference-header.component.html index 60904469..4e006d74 100644 --- a/src/app/sections/groups/components/group-references/components/group-references-list/components/reference-header/reference-header.component.html +++ b/src/app/sections/groups/components/group-references/components/group-references-list/components/reference-header/reference-header.component.html @@ -3,6 +3,6 @@
Group ID
Party ID
Shop ID
-
Updated At
-
+
Updated At
+
diff --git a/src/app/sections/groups/components/group-references/components/group-references-list/components/reference-item/reference-item.component.html b/src/app/sections/groups/components/group-references/components/group-references-list/components/reference-item/reference-item.component.html index b390a200..2488fac5 100644 --- a/src/app/sections/groups/components/group-references/components/group-references-list/components/reference-item/reference-item.component.html +++ b/src/app/sections/groups/components/group-references/components/group-references-list/components/reference-item/reference-item.component.html @@ -3,9 +3,9 @@
{{ reference.groupId }}
{{ reference.partyId }}
{{ reference.shopId }}
-
{{ reference.lastUpdateDate | date : 'yyyy-MM-dd HH:mm:ss' }}
+
{{ reference.lastUpdateDate | date : 'yyyy-MM-dd HH:mm:ss' }}
- diff --git a/src/app/sections/groups/components/group-references/components/group-references-list/components/reference-item/reference-item.component.scss b/src/app/sections/groups/components/group-references/components/group-references-list/components/reference-item/reference-item.component.scss index 21dc2c61..655681f4 100644 --- a/src/app/sections/groups/components/group-references/components/group-references-list/components/reference-item/reference-item.component.scss +++ b/src/app/sections/groups/components/group-references/components/group-references-list/components/reference-item/reference-item.component.scss @@ -1,7 +1,3 @@ -.fb-list-item { - height: 48px !important; -} - .wrap { word-wrap: anywhere; } diff --git a/src/app/sections/groups/components/payments-groups/components/groups-list/components/group-header/group-header.component.html b/src/app/sections/groups/components/payments-groups/components/groups-list/components/group-header/group-header.component.html index d261a34f..db2711ac 100644 --- a/src/app/sections/groups/components/payments-groups/components/groups-list/components/group-header/group-header.component.html +++ b/src/app/sections/groups/components/payments-groups/components/groups-list/components/group-header/group-header.component.html @@ -1,4 +1,4 @@ - +
Name
-
Updated At
+
Updated At
diff --git a/src/app/sections/groups/components/payments-groups/components/groups-list/components/group-item/group-item.component.html b/src/app/sections/groups/components/payments-groups/components/groups-list/components/group-item/group-item.component.html index 844de99c..843f8821 100644 --- a/src/app/sections/groups/components/payments-groups/components/groups-list/components/group-item/group-item.component.html +++ b/src/app/sections/groups/components/payments-groups/components/groups-list/components/group-item/group-item.component.html @@ -1,8 +1,8 @@ -
+
{{ group.groupId }}
-
+
{{ group.priorityTemplates[0].lastUpdateTime | date : 'yyyy-MM-dd HH:mm:ss' }}
diff --git a/src/app/sections/historical-data/components/chargebacks/historical-chargeback-list/components/template-header/historical-data-chargeback-header.component.html b/src/app/sections/historical-data/components/chargebacks/historical-chargeback-list/components/template-header/historical-data-chargeback-header.component.html index 691d3c7c..d0e1a15e 100644 --- a/src/app/sections/historical-data/components/chargebacks/historical-chargeback-list/components/template-header/historical-data-chargeback-header.component.html +++ b/src/app/sections/historical-data/components/chargebacks/historical-chargeback-list/components/template-header/historical-data-chargeback-header.component.html @@ -1,13 +1,13 @@ - -
+ +
-
ID
-
STATUS
+
ID
+
STATUS
PARTY ID
SHOP ID
-
CATEGORY
-
CODE
+
CATEGORY
+
CODE
EMAIL
-
EVENT TIME
+
EVENT TIME
diff --git a/src/app/sections/historical-data/components/chargebacks/historical-chargeback-list/components/template-item/historical-data-chargeback-item.component.html b/src/app/sections/historical-data/components/chargebacks/historical-chargeback-list/components/template-item/historical-data-chargeback-item.component.html index 9cad9b59..d34abd51 100644 --- a/src/app/sections/historical-data/components/chargebacks/historical-chargeback-list/components/template-item/historical-data-chargeback-item.component.html +++ b/src/app/sections/historical-data/components/chargebacks/historical-chargeback-list/components/template-item/historical-data-chargeback-item.component.html @@ -1,19 +1,19 @@ -
-
+
+
-
{{ chargeback.id }}
-
+
{{ chargeback.id }}
+
{{ chargeback.merchantInfo.partyId }}
{{ chargeback.merchantInfo.shopId }}
-
{{ chargeback.category }}
-
{{ chargeback.chargebackCode }}
+
{{ chargeback.category }}
+
{{ chargeback.chargebackCode }}
{{ chargeback.clientInfo.email }}
-
{{ chargeback.eventTime | date : 'yyyy-MM-dd HH:mm:ss' }}
+
{{ chargeback.eventTime | date : 'yyyy-MM-dd HH:mm:ss' }}
diff --git a/src/app/sections/historical-data/components/chargebacks/historical-chargebacks-data.component.html b/src/app/sections/historical-data/components/chargebacks/historical-chargebacks-data.component.html index 578d4963..083bfe67 100644 --- a/src/app/sections/historical-data/components/chargebacks/historical-chargebacks-data.component.html +++ b/src/app/sections/historical-data/components/chargebacks/historical-chargebacks-data.component.html @@ -20,7 +20,7 @@
diff --git a/src/app/sections/historical-data/components/chargebacks/historical-chargebacks-data.component.ts b/src/app/sections/historical-data/components/chargebacks/historical-chargebacks-data.component.ts index f7c9c71d..693cc758 100644 --- a/src/app/sections/historical-data/components/chargebacks/historical-chargebacks-data.component.ts +++ b/src/app/sections/historical-data/components/chargebacks/historical-chargebacks-data.component.ts @@ -32,8 +32,8 @@ export class HistoricalChargebacksDataComponent { this.fetchHistoricalChargebacksService.search(this.initParams(event)); } - fetchMore(event) { - this.fetchHistoricalChargebacksService.fetchMore(this.initParams(event)); + fetchMore() { + this.fetchHistoricalChargebacksService.fetchMore(); } checkChargebacks($event) { diff --git a/src/app/sections/historical-data/components/fraud-payments/historical-fraud-payments-data.component.html b/src/app/sections/historical-data/components/fraud-payments/historical-fraud-payments-data.component.html index 658e9a5e..21c856a5 100644 --- a/src/app/sections/historical-data/components/fraud-payments/historical-fraud-payments-data.component.html +++ b/src/app/sections/historical-data/components/fraud-payments/historical-fraud-payments-data.component.html @@ -11,7 +11,7 @@
diff --git a/src/app/sections/historical-data/components/fraud-payments/historical-fraud-payments-data.component.ts b/src/app/sections/historical-data/components/fraud-payments/historical-fraud-payments-data.component.ts index 296d3ae6..e7eea3d9 100644 --- a/src/app/sections/historical-data/components/fraud-payments/historical-fraud-payments-data.component.ts +++ b/src/app/sections/historical-data/components/fraud-payments/historical-fraud-payments-data.component.ts @@ -24,8 +24,8 @@ export class HistoricalFraudPaymentsDataComponent { this.fetchHistoricalFraudPaymentsService.search(this.initParams(event)); } - fetchMore(event) { - this.fetchHistoricalFraudPaymentsService.fetchMore(this.initParams(event)); + fetchMore() { + this.fetchHistoricalFraudPaymentsService.fetchMore(); } loadFraudPayments() { diff --git a/src/app/sections/historical-data/components/fraud-payments/historical-fraud-payments-list/components/template-header/historical-data-fraud-payments-header.component.html b/src/app/sections/historical-data/components/fraud-payments/historical-fraud-payments-list/components/template-header/historical-data-fraud-payments-header.component.html index b784e8d3..5c777456 100644 --- a/src/app/sections/historical-data/components/fraud-payments/historical-fraud-payments-list/components/template-header/historical-data-fraud-payments-header.component.html +++ b/src/app/sections/historical-data/components/fraud-payments/historical-fraud-payments-list/components/template-header/historical-data-fraud-payments-header.component.html @@ -1,11 +1,11 @@ - -
ID
-
STATUS
+ +
ID
+
STATUS
PARTY ID
SHOP ID
-
AMOUNT
-
CURRENCY
+
AMOUNT
+
CURRENCY
EMAIL
-
TYPE
-
EVENT TIME
+
TYPE
+
EVENT TIME
diff --git a/src/app/sections/historical-data/components/fraud-payments/historical-fraud-payments-list/components/template-item/historical-data-fraud-payments-item.component.html b/src/app/sections/historical-data/components/fraud-payments/historical-fraud-payments-list/components/template-item/historical-data-fraud-payments-item.component.html index f1ff6c05..265231e2 100644 --- a/src/app/sections/historical-data/components/fraud-payments/historical-fraud-payments-list/components/template-item/historical-data-fraud-payments-item.component.html +++ b/src/app/sections/historical-data/components/fraud-payments/historical-fraud-payments-list/components/template-item/historical-data-fraud-payments-item.component.html @@ -1,8 +1,8 @@ -
-
{{ fraudPayment.payment.id }}
-
+
+
{{ fraudPayment.payment.id }}
+
{{ fraudPayment.payment.merchantInfo.partyId }}
{{ fraudPayment.payment.merchantInfo.shopId }}
-
{{ fraudPayment.payment.amount }}
-
{{ fraudPayment.payment.currency }}
+
{{ fraudPayment.payment.amount }}
+
{{ fraudPayment.payment.currency }}
{{ fraudPayment.payment.clientInfo.email }}
-
{{ fraudPayment.type }}
-
+
{{ fraudPayment.type }}
+
{{ fraudPayment.payment.eventTime | date : 'yyyy-MM-dd HH:mm:ss' }}
diff --git a/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-data.component.html b/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-data.component.html index d8c6ed6e..a90c7e4b 100644 --- a/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-data.component.html +++ b/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-data.component.html @@ -8,7 +8,7 @@
diff --git a/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-data.component.ts b/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-data.component.ts index 145abd22..b2d690e4 100644 --- a/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-data.component.ts +++ b/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-data.component.ts @@ -22,8 +22,8 @@ export class HistoricalInspectResultsDataComponent { this.fetchHistoricalInspectResultsService.search(this.initParams(event)); } - fetchMore(event) { - this.fetchHistoricalInspectResultsService.fetchMore(this.initParams(event)); + fetchMore() { + this.fetchHistoricalInspectResultsService.fetchMore(); } private initParams(event) { diff --git a/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-list/components/template-header/historical-data-inspect-results-header.component.html b/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-list/components/template-header/historical-data-inspect-results-header.component.html index b35c08f9..0dd6fee1 100644 --- a/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-list/components/template-header/historical-data-inspect-results-header.component.html +++ b/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-list/components/template-header/historical-data-inspect-results-header.component.html @@ -1,10 +1,10 @@ - -
ID
-
RESULT STATUS
+ +
ID
+
RESULT STATUS
PARTY ID
SHOP ID
EMAIL
TEMPLATE
RULE
-
EVENT TIME
+
EVENT TIME
diff --git a/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-list/components/template-item/historical-data-inspect-results-item.component.html b/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-list/components/template-item/historical-data-inspect-results-item.component.html index a11532bc..51e38768 100644 --- a/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-list/components/template-item/historical-data-inspect-results-item.component.html +++ b/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-list/components/template-item/historical-data-inspect-results-item.component.html @@ -1,8 +1,8 @@ -
-
{{ inspectResult.payment.id }}
-
+
+
{{ inspectResult.payment.id }}
+
-
{{ inspectResult.ruleChecked }}
-
+
{{ inspectResult.payment.eventTime | date : 'yyyy-MM-dd HH:mm:ss' }}
diff --git a/src/app/sections/historical-data/components/payments/historical-payment-list/components/template-header/historical-data-payment-header.component.html b/src/app/sections/historical-data/components/payments/historical-payment-list/components/template-header/historical-data-payment-header.component.html index 6d6ebbfc..a2d37487 100644 --- a/src/app/sections/historical-data/components/payments/historical-payment-list/components/template-header/historical-data-payment-header.component.html +++ b/src/app/sections/historical-data/components/payments/historical-payment-list/components/template-header/historical-data-payment-header.component.html @@ -1,13 +1,13 @@ - -
+ +
-
ID
-
STATUS
+
ID
+
STATUS
PARTY ID
SHOP ID
-
AMOUNT
-
CURRENCY
+
AMOUNT
+
CURRENCY
EMAIL
-
EVENT TIME
+
EVENT TIME
diff --git a/src/app/sections/historical-data/components/payments/historical-payment-list/components/template-item/historical-data-payment-item.component.html b/src/app/sections/historical-data/components/payments/historical-payment-list/components/template-item/historical-data-payment-item.component.html index a9c68044..14343c92 100644 --- a/src/app/sections/historical-data/components/payments/historical-payment-list/components/template-item/historical-data-payment-item.component.html +++ b/src/app/sections/historical-data/components/payments/historical-payment-list/components/template-item/historical-data-payment-item.component.html @@ -1,19 +1,19 @@ -
-
+
+
-
{{ payment.id }}
-
+
{{ payment.id }}
+
{{ payment.merchantInfo.partyId }}
{{ payment.merchantInfo.shopId }}
-
{{ payment.amount }}
-
{{ payment.currency }}
+
{{ payment.amount }}
+
{{ payment.currency }}
{{ payment.clientInfo.email }}
-
{{ payment.eventTime | date : 'yyyy-MM-dd HH:mm:ss' }}
+
{{ payment.eventTime | date : 'yyyy-MM-dd HH:mm:ss' }}
diff --git a/src/app/sections/historical-data/components/payments/historical-payments-data.component.html b/src/app/sections/historical-data/components/payments/historical-payments-data.component.html index f9a58255..ba00cf8c 100644 --- a/src/app/sections/historical-data/components/payments/historical-payments-data.component.html +++ b/src/app/sections/historical-data/components/payments/historical-payments-data.component.html @@ -15,7 +15,7 @@
diff --git a/src/app/sections/historical-data/components/payments/historical-payments-data.component.ts b/src/app/sections/historical-data/components/payments/historical-payments-data.component.ts index ac7c08ef..152f5f26 100644 --- a/src/app/sections/historical-data/components/payments/historical-payments-data.component.ts +++ b/src/app/sections/historical-data/components/payments/historical-payments-data.component.ts @@ -32,8 +32,8 @@ export class HistoricalPaymentsDataComponent { this.fetchPaymentsService.search(this.initParams(event)); } - fetchMore(event) { - this.fetchPaymentsService.fetchMore(this.initParams(event)); + fetchMore() { + this.fetchPaymentsService.fetchMore(); } checkPayments($event) { diff --git a/src/app/sections/historical-data/components/refunds/historical-refunds-data.component.html b/src/app/sections/historical-data/components/refunds/historical-refunds-data.component.html index 68837c2d..edbc2d34 100644 --- a/src/app/sections/historical-data/components/refunds/historical-refunds-data.component.html +++ b/src/app/sections/historical-data/components/refunds/historical-refunds-data.component.html @@ -8,7 +8,7 @@
diff --git a/src/app/sections/historical-data/components/refunds/historical-refunds-data.component.ts b/src/app/sections/historical-data/components/refunds/historical-refunds-data.component.ts index cba0e82a..24398ab3 100644 --- a/src/app/sections/historical-data/components/refunds/historical-refunds-data.component.ts +++ b/src/app/sections/historical-data/components/refunds/historical-refunds-data.component.ts @@ -22,8 +22,8 @@ export class HistoricalRefundsDataComponent { this.fetchPaymentsSefetchHistoricalRefundsServicevice.search(this.initParams(event)); } - fetchMore(event) { - this.fetchPaymentsSefetchHistoricalRefundsServicevice.fetchMore(this.initParams(event)); + fetchMore() { + this.fetchPaymentsSefetchHistoricalRefundsServicevice.fetchMore(); } private initParams(event) { diff --git a/src/app/sections/historical-data/components/refunds/historical-refunds-list/components/template-header/historical-data-refunds-header.component.html b/src/app/sections/historical-data/components/refunds/historical-refunds-list/components/template-header/historical-data-refunds-header.component.html index f2a6ef59..c7a1d124 100644 --- a/src/app/sections/historical-data/components/refunds/historical-refunds-list/components/template-header/historical-data-refunds-header.component.html +++ b/src/app/sections/historical-data/components/refunds/historical-refunds-list/components/template-header/historical-data-refunds-header.component.html @@ -1,10 +1,10 @@ - -
ID
-
STATUS
+ +
ID
+
STATUS
PARTY ID
SHOP ID
-
AMOUNT
-
CURRENCY
+
AMOUNT
+
CURRENCY
EMAIL
-
EVENT TIME
+
EVENT TIME
diff --git a/src/app/sections/historical-data/components/refunds/historical-refunds-list/components/template-item/historical-data-refunds-item.component.html b/src/app/sections/historical-data/components/refunds/historical-refunds-list/components/template-item/historical-data-refunds-item.component.html index 9838b86f..a479c374 100644 --- a/src/app/sections/historical-data/components/refunds/historical-refunds-list/components/template-item/historical-data-refunds-item.component.html +++ b/src/app/sections/historical-data/components/refunds/historical-refunds-list/components/template-item/historical-data-refunds-item.component.html @@ -1,16 +1,16 @@ -
-
{{ refund.id }}
-
+
+
{{ refund.id }}
+
{{ refund.merchantInfo.partyId }}
{{ refund.merchantInfo.shopId }}
-
{{ refund.amount }}
-
{{ refund.currency }}
+
{{ refund.amount }}
+
{{ refund.currency }}
{{ refund.clientInfo.email }}
-
{{ refund.eventTime | date : 'yyyy-MM-dd HH:mm:ss' }}
+
{{ refund.eventTime | date : 'yyyy-MM-dd HH:mm:ss' }}
diff --git a/src/app/sections/lists-candidates-batches/components/approve-lists-raws/components/candidates-list/components/candidates-batches-table-header/candidates-batches-table-header.component.html b/src/app/sections/lists-candidates-batches/components/approve-lists-raws/components/candidates-list/components/candidates-batches-table-header/candidates-batches-table-header.component.html index 935870cb..d9c8b75b 100644 --- a/src/app/sections/lists-candidates-batches/components/approve-lists-raws/components/candidates-list/components/candidates-batches-table-header/candidates-batches-table-header.component.html +++ b/src/app/sections/lists-candidates-batches/components/approve-lists-raws/components/candidates-list/components/candidates-batches-table-header/candidates-batches-table-header.component.html @@ -1,5 +1,5 @@ -
+
List Type
diff --git a/src/app/sections/lists-candidates-batches/components/approve-lists-raws/components/candidates-list/components/candidates-batches-table-item/candidates-batches-table-item.component.html b/src/app/sections/lists-candidates-batches/components/approve-lists-raws/components/candidates-list/components/candidates-batches-table-item/candidates-batches-table-item.component.html index 1eeaf056..e28a2da8 100644 --- a/src/app/sections/lists-candidates-batches/components/approve-lists-raws/components/candidates-list/components/candidates-batches-table-item/candidates-batches-table-item.component.html +++ b/src/app/sections/lists-candidates-batches/components/approve-lists-raws/components/candidates-list/components/candidates-batches-table-item/candidates-batches-table-item.component.html @@ -1,6 +1,6 @@
-
+
{{ candidate.listType }}
diff --git a/src/app/sections/lists/components/candidates/components/candidates-list/components/candidate-header/candidate-header.component.html b/src/app/sections/lists/components/candidates/components/candidates-list/components/candidate-header/candidate-header.component.html index 62a9b831..7a6b435c 100644 --- a/src/app/sections/lists/components/candidates/components/candidates-list/components/candidate-header/candidate-header.component.html +++ b/src/app/sections/lists/components/candidates/components/candidates-list/components/candidate-header/candidate-header.component.html @@ -1,6 +1,6 @@ - +
Source
Size
Fields
-
Updated At
+
Updated At
diff --git a/src/app/sections/lists/components/candidates/components/candidates-list/components/candidate-item/candidate-item.component.html b/src/app/sections/lists/components/candidates/components/candidates-list/components/candidate-item/candidate-item.component.html index d26e986b..4276646e 100644 --- a/src/app/sections/lists/components/candidates/components/candidates-list/components/candidate-item/candidate-item.component.html +++ b/src/app/sections/lists/components/candidates/components/candidates-list/components/candidate-item/candidate-item.component.html @@ -1,10 +1,10 @@ -
+
{{ candidate.source }}
{{ candidate.size }}
{{ candidate.fields }}
-
+
{{ candidate.createdAt | date : 'yyyy-MM-dd HH:mm:ss' }}
diff --git a/src/app/sections/notifications/components/channels/channels-list/components/channel-header/channel-header.component.html b/src/app/sections/notifications/components/channels/channels-list/components/channel-header/channel-header.component.html index f92f5551..9ba64ff7 100644 --- a/src/app/sections/notifications/components/channels/channels-list/components/channel-header/channel-header.component.html +++ b/src/app/sections/notifications/components/channels/channels-list/components/channel-header/channel-header.component.html @@ -2,6 +2,6 @@
NAME
TYPE
DESTINATION
-
CREATED AT
-
+
CREATED AT
+
diff --git a/src/app/sections/notifications/components/channels/channels-list/components/channel-item/channel-item.component.html b/src/app/sections/notifications/components/channels/channels-list/components/channel-item/channel-item.component.html index 6a51587e..127389bb 100644 --- a/src/app/sections/notifications/components/channels/channels-list/components/channel-item/channel-item.component.html +++ b/src/app/sections/notifications/components/channels/channels-list/components/channel-item/channel-item.component.html @@ -2,9 +2,9 @@
{{ channel.name }}
{{ channel.type }}
{{ channel.destination }}
-
{{ channel.createdAt | date : 'yyyy-MM-dd HH:mm:ss' }}
+
{{ channel.createdAt | date : 'yyyy-MM-dd HH:mm:ss' }}
- diff --git a/src/app/sections/notifications/components/channels/channels-list/components/channel-item/channel-item.component.scss b/src/app/sections/notifications/components/channels/channels-list/components/channel-item/channel-item.component.scss index 21dc2c61..655681f4 100644 --- a/src/app/sections/notifications/components/channels/channels-list/components/channel-item/channel-item.component.scss +++ b/src/app/sections/notifications/components/channels/channels-list/components/channel-item/channel-item.component.scss @@ -1,7 +1,3 @@ -.fb-list-item { - height: 48px !important; -} - .wrap { word-wrap: anywhere; } diff --git a/src/app/sections/notifications/components/periodical/periodical-notifications-list/components/notification-header/notification-header.component.html b/src/app/sections/notifications/components/periodical/periodical-notifications-list/components/notification-header/notification-header.component.html index a42a095f..010f2608 100644 --- a/src/app/sections/notifications/components/periodical/periodical-notifications-list/components/notification-header/notification-header.component.html +++ b/src/app/sections/notifications/components/periodical/periodical-notifications-list/components/notification-header/notification-header.component.html @@ -5,7 +5,7 @@
CHANNEL
FREQUENCY
STATUS
-
SUBJECT
-
CREATED
-
+
SUBJECT
+
CREATED
+
diff --git a/src/app/sections/notifications/components/periodical/periodical-notifications-list/components/notification-item/notification-item.component.html b/src/app/sections/notifications/components/periodical/periodical-notifications-list/components/notification-item/notification-item.component.html index 35a7f91f..c556f8b4 100644 --- a/src/app/sections/notifications/components/periodical/periodical-notifications-list/components/notification-item/notification-item.component.html +++ b/src/app/sections/notifications/components/periodical/periodical-notifications-list/components/notification-item/notification-item.component.html @@ -7,10 +7,10 @@
-
{{ notification.subject }}
-
{{ notification.createdAt | date : 'yyyy-MM-dd HH:mm:ss' }}
+
{{ notification.subject }}
+
{{ notification.createdAt | date : 'yyyy-MM-dd HH:mm:ss' }}
- diff --git a/src/app/sections/notifications/components/periodical/periodical-notifications-list/components/notification-item/notification-item.component.scss b/src/app/sections/notifications/components/periodical/periodical-notifications-list/components/notification-item/notification-item.component.scss index 21dc2c61..655681f4 100644 --- a/src/app/sections/notifications/components/periodical/periodical-notifications-list/components/notification-item/notification-item.component.scss +++ b/src/app/sections/notifications/components/periodical/periodical-notifications-list/components/notification-item/notification-item.component.scss @@ -1,7 +1,3 @@ -.fb-list-item { - height: 48px !important; -} - .wrap { word-wrap: anywhere; } diff --git a/src/app/sections/templates/components/payment-templates/payment-templates-list/components/template-header/template-header.component.html b/src/app/sections/templates/components/payment-templates/payment-templates-list/components/template-header/template-header.component.html index c4afdce1..95f0b9c7 100644 --- a/src/app/sections/templates/components/payment-templates/payment-templates-list/components/template-header/template-header.component.html +++ b/src/app/sections/templates/components/payment-templates/payment-templates-list/components/template-header/template-header.component.html @@ -1,4 +1,4 @@ - +
ID
Updated At
diff --git a/src/app/sections/templates/components/payment-templates/payment-templates-list/components/template-item/template-item.component.html b/src/app/sections/templates/components/payment-templates/payment-templates-list/components/template-item/template-item.component.html index 0ae225b5..eaf838aa 100644 --- a/src/app/sections/templates/components/payment-templates/payment-templates-list/components/template-item/template-item.component.html +++ b/src/app/sections/templates/components/payment-templates/payment-templates-list/components/template-item/template-item.component.html @@ -1,6 +1,6 @@ -
+
{{ template.id }}
{{ template.lastUpdateDate | date : 'yyyy-MM-dd HH:mm:ss' }}
diff --git a/src/app/sections/testing/components/emulation/template/emulation-template.component.html b/src/app/sections/testing/components/emulation/template/emulation-template.component.html index 48953d3e..13ef3238 100644 --- a/src/app/sections/testing/components/emulation/template/emulation-template.component.html +++ b/src/app/sections/testing/components/emulation/template/emulation-template.component.html @@ -16,7 +16,7 @@
- +
{{ element.id }}{{ element.id }} diff --git a/src/app/sections/testing/components/payment-data-sets/payment-data-sets-list/components/data-set-header/payment-data-set-header.component.html b/src/app/sections/testing/components/payment-data-sets/payment-data-sets-list/components/data-set-header/payment-data-set-header.component.html index ff5b9470..a61780a4 100644 --- a/src/app/sections/testing/components/payment-data-sets/payment-data-sets-list/components/data-set-header/payment-data-set-header.component.html +++ b/src/app/sections/testing/components/payment-data-sets/payment-data-sets-list/components/data-set-header/payment-data-set-header.component.html @@ -1,5 +1,5 @@ - -
ID
+ +
ID
NAME
LAST MODIFICATION BY
LAST MODIFICATION TIME
diff --git a/src/app/sections/testing/components/payment-data-sets/payment-data-sets-list/components/data-set-item/payment-data-set-item.component.html b/src/app/sections/testing/components/payment-data-sets/payment-data-sets-list/components/data-set-item/payment-data-set-item.component.html index 183d82c5..1158967b 100644 --- a/src/app/sections/testing/components/payment-data-sets/payment-data-sets-list/components/data-set-item/payment-data-set-item.component.html +++ b/src/app/sections/testing/components/payment-data-sets/payment-data-sets-list/components/data-set-item/payment-data-set-item.component.html @@ -1,7 +1,7 @@ -
-
{{ dataSet.id }}
+
+
{{ dataSet.id }}
{{ dataSet.name }}
{{ dataSet.lastModificationInitiator }}
{{ dataSet.lastModificationAt | date : 'yyyy-MM-dd HH:mm:ss' }}
diff --git a/src/app/shared/components/charts/bar-chart/bar-chart.component.spec.ts b/src/app/shared/components/charts/bar-chart/bar-chart.component.spec.ts index f8ee79a0..cdd4404b 100644 --- a/src/app/shared/components/charts/bar-chart/bar-chart.component.spec.ts +++ b/src/app/shared/components/charts/bar-chart/bar-chart.component.spec.ts @@ -8,4 +8,16 @@ describe('BarChartComponent', () => { expect(component.config).toEqual(DEFAULT_CONFIG); expect(component.config).not.toBe(DEFAULT_CONFIG); }); + + it('zooms by selection without reacting to the mouse wheel', () => { + const component = new BarChartComponent(); + + expect(component.config.chart.zoom).toEqual( + jasmine.objectContaining({ + enabled: true, + type: 'x', + allowMouseWheelZoom: false, + }) + ); + }); }); diff --git a/src/app/shared/components/charts/bar-chart/default-config.ts b/src/app/shared/components/charts/bar-chart/default-config.ts index ac91a3b4..dd37c802 100644 --- a/src/app/shared/components/charts/bar-chart/default-config.ts +++ b/src/app/shared/components/charts/bar-chart/default-config.ts @@ -7,6 +7,10 @@ import { formatAmount } from '../format-amount'; const COLUMN_WIDTH = '30%'; +type ZoomOptionsWithMouseWheelControl = NonNullable['zoom']> & { + allowMouseWheelZoom: boolean; +}; + export const DEFAULT_CONFIG: ApexOptions = { chart: { type: 'bar', @@ -16,6 +20,11 @@ export const DEFAULT_CONFIG: ApexOptions = { toolbar: { show: false, }, + zoom: { + enabled: true, + type: 'x', + allowMouseWheelZoom: false, + } as ZoomOptionsWithMouseWheelControl, animations: DEFAULT_ANIMATION, }, dataLabels: { diff --git a/src/app/shared/components/list-header/list-header.component.html b/src/app/shared/components/list-header/list-header.component.html index e7591dd6..9badb3ee 100644 --- a/src/app/shared/components/list-header/list-header.component.html +++ b/src/app/shared/components/list-header/list-header.component.html @@ -1,3 +1,9 @@ - + diff --git a/src/app/shared/components/list-header/list-header.component.scss b/src/app/shared/components/list-header/list-header.component.scss index 58546749..fca6abef 100644 --- a/src/app/shared/components/list-header/list-header.component.scss +++ b/src/app/shared/components/list-header/list-header.component.scss @@ -6,3 +6,7 @@ mat-card.mat-mdc-card.mdc-card.list-header { max-height: 48px; } + +mat-card.mat-mdc-card.mdc-card.list-header.reserve-toggle-space { + padding-right: 32px !important; +} diff --git a/src/app/shared/components/list-header/list-header.component.ts b/src/app/shared/components/list-header/list-header.component.ts index 43928842..c5b7c83e 100644 --- a/src/app/shared/components/list-header/list-header.component.ts +++ b/src/app/shared/components/list-header/list-header.component.ts @@ -1,4 +1,4 @@ -import { Component, Inject } from '@angular/core'; +import { Component, Inject, Input } from '@angular/core'; import { LAYOUT_GAP_M } from '../../../tokens'; @@ -8,5 +8,8 @@ import { LAYOUT_GAP_M } from '../../../tokens'; styleUrls: ['list-header.component.scss'], }) export class ListHeaderComponent { + @Input() + reserveToggleSpace = false; + constructor(@Inject(LAYOUT_GAP_M) public layoutGapM: string) {} } diff --git a/src/app/shared/components/payment-references-list/components/reference-header/reference-header.component.html b/src/app/shared/components/payment-references-list/components/reference-header/reference-header.component.html index d6917813..5cc25108 100644 --- a/src/app/shared/components/payment-references-list/components/reference-header/reference-header.component.html +++ b/src/app/shared/components/payment-references-list/components/reference-header/reference-header.component.html @@ -4,5 +4,5 @@
Party ID
Shop ID
Updated At
-
+
diff --git a/src/app/shared/components/payment-references-list/components/reference-item/reference-item.component.html b/src/app/shared/components/payment-references-list/components/reference-item/reference-item.component.html index cfb8fab5..40ee26c3 100644 --- a/src/app/shared/components/payment-references-list/components/reference-item/reference-item.component.html +++ b/src/app/shared/components/payment-references-list/components/reference-item/reference-item.component.html @@ -5,7 +5,7 @@
{{ reference.shopId }}
{{ reference.lastUpdateDate | date : 'yyyy-MM-dd HH:mm:ss' }}
- diff --git a/src/app/shared/components/payment-references-list/components/reference-item/reference-item.component.scss b/src/app/shared/components/payment-references-list/components/reference-item/reference-item.component.scss index 21dc2c61..655681f4 100644 --- a/src/app/shared/components/payment-references-list/components/reference-item/reference-item.component.scss +++ b/src/app/shared/components/payment-references-list/components/reference-item/reference-item.component.scss @@ -1,7 +1,3 @@ -.fb-list-item { - height: 48px !important; -} - .wrap { word-wrap: anywhere; } diff --git a/src/app/shared/components/testing-data-set-list/components/data-set-payment-header/data-set-payment-header.component.html b/src/app/shared/components/testing-data-set-list/components/data-set-payment-header/data-set-payment-header.component.html index a03a864d..653b8f38 100644 --- a/src/app/shared/components/testing-data-set-list/components/data-set-payment-header/data-set-payment-header.component.html +++ b/src/app/shared/components/testing-data-set-list/components/data-set-payment-header/data-set-payment-header.component.html @@ -1,4 +1,4 @@ - +
ID
RESULT STATUS
RULE CHECKED
diff --git a/src/app/shared/components/testing-data-set-list/components/data-set-payment-item/data-set-payment-item.component.html b/src/app/shared/components/testing-data-set-list/components/data-set-payment-item/data-set-payment-item.component.html index 3c5b3600..48feaf2d 100644 --- a/src/app/shared/components/testing-data-set-list/components/data-set-payment-item/data-set-payment-item.component.html +++ b/src/app/shared/components/testing-data-set-list/components/data-set-payment-item/data-set-payment-item.component.html @@ -1,6 +1,6 @@ -
+
{{ checkedDataSetRow.payment.paymentId }}
Party id
Shop id
Value
-
Inserted At
+
Inserted At
diff --git a/src/app/shared/components/wb-list/components/wb-rows-list/components/wb-rows-item/wb-rows-item.component.html b/src/app/shared/components/wb-list/components/wb-rows-list/components/wb-rows-item/wb-rows-item.component.html index 89cf2b84..8ae975c1 100644 --- a/src/app/shared/components/wb-list/components/wb-rows-list/components/wb-rows-item/wb-rows-item.component.html +++ b/src/app/shared/components/wb-list/components/wb-rows-list/components/wb-rows-item/wb-rows-item.component.html @@ -3,9 +3,9 @@
{{ listRecord.partyId }}
{{ listRecord.shopId }}
{{ listRecord.value }}
-
{{ listRecord.insertTime | date : 'yyyy-MM-dd HH:mm:ss' }}
+
{{ listRecord.insertTime | date : 'yyyy-MM-dd HH:mm:ss' }}
- diff --git a/src/app/shared/components/wb-list/components/wb-rows-list/components/wb-rows-item/wb-rows-item.component.scss b/src/app/shared/components/wb-list/components/wb-rows-list/components/wb-rows-item/wb-rows-item.component.scss index 21dc2c61..655681f4 100644 --- a/src/app/shared/components/wb-list/components/wb-rows-list/components/wb-rows-item/wb-rows-item.component.scss +++ b/src/app/shared/components/wb-list/components/wb-rows-list/components/wb-rows-item/wb-rows-item.component.scss @@ -1,7 +1,3 @@ -.fb-list-item { - height: 48px !important; -} - .wrap { word-wrap: anywhere; } diff --git a/src/app/shared/components/wb-list/services/fetch-wb-list.service.spec.ts b/src/app/shared/components/wb-list/services/fetch-wb-list.service.spec.ts new file mode 100644 index 00000000..c4f60ee5 --- /dev/null +++ b/src/app/shared/components/wb-list/services/fetch-wb-list.service.spec.ts @@ -0,0 +1,29 @@ +import { of } from 'rxjs'; + +import { FetchWbListService } from './fetch-wb-list.service'; +import { PaymentListsService } from '../../../../api/payments/lists'; +import { ConfigService } from '../../../../config'; +import { ListType } from '../../../constants/list-type'; + +describe('FetchWbListService', () => { + it('uses the last record id and insert time as the next page cursor', () => { + const paymentListsService = { + findListRows: jasmine.createSpy().and.returnValue(of({ result: [], count: 0 })), + } as unknown as PaymentListsService; + const configService = { pageSize: 100 } as ConfigService; + const service = new FetchWbListService(paymentListsService, configService); + const lastRecord = { + id: 'last-id', + insertTime: new Date('2026-08-21T10:00:00'), + }; + + service['fetch']({ listType: ListType.Black, listNames: ['email'] }, lastRecord.id, lastRecord).subscribe(); + + expect(paymentListsService.findListRows).toHaveBeenCalledWith( + jasmine.objectContaining({ + lastId: lastRecord.id, + sortFieldValue: String(lastRecord.insertTime), + }) + ); + }); +}); diff --git a/src/app/shared/components/wb-list/services/fetch-wb-list.service.ts b/src/app/shared/components/wb-list/services/fetch-wb-list.service.ts index b9397767..c8ce1a38 100644 --- a/src/app/shared/components/wb-list/services/fetch-wb-list.service.ts +++ b/src/app/shared/components/wb-list/services/fetch-wb-list.service.ts @@ -29,8 +29,7 @@ export class FetchWbListService extends PartialFetcher> { const { searchValue, sortOrder, pageSize, listType, listNames } = params; return this.paymentListsService.findListRows({ @@ -38,8 +37,9 @@ export class FetchWbListService extends PartialFetcher = (params: P, lastId?: string) => Observable>; +export type FetchFn = (params: P, lastId?: string, lastItem?: R) => Observable>; diff --git a/src/app/shared/utils/partial-fetcher/operators/scan-search-result.spec.ts b/src/app/shared/utils/partial-fetcher/operators/scan-search-result.spec.ts new file mode 100644 index 00000000..afa327b4 --- /dev/null +++ b/src/app/shared/utils/partial-fetcher/operators/scan-search-result.spec.ts @@ -0,0 +1,30 @@ +import { of, Subject } from 'rxjs'; + +import { FetchAction } from '../fetch-action'; +import { FetchFn } from '../fetch-fn'; +import { scanFetchResult } from './scan-search-result'; + +interface Item { + id: string; + insertTime: string; +} + +describe('scanFetchResult', () => { + it('passes the last id and item when fetching the next page', () => { + const params = { searchValue: 'value' }; + const firstPage = [{ id: 'first-id', insertTime: '2026-08-21T10:00:00' }]; + const secondPage = [{ id: 'second-id', insertTime: '2026-08-21T10:01:00' }]; + const calls: Parameters>[] = []; + const fetch: FetchFn = (...args) => { + calls.push(args); + return of({ result: calls.length === 1 ? firstPage : secondPage, count: 2 }); + }; + const actions$ = new Subject>(); + + actions$.pipe(scanFetchResult(fetch)).subscribe(); + actions$.next({ type: 'search', value: params }); + actions$.next({ type: 'fetchMore', value: params }); + + expect(calls[1]).toEqual([params, firstPage[0].id, firstPage[0]]); + }); +}); diff --git a/src/app/shared/utils/partial-fetcher/operators/scan-search-result.ts b/src/app/shared/utils/partial-fetcher/operators/scan-search-result.ts index 0cda3d89..c0f13c41 100644 --- a/src/app/shared/utils/partial-fetcher/operators/scan-search-result.ts +++ b/src/app/shared/utils/partial-fetcher/operators/scan-search-result.ts @@ -26,9 +26,10 @@ export const scanFetchResult = switch (type) { case 'search': return fn(value).pipe(first(), handleFetchResultError()); - case 'fetchMore': + case 'fetchMore': { + const lastItem = result[result.length - 1]; // eslint-disable-next-line @typescript-eslint/no-explicit-any - return fn(value, (result[result.length - 1] as any).id).pipe( + return fn(value, (lastItem as any).id, lastItem).pipe( first(), map((r) => ({ result: result.concat(r.result), @@ -36,6 +37,7 @@ export const scanFetchResult = })), handleFetchResultError(result, count) ); + } } }, { result: [] }, diff --git a/src/app/styles/overrides/_mat-card.scss b/src/app/styles/overrides/_mat-card.scss index 399a9fcf..74a025d8 100644 --- a/src/app/styles/overrides/_mat-card.scss +++ b/src/app/styles/overrides/_mat-card.scss @@ -3,4 +3,12 @@ .mat-mdc-card { padding: 24px !important; } + + .mat-card.fb-list-item, + .mat-mdc-card.fb-list-item { + min-height: 48px; + height: auto !important; + padding: 12px 24px !important; + align-items: center; + } }