@crystaldesign/diva-backoffice 25.5.0-beta.12 → 25.5.0-beta.13

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.
@@ -1790,7 +1790,7 @@ var _default$7 = /*#__PURE__*/function () {
1790
1790
  key: "setConfiguration",
1791
1791
  value: function setConfiguration(config, apiConfig, t, lang) {
1792
1792
  this._apiConfig = apiConfig;
1793
- var configuration = loadConfiguration(t, this.root, config, lang);
1793
+ var configuration = loadConfiguration(t, this.root, config, lang, apiConfig);
1794
1794
 
1795
1795
  //merge with configuration so everything can changed by config
1796
1796
  if (config.configuration) {
@@ -1836,7 +1836,7 @@ function runThroughObjectReqursive(obj, apiConfig) {
1836
1836
  }
1837
1837
  }
1838
1838
  }
1839
- function loadConfiguration(t, root, config, lang) {
1839
+ function loadConfiguration(t, root, config, lang, apiConfig) {
1840
1840
  var _organization$setting, _organization$setting2, _organization$setting3, _organization$setting4, _parentOrganizations, _parentOrganizations2, _parentOrganizations3, _parentOrganizations4, _parentOrganizations5, _parentOrganizations6, _parentOrganizations7, _parentOrganizations8, _parentOrganizations9, _parentOrganizations10, _parentOrganizations11, _parentOrganizations12, _parentOrganizations13;
1841
1841
  var organization = toJS(root.dataStore.currentOrganization);
1842
1842
  return {
@@ -3501,7 +3501,7 @@ function loadConfiguration(t, root, config, lang) {
3501
3501
  url: 'https://gwc-app-p-app-api3.azurewebsites.net/odataretail'
3502
3502
  }, {
3503
3503
  type: 'url',
3504
- url: 'https://cdn.diva-portal.com/static/xlsx/RETAIL-p.xlsx'
3504
+ url: apiConfig.baseCdnUrl + '/static/xlsx/RETAIL-p.xlsx'
3505
3505
  }]
3506
3506
  },
3507
3507
  apiInterface: {
@@ -3766,7 +3766,7 @@ function loadConfiguration(t, root, config, lang) {
3766
3766
  url: 'https://gwc-app-p-app-api3.azurewebsites.net/odataretail'
3767
3767
  }, {
3768
3768
  type: 'url',
3769
- url: 'https://cdn.diva-portal.com/static/xlsx/RETAIL-p.xlsx'
3769
+ url: apiConfig.baseCdnUrl + '/static/xlsx/RETAIL-p.xlsx'
3770
3770
  }]
3771
3771
  }
3772
3772
  },
@@ -12677,7 +12677,7 @@ function loadConfiguration(t, root, config, lang) {
12677
12677
  label: t('backoffice.iframece.download'),
12678
12678
  download: [{
12679
12679
  type: 'url',
12680
- url: 'https://cdn.diva-portal.com/static/xlsx/CE-p.xlsx'
12680
+ url: apiConfig.baseCdnUrl + '/static/xlsx/CE-p.xlsx'
12681
12681
  }, {
12682
12682
  type: 'prefab',
12683
12683
  prefab: 'connectionFileCE',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "25.5.0-beta.12",
3
+ "version": "25.5.0-beta.13",
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.5.0-beta.12",
19
- "@crystaldesign/content-item": "25.5.0-beta.12",
20
- "@crystaldesign/diva-core": "25.5.0-beta.12",
21
- "@crystaldesign/diva-utils": "25.5.0-beta.12",
22
- "@crystaldesign/media-upload": "25.5.0-beta.12",
23
- "@crystaldesign/rtf-editor": "25.5.0-beta.12",
24
- "@crystaldesign/spreadsheet": "25.5.0-beta.12",
18
+ "@crystaldesign/content-box": "25.5.0-beta.13",
19
+ "@crystaldesign/content-item": "25.5.0-beta.13",
20
+ "@crystaldesign/diva-core": "25.5.0-beta.13",
21
+ "@crystaldesign/diva-utils": "25.5.0-beta.13",
22
+ "@crystaldesign/media-upload": "25.5.0-beta.13",
23
+ "@crystaldesign/rtf-editor": "25.5.0-beta.13",
24
+ "@crystaldesign/spreadsheet": "25.5.0-beta.13",
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": "7a8cc6be9b542e56d029c819cf7ea2ab1ba88fd3"
54
+ "gitHead": "7f1123b76484ff8e42c2dbf357a2a8cb941edb5f"
55
55
  }