@pie-element/categorize 11.0.1-esmbeta.3 → 11.0.1-next.11
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 +8 -0
- package/configure/CHANGELOG.md +8 -0
- package/configure/package.json +8 -8
- package/controller/CHANGELOG.md +8 -0
- package/controller/package.json +5 -5
- package/lib/categorize/choice.js +1 -2
- package/lib/categorize/choice.js.map +1 -1
- package/package.json +10 -27
- package/esm/configure.js +0 -61000
- package/esm/configure.js.map +0 -1
- package/esm/controller.js +0 -1429
- package/esm/controller.js.map +0 -1
- package/esm/element.js +0 -39704
- package/esm/element.js.map +0 -1
- package/esm/package.json +0 -4
- package/module/configure.js +0 -1
- package/module/controller.js +0 -6076
- package/module/demo.js +0 -382
- package/module/element.js +0 -1
- package/module/index.html +0 -21
- package/module/manifest.json +0 -22
- package/module/print-demo.js +0 -420
- package/module/print.html +0 -18
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [11.1.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/categorize@10.0.0...@pie-element/categorize@11.1.0) (2025-10-07)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @pie-element/categorize
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [11.0.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/categorize@9.16.0...@pie-element/categorize@11.0.0) (2025-10-02)
|
|
7
15
|
|
|
8
16
|
|
package/configure/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [9.1.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/categorize-configure@9.0.0...@pie-element/categorize-configure@9.1.0) (2025-10-07)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @pie-element/categorize-configure
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [9.0.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/categorize-configure@8.8.0...@pie-element/categorize-configure@9.0.1) (2025-10-02)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @pie-element/categorize-configure
|
package/configure/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": true,
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "src/index.js",
|
|
6
|
-
"version": "9.0
|
|
6
|
+
"version": "9.1.0",
|
|
7
7
|
"description": "",
|
|
8
8
|
"scripts": {},
|
|
9
9
|
"author": "pie framework developers",
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
"@material-ui/core": "^3.9.2",
|
|
13
13
|
"@material-ui/icons": "^3.0.1",
|
|
14
14
|
"@pie-framework/pie-configure-events": "^1.3.0",
|
|
15
|
-
"@pie-lib/categorize": "^0.
|
|
16
|
-
"@pie-lib/config-ui": "^11.
|
|
17
|
-
"@pie-lib/drag": "^2.
|
|
18
|
-
"@pie-lib/editable-html": "^11.
|
|
19
|
-
"@pie-lib/math-rendering": "^3.
|
|
20
|
-
"@pie-lib/render-ui": "^4.
|
|
21
|
-
"@pie-lib/translator": "^2.
|
|
15
|
+
"@pie-lib/categorize": "^0.24.0",
|
|
16
|
+
"@pie-lib/config-ui": "^11.25.0",
|
|
17
|
+
"@pie-lib/drag": "^2.18.0",
|
|
18
|
+
"@pie-lib/editable-html": "^11.17.0",
|
|
19
|
+
"@pie-lib/math-rendering": "^3.18.0",
|
|
20
|
+
"@pie-lib/render-ui": "^4.31.0",
|
|
21
|
+
"@pie-lib/translator": "^2.19.0",
|
|
22
22
|
"classnames": "^2.2.5",
|
|
23
23
|
"debug": "^3.1.0",
|
|
24
24
|
"lodash": "^4.17.15",
|
package/controller/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [8.1.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/categorize-controller@8.0.0...@pie-element/categorize-controller@8.1.0) (2025-10-07)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @pie-element/categorize-controller
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [8.0.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/categorize-controller@7.10.0...@pie-element/categorize-controller@8.0.1) (2025-10-02)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @pie-element/categorize-controller
|
package/controller/package.json
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"name": "@pie-element/categorize-controller",
|
|
3
3
|
"private": true,
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@pie-lib/categorize": "^0.
|
|
6
|
-
"@pie-lib/controller-utils": "^0.
|
|
7
|
-
"@pie-lib/feedback": "^0.
|
|
8
|
-
"@pie-lib/translator": "^2.
|
|
5
|
+
"@pie-lib/categorize": "^0.24.0",
|
|
6
|
+
"@pie-lib/controller-utils": "^0.18.0",
|
|
7
|
+
"@pie-lib/feedback": "^0.20.0",
|
|
8
|
+
"@pie-lib/translator": "^2.19.0",
|
|
9
9
|
"lodash": "^4.17.15"
|
|
10
10
|
},
|
|
11
|
-
"version": "8.0
|
|
11
|
+
"version": "8.1.0",
|
|
12
12
|
"description": "",
|
|
13
13
|
"scripts": {},
|
|
14
14
|
"main": "lib/index.js",
|
package/lib/categorize/choice.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/categorize/choice.jsx"],"names":["log","ChoiceType","content","PropTypes","string","isRequired","id","Layout","props","classes","className","isDragging","disabled","correct","rootNames","choice","dragging","cardNames","card","root","cardRoot","__html","React","Component","object","bool","styles","theme","direction","cursor","width","border","color","incorrect","borderRadius","text","backgroundColor","white","paddingBottom","spacing","unit","
|
|
1
|
+
{"version":3,"sources":["../../src/categorize/choice.jsx"],"names":["log","ChoiceType","content","PropTypes","string","isRequired","id","Layout","props","classes","className","isDragging","disabled","correct","rootNames","choice","dragging","cardNames","card","root","cardRoot","__html","React","Component","object","bool","styles","theme","direction","cursor","width","border","color","incorrect","borderRadius","text","backgroundColor","white","paddingBottom","spacing","unit","background","pointerEvents","Styled","Choice","e","preventDefault","ref","addEventListener","handleTouchStart","passive","removeEventListener","connectDragSource","extraStyle","margin","func","spec","canDrag","beginDrag","out","categoryId","choiceIndex","value","itemType","endDrag","monitor","didDrop","item","getItem","onRemoveChoice","DraggableChoice","uid","connect","dragSource","withUid"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;AAEA,IAAMA,GAAG,GAAG,uBAAM,2BAAN,CAAZ;AAEO,IAAMC,UAAU,GAAG;AACxBC,EAAAA,OAAO,EAAEC,sBAAUC,MAAV,CAAiBC,UADF;AAExBC,EAAAA,EAAE,EAAEH,sBAAUC;AAFU,CAAnB;;;IAKMG,M;;;;;;;;;;;;WASX,kBAAS;AACP,wBAAuE,KAAKC,KAA5E;AAAA,UAAQC,OAAR,eAAQA,OAAR;AAAA,UAAiBC,SAAjB,eAAiBA,SAAjB;AAAA,UAA4BR,OAA5B,eAA4BA,OAA5B;AAAA,UAAqCS,UAArC,eAAqCA,UAArC;AAAA,UAAiDC,QAAjD,eAAiDA,QAAjD;AAAA,UAA2DC,OAA3D,eAA2DA,OAA3D;AAEA,UAAMC,SAAS,GAAG,4BAChBD,OAAO,KAAK,IAAZ,IAAoB,SADJ,EAEhBA,OAAO,K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AAD,EAAQyD,OAAR,EAAoB;AAC3B,QAAI,CAACA,OAAO,CAACC,OAAR,EAAL,EAAwB;AACtB,UAAMC,IAAI,GAAGF,OAAO,CAACG,OAAR,EAAb;;AACA,UAAID,IAAI,CAACP,UAAT,EAAqB;AACnB5D,QAAAA,GAAG,CAAC,8BAAD,CAAH;AACAQ,QAAAA,KAAK,CAAC6D,cAAN,CAAqBF,IAArB;AACD;AACF;AACF;AArBiB,CAAb;;AAwBP,IAAMG,eAAe,GAAG,0BACtB;AAAA,MAAGC,GAAH,SAAGA,GAAH;AAAA,SAAaA,GAAb;AAAA,CADsB,EAEtBf,IAFsB,EAGtB,UAACgB,OAAD,EAAUP,OAAV;AAAA,SAAuB;AACrBb,IAAAA,iBAAiB,EAAEoB,OAAO,CAACC,UAAR,EADE;AAErB9D,IAAAA,UAAU,EAAEsD,OAAO,CAACtD,UAAR;AAFS,GAAvB;AAAA,CAHsB,EAOtBiC,MAPsB,CAAxB;;eASe2B,UAAIG,OAAJ,CAAYJ,eAAZ,C","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles } from '@material-ui/core/styles';\nimport classNames from 'classnames';\nimport { DragSource } from 'react-dnd';\nimport { uid } from '@pie-lib/drag';\nimport Card from '@material-ui/core/Card';\nimport CardContent from '@material-ui/core/CardContent';\nimport { color } from '@pie-lib/render-ui';\nimport debug from 'debug';\n\nconst log = debug('@pie-ui:categorize:choice');\n\nexport const ChoiceType = {\n content: PropTypes.string.isRequired,\n id: PropTypes.string,\n};\n\nexport class Layout extends React.Component {\n static propTypes = {\n ...ChoiceType,\n classes: PropTypes.object.isRequired,\n className: PropTypes.string,\n disabled: PropTypes.bool,\n correct: PropTypes.bool,\n };\n static defaultProps = {};\n render() {\n const { classes, className, content, isDragging, disabled, correct } = this.props;\n\n const rootNames = classNames(\n correct === true && 'correct',\n correct === false && 'incorrect',\n classes.choice,\n isDragging && classes.dragging,\n disabled && classes.disabled,\n className,\n );\n const cardNames = classNames(classes.card);\n return (\n <div className={rootNames}>\n <Card className={cardNames}>\n <CardContent classes={{ root: classes.cardRoot }} dangerouslySetInnerHTML={{ __html: content }} />\n </Card>\n </div>\n );\n }\n}\n\nconst styles = (theme) => ({\n choice: {\n direction: 'initial',\n cursor: 'pointer',\n width: '100%',\n '&.correct': {\n border: `solid 2px ${color.correct()}`,\n },\n '&.incorrect': {\n border: `solid 2px ${color.incorrect()}`,\n },\n borderRadius: '6px',\n },\n cardRoot: {\n color: color.text(),\n backgroundColor: color.white(),\n '&:last-child': {\n paddingBottom: theme.spacing.unit * 2,\n },\n borderRadius: '4px',\n border: '1px solid',\n },\n disabled: {\n cursor: 'not-allowed',\n },\n dragging: {\n cursor: 'move',\n },\n card: {\n color: color.text(),\n backgroundColor: color.background(),\n width: '100%',\n // Added for touch devices, for image content.\n // This will prevent the context menu from appearing and not allowing other interactions with the image.\n pointerEvents: 'none',\n },\n});\n\nconst Styled = withStyles(styles)(Layout);\n\nexport class Choice extends React.Component {\n static propTypes = {\n ...ChoiceType,\n extraStyle: PropTypes.object,\n connectDragSource: PropTypes.func.isRequired,\n };\n\n componentDidMount() {\n if (this.ref) {\n this.ref.addEventListener('touchstart', this.handleTouchStart, { passive: false });\n }\n }\n\n componentWillUnmount() {\n if (this.ref) {\n this.ref.removeEventListener('touchstart', this.handleTouchStart);\n }\n }\n\n handleTouchStart = (e) => {\n e.preventDefault();\n };\n\n render() {\n const { connectDragSource, id, content, disabled, isDragging, correct, extraStyle } = this.props;\n\n return connectDragSource(\n <div style={{ margin: '4px', ...extraStyle }} ref={(ref) => (this.ref = ref)} draggable={!disabled}>\n <Styled id={id} content={content} disabled={disabled} correct={correct} isDragging={isDragging} />\n </div>,\n );\n }\n}\n\nexport const spec = {\n canDrag: (props) => !props.disabled,\n beginDrag: (props) => {\n const out = {\n id: props.id,\n categoryId: props.categoryId,\n choiceIndex: props.choiceIndex,\n value: props.content,\n itemType: 'categorize',\n };\n log('[beginDrag] out:', out);\n return out;\n },\n endDrag: (props, monitor) => {\n if (!monitor.didDrop()) {\n const item = monitor.getItem();\n if (item.categoryId) {\n log('wasnt droppped - what to do?');\n props.onRemoveChoice(item);\n }\n }\n },\n};\n\nconst DraggableChoice = DragSource(\n ({ uid }) => uid,\n spec,\n (connect, monitor) => ({\n connectDragSource: connect.dragSource(),\n isDragging: monitor.isDragging(),\n }),\n)(Choice);\n\nexport default uid.withUid(DraggableChoice);\n"],"file":"choice.js"}
|
package/package.json
CHANGED
|
@@ -4,20 +4,20 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "11.0.1-
|
|
7
|
+
"version": "11.0.1-next.11+14d8ddb64",
|
|
8
8
|
"description": "",
|
|
9
9
|
"author": "pie framework developers",
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@material-ui/core": "^3.9.2",
|
|
13
13
|
"@pie-framework/pie-player-events": "^0.1.0",
|
|
14
|
-
"@pie-lib/categorize": "^0.
|
|
15
|
-
"@pie-lib/config-ui": "^11.
|
|
16
|
-
"@pie-lib/correct-answer-toggle": "^2.
|
|
17
|
-
"@pie-lib/drag": "^2.
|
|
18
|
-
"@pie-lib/math-rendering": "^3.
|
|
19
|
-
"@pie-lib/render-ui": "^4.
|
|
20
|
-
"@pie-lib/translator": "^2.
|
|
14
|
+
"@pie-lib/categorize": "^0.24.0",
|
|
15
|
+
"@pie-lib/config-ui": "^11.25.0",
|
|
16
|
+
"@pie-lib/correct-answer-toggle": "^2.21.0",
|
|
17
|
+
"@pie-lib/drag": "^2.18.0",
|
|
18
|
+
"@pie-lib/math-rendering": "^3.18.0",
|
|
19
|
+
"@pie-lib/render-ui": "^4.31.0",
|
|
20
|
+
"@pie-lib/translator": "^2.19.0",
|
|
21
21
|
"classnames": "^2.2.5",
|
|
22
22
|
"debug": "^4.1.1",
|
|
23
23
|
"lodash": "^4.17.15",
|
|
@@ -26,27 +26,10 @@
|
|
|
26
26
|
"react-dnd": "^14.0.5",
|
|
27
27
|
"react-dom": "^16.8.1"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "14d8ddb640bdf906d8db048ba9ff3899e2007e9d",
|
|
30
30
|
"scripts": {
|
|
31
31
|
"postpublish": "../../scripts/postpublish"
|
|
32
32
|
},
|
|
33
33
|
"main": "lib/index.js",
|
|
34
|
-
"module": "src/index.js"
|
|
35
|
-
"exports": {
|
|
36
|
-
".": {
|
|
37
|
-
"import": "./esm/element.js",
|
|
38
|
-
"require": "./lib/index.js",
|
|
39
|
-
"default": "./esm/element.js"
|
|
40
|
-
},
|
|
41
|
-
"./configure": {
|
|
42
|
-
"import": "./esm/configure.js",
|
|
43
|
-
"require": "./configure/lib/index.js",
|
|
44
|
-
"default": "./esm/configure.js"
|
|
45
|
-
},
|
|
46
|
-
"./controller": {
|
|
47
|
-
"import": "./esm/controller.js",
|
|
48
|
-
"require": "./controller/lib/index.js",
|
|
49
|
-
"default": "./esm/controller.js"
|
|
50
|
-
}
|
|
51
|
-
}
|
|
34
|
+
"module": "src/index.js"
|
|
52
35
|
}
|