@crystaldesign/diva-backoffice 25.11.0-beta.1 → 25.11.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.
Files changed (2) hide show
  1. package/build/esm/index.js +27 -4
  2. package/package.json +9 -9
@@ -2942,7 +2942,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
2942
2942
  },
2943
2943
  apiInterface: {
2944
2944
  read: {
2945
- list: '${adminService}/taskStatus?filter=%5B%2B%5B%7BtaskType%2Ceq%2CSAP_XML_IMPORT%7D%2C%7BtaskType%2Ceq%2CSAP_DROPDOWNITEMS%7D%2C%7BtaskType%2Ceq%2CSAP_TEMPLATEARTICLES%7D%2C%7BtaskType%2Ceq%2CSAP_ARTICLE_IMPORT%7D%2C%7BtaskType%2Ceq%2CSAP_SUPPLIERS%7D%2C%7BtaskType%2Ceq%2CSAP_PRODUCTGROUPS%7D%2C%7BtaskType%2Ceq%2CSAP_AUSP%7D%2C%7BtaskType%2Ceq%2CPIM_SEND_CLASSIFICATION%7D%2C%7BtaskType%2Ceq%2CSEND_SAP_ARTICLES%7D%2C%7BtaskType%2Ceq%2CGET_PRODUCT_FEATURES_PIM%7D%2C%7BtaskType%2Ceq%2CRECALCULATE_PRODUCTS%7D%5D%5D',
2945
+ list: '${adminService}/taskStatus?filter=%5B%2B%5B%7BtaskType%2Ceq%2CSAP_XML_IMPORT%7D%2C%7BtaskType%2Ceq%2CSAP_DROPDOWNITEMS%7D%2C%7BtaskType%2Ceq%2CSAP_TEMPLATEARTICLES%7D%2C%7BtaskType%2Ceq%2CSAP_ARTICLE_IMPORT%7D%2C%7BtaskType%2Ceq%2CSAP_SUPPLIERS%7D%2C%7BtaskType%2Ceq%2CSAP_PRODUCTGROUPS%7D%2C%7BtaskType%2Ceq%2CSAP_AUSP%7D%2C%7BtaskType%2Ceq%2CPIM_SEND_CLASSIFICATION%7D%2C%7BtaskType%2Ceq%2CSEND_SAP_ARTICLES%7D%2C%7BtaskType%2Ceq%2CGET_PRODUCT_FEATURES_PIM%7D%5D%5D',
2946
2946
  fields: true,
2947
2947
  filterServerSide: true
2948
2948
  }
@@ -8686,6 +8686,20 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
8686
8686
  label: t('backoffice.currentorg.items.shopType.store'),
8687
8687
  value: 'store'
8688
8688
  }]
8689
+ }, {
8690
+ name: ['settings', 'discountImage', 'id'],
8691
+ label: t('backoffice.form.organizationdetails.items.settings.discountImage'),
8692
+ permission: 'backoffice_admin_organizations',
8693
+ type: 'media',
8694
+ hideTrash: false,
8695
+ hidden: false,
8696
+ allowedTypes: ['image/*'],
8697
+ functionType: 'BAN',
8698
+ mediaItemRefField: 'refId',
8699
+ urlField: 'url',
8700
+ onSave: function onSave(data) {
8701
+ return data;
8702
+ }
8689
8703
  }, {
8690
8704
  type: 'subTitle',
8691
8705
  name: t('backoffice.form.organizationdetails.socialUrls'),
@@ -8811,6 +8825,15 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
8811
8825
  name: ''
8812
8826
  }],
8813
8827
  initialValue: []
8828
+ }, {
8829
+ type: 'subTitle',
8830
+ name: 'Sonstiges',
8831
+ tabgroup: t('backoffice.form.organizationdetails.additionalContactData')
8832
+ }, {
8833
+ name: ['settings', 'externalContactUrl'],
8834
+ label: t('backoffice.form.organizationdetails.items.settings.externalContactUrl'),
8835
+ tabgroup: t('backoffice.form.organizationdetails.additionalContactData'),
8836
+ type: 'input'
8814
8837
  }]
8815
8838
  },
8816
8839
  FromAffilateOrganizationDetails: {
@@ -17711,7 +17734,7 @@ var InputComponent = function InputComponent(_ref, ref) {
17711
17734
  value: item.type === 'dateinput' ? new Date((_item$value5 = item.value) !== null && _item$value5 !== void 0 ? _item$value5 : value).toLocaleString().replace('Invalid Date', '') : (_item$value6 = item.value) !== null && _item$value6 !== void 0 ? _item$value6 : value,
17712
17735
  placeholder: item.placeholder,
17713
17736
  onChange: function onChange(e) {
17714
- return _onChange === null || _onChange === void 0 ? void 0 : _onChange(item.name, e.target.value);
17737
+ return _onChange === null || _onChange === void 0 ? void 0 : _onChange(item.name, e.target.value.trim());
17715
17738
  }
17716
17739
  });
17717
17740
  };
@@ -20077,8 +20100,8 @@ function getElement(item, setCanSave, state, absoluteName, _onChange, _onError,
20077
20100
  disabled: disabled,
20078
20101
  value: item.value,
20079
20102
  placeholder: item.placeholder,
20080
- onBlur: function onBlur() {
20081
- return state.onInputChanged();
20103
+ onBlur: function onBlur(e) {
20104
+ return state.onInputChanged(item.name, e.target.value.trim());
20082
20105
  }
20083
20106
  });
20084
20107
  case 'detailaction':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "25.11.0-beta.1",
3
+ "version": "25.11.0-beta.11",
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.11.0-beta.1",
19
- "@crystaldesign/content-item": "25.11.0-beta.1",
20
- "@crystaldesign/diva-core": "25.11.0-beta.1",
21
- "@crystaldesign/diva-utils": "25.11.0-beta.1",
22
- "@crystaldesign/media-upload": "25.11.0-beta.1",
23
- "@crystaldesign/rtf-editor": "25.11.0-beta.1",
24
- "@crystaldesign/spreadsheet": "25.11.0-beta.1",
18
+ "@crystaldesign/content-box": "25.11.0-beta.11",
19
+ "@crystaldesign/content-item": "25.11.0-beta.11",
20
+ "@crystaldesign/diva-core": "25.11.0-beta.11",
21
+ "@crystaldesign/diva-utils": "25.11.0-beta.11",
22
+ "@crystaldesign/media-upload": "25.11.0-beta.11",
23
+ "@crystaldesign/rtf-editor": "25.11.0-beta.11",
24
+ "@crystaldesign/spreadsheet": "25.11.0-beta.11",
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": "e1e57cd62c8d95fb8269c8a39dd3edfb32ed90d1"
54
+ "gitHead": "9d186231cce385362adfb97057fb02c592d812d5"
55
55
  }