@pie-element/match 4.7.2 → 4.7.3-next.1016

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.
Files changed (42) hide show
  1. package/CHANGELOG.md +184 -0
  2. package/configure/CHANGELOG.md +170 -0
  3. package/configure/lib/add-row.js +1 -1
  4. package/configure/lib/add-row.js.map +1 -1
  5. package/configure/lib/answer-config-block.js +151 -35
  6. package/configure/lib/answer-config-block.js.map +1 -1
  7. package/configure/lib/common.js +46 -0
  8. package/configure/lib/common.js.map +1 -0
  9. package/configure/lib/configure.js +49 -10
  10. package/configure/lib/configure.js.map +1 -1
  11. package/configure/lib/defaults.js +19 -1
  12. package/configure/lib/defaults.js.map +1 -1
  13. package/configure/lib/general-config-block.js +81 -31
  14. package/configure/lib/general-config-block.js.map +1 -1
  15. package/configure/lib/index.js +4 -4
  16. package/configure/lib/index.js.map +1 -1
  17. package/configure/lib/row.js +109 -21
  18. package/configure/lib/row.js.map +1 -1
  19. package/configure/package.json +4 -4
  20. package/configure/utils.js +11 -0
  21. package/controller/CHANGELOG.md +16 -0
  22. package/controller/lib/index.js +37 -3
  23. package/controller/lib/index.js.map +1 -1
  24. package/controller/package.json +1 -1
  25. package/docs/config-schema.json +94 -0
  26. package/docs/config-schema.json.md +73 -1
  27. package/docs/demo/generate.js +1 -0
  28. package/docs/pie-schema.json +42 -0
  29. package/docs/pie-schema.json.md +35 -0
  30. package/lib/answer-grid.js +9 -10
  31. package/lib/answer-grid.js.map +1 -1
  32. package/lib/index.js +7 -2
  33. package/lib/index.js.map +1 -1
  34. package/lib/main.js +11 -17
  35. package/lib/main.js.map +1 -1
  36. package/package.json +5 -5
  37. package/module/configure.js +0 -1776
  38. package/module/controller.js +0 -21219
  39. package/module/demo.js +0 -75
  40. package/module/element.js +0 -591
  41. package/module/index.html +0 -16
  42. package/module/manifest.json +0 -10
