@crystaldesign/diva-seller 24.10.0-beta.10 → 24.10.0-beta.11

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.
@@ -6495,37 +6495,37 @@ var uiSchema = function uiSchema(hideWWSButton, enableSellerInfos) {
6495
6495
  }, {
6496
6496
  type: 'VerticalLayout',
6497
6497
  elements: [{
6498
- type: 'Control',
6499
- scope: '#/properties/PrintOptions/properties/AllPrices',
6500
- rule: {
6501
- effect: 'DISABLE',
6502
- condition: {
6503
- scope: '#/properties/PrintOptions/properties/Prices',
6504
- schema: {
6505
- not: {
6506
- "const": true
6507
- }
6508
- }
6509
- }
6510
- }
6511
- }, {
6512
6498
  type: 'Control',
6513
6499
  scope: '#/properties/PrintOptions/properties/ModelName'
6514
6500
  }, {
6515
6501
  type: 'Control',
6516
6502
  scope: '#/properties/PrintOptions/properties/Gdpr'
6503
+ }, {
6504
+ type: 'Control',
6505
+ scope: '#/properties/PrintOptions/properties/Prices'
6517
6506
  }]
6518
6507
  }, {
6519
6508
  type: 'VerticalLayout',
6520
6509
  elements: [{
6521
- type: 'Control',
6522
- scope: '#/properties/PrintOptions/properties/Prices'
6523
- }, {
6524
6510
  type: 'Control',
6525
6511
  scope: '#/properties/PrintOptions/properties/CollectionLogo'
6526
6512
  }, {
6527
6513
  type: 'Control',
6528
6514
  scope: '#/properties/PrintOptions/properties/ClientpersonData'
6515
+ }, {
6516
+ type: 'Control',
6517
+ scope: '#/properties/PrintOptions/properties/AllPrices',
6518
+ rule: {
6519
+ effect: 'HIDE',
6520
+ condition: {
6521
+ scope: '#/properties/PrintOptions/properties/Prices',
6522
+ schema: {
6523
+ not: {
6524
+ "const": true
6525
+ }
6526
+ }
6527
+ }
6528
+ }
6529
6529
  }]
6530
6530
  }]
6531
6531
  }]
@@ -15420,7 +15420,8 @@ function SelectRenderPackage(_ref) {
15420
15420
  setCampaign = _useRenderjobDetail.setCampaign,
15421
15421
  campaign = _useRenderjobDetail.campaign;
15422
15422
  var _useDivaCore = useDivaCore(),
15423
- mediaHandler = _useDivaCore.handler.mediaHandler;
15423
+ mediaHandler = _useDivaCore.handler.mediaHandler,
15424
+ organization = _useDivaCore.state.organization;
15424
15425
  var _useState = useState([]),
15425
15426
  _useState2 = _slicedToArray(_useState, 2),
15426
15427
  renderPackages = _useState2[0],
@@ -15430,7 +15431,7 @@ function SelectRenderPackage(_ref) {
15430
15431
  selected = _useState4[0],
15431
15432
  setSelected = _useState4[1];
15432
15433
  useEffect(function () {
15433
- mediaHandler.getRenderPackages().then(function (res) {
15434
+ mediaHandler.getRenderPackages(organization._id).then(function (res) {
15434
15435
  if (res.data) setRenderPackages(res.data);
15435
15436
  });
15436
15437
  }, []);
@@ -62,6 +62,10 @@ export declare const uiSchema: (hideWWSButton: boolean, enableSellerInfos?: bool
62
62
  elements: {
63
63
  type: string;
64
64
  elements: ({
65
+ type: string;
66
+ scope: string;
67
+ rule?: undefined;
68
+ } | {
65
69
  type: string;
66
70
  scope: string;
67
71
  rule: {
@@ -75,10 +79,6 @@ export declare const uiSchema: (hideWWSButton: boolean, enableSellerInfos?: bool
75
79
  };
76
80
  };
77
81
  };
78
- } | {
79
- type: string;
80
- scope: string;
81
- rule?: undefined;
82
82
  })[];
83
83
  }[];
84
84
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"step3.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Basket/defaultSchema/step3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,eAAO,MAAM,MAAM,EAAE,CAAC,aAAa,CAAC,EAAE,OAAO,KAAK,WA2BhD,CAAC;AAEH,eAAO,MAAM,QAAQ,kBAAmB,OAAO,sBAAsB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyK1E,CAAC"}
1
+ {"version":3,"file":"step3.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Basket/defaultSchema/step3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,eAAO,MAAM,MAAM,EAAE,CAAC,aAAa,CAAC,EAAE,OAAO,KAAK,WA2BhD,CAAC;AAEH,eAAO,MAAM,QAAQ,kBAAmB,OAAO,sBAAsB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwK1E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/ProductCreator/tabs/RenderJobTable/RenderJobDetail/SelectRenderPackage/index.tsx"],"names":[],"mappings":"AAKA,OAA2B,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAKrF,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAQ7D,MAAM,WAAW,oBAAqB,SAAQ,wBAAwB;IACpE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,sBAAsB,CAAC;IAC/B,kBAAkB,EAAE,MAAM,IAAI,CAAC;CAChC;AAED,wBAAgB,mBAAmB,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,eA0EvG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/ProductCreator/tabs/RenderJobTable/RenderJobDetail/SelectRenderPackage/index.tsx"],"names":[],"mappings":"AAKA,OAA2B,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAKrF,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAQ7D,MAAM,WAAW,oBAAqB,SAAQ,wBAAwB;IACpE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,sBAAsB,CAAC;IAC/B,kBAAkB,EAAE,MAAM,IAAI,CAAC;CAChC;AAED,wBAAgB,mBAAmB,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,eA2EvG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-seller",
3
- "version": "24.10.0-beta.10",
3
+ "version": "24.10.0-beta.11",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -35,9 +35,9 @@
35
35
  "react-i18next": "^11.7.0"
36
36
  },
37
37
  "dependencies": {
38
- "@crystaldesign/analytics": "24.10.0-beta.10",
39
- "@crystaldesign/products-component": "24.10.0-beta.10",
40
- "@crystaldesign/real-time-viewer": "24.10.0-beta.10",
38
+ "@crystaldesign/analytics": "24.10.0-beta.11",
39
+ "@crystaldesign/products-component": "24.10.0-beta.11",
40
+ "@crystaldesign/real-time-viewer": "24.10.0-beta.11",
41
41
  "@tinymce/tinymce-react": "^3.13.0",
42
42
  "react-error-boundary": "^4.0.13",
43
43
  "react-material-ui-carousel": "^2.1.1",
@@ -45,5 +45,5 @@
45
45
  },
46
46
  "types": "./build/types/seller/src/index.d.ts",
47
47
  "module": "build/esm/index.js",
48
- "gitHead": "5379b713e41f91c177abdfc31041006c51f73d4e"
48
+ "gitHead": "4615ac89a35c20c278b991124103dd53ee81fb42"
49
49
  }