@crystaldesign/diva-seller 24.12.0-beta.10 → 24.12.0-beta.16

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.
@@ -80,7 +80,7 @@ import Tab$1 from '@material-ui/core/Tab';
80
80
  import Tabs$1 from '@material-ui/core/Tabs';
81
81
  import Autocomplete$1 from '@material-ui/lab/Autocomplete';
82
82
  import { TRANSLATED_FILEDS, ProductHandlerAbstract } from '@crystaldesign/product-handler';
83
- import { Editor } from '@tinymce/tinymce-react';
83
+ import RTFEditor from '@crystaldesign/rtf-editor';
84
84
  import { Remove, Add, Delete } from '@material-ui/icons';
85
85
  import CardHeader$1 from '@material-ui/core/CardHeader';
86
86
  import CardContent$1 from '@material-ui/core/CardContent';
@@ -11218,27 +11218,14 @@ var TechnicalDescription = function TechnicalDescription(_ref) {
11218
11218
  var AdvertisingText = function AdvertisingText(_ref) {
11219
11219
  var getProductValue = _ref.getProductValue,
11220
11220
  update = _ref.update;
11221
- var _useDivaCore = useDivaCore(),
11222
- tinyMceApiKey = _useDivaCore.state.tinyMceApiKey;
11223
11221
  return /*#__PURE__*/jsx(Card$1, {
11224
11222
  style: {
11225
11223
  marginBottom: '10px'
11226
11224
  },
11227
11225
  children: /*#__PURE__*/jsx(CardContent, {
11228
- children: /*#__PURE__*/jsx(Editor, {
11229
- apiKey: tinyMceApiKey,
11230
- value: getProductValue('info'),
11231
- init: {
11232
- height: 500,
11233
- menubar: false,
11234
- plugins: ['advlist autolink lists link table paste'],
11235
- contextmenu: '',
11236
- resize: false,
11237
- statusbar: false,
11238
- toolbar: 'undo redo | formatselect | ' + 'bold italic backcolor | alignleft aligncenter ' + 'alignright alignjustify | bullist numlist outdent indent | table ',
11239
- content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:14px }'
11240
- },
11241
- onEditorChange: function onEditorChange(value) {
11226
+ children: /*#__PURE__*/jsx(RTFEditor, {
11227
+ initialValue: getProductValue('info'),
11228
+ onChange: function onChange(value) {
11242
11229
  return update('info', value);
11243
11230
  }
11244
11231
  })
@@ -1 +1 @@
1
- {"version":3,"file":"AdvertisingText.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/ProductCreator/components/BasedataForms/GroupedFileds/AdvertisingText.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,QAAA,MAAM,eAAe,gCAAiC,SAAS,gBA4B9D,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"AdvertisingText.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/ProductCreator/components/BasedataForms/GroupedFileds/AdvertisingText.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGlD,QAAA,MAAM,eAAe,gCAAiC,SAAS,gBAQ9D,CAAC;AAEF,eAAe,eAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-seller",
3
- "version": "24.12.0-beta.10",
3
+ "version": "24.12.0-beta.16",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -24,6 +24,7 @@
24
24
  "@crystaldesign/forms": "23.0.0-authmig.53",
25
25
  "@crystaldesign/grid": "23.0.0-authmig.53",
26
26
  "@crystaldesign/media-upload": "23.0.0-authmig.53",
27
+ "@crystaldesign/rtf-editor": "24.12.0-beta.9",
27
28
  "@crystaldesign/searchfield": "23.0.0-authmig.53",
28
29
  "@crystaldesign/web-planner-logic": "23.0.0-authmig.53",
29
30
  "@material-ui/core": "^4.11.0",
@@ -35,15 +36,14 @@
35
36
  "react-i18next": "^11.7.0"
36
37
  },
37
38
  "dependencies": {
38
- "@crystaldesign/analytics": "24.12.0-beta.10",
39
- "@crystaldesign/products-component": "24.12.0-beta.10",
40
- "@crystaldesign/real-time-viewer": "24.12.0-beta.10",
41
- "@tinymce/tinymce-react": "^3.13.0",
39
+ "@crystaldesign/analytics": "24.12.0-beta.16",
40
+ "@crystaldesign/products-component": "24.12.0-beta.16",
41
+ "@crystaldesign/real-time-viewer": "24.12.0-beta.16",
42
42
  "react-error-boundary": "^4.0.13",
43
43
  "react-material-ui-carousel": "^2.1.1",
44
44
  "react-number-format": "^4.4.4"
45
45
  },
46
46
  "types": "./build/types/seller/src/index.d.ts",
47
47
  "module": "build/esm/index.js",
48
- "gitHead": "ae2fba6651a64d9e9cc9e6f071382e8a6bb72329"
48
+ "gitHead": "c4637cc66f8e880e0a9a7f8d58ef21d7a8baf105"
49
49
  }