@pie-element/complex-rubric 3.6.6-next.3 → 3.6.6-next.31
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/controller/package.json +1 -1
- package/module/configure.js +16 -6
- package/module/element.js +13 -6
- package/module/manifest.json +2 -2
- package/module/print.js +13 -6
- package/package.json +4 -4
package/controller/package.json
CHANGED
package/module/configure.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.9.0/module/index.js";
|
|
2
2
|
import RubricConfigure from '@pie-element/rubric/configure/lib';
|
|
3
|
-
import {_dll_pie_lib__pie_toolbox_editable_html, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_config_ui} from "../../../@pie-lib/pie-toolbox-module@6.
|
|
3
|
+
import {_dll_pie_lib__pie_toolbox_editable_html, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_config_ui} from "../../../@pie-lib/pie-toolbox-module@6.2.0/module/index.js";
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
5
5
|
m.forEach(function (e) {
|
|
6
6
|
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
|
|
@@ -41345,7 +41345,7 @@ var defaults$2 = {
|
|
|
41345
41345
|
FOCUS_CHECKED: '#BBDEFB',
|
|
41346
41346
|
FOCUS_CHECKED_BORDER: '#1565C0',
|
|
41347
41347
|
FOCUS_UNCHECKED: '#E0E0E0',
|
|
41348
|
-
FOCUS_UNCHECKED_BORDER: '#
|
|
41348
|
+
FOCUS_UNCHECKED_BORDER: '#757575'
|
|
41349
41349
|
};
|
|
41350
41350
|
color$1.defaults = defaults$2;
|
|
41351
41351
|
Object.freeze(defaults$2);
|
|
@@ -114939,6 +114939,7 @@ const require$$23$2 = _dll_debug;
|
|
|
114939
114939
|
var mathMl = toMMl(item.data.root);
|
|
114940
114940
|
var parsedMathMl = mathMl.replaceAll('\n', '');
|
|
114941
114941
|
item.data.typesetRoot.setAttribute('data-mathml', parsedMathMl);
|
|
114942
|
+
item.data.typesetRoot.setAttribute('tabindex', '-1');
|
|
114942
114943
|
}
|
|
114943
114944
|
}
|
|
114944
114945
|
} catch (e) {
|
|
@@ -134462,6 +134463,9 @@ var defaults$1 = {};
|
|
|
134462
134463
|
},
|
|
134463
134464
|
showParagraphs: {
|
|
134464
134465
|
disabled: false
|
|
134466
|
+
},
|
|
134467
|
+
separateParagraphs: {
|
|
134468
|
+
disabled: true
|
|
134465
134469
|
}
|
|
134466
134470
|
},
|
|
134467
134471
|
expandedInput: {
|
|
@@ -180810,7 +180814,7 @@ const require$$21 = _dll_debug;
|
|
|
180810
180814
|
exports.serialization = serialization$1;
|
|
180811
180815
|
var _insertImageHandler = _interopRequireDefault(insertImageHandler);
|
|
180812
180816
|
var _plugins = plugins;
|
|
180813
|
-
var _excluded = ["customPlugins", "showParagraphs"];
|
|
180817
|
+
var _excluded = ["customPlugins", "showParagraphs", "separateParagraphs"];
|
|
180814
180818
|
function _getRequireWildcardCache(nodeInterop) {
|
|
180815
180819
|
if (typeof WeakMap !== "function") return null;
|
|
180816
180820
|
var cacheBabelInterop = new WeakMap();
|
|
@@ -181666,7 +181670,7 @@ const require$$21 = _dll_debug;
|
|
|
181666
181670
|
var placeholder = _this$props2.placeholder, pluginProps = _this$props2.pluginProps, onKeyDown = _this$props2.onKeyDown;
|
|
181667
181671
|
var _ref4 = pluginProps || ({});
|
|
181668
181672
|
_ref4.customPlugins;
|
|
181669
|
-
var showParagraphs = _ref4.showParagraphs, otherPluginProps = (0, _objectWithoutProperties2["default"])(_ref4, _excluded);
|
|
181673
|
+
var showParagraphs = _ref4.showParagraphs, separateParagraphs = _ref4.separateParagraphs, otherPluginProps = (0, _objectWithoutProperties2["default"])(_ref4, _excluded);
|
|
181670
181674
|
var _this$state4 = this.state, value = _this$state4.value, focusedNode = _this$state4.focusedNode, toolbarOpts = _this$state4.toolbarOpts, dialog = _this$state4.dialog, scheduled = _this$state4.scheduled;
|
|
181671
181675
|
log('[render] value: ', value);
|
|
181672
181676
|
var sizeStyle = this.buildSizeStyle();
|
|
@@ -181722,7 +181726,7 @@ const require$$21 = _dll_debug;
|
|
|
181722
181726
|
readOnly: disabled,
|
|
181723
181727
|
spellCheck: spellCheck,
|
|
181724
181728
|
autoCorrect: spellCheck,
|
|
181725
|
-
className: (0, _classnames["default"])((_classNames2 = {}, (0, _defineProperty2["default"])(_classNames2, classes.noPadding, toolbarOpts === null || toolbarOpts === void 0 ? void 0 : toolbarOpts.noPadding), (0, _defineProperty2["default"])(_classNames2, classes.showParagraph, showParagraphs && !showParagraphs.disabled), _classNames2), classes.slateEditor),
|
|
181729
|
+
className: (0, _classnames["default"])((_classNames2 = {}, (0, _defineProperty2["default"])(_classNames2, classes.noPadding, toolbarOpts === null || toolbarOpts === void 0 ? void 0 : toolbarOpts.noPadding), (0, _defineProperty2["default"])(_classNames2, classes.showParagraph, showParagraphs && !showParagraphs.disabled), (0, _defineProperty2["default"])(_classNames2, classes.separateParagraph, separateParagraphs && !separateParagraphs.disabled), _classNames2), classes.slateEditor),
|
|
181726
181730
|
style: {
|
|
181727
181731
|
minHeight: sizeStyle.minHeight,
|
|
181728
181732
|
height: sizeStyle.height,
|
|
@@ -181877,9 +181881,15 @@ const require$$21 = _dll_debug;
|
|
|
181877
181881
|
'& > div:has(+ div)::after': {
|
|
181878
181882
|
display: 'block',
|
|
181879
181883
|
content: '"¶"',
|
|
181884
|
+
fontSize: '1em',
|
|
181880
181885
|
color: '#146EB3'
|
|
181881
181886
|
}
|
|
181882
181887
|
},
|
|
181888
|
+
separateParagraph: {
|
|
181889
|
+
'& > div:has(+ div)': {
|
|
181890
|
+
marginBottom: '1em'
|
|
181891
|
+
}
|
|
181892
|
+
},
|
|
181883
181893
|
toolbarOnTop: {
|
|
181884
181894
|
marginTop: '45px'
|
|
181885
181895
|
},
|
package/module/element.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.
|
|
2
|
-
import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@6.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.9.0/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@6.2.0/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) {
|
|
@@ -59223,7 +59223,7 @@ var defaults = {
|
|
|
59223
59223
|
FOCUS_CHECKED: '#BBDEFB',
|
|
59224
59224
|
FOCUS_CHECKED_BORDER: '#1565C0',
|
|
59225
59225
|
FOCUS_UNCHECKED: '#E0E0E0',
|
|
59226
|
-
FOCUS_UNCHECKED_BORDER: '#
|
|
59226
|
+
FOCUS_UNCHECKED_BORDER: '#757575'
|
|
59227
59227
|
};
|
|
59228
59228
|
color.defaults = defaults;
|
|
59229
59229
|
Object.freeze(defaults);
|
|
@@ -132545,6 +132545,7 @@ const require$$23$2 = _dll_debug;
|
|
|
132545
132545
|
var mathMl = toMMl(item.data.root);
|
|
132546
132546
|
var parsedMathMl = mathMl.replaceAll('\n', '');
|
|
132547
132547
|
item.data.typesetRoot.setAttribute('data-mathml', parsedMathMl);
|
|
132548
|
+
item.data.typesetRoot.setAttribute('tabindex', '-1');
|
|
132548
132549
|
}
|
|
132549
132550
|
}
|
|
132550
132551
|
} catch (e) {
|
|
@@ -178881,7 +178882,7 @@ const require$$21 = _dll_debug;
|
|
|
178881
178882
|
exports.serialization = serialization$1;
|
|
178882
178883
|
var _insertImageHandler = _interopRequireDefault(insertImageHandler);
|
|
178883
178884
|
var _plugins = plugins;
|
|
178884
|
-
var _excluded = ["customPlugins", "showParagraphs"];
|
|
178885
|
+
var _excluded = ["customPlugins", "showParagraphs", "separateParagraphs"];
|
|
178885
178886
|
function _getRequireWildcardCache(nodeInterop) {
|
|
178886
178887
|
if (typeof WeakMap !== "function") return null;
|
|
178887
178888
|
var cacheBabelInterop = new WeakMap();
|
|
@@ -179737,7 +179738,7 @@ const require$$21 = _dll_debug;
|
|
|
179737
179738
|
var placeholder = _this$props2.placeholder, pluginProps = _this$props2.pluginProps, onKeyDown = _this$props2.onKeyDown;
|
|
179738
179739
|
var _ref4 = pluginProps || ({});
|
|
179739
179740
|
_ref4.customPlugins;
|
|
179740
|
-
var showParagraphs = _ref4.showParagraphs, otherPluginProps = (0, _objectWithoutProperties2["default"])(_ref4, _excluded);
|
|
179741
|
+
var showParagraphs = _ref4.showParagraphs, separateParagraphs = _ref4.separateParagraphs, otherPluginProps = (0, _objectWithoutProperties2["default"])(_ref4, _excluded);
|
|
179741
179742
|
var _this$state4 = this.state, value = _this$state4.value, focusedNode = _this$state4.focusedNode, toolbarOpts = _this$state4.toolbarOpts, dialog = _this$state4.dialog, scheduled = _this$state4.scheduled;
|
|
179742
179743
|
log('[render] value: ', value);
|
|
179743
179744
|
var sizeStyle = this.buildSizeStyle();
|
|
@@ -179793,7 +179794,7 @@ const require$$21 = _dll_debug;
|
|
|
179793
179794
|
readOnly: disabled,
|
|
179794
179795
|
spellCheck: spellCheck,
|
|
179795
179796
|
autoCorrect: spellCheck,
|
|
179796
|
-
className: (0, _classnames["default"])((_classNames2 = {}, (0, _defineProperty2["default"])(_classNames2, classes.noPadding, toolbarOpts === null || toolbarOpts === void 0 ? void 0 : toolbarOpts.noPadding), (0, _defineProperty2["default"])(_classNames2, classes.showParagraph, showParagraphs && !showParagraphs.disabled), _classNames2), classes.slateEditor),
|
|
179797
|
+
className: (0, _classnames["default"])((_classNames2 = {}, (0, _defineProperty2["default"])(_classNames2, classes.noPadding, toolbarOpts === null || toolbarOpts === void 0 ? void 0 : toolbarOpts.noPadding), (0, _defineProperty2["default"])(_classNames2, classes.showParagraph, showParagraphs && !showParagraphs.disabled), (0, _defineProperty2["default"])(_classNames2, classes.separateParagraph, separateParagraphs && !separateParagraphs.disabled), _classNames2), classes.slateEditor),
|
|
179797
179798
|
style: {
|
|
179798
179799
|
minHeight: sizeStyle.minHeight,
|
|
179799
179800
|
height: sizeStyle.height,
|
|
@@ -179948,9 +179949,15 @@ const require$$21 = _dll_debug;
|
|
|
179948
179949
|
'& > div:has(+ div)::after': {
|
|
179949
179950
|
display: 'block',
|
|
179950
179951
|
content: '"¶"',
|
|
179952
|
+
fontSize: '1em',
|
|
179951
179953
|
color: '#146EB3'
|
|
179952
179954
|
}
|
|
179953
179955
|
},
|
|
179956
|
+
separateParagraph: {
|
|
179957
|
+
'& > div:has(+ div)': {
|
|
179958
|
+
marginBottom: '1em'
|
|
179959
|
+
}
|
|
179960
|
+
},
|
|
179954
179961
|
toolbarOnTop: {
|
|
179955
179962
|
marginTop: '45px'
|
|
179956
179963
|
},
|
package/module/manifest.json
CHANGED
package/module/print.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.
|
|
2
|
-
import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@6.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.9.0/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@6.2.0/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) {
|
|
@@ -59223,7 +59223,7 @@ var defaults = {
|
|
|
59223
59223
|
FOCUS_CHECKED: '#BBDEFB',
|
|
59224
59224
|
FOCUS_CHECKED_BORDER: '#1565C0',
|
|
59225
59225
|
FOCUS_UNCHECKED: '#E0E0E0',
|
|
59226
|
-
FOCUS_UNCHECKED_BORDER: '#
|
|
59226
|
+
FOCUS_UNCHECKED_BORDER: '#757575'
|
|
59227
59227
|
};
|
|
59228
59228
|
color.defaults = defaults;
|
|
59229
59229
|
Object.freeze(defaults);
|
|
@@ -132545,6 +132545,7 @@ const require$$23$2 = _dll_debug;
|
|
|
132545
132545
|
var mathMl = toMMl(item.data.root);
|
|
132546
132546
|
var parsedMathMl = mathMl.replaceAll('\n', '');
|
|
132547
132547
|
item.data.typesetRoot.setAttribute('data-mathml', parsedMathMl);
|
|
132548
|
+
item.data.typesetRoot.setAttribute('tabindex', '-1');
|
|
132548
132549
|
}
|
|
132549
132550
|
}
|
|
132550
132551
|
} catch (e) {
|
|
@@ -178881,7 +178882,7 @@ const require$$21 = _dll_debug;
|
|
|
178881
178882
|
exports.serialization = serialization$1;
|
|
178882
178883
|
var _insertImageHandler = _interopRequireDefault(insertImageHandler);
|
|
178883
178884
|
var _plugins = plugins;
|
|
178884
|
-
var _excluded = ["customPlugins", "showParagraphs"];
|
|
178885
|
+
var _excluded = ["customPlugins", "showParagraphs", "separateParagraphs"];
|
|
178885
178886
|
function _getRequireWildcardCache(nodeInterop) {
|
|
178886
178887
|
if (typeof WeakMap !== "function") return null;
|
|
178887
178888
|
var cacheBabelInterop = new WeakMap();
|
|
@@ -179737,7 +179738,7 @@ const require$$21 = _dll_debug;
|
|
|
179737
179738
|
var placeholder = _this$props2.placeholder, pluginProps = _this$props2.pluginProps, onKeyDown = _this$props2.onKeyDown;
|
|
179738
179739
|
var _ref4 = pluginProps || ({});
|
|
179739
179740
|
_ref4.customPlugins;
|
|
179740
|
-
var showParagraphs = _ref4.showParagraphs, otherPluginProps = (0, _objectWithoutProperties2["default"])(_ref4, _excluded);
|
|
179741
|
+
var showParagraphs = _ref4.showParagraphs, separateParagraphs = _ref4.separateParagraphs, otherPluginProps = (0, _objectWithoutProperties2["default"])(_ref4, _excluded);
|
|
179741
179742
|
var _this$state4 = this.state, value = _this$state4.value, focusedNode = _this$state4.focusedNode, toolbarOpts = _this$state4.toolbarOpts, dialog = _this$state4.dialog, scheduled = _this$state4.scheduled;
|
|
179742
179743
|
log('[render] value: ', value);
|
|
179743
179744
|
var sizeStyle = this.buildSizeStyle();
|
|
@@ -179793,7 +179794,7 @@ const require$$21 = _dll_debug;
|
|
|
179793
179794
|
readOnly: disabled,
|
|
179794
179795
|
spellCheck: spellCheck,
|
|
179795
179796
|
autoCorrect: spellCheck,
|
|
179796
|
-
className: (0, _classnames["default"])((_classNames2 = {}, (0, _defineProperty2["default"])(_classNames2, classes.noPadding, toolbarOpts === null || toolbarOpts === void 0 ? void 0 : toolbarOpts.noPadding), (0, _defineProperty2["default"])(_classNames2, classes.showParagraph, showParagraphs && !showParagraphs.disabled), _classNames2), classes.slateEditor),
|
|
179797
|
+
className: (0, _classnames["default"])((_classNames2 = {}, (0, _defineProperty2["default"])(_classNames2, classes.noPadding, toolbarOpts === null || toolbarOpts === void 0 ? void 0 : toolbarOpts.noPadding), (0, _defineProperty2["default"])(_classNames2, classes.showParagraph, showParagraphs && !showParagraphs.disabled), (0, _defineProperty2["default"])(_classNames2, classes.separateParagraph, separateParagraphs && !separateParagraphs.disabled), _classNames2), classes.slateEditor),
|
|
179797
179798
|
style: {
|
|
179798
179799
|
minHeight: sizeStyle.minHeight,
|
|
179799
179800
|
height: sizeStyle.height,
|
|
@@ -179948,9 +179949,15 @@ const require$$21 = _dll_debug;
|
|
|
179948
179949
|
'& > div:has(+ div)::after': {
|
|
179949
179950
|
display: 'block',
|
|
179950
179951
|
content: '"¶"',
|
|
179952
|
+
fontSize: '1em',
|
|
179951
179953
|
color: '#146EB3'
|
|
179952
179954
|
}
|
|
179953
179955
|
},
|
|
179956
|
+
separateParagraph: {
|
|
179957
|
+
'& > div:has(+ div)': {
|
|
179958
|
+
marginBottom: '1em'
|
|
179959
|
+
}
|
|
179960
|
+
},
|
|
179954
179961
|
toolbarOnTop: {
|
|
179955
179962
|
marginTop: '45px'
|
|
179956
179963
|
},
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/complex-rubric",
|
|
3
3
|
"repository": "pie-framework/pie-elements",
|
|
4
|
-
"version": "3.6.6-next.
|
|
4
|
+
"version": "3.6.6-next.31+61185c0df",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@material-ui/core": "^3.9.2",
|
|
10
|
-
"@pie-element/multi-trait-rubric": "^4.5.6-next.
|
|
11
|
-
"@pie-element/rubric": "^4.7.1-next.
|
|
10
|
+
"@pie-element/multi-trait-rubric": "^4.5.6-next.31+61185c0df",
|
|
11
|
+
"@pie-element/rubric": "^4.7.1-next.31+61185c0df",
|
|
12
12
|
"@pie-framework/pie-player-events": "^0.1.0",
|
|
13
13
|
"classnames": "^2.2.5",
|
|
14
14
|
"debug": "^4.1.1",
|
|
15
15
|
"lodash": "^4.17.11",
|
|
16
16
|
"prop-types": "^15.7.2"
|
|
17
17
|
},
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "61185c0df80f9a7cd71d58a04ac4701e2bf628fc",
|
|
19
19
|
"scripts": {
|
|
20
20
|
"postpublish": "../../scripts/postpublish"
|
|
21
21
|
},
|