@pie-element/complex-rubric 7.1.2-next.2 → 7.1.2-next.20

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/author.js +2 -0
  2. package/dist/author/index.js +39 -36
  3. package/dist/author/main.d.ts +2 -0
  4. package/dist/author/main.js +55 -52
  5. package/dist/browser/assets/Symbola-4c507403.woff2 +0 -0
  6. package/dist/browser/author/index.js +42047 -6775
  7. package/dist/browser/author/index.js.map +1 -1
  8. package/dist/browser/controller/index.js.map +1 -1
  9. package/dist/browser/delivery/index.js +22 -21
  10. package/dist/browser/delivery/index.js.map +1 -1
  11. package/dist/browser/delivery-euJAVSom.js +728 -0
  12. package/dist/browser/delivery-euJAVSom.js.map +1 -0
  13. package/dist/browser/editor-runtime/assets/Symbola-4c507403.woff2 +0 -0
  14. package/dist/browser/editor-runtime/author/index.js +26270 -0
  15. package/dist/browser/editor-runtime/author/index.js.map +1 -0
  16. package/dist/browser/editor-runtime/controller/index.js +145 -0
  17. package/dist/browser/editor-runtime/controller/index.js.map +1 -0
  18. package/dist/browser/editor-runtime/delivery/index.js +97 -0
  19. package/dist/browser/editor-runtime/delivery/index.js.map +1 -0
  20. package/dist/browser/editor-runtime/delivery-b9lfDjH0.js +728 -0
  21. package/dist/browser/editor-runtime/delivery-b9lfDjH0.js.map +1 -0
  22. package/dist/browser/editor-runtime/print/index.js +85 -0
  23. package/dist/browser/editor-runtime/print/index.js.map +1 -0
  24. package/dist/browser/editor-runtime/private-tags-DJ_LdKAa.js +9267 -0
  25. package/dist/browser/editor-runtime/private-tags-DJ_LdKAa.js.map +1 -0
  26. package/dist/browser/editor-runtime/rolldown-runtime-CHQKHQ89.js +32 -0
  27. package/dist/browser/print/index.js +25 -24
  28. package/dist/browser/print/index.js.map +1 -1
  29. package/dist/browser/private-tags-Cy-oEmuU.js +9267 -0
  30. package/dist/browser/private-tags-Cy-oEmuU.js.map +1 -0
  31. package/dist/browser/rolldown-runtime-CWhphoD1.js +32 -0
  32. package/dist/delivery/index.js +25 -24
  33. package/dist/index.iife.js +30 -30
  34. package/dist/print/index.js +26 -25
  35. package/dist/private-tags.d.ts +4 -0
  36. package/dist/private-tags.js +3 -0
  37. package/module/print.js +15954 -0
  38. package/module/print.js.map +1 -0
  39. package/package.json +43 -22
  40. package/print.js +2 -0
  41. package/dist/browser/dist-DJUOd5EZ.js +0 -19
  42. package/dist/browser/dist-DJUOd5EZ.js.map +0 -1
package/package.json CHANGED
@@ -1,27 +1,33 @@
1
1
  {
2
2
  "name": "@pie-element/complex-rubric",
3
- "version": "7.1.2-next.2",
3
+ "version": "7.1.2-next.20",
4
4
  "description": "Complex Rubric Scoring Interaction",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/pie-framework/pie-elements-ng.git",
8
+ "directory": "packages/elements-react/complex-rubric"
9
+ },
5
10
  "dependencies": {
6
11
  "@emotion/react": "^11.14.0",
7
- "@emotion/style": "^0.8.0",
8
12
  "@mui/icons-material": "^7.3.4",
9
13
  "@mui/material": "^7.3.4",
10
- "@pie-element/multi-trait-rubric": "8.1.2-next.2",
11
- "@pie-element/rubric": "8.1.2-next.2",
12
- "@pie-lib/rubric": "2.0.4-next.30",
14
+ "@pie-element/multi-trait-rubric": "8.1.2-next.19",
15
+ "@pie-element/rubric": "8.1.2-next.19",
16
+ "@pie-lib/rubric": "3.0.0-next.41",
13
17
  "debug": "^4.1.1",
14
18
  "prop-types": "^15.8.1",
15
- "@pie-element/shared-configure-events": "0.1.0",
16
- "@pie-element/shared-lodash": "0.1.1-next.0",
17
- "@pie-lib/config-ui": "13.0.4-next.30",
18
- "@pie-lib/render-ui": "6.1.1-next.37",
19
+ "@pie-element/shared-configure-events": "0.1.1-next.0",
20
+ "@pie-element/shared-lodash": "0.1.1-next.2",
21
+ "@pie-lib/config-ui": "14.0.0-next.41",
22
+ "@pie-lib/render-ui": "6.2.0-next.47",
19
23
  "clsx": "^2.1.1",
20
- "@pie-element/shared-player-events": "0.1.0"
24
+ "@pie-element/shared-player-events": "0.1.1-next.2",
25
+ "react": "^18.2.0",
26
+ "react-dom": "^18.2.0"
21
27
  },
22
28
  "peerDependencies": {
23
- "react": "^18.0.0",
24
- "react-dom": "^18.0.0"
29
+ "react": "^18.2.0 || ^19.0.0",
30
+ "react-dom": "^18.2.0 || ^19.0.0"
25
31
  },
