@pie-element/multi-trait-rubric 8.2.2-beta.6 → 8.2.2-beta.8

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.
@@ -0,0 +1,206 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.excludeZeroTypes = exports.InfoDialog = exports.IncludeZeroDialog = exports.ExcludeZeroDialog = exports.DeleteTrait = exports.DeleteScale = exports.DecreaseMaxPoints = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _propTypes = _interopRequireDefault(require("prop-types"));
10
+ var _styles = require("@mui/material/styles");
11
+ var _Dialog = _interopRequireDefault(require("@mui/material/Dialog"));
12
+ var _DialogTitle = _interopRequireDefault(require("@mui/material/DialogTitle"));
13
+ var _DialogActions = _interopRequireDefault(require("@mui/material/DialogActions"));
14
+ var _DialogContent = _interopRequireDefault(require("@mui/material/DialogContent"));
15
+ var _DialogContentText = _interopRequireDefault(require("@mui/material/DialogContentText"));
16
+ var _Button = _interopRequireDefault(require("@mui/material/Button"));
17
+ var _renderUi = require("@pie-lib/render-ui");
18
+ var _defaults = _interopRequireDefault(require("./defaults"));
19
+ const {
20
+ configuration: {
21
+ excludeZeroDialogBoxContent,
22
+ includeZeroDialogBoxContent,
23
+ deleteScaleDialogBoxContent,
24
+ maxPointsDialogBoxContent
25
+ }
26
+ } = _defaults.default;
27
+ const excludeZeroTypes = exports.excludeZeroTypes = {
28
+ remove0: 'remove0',
29
+ add0: 'add0',
30
+ shiftLeft: 'shiftLeft',
31
+ shiftRight: 'shiftRight'
32
+ };
33
+ const StyledDialog = (0, _styles.styled)(_Dialog.default)(({
34
+ theme
35
+ }) => ({
36
+ '& .MuiPaper-root': {
37
+ padding: theme.spacing(2.5)
38
+ }
39
+ }));
40
+ const StyledDialogTitle = (0, _styles.styled)(_DialogTitle.default)(({
41
+ theme
42
+ }) => ({
43
+ padding: `0 0 ${theme.spacing(2)} 0`,
44
+ '& h2': {
45
+ fontSize: '20px',
46
+ lineHeight: '23px',
47
+ fontFamily: 'Cerebri Sans',
48
+ color: _renderUi.color.text()
49
+ }
50
+ }));
51
+ const StyledDialogContent = (0, _styles.styled)(_DialogContent.default)(({
52
+ theme
53
+ }) => ({
54
+ paddingLeft: '0',
55
+ '& p': {
56
+ fontSize: theme.typography.fontSize + 2,
57
+ fontFamily: 'Cerebri Sans',
58
+ color: _renderUi.color.text()
59
+ }
60
+ }));
61
+ const StyledButton = (0, _styles.styled)(_Button.default)(({
62
+ theme
63
+ }) => ({
64
+ padding: `${theme.spacing(1.5)} ${theme.spacing(2)}`,
65
+ borderRadius: '4px',
66
+ fontSize: theme.typography.fontSize,
67
+ fontFamily: 'Cerebri Sans',
68
+ lineHeight: '14px',
69
+ textTransform: 'none',
70
+ background: _renderUi.color.primary(),
71
+ color: theme.palette.common.white
72
+ }));
73
+ const CancelButton = (0, _styles.styled)(StyledButton)({
74
+ background: _renderUi.color.secondaryBackground(),
75
+ color: _renderUi.color.text()
76
+ });
77
+ const ExcludeZeroDialog = ({
78
+ open,
79
+ changeExcludeZero,
80
+ cancel
81
+ }) => /*#__PURE__*/_react.default.createElement(StyledDialog, {
82
+ open: open
83
+ }, /*#__PURE__*/_react.default.createElement(StyledDialogTitle, null, excludeZeroDialogBoxContent.title), /*#__PURE__*/_react.default.createElement(StyledDialogContent, null, /*#__PURE__*/_react.default.createElement(_DialogContentText.default, null, /*#__PURE__*/_react.default.createElement("div", {
84
+ dangerouslySetInnerHTML: {
85
+ __html: excludeZeroDialogBoxContent.text
86
+ }
87
+ }))), /*#__PURE__*/_react.default.createElement(_DialogActions.default, null, /*#__PURE__*/_react.default.createElement(CancelButton, {
88
+ onClick: () => cancel()
89
+ }, "Cancel"), /*#__PURE__*/_react.default.createElement(StyledButton, {
90
+ onClick: () => changeExcludeZero(excludeZeroTypes.shiftLeft)
91
+ }, "Shift to Left"), /*#__PURE__*/_react.default.createElement(StyledButton, {
92
+ onClick: () => changeExcludeZero(excludeZeroTypes.remove0)
93
+ }, "Remove 0 column")));
94
+ exports.ExcludeZeroDialog = ExcludeZeroDialog;
95
+ ExcludeZeroDialog.propTypes = {
96
+ open: _propTypes.default.bool,
97
+ changeExcludeZero: _propTypes.default.func,
98
+ cancel: _propTypes.default.func
99
+ };
100
+ const IncludeZeroDialog = ({
101
+ open,
102
+ changeExcludeZero,
103
+ cancel
104
+ }) => /*#__PURE__*/_react.default.createElement(StyledDialog, {
105
+ open: open
106
+ }, /*#__PURE__*/_react.default.createElement(StyledDialogTitle, null, includeZeroDialogBoxContent.title), /*#__PURE__*/_react.default.createElement(StyledDialogContent, null, /*#__PURE__*/_react.default.createElement(_DialogContentText.default, null, /*#__PURE__*/_react.default.createElement("div", {
107
+ dangerouslySetInnerHTML: {
108
+ __html: includeZeroDialogBoxContent.text
109
+ }
110
+ }))), /*#__PURE__*/_react.default.createElement(_DialogActions.default, null, /*#__PURE__*/_react.default.createElement(CancelButton, {
111
+ onClick: () => cancel()
112
+ }, "Cancel"), /*#__PURE__*/_react.default.createElement(StyledButton, {
113
+ onClick: () => changeExcludeZero(excludeZeroTypes.shiftRight)
114
+ }, "Shift to Right"), /*#__PURE__*/_react.default.createElement(StyledButton, {
115
+ onClick: () => changeExcludeZero(excludeZeroTypes.add0)
116
+ }, "Add 0 column")));
117
+ exports.IncludeZeroDialog = IncludeZeroDialog;
118
+ IncludeZeroDialog.propTypes = {
119
+ open: _propTypes.default.bool,
120
+ changeExcludeZero: _propTypes.default.func,
121
+ cancel: _propTypes.default.func
122
+ };
123
+ const DecreaseMaxPoints = ({
124
+ open,
125
+ deleteScorePoints,
126
+ cancel
127
+ }) => /*#__PURE__*/_react.default.createElement(StyledDialog, {
128
+ open: open
129
+ }, /*#__PURE__*/_react.default.createElement(StyledDialogTitle, null, maxPointsDialogBoxContent.title), /*#__PURE__*/_react.default.createElement(StyledDialogContent, null, /*#__PURE__*/_react.default.createElement(_DialogContentText.default, null, /*#__PURE__*/_react.default.createElement("div", {
130
+ dangerouslySetInnerHTML: {
131
+ __html: maxPointsDialogBoxContent.text
132
+ }
133
+ }))), /*#__PURE__*/_react.default.createElement(_DialogActions.default, null, /*#__PURE__*/_react.default.createElement(CancelButton, {
134
+ onClick: cancel
135
+ }, "Cancel"), /*#__PURE__*/_react.default.createElement(StyledButton, {
136
+ onClick: deleteScorePoints
137
+ }, "Confirm")));
138
+ exports.DecreaseMaxPoints = DecreaseMaxPoints;
139
+ DecreaseMaxPoints.propTypes = {
140
+ open: _propTypes.default.bool,
141
+ deleteScorePoints: _propTypes.default.func,
142
+ cancel: _propTypes.default.func
143
+ };
144
+ const DeleteScale = ({
145
+ open,
146
+ scaleIndex,
147
+ deleteScale,
148
+ cancel
149
+ }) => /*#__PURE__*/_react.default.createElement(StyledDialog, {
150
+ open: open
151
+ }, /*#__PURE__*/_react.default.createElement(StyledDialogTitle, null, `${deleteScaleDialogBoxContent.title} #${scaleIndex + 1}`), /*#__PURE__*/_react.default.createElement(StyledDialogContent, null, /*#__PURE__*/_react.default.createElement(_DialogContentText.default, null, /*#__PURE__*/_react.default.createElement("div", {
152
+ dangerouslySetInnerHTML: {
153
+ __html: deleteScaleDialogBoxContent.text
154
+ }
155
+ }))), /*#__PURE__*/_react.default.createElement(_DialogActions.default, null, /*#__PURE__*/_react.default.createElement(CancelButton, {
156
+ onClick: cancel
157
+ }, "Cancel"), /*#__PURE__*/_react.default.createElement(StyledButton, {
158
+ onClick: deleteScale
159
+ }, "Delete")));
160
+ exports.DeleteScale = DeleteScale;
161
+ DeleteScale.propTypes = {
162
+ open: _propTypes.default.bool,
163
+ scaleIndex: _propTypes.default.number,
164
+ deleteScale: _propTypes.default.func,
165
+ cancel: _propTypes.default.func
166
+ };
167
+ const DeleteTrait = ({
168
+ open,
169
+ deleteTrait,
170
+ cancel,
171
+ traitLabel
172
+ }) => /*#__PURE__*/_react.default.createElement(StyledDialog, {
173
+ open: open
174
+ }, /*#__PURE__*/_react.default.createElement(StyledDialogTitle, null, "Delete ", traitLabel), /*#__PURE__*/_react.default.createElement(StyledDialogContent, null, /*#__PURE__*/_react.default.createElement(_DialogContentText.default, null, /*#__PURE__*/_react.default.createElement("div", {
175
+ dangerouslySetInnerHTML: {
176
+ __html: `Are you sure you want to delete this ${traitLabel}?`
177
+ }
178
+ }))), /*#__PURE__*/_react.default.createElement(_DialogActions.default, null, /*#__PURE__*/_react.default.createElement(CancelButton, {
179
+ onClick: cancel
180
+ }, "Cancel"), /*#__PURE__*/_react.default.createElement(StyledButton, {
181
+ onClick: deleteTrait
182
+ }, "Delete")));
183
+ exports.DeleteTrait = DeleteTrait;
184
+ DeleteTrait.propTypes = {
185
+ open: _propTypes.default.bool,
186
+ deleteTrait: _propTypes.default.func,
187
+ cancel: _propTypes.default.func,
188
+ traitLabel: _propTypes.default.string
189
+ };
190
+ const InfoDialog = ({
191
+ open,
192
+ text,
193
+ onClose
194
+ }) => /*#__PURE__*/_react.default.createElement(StyledDialog, {
195
+ open: open
196
+ }, /*#__PURE__*/_react.default.createElement(StyledDialogTitle, null, text), /*#__PURE__*/_react.default.createElement(_DialogActions.default, null, /*#__PURE__*/_react.default.createElement(StyledButton, {
197
+ onClick: onClose
198
+ }, "OK")));
199
+ exports.InfoDialog = InfoDialog;
200
+ InfoDialog.propTypes = {
201
+ open: _propTypes.default.bool,
202
+ text: _propTypes.default.string,
203
+ cancel: _propTypes.default.func,
204
+ onClose: _propTypes.default.func
205
+ };
206
+ //# sourceMappingURL=modals.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modals.js","names":["_react","_interopRequireDefault","require","_propTypes","_styles","_Dialog","_DialogTitle","_DialogActions","_DialogContent","_DialogContentText","_Button","_renderUi","_defaults","configuration","excludeZeroDialogBoxContent","includeZeroDialogBoxContent","deleteScaleDialogBoxContent","maxPointsDialogBoxContent","defaults","excludeZeroTypes","exports","remove0","add0","shiftLeft","shiftRight","StyledDialog","styled","Dialog","theme","padding","spacing","StyledDialogTitle","DialogTitle","fontSize","lineHeight","fontFamily","color","text","StyledDialogContent","DialogContent","paddingLeft","typography","StyledButton","Button","borderRadius","textTransform","background","primary","palette","common","white","CancelButton","secondaryBackground","ExcludeZeroDialog","open","changeExcludeZero","cancel","default","createElement","title","dangerouslySetInnerHTML","__html","onClick","propTypes","PropTypes","bool","func","IncludeZeroDialog","DecreaseMaxPoints","deleteScorePoints","DeleteScale","scaleIndex","deleteScale","number","DeleteTrait","deleteTrait","traitLabel","string","InfoDialog","onClose"],"sources":["../src/modals.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { styled } from '@mui/material/styles';\nimport Dialog from '@mui/material/Dialog';\nimport DialogTitle from '@mui/material/DialogTitle';\nimport DialogActions from '@mui/material/DialogActions';\nimport DialogContent from '@mui/material/DialogContent';\nimport DialogContentText from '@mui/material/DialogContentText';\nimport Button from '@mui/material/Button';\nimport { color } from '@pie-lib/render-ui';\n\nimport defaults from './defaults';\n\nconst {\n configuration: {\n excludeZeroDialogBoxContent,\n includeZeroDialogBoxContent,\n deleteScaleDialogBoxContent,\n maxPointsDialogBoxContent,\n },\n} = defaults;\n\nexport const excludeZeroTypes = {\n remove0: 'remove0',\n add0: 'add0',\n shiftLeft: 'shiftLeft',\n shiftRight: 'shiftRight',\n};\n\nconst StyledDialog = styled(Dialog)(({ theme }) => ({\n '& .MuiPaper-root': {\n padding: theme.spacing(2.5),\n },\n}));\n\nconst StyledDialogTitle = styled(DialogTitle)(({ theme }) => ({\n padding: `0 0 ${theme.spacing(2)} 0`,\n\n '& h2': {\n fontSize: '20px',\n lineHeight: '23px',\n fontFamily: 'Cerebri Sans',\n color: color.text(),\n },\n}));\n\nconst StyledDialogContent = styled(DialogContent)(({ theme }) => ({\n paddingLeft: '0',\n\n '& p': {\n fontSize: theme.typography.fontSize + 2,\n fontFamily: 'Cerebri Sans',\n color: color.text(),\n },\n}));\n\nconst StyledButton = styled(Button)(({ theme }) => ({\n padding: `${theme.spacing(1.5)} ${theme.spacing(2)}`,\n borderRadius: '4px',\n fontSize: theme.typography.fontSize,\n fontFamily: 'Cerebri Sans',\n lineHeight: '14px',\n textTransform: 'none',\n background: color.primary(),\n color: theme.palette.common.white,\n}));\n\nconst CancelButton = styled(StyledButton)({\n background: color.secondaryBackground(),\n color: color.text(),\n});\n\nconst ExcludeZeroDialog = ({ open, changeExcludeZero, cancel }) => (\n <StyledDialog open={open}>\n <StyledDialogTitle>{excludeZeroDialogBoxContent.title}</StyledDialogTitle>\n\n <StyledDialogContent>\n <DialogContentText>\n <div dangerouslySetInnerHTML={{ __html: excludeZeroDialogBoxContent.text }} />\n </DialogContentText>\n </StyledDialogContent>\n\n <DialogActions>\n <CancelButton onClick={() => cancel()}>\n Cancel\n </CancelButton>\n\n <StyledButton onClick={() => changeExcludeZero(excludeZeroTypes.shiftLeft)}>\n Shift to Left\n </StyledButton>\n\n <StyledButton onClick={() => changeExcludeZero(excludeZeroTypes.remove0)}>\n Remove 0 column\n </StyledButton>\n </DialogActions>\n </StyledDialog>\n);\n\nExcludeZeroDialog.propTypes = {\n open: PropTypes.bool,\n changeExcludeZero: PropTypes.func,\n cancel: PropTypes.func,\n};\n\nconst IncludeZeroDialog = ({ open, changeExcludeZero, cancel }) => (\n <StyledDialog open={open}>\n <StyledDialogTitle>{includeZeroDialogBoxContent.title}</StyledDialogTitle>\n\n <StyledDialogContent>\n <DialogContentText>\n <div dangerouslySetInnerHTML={{ __html: includeZeroDialogBoxContent.text }} />\n </DialogContentText>\n </StyledDialogContent>\n\n <DialogActions>\n <CancelButton onClick={() => cancel()}>\n Cancel\n </CancelButton>\n\n <StyledButton onClick={() => changeExcludeZero(excludeZeroTypes.shiftRight)}>\n Shift to Right\n </StyledButton>\n\n <StyledButton onClick={() => changeExcludeZero(excludeZeroTypes.add0)}>\n Add 0 column\n </StyledButton>\n </DialogActions>\n </StyledDialog>\n);\n\nIncludeZeroDialog.propTypes = {\n open: PropTypes.bool,\n changeExcludeZero: PropTypes.func,\n cancel: PropTypes.func,\n};\n\nconst DecreaseMaxPoints = ({ open, deleteScorePoints, cancel }) => (\n <StyledDialog open={open}>\n <StyledDialogTitle>{maxPointsDialogBoxContent.title}</StyledDialogTitle>\n\n <StyledDialogContent>\n <DialogContentText>\n <div dangerouslySetInnerHTML={{ __html: maxPointsDialogBoxContent.text }} />\n </DialogContentText>\n </StyledDialogContent>\n\n <DialogActions>\n <CancelButton onClick={cancel}>\n Cancel\n </CancelButton>\n\n <StyledButton onClick={deleteScorePoints}>\n Confirm\n </StyledButton>\n </DialogActions>\n </StyledDialog>\n);\n\nDecreaseMaxPoints.propTypes = {\n open: PropTypes.bool,\n deleteScorePoints: PropTypes.func,\n cancel: PropTypes.func,\n};\n\nconst DeleteScale = ({ open, scaleIndex, deleteScale, cancel }) => (\n <StyledDialog open={open}>\n <StyledDialogTitle>\n {`${deleteScaleDialogBoxContent.title} #${scaleIndex + 1}`}\n </StyledDialogTitle>\n\n <StyledDialogContent>\n <DialogContentText>\n <div dangerouslySetInnerHTML={{ __html: deleteScaleDialogBoxContent.text }} />\n </DialogContentText>\n </StyledDialogContent>\n\n <DialogActions>\n <CancelButton onClick={cancel}>\n Cancel\n </CancelButton>\n\n <StyledButton onClick={deleteScale}>\n Delete\n </StyledButton>\n </DialogActions>\n </StyledDialog>\n);\n\nDeleteScale.propTypes = {\n open: PropTypes.bool,\n scaleIndex: PropTypes.number,\n deleteScale: PropTypes.func,\n cancel: PropTypes.func,\n};\n\nconst DeleteTrait = ({ open, deleteTrait, cancel, traitLabel }) => (\n <StyledDialog open={open}>\n <StyledDialogTitle>Delete {traitLabel}</StyledDialogTitle>\n\n <StyledDialogContent>\n <DialogContentText>\n <div dangerouslySetInnerHTML={{ __html: `Are you sure you want to delete this ${traitLabel}?` }} />\n </DialogContentText>\n </StyledDialogContent>\n\n <DialogActions>\n <CancelButton onClick={cancel}>\n Cancel\n </CancelButton>\n\n <StyledButton onClick={deleteTrait}>\n Delete\n </StyledButton>\n </DialogActions>\n </StyledDialog>\n);\n\nDeleteTrait.propTypes = {\n open: PropTypes.bool,\n deleteTrait: PropTypes.func,\n cancel: PropTypes.func,\n traitLabel: PropTypes.string,\n};\n\nconst InfoDialog = ({ open, text, onClose }) => (\n <StyledDialog open={open}>\n <StyledDialogTitle>{text}</StyledDialogTitle>\n\n <DialogActions>\n <StyledButton onClick={onClose}>\n OK\n </StyledButton>\n </DialogActions>\n </StyledDialog>\n);\n\nInfoDialog.propTypes = {\n open: PropTypes.bool,\n text: PropTypes.string,\n cancel: PropTypes.func,\n onClose: PropTypes.func,\n};\n\nexport { ExcludeZeroDialog, IncludeZeroDialog, DecreaseMaxPoints, DeleteScale, DeleteTrait, InfoDialog };\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,YAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,cAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,cAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,kBAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,OAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,SAAA,GAAAT,OAAA;AAEA,IAAAU,SAAA,GAAAX,sBAAA,CAAAC,OAAA;AAEA,MAAM;EACJW,aAAa,EAAE;IACbC,2BAA2B;IAC3BC,2BAA2B;IAC3BC,2BAA2B;IAC3BC;EACF;AACF,CAAC,GAAGC,iBAAQ;AAEL,MAAMC,gBAAgB,GAAAC,OAAA,CAAAD,gBAAA,GAAG;EAC9BE,OAAO,EAAE,SAAS;EAClBC,IAAI,EAAE,MAAM;EACZC,SAAS,EAAE,WAAW;EACtBC,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