@crystaldesign/diva-seller 26.11.0-rc.1 → 26.12.0-beta.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.
@@ -5154,6 +5154,8 @@ function Images(_ref) {
5154
5154
  // the basket save completes. Fall back to the transient in-memory preview
5155
5155
  // owned by the basket so the seller still shows the image before saving.
5156
5156
  var set2DImage = orderSet.Set2DImage || basket.getPlanning2DPreviewUrl(orderSet.SetID);
5157
+ // Same for a browser-captured 3D image; a render-farm one already has its URL here.
5158
+ var setImage = orderSet.SetImage || basket.getSetImagePreviewUrl(orderSet.SetID);
5157
5159
  return /*#__PURE__*/jsxs("div", {
5158
5160
  style: {
5159
5161
  display: visibile ? 'flex' : 'none',
@@ -5165,14 +5167,14 @@ function Images(_ref) {
5165
5167
  },
5166
5168
  style: imgStyle,
5167
5169
  src: tryDecodeBase64(set2DImage)
5168
- }, "2D"), orderSet.SetImage && /*#__PURE__*/jsx("img", {
5170
+ }, "2D"), setImage && /*#__PURE__*/jsx("img", {
5169
5171
  onClick: function onClick() {
5170
- return openFullscreenClick(tryDecodeBase64(orderSet.SetImage));
5172
+ return openFullscreenClick(tryDecodeBase64(setImage));
5171
5173
  },
5172
5174
  style: imgStyle,
5173
- src: tryDecodeBase64(orderSet.SetImage)
5175
+ src: tryDecodeBase64(setImage)
5174
5176
  }, "3D"), orderSet.SetImages && orderSet.SetImages.map(function (image) {
5175
- var imageUrl = image.URL || basket.getAiImagePreviewUrl(orderSet.SetID, image.Id);
5177
+ var imageUrl = image.URL || basket.getSetImagesPreviewUrl(orderSet.SetID, image.Id);
5176
5178
  if (!imageUrl) return null;
5177
5179
  return /*#__PURE__*/jsx("img", {
5178
5180
  onClick: function onClick() {
@@ -1 +1 @@
1
- {"version":3,"file":"SetImages.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/Basket/PriceOverView/Set/SetImages.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,YAAY,EAAe,MAAM,0BAA0B,CAAC;AAEjF,UAAU,KAAK;IACb,QAAQ,EAAE,YAAY,CAAC;IACvB,MAAM,EAAE,UAAU,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;CACnB;AACD,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,KAAK,qBAyDnE"}
1
+ {"version":3,"file":"SetImages.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/Basket/PriceOverView/Set/SetImages.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,YAAY,EAAe,MAAM,0BAA0B,CAAC;AAEjF,UAAU,KAAK;IACb,QAAQ,EAAE,YAAY,CAAC;IACvB,MAAM,EAAE,UAAU,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;CACnB;AACD,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,KAAK,qBAsDnE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-seller",
3
- "version": "26.11.0-rc.1",
3
+ "version": "26.12.0-beta.2",
4
4
  "description": "Seller-facing UI section with its own state provider and services.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -29,9 +29,9 @@
29
29
  "react-dom": "^18.3.1"
30
30
  },
31
31
  "dependencies": {
32
- "@crystaldesign/analytics": "26.11.0-rc.1",
33
- "@crystaldesign/products-component": "26.11.0-rc.1",
34
- "@crystaldesign/real-time-viewer": "26.11.0-rc.1",
32
+ "@crystaldesign/analytics": "26.12.0-beta.2",
33
+ "@crystaldesign/products-component": "26.12.0-beta.2",
34
+ "@crystaldesign/real-time-viewer": "26.12.0-beta.2",
35
35
  "@emotion/react": "^11.13.3",
36
36
  "@emotion/styled": "^11.13.0",
37
37
  "@mui/icons-material": "7.3.11",
@@ -42,5 +42,5 @@
42
42
  },
43
43
  "types": "./build/types/seller/src/index.d.ts",
44
44
  "module": "build/esm/index.js",
45
- "gitHead": "5d71eae2a6901df3a2f7dbb2a4f2c51d2a153102"
45
+ "gitHead": "8d5d90340389f63400e7132ee77ae87d970da4c9"
46
46
  }