package/CHANGELOG.md CHANGED
@@ -3,6 +3,190 @@
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
+ ## [4.10.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@4.10.5...@pie-element/match@4.10.6) (2022-03-28)
7
+
8
+ **Note:** Version bump only for package @pie-element/match
9
+
10
+
11
+
12
+
13
+
14
+ ## [4.10.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@4.10.4...@pie-element/match@4.10.5) (2022-03-22)
15
+
16
+ **Note:** Version bump only for package @pie-element/match
17
+
18
+
19
+
20
+
21
+
22
+ ## [4.10.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@4.10.3...@pie-element/match@4.10.4) (2022-03-08)
23
+
24
+ **Note:** Version bump only for package @pie-element/match
25
+
26
+
27
+
28
+
29
+
30
+ ## [4.10.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@4.10.2...@pie-element/match@4.10.3) (2022-03-08)
31
+
32
+ **Note:** Version bump only for package @pie-element/match
33
+
34
+
35
+
36
+
37
+
38
+ ## [4.10.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@4.10.1...@pie-element/match@4.10.2) (2022-02-21)
39
+
40
+ **Note:** Version bump only for package @pie-element/match
41
+
42
+
43
+
44
+
45
+
46
+ ## [4.10.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@4.10.0...@pie-element/match@4.10.1) (2022-02-04)
47
+
48
+ **Note:** Version bump only for package @pie-element/match
49
+
50
+
51
+
52
+
53
+
54
+ # [4.10.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@4.9.8...@pie-element/match@4.10.0) (2022-01-24)
55
+
56
+
57
+ ### Bug Fixes
58
+
59
+ * match - after the player gives all the responses, feedback is 'you have not entered a response' PD-902 ([6bbcac9](https://github.com/pie-framework/pie-elements/commit/6bbcac9d4349e59b221471ea1b07957ea2c608e0))
60
+ * use preview prompt for prompt, rationale and teacher instructions to fix table rendering PD-1456 ([f330601](https://github.com/pie-framework/pie-elements/commit/f3306019a2d1c8ce3e2783823dfe9ef0a0394e4f))
61
+ * **match:** indicate answer correctness in evaluate mode PD-1378 ([fe78c07](https://github.com/pie-framework/pie-elements/commit/fe78c073505ca72527894b30f7ba9cd570f39da0))
62
+ * **match:** set default false for lock choice order settings PD-1333 ([4f07002](https://github.com/pie-framework/pie-elements/commit/4f07002ceece8b82450cc6fff13515923df370cc))
63
+
64
+
65
+ ### Features
66
+
67
+ * **match:** change drag-and-drop behavior from swap to push PD-1336 ([0383630](https://github.com/pie-framework/pie-elements/commit/0383630ba588fed54aa9ff0b9a936f1c8d773eff))
68
+ * **match:** remove list buttons from question text PD-1335 ([671d0fb](https://github.com/pie-framework/pie-elements/commit/671d0fbbf79e343dc9a89dc6f820309edcccbaaf))
69
+
70
+
71
+
72
+
73
+
74
+ ## [4.9.8](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@4.9.7...@pie-element/match@4.9.8) (2022-01-10)
75
+
76
+ **Note:** Version bump only for package @pie-element/match
77
+
78
+
79
+
80
+
81
+
82
+ ## [4.9.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@4.9.6...@pie-element/match@4.9.7) (2021-12-23)
83
+
84
+ **Note:** Version bump only for package @pie-element/match
85
+
86
+
87
+
88
+
89
+
90
+ ## [4.9.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@4.9.4...@pie-element/match@4.9.5) (2021-12-13)
91
+
92
+ **Note:** Version bump only for package @pie-element/match
93
+
94
+
95
+
96
+
97
+
98
+ ## [4.9.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@4.9.1...@pie-element/match@4.9.2) (2021-11-29)
99
+
100
+ **Note:** Version bump only for package @pie-element/match
101
+
102
+
103
+
104
+
105
+
106
+ ## [4.9.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@4.8.4...@pie-element/match@4.9.1) (2021-11-11)
107
+
108
+ **Note:** Version bump only for package @pie-element/match
109
+
110
+
111
+
112
+
113
+
114
+ # [4.9.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@4.7.2...@pie-element/match@4.9.0) (2021-11-11)
115
+
116
+
117
+ ### Bug Fixes
118
+
119
+ * **match:** set default false for lock choice order settings PD-1333 ([4f07002](https://github.com/pie-framework/pie-elements/commit/4f07002ceece8b82450cc6fff13515923df370cc))
120
+ * pie-lib updates ([e521c2f](https://github.com/pie-framework/pie-elements/commit/e521c2f1a44aa7f3e14f82a1cee05ceb484ed0a6))
121
+ * Updated pie-lib versions ([2fe4c5d](https://github.com/pie-framework/pie-elements/commit/2fe4c5d0be2d40f5fdb34815855695a7f1087f56))
122
+ * Updated pie-lib versions ([1c23830](https://github.com/pie-framework/pie-elements/commit/1c23830fc75d1de5f7bb3bb16de3c665ae5fa350))
123
+ * **match:** Fixed the session for pits PD-902 ([2d51d53](https://github.com/pie-framework/pie-elements/commit/2d51d534d832dcc7bc18f8afc6dc1da1031d2fab))
124
+
125
+
126
+ ### Features
127
+
128
+ * **match:** authoring UI should allow up to 10 columns. Change column header fields PD-601 ([6015d9f](https://github.com/pie-framework/pie-elements/commit/6015d9fd8768f7b8462b7c85c2a2ce61df9ab535))
129
+ * **match:** change drag-and-drop behavior from swap to push PD-1336 ([0383630](https://github.com/pie-framework/pie-elements/commit/0383630ba588fed54aa9ff0b9a936f1c8d773eff))
130
+ * **match:** remove insert audio and video buttons from question text PD-601 ([6407962](https://github.com/pie-framework/pie-elements/commit/64079623bbba4803e18d49b33b43f62f9b1082cb))
131
+ * **match:** remove list buttons from question text PD-1335 ([671d0fb](https://github.com/pie-framework/pie-elements/commit/671d0fbbf79e343dc9a89dc6f820309edcccbaaf))
132
+ * **match:** set toolbar editor position to bottom ([54c781e](https://github.com/pie-framework/pie-elements/commit/54c781e16207ddb5cbc623626ab1bc8980518b49))
133
+
134
+
135
+
136
+
137
+
138
+
139
+ ## [4.8.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@4.8.3...@pie-element/match@4.8.4) (2021-11-01)
140
+
141
+ **Note:** Version bump only for package @pie-element/match
142
+
143
+
144
+
145
+
146
+
147
+ ## [4.8.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@4.8.2...@pie-element/match@4.8.3) (2021-10-04)
148
+
149
+ **Note:** Version bump only for package @pie-element/match
150
+
151
+
152
+
153
+
154
+
155
+ ## [4.8.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@4.8.1...@pie-element/match@4.8.2) (2021-09-20)
156
+
157
+
158
+ ### Bug Fixes
159
+
160
+ * pie-lib updates ([e521c2f](https://github.com/pie-framework/pie-elements/commit/e521c2f1a44aa7f3e14f82a1cee05ceb484ed0a6))
161
+ * Updated pie-lib versions ([2fe4c5d](https://github.com/pie-framework/pie-elements/commit/2fe4c5d0be2d40f5fdb34815855695a7f1087f56))
162
+ * Updated pie-lib versions ([1c23830](https://github.com/pie-framework/pie-elements/commit/1c23830fc75d1de5f7bb3bb16de3c665ae5fa350))
163
+ * **match:** Fixed the session for pits PD-902 ([2d51d53](https://github.com/pie-framework/pie-elements/commit/2d51d534d832dcc7bc18f8afc6dc1da1031d2fab))
164
+
165
+
166
+
167
+
168
+
169
+ ## [4.8.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@4.8.0...@pie-element/match@4.8.1) (2021-09-01)
170
+
171
+ **Note:** Version bump only for package @pie-element/match
172
+
173
+
174
+
175
+
176
+
177
+ # [4.8.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@4.7.2...@pie-element/match@4.8.0) (2021-08-05)
178
+
179
+
180
+ ### Features
181
+
182
+ * **match:** authoring UI should allow up to 10 columns. Change column header fields PD-601 ([6015d9f](https://github.com/pie-framework/pie-elements/commit/6015d9fd8768f7b8462b7c85c2a2ce61df9ab535))
183
+ * **match:** remove insert audio and video buttons from question text PD-601 ([6407962](https://github.com/pie-framework/pie-elements/commit/64079623bbba4803e18d49b33b43f62f9b1082cb))
184
+ * **match:** set toolbar editor position to bottom ([54c781e](https://github.com/pie-framework/pie-elements/commit/54c781e16207ddb5cbc623626ab1bc8980518b49))
185
+
186
+
187
+
188
+
189
+
6
190
  ## [4.7.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@4.7.0...@pie-element/match@4.7.2) (2021-08-05)
7
191
 
8
192
 
@@ -3,6 +3,176 @@
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
+ ## [4.5.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@4.5.5...@pie-element/match-configure@4.5.6) (2022-03-28)
7
+
8
+ **Note:** Version bump only for package @pie-element/match-configure
9
+
10
+
11
+
12
+
13
+
14
+ ## [4.5.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@4.5.4...@pie-element/match-configure@4.5.5) (2022-03-22)
15
+
16
+ **Note:** Version bump only for package @pie-element/match-configure
17
+
18
+
19
+
20
+
21
+
22
+ ## [4.5.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@4.5.3...@pie-element/match-configure@4.5.4) (2022-03-08)
23
+
24
+ **Note:** Version bump only for package @pie-element/match-configure
25
+
26
+
27
+
28
+
29
+
30
+ ## [4.5.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@4.5.2...@pie-element/match-configure@4.5.3) (2022-03-08)
31
+
32
+ **Note:** Version bump only for package @pie-element/match-configure
33
+
34
+
35
+
36
+
37
+
38
+ ## [4.5.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@4.5.1...@pie-element/match-configure@4.5.2) (2022-02-21)
39
+
40
+ **Note:** Version bump only for package @pie-element/match-configure
41
+
42
+
43
+
44
+
45
+
46
+ ## [4.5.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@4.5.0...@pie-element/match-configure@4.5.1) (2022-02-04)
47
+
48
+ **Note:** Version bump only for package @pie-element/match-configure
49
+
50
+
51
+
52
+
53
+
54
+ # [4.5.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@4.4.8...@pie-element/match-configure@4.5.0) (2022-01-24)
55
+
56
+
57
+ ### Bug Fixes
58
+
59
+ * match - after the player gives all the responses, feedback is 'you have not entered a response' PD-902 ([6bbcac9](https://github.com/pie-framework/pie-elements/commit/6bbcac9d4349e59b221471ea1b07957ea2c608e0))
60
+ * **match:** set default false for lock choice order settings PD-1333 ([4f07002](https://github.com/pie-framework/pie-elements/commit/4f07002ceece8b82450cc6fff13515923df370cc))
61
+
62
+
63
+ ### Features
64
+
65
+ * **match:** change drag-and-drop behavior from swap to push PD-1336 ([0383630](https://github.com/pie-framework/pie-elements/commit/0383630ba588fed54aa9ff0b9a936f1c8d773eff))
66
+ * **match:** remove list buttons from question text PD-1335 ([671d0fb](https://github.com/pie-framework/pie-elements/commit/671d0fbbf79e343dc9a89dc6f820309edcccbaaf))
67
+
68
+
69
+
70
+
71
+
72
+ ## [4.4.8](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@4.4.7...@pie-element/match-configure@4.4.8) (2022-01-10)
73
+
74
+ **Note:** Version bump only for package @pie-element/match-configure
75
+
76
+
77
+
78
+
79
+
80
+ ## [4.4.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@4.4.6...@pie-element/match-configure@4.4.7) (2021-12-23)
81
+
82
+ **Note:** Version bump only for package @pie-element/match-configure
83
+
84
+
85
+
86
+
87
+
88
+ ## [4.4.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@4.4.4...@pie-element/match-configure@4.4.5) (2021-12-13)
89
+
90
+ **Note:** Version bump only for package @pie-element/match-configure
91
+
92
+
93
+
94
+
95
+
96
+ ## [4.4.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@4.4.1...@pie-element/match-configure@4.4.2) (2021-11-29)
97
+
98
+ **Note:** Version bump only for package @pie-element/match-configure
99
+
100
+
101
+
102
+
103
+
104
+ ## [4.4.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@4.3.3...@pie-element/match-configure@4.4.1) (2021-11-11)
105
+
106
+ **Note:** Version bump only for package @pie-element/match-configure
107
+
108
+
109
+
110
+
111
+
112
+ # [4.4.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@4.2.2...@pie-element/match-configure@4.4.0) (2021-11-11)
113
+
114
+
115
+ ### Bug Fixes
116
+
117
+ * **match:** set default false for lock choice order settings PD-1333 ([4f07002](https://github.com/pie-framework/pie-elements/commit/4f07002ceece8b82450cc6fff13515923df370cc))
118
+ * pie-lib updates ([e521c2f](https://github.com/pie-framework/pie-elements/commit/e521c2f1a44aa7f3e14f82a1cee05ceb484ed0a6))
119
+ * Updated pie-lib versions ([2fe4c5d](https://github.com/pie-framework/pie-elements/commit/2fe4c5d0be2d40f5fdb34815855695a7f1087f56))
120
+ * Updated pie-lib versions ([1c23830](https://github.com/pie-framework/pie-elements/commit/1c23830fc75d1de5f7bb3bb16de3c665ae5fa350))
121
+
122
+
123
+ ### Features
124
+
125
+ * **match:** authoring UI should allow up to 10 columns. Change column header fields PD-601 ([6015d9f](https://github.com/pie-framework/pie-elements/commit/6015d9fd8768f7b8462b7c85c2a2ce61df9ab535))
126
+ * **match:** change drag-and-drop behavior from swap to push PD-1336 ([0383630](https://github.com/pie-framework/pie-elements/commit/0383630ba588fed54aa9ff0b9a936f1c8d773eff))
127
+ * **match:** remove insert audio and video buttons from question text PD-601 ([6407962](https://github.com/pie-framework/pie-elements/commit/64079623bbba4803e18d49b33b43f62f9b1082cb))
128
+ * **match:** remove list buttons from question text PD-1335 ([671d0fb](https://github.com/pie-framework/pie-elements/commit/671d0fbbf79e343dc9a89dc6f820309edcccbaaf))
129
+
130
+
131
+
132
+
133
+
134
+
135
+ ## [4.3.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@4.3.2...@pie-element/match-configure@4.3.3) (2021-11-01)
136
+
137
+ **Note:** Version bump only for package @pie-element/match-configure
138
+
139
+
140
+
141
+
142
+
143
+ ## [4.3.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@4.3.1...@pie-element/match-configure@4.3.2) (2021-10-04)
144
+
145
+ **Note:** Version bump only for package @pie-element/match-configure
146
+
147
+
148
+
149
+
150
+
151
+ ## [4.3.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@4.3.0...@pie-element/match-configure@4.3.1) (2021-09-20)
152
+
153
+
154
+ ### Bug Fixes
155
+
156
+ * pie-lib updates ([e521c2f](https://github.com/pie-framework/pie-elements/commit/e521c2f1a44aa7f3e14f82a1cee05ceb484ed0a6))
157
+ * Updated pie-lib versions ([2fe4c5d](https://github.com/pie-framework/pie-elements/commit/2fe4c5d0be2d40f5fdb34815855695a7f1087f56))
158
+ * Updated pie-lib versions ([1c23830](https://github.com/pie-framework/pie-elements/commit/1c23830fc75d1de5f7bb3bb16de3c665ae5fa350))
159
+
160
+
161
+
162
+
163
+
164
+ # [4.3.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@4.2.2...@pie-element/match-configure@4.3.0) (2021-08-05)
165
+
166
+
167
+ ### Features
168
+
169
+ * **match:** authoring UI should allow up to 10 columns. Change column header fields PD-601 ([6015d9f](https://github.com/pie-framework/pie-elements/commit/6015d9fd8768f7b8462b7c85c2a2ce61df9ab535))
170
+ * **match:** remove insert audio and video buttons from question text PD-601 ([6407962](https://github.com/pie-framework/pie-elements/commit/64079623bbba4803e18d49b33b43f62f9b1082cb))
171
+
172
+
173
+
174
+
175
+
6
176
  ## [4.2.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@4.2.0...@pie-element/match-configure@4.2.2) (2021-08-05)
7
177
 
8
178
 
@@ -31,7 +31,7 @@ var _Add = _interopRequireDefault(require("@material-ui/icons/Add"));
31
31
 
32
32
  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); }; }
33
33
 
34
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
34
+ 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; } }
35
35
 
36
36
  var AddRowButton = /*#__PURE__*/function (_React$Component) {
37
37
  (0, _inherits2["default"])(AddRowButton, _React$Component);
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/add-row.jsx"],"names":["AddRowButton","props","classes","onAddClick","button","React","Component","PropTypes","object","isRequired","func","styles","theme","display","alignSelf","margin","marginBottom","spacing","unit"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;IAEaA,Y;;;;;;;;;;;;WAMX,kBAAS;AAAA,wBACyB,KAAKC,KAD9B;AAAA,UACCC,OADD,eACCA,OADD;AAAA,UACUC,UADV,eACUA,UADV;AAGP,0BACE,gCAAC,kBAAD;AAAQ,QAAA,SAAS,EAAED,OAAO,CAACE,MAA3B;AAAmC,QAAA,QAAQ,EAAE,KAA7C;AAAoD,QAAA,OAAO,EAAED;AAA7D,sBACE,gCAAC,eAAD,OADF,oBADF;AAMD;;;EAf+BE,kBAAMC,S;;;iCAA3BN,Y,eACQ;AACjBE,EAAAA,OAAO,EAAEK,sBAAUC,MAAV,CAAiBC,UADT;AAEjBN,EAAAA,UAAU,EAAEI,sBAAUG,IAAV,CAAeD;AAFV,C;;AAiBrB,IAAME,MAAM,GAAG,SAATA,MAAS,CAAAC,KAAK;AAAA,SAAK;AACvBR,IAAAA,MAAM,EAAE;AACNS,MAAAA,OAAO,EAAE,MADH;AAENC,MAAAA,SAAS,EAAE,YAFL;AAGNC,MAAAA,MAAM,EAAE,CAHF;AAINC,MAAAA,YAAY,EAAEJ,KAAK,CAACK,OAAN,CAAcC,IAAd,GAAqB;AAJ7B;AADe,GAAL;AAAA,CAApB;;eASe,wBAAWP,MAAX,EAAmBX,YAAnB,C","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Button from '@material-ui/core/Button';\nimport { withStyles } from '@material-ui/core/styles';\nimport AddButton from '@material-ui/icons/Add';\n\nexport class AddRowButton extends React.Component {\n static propTypes = {\n classes: PropTypes.object.isRequired,\n onAddClick: PropTypes.func.isRequired\n };\n\n render() {\n const { classes, onAddClick } = this.props;\n\n return (\n <Button className={classes.button} disabled={false} onClick={onAddClick}>\n <AddButton />\n Add Another Row\n </Button>\n );\n }\n}\n\nconst styles = theme => ({\n button: {\n display: 'flex',\n alignSelf: 'flex-start',\n margin: 0,\n marginBottom: theme.spacing.unit * 2\n }\n});\n\nexport default withStyles(styles)(AddRowButton);\n"],"file":"add-row.js"}
1
+ {"version":3,"sources":["../src/add-row.jsx"],"names":["AddRowButton","props","classes","onAddClick","button","React","Component","PropTypes","object","isRequired","func","styles","theme","display","alignSelf","margin","marginBottom","spacing","unit"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;IAEaA,Y;;;;;;;;;;;;WAMX,kBAAS;AACP,wBAAgC,KAAKC,KAArC;AAAA,UAAQC,OAAR,eAAQA,OAAR;AAAA,UAAiBC,UAAjB,eAAiBA,UAAjB;AAEA,0BACE,gCAAC,kBAAD;AAAQ,QAAA,SAAS,EAAED,OAAO,CAACE,MAA3B;AAAmC,QAAA,QAAQ,EAAE,KAA7C;AAAoD,QAAA,OAAO,EAAED;AAA7D,sBACE,gCAAC,eAAD,OADF,oBADF;AAMD;;;EAf+BE,kBAAMC,S;;;iCAA3BN,Y,eACQ;AACjBE,EAAAA,OAAO,EAAEK,sBAAUC,MAAV,CAAiBC,UADT;AAEjBN,EAAAA,UAAU,EAAEI,sBAAUG,IAAV,CAAeD;AAFV,C;;AAiBrB,IAAME,MAAM,GAAG,SAATA,MAAS,CAAAC,KAAK;AAAA,SAAK;AACvBR,IAAAA,MAAM,EAAE;AACNS,MAAAA,OAAO,EAAE,MADH;AAENC,MAAAA,SAAS,EAAE,YAFL;AAGNC,MAAAA,MAAM,EAAE,CAHF;AAINC,MAAAA,YAAY,EAAEJ,KAAK,CAACK,OAAN,CAAcC,IAAd,GAAqB;AAJ7B;AADe,GAAL;AAAA,CAApB;;eASe,wBAAWP,MAAX,EAAmBX,YAAnB,C","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Button from '@material-ui/core/Button';\nimport { withStyles } from '@material-ui/core/styles';\nimport AddButton from '@material-ui/icons/Add';\n\nexport class AddRowButton extends React.Component {\n static propTypes = {\n classes: PropTypes.object.isRequired,\n onAddClick: PropTypes.func.isRequired\n };\n\n render() {\n const { classes, onAddClick } = this.props;\n\n return (\n <Button className={classes.button} disabled={false} onClick={onAddClick}>\n <AddButton />\n Add Another Row\n </Button>\n );\n }\n}\n\nconst styles = theme => ({\n button: {\n display: 'flex',\n alignSelf: 'flex-start',\n margin: 0,\n marginBottom: theme.spacing.unit * 2\n }\n});\n\nexport default withStyles(styles)(AddRowButton);\n"],"file":"add-row.js"}