Skip to content

Commit

Permalink
chore(deps): update dependency prettier to ~3.3.0 (#19049)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Giancarlo Cordero Ortiz <[email protected]>
Co-authored-by: Giancarlo Cordero Ortiz <[email protected]>
  • Loading branch information
3 people authored Sep 24, 2024
1 parent 19dcb8f commit a21fa2c
Show file tree
Hide file tree
Showing 171 changed files with 429 additions and 427 deletions.
4 changes: 2 additions & 2 deletions core-libs/setup/ssr/optimized-engine/optimized-ssr-engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ export class OptimizedSsrEngine {
*/
protected getTimeout(request: Request): number {
return this.getRenderingStrategy(request) === RenderingStrategy.ALWAYS_SSR
? this.ssrOptions?.forcedSsrTimeout ?? 60000
: this.ssrOptions?.timeout ?? 0;
? (this.ssrOptions?.forcedSsrTimeout ?? 60000)
: (this.ssrOptions?.timeout ?? 0);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[attr.aria-label]="'asm.bindCart.assignCartId' | cxTranslate"
[ngClass]="{
'cx-asm-assignCart': !isShowStyleChangesInASM,
'cx-asm-assignCart-input-show-no-button': isShowStyleChangesInASM
'cx-asm-assignCart-input-show-no-button': isShowStyleChangesInASM,
}"
[class.active]="valid$ | async"
(click)="cartIdElement.focus()"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
| cxTranslate
: {
customerA: curCustomerName,
customerB: switchCustomerName
customerB: switchCustomerName,
}
}}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<cx-form-errors
*cxFeature="'formErrorsDescriptiveMessages'"
[translationParams]="{
label: 'asm.loginForm.userId.label' | cxTranslate
label: 'asm.loginForm.userId.label' | cxTranslate,
}"
[control]="csAgentLoginForm.get('userId')"
></cx-form-errors>
Expand All @@ -45,7 +45,7 @@
<cx-form-errors
*cxFeature="'formErrorsDescriptiveMessages'"
[translationParams]="{
label: 'asm.loginForm.password.label' | cxTranslate
label: 'asm.loginForm.password.label' | cxTranslate,
}"
[control]="csAgentLoginForm.get('password')"
></cx-form-errors>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h2 id="asm-customer-list-title" class="title modal-title">
*ngTemplateOutlet="
total;
context: {
customerSearchPage: customerSearchPage$ | async
customerSearchPage: customerSearchPage$ | async,
}
"
>
Expand Down Expand Up @@ -141,7 +141,7 @@ <h2 id="asm-customer-list-title" class="title modal-title">
context: {
customerEntry: customerEntry,
column: column,
showHeader: false
showHeader: false,
}
"
></ng-template>
Expand All @@ -165,7 +165,7 @@ <h2 id="asm-customer-list-title" class="title modal-title">
context: {
customerEntry: customerEntry,
column: column,
showHeader: true
showHeader: true,
}
"
></ng-template>
Expand All @@ -186,7 +186,7 @@ <h2 id="asm-customer-list-title" class="title modal-title">
context: {
customerEntry: customerEntry,
column: column,
showHeader: true
showHeader: true,
}
"
></ng-template>
Expand All @@ -209,7 +209,7 @@ <h2 id="asm-customer-list-title" class="title modal-title">
context: {
customerEntry: customerEntry,
column: column,
showHeader: true
showHeader: true,
}
"
></ng-template>
Expand Down Expand Up @@ -407,7 +407,7 @@ <h2 id="asm-customer-list-title" class="title modal-title">
placeholder="{{ 'asm.customerList.tableSort.sortBy' | cxTranslate }}"
[cxNgSelectA11y]="{
ariaLabel: sortCode,
ariaControls: 'asm-cusomer-list-table'
ariaControls: 'asm-cusomer-list-table',
}"
></cx-sorting>
</label>
Expand Down Expand Up @@ -458,7 +458,7 @@ <h2 id="asm-customer-list-title" class="title modal-title">
bindValue="uid"
[cxNgSelectA11y]="{
ariaLabel: getGroupName(customerListsPage, selectedUserGroupId),
ariaControls: 'asm-cusomer-list-table'
ariaControls: 'asm-cusomer-list-table',
}"
>
</ng-select>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
<cx-form-errors
*cxFeature="'formErrorsDescriptiveMessages'"
[translationParams]="{
label: 'asm.customerSearch.searchTerm.label' | cxTranslate
label: 'asm.customerSearch.searchTerm.label' | cxTranslate,
}"
[control]="customerSelectionForm.get('searchTerm')"
></cx-form-errors>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ <h4 class="cx-asm-customer-360-table-heading-text">
column.headerTextAlign === CustomerTableTextAlign.START,
'text-center':
column.headerTextAlign === CustomerTableTextAlign.CENTER,
'text-end': column.headerTextAlign === CustomerTableTextAlign.END
'text-end': column.headerTextAlign === CustomerTableTextAlign.END,
}"
(click)="setSelectedTabIndex(columnIndex, 0)"
>
Expand Down Expand Up @@ -96,7 +96,7 @@ <h4 class="cx-asm-customer-360-table-heading-text">
[ngClass]="{
'text-start': column.textAlign === CustomerTableTextAlign.START,
'text-center': column.textAlign === CustomerTableTextAlign.CENTER,
'text-end': column.textAlign === CustomerTableTextAlign.END
'text-end': column.textAlign === CustomerTableTextAlign.END,
}"
>
<ng-container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ <h3 id="asm-customer-360-title" class="modal-title">
date:
customerOverview.signedUpAt
| cxDate
: asmCustomer360Config?.asmCustomer360?.dateFormat
: asmCustomer360Config?.asmCustomer360?.dateFormat,
}
}}
</div>
Expand Down Expand Up @@ -120,7 +120,7 @@ <h3 id="asm-customer-360-title" class="modal-title">
(click)="
navigateTo({
cxRoute: 'orderDetails',
params: { code: customerOverview.latestOrderCode }
params: { code: customerOverview.latestOrderCode },
})
"
>
Expand All @@ -146,7 +146,7 @@ <h3 id="asm-customer-360-title" class="modal-title">
(click)="
navigateTo({
cxRoute: 'supportTicketDetails',
params: { ticketCode: customerOverview.latestOpenedTicketId }
params: { ticketCode: customerOverview.latestOpenedTicketId },
})
"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
: {
initial: 1,
end: storeData.pagination?.pageSize,
total: storeData.pagination?.totalResults
total: storeData.pagination?.totalResults,
}
}}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ export class AsmCustomer360ProductReviewsComponent implements OnInit {

protected getLongDate(date: Date) {
return date
? this.datePipe.transform(
? (this.datePipe.transform(
date,
this.asmCustomer360Config?.asmCustomer360?.dateTimeFormat
) ?? ''
) ?? '')
: '';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
(click)="
sectionContext.navigate$.next({
cxRoute: 'savedCartsDetails',
params: { savedCartId: savedCart?.code }
params: { savedCartId: savedCart?.code },
})
"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<cx-form-errors
*cxFeature="'formErrorsDescriptiveMessages'"
[translationParams]="{
label: 'voucher.placeholder' | cxTranslate
label: 'voucher.placeholder' | cxTranslate,
}"
[control]="couponForm.get('couponCode')"
></cx-form-errors>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h2 class="cx-total">
[promotionLocation]="promotionLocation"
[options]="{
isSaveForLater: false,
optionalBtn: saveForLaterBtn
optionalBtn: saveForLaterBtn,
}"
></cx-cart-item-list>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
role="columnheader"
[cxOutlet]="CartOutlets.CPQ_QUOTE"
[cxOutletContext]="{
items: item
items: item,
}"
></ng-template>
</div>
Expand Down Expand Up @@ -95,7 +95,7 @@
role="cell"
[cxOutlet]="CartOutlets.CPQ_QUOTE_MODULE"
[cxOutletContext]="{
items: item
items: item,
}"
></ng-template>

