@pie-element/math-templated 3.3.7-next.7 → 3.3.8-next.0

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.3.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/math-templated@3.3.6...@pie-element/math-templated@3.3.7) (2025-01-22)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * update pie-lib/pie-toolbox PD-4452, PD-3872, PD-4689, PD-4704, PD-4588, PD-4698, PD-4618 ([a97329c](https://github.com/pie-framework/pie-elements/commit/a97329cf73619a3a5aae8d492edb8d6e5c5730df))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [3.3.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/math-templated@3.3.5...@pie-element/math-templated@3.3.6) (2025-01-22)
7
18
 
8
19
 
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.2.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/math-templated-configure@2.2.6...@pie-element/math-templated-configure@2.2.7) (2025-01-22)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * update pie-lib/pie-toolbox PD-4452, PD-3872, PD-4689, PD-4704, PD-4588, PD-4698, PD-4618 ([a97329c](https://github.com/pie-framework/pie-elements/commit/a97329cf73619a3a5aae8d492edb8d6e5c5730df))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [2.2.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/math-templated-configure@2.2.5...@pie-element/math-templated-configure@2.2.6) (2025-01-22)
7
18
 
8
19
 
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@pie-element/math-templated-configure",
3
3
  "private": true,
4
- "version": "2.2.6",
4
+ "version": "2.2.7",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
7
7
  "module": "src/index.js",
8
8
  "dependencies": {
9
9
  "@material-ui/core": "^3.9.2",
10
10
  "@pie-framework/pie-configure-events": "^1.3.0",
11
- "@pie-lib/pie-toolbox": "2.6.1",
11
+ "@pie-lib/pie-toolbox": "2.7.0",
12
12
  "debug": "^3.1.0",
13
13
  "lodash": "^4.17.15",
14
14
  "prop-types": "^15.6.2",
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.1.9](https://github.com/pie-framework/pie-elements/compare/@pie-element/math-templated-controller@3.1.8...@pie-element/math-templated-controller@3.1.9) (2025-01-22)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * update pie-lib/pie-toolbox PD-4452, PD-3872, PD-4689, PD-4704, PD-4588, PD-4698, PD-4618 ([a97329c](https://github.com/pie-framework/pie-elements/commit/a97329cf73619a3a5aae8d492edb8d6e5c5730df))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [3.1.8](https://github.com/pie-framework/pie-elements/compare/@pie-element/math-templated-controller@3.1.7...@pie-element/math-templated-controller@3.1.8) (2025-01-22)
7
18
 
8
19
 
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@pie-element/math-templated-controller",
3
3
  "private": true,
4
- "version": "3.1.8",
4
+ "version": "3.1.9",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
7
7
  "module": "src/index.js",
8
8
  "dependencies": {
9
9
  "@pie-framework/math-validation": "^1.2.3",
10
- "@pie-lib/pie-toolbox": "2.6.1",
10
+ "@pie-lib/pie-toolbox": "2.7.0",
11
11
  "debug": "^3.1.0",
12
12
  "lodash": "^4.17.15"
13
13
  },
@@ -1,5 +1,5 @@
1
1
  import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.0.1/module/index.js";
2
- import {_dll_pie_lib__pie_toolbox_config_ui, _dll_pie_lib__pie_toolbox_math_toolbar, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_editable_html} from "../../../@pie-lib/pie-toolbox-module@5.7.1/module/index.js";
2
+ import {_dll_pie_lib__pie_toolbox_config_ui, _dll_pie_lib__pie_toolbox_math_toolbar, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_editable_html} from "../../../@pie-lib/pie-toolbox-module@5.7.2/module/index.js";
3
3
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4
4
  function getDefaultExportFromCjs(x) {
5
5
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
@@ -126088,6 +126088,7 @@ const require$$11$4 = _dll_prop_types;
126088
126088
  }
126089
126089
  _this = _super.call.apply(_super, [this].concat(args));
126090
126090
  (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "parsedText", function (text) {
126091
+ var autoplayAudioEnabled = _this.props.autoplayAudioEnabled;
126091
126092
  var div = document.createElement('div');
126092
126093
  div.innerHTML = text;
126093
126094
  var audio = div.querySelector('audio');
@@ -126096,6 +126097,9 @@ const require$$11$4 = _dll_prop_types;
126096
126097
  source.setAttribute('type', 'audio/mp3');
126097
126098
  source.setAttribute('src', audio.getAttribute('src'));
126098
126099
  audio.removeAttribute('src');
126100
+ if (autoplayAudioEnabled) {
126101
+ audio.setAttribute('autoplay', 'autoplay');
126102
+ }
126099
126103
  audio.appendChild(source);
126100
126104
  }
126101
126105
  return div.innerHTML;
@@ -126169,7 +126173,8 @@ const require$$11$4 = _dll_prop_types;
126169
126173
  tagName: _propTypes["default"].string,
126170
126174
  className: _propTypes["default"].string,
126171
126175
  onClick: _propTypes["default"].func,
126172
- defaultClassName: _propTypes["default"].string
126176
+ defaultClassName: _propTypes["default"].string,
126177
+ autoplayAudioEnabled: _propTypes["default"].bool
126173
126178
  });
126174
126179
  (0, _defineProperty2["default"])(PreviewPrompt, "defaultProps", {
126175
126180
  onClick: function onClick() {}
@@ -3795,7 +3795,7 @@ var _default = {
3795
3795
  },
3796
3796
  imageClozeAssociation: {
3797
3797
  reachedLimit_one: 'You’ve reached the limit of {{count}} response per area. To add another response, one must first be removed.',
3798
- reachedLimit_other: 'You’ve reached the limit of {{count}} responses per area. To add another response, one must first be removed.'
3798
+ reachedLimit_other: 'Full'
3799
3799
  },
3800
3800
  drawingResponse: {
3801
3801
  fillColor: 'Fill color',
@@ -3891,7 +3891,7 @@ var _default = {
3891
3891
  },
3892
3892
  imageClozeAssociation: {
3893
3893
  reachedLimit_one: 'Has alcanzado el límite de {{count}} respuesta por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.',
3894
- reachedLimit_other: 'Has alcanzado el límite de {{count}} respuestas por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.'
3894
+ reachedLimit_other: 'Lleno'
3895
3895
  },
3896
3896
  drawingResponse: {
3897
3897
  fillColor: 'Color de relleno',
package/module/element.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.0.1/module/index.js";
2
- import {_dll_pie_lib__pie_toolbox_math_input, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@5.7.1/module/index.js";
2
+ import {_dll_pie_lib__pie_toolbox_math_input, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@5.7.2/module/index.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
5
5
  e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
@@ -21858,6 +21858,18 @@ const require$$14$5 = _dll_classnames;
21858
21858
  className: props.classes.para
21859
21859
  }, props.children);
21860
21860
  });
21861
+ var Spacer = (0, _styles.withStyles)(function () {
21862
+ return {
21863
+ spacer: {
21864
+ display: 'inline-block',
21865
+ width: '1.5em'
21866
+ }
21867
+ };
21868
+ })(function (props) {
21869
+ return _react["default"].createElement("span", {
21870
+ className: props.classes.spacer
21871
+ });
21872
+ });
21861
21873
  var restrictWhitespaceTypes = ['tbody', 'tr'];
21862
21874
  var addText = function addText(parentNode, text) {
21863
21875
  var isWhitespace = text.trim() === '';
@@ -21896,6 +21908,11 @@ const require$$14$5 = _dll_classnames;
21896
21908
  var c = rootRenderChildren(n, value, onChange);
21897
21909
  if (c) {
21898
21910
  children.push(c);
21911
+ if ((parentNode === null || parentNode === void 0 ? void 0 : parentNode.type) !== 'td') {
21912
+ children.push(_react["default"].createElement(Spacer, {
21913
+ key: ("spacer-").concat(index)
21914
+ }));
21915
+ }
21899
21916
  return;
21900
21917
  }
21901
21918
  }
@@ -142192,6 +142209,7 @@ const require$$11$r = _dll_prop_types;
142192
142209
  }
142193
142210
  _this = _super.call.apply(_super, [this].concat(args));
142194
142211
  (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "parsedText", function (text) {
142212
+ var autoplayAudioEnabled = _this.props.autoplayAudioEnabled;
142195
142213
  var div = document.createElement('div');
142196
142214
  div.innerHTML = text;
142197
142215
  var audio = div.querySelector('audio');
@@ -142200,6 +142218,9 @@ const require$$11$r = _dll_prop_types;
142200
142218
  source.setAttribute('type', 'audio/mp3');
142201
142219
  source.setAttribute('src', audio.getAttribute('src'));
142202
142220
  audio.removeAttribute('src');
142221
+ if (autoplayAudioEnabled) {
142222
+ audio.setAttribute('autoplay', 'autoplay');
142223
+ }
142203
142224
  audio.appendChild(source);
142204
142225
  }
142205
142226
  return div.innerHTML;
@@ -142273,7 +142294,8 @@ const require$$11$r = _dll_prop_types;
142273
142294
  tagName: _propTypes["default"].string,
142274
142295
  className: _propTypes["default"].string,
142275
142296
  onClick: _propTypes["default"].func,
142276
- defaultClassName: _propTypes["default"].string
142297
+ defaultClassName: _propTypes["default"].string,
142298
+ autoplayAudioEnabled: _propTypes["default"].bool
142277
142299
  });
142278
142300
  (0, _defineProperty2["default"])(PreviewPrompt, "defaultProps", {
142279
142301
  onClick: function onClick() {}
@@ -145291,7 +145313,8 @@ const require$$2$k = _dll_react;
145291
145313
  return newObj;
145292
145314
  }
145293
145315
  var backends = [{
145294
- backend: _reactDndHtml5Backend.HTML5Backend
145316
+ backend: _reactDndHtml5Backend.HTML5Backend,
145317
+ transition: _reactDndMultiBackend.MouseTransition
145295
145318
  }, {
145296
145319
  backend: _reactDndTouchBackend.TouchBackend,
145297
145320
  options: {
@@ -146506,8 +146529,7 @@ const require$$18$3 = _dll_classnames;
146506
146529
  fontSize: 'inherit',
146507
146530
  maxWidth: '374px',
146508
146531
  position: 'relative',
146509
- borderRadius: '3px',
146510
- margin: '8px'
146532
+ borderRadius: '3px'
146511
146533
  },
146512
146534
  chipLabel: {
146513
146535
  whiteSpace: 'normal',
@@ -169994,7 +170016,8 @@ const require$$12$1 = _dll_debug;
169994
170016
  var dataURL = reader.result;
169995
170017
  _this.setState({
169996
170018
  fileUpload: _objectSpread(_objectSpread({}, _this.state.fileUpload), {}, {
169997
- url: dataURL
170019
+ url: dataURL,
170020
+ mimeType: fileChosen.type
169998
170021
  })
169999
170022
  });
170000
170023
  };
@@ -170054,7 +170077,8 @@ const require$$12$1 = _dll_debug;
170054
170077
  _this.setState({
170055
170078
  fileUpload: _objectSpread(_objectSpread({}, _this.state.fileUpload), {}, {
170056
170079
  loading: false,
170057
- url: ''
170080
+ url: '',
170081
+ mimeType: ''
170058
170082
  })
170059
170083
  });
170060
170084
  case 2:
@@ -170080,7 +170104,8 @@ const require$$12$1 = _dll_debug;
170080
170104
  error: null,
170081
170105
  loading: false,
170082
170106
  scheduled: false,
170083
- url: ''
170107
+ url: '',
170108
+ mimeType: ''
170084
170109
  }
170085
170110
  };
170086
170111
  return _this;
@@ -170101,7 +170126,7 @@ const require$$12$1 = _dll_debug;
170101
170126
  value: function render() {
170102
170127
  var _this2 = this;
170103
170128
  var _this$props = this.props, classes = _this$props.classes, open = _this$props.open, disablePortal = _this$props.disablePortal, type = _this$props.type, edit = _this$props.edit, uploadSoundSupport = _this$props.uploadSoundSupport;
170104
- var _this$state4 = this.state, ends = _this$state4.ends, height = _this$state4.height, invalid = _this$state4.invalid, starts = _this$state4.starts, width = _this$state4.width, url = _this$state4.url, formattedUrl = _this$state4.formattedUrl, updating = _this$state4.updating, tabValue = _this$state4.tabValue, fileUpload = _this$state4.fileUpload;
170129
+ var _this$state4 = this.state, ends = _this$state4.ends, height = _this$state4.height, invalid = _this$state4.invalid, starts = _this$state4.starts, width = _this$state4.width, url = _this$state4.url, mimeType = _this$state4.mimeType, formattedUrl = _this$state4.formattedUrl, updating = _this$state4.updating, tabValue = _this$state4.tabValue, fileUpload = _this$state4.fileUpload;
170105
170130
  var isYoutube = matchYoutubeUrl(url);
170106
170131
  var isInsertURL = tabValue === tabsTypeMap.insertUrl;
170107
170132
  var isUploadMedia = tabValue === tabsTypeMap.uploadFile;
@@ -170206,7 +170231,7 @@ const require$$12$1 = _dll_debug;
170206
170231
  controls: "controls",
170207
170232
  controlsList: "nodownload"
170208
170233
  }, _react["default"].createElement("source", {
170209
- type: "audio/mp3",
170234
+ type: mimeType,
170210
170235
  src: fileUpload.url
170211
170236
  })), _react["default"].createElement(_IconButton["default"], {
170212
170237
  "aria-label": "delete",
@@ -177539,7 +177564,7 @@ const require$$13$1 = _dll_prop_types;
177539
177564
  editorHolder: {
177540
177565
  position: 'relative',
177541
177566
  padding: '0px',
177542
- overflowY: 'scroll',
177567
+ overflowY: 'auto',
177543
177568
  color: _renderUi.color.text(),
177544
177569
  backgroundColor: _renderUi.color.background(),
177545
177570
  '&::before': {
package/module/index.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <!doctype html>
3
3
  <html>
4
4
  <head>
5
- <title>@pie-element/math-templated@3.3.6</title>
5
+ <title>@pie-element/math-templated@3.3.7</title>
6
6
  <script
7
7
  type="module"
8
8
  src="https://cdn.jsdelivr.net/npm/@pslb/demo-el@^1.0.0/dist/demo-el/demo-el.esm.js"></script>
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-element/math-templated",
3
- "version": "3.3.6",
3
+ "version": "3.3.7",
4
4
  "modules": [
5
5
  {
6
6
  "name": "@pie-lib/pie-toolbox-math-rendering-module",
@@ -8,7 +8,7 @@
8
8
  },
9
9
  {
10
10
  "name": "@pie-lib/pie-toolbox-module",
11
- "version": "5.7.1"
11
+ "version": "5.7.2"
12
12
  }
13
13
  ]
14
14
  }
package/module/print.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <!doctype html>
3
3
  <html>
4
4
  <head>
5
- <title>@pie-element/math-templated@3.3.6</title>
5
+ <title>@pie-element/math-templated@3.3.7</title>
6
6
  <link
7
7
  href="https://fonts.googleapis.com/css?family=Roboto&display=swap"
8
8
  rel="stylesheet"
package/module/print.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.0.1/module/index.js";
2
- import {_dll_pie_lib__pie_toolbox_math_input, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@5.7.1/module/index.js";
2
+ import {_dll_pie_lib__pie_toolbox_math_input, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@5.7.2/module/index.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
5
5
  e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
@@ -21821,6 +21821,18 @@ const require$$14$5 = _dll_classnames;
21821
21821
  className: props.classes.para
21822
21822
  }, props.children);
21823
21823
  });
21824
+ var Spacer = (0, _styles.withStyles)(function () {
21825
+ return {
21826
+ spacer: {
21827
+ display: 'inline-block',
21828
+ width: '1.5em'
21829
+ }
21830
+ };
21831
+ })(function (props) {
21832
+ return _react["default"].createElement("span", {
21833
+ className: props.classes.spacer
21834
+ });
21835
+ });
21824
21836
  var restrictWhitespaceTypes = ['tbody', 'tr'];
21825
21837
  var addText = function addText(parentNode, text) {
21826
21838
  var isWhitespace = text.trim() === '';
@@ -21859,6 +21871,11 @@ const require$$14$5 = _dll_classnames;
21859
21871
  var c = rootRenderChildren(n, value, onChange);
21860
21872
  if (c) {
21861
21873
  children.push(c);
21874
+ if ((parentNode === null || parentNode === void 0 ? void 0 : parentNode.type) !== 'td') {
21875
+ children.push(_react["default"].createElement(Spacer, {
21876
+ key: ("spacer-").concat(index)
21877
+ }));
21878
+ }
21862
21879
  return;
21863
21880
  }
21864
21881
  }
@@ -142155,6 +142172,7 @@ const require$$11$r = _dll_prop_types;
142155
142172
  }
142156
142173
  _this = _super.call.apply(_super, [this].concat(args));
142157
142174
  (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "parsedText", function (text) {
142175
+ var autoplayAudioEnabled = _this.props.autoplayAudioEnabled;
142158
142176
  var div = document.createElement('div');
142159
142177
  div.innerHTML = text;
142160
142178
  var audio = div.querySelector('audio');
@@ -142163,6 +142181,9 @@ const require$$11$r = _dll_prop_types;
142163
142181
  source.setAttribute('type', 'audio/mp3');
142164
142182
  source.setAttribute('src', audio.getAttribute('src'));
142165
142183
  audio.removeAttribute('src');
142184
+ if (autoplayAudioEnabled) {
142185
+ audio.setAttribute('autoplay', 'autoplay');
142186
+ }
142166
142187
  audio.appendChild(source);
142167
142188
  }
142168
142189
  return div.innerHTML;
@@ -142236,7 +142257,8 @@ const require$$11$r = _dll_prop_types;
142236
142257
  tagName: _propTypes["default"].string,
142237
142258
  className: _propTypes["default"].string,
142238
142259
  onClick: _propTypes["default"].func,
142239
- defaultClassName: _propTypes["default"].string
142260
+ defaultClassName: _propTypes["default"].string,
142261
+ autoplayAudioEnabled: _propTypes["default"].bool
142240
142262
  });
142241
142263
  (0, _defineProperty2["default"])(PreviewPrompt, "defaultProps", {
142242
142264
  onClick: function onClick() {}
@@ -145254,7 +145276,8 @@ const require$$2$k = _dll_react;
145254
145276
  return newObj;
145255
145277
  }
145256
145278
  var backends = [{
145257
- backend: _reactDndHtml5Backend.HTML5Backend
145279
+ backend: _reactDndHtml5Backend.HTML5Backend,
145280
+ transition: _reactDndMultiBackend.MouseTransition
145258
145281
  }, {
145259
145282
  backend: _reactDndTouchBackend.TouchBackend,
145260
145283
  options: {
@@ -146469,8 +146492,7 @@ const require$$18$3 = _dll_classnames;
146469
146492
  fontSize: 'inherit',
146470
146493
  maxWidth: '374px',
146471
146494
  position: 'relative',
146472
- borderRadius: '3px',
146473
- margin: '8px'
146495
+ borderRadius: '3px'
146474
146496
  },
146475
146497
  chipLabel: {
146476
146498
  whiteSpace: 'normal',
@@ -169957,7 +169979,8 @@ const require$$12$1 = _dll_debug;
169957
169979
  var dataURL = reader.result;
169958
169980
  _this.setState({
169959
169981
  fileUpload: _objectSpread(_objectSpread({}, _this.state.fileUpload), {}, {
169960
- url: dataURL
169982
+ url: dataURL,
169983
+ mimeType: fileChosen.type
169961
169984
  })
169962
169985
  });
169963
169986
  };
@@ -170017,7 +170040,8 @@ const require$$12$1 = _dll_debug;
170017
170040
  _this.setState({
170018
170041
  fileUpload: _objectSpread(_objectSpread({}, _this.state.fileUpload), {}, {
170019
170042
  loading: false,
170020
- url: ''
170043
+ url: '',
170044
+ mimeType: ''
170021
170045
  })
170022
170046
  });
170023
170047
  case 2:
@@ -170043,7 +170067,8 @@ const require$$12$1 = _dll_debug;
170043
170067
  error: null,
170044
170068
  loading: false,
170045
170069
  scheduled: false,
170046
- url: ''
170070
+ url: '',
170071
+ mimeType: ''
170047
170072
  }
170048
170073
  };
170049
170074
  return _this;
@@ -170064,7 +170089,7 @@ const require$$12$1 = _dll_debug;
170064
170089
  value: function render() {
170065
170090
  var _this2 = this;
170066
170091
  var _this$props = this.props, classes = _this$props.classes, open = _this$props.open, disablePortal = _this$props.disablePortal, type = _this$props.type, edit = _this$props.edit, uploadSoundSupport = _this$props.uploadSoundSupport;
170067
- var _this$state4 = this.state, ends = _this$state4.ends, height = _this$state4.height, invalid = _this$state4.invalid, starts = _this$state4.starts, width = _this$state4.width, url = _this$state4.url, formattedUrl = _this$state4.formattedUrl, updating = _this$state4.updating, tabValue = _this$state4.tabValue, fileUpload = _this$state4.fileUpload;
170092
+ var _this$state4 = this.state, ends = _this$state4.ends, height = _this$state4.height, invalid = _this$state4.invalid, starts = _this$state4.starts, width = _this$state4.width, url = _this$state4.url, mimeType = _this$state4.mimeType, formattedUrl = _this$state4.formattedUrl, updating = _this$state4.updating, tabValue = _this$state4.tabValue, fileUpload = _this$state4.fileUpload;
170068
170093
  var isYoutube = matchYoutubeUrl(url);
170069
170094
  var isInsertURL = tabValue === tabsTypeMap.insertUrl;
170070
170095
  var isUploadMedia = tabValue === tabsTypeMap.uploadFile;
@@ -170169,7 +170194,7 @@ const require$$12$1 = _dll_debug;
170169
170194
  controls: "controls",
170170
170195
  controlsList: "nodownload"
170171
170196
  }, _react["default"].createElement("source", {
170172
- type: "audio/mp3",
170197
+ type: mimeType,
170173
170198
  src: fileUpload.url
170174
170199
  })), _react["default"].createElement(_IconButton["default"], {
170175
170200
  "aria-label": "delete",
@@ -177502,7 +177527,7 @@ const require$$13$1 = _dll_prop_types;
177502
177527
  editorHolder: {
177503
177528
  position: 'relative',
177504
177529
  padding: '0px',
177505
- overflowY: 'scroll',
177530
+ overflowY: 'auto',
177506
177531
  color: _renderUi.color.text(),
177507
177532
  backgroundColor: _renderUi.color.background(),
177508
177533
  '&::before': {
package/package.json CHANGED
@@ -4,19 +4,19 @@
4
4
  "access": "public"
5
5
  },
6
6
  "repository": "pie-framework/pie-elements",
7
- "version": "3.3.7-next.7+2e72baca5",
7
+ "version": "3.3.8-next.0+2a0a60cdf",
8
8
  "description": "",
9
9
  "dependencies": {
10
10
  "@material-ui/core": "^3.9.2",
11
11
  "@pie-framework/pie-player-events": "^0.1.0",
12
- "@pie-lib/pie-toolbox": "2.6.1",
12
+ "@pie-lib/pie-toolbox": "2.7.0",
13
13
  "prop-types": "^15.6.1",
14
14
  "react": "^16.8.1",
15
15
  "react-dom": "^16.8.1"
16
16
  },
17
17
  "author": "",
18
18
  "license": "ISC",
19
- "gitHead": "2e72baca5a8804c802a4bd5e45ff59feccee930e",
19
+ "gitHead": "2a0a60cdf75f18725a6db32733bfbc101efe0ee3",
20
20
  "scripts": {
21
21
  "postpublish": "../../scripts/postpublish"
22
22
  },