ng-easycommerce-v18 0.6.1-codigo-postal.1 → 0.6.2
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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Version 0.6.
|
|
1
|
+
# Version 0.6.2
|
|
2
2
|
- Checkout: `dataform-ec` ahora toma `checkoutRequiredFields.postalCode` desde `/shop-api/{canal}/countries` para definir la visibilidad y obligatoriedad del campo `postcode`.
|
|
3
3
|
- Si `checkoutRequiredFields.postalCode` viene en `true`, el campo código postal se muestra y se valida como obligatorio.
|
|
4
4
|
- Si `checkoutRequiredFields.postalCode` viene en `false`, el campo se oculta y se eliminan sus validaciones del formulario.
|
|
@@ -13,7 +13,7 @@ export declare class DataformEcSingleComponent {
|
|
|
13
13
|
addressOptions: any[];
|
|
14
14
|
showSelectBlock: boolean;
|
|
15
15
|
hasSelectedAddress: boolean;
|
|
16
|
-
modeChange: EventEmitter<"
|
|
16
|
+
modeChange: EventEmitter<"seleccion" | "carga">;
|
|
17
17
|
toggleDropdown: EventEmitter<void>;
|
|
18
18
|
closeDropdown: EventEmitter<void>;
|
|
19
19
|
selectAddress: EventEmitter<any>;
|
|
@@ -195,7 +195,7 @@ export declare class DataformEcComponent implements OnInit {
|
|
|
195
195
|
discardChanges(): void;
|
|
196
196
|
private isLegacyAddressOnlyCheckout;
|
|
197
197
|
private canCompleteLegacyAddressOnlyCheckout;
|
|
198
|
-
getPrimaryActionLabel(): "
|
|
198
|
+
getPrimaryActionLabel(): "update" | "finish-checkout" | "ready-form";
|
|
199
199
|
private getEmptyTotalsSnapshot;
|
|
200
200
|
private getSummaryTotalsFromAssociatedData;
|
|
201
201
|
private getSummaryTotalsFromOrder;
|