@pie-element/rubric 1.7.5 → 1.8.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 +33 -0
- package/configure/CHANGELOG.md +24 -0
- package/configure/package.json +2 -2
- package/controller/package.json +1 -1
- package/module/configure.js +250 -40
- package/module/element.js +1 -1
- package/module/index.html +1 -1
- package/module/manifest.json +3 -3
- package/module/print.html +1 -1
- package/module/print.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,39 @@
|
|
|
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
|
+
# [1.8.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric@1.7.8...@pie-element/rubric@1.8.0) (2022-01-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **rubric:** display rubric in reverse order in player PD-1375 ([0620538](https://github.com/pie-framework/pie-elements/commit/06205386a3d2c530378be2dccb7943cefa6f5c55))
|
|
12
|
+
* **rubric:** use singular 1PT instead of 1PTS, fix style in IBX PD-1373, PD-1374 ([0c27b32](https://github.com/pie-framework/pie-elements/commit/0c27b327e861831687576a639ba2b6101c7fc0ff))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **rubric:** Added Studio support: Treat 'null' as null value for sample answer PD-1313 ([04ea11d](https://github.com/pie-framework/pie-elements/commit/04ea11da0b4b2077693c7a22f63091eabdf09481))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
## [1.7.8](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric@1.7.7...@pie-element/rubric@1.7.8) (2022-01-10)
|
|
24
|
+
|
|
25
|
+
**Note:** Version bump only for package @pie-element/rubric
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
## [1.7.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric@1.7.6...@pie-element/rubric@1.7.7) (2021-12-23)
|
|
32
|
+
|
|
33
|
+
**Note:** Version bump only for package @pie-element/rubric
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
6
39
|
## [1.7.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric@1.7.4...@pie-element/rubric@1.7.5) (2021-12-13)
|
|
7
40
|
|
|
8
41
|
**Note:** Version bump only for package @pie-element/rubric
|
package/configure/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
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
|
+
## [1.2.36](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-configure@1.2.35...@pie-element/rubric-configure@1.2.36) (2022-01-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @pie-element/rubric-configure
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.2.35](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-configure@1.2.34...@pie-element/rubric-configure@1.2.35) (2022-01-10)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @pie-element/rubric-configure
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [1.2.34](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-configure@1.2.33...@pie-element/rubric-configure@1.2.34) (2021-12-23)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @pie-element/rubric-configure
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
## [1.2.32](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-configure@1.2.31...@pie-element/rubric-configure@1.2.32) (2021-12-13)
|
|
7
31
|
|
|
8
32
|
**Note:** Version bump only for package @pie-element/rubric-configure
|
package/configure/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/rubric-configure",
|
|
3
3
|
"private": true,
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.36",
|
|
5
5
|
"description": "Rubric authoring view",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"author": "Pie Framework Authors",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@pie-framework/pie-configure-events": "^1.2.0",
|
|
10
|
-
"@pie-lib/rubric": "^0.4.
|
|
10
|
+
"@pie-lib/rubric": "^0.4.6",
|
|
11
11
|
"debug": "^4.1.1",
|
|
12
12
|
"react": "^16.8.6",
|
|
13
13
|
"react-dom": "^16.8.6"
|
package/controller/package.json
CHANGED
package/module/configure.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_material_ui__core, _dll_material_ui__icons, _dll_material_ui__core_styles, _dll_classnames, _dll_lodash, _dll_debug, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.2.
|
|
2
|
-
import {_dll_pie_lib__editable_html} from "../../../@pie-lib/editable-html-module@^1.0.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_material_ui__core, _dll_material_ui__icons, _dll_material_ui__core_styles, _dll_classnames, _dll_lodash, _dll_debug, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.2.17/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__editable_html} from "../../../@pie-lib/editable-html-module@^1.0.18/module/index.js";
|
|
3
3
|
function getDefaultExportFromCjs(x) {
|
|
4
4
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
5
5
|
}
|
|
@@ -814,7 +814,9 @@ function invariant(condition, message) {
|
|
|
814
814
|
if (isProduction) {
|
|
815
815
|
throw new Error(prefix$1);
|
|
816
816
|
}
|
|
817
|
-
|
|
817
|
+
var provided = typeof message === 'function' ? message() : message;
|
|
818
|
+
var value = provided ? prefix$1 + ": " + provided : prefix$1;
|
|
819
|
+
throw new Error(value);
|
|
818
820
|
}
|
|
819
821
|
function _defineProperty(obj, key, value) {
|
|
820
822
|
if ((key in obj)) {
|
|
@@ -1320,10 +1322,10 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
|
1320
1322
|
}
|
|
1321
1323
|
return target;
|
|
1322
1324
|
}
|
|
1323
|
-
var reactIs$
|
|
1325
|
+
var reactIs$2 = {
|
|
1324
1326
|
exports: {}
|
|
1325
1327
|
};
|
|
1326
|
-
var reactIs_development = {};
|
|
1328
|
+
var reactIs_development$1 = {};
|
|
1327
1329
|
{
|
|
1328
1330
|
(function () {
|
|
1329
1331
|
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
@@ -1440,40 +1442,40 @@ var reactIs_development = {};
|
|
|
1440
1442
|
function isSuspense(object) {
|
|
1441
1443
|
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
1442
1444
|
}
|
|
1443
|
-
reactIs_development.AsyncMode = AsyncMode;
|
|
1444
|
-
reactIs_development.ConcurrentMode = ConcurrentMode;
|
|
1445
|
-
reactIs_development.ContextConsumer = ContextConsumer;
|
|
1446
|
-
reactIs_development.ContextProvider = ContextProvider;
|
|
1447
|
-
reactIs_development.Element = Element;
|
|
1448
|
-
reactIs_development.ForwardRef = ForwardRef;
|
|
1449
|
-
reactIs_development.Fragment = Fragment;
|
|
1450
|
-
reactIs_development.Lazy = Lazy;
|
|
1451
|
-
reactIs_development.Memo = Memo;
|
|
1452
|
-
reactIs_development.Portal = Portal;
|
|
1453
|
-
reactIs_development.Profiler = Profiler;
|
|
1454
|
-
reactIs_development.StrictMode = StrictMode;
|
|
1455
|
-
reactIs_development.Suspense = Suspense;
|
|
1456
|
-
reactIs_development.isAsyncMode = isAsyncMode;
|
|
1457
|
-
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
1458
|
-
reactIs_development.isContextConsumer = isContextConsumer;
|
|
1459
|
-
reactIs_development.isContextProvider = isContextProvider;
|
|
1460
|
-
reactIs_development.isElement = isElement;
|
|
1461
|
-
reactIs_development.isForwardRef = isForwardRef;
|
|
1462
|
-
reactIs_development.isFragment = isFragment;
|
|
1463
|
-
reactIs_development.isLazy = isLazy;
|
|
1464
|
-
reactIs_development.isMemo = isMemo;
|
|
1465
|
-
reactIs_development.isPortal = isPortal;
|
|
1466
|
-
reactIs_development.isProfiler = isProfiler;
|
|
1467
|
-
reactIs_development.isStrictMode = isStrictMode;
|
|
1468
|
-
reactIs_development.isSuspense = isSuspense;
|
|
1469
|
-
reactIs_development.isValidElementType = isValidElementType;
|
|
1470
|
-
reactIs_development.typeOf = typeOf;
|
|
1445
|
+
reactIs_development$1.AsyncMode = AsyncMode;
|
|
1446
|
+
reactIs_development$1.ConcurrentMode = ConcurrentMode;
|
|
1447
|
+
reactIs_development$1.ContextConsumer = ContextConsumer;
|
|
1448
|
+
reactIs_development$1.ContextProvider = ContextProvider;
|
|
1449
|
+
reactIs_development$1.Element = Element;
|
|
1450
|
+
reactIs_development$1.ForwardRef = ForwardRef;
|
|
1451
|
+
reactIs_development$1.Fragment = Fragment;
|
|
1452
|
+
reactIs_development$1.Lazy = Lazy;
|
|
1453
|
+
reactIs_development$1.Memo = Memo;
|
|
1454
|
+
reactIs_development$1.Portal = Portal;
|
|
1455
|
+
reactIs_development$1.Profiler = Profiler;
|
|
1456
|
+
reactIs_development$1.StrictMode = StrictMode;
|
|
1457
|
+
reactIs_development$1.Suspense = Suspense;
|
|
1458
|
+
reactIs_development$1.isAsyncMode = isAsyncMode;
|
|
1459
|
+
reactIs_development$1.isConcurrentMode = isConcurrentMode;
|
|
1460
|
+
reactIs_development$1.isContextConsumer = isContextConsumer;
|
|
1461
|
+
reactIs_development$1.isContextProvider = isContextProvider;
|
|
1462
|
+
reactIs_development$1.isElement = isElement;
|
|
1463
|
+
reactIs_development$1.isForwardRef = isForwardRef;
|
|
1464
|
+
reactIs_development$1.isFragment = isFragment;
|
|
1465
|
+
reactIs_development$1.isLazy = isLazy;
|
|
1466
|
+
reactIs_development$1.isMemo = isMemo;
|
|
1467
|
+
reactIs_development$1.isPortal = isPortal;
|
|
1468
|
+
reactIs_development$1.isProfiler = isProfiler;
|
|
1469
|
+
reactIs_development$1.isStrictMode = isStrictMode;
|
|
1470
|
+
reactIs_development$1.isSuspense = isSuspense;
|
|
1471
|
+
reactIs_development$1.isValidElementType = isValidElementType;
|
|
1472
|
+
reactIs_development$1.typeOf = typeOf;
|
|
1471
1473
|
})();
|
|
1472
1474
|
}
|
|
1473
1475
|
{
|
|
1474
|
-
reactIs$
|
|
1476
|
+
reactIs$2.exports = reactIs_development$1;
|
|
1475
1477
|
}
|
|
1476
|
-
var reactIs = reactIs$
|
|
1478
|
+
var reactIs$1 = reactIs$2.exports;
|
|
1477
1479
|
var REACT_STATICS = {
|
|
1478
1480
|
childContextTypes: true,
|
|
1479
1481
|
contextType: true,
|
|
@@ -1512,10 +1514,10 @@ var MEMO_STATICS = {
|
|
|
1512
1514
|
type: true
|
|
1513
1515
|
};
|
|
1514
1516
|
var TYPE_STATICS = {};
|
|
1515
|
-
TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
|
|
1516
|
-
TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
|
|
1517
|
+
TYPE_STATICS[reactIs$1.ForwardRef] = FORWARD_REF_STATICS;
|
|
1518
|
+
TYPE_STATICS[reactIs$1.Memo] = MEMO_STATICS;
|
|
1517
1519
|
function getStatics(component) {
|
|
1518
|
-
if (reactIs.isMemo(component)) {
|
|
1520
|
+
if (reactIs$1.isMemo(component)) {
|
|
1519
1521
|
return MEMO_STATICS;
|
|
1520
1522
|
}
|
|
1521
1523
|
return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
|
|
@@ -1553,6 +1555,214 @@ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
|
|
|
1553
1555
|
return targetComponent;
|
|
1554
1556
|
}
|
|
1555
1557
|
var hoistNonReactStatics_cjs = hoistNonReactStatics;
|
|
1558
|
+
var reactIs = {
|
|
1559
|
+
exports: {}
|
|
1560
|
+
};
|
|
1561
|
+
if ("function" === typeof Symbol && Symbol.for) {
|
|
1562
|
+
var x = Symbol.for;
|
|
1563
|
+
x("react.element");
|
|
1564
|
+
x("react.portal");
|
|
1565
|
+
x("react.fragment");
|
|
1566
|
+
x("react.strict_mode");
|
|
1567
|
+
x("react.profiler");
|
|
1568
|
+
x("react.provider");
|
|
1569
|
+
x("react.context");
|
|
1570
|
+
x("react.forward_ref");
|
|
1571
|
+
x("react.suspense");
|
|
1572
|
+
x("react.suspense_list");
|
|
1573
|
+
x("react.memo");
|
|
1574
|
+
x("react.lazy");
|
|
1575
|
+
x("react.block");
|
|
1576
|
+
x("react.server.block");
|
|
1577
|
+
x("react.fundamental");
|
|
1578
|
+
x("react.debug_trace_mode");
|
|
1579
|
+
x("react.legacy_hidden");
|
|
1580
|
+
}
|
|
1581
|
+
var reactIs_development = {};
|
|
1582
|
+
{
|
|
1583
|
+
(function () {
|
|
1584
|
+
var REACT_ELEMENT_TYPE = 0xeac7;
|
|
1585
|
+
var REACT_PORTAL_TYPE = 0xeaca;
|
|
1586
|
+
var REACT_FRAGMENT_TYPE = 0xeacb;
|
|
1587
|
+
var REACT_STRICT_MODE_TYPE = 0xeacc;
|
|
1588
|
+
var REACT_PROFILER_TYPE = 0xead2;
|
|
1589
|
+
var REACT_PROVIDER_TYPE = 0xeacd;
|
|
1590
|
+
var REACT_CONTEXT_TYPE = 0xeace;
|
|
1591
|
+
var REACT_FORWARD_REF_TYPE = 0xead0;
|
|
1592
|
+
var REACT_SUSPENSE_TYPE = 0xead1;
|
|
1593
|
+
var REACT_SUSPENSE_LIST_TYPE = 0xead8;
|
|
1594
|
+
var REACT_MEMO_TYPE = 0xead3;
|
|
1595
|
+
var REACT_LAZY_TYPE = 0xead4;
|
|
1596
|
+
var REACT_BLOCK_TYPE = 0xead9;
|
|
1597
|
+
var REACT_SERVER_BLOCK_TYPE = 0xeada;
|
|
1598
|
+
var REACT_FUNDAMENTAL_TYPE = 0xead5;
|
|
1599
|
+
var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1;
|
|
1600
|
+
var REACT_LEGACY_HIDDEN_TYPE = 0xeae3;
|
|
1601
|
+
if (typeof Symbol === 'function' && Symbol.for) {
|
|
1602
|
+
var symbolFor = Symbol.for;
|
|
1603
|
+
REACT_ELEMENT_TYPE = symbolFor('react.element');
|
|
1604
|
+
REACT_PORTAL_TYPE = symbolFor('react.portal');
|
|
1605
|
+
REACT_FRAGMENT_TYPE = symbolFor('react.fragment');
|
|
1606
|
+
REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode');
|
|
1607
|
+
REACT_PROFILER_TYPE = symbolFor('react.profiler');
|
|
1608
|
+
REACT_PROVIDER_TYPE = symbolFor('react.provider');
|
|
1609
|
+
REACT_CONTEXT_TYPE = symbolFor('react.context');
|
|
1610
|
+
REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref');
|
|
1611
|
+
REACT_SUSPENSE_TYPE = symbolFor('react.suspense');
|
|
1612
|
+
REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list');
|
|
1613
|
+
REACT_MEMO_TYPE = symbolFor('react.memo');
|
|
1614
|
+
REACT_LAZY_TYPE = symbolFor('react.lazy');
|
|
1615
|
+
REACT_BLOCK_TYPE = symbolFor('react.block');
|
|
1616
|
+
REACT_SERVER_BLOCK_TYPE = symbolFor('react.server.block');
|
|
1617
|
+
REACT_FUNDAMENTAL_TYPE = symbolFor('react.fundamental');
|
|
1618
|
+
symbolFor('react.scope');
|
|
1619
|
+
symbolFor('react.opaque.id');
|
|
1620
|
+
REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode');
|
|
1621
|
+
symbolFor('react.offscreen');
|
|
1622
|
+
REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden');
|
|
1623
|
+
}
|
|
1624
|
+
var enableScopeAPI = false;
|
|
1625
|
+
function isValidElementType(type) {
|
|
1626
|
+
if (typeof type === 'string' || typeof type === 'function') {
|
|
1627
|
+
return true;
|
|
1628
|
+
}
|
|
1629
|
+
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_DEBUG_TRACING_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_LEGACY_HIDDEN_TYPE || enableScopeAPI) {
|
|
1630
|
+
return true;
|
|
1631
|
+
}
|
|
1632
|
+
if (typeof type === 'object' && type !== null) {
|
|
1633
|
+
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_BLOCK_TYPE || type[0] === REACT_SERVER_BLOCK_TYPE) {
|
|
1634
|
+
return true;
|
|
1635
|
+
}
|
|
1636
|
+
}
|
|
1637
|
+
return false;
|
|
1638
|
+
}
|
|
1639
|
+
function typeOf(object) {
|
|
1640
|
+
if (typeof object === 'object' && object !== null) {
|
|
1641
|
+
var $$typeof = object.$$typeof;
|
|
1642
|
+
switch ($$typeof) {
|
|
1643
|
+
case REACT_ELEMENT_TYPE:
|
|
1644
|
+
var type = object.type;
|
|
1645
|
+
switch (type) {
|
|
1646
|
+
case REACT_FRAGMENT_TYPE:
|
|
1647
|
+
case REACT_PROFILER_TYPE:
|
|
1648
|
+
case REACT_STRICT_MODE_TYPE:
|
|
1649
|
+
case REACT_SUSPENSE_TYPE:
|
|
1650
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
1651
|
+
return type;
|
|
1652
|
+
default:
|
|
1653
|
+
var $$typeofType = type && type.$$typeof;
|
|
1654
|
+
switch ($$typeofType) {
|
|
1655
|
+
case REACT_CONTEXT_TYPE:
|
|
1656
|
+
case REACT_FORWARD_REF_TYPE:
|
|
1657
|
+
case REACT_LAZY_TYPE:
|
|
1658
|
+
case REACT_MEMO_TYPE:
|
|
1659
|
+
case REACT_PROVIDER_TYPE:
|
|
1660
|
+
return $$typeofType;
|
|
1661
|
+
default:
|
|
1662
|
+
return $$typeof;
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1665
|
+
case REACT_PORTAL_TYPE:
|
|
1666
|
+
return $$typeof;
|
|
1667
|
+
}
|
|
1668
|
+
}
|
|
1669
|
+
return undefined;
|
|
1670
|
+
}
|
|
1671
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
1672
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
1673
|
+
var Element = REACT_ELEMENT_TYPE;
|
|
1674
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
1675
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
1676
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
1677
|
+
var Memo = REACT_MEMO_TYPE;
|
|
1678
|
+
var Portal = REACT_PORTAL_TYPE;
|
|
1679
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
1680
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
1681
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
1682
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
1683
|
+
var hasWarnedAboutDeprecatedIsConcurrentMode = false;
|
|
1684
|
+
function isAsyncMode(object) {
|
|
1685
|
+
{
|
|
1686
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
1687
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true;
|
|
1688
|
+
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
return false;
|
|
1692
|
+
}
|
|
1693
|
+
function isConcurrentMode(object) {
|
|
1694
|
+
{
|
|
1695
|
+
if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
|
|
1696
|
+
hasWarnedAboutDeprecatedIsConcurrentMode = true;
|
|
1697
|
+
console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
1698
|
+
}
|
|
1699
|
+
}
|
|
1700
|
+
return false;
|
|
1701
|
+
}
|
|
1702
|
+
function isContextConsumer(object) {
|
|
1703
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
1704
|
+
}
|
|
1705
|
+
function isContextProvider(object) {
|
|
1706
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
1707
|
+
}
|
|
1708
|
+
function isElement(object) {
|
|
1709
|
+
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
1710
|
+
}
|
|
1711
|
+
function isForwardRef(object) {
|
|
1712
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
1713
|
+
}
|
|
1714
|
+
function isFragment(object) {
|
|
1715
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
1716
|
+
}
|
|
1717
|
+
function isLazy(object) {
|
|
1718
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
1719
|
+
}
|
|
1720
|
+
function isMemo(object) {
|
|
1721
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
1722
|
+
}
|
|
1723
|
+
function isPortal(object) {
|
|
1724
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
1725
|
+
}
|
|
1726
|
+
function isProfiler(object) {
|
|
1727
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
1728
|
+
}
|
|
1729
|
+
function isStrictMode(object) {
|
|
1730
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
1731
|
+
}
|
|
1732
|
+
function isSuspense(object) {
|
|
1733
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
1734
|
+
}
|
|
1735
|
+
reactIs_development.ContextConsumer = ContextConsumer;
|
|
1736
|
+
reactIs_development.ContextProvider = ContextProvider;
|
|
1737
|
+
reactIs_development.Element = Element;
|
|
1738
|
+
reactIs_development.ForwardRef = ForwardRef;
|
|
1739
|
+
reactIs_development.Fragment = Fragment;
|
|
1740
|
+
reactIs_development.Lazy = Lazy;
|
|
1741
|
+
reactIs_development.Memo = Memo;
|
|
1742
|
+
reactIs_development.Portal = Portal;
|
|
1743
|
+
reactIs_development.Profiler = Profiler;
|
|
1744
|
+
reactIs_development.StrictMode = StrictMode;
|
|
1745
|
+
reactIs_development.Suspense = Suspense;
|
|
1746
|
+
reactIs_development.isAsyncMode = isAsyncMode;
|
|
1747
|
+
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
1748
|
+
reactIs_development.isContextConsumer = isContextConsumer;
|
|
1749
|
+
reactIs_development.isContextProvider = isContextProvider;
|
|
1750
|
+
reactIs_development.isElement = isElement;
|
|
1751
|
+
reactIs_development.isForwardRef = isForwardRef;
|
|
1752
|
+
reactIs_development.isFragment = isFragment;
|
|
1753
|
+
reactIs_development.isLazy = isLazy;
|
|
1754
|
+
reactIs_development.isMemo = isMemo;
|
|
1755
|
+
reactIs_development.isPortal = isPortal;
|
|
1756
|
+
reactIs_development.isProfiler = isProfiler;
|
|
1757
|
+
reactIs_development.isStrictMode = isStrictMode;
|
|
1758
|
+
reactIs_development.isSuspense = isSuspense;
|
|
1759
|
+
reactIs_development.isValidElementType = isValidElementType;
|
|
1760
|
+
reactIs_development.typeOf = typeOf;
|
|
1761
|
+
})();
|
|
1762
|
+
}
|
|
1763
|
+
{
|
|
1764
|
+
reactIs.exports = reactIs_development;
|
|
1765
|
+
}
|
|
1556
1766
|
const React$3 = _dll_react;
|
|
1557
1767
|
const {useContext: useContext$1} = _dll_react;
|
|
1558
1768
|
const {useMemo: useMemo} = _dll_react;
|
|
@@ -1658,7 +1868,7 @@ function connectAdvanced(selectorFactory, _ref) {
|
|
|
1658
1868
|
}
|
|
1659
1869
|
var Context = context;
|
|
1660
1870
|
return function wrapWithConnect(WrappedComponent) {
|
|
1661
|
-
if (!reactIs
|
|
1871
|
+
if (!reactIs.exports.isValidElementType(WrappedComponent)) {
|
|
1662
1872
|
throw new Error("You must pass a component to the function returned by " + (methodName + ". Instead received " + stringifyComponent(WrappedComponent)));
|
|
1663
1873
|
}
|
|
1664
1874
|
var wrappedComponentName = WrappedComponent.displayName || WrappedComponent.name || 'Component';
|
|
@@ -1686,7 +1896,7 @@ function connectAdvanced(selectorFactory, _ref) {
|
|
|
1686
1896
|
return [props.context, reactReduxForwardedRef, wrapperProps];
|
|
1687
1897
|
}, [props]), propsContext = _useMemo[0], reactReduxForwardedRef = _useMemo[1], wrapperProps = _useMemo[2];
|
|
1688
1898
|
var ContextToUse = useMemo(function () {
|
|
1689
|
-
return propsContext && propsContext.Consumer && reactIs
|
|
1899
|
+
return propsContext && propsContext.Consumer && reactIs.exports.isContextConsumer(React$3.createElement(propsContext.Consumer, null)) ? propsContext : Context;
|
|
1690
1900
|
}, [propsContext, Context]);
|
|
1691
1901
|
var contextValue = useContext$1(ContextToUse);
|
|
1692
1902
|
var didStoreComeFromProps = Boolean(props.store) && Boolean(props.store.getState) && Boolean(props.store.dispatch);
|
package/module/element.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_material_ui__core_styles, _dll_material_ui__core, _dll_prop_types, _dll_react_dom, _dll_debug} from "../../../@pie-lib/shared-module@^1.2.
|
|
1
|
+
import {_dll_react, _dll_material_ui__core_styles, _dll_material_ui__core, _dll_prop_types, _dll_react_dom, _dll_debug} from "../../../@pie-lib/shared-module@^1.2.17/module/index.js";
|
|
2
2
|
const React$1 = _dll_react;
|
|
3
3
|
const {withStyles: withStyles} = _dll_material_ui__core_styles;
|
|
4
4
|
const {ListItem: ListItem} = _dll_material_ui__core;
|
package/module/index.html
CHANGED
package/module/manifest.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/rubric",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.8",
|
|
4
4
|
"modules": [
|
|
5
5
|
{
|
|
6
6
|
"name": "@pie-lib/shared-module",
|
|
7
|
-
"version": "^1.2.
|
|
7
|
+
"version": "^1.2.17"
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
10
|
"name": "@pie-lib/math-rendering-module",
|
|
11
|
-
"version": "^1.0.
|
|
11
|
+
"version": "^1.0.20"
|
|
12
12
|
}
|
|
13
13
|
]
|
|
14
14
|
}
|
package/module/print.html
CHANGED
package/module/print.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {_dll_react, _dll_material_ui__core_styles, _dll_material_ui__core, _dll_prop_types, _dll_react_dom, _dll_lodash, _dll_debug} from "../../../@pie-lib/shared-module@^1.2.
|
|
2
|
-
import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.0.
|
|
1
|
+
import {_dll_react, _dll_material_ui__core_styles, _dll_material_ui__core, _dll_prop_types, _dll_react_dom, _dll_lodash, _dll_debug} from "../../../@pie-lib/shared-module@^1.2.17/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.0.20/module/index.js";
|
|
3
3
|
const React$1 = _dll_react;
|
|
4
4
|
const {withStyles: withStyles} = _dll_material_ui__core_styles;
|
|
5
5
|
const {ListItem: ListItem} = _dll_material_ui__core;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/rubric",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "src/index.js",
|
|
6
6
|
"description": "Rubric Scoring Interaction",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"author": "pie framework developers",
|
|
16
16
|
"license": "ISC",
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "510db2949732b8997ff2e1a496ca1a7bd3973088",
|
|
18
18
|
"scripts": {
|
|
19
19
|
"postpublish": "../../scripts/postpublish"
|
|
20
20
|
},
|