@pie-element/complex-rubric 2.19.5-next.6 → 2.19.6-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,20 @@
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.19.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/complex-rubric@2.19.4...@pie-element/complex-rubric@2.19.5) (2024-09-16)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * experiment with mra ([d62f2b4](https://github.com/pie-framework/pie-elements/commit/d62f2b4526eeda1f90d3660d97bf278ac1ae72da))
12
+ * experiment with mra ([d9487a5](https://github.com/pie-framework/pie-elements/commit/d9487a5394c9b71bb7d7d69a836ed629ae13f7b1))
13
+ * experiment with mra ([a2e933c](https://github.com/pie-framework/pie-elements/commit/a2e933cd27bb052046e245672d3e01cb5ba1b518))
14
+ * update pie-lib/pie-toolbox PD-4027, PD-4042,PD-4039, PD-4073 ([68306be](https://github.com/pie-framework/pie-elements/commit/68306be02254a6019916637fd9b75427cae1c0ed))
15
+
16
+
17
+
18
+
19
+
6
20
  ## [2.19.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/complex-rubric@2.19.3...@pie-element/complex-rubric@2.19.4) (2024-09-10)
7
21
 
8
22
 
@@ -3,6 +3,14 @@
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.48](https://github.com/pie-framework/pie-elements/compare/@pie-element/complex-rubric-configure@2.2.47...@pie-element/complex-rubric-configure@2.2.48) (2024-09-16)
7
+
8
+ **Note:** Version bump only for package @pie-element/complex-rubric-configure
9
+
10
+
11
+
12
+
13
+
6
14
  ## [2.2.47](https://github.com/pie-framework/pie-elements/compare/@pie-element/complex-rubric-configure@2.2.46...@pie-element/complex-rubric-configure@2.2.47) (2024-09-10)
7
15
 
8
16
  **Note:** Version bump only for package @pie-element/complex-rubric-configure
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@pie-element/complex-rubric-configure",
3
3
  "private": true,
4
- "version": "2.2.47",
4
+ "version": "2.2.48",
5
5
  "description": "Complex Rubric authoring view",
6
6
  "main": "lib/index.js",
7
7
  "module": "src/index.js",
8
8
  "author": "Pie Framework Authors",
9
9
  "dependencies": {
10
10
  "@material-ui/core": "^3.9.2",
11
- "@pie-element/multi-trait-rubric": "^3.19.4",
12
- "@pie-element/rubric": "^3.19.4",
11
+ "@pie-element/multi-trait-rubric": "^3.19.5",
12
+ "@pie-element/rubric": "^3.19.5",
13
13
  "@pie-framework/pie-configure-events": "^1.3.0",
14
14
  "@pie-lib/config-ui": "^11.9.25-next.0",
15
15
  "@pie-lib/editable-html": "^11.1.2-next.0",
@@ -3,6 +3,20 @@
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.18.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/complex-rubric-controller@2.18.4...@pie-element/complex-rubric-controller@2.18.5) (2024-09-16)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * experiment with mra ([d62f2b4](https://github.com/pie-framework/pie-elements/commit/d62f2b4526eeda1f90d3660d97bf278ac1ae72da))
12
+ * experiment with mra ([d9487a5](https://github.com/pie-framework/pie-elements/commit/d9487a5394c9b71bb7d7d69a836ed629ae13f7b1))
13
+ * experiment with mra ([a2e933c](https://github.com/pie-framework/pie-elements/commit/a2e933cd27bb052046e245672d3e01cb5ba1b518))
14
+ * update pie-lib/pie-toolbox PD-4027, PD-4042,PD-4039, PD-4073 ([68306be](https://github.com/pie-framework/pie-elements/commit/68306be02254a6019916637fd9b75427cae1c0ed))
15
+
16
+
17
+
18
+
19
+
6
20
  ## [2.18.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/complex-rubric-controller@2.18.3...@pie-element/complex-rubric-controller@2.18.4) (2024-09-10)
7
21
 
8
22
 
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@pie-element/complex-rubric-controller",
3
3
  "private": true,
4
- "version": "2.18.4",
4
+ "version": "2.18.5",
5
5
  "description": "",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
8
8
  },
9
9
  "dependencies": {
10
- "@pie-lib/pie-toolbox": "1.31.4",
10
+ "@pie-lib/pie-toolbox": "1.32.0",
11
11
  "lodash": "^4.17.15"
12
12
  },
13
13
  "author": "",
@@ -1,4 +1,4 @@
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@1.24.3/module/index.js";
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@1.24.4/module/index.js";
2
2
  import RubricConfigure from '@pie-element/rubric/configure/lib';
3
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@4.24.3/module/index.js";
4
4
  function _mergeNamespaces(n, m) {
@@ -149377,7 +149377,27 @@ var buildPlugins = function buildPlugins(activePlugins, customPlugins, opts) {
149377
149377
  if (opts.responseArea && opts.responseArea.type === 'math-templated') {
149378
149378
  tablePlugins.push(respAreaPlugin);
149379
149379
  }
149380
- var builtPlugins = (0, _compact["default"])([EnterHandlingPlugin(), addIf('table', (0, _table["default"])(opts.table, (0, _compact["default"])(tablePlugins))), addIf('bold', MarkHotkey({
149380
+ var builtCustomPlugins = [];
149381
+ customPlugins.forEach(function (customPlugin) {
149382
+ var _ref2 = customPlugin || ({}), event = _ref2.event, icon = _ref2.icon, iconType = _ref2.iconType, iconAlt = _ref2.iconAlt;
149383
+ function isValidEventName(eventName) {
149384
+ if (typeof eventName !== 'string' || eventName.length === 0) {
149385
+ return false;
149386
+ }
149387
+ var regex = /^[a-zA-Z0-9_]+$/;
149388
+ return regex.test(eventName);
149389
+ }
149390
+ if (!isValidEventName(event)) {
149391
+ console.error(("The event name: ").concat(event, " is not a valid event name!"));
149392
+ return;
149393
+ }
149394
+ if (!icon && !iconType && !iconAlt) {
149395
+ console.error('Your custom button requires icon, iconType and iconAlt');
149396
+ return;
149397
+ }
149398
+ builtCustomPlugins.push((0, _customPlugin["default"])('custom-plugin', customPlugin));
149399
+ });
149400
+ return (0, _compact["default"])([addIf('table', (0, _table["default"])(opts.table, (0, _compact["default"])(tablePlugins))), addIf('bold', MarkHotkey({
149381
149401
  key: 'b',
149382
149402
  type: 'bold',
149383
149403
  icon: _react$1e["default"].createElement(_FormatBold["default"], null),
@@ -149427,27 +149447,7 @@ var buildPlugins = function buildPlugins(activePlugins, customPlugins, opts) {
149427
149447
  icon: _react$1e["default"].createElement(_FormatListNumbered["default"], null)
149428
149448
  })), addIf('redo', UndoRedo('redo')), addIf('undo', UndoRedo('undo')), (0, _toolbar["default"])(opts.toolbar), (0, _slateSoftBreak["default"])({
149429
149449
  shift: true
149430
- }), addIf('responseArea', respAreaPlugin), addIf('html', (0, _html$1["default"])(opts.html))]));
149431
- customPlugins.forEach(function (customPlugin) {
149432
- var _ref2 = customPlugin || ({}), event = _ref2.event, icon = _ref2.icon, iconType = _ref2.iconType, iconAlt = _ref2.iconAlt;
149433
- function isValidEventName(eventName) {
149434
- if (typeof eventName !== 'string' || eventName.length === 0) {
149435
- return false;
149436
- }
149437
- var regex = /^[a-zA-Z0-9_]+$/;
149438
- return regex.test(eventName);
149439
- }
149440
- if (!isValidEventName(event)) {
149441
- console.error(("The event name: ").concat(event, " is not a valid event name!"));
149442
- return;
149443
- }
149444
- if (!icon && !iconType && !iconAlt) {
149445
- console.error('Your custom button requires icon, iconType and iconAlt');
149446
- return;
149447
- }
149448
- builtPlugins.push((0, _customPlugin["default"])('custom-plugin', customPlugin));
149449
- });
149450
- return builtPlugins;
149450
+ })], builtCustomPlugins, [addIf('responseArea', respAreaPlugin), addIf('html', (0, _html$1["default"])(opts.html)), EnterHandlingPlugin()]));
149451
149451
  };
149452
149452
  plugins.buildPlugins = buildPlugins;
149453
149453
  var require$$25 = getAugmentedNamespace(slatePlainSerializer_es);
package/module/element.js CHANGED
@@ -1,4 +1,4 @@
1
- import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.24.3/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.24.4/module/index.js";
2
2
  import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@4.24.3/module/index.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
@@ -147637,7 +147637,27 @@ var buildPlugins = function buildPlugins(activePlugins, customPlugins, opts) {
147637
147637
  if (opts.responseArea && opts.responseArea.type === 'math-templated') {
147638
147638
  tablePlugins.push(respAreaPlugin);
147639
147639
  }
147640
- var builtPlugins = (0, _compact["default"])([EnterHandlingPlugin(), addIf('table', (0, _table["default"])(opts.table, (0, _compact["default"])(tablePlugins))), addIf('bold', MarkHotkey({
147640
+ var builtCustomPlugins = [];
147641
+ customPlugins.forEach(function (customPlugin) {
147642
+ var _ref2 = customPlugin || ({}), event = _ref2.event, icon = _ref2.icon, iconType = _ref2.iconType, iconAlt = _ref2.iconAlt;
147643
+ function isValidEventName(eventName) {
147644
+ if (typeof eventName !== 'string' || eventName.length === 0) {
147645
+ return false;
147646
+ }
147647
+ var regex = /^[a-zA-Z0-9_]+$/;
147648
+ return regex.test(eventName);
147649
+ }
147650
+ if (!isValidEventName(event)) {
147651
+ console.error(("The event name: ").concat(event, " is not a valid event name!"));
147652
+ return;
147653
+ }
147654
+ if (!icon && !iconType && !iconAlt) {
147655
+ console.error('Your custom button requires icon, iconType and iconAlt');
147656
+ return;
147657
+ }
147658
+ builtCustomPlugins.push((0, _customPlugin["default"])('custom-plugin', customPlugin));
147659
+ });
147660
+ return (0, _compact["default"])([addIf('table', (0, _table["default"])(opts.table, (0, _compact["default"])(tablePlugins))), addIf('bold', MarkHotkey({
147641
147661
  key: 'b',
147642
147662
  type: 'bold',
147643
147663
  icon: _react$1c["default"].createElement(_FormatBold["default"], null),
@@ -147687,27 +147707,7 @@ var buildPlugins = function buildPlugins(activePlugins, customPlugins, opts) {
147687
147707
  icon: _react$1c["default"].createElement(_FormatListNumbered["default"], null)
147688
147708
  })), addIf('redo', UndoRedo('redo')), addIf('undo', UndoRedo('undo')), (0, _toolbar["default"])(opts.toolbar), (0, _slateSoftBreak["default"])({
147689
147709
  shift: true
147690
- }), addIf('responseArea', respAreaPlugin), addIf('html', (0, _html$1["default"])(opts.html))]));
147691
- customPlugins.forEach(function (customPlugin) {
147692
- var _ref2 = customPlugin || ({}), event = _ref2.event, icon = _ref2.icon, iconType = _ref2.iconType, iconAlt = _ref2.iconAlt;
147693
- function isValidEventName(eventName) {
147694
- if (typeof eventName !== 'string' || eventName.length === 0) {
147695
- return false;
147696
- }
147697
- var regex = /^[a-zA-Z0-9_]+$/;
147698
- return regex.test(eventName);
147699
- }
147700
- if (!isValidEventName(event)) {
147701
- console.error(("The event name: ").concat(event, " is not a valid event name!"));
147702
- return;
147703
- }
147704
- if (!icon && !iconType && !iconAlt) {
147705
- console.error('Your custom button requires icon, iconType and iconAlt');
147706
- return;
147707
- }
147708
- builtPlugins.push((0, _customPlugin["default"])('custom-plugin', customPlugin));
147709
- });
147710
- return builtPlugins;
147710
+ })], builtCustomPlugins, [addIf('responseArea', respAreaPlugin), addIf('html', (0, _html$1["default"])(opts.html)), EnterHandlingPlugin()]));
147711
147711
  };
147712
147712
  plugins.buildPlugins = buildPlugins;
147713
147713
  var require$$25 = getAugmentedNamespace(slatePlainSerializer_es);
package/module/index.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <!doctype html>
3
3
  <html>
4
4
  <head>
5
- <title>@pie-element/complex-rubric@2.19.4</title>
5
+ <title>@pie-element/complex-rubric@2.19.5</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,10 +1,10 @@
1
1
  {
2
2
  "name": "@pie-element/complex-rubric",
3
- "version": "2.19.4",
3
+ "version": "2.19.5",
4
4
  "modules": [
5
5
  {
6
6
  "name": "@pie-lib/pie-toolbox-math-rendering-module",
7
- "version": "1.24.3"
7
+ "version": "1.24.4"
8
8
  },
9
9
  {
10
10
  "name": "@pie-lib/pie-toolbox-module",
package/module/print.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <!doctype html>
3
3
  <html>
4
4
  <head>
5
- <title>@pie-element/complex-rubric@2.19.4</title>
5
+ <title>@pie-element/complex-rubric@2.19.5</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,4 +1,4 @@
1
- import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.24.3/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.24.4/module/index.js";
2
2
  import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@4.24.3/module/index.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
@@ -147637,7 +147637,27 @@ var buildPlugins = function buildPlugins(activePlugins, customPlugins, opts) {
147637
147637
  if (opts.responseArea && opts.responseArea.type === 'math-templated') {
147638
147638
  tablePlugins.push(respAreaPlugin);
147639
147639
  }
147640
- var builtPlugins = (0, _compact["default"])([EnterHandlingPlugin(), addIf('table', (0, _table["default"])(opts.table, (0, _compact["default"])(tablePlugins))), addIf('bold', MarkHotkey({
147640
+ var builtCustomPlugins = [];
147641
+ customPlugins.forEach(function (customPlugin) {
147642
+ var _ref2 = customPlugin || ({}), event = _ref2.event, icon = _ref2.icon, iconType = _ref2.iconType, iconAlt = _ref2.iconAlt;
147643
+ function isValidEventName(eventName) {
147644
+ if (typeof eventName !== 'string' || eventName.length === 0) {
147645
+ return false;
147646
+ }
147647
+ var regex = /^[a-zA-Z0-9_]+$/;
147648
+ return regex.test(eventName);
147649
+ }
147650
+ if (!isValidEventName(event)) {
147651
+ console.error(("The event name: ").concat(event, " is not a valid event name!"));
147652
+ return;
147653
+ }
147654
+ if (!icon && !iconType && !iconAlt) {
147655
+ console.error('Your custom button requires icon, iconType and iconAlt');
147656
+ return;
147657
+ }
147658
+ builtCustomPlugins.push((0, _customPlugin["default"])('custom-plugin', customPlugin));
147659
+ });
147660
+ return (0, _compact["default"])([addIf('table', (0, _table["default"])(opts.table, (0, _compact["default"])(tablePlugins))), addIf('bold', MarkHotkey({
147641
147661
  key: 'b',
147642
147662
  type: 'bold',
147643
147663
  icon: _react$1c["default"].createElement(_FormatBold["default"], null),
@@ -147687,27 +147707,7 @@ var buildPlugins = function buildPlugins(activePlugins, customPlugins, opts) {
147687
147707
  icon: _react$1c["default"].createElement(_FormatListNumbered["default"], null)
147688
147708
  })), addIf('redo', UndoRedo('redo')), addIf('undo', UndoRedo('undo')), (0, _toolbar["default"])(opts.toolbar), (0, _slateSoftBreak["default"])({
147689
147709
  shift: true
147690
- }), addIf('responseArea', respAreaPlugin), addIf('html', (0, _html$1["default"])(opts.html))]));
147691
- customPlugins.forEach(function (customPlugin) {
147692
- var _ref2 = customPlugin || ({}), event = _ref2.event, icon = _ref2.icon, iconType = _ref2.iconType, iconAlt = _ref2.iconAlt;
147693
- function isValidEventName(eventName) {
147694
- if (typeof eventName !== 'string' || eventName.length === 0) {
147695
- return false;
147696
- }
147697
- var regex = /^[a-zA-Z0-9_]+$/;
147698
- return regex.test(eventName);
147699
- }
147700
- if (!isValidEventName(event)) {
147701
- console.error(("The event name: ").concat(event, " is not a valid event name!"));
147702
- return;
147703
- }
147704
- if (!icon && !iconType && !iconAlt) {
147705
- console.error('Your custom button requires icon, iconType and iconAlt');
147706
- return;
147707
- }
147708
- builtPlugins.push((0, _customPlugin["default"])('custom-plugin', customPlugin));
147709
- });
147710
- return builtPlugins;
147710
+ })], builtCustomPlugins, [addIf('responseArea', respAreaPlugin), addIf('html', (0, _html$1["default"])(opts.html)), EnterHandlingPlugin()]));
147711
147711
  };
147712
147712
  plugins.buildPlugins = buildPlugins;
147713
147713
  var require$$25 = getAugmentedNamespace(slatePlainSerializer_es);
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": "2.19.5-next.6+ce1514236",
4
+ "version": "2.19.6-next.0+b24cfebfd",
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": "^3.19.5-next.6+ce1514236",
11
- "@pie-element/rubric": "^3.19.5-next.6+ce1514236",
10
+ "@pie-element/multi-trait-rubric": "^3.19.6-next.0+b24cfebfd",
11
+ "@pie-element/rubric": "^3.19.6-next.0+b24cfebfd",
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": "ce1514236adc03d8dd762b8af4a6196f741e34d1",
18
+ "gitHead": "b24cfebfd92b21a6aa41db7759c8fd2214f88eee",
19
19
  "scripts": {
20
20
  "postpublish": "../../scripts/postpublish"
21
21
  },