Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPQ - Enable display price formula #13034

Merged

Conversation

Larisa-Staroverova
Copy link
Contributor

No description provided.

Larisa-Staroverova and others added 30 commits June 1, 2021 09:33
…enable_display_price_formula_in_configuration
…uration' of https://github.com/SAP/spartacus into feature/GH-12414_enable_display_price_formula_in_configuration
@Larisa-Staroverova Larisa-Staroverova temporarily deployed to dev July 8, 2021 11:11 Inactive
@Larisa-Staroverova Larisa-Staroverova temporarily deployed to dev July 8, 2021 12:19 Inactive
@Larisa-Staroverova Larisa-Staroverova temporarily deployed to dev July 8, 2021 12:46 Inactive
@Larisa-Staroverova Larisa-Staroverova requested a review from a team July 8, 2021 12:58
@Larisa-Staroverova Larisa-Staroverova temporarily deployed to dev July 8, 2021 12:58 Inactive
ChristophHi
ChristophHi previously approved these changes Jul 12, 2021
@github-actions
Copy link
Contributor

Public API changes

⚠️ @spartacus/product-configurator/rulebased

 import { ActiveCartService } from '@spartacus/core';
 import { AfterViewInit } from '@angular/core';
 import { BehaviorSubject } from 'rxjs';
+import { BreakpointService } from '@spartacus/storefront';
 import { CartModification } from '@spartacus/core';
 import { ChangeDetectorRef } from '@angular/core';
 import { CheckoutFacade } from '@spartacus/checkout/root';
@@
     static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorAttributeCheckboxListModule>;
     // Warning: (ae-forgotten-export) The symbol "i1" needs to be exported by the entry point public_api.d.ts
     // Warning: (ae-forgotten-export) The symbol "i4" needs to be exported by the entry point public_api.d.ts
+    // Warning: (ae-forgotten-export) The symbol "i9" needs to be exported by the entry point public_api.d.ts
     //
     // (undocumented)
-    static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorAttributeCheckboxListModule, [typeof i1_8.ConfiguratorAttributeCheckBoxListComponent], [typeof i5.KeyboardFocusModule, typeof i2_2.FormsModule, typeof i2_2.ReactiveFormsModule, typeof i2.CommonModule, typeof i3.I18nModule, typeof i4.ConfiguratorAttributeQuantityModule], [typeof i1_8.ConfiguratorAttributeCheckBoxListComponent]>;
+    static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorAttributeCheckboxListModule, [typeof i1_8.ConfiguratorAttributeCheckBoxListComponent], [typeof i5.KeyboardFocusModule, typeof i2_2.FormsModule, typeof i2_2.ReactiveFormsModule, typeof i2.CommonModule, typeof i3.I18nModule, typeof i4.ConfiguratorAttributeQuantityModule, typeof i9.ConfiguratorPriceModule], [typeof i1_8.ConfiguratorAttributeCheckBoxListComponent]>;
 }
 
 // @public (undocumented)
@@
     // (undocumented)
     attributeDropDownForm: FormControl;
     // (undocumented)
+    getSelectedValue(): Configurator.Value | undefined;
+    // (undocumented)
     group: string;
     // (undocumented)
     ngOnInit(): void;
@@
     // Warning: (ae-forgotten-export) The symbol "i1" needs to be exported by the entry point public_api.d.ts
     //
     // (undocumented)
-    static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorAttributeDropDownModule, [typeof i1_10.ConfiguratorAttributeDropDownComponent], [typeof i2.CommonModule, typeof i4.ConfiguratorAttributeQuantityModule, typeof i2_2.FormsModule, typeof i3.I18nModule, typeof i5.KeyboardFocusModule, typeof i6.NgSelectModule, typeof i2_2.ReactiveFormsModule], [typeof i1_10.ConfiguratorAttributeDropDownComponent]>;
+    static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorAttributeDropDownModule, [typeof i1_10.ConfiguratorAttributeDropDownComponent], [typeof i2.CommonModule, typeof i4.ConfiguratorAttributeQuantityModule, typeof i2_2.FormsModule, typeof i3.I18nModule, typeof i5.KeyboardFocusModule, typeof i6.NgSelectModule, typeof i2_2.ReactiveFormsModule, typeof i9.ConfiguratorPriceModule], [typeof i1_10.ConfiguratorAttributeDropDownComponent]>;
 }
 
 // @public (undocumented)
@@
     // (undocumented)
     attribute: Configurator.Attribute;
     get disableQuantityActions(): boolean;
+    extractPriceFormulaParameters(): ConfiguratorPriceComponentOptions;
     extractQuantityParameters(initialQuantity?: number, allowZero?: boolean): ConfiguratorAttributeQuantityComponentOptions;
