@crystaldesign/diva-backoffice 25.4.0-rc.0 → 25.4.0-rc.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.
@@ -7846,7 +7846,7 @@ function loadConfiguration(t, root, config, lang) {
7846
7846
  }, {
7847
7847
  name: ['settings', 'versioningToIDMService'],
7848
7848
  label: t('backoffice.form.organizationdetails.items.versioningToIDMService'),
7849
- permission: 'backoffice_sys_admin_organizations',
7849
+ permission: 'backoffice_admin_organizations',
7850
7850
  hidden: function hidden(data) {
7851
7851
  return (data === null || data === void 0 ? void 0 : data.type) !== 'RETAILER' && (data === null || data === void 0 ? void 0 : data.parentType) !== 'ASSOCIATION';
7852
7852
  },
@@ -29916,7 +29916,10 @@ function DragDropUpload(_ref) {
29916
29916
  var props = {
29917
29917
  name: 'file',
29918
29918
  multiple: false,
29919
- action: api2Params.api2BaseUrl + '?function=upload&sessionguid=' + api2Params.api2SessionGuid + '&filename=' + fileName,
29919
+ action: api2Params.api2BaseUrl + '?function=upload&filename=' + fileName,
29920
+ headers: {
29921
+ sessionguid: api2Params.api2SessionGuid
29922
+ },
29920
29923
  accept: '.xls,.xlsx,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
29921
29924
  onChange: function onChange(info) {
29922
29925
  var status = info.file.status;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/CatalogEditor/DragDropUpload/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,EAAE;IAAE,UAAU,EAAE,GAAG,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,GAAG,CAAA;CAAE,qBAgFxI"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/CatalogEditor/DragDropUpload/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,EAAE;IAAE,UAAU,EAAE,GAAG,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,GAAG,CAAA;CAAE,qBAmFxI"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "25.4.0-rc.0",
3
+ "version": "25.4.0-rc.2",
4
4
  "license": "COMMERCIAL",
5
5
  "devDependencies": {
6
6
  "@testing-library/jest-dom": "^6.5.0",
@@ -15,13 +15,13 @@
15
15
  "dependencies": {
16
16
  "@ant-design/icons": "5.4.0",
17
17
  "@babel/runtime": "7.24.7",
18
- "@crystaldesign/content-box": "25.4.0-rc.0",
19
- "@crystaldesign/content-item": "25.4.0-rc.0",
20
- "@crystaldesign/diva-core": "25.4.0-rc.0",
21
- "@crystaldesign/diva-utils": "25.4.0-rc.0",
22
- "@crystaldesign/media-upload": "25.4.0-rc.0",
23
- "@crystaldesign/rtf-editor": "25.4.0-rc.0",
24
- "@crystaldesign/spreadsheet": "25.4.0-rc.0",
18
+ "@crystaldesign/content-box": "25.4.0-rc.2",
19
+ "@crystaldesign/content-item": "25.4.0-rc.2",
20
+ "@crystaldesign/diva-core": "25.4.0-rc.2",
21
+ "@crystaldesign/diva-utils": "25.4.0-rc.2",
22
+ "@crystaldesign/media-upload": "25.4.0-rc.2",
23
+ "@crystaldesign/rtf-editor": "25.4.0-rc.2",
24
+ "@crystaldesign/spreadsheet": "25.4.0-rc.2",
25
25
  "@google/model-viewer": "3.5.0",
26
26
  "ag-charts-community": "^10.1.0",
27
27
  "ag-charts-react": "^10.1.0",
@@ -51,5 +51,5 @@
51
51
  },
52
52
  "module": "build/esm/index.js",
53
53
  "types": "./build/types/backoffice/src/index.d.ts",
54
- "gitHead": "01243f94fa9ecb50dd1433585d414f1ea4828ec7"
54
+ "gitHead": "7e4d9327078e65b581eed862d2d47bf2cc51a90f"
55
55
  }