@pie-element/complex-rubric 3.2.1-next.2 → 3.2.1-next.3
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 +4 -5
- package/module/element.js +4 -5
- package/module/manifest.json +1 -1
- package/module/print.js +4 -5
- package/package.json +4 -4
package/controller/package.json
CHANGED
package/module/configure.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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} from "../../../@pie-lib/pie-toolbox-math-rendering-module@2.1.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@5.0
|
|
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@5.1.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) {
|
|
@@ -106283,7 +106283,7 @@ var buildPlugins = function buildPlugins(activePlugins, customPlugins, opts) {
|
|
|
106283
106283
|
}
|
|
106284
106284
|
builtCustomPlugins.push((0, _customPlugin["default"])('custom-plugin', customPlugin));
|
|
106285
106285
|
});
|
|
106286
|
-
return (0, _compact["default"])([
|
|
106286
|
+
return (0, _compact["default"])([addIf('table', (0, _table["default"])(opts.table, (0, _compact["default"])(tablePlugins))), addIf('bold', MarkHotkey({
|
|
106287
106287
|
key: 'b',
|
|
106288
106288
|
type: 'bold',
|
|
106289
106289
|
icon: _react$1e["default"].createElement(_FormatBold["default"], null),
|
|
@@ -106333,7 +106333,7 @@ var buildPlugins = function buildPlugins(activePlugins, customPlugins, opts) {
|
|
|
106333
106333
|
icon: _react$1e["default"].createElement(_FormatListNumbered["default"], null)
|
|
106334
106334
|
})), addIf('undo', UndoRedo('undo')), addIf('redo', UndoRedo('redo')), (0, _toolbar["default"])(opts.toolbar), (0, _slateSoftBreak["default"])({
|
|
106335
106335
|
shift: true
|
|
106336
|
-
})], builtCustomPlugins, [addIf('responseArea', respAreaPlugin), cssPlugin, addIf('html', (0, _html$1["default"])(opts.html)), EnterHandlingPlugin()]));
|
|
106336
|
+
})], builtCustomPlugins, [addIf('responseArea', respAreaPlugin), cssPlugin, addIf('html', (0, _html$1["default"])(opts.html)), EnterHandlingPlugin(), (0, _rendering["default"])()]));
|
|
106337
106337
|
};
|
|
106338
106338
|
plugins.buildPlugins = buildPlugins;
|
|
106339
106339
|
var require$$26 = getAugmentedNamespace(slatePlainSerializer_es);
|
|
@@ -115281,8 +115281,7 @@ const require$$24 = _dll_classnames;
|
|
|
115281
115281
|
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "renderPlaceholder", function (props) {
|
|
115282
115282
|
var editor = props.editor;
|
|
115283
115283
|
var document = editor.value.document;
|
|
115284
|
-
|
|
115285
|
-
if (!editor.props.placeholder || document.text !== '' || document.nodes.size !== 1 || !document.isEmpty || stateValue.isFocused) {
|
|
115284
|
+
if (!editor.props.placeholder || document.text !== '' || document.nodes.size !== 1 || !document.isEmpty) {
|
|
115286
115285
|
return false;
|
|
115287
115286
|
}
|
|
115288
115287
|
return _react["default"].createElement("span", {
|
package/module/element.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering_accessible, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@2.1.0/module/index.js";
|
|
2
|
-
import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@5.0
|
|
2
|
+
import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@5.1.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) {
|
|
@@ -104555,7 +104555,7 @@ var buildPlugins = function buildPlugins(activePlugins, customPlugins, opts) {
|
|
|
104555
104555
|
}
|
|
104556
104556
|
builtCustomPlugins.push((0, _customPlugin["default"])('custom-plugin', customPlugin));
|
|
104557
104557
|
});
|
|
104558
|
-
return (0, _compact["default"])([
|
|
104558
|
+
return (0, _compact["default"])([addIf('table', (0, _table["default"])(opts.table, (0, _compact["default"])(tablePlugins))), addIf('bold', MarkHotkey({
|
|
104559
104559
|
key: 'b',
|
|
104560
104560
|
type: 'bold',
|
|
104561
104561
|
icon: _react$1c["default"].createElement(_FormatBold["default"], null),
|
|
@@ -104605,7 +104605,7 @@ var buildPlugins = function buildPlugins(activePlugins, customPlugins, opts) {
|
|
|
104605
104605
|
icon: _react$1c["default"].createElement(_FormatListNumbered["default"], null)
|
|
104606
104606
|
})), addIf('undo', UndoRedo('undo')), addIf('redo', UndoRedo('redo')), (0, _toolbar["default"])(opts.toolbar), (0, _slateSoftBreak["default"])({
|
|
104607
104607
|
shift: true
|
|
104608
|
-
})], builtCustomPlugins, [addIf('responseArea', respAreaPlugin), cssPlugin, addIf('html', (0, _html$1["default"])(opts.html)), EnterHandlingPlugin()]));
|
|
104608
|
+
})], builtCustomPlugins, [addIf('responseArea', respAreaPlugin), cssPlugin, addIf('html', (0, _html$1["default"])(opts.html)), EnterHandlingPlugin(), (0, _rendering["default"])()]));
|
|
104609
104609
|
};
|
|
104610
104610
|
plugins.buildPlugins = buildPlugins;
|
|
104611
104611
|
var require$$26 = getAugmentedNamespace(slatePlainSerializer_es);
|
|
@@ -113358,8 +113358,7 @@ const require$$24 = _dll_classnames;
|
|
|
113358
113358
|
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "renderPlaceholder", function (props) {
|
|
113359
113359
|
var editor = props.editor;
|
|
113360
113360
|
var document = editor.value.document;
|
|
113361
|
-
|
|
113362
|
-
if (!editor.props.placeholder || document.text !== '' || document.nodes.size !== 1 || !document.isEmpty || stateValue.isFocused) {
|
|
113361
|
+
if (!editor.props.placeholder || document.text !== '' || document.nodes.size !== 1 || !document.isEmpty) {
|
|
113363
113362
|
return false;
|
|
113364
113363
|
}
|
|
113365
113364
|
return _react["default"].createElement("span", {
|
package/module/manifest.json
CHANGED
package/module/print.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering_accessible, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@2.1.0/module/index.js";
|
|
2
|
-
import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@5.0
|
|
2
|
+
import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@5.1.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) {
|
|
@@ -104555,7 +104555,7 @@ var buildPlugins = function buildPlugins(activePlugins, customPlugins, opts) {
|
|
|
104555
104555
|
}
|
|
104556
104556
|
builtCustomPlugins.push((0, _customPlugin["default"])('custom-plugin', customPlugin));
|
|
104557
104557
|
});
|
|
104558
|
-
return (0, _compact["default"])([
|
|
104558
|
+
return (0, _compact["default"])([addIf('table', (0, _table["default"])(opts.table, (0, _compact["default"])(tablePlugins))), addIf('bold', MarkHotkey({
|
|
104559
104559
|
key: 'b',
|
|
104560
104560
|
type: 'bold',
|
|
104561
104561
|
icon: _react$1c["default"].createElement(_FormatBold["default"], null),
|
|
@@ -104605,7 +104605,7 @@ var buildPlugins = function buildPlugins(activePlugins, customPlugins, opts) {
|
|
|
104605
104605
|
icon: _react$1c["default"].createElement(_FormatListNumbered["default"], null)
|
|
104606
104606
|
})), addIf('undo', UndoRedo('undo')), addIf('redo', UndoRedo('redo')), (0, _toolbar["default"])(opts.toolbar), (0, _slateSoftBreak["default"])({
|
|
104607
104607
|
shift: true
|
|
104608
|
-
})], builtCustomPlugins, [addIf('responseArea', respAreaPlugin), cssPlugin, addIf('html', (0, _html$1["default"])(opts.html)), EnterHandlingPlugin()]));
|
|
104608
|
+
})], builtCustomPlugins, [addIf('responseArea', respAreaPlugin), cssPlugin, addIf('html', (0, _html$1["default"])(opts.html)), EnterHandlingPlugin(), (0, _rendering["default"])()]));
|
|
104609
104609
|
};
|
|
104610
104610
|
plugins.buildPlugins = buildPlugins;
|
|
104611
104611
|
var require$$26 = getAugmentedNamespace(slatePlainSerializer_es);
|
|
@@ -113358,8 +113358,7 @@ const require$$24 = _dll_classnames;
|
|
|
113358
113358
|
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "renderPlaceholder", function (props) {
|
|
113359
113359
|
var editor = props.editor;
|
|
113360
113360
|
var document = editor.value.document;
|
|
113361
|
-
|
|
113362
|
-
if (!editor.props.placeholder || document.text !== '' || document.nodes.size !== 1 || !document.isEmpty || stateValue.isFocused) {
|
|
113361
|
+
if (!editor.props.placeholder || document.text !== '' || document.nodes.size !== 1 || !document.isEmpty) {
|
|
113363
113362
|
return false;
|
|
113364
113363
|
}
|
|
113365
113364
|
return _react["default"].createElement("span", {
|
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.2.1-next.
|
|
4
|
+
"version": "3.2.1-next.3+db03ac747",
|
|
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.2.1-next.
|
|
11
|
-
"@pie-element/rubric": "^4.2.1-next.
|
|
10
|
+
"@pie-element/multi-trait-rubric": "^4.2.1-next.3+db03ac747",
|
|
11
|
+
"@pie-element/rubric": "^4.2.1-next.3+db03ac747",
|
|
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": "db03ac7473960cedef2c83c79920e77db06f605d",
|
|
19
19
|
"scripts": {
|
|
20
20
|
"postpublish": "../../scripts/postpublish"
|
|
21
21
|
},
|