+    extractValuePriceFormulaParameters(value: Configurator.Value): ConfiguratorPriceComponentOptions | undefined;
     // (undocumented)
     loading$: BehaviorSubject<boolean>;
     // (undocumented)
@@
     static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorAttributeMultiSelectionBundleModule>;
     // Warning: (ae-forgotten-export) The symbol "i1" needs to be exported by the entry point public_api.d.ts
     // Warning: (ae-forgotten-export) The symbol "i3" needs to be exported by the entry point public_api.d.ts
-    // Warning: (ae-forgotten-export) The symbol "i9" needs to be exported by the entry point public_api.d.ts
     //
     // (undocumented)
     static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorAttributeMultiSelectionBundleModule, [typeof i1_12.ConfiguratorAttributeMultiSelectionBundleComponent], [typeof i2.CommonModule, typeof i3_3.ConfiguratorAttributeProductCardModule, typeof i2_2.FormsModule, typeof i3.I18nModule, typeof i5.KeyboardFocusModule, typeof i2_2.ReactiveFormsModule, typeof i6_2.RouterModule, typeof i3.UrlModule, typeof i4.ConfiguratorAttributeQuantityModule, typeof i9.ConfiguratorPriceModule], [typeof i1_12.ConfiguratorAttributeMultiSelectionBundleComponent]>;
@@
     // Warning: (ae-forgotten-export) The symbol "i1" needs to be exported by the entry point public_api.d.ts
     //
     // (undocumented)
-    static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorAttributeRadioButtonModule, [typeof i1_15.ConfiguratorAttributeRadioButtonComponent], [typeof i2.CommonModule, typeof i4.ConfiguratorAttributeQuantityModule, typeof i2_2.FormsModule, typeof i3.I18nModule, typeof i5.KeyboardFocusModule, typeof i2_2.ReactiveFormsModule], [typeof i1_15.ConfiguratorAttributeRadioButtonComponent]>;
+    static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorAttributeRadioButtonModule, [typeof i1_15.ConfiguratorAttributeRadioButtonComponent], [typeof i2.CommonModule, typeof i4.ConfiguratorAttributeQuantityModule, typeof i2_2.FormsModule, typeof i3.I18nModule, typeof i5.KeyboardFocusModule, typeof i2_2.ReactiveFormsModule, typeof i9.ConfiguratorPriceModule], [typeof i1_15.ConfiguratorAttributeRadioButtonComponent]>;
 }
 
 // @public (undocumented)
@@
     get disableQuantityActions(): boolean;
     extractPriceFormulaParameters(): ConfiguratorPriceComponentOptions;
     extractQuantityParameters(form?: FormControl): ConfiguratorAttributeQuantityComponentOptions;
+    extractValuePriceFormulaParameters(value?: Configurator.Value): ConfiguratorPriceComponentOptions | undefined;
     // (undocumented)
     protected getInitialQuantity(form?: FormControl): number;
     // (undocumented)
@@
 
 // @public (undocumented)
 export class ConfiguratorOverviewAttributeComponent {
+    constructor(breakpointService: BreakpointService);
     // (undocumented)
     attributeOverview: Configurator.AttributeOverview;
     // (undocumented)
+    protected breakpointService: BreakpointService;
+    // (undocumented)
+    extractPriceFormulaParameters(): ConfiguratorPriceComponentOptions;
+    isDesktop(): Observable<boolean>;
+    // (undocumented)
     static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorOverviewAttributeComponent, "cx-configurator-overview-attribute", never, { "attributeOverview": "attributeOverview"; }, {}, never, never>;
     // (undocumented)
     static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorOverviewAttributeComponent, never>;
@@
     // Warning: (ae-forgotten-export) The symbol "i1" needs to be exported by the entry point public_api.d.ts
     //
     // (undocumented)
-    static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorOverviewAttributeModule, [typeof i1_25.ConfiguratorOverviewAttributeComponent], [typeof i2.CommonModule], [typeof i1_25.ConfiguratorOverviewAttributeComponent]>;
+    static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorOverviewAttributeModule, [typeof i1_25.ConfiguratorOverviewAttributeComponent], [typeof i2.CommonModule, typeof i9.ConfiguratorPriceModule], [typeof i1_25.ConfiguratorOverviewAttributeComponent]>;
 }
 
 // @public (undocumented)

⚠️ Some entry points are currently impossible to analyze.

Read more

💰 How to debug problems?

Read more

@Larisa-Staroverova Larisa-Staroverova merged commit a9e1497 into develop Jul 13, 2021
@Larisa-Staroverova Larisa-Staroverova deleted the feature/GH-12414_cpq_enable_display_price_formula branch July 13, 2021 10:02
@Larisa-Staroverova Larisa-Staroverova temporarily deployed to dev July 13, 2021 10:02 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CPQ Enable display price formula on configuration
3 participants