Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
</wz:done>
</wz:navigation>
</wz:step>-->
<!--<wz:step id="step5" label="create.cloudinaryconfig.product.gallery" merge-mode="replace">
<wz:step id="step5" label="create.cloudinaryconfig.product.gallery" merge-mode="replace">
<wz:info id="step5.intro" position="top" label="create.cloudinary.product.gallery.intro" />
<wz:content id="step5.content">
<wz:property-list root="newCloudinaryConfig">
Expand All @@ -225,7 +225,7 @@
<wz:save property="newCloudinaryConfig"/>
</wz:done>
</wz:navigation>
</wz:step>-->
</wz:step>

<wz:step id="step6" label="create.cloudinaryconfig.video.player" merge-mode="replace">
<wz:info id="step6.intro" position="top" label="create.cloudinary.video.player.intro" />
Expand Down Expand Up @@ -367,7 +367,7 @@
</editorArea:section>
</editorArea:tab>-->

<!--<editorArea:tab name="hmc.tab.productgallery" merge-mode="append">
<editorArea:tab name="hmc.tab.productgallery" merge-mode="append">
<editorArea:customSection name="hmc.section.cloudinary.productgallery"
spring-bean="cloudinaryConfigProductGalleryTextRenderer"/>
<editorArea:section name="hmc.section.cloudinary.productgallery.settings" >
Expand All @@ -379,7 +379,7 @@
<editorArea:section name="">
<editorArea:attribute qualifier="cloudinaryGalleryConfigJsonString" editor=""/>
</editorArea:section>
</editorArea:tab>-->
</editorArea:tab>

<editorArea:tab name="hmc.tab.videoplayer" merge-mode="append">
<editorArea:customSection name="hmc.section.cloudinary.videoplayer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
<bean id="defaultCloudinaryProductImagesPopulator" parent="baseProductImagePopulator"
class="uk.ptr.cloudinary.facades.populator.DefaultCloudinaryProductImagesPopulator"/>

<!-- <bean parent="configurablePopulatorModification">
<bean parent="configurablePopulatorModification">
<property name="target" ref="productVariantConfiguredPopulator" />
<property name="keyType" value="de.hybris.platform.commercefacades.product.ProductOption" />
<property name="key" value="CLOUDINARY" />
<property name="add" ref="cloudinaryProductImagesPopulator" />
</bean> -->
</bean>


<alias name="defaulCloudinaryConfigFacade" alias="cloudinaryConfigFacade"/>
Expand All @@ -49,7 +49,7 @@
parent="defaultProductFacade">
</bean>

<!-- <alias name="cwsCloudinaryProductFacade" alias="cwsProductFacade"/>
<!-- <alias name="cwsCloudinaryProductFacade" alias="cwsProductFacade"/>
<bean id="cwsCloudinaryProductFacade" parent="defaultCloudinaryProductFacade">
<property name="productConfiguredPopulator" ref="cwsProductConfiguredPopulator"/>
<property name="productConverter" ref="cwsProductConverter"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,19 @@
</map>
</property>
</bean>