Expand Down Expand Up @@ -154,8 +154,8 @@
$implicit: {
loading: quantityControl.disabled,
item: this.item,
options: this.options
}
options: this.options,
},
}
"
></ng-container>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
*ngTemplateOutlet="
options.optionalBtn;
context: {
$implicit: { loading: quantityControl.disabled, item: item }
$implicit: { loading: quantityControl.disabled, item: item },
}
"
></ng-container>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
[promotionLocation]="CartLocation.SaveForLater"
[options]="{
isSaveForLater: true,
optionalBtn: moveToCartBtn
optionalBtn: moveToCartBtn,
}"
></cx-cart-item-list>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
'validation.' + cartModification.statusCode
| cxTranslate
: {
quantity: cartModification.quantityAdded
quantity: cartModification.quantityAdded,
}
}}
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
<cx-form-errors
*cxFeature="'formErrorsDescriptiveMessages'"
[translationParams]="{
label: 'quickOrderCartForm.productCodeLabel' | cxTranslate
label: 'quickOrderCartForm.productCodeLabel' | cxTranslate,
}"
[control]="quickOrderForm.get('productCode')"
></cx-form-errors>
Expand All @@ -155,7 +155,7 @@
<cx-form-errors
*cxFeature="'formErrorsDescriptiveMessages'"
[translationParams]="{
label: 'quickOrderCartForm.quantityLabel' | cxTranslate
label: 'quickOrderCartForm.quantityLabel' | cxTranslate,
}"
[control]="quickOrderForm.get('quantity')"
></cx-form-errors>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
'quickOrderForm.id'
| cxTranslate
: {
id: product.code
id: product.code,
}
}}
</span>
Expand Down Expand Up @@ -153,7 +153,7 @@
'quickOrderForm.id'
| cxTranslate
: {
id: product.code
id: product.code,
}
}}
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
| cxTranslate
: {
name: error.entry.product.name,
code: error.entry.product.code
code: error.entry.product.code,
}
}}
</span>
Expand Down Expand Up @@ -116,7 +116,7 @@
: {
name: warning.entry.product.name,
code: warning.entry.product.code,
quantityAdded: warning.quantityAdded
quantityAdded: warning.quantityAdded,
}
}}
</span>
Expand Down Expand Up @@ -146,7 +146,7 @@
| cxTranslate
: {
name: entry.product.name,
code: entry.product.code
code: entry.product.code,
}
}}</span>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<a
[ngClass]="{
disabled: loading,
'img-missing': !entry?.product?.images?.PRIMARY
'img-missing': !entry?.product?.images?.PRIMARY,
}"
[routerLink]="{ cxRoute: 'product', params: entry.product } | cxUrl"
tabindex="-1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class="link cx-action-link"
[routerLink]="
{
cxRoute: 'savedCarts'
cxRoute: 'savedCarts',
} | cxUrl
"
cxAutoFocus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
displayAddToCart: true,
addToCartString: (buyItAgainTranslation$ | async),
optionalBtn: addToCartBtn,
cartType: CartType.SELECTIVE
}
cartType: CartType.SELECTIVE,
},
}"
>
</ng-template>
Expand Down
Loading

0 comments on commit a21fa2c

Please sign in to comment.