26
32
  "exports": {
27
33
  ".": {
@@ -33,6 +39,7 @@
33
39
  "default": "./dist/delivery/index.js"
34
40
  },
35
41
  "./browser/delivery": {
42
+ "types": "./dist/delivery/index.d.ts",
36
43
  "default": "./dist/browser/delivery/index.js"
37
44
  },
38
45
  "./author": {
@@ -40,6 +47,7 @@
40
47
  "default": "./dist/author/index.js"
41
48
  },
42
49
  "./browser/author": {
50
+ "types": "./dist/author/index.d.ts",
43
51
  "default": "./dist/browser/author/index.js"
44
52
  },
45
53
  "./configure": {
@@ -55,38 +63,41 @@
55
63
  "default": "./dist/controller/index.js"
56
64
  },
57
65
  "./browser/controller": {
66
+ "types": "./dist/controller/index.d.ts",
58
67
  "default": "./dist/browser/controller/index.js"
59
68
  },
60
69
  "./print": {
61
70
  "types": "./dist/print/index.d.ts",
62
71
  "default": "./dist/print/index.js"
63
72
  },
73
+ "./print.js": {
74
+ "types": "./dist/print/index.d.ts",
75
+ "default": "./dist/print/index.js"
76
+ },
64
77
  "./browser/print": {
78
+ "types": "./dist/print/index.d.ts",
65
79
  "default": "./dist/browser/print/index.js"
66
80
  },
67
81
  "./runtime-support": {
68
82
  "types": "./dist/runtime-support.d.ts",
69
83
  "default": "./dist/runtime-support.js"
70
- }
84
+ },
85
+ "./package.json": "./package.json"
71
86
  },
72
87
  "type": "module",
73
88
  "main": "./dist/index.js",
74
89
  "types": "./dist/index.d.ts",
75
90
  "files": [
91
+ "author.js",
76
92
  "configure.js",
77
93
  "controller.js",
78
- "dist"
94
+ "dist",
95
+ "module",
96
+ "print.js"
79
97
  ],
80
98
  "sideEffects": false,
81
- "devDependencies": {
82
- "vite": "^8.0.1",
83
- "typescript": "^5.9.3",
84
- "@vitejs/plugin-react": "^6.0.1",
85
- "@types/react": "^18.2.0",
86
- "@types/react-dom": "^18.2.0"
87
- },
88
99
  "scripts": {
89
- "build": "bun x vite build && bun x vite build --config ../../../tools/vite/element-browser.config.ts && bun x vite build --config vite.config.iife.ts && bun x tsc --emitDeclarationOnly",
100
+ "build": "bun x vite build && bun x vite build --config ../../../tools/vite/element-browser.config.ts && bun x vite build --config ../../../tools/vite/element-browser-editor-runtime.config.ts && bun x vite build --config ../../../tools/vite/element-legacy-print.config.ts && bun x vite build --config vite.config.iife.ts && bun x tsc --emitDeclarationOnly",
90
101
  "dev": "bun x vite",
91
102
  "demo": "bun x vite --mode demo",
92
103
  "test": "bun x vitest run"
@@ -97,6 +108,16 @@
97
108
  "browserSharedDependencies": {
98
109
  "react": "18.2.0",
99
110
  "react-dom": "18.2.0"
111
+ },
112
+ "browserEditorRuntime": {
113
+ "name": "@pie-element/shared-editor-runtime",
114
+ "version": "0.1.1-next.0",
115
+ "views": {
116
+ "delivery": "editor-runtime/delivery",
117
+ "author": "editor-runtime/author",
118
+ "print": "editor-runtime/print",
119
+ "controller": "editor-runtime/controller"
120
+ }
100
121
  }
101
122
  }
102
123
  }
package/print.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from './dist/print/index.js';
2
+ export * from './dist/print/index.js';
@@ -1,19 +0,0 @@
1
- //#region \0rolldown/runtime.js
2
- var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, i, o, s) => {
3
- if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
4
- get: ((e) => i[e]).bind(null, d),
5
- enumerable: !(s = n(i, d)) || s.enumerable
6
- });
7
- return e;
8
- }, c = (n, r, a) => (a = n == null ? {} : e(i(n)), s(r || !n || !n.__esModule ? t(a, "default", {
9
- value: n,
10
- enumerable: !0
11
- }) : a, n)), l = {
12
- SIMPLE_RUBRIC: "simpleRubric",
13
- MULTI_TRAIT_RUBRIC: "multiTraitRubric",
14
- RUBRICLESS: "rubricless"
15
- };
16
- //#endregion
17
- export { o as n, c as r, l as t };
18
-
19
- //# sourceMappingURL=dist-DJUOd5EZ.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dist-DJUOd5EZ.js","names":[],"sources":["../../../../lib-react/rubric/dist/index.js"],"sourcesContent":["import e from \"./authoring.js\";\n//#region src/index.ts\nvar t = {\n\tSIMPLE_RUBRIC: \"simpleRubric\",\n\tMULTI_TRAIT_RUBRIC: \"multiTraitRubric\",\n\tRUBRICLESS: \"rubricless\"\n};\n//#endregion\nexport { e as Authoring, t as RUBRIC_TYPES };\n"],"mappings":";;;;;;;;;;aAEI,IAAI;CACP,eAAe;CACf,oBAAoB;CACpB,YAAY;AACb"}