<bean parent="fieldSetLevelMapping" id="productWsDTOFieldSetLevelMapping">
<property name="dtoClass"
value="de.hybris.platform.commercewebservicescommons.dto.product.ProductWsDTO"/>
<property name="levelMapping">
<map>
<entry key="BASIC"
value="purchasable,stock,name,baseProduct,availableForPickup,code,url,price,sapUnit"/>
<entry key="DEFAULT"
value="summary,averageRating,purchasable,stock(DEFAULT),description,variantMatrix(DEFAULT),name,baseOptions(DEFAULT),baseProduct,availableForPickup,variantOptions(DEFAULT),code,url,price(DEFAULT),numberOfReviews,manufacturer,categories(BASIC,name),priceRange,multidimensional,configuratorType,configurable,tags,sapAddToCartDisabled,sapAddToCartDisabledMessage,sapUnit,sapCCProductCode,spinSetCode"/>
<entry key="FULL"
value="summary,productReferences(FULL),classifications(FULL),averageRating,purchasable,volumePrices(FULL),variantType,stock(FULL),description,variantMatrix(FULL),name,baseOptions(FULL),baseProduct,availableForPickup,variantOptions(FULL),reviews(FULL),code,url,price(FULL),numberOfReviews,manufacturer,volumePricesFlag,futureStocks(FULL),images(FULL),categories(FULL),potentialPromotions(FULL),priceRange,multidimensional,configuratorType,configurable,tags,sapAddToCartDisabled,sapAddToCartDisabledMessage,sapUnit,sapCCProductCode,spinSetCode"/>
</map>
</property>
</bean>
</beans>
34 changes: 30 additions & 4 deletions spartacus/b2bCloudinaryStore/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:application",
"builder": "@angular/build:application",
"options": {
"outputPath": "dist/b2b-cloudinary-store",
"index": "src/index.html",
Expand Down Expand Up @@ -97,7 +97,7 @@
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"builder": "@angular/build:dev-server",
"configurations": {
"production": {
"buildTarget": "b2bCloudinaryStore:build:production"
Expand All @@ -109,10 +109,10 @@
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n"
"builder": "@angular/build:extract-i18n"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"builder": "@angular/build:karma",
"options": {
"polyfills": ["zone.js", "zone.js/testing"],
"tsConfig": "tsconfig.spec.json",
Expand Down Expand Up @@ -162,5 +162,31 @@
}
}
}
},
"schematics": {
"@schematics/angular:component": {
"type": "component"
},
"@schematics/angular:directive": {
"type": "directive"
},
"@schematics/angular:service": {
"type": "service"
},
"@schematics/angular:guard": {
"typeSeparator": "."
},
"@schematics/angular:interceptor": {
"typeSeparator": "."
},
"@schematics/angular:module": {
"typeSeparator": "."
},
"@schematics/angular:pipe": {
"typeSeparator": "."
},
"@schematics/angular:resolver": {
"typeSeparator": "."
}
}
}
110 changes: 55 additions & 55 deletions spartacus/b2bCloudinaryStore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,72 +10,72 @@
},
"private": true,
"dependencies": {
"@angular/common": "^19.2.15",
"@angular/compiler": "^19.2.15",
"@angular/core": "^19.2.15",
"@angular/forms": "^19.2.15",
"@angular/platform-browser": "^19.2.15",
"@angular/platform-browser-dynamic": "^19.2.15",
"@angular/router": "^19.2.15",
"@angular/service-worker": "^19.2.15",
"@angular/common": "^21.2.11",
"@angular/compiler": "^21.2.11",
"@angular/core": "^21.2.11",
"@angular/forms": "^21.2.11",
"@angular/platform-browser": "^21.2.11",
"@angular/platform-browser-dynamic": "^21.2.11",
"@angular/router": "^21.2.11",
"@angular/service-worker": "^21.2.11",
"@fontsource/open-sans": "^5.1.0",
"@fortawesome/fontawesome-free": "6.7.2",
"@ng-select/ng-select": "^14.1.0",
"@ngrx/effects": "^19.0.0",
"@ngrx/router-store": "^19.0.0",
"@ngrx/store": "^19.0.0",
"@spartacus/asm": "~221121.5.0",
"@spartacus/assets": "~221121.5.0",
"@spartacus/cart": "~221121.5.0",
"@spartacus/checkout": "~221121.5.0",
"@spartacus/core": "~221121.5.0",
"@spartacus/cpq-quote": "~221121.5.0",
"@spartacus/customer-ticketing": "~221121.5.0",
"@spartacus/digital-payments": "~221121.5.0",
"@spartacus/epd-visualization": "~221121.5.0",
"@spartacus/estimated-delivery-date": "~221121.5.0",
"@spartacus/omf": "~221121.5.0",
"@spartacus/opf": "~221121.5.0",
"@spartacus/opps": "~221121.5.0",
"@spartacus/order": "~221121.5.0",
"@spartacus/organization": "~221121.5.0",
"@spartacus/pdf-invoices": "~221121.5.0",
"@spartacus/pickup-in-store": "~221121.5.0",
"@spartacus/product": "~221121.5.0",
"@spartacus/product-configurator": "~221121.5.0",
"@spartacus/product-multi-dimensional": "~221121.5.0",
"@spartacus/qualtrics": "~221121.5.0",
"@spartacus/quote": "~221121.5.0",
"@spartacus/requested-delivery-date": "~221121.5.0",
"@spartacus/s4-service": "~221121.5.0",
"@spartacus/s4om": "~221121.5.0",
"@spartacus/segment-refs": "~221121.5.0",
"@spartacus/setup": "~221121.5.0",
"@spartacus/smartedit": "~221121.5.0",
"@spartacus/storefinder": "~221121.5.0",
"@spartacus/storefront": "~221121.5.0",
"@spartacus/styles": "~221121.5.0",
"@spartacus/tracking": "~221121.5.0",
"@spartacus/user": "~221121.5.0",
"angular-oauth2-oidc": "19.0.0",
"@ng-select/ng-select": "^21.8.2",
"@ngrx/effects": "^21.1.0",
"@ngrx/router-store": "^21.1.0",
"@ngrx/store": "^21.1.0",
"@spartacus/asm": "~221121.7.0",
"@spartacus/assets": "~221121.7.0",
"@spartacus/cart": "~221121.7.0",
"@spartacus/checkout": "~221121.7.0",
"@spartacus/core": "~221121.7.0",
"@spartacus/cpq-quote": "~221121.7.0",
"@spartacus/customer-ticketing": "~221121.7.0",
"@spartacus/digital-payments": "~221121.7.0",
"@spartacus/epd-visualization": "~221121.7.0",
"@spartacus/estimated-delivery-date": "~221121.7.0",
"@spartacus/omf": "~221121.7.0",
"@spartacus/opf": "~221121.7.0",
"@spartacus/opps": "~221121.7.0",
"@spartacus/order": "~221121.7.0",
"@spartacus/organization": "~221121.7.0",
"@spartacus/pdf-invoices": "~221121.7.0",
"@spartacus/pickup-in-store": "~221121.7.0",
"@spartacus/product": "~221121.7.0",
"@spartacus/product-configurator": "~221121.7.0",
"@spartacus/product-multi-dimensional": "~221121.7.0",
"@spartacus/qualtrics": "~221121.7.0",
"@spartacus/quote": "~221121.7.0",
"@spartacus/requested-delivery-date": "~221121.7.0",
"@spartacus/s4-service": "~221121.7.0",
"@spartacus/s4om": "~221121.7.0",
"@spartacus/segment-refs": "~221121.7.0",
"@spartacus/setup": "~221121.7.0",
"@spartacus/smartedit": "~221121.7.0",
"@spartacus/storefinder": "~221121.7.0",
"@spartacus/storefront": "~221121.7.0",
"@spartacus/styles": "~221121.7.0",
"@spartacus/tracking": "~221121.7.0",
"@spartacus/user": "~221121.7.0",
"angular-oauth2-oidc": "20.0.2",
"i18next": "^24.2.1",
"i18next-http-backend": "^3.0.1",
"i18next-resources-to-backend": "^1.2.1",
"ngx-infinite-scroll": "^19.0.0",
"ngx-infinite-scroll": "^21.0.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.15.0",
"cloudinary-video-player": "^3.10.0",
"ng-packagr": "^19.2.0"
"ng-packagr": "^21.2.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "^19.2.16",
"@angular-devkit/core": "^19.2.16",
"@angular-devkit/schematics": "^19.2.16",
"@angular/cli": "^19.2.16",
"@angular/compiler-cli": "^19.2.15",
"@angular-devkit/core": "^21.2.9",
"@angular-devkit/schematics": "^21.2.9",
"@angular/build": "^21.2.9",
"@angular/cli": "^21.2.9",
"@angular/compiler-cli": "^21.2.11",
"@schematics/angular": "^19.0.4",
"@spartacus/schematics": "~2211.42",
"@spartacus/schematics": "~221121.7.0",
"@types/jasmine": "~5.1.0",
"jasmine-core": "~5.6.0",
"jsonc-parser": "^3.3.1",
Expand All @@ -85,6 +85,6 @@
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"parse5": "^7.2.1",
"typescript": "~5.7.2"
"typescript": "~5.9.3"
}
}
Original file line number Diff line number Diff line change
@@ -1,30 +1,36 @@
<div class="cx-product-images">
<div class="cx-thumbnails" *ngIf="thumbs$ | async as thumbs">
<button
*ngFor="let thumb of thumbs"
class="cx-thumbnail"
[class.active]="isActive(thumb) | async"
(click)="openImage(thumb)"
>
@if (thumbs$ | async; as thumbs) {
<div class="cx-thumbnails">
@for (thumb of thumbs; track thumb) {
<button
class="cx-thumbnail"
[class.active]="isActive(thumb) | async"
(click)="openImage(thumb)"
>
<cx-media
[container]="thumb"
format="thumbnail"
[alt]="thumb?.altText"
></cx-media>
</button>
}
</div>
}

@if (mainImage$ | async; as mainImage) {
<div class="cx-main-image">
<cx-media
[container]="thumb"
format="thumbnail"
[alt]="thumb?.altText"
[container]="mainImage"
format="zoom"
[alt]="mainImage?.altText"
></cx-media>
</button>
</div>

<div class="cx-main-image" *ngIf="mainImage$ | async as mainImage">
<cx-media
[container]="mainImage"
format="zoom"
[alt]="mainImage?.altText"
></cx-media>
</div>
</div>
}

<!-- Cloudinary Gallery Container -->
<div
id="cloudinary-gallery-container"
*ngIf="isCloudinaryGalleryEnabled"
></div>
@if (isCloudinaryGalleryEnabled) {
<div
id="cloudinary-gallery-container"
></div>
}
</div>
Loading