@pie-element/complex-rubric 2.0.2-next.13 → 2.0.2-next.15
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/configure/node_modules/@pie-element/multi-trait-rubric/CHANGELOG.json +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/CHANGELOG.md +978 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/LICENSE.md +5 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/README.md +55 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/CHANGELOG.json +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/CHANGELOG.md +869 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/common.js +502 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/common.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/defaults.js +98 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/defaults.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/index.js +126 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/main.js +553 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/main.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/modals.js +361 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/modals.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/scale.js +552 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/scale.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/trait.js +371 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/trait.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/traitsHeader.js +270 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/traitsHeader.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/utils.js +29 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/utils.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/package.json +18 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/controller/CHANGELOG.json +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/controller/CHANGELOG.md +210 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/defaults.js +94 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/defaults.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/index.js +161 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/utils.js +13 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/utils.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/controller/package.json +15 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/docs/config-schema.json +272 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/docs/config-schema.json.md +206 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/config.js +8 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/generate.js +180 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/index.html +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/session.js +6 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/docs/pie-schema.json +298 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/docs/pie-schema.json.md +201 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/lib/index.js +85 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/lib/main.js +161 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/lib/main.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/lib/scale.js +330 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/lib/scale.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/lib/trait.js +103 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/lib/trait.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/package.json +24 -0
- package/configure/node_modules/@pie-element/rubric/CHANGELOG.json +257 -0
- package/configure/node_modules/@pie-element/rubric/CHANGELOG.md +1248 -0
- package/configure/node_modules/@pie-element/rubric/LICENSE.md +5 -0
- package/configure/node_modules/@pie-element/rubric/README.md +3 -0
- package/configure/node_modules/@pie-element/rubric/configure/CHANGELOG.json +197 -0
- package/configure/node_modules/@pie-element/rubric/configure/CHANGELOG.md +1088 -0
- package/configure/node_modules/@pie-element/rubric/configure/lib/defaults.js +34 -0
- package/configure/node_modules/@pie-element/rubric/configure/lib/defaults.js.map +1 -0
- package/configure/node_modules/@pie-element/rubric/configure/lib/index.js +130 -0
- package/configure/node_modules/@pie-element/rubric/configure/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-element/rubric/configure/lib/main.js +108 -0
- package/configure/node_modules/@pie-element/rubric/configure/lib/main.js.map +1 -0
- package/configure/node_modules/@pie-element/rubric/configure/package.json +17 -0
- package/configure/node_modules/@pie-element/rubric/configure/src/defaults.js +26 -0
- package/configure/node_modules/@pie-element/rubric/configure/src/index.js +64 -0
- package/configure/node_modules/@pie-element/rubric/configure/src/main.jsx +56 -0
- package/configure/node_modules/@pie-element/rubric/controller/CHANGELOG.json +17 -0
- package/configure/node_modules/@pie-element/rubric/controller/CHANGELOG.md +192 -0
- package/configure/node_modules/@pie-element/rubric/controller/lib/index.js +14 -0
- package/configure/node_modules/@pie-element/rubric/controller/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-element/rubric/controller/package.json +13 -0
- package/configure/node_modules/@pie-element/rubric/controller/src/__tests__/index.test.js +31 -0
- package/configure/node_modules/@pie-element/rubric/controller/src/index.js +6 -0
- package/configure/node_modules/@pie-element/rubric/docs/config-schema.json +160 -0
- package/configure/node_modules/@pie-element/rubric/docs/config-schema.json.md +127 -0
- package/configure/node_modules/@pie-element/rubric/docs/demo/config.js +8 -0
- package/configure/node_modules/@pie-element/rubric/docs/demo/generate.js +8 -0
- package/configure/node_modules/@pie-element/rubric/docs/demo/index.html +2 -0
- package/configure/node_modules/@pie-element/rubric/docs/pie-schema.json +96 -0
- package/configure/node_modules/@pie-element/rubric/docs/pie-schema.json.md +65 -0
- package/configure/node_modules/@pie-element/rubric/lib/index.js +88 -0
- package/configure/node_modules/@pie-element/rubric/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-element/rubric/lib/main.js +188 -0
- package/configure/node_modules/@pie-element/rubric/lib/main.js.map +1 -0
- package/configure/node_modules/@pie-element/rubric/lib/print.js +114 -0
- package/configure/node_modules/@pie-element/rubric/lib/print.js.map +1 -0
- package/configure/node_modules/@pie-element/rubric/package.json +26 -0
- package/configure/node_modules/@pie-element/rubric/src/__tests__/__snapshots__/rubric-view.test.jsx.snap +23003 -0
- package/configure/node_modules/@pie-element/rubric/src/__tests__/rubric-view.test.jsx +46 -0
- package/configure/node_modules/@pie-element/rubric/src/index.js +34 -0
- package/configure/node_modules/@pie-element/rubric/src/main.jsx +136 -0
- package/configure/node_modules/@pie-element/rubric/src/print.js +63 -0
- package/configure/package.json +2 -2
- package/controller/package.json +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
model: {
|
|
9
|
+
points: ['', '', '', ''],
|
|
10
|
+
sampleAnswers: [null, null, null, null],
|
|
11
|
+
maxPoints: 4,
|
|
12
|
+
excludeZero: false,
|
|
13
|
+
excludeZeroEnabled: true,
|
|
14
|
+
maxPointsEnabled: true
|
|
15
|
+
},
|
|
16
|
+
configuration: {
|
|
17
|
+
showExcludeZero: {
|
|
18
|
+
settings: true,
|
|
19
|
+
label: 'Ability to exclude zero'
|
|
20
|
+
},
|
|
21
|
+
showMaxPoint: {
|
|
22
|
+
settings: true,
|
|
23
|
+
label: 'Show max points dropdown'
|
|
24
|
+
},
|
|
25
|
+
settingsPanelDisabled: false,
|
|
26
|
+
// width: '500px'
|
|
27
|
+
mathMlOptions: {
|
|
28
|
+
mmlOutput: false,
|
|
29
|
+
mmlEditing: false
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
exports["default"] = _default;
|
|
34
|
+
//# sourceMappingURL=defaults.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/defaults.js"],"names":["model","points","sampleAnswers","maxPoints","excludeZero","excludeZeroEnabled","maxPointsEnabled","configuration","showExcludeZero","settings","label","showMaxPoint","settingsPanelDisabled","mathMlOptions","mmlOutput","mmlEditing"],"mappings":";;;;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE,CAAC,EAAD,EAAK,EAAL,EAAS,EAAT,EAAa,EAAb,CADH;AAELC,IAAAA,aAAa,EAAE,CAAC,IAAD,EAAO,IAAP,EAAa,IAAb,EAAmB,IAAnB,CAFV;AAGLC,IAAAA,SAAS,EAAE,CAHN;AAILC,IAAAA,WAAW,EAAE,KAJR;AAKLC,IAAAA,kBAAkB,EAAE,IALf;AAMLC,IAAAA,gBAAgB,EAAE;AANb,GADM;AASbC,EAAAA,aAAa,EAAE;AACbC,IAAAA,eAAe,EAAE;AACfC,MAAAA,QAAQ,EAAE,IADK;AAEfC,MAAAA,KAAK,EAAE;AAFQ,KADJ;AAKbC,IAAAA,YAAY,EAAE;AACZF,MAAAA,QAAQ,EAAE,IADE;AAEZC,MAAAA,KAAK,EAAE;AAFK,KALD;AASbE,IAAAA,qBAAqB,EAAE,KATV;AAUb;AACAC,IAAAA,aAAa,EAAE;AACbC,MAAAA,SAAS,EAAE,KADE;AAEbC,MAAAA,UAAU,EAAE;AAFC;AAXF;AATF,C","sourcesContent":["export default {\n model: {\n points: ['', '', '', ''],\n sampleAnswers: [null, null, null, null],\n maxPoints: 4,\n excludeZero: false,\n excludeZeroEnabled: true,\n maxPointsEnabled: true,\n },\n configuration: {\n showExcludeZero: {\n settings: true,\n label: 'Ability to exclude zero',\n },\n showMaxPoint: {\n settings: true,\n label: 'Show max points dropdown',\n },\n settingsPanelDisabled: false,\n // width: '500px'\n mathMlOptions: {\n mmlOutput: false,\n mmlEditing: false,\n }\n },\n};\n"],"file":"defaults.js"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
|
+
|
|
12
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
13
|
+
|
|
14
|
+
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
|
15
|
+
|
|
16
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
17
|
+
|
|
18
|
+
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
19
|
+
|
|
20
|
+
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
21
|
+
|
|
22
|
+
var _wrapNativeSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/wrapNativeSuper"));
|
|
23
|
+
|
|
24
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
25
|
+
|
|
26
|
+
var _pieConfigureEvents = require("@pie-framework/pie-configure-events");
|
|
27
|
+
|
|
28
|
+
var _react = _interopRequireDefault(require("react"));
|
|
29
|
+
|
|
30
|
+
var _reactDom = _interopRequireDefault(require("react-dom"));
|
|
31
|
+
|
|
32
|
+
var _debug = _interopRequireDefault(require("debug"));
|
|
33
|
+
|
|
34
|
+
var _main = _interopRequireDefault(require("./main"));
|
|
35
|
+
|
|
36
|
+
var _defaults = _interopRequireDefault(require("./defaults"));
|
|
37
|
+
|
|
38
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
|
|
39
|
+
|
|
40
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
41
|
+
|
|
42
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
43
|
+
|
|
44
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
45
|
+
|
|
46
|
+
var modelWithDefaults = function modelWithDefaults(m) {
|
|
47
|
+
return _objectSpread(_objectSpread({}, _defaults["default"].model), m);
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
var configurationWithDefaults = function configurationWithDefaults(c) {
|
|
51
|
+
return _objectSpread(_objectSpread({}, _defaults["default"].configuration), c);
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
var RubricElement = /*#__PURE__*/function (_HTMLElement) {
|
|
55
|
+
(0, _inherits2["default"])(RubricElement, _HTMLElement);
|
|
56
|
+
|
|
57
|
+
var _super = _createSuper(RubricElement);
|
|
58
|
+
|
|
59
|
+
function RubricElement() {
|
|
60
|
+
var _this;
|
|
61
|
+
|
|
62
|
+
(0, _classCallCheck2["default"])(this, RubricElement);
|
|
63
|
+
_this = _super.call(this);
|
|
64
|
+
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "onConfigurationChanged", function (c) {
|
|
65
|
+
_this._configuration = configurationWithDefaults(c);
|
|
66
|
+
|
|
67
|
+
if (_this._model) {
|
|
68
|
+
_this.onModelChanged(_this._model);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
_this._render();
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
_debug["default"].log('constructor called');
|
|
75
|
+
|
|
76
|
+
_this._model = modelWithDefaults();
|
|
77
|
+
_this._configuration = configurationWithDefaults();
|
|
78
|
+
_this.onModelChanged = _this.onModelChanged.bind((0, _assertThisInitialized2["default"])(_this));
|
|
79
|
+
_this.onConfigurationChanged = _this.onConfigurationChanged.bind((0, _assertThisInitialized2["default"])(_this));
|
|
80
|
+
return _this;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
(0, _createClass2["default"])(RubricElement, [{
|
|
84
|
+
key: "model",
|
|
85
|
+
set: function set(m) {
|
|
86
|
+
this._model = modelWithDefaults(m);
|
|
87
|
+
|
|
88
|
+
this._render();
|
|
89
|
+
}
|
|
90
|
+
}, {
|
|
91
|
+
key: "configuration",
|
|
92
|
+
set: function set(c) {
|
|
93
|
+
this._configuration = configurationWithDefaults(c);
|
|
94
|
+
|
|
95
|
+
this._render();
|
|
96
|
+
}
|
|
97
|
+
}, {
|
|
98
|
+
key: "onModelChanged",
|
|
99
|
+
value: function onModelChanged(m) {
|
|
100
|
+
this._model = m;
|
|
101
|
+
|
|
102
|
+
this._render();
|
|
103
|
+
|
|
104
|
+
this.dispatchEvent(new _pieConfigureEvents.ModelUpdatedEvent(this._model, false));
|
|
105
|
+
}
|
|
106
|
+
}, {
|
|
107
|
+
key: "connectedCallback",
|
|
108
|
+
value: function connectedCallback() {
|
|
109
|
+
this._render();
|
|
110
|
+
}
|
|
111
|
+
}, {
|
|
112
|
+
key: "_render",
|
|
113
|
+
value: function _render() {
|
|
114
|
+
if (this._model) {
|
|
115
|
+
var element = /*#__PURE__*/_react["default"].createElement(_main["default"], {
|
|
116
|
+
model: this._model,
|
|
117
|
+
configuration: this._configuration,
|
|
118
|
+
onModelChanged: this.onModelChanged,
|
|
119
|
+
onConfigurationChanged: this.onConfigurationChanged
|
|
120
|
+
});
|
|
121
|
+
|
|
122
|
+
_reactDom["default"].render(element, this);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}]);
|
|
126
|
+
return RubricElement;
|
|
127
|
+
}( /*#__PURE__*/(0, _wrapNativeSuper2["default"])(HTMLElement));
|
|
128
|
+
|
|
129
|
+
exports["default"] = RubricElement;
|
|
130
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.js"],"names":["modelWithDefaults","m","defaults","model","configurationWithDefaults","c","configuration","RubricElement","_configuration","_model","onModelChanged","_render","debug","log","bind","onConfigurationChanged","dispatchEvent","ModelUpdatedEvent","element","React","createElement","Main","ReactDOM","render","HTMLElement"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AAEA;;AACA;;;;;;;;;;AAEA,IAAMA,iBAAiB,GAAG,SAApBA,iBAAoB,CAACC,CAAD;AAAA,yCAAaC,qBAASC,KAAtB,GAAgCF,CAAhC;AAAA,CAA1B;;AACA,IAAMG,yBAAyB,GAAG,SAA5BA,yBAA4B,CAACC,CAAD;AAAA,yCAAaH,qBAASI,aAAtB,GAAwCD,CAAxC;AAAA,CAAlC;;IAEqBE,a;;;;;AACnB,2BAAc;AAAA;;AAAA;AACZ;AADY,+GAyBW,UAACF,CAAD,EAAO;AAC9B,YAAKG,cAAL,GAAsBJ,yBAAyB,CAACC,CAAD,CAA/C;;AAEA,UAAI,MAAKI,MAAT,EAAiB;AACf,cAAKC,cAAL,CAAoB,MAAKD,MAAzB;AACD;;AAED,YAAKE,OAAL;AACD,KAjCa;;AAEZC,sBAAMC,GAAN,CAAU,oBAAV;;AACA,UAAKJ,MAAL,GAAcT,iBAAiB,EAA/B;AACA,UAAKQ,cAAL,GAAsBJ,yBAAyB,EAA/C;AACA,UAAKM,cAAL,GAAsB,MAAKA,cAAL,CAAoBI,IAApB,gDAAtB;AACA,UAAKC,sBAAL,GAA8B,MAAKA,sBAAL,CAA4BD,IAA5B,gDAA9B;AANY;AAOb;;;;SAED,aAAUb,CAAV,EAAa;AACX,WAAKQ,MAAL,GAAcT,iBAAiB,CAACC,CAAD,CAA/B;;AACA,WAAKU,OAAL;AACD;;;SAED,aAAkBN,CAAlB,EAAqB;AACnB,WAAKG,cAAL,GAAsBJ,yBAAyB,CAACC,CAAD,CAA/C;;AACA,WAAKM,OAAL;AACD;;;WAED,wBAAeV,CAAf,EAAkB;AAChB,WAAKQ,MAAL,GAAcR,CAAd;;AACA,WAAKU,OAAL;;AACA,WAAKK,aAAL,CAAmB,IAAIC,qCAAJ,CAAsB,KAAKR,MAA3B,EAAmC,KAAnC,CAAnB;AACD;;;WAYD,6BAAoB;AAClB,WAAKE,OAAL;AACD;;;WAED,mBAAU;AACR,UAAI,KAAKF,MAAT,EAAiB;AACf,YAAIS,OAAO,gBAAGC,kBAAMC,aAAN,CAAoBC,gBAApB,EAA0B;AACtClB,UAAAA,KAAK,EAAE,KAAKM,MAD0B;AAEtCH,UAAAA,aAAa,EAAE,KAAKE,cAFkB;AAGtCE,UAAAA,cAAc,EAAE,KAAKA,cAHiB;AAItCK,UAAAA,sBAAsB,EAAE,KAAKA;AAJS,SAA1B,CAAd;;AAOAO,6BAASC,MAAT,CAAgBL,OAAhB,EAAyB,IAAzB;AACD;AACF;;;kDAnDwCM,W","sourcesContent":["import { ModelUpdatedEvent } from '@pie-framework/pie-configure-events';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport debug from 'debug';\n\nimport Main from './main';\nimport defaults from './defaults';\n\nconst modelWithDefaults = (m) => ({ ...defaults.model, ...m });\nconst configurationWithDefaults = (c) => ({ ...defaults.configuration, ...c });\n\nexport default class RubricElement extends HTMLElement {\n constructor() {\n super();\n debug.log('constructor called');\n this._model = modelWithDefaults();\n this._configuration = configurationWithDefaults();\n this.onModelChanged = this.onModelChanged.bind(this);\n this.onConfigurationChanged = this.onConfigurationChanged.bind(this);\n }\n\n set model(m) {\n this._model = modelWithDefaults(m);\n this._render();\n }\n\n set configuration(c) {\n this._configuration = configurationWithDefaults(c);\n this._render();\n }\n\n onModelChanged(m) {\n this._model = m;\n this._render();\n this.dispatchEvent(new ModelUpdatedEvent(this._model, false));\n }\n\n onConfigurationChanged = (c) => {\n this._configuration = configurationWithDefaults(c);\n\n if (this._model) {\n this.onModelChanged(this._model);\n }\n\n this._render();\n };\n\n connectedCallback() {\n this._render();\n }\n\n _render() {\n if (this._model) {\n let element = React.createElement(Main, {\n model: this._model,\n configuration: this._configuration,\n onModelChanged: this.onModelChanged,\n onConfigurationChanged: this.onConfigurationChanged,\n });\n\n ReactDOM.render(element, this);\n }\n }\n}\n"],"file":"index.js"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
|
+
|
|
12
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
13
|
+
|
|
14
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
15
|
+
|
|
16
|
+
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
17
|
+
|
|
18
|
+
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
19
|
+
|
|
20
|
+
var _react = _interopRequireDefault(require("react"));
|
|
21
|
+
|
|
22
|
+
var _rubric = require("@pie-lib/pie-toolbox/rubric");
|
|
23
|
+
|
|
24
|
+
var _styles = require("@material-ui/core/styles");
|
|
25
|
+
|
|
26
|
+
var _configUi = require("@pie-lib/pie-toolbox/config-ui");
|
|
27
|
+
|
|
28
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
|
|
29
|
+
|
|
30
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
31
|
+
|
|
32
|
+
var Panel = _configUi.settings.Panel,
|
|
33
|
+
toggle = _configUi.settings.toggle;
|
|
34
|
+
|
|
35
|
+
var styles = function styles(theme) {
|
|
36
|
+
return {
|
|
37
|
+
design: {
|
|
38
|
+
fontFamily: 'Cerebri Sans',
|
|
39
|
+
fontSize: theme.typography.fontSize
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
var Main = /*#__PURE__*/function (_React$Component) {
|
|
45
|
+
(0, _inherits2["default"])(Main, _React$Component);
|
|
46
|
+
|
|
47
|
+
var _super = _createSuper(Main);
|
|
48
|
+
|
|
49
|
+
function Main() {
|
|
50
|
+
(0, _classCallCheck2["default"])(this, Main);
|
|
51
|
+
return _super.apply(this, arguments);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
(0, _createClass2["default"])(Main, [{
|
|
55
|
+
key: "render",
|
|
56
|
+
value: function render() {
|
|
57
|
+
var _ref = this.props || {},
|
|
58
|
+
model = _ref.model,
|
|
59
|
+
configuration = _ref.configuration,
|
|
60
|
+
onConfigurationChanged = _ref.onConfigurationChanged,
|
|
61
|
+
onModelChanged = _ref.onModelChanged;
|
|
62
|
+
|
|
63
|
+
var _ref2 = configuration || {},
|
|
64
|
+
_ref2$contentDimensio = _ref2.contentDimensions,
|
|
65
|
+
contentDimensions = _ref2$contentDimensio === void 0 ? {} : _ref2$contentDimensio,
|
|
66
|
+
settingsPanelDisabled = _ref2.settingsPanelDisabled,
|
|
67
|
+
_ref2$showExcludeZero = _ref2.showExcludeZero,
|
|
68
|
+
showExcludeZero = _ref2$showExcludeZero === void 0 ? {} : _ref2$showExcludeZero,
|
|
69
|
+
_ref2$showMaxPoint = _ref2.showMaxPoint,
|
|
70
|
+
showMaxPoint = _ref2$showMaxPoint === void 0 ? {} : _ref2$showMaxPoint,
|
|
71
|
+
_ref2$mathMlOptions = _ref2.mathMlOptions,
|
|
72
|
+
mathMlOptions = _ref2$mathMlOptions === void 0 ? {} : _ref2$mathMlOptions,
|
|
73
|
+
width = _ref2.width;
|
|
74
|
+
|
|
75
|
+
var panelProperties = {
|
|
76
|
+
excludeZeroEnabled: showExcludeZero.settings && toggle(showExcludeZero.label),
|
|
77
|
+
maxPointsEnabled: showMaxPoint.settings && toggle(showMaxPoint.label)
|
|
78
|
+
};
|
|
79
|
+
return /*#__PURE__*/_react["default"].createElement(_configUi.layout.ConfigLayout, {
|
|
80
|
+
dimensions: contentDimensions,
|
|
81
|
+
hideSettings: settingsPanelDisabled,
|
|
82
|
+
settings: /*#__PURE__*/_react["default"].createElement(Panel, {
|
|
83
|
+
model: model,
|
|
84
|
+
onChangeModel: onModelChanged,
|
|
85
|
+
configuration: configuration,
|
|
86
|
+
onChangeConfiguration: onConfigurationChanged,
|
|
87
|
+
groups: {
|
|
88
|
+
Properties: panelProperties
|
|
89
|
+
}
|
|
90
|
+
})
|
|
91
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
92
|
+
style: {
|
|
93
|
+
maxWidth: width
|
|
94
|
+
}
|
|
95
|
+
}, /*#__PURE__*/_react["default"].createElement(_rubric.Authoring, {
|
|
96
|
+
value: model,
|
|
97
|
+
onChange: onModelChanged,
|
|
98
|
+
mathMlOptions: mathMlOptions
|
|
99
|
+
})));
|
|
100
|
+
}
|
|
101
|
+
}]);
|
|
102
|
+
return Main;
|
|
103
|
+
}(_react["default"].Component);
|
|
104
|
+
|
|
105
|
+
var _default = (0, _styles.withStyles)(styles)(Main);
|
|
106
|
+
|
|
107
|
+
exports["default"] = _default;
|
|
108
|
+
//# sourceMappingURL=main.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/main.jsx"],"names":["Panel","settings","toggle","styles","theme","design","fontFamily","fontSize","typography","Main","props","model","configuration","onConfigurationChanged","onModelChanged","contentDimensions","settingsPanelDisabled","showExcludeZero","showMaxPoint","mathMlOptions","width","panelProperties","excludeZeroEnabled","label","maxPointsEnabled","Properties","maxWidth","React","Component"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;;;;;AAEA,IAAQA,KAAR,GAA0BC,kBAA1B,CAAQD,KAAR;AAAA,IAAeE,MAAf,GAA0BD,kBAA1B,CAAeC,MAAf;;AAEA,IAAMC,MAAM,GAAG,SAATA,MAAS,CAACC,KAAD;AAAA,SAAY;AACzBC,IAAAA,MAAM,EAAE;AACNC,MAAAA,UAAU,EAAE,cADN;AAENC,MAAAA,QAAQ,EAAEH,KAAK,CAACI,UAAN,CAAiBD;AAFrB;AADiB,GAAZ;AAAA,CAAf;;IAOME,I;;;;;;;;;;;;WACJ,kBAAS;AACP,iBAAyE,KAAKC,KAAL,IAAc,EAAvF;AAAA,UAAQC,KAAR,QAAQA,KAAR;AAAA,UAAeC,aAAf,QAAeA,aAAf;AAAA,UAA8BC,sBAA9B,QAA8BA,sBAA9B;AAAA,UAAsDC,cAAtD,QAAsDA,cAAtD;;AACA,kBAOIF,aAAa,IAAI,EAPrB;AAAA,wCACEG,iBADF;AAAA,UACEA,iBADF,sCACsB,EADtB;AAAA,UAEEC,qBAFF,SAEEA,qBAFF;AAAA,wCAGEC,eAHF;AAAA,UAGEA,eAHF,sCAGoB,EAHpB;AAAA,qCAIEC,YAJF;AAAA,UAIEA,YAJF,mCAIiB,EAJjB;AAAA,sCAKEC,aALF;AAAA,UAKEA,aALF,oCAKkB,EALlB;AAAA,UAMEC,KANF,SAMEA,KANF;;AASA,UAAMC,eAAe,GAAG;AACtBC,QAAAA,kBAAkB,EAAEL,eAAe,CAAChB,QAAhB,IAA4BC,MAAM,CAACe,eAAe,CAACM,KAAjB,CADhC;AAEtBC,QAAAA,gBAAgB,EAAEN,YAAY,CAACjB,QAAb,IAAyBC,MAAM,CAACgB,YAAY,CAACK,KAAd;AAF3B,OAAxB;AAKA,0BACE,gCAAC,gBAAD,CAAQ,YAAR;AACE,QAAA,UAAU,EAAER,iBADd;AAEE,QAAA,YAAY,EAAEC,qBAFhB;AAGE,QAAA,QAAQ,eACN,gCAAC,KAAD;AACE,UAAA,KAAK,EAAEL,KADT;AAEE,UAAA,aAAa,EAAEG,cAFjB;AAGE,UAAA,aAAa,EAAEF,aAHjB;AAIE,UAAA,qBAAqB,EAAEC,sBAJzB;AAKE,UAAA,MAAM,EAAE;AACNY,YAAAA,UAAU,EAAEJ;AADN;AALV;AAJJ,sBAeE;AAAK,QAAA,KAAK,EAAE;AAAEK,UAAAA,QAAQ,EAAEN;AAAZ;AAAZ,sBACE,gCAAC,iBAAD;AAAW,QAAA,KAAK,EAAET,KAAlB;AAAyB,QAAA,QAAQ,EAAEG,cAAnC;AAAmD,QAAA,aAAa,EAAEK;AAAlE,QADF,CAfF,CADF;AAqBD;;;EAtCgBQ,kBAAMC,S;;eAyCV,wBAAWzB,MAAX,EAAmBM,IAAnB,C","sourcesContent":["import React from 'react';\nimport { Authoring } from '@pie-lib/pie-toolbox/rubric';\nimport { withStyles } from '@material-ui/core/styles';\nimport { layout, settings } from '@pie-lib/pie-toolbox/config-ui';\n\nconst { Panel, toggle } = settings;\n\nconst styles = (theme) => ({\n design: {\n fontFamily: 'Cerebri Sans',\n fontSize: theme.typography.fontSize,\n },\n});\n\nclass Main extends React.Component {\n render() {\n const { model, configuration, onConfigurationChanged, onModelChanged } = this.props || {};\n const {\n contentDimensions = {},\n settingsPanelDisabled,\n showExcludeZero = {},\n showMaxPoint = {},\n mathMlOptions = {},\n width,\n } = configuration || {};\n\n const panelProperties = {\n excludeZeroEnabled: showExcludeZero.settings && toggle(showExcludeZero.label),\n maxPointsEnabled: showMaxPoint.settings && toggle(showMaxPoint.label),\n };\n\n return (\n <layout.ConfigLayout\n dimensions={contentDimensions}\n hideSettings={settingsPanelDisabled}\n settings={\n <Panel\n model={model}\n onChangeModel={onModelChanged}\n configuration={configuration}\n onChangeConfiguration={onConfigurationChanged}\n groups={{\n Properties: panelProperties,\n }}\n />\n }\n >\n <div style={{ maxWidth: width }}>\n <Authoring value={model} onChange={onModelChanged} mathMlOptions={mathMlOptions} />\n </div>\n </layout.ConfigLayout>\n );\n }\n}\n\nexport default withStyles(styles)(Main);\n"],"file":"main.js"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pie-element/rubric-configure",
|
|
3
|
+
"private": true,
|
|
4
|
+
"version": "3.0.1",
|
|
5
|
+
"description": "Rubric authoring view",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"author": "Pie Framework Authors",
|
|
8
|
+
"dependencies": {
|
|
9
|
+
"@material-ui/core": "^3.9.2",
|
|
10
|
+
"@pie-framework/pie-configure-events": "^1.3.0",
|
|
11
|
+
"@pie-lib/pie-toolbox": "1.0.12-next.3",
|
|
12
|
+
"debug": "^4.1.1",
|
|
13
|
+
"react": "^16.8.6",
|
|
14
|
+
"react-dom": "^16.8.6"
|
|
15
|
+
},
|
|
16
|
+
"license": "ISC"
|
|
17
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
model: {
|
|
3
|
+
points: ['', '', '', ''],
|
|
4
|
+
sampleAnswers: [null, null, null, null],
|
|
5
|
+
maxPoints: 4,
|
|
6
|
+
excludeZero: false,
|
|
7
|
+
excludeZeroEnabled: true,
|
|
8
|
+
maxPointsEnabled: true,
|
|
9
|
+
},
|
|
10
|
+
configuration: {
|
|
11
|
+
showExcludeZero: {
|
|
12
|
+
settings: true,
|
|
13
|
+
label: 'Ability to exclude zero',
|
|
14
|
+
},
|
|
15
|
+
showMaxPoint: {
|
|
16
|
+
settings: true,
|
|
17
|
+
label: 'Show max points dropdown',
|
|
18
|
+
},
|
|
19
|
+
settingsPanelDisabled: false,
|
|
20
|
+
// width: '500px'
|
|
21
|
+
mathMlOptions: {
|
|
22
|
+
mmlOutput: false,
|
|
23
|
+
mmlEditing: false,
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { ModelUpdatedEvent } from '@pie-framework/pie-configure-events';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import ReactDOM from 'react-dom';
|
|
4
|
+
import debug from 'debug';
|
|
5
|
+
|
|
6
|
+
import Main from './main';
|
|
7
|
+
import defaults from './defaults';
|
|
8
|
+
|
|
9
|
+
const modelWithDefaults = (m) => ({ ...defaults.model, ...m });
|
|
10
|
+
const configurationWithDefaults = (c) => ({ ...defaults.configuration, ...c });
|
|
11
|
+
|
|
12
|
+
export default class RubricElement extends HTMLElement {
|
|
13
|
+
constructor() {
|
|
14
|
+
super();
|
|
15
|
+
debug.log('constructor called');
|
|
16
|
+
this._model = modelWithDefaults();
|
|
17
|
+
this._configuration = configurationWithDefaults();
|
|
18
|
+
this.onModelChanged = this.onModelChanged.bind(this);
|
|
19
|
+
this.onConfigurationChanged = this.onConfigurationChanged.bind(this);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
set model(m) {
|
|
23
|
+
this._model = modelWithDefaults(m);
|
|
24
|
+
this._render();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
set configuration(c) {
|
|
28
|
+
this._configuration = configurationWithDefaults(c);
|
|
29
|
+
this._render();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
onModelChanged(m) {
|
|
33
|
+
this._model = m;
|
|
34
|
+
this._render();
|
|
35
|
+
this.dispatchEvent(new ModelUpdatedEvent(this._model, false));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
onConfigurationChanged = (c) => {
|
|
39
|
+
this._configuration = configurationWithDefaults(c);
|
|
40
|
+
|
|
41
|
+
if (this._model) {
|
|
42
|
+
this.onModelChanged(this._model);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
this._render();
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
connectedCallback() {
|
|
49
|
+
this._render();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
_render() {
|
|
53
|
+
if (this._model) {
|
|
54
|
+
let element = React.createElement(Main, {
|
|
55
|
+
model: this._model,
|
|
56
|
+
configuration: this._configuration,
|
|
57
|
+
onModelChanged: this.onModelChanged,
|
|
58
|
+
onConfigurationChanged: this.onConfigurationChanged,
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
ReactDOM.render(element, this);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Authoring } from '@pie-lib/pie-toolbox/rubric';
|
|
3
|
+
import { withStyles } from '@material-ui/core/styles';
|
|
4
|
+
import { layout, settings } from '@pie-lib/pie-toolbox/config-ui';
|
|
5
|
+
|
|
6
|
+
const { Panel, toggle } = settings;
|
|
7
|
+
|
|
8
|
+
const styles = (theme) => ({
|
|
9
|
+
design: {
|
|
10
|
+
fontFamily: 'Cerebri Sans',
|
|
11
|
+
fontSize: theme.typography.fontSize,
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
class Main extends React.Component {
|
|
16
|
+
render() {
|
|
17
|
+
const { model, configuration, onConfigurationChanged, onModelChanged } = this.props || {};
|
|
18
|
+
const {
|
|
19
|
+
contentDimensions = {},
|
|
20
|
+
settingsPanelDisabled,
|
|
21
|
+
showExcludeZero = {},
|
|
22
|
+
showMaxPoint = {},
|
|
23
|
+
mathMlOptions = {},
|
|
24
|
+
width,
|
|
25
|
+
} = configuration || {};
|
|
26
|
+
|
|
27
|
+
const panelProperties = {
|
|
28
|
+
excludeZeroEnabled: showExcludeZero.settings && toggle(showExcludeZero.label),
|
|
29
|
+
maxPointsEnabled: showMaxPoint.settings && toggle(showMaxPoint.label),
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
return (
|
|
33
|
+
<layout.ConfigLayout
|
|
34
|
+
dimensions={contentDimensions}
|
|
35
|
+
hideSettings={settingsPanelDisabled}
|
|
36
|
+
settings={
|
|
37
|
+
<Panel
|
|
38
|
+
model={model}
|
|
39
|
+
onChangeModel={onModelChanged}
|
|
40
|
+
configuration={configuration}
|
|
41
|
+
onChangeConfiguration={onConfigurationChanged}
|
|
42
|
+
groups={{
|
|
43
|
+
Properties: panelProperties,
|
|
44
|
+
}}
|
|
45
|
+
/>
|
|
46
|
+
}
|
|
47
|
+
>
|
|
48
|
+
<div style={{ maxWidth: width }}>
|
|
49
|
+
<Authoring value={model} onChange={onModelChanged} mathMlOptions={mathMlOptions} />
|
|
50
|
+
</div>
|
|
51
|
+
</layout.ConfigLayout>
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export default withStyles(styles)(Main);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "fix",
|
|
4
|
+
"scope": null,
|
|
5
|
+
"subject": "bump all packages to avoid tag conflict",
|
|
6
|
+
"merge": null,
|
|
7
|
+
"header": "fix: bump all packages to avoid tag conflict",
|
|
8
|
+
"body": null,
|
|
9
|
+
"footer": null,
|
|
10
|
+
"notes": [],
|
|
11
|
+
"hash": "d9ec9a8689f0a391594b5e2f4ea958c6dc9f6d7b",
|
|
12
|
+
"gitTags": " (develop)",
|
|
13
|
+
"committerDate": "2020-04-10 20:01:37 +0100",
|
|
14
|
+
"isTagged": true,
|
|
15
|
+
"tag": "@pie-element/rubric-controller@1.1.1"
|
|
16
|
+
}
|
|
17
|
+
]
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
## [2.0.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-controller@2.0.0...@pie-element/rubric-controller@2.0.1) (2023-11-09)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update pie-lib/pie-toolbox PD-3221, PD-3249, PD-2765 ([9de1563](https://github.com/pie-framework/pie-elements/commit/9de1563d636983c3ddceee0279c0709d396d4f96))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [2.0.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-controller@1.2.12...@pie-element/rubric-controller@2.0.0) (2023-11-07)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* update pie-lib version to fix imports for pie-lib/pie-toolbox/editable-html ([a90cbf6](https://github.com/pie-framework/pie-elements/commit/a90cbf6be81824e7266df23c2dc49b259337c1b6))
|
|
23
|
+
* update pie-lib/pie-toolbox version ([212cbfa](https://github.com/pie-framework/pie-elements/commit/212cbfad27b29f0b1b2a3706ba82f6fb59147001))
|
|
24
|
+
* update pie-lib/pie-toolbox version ([b791e10](https://github.com/pie-framework/pie-elements/commit/b791e10857928766e2d73c6aa80b3fb50fd1afac))
|
|
25
|
+
* update pie-lib/pie-toolbox version ([7f64f9f](https://github.com/pie-framework/pie-elements/commit/7f64f9f2b874fd08bd8f6f05c1c4292c34ac6338))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Code Refactoring
|
|
29
|
+
|
|
30
|
+
* replaced all pie-lib packages with the new pie-toolbox package that contains all of them. ([073d7e5](https://github.com/pie-framework/pie-elements/commit/073d7e5175f7a73069f09d2ceda799682acce494))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### BREAKING CHANGES
|
|
34
|
+
|
|
35
|
+
* using pie-lib/pie-toolbox now, instead of any other pie-lib package.
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## [1.2.12](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-controller@1.2.11...@pie-element/rubric-controller@1.2.12) (2023-07-06)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Bug Fixes
|
|
45
|
+
|
|
46
|
+
* updated editable-html dependent packages for PD-2150 ([ffa6297](https://github.com/pie-framework/pie-elements/commit/ffa62977a9e329c1e12ea1dfcb2af4ba4c993bca))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
## [1.2.11](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-controller@1.2.10...@pie-element/rubric-controller@1.2.11) (2023-04-25)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### Bug Fixes
|
|
56
|
+
|
|
57
|
+
* update pie-libs PD-2762 ([7ac4313](https://github.com/pie-framework/pie-elements/commit/7ac431346b822fe3bbb0d13375f044f6ce1f426b))
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
## [1.2.10](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-controller@1.2.9...@pie-element/rubric-controller@1.2.10) (2023-03-30)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
### Bug Fixes
|
|
67
|
+
|
|
68
|
+
* revert adding pie-lib/rubric and remove its usage from controller ([2e58a35](https://github.com/pie-framework/pie-elements/commit/2e58a35e3490f4c002c82206eec3b74b215f3e57))
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
## [1.2.9](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-controller@1.2.8...@pie-element/rubric-controller@1.2.9) (2023-03-30)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
### Bug Fixes
|
|
78
|
+
|
|
79
|
+
* add dependencies ([4156132](https://github.com/pie-framework/pie-elements/commit/415613209380f7bc613b1ae7908586bbe43e32bf))
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
## [1.2.8](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-controller@1.2.7...@pie-element/rubric-controller@1.2.8) (2022-12-07)
|
|
86
|
+
|
|
87
|
+
**Note:** Version bump only for package @pie-element/rubric-controller
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
## [1.2.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-controller@1.2.2...@pie-element/rubric-controller@1.2.4) (2021-11-11)
|
|
94
|
+
|
|
95
|
+
**Note:** Version bump only for package @pie-element/rubric-controller
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
## [1.2.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-controller@1.2.2...@pie-element/rubric-controller@1.2.3) (2021-11-11)
|
|
102
|
+
|
|
103
|
+
**Note:** Version bump only for package @pie-element/rubric-controller
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
## [1.2.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-controller@1.2.0...@pie-element/rubric-controller@1.2.2) (2021-08-05)
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
### Bug Fixes
|
|
113
|
+
|
|
114
|
+
* force bump ([5ea7295](https://github.com/pie-framework/pie-elements/commit/5ea7295e4755fbc492a76e7ec69e5fc35b196919))
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
# [1.2.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-controller@1.1.8...@pie-element/rubric-controller@1.2.0) (2021-06-29)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
### Features
|
|
124
|
+
|
|
125
|
+
* **rubric:** Added sample answers to the model - PD-621 ([#559](https://github.com/pie-framework/pie-elements/issues/559)) ([d436b47](https://github.com/pie-framework/pie-elements/commit/d436b47b1cb8dd7cfbd82dbd2de4dd5eab36905c))
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
## [1.1.8](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-controller@1.1.6...@pie-element/rubric-controller@1.1.8) (2021-03-03)
|
|
132
|
+
|
|
133
|
+
**Note:** Version bump only for package @pie-element/rubric-controller
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
## [1.1.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-controller@1.1.4...@pie-element/rubric-controller@1.1.6) (2021-03-03)
|
|
140
|
+
|
|
141
|
+
**Note:** Version bump only for package @pie-element/rubric-controller
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
## [1.1.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-controller@1.1.3...@pie-element/rubric-controller@1.1.4) (2020-05-25)
|
|
148
|
+
|
|
149
|
+
**Note:** Version bump only for package @pie-element/rubric-controller
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
## [1.1.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-controller@1.1.2...@pie-element/rubric-controller@1.1.3) (2020-05-25)
|
|
156
|
+
|
|
157
|
+
**Note:** Version bump only for package @pie-element/rubric-controller
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
## [1.1.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-controller@1.1.1...@pie-element/rubric-controller@1.1.2) (2020-04-14)
|
|
164
|
+
|
|
165
|
+
**Note:** Version bump only for package @pie-element/rubric-controller
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
## [1.1.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-controller@1.0.2...@pie-element/rubric-controller@1.1.1) (2020-04-10)
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
### Bug Fixes
|
|
175
|
+
|
|
176
|
+
* bump all packages to avoid tag conflict ([d9ec9a8](https://github.com/pie-framework/pie-elements/commit/d9ec9a8))
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
## [1.0.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-controller@1.0.1...@pie-element/rubric-controller@1.0.2) (2019-06-17)
|
|
183
|
+
|
|
184
|
+
**Note:** Version bump only for package @pie-element/rubric-controller
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
## 1.0.1 (2019-05-31)
|
|
191
|
+
|
|
192
|
+
**Note:** Version bump only for package @pie-element/rubric-controller
|