@pie-element/categorize 13.2.0-next.12 → 13.2.0-next.14
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/author.js +2 -0
- package/dist/browser/{alert-dialog-CrrQ-S0i.js → alert-dialog-ZsTfiPKn.js} +2 -2
- package/dist/browser/{alert-dialog-CrrQ-S0i.js.map → alert-dialog-ZsTfiPKn.js.map} +1 -1
- package/dist/browser/author/index.js +2 -2
- package/dist/browser/controller/index.js +1 -1
- package/dist/browser/delivery/index.js +2 -2
- package/dist/browser/{dist-C11U2GIc.js → dist-Denz71xw.js} +107 -5
- package/dist/browser/dist-Denz71xw.js.map +1 -0
- package/dist/index.iife.js +1 -1
- package/package.json +4 -3
- package/dist/browser/dist-C11U2GIc.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as e, r as t, t as n } from "../rolldown-runtime-CWhphoD1.js";
|
|
2
|
-
import { $ as r, A as i, At as a, B as o, Bt as s, Ct as c, D as l, Dt as u, Et as d, Ft as f, G as p, Ht as m, I as h, It as g, J as _, K as v, L as y, Lt as b, M as x, Mt as S, N as C, Nt as w, O as T, Ot as E, P as D, Pt as ee, Q as te, R as ne, Rt as O, St as k, Tt as re, U as ie, Ut as ae, V as oe, Vt as se, W as ce, X as A, Y as j, Z as le, _ as ue, _t as de, a as fe, at as pe, b as me, c as he, ct as ge, d as _e, dt as ve, et as ye, f as be, ft as xe, g as Se, gt as Ce, h as we, ht as Te, i as Ee, it as De, j as Oe, jt as M, k as ke, kt as Ae, l as je, lt as Me, mt as Ne, n as Pe, nt as Fe, o as Ie, ot as Le, pt as Re, q as ze, r as Be, rt as Ve, s as He, st as Ue, t as We, tt as N, u as Ge, ut as Ke, v as qe, vt as Je, wt as Ye, x as Xe, xt as Ze, y as Qe, z as $e, zt as et } from "../alert-dialog-
|
|
3
|
-
import { C as tt, D as nt, E as rt, S as it, T as at, _ as ot, a as st, b as ct, c as lt, d as ut, f as dt, g as ft, h as pt, i as mt, l as ht, m as gt, n as _t, o as vt, p as yt, r as bt, s as xt, u as St, v as Ct, w as wt, x as Tt, y as Et } from "../dist-
|
|
2
|
+
import { $ as r, A as i, At as a, B as o, Bt as s, Ct as c, D as l, Dt as u, Et as d, Ft as f, G as p, Ht as m, I as h, It as g, J as _, K as v, L as y, Lt as b, M as x, Mt as S, N as C, Nt as w, O as T, Ot as E, P as D, Pt as ee, Q as te, R as ne, Rt as O, St as k, Tt as re, U as ie, Ut as ae, V as oe, Vt as se, W as ce, X as A, Y as j, Z as le, _ as ue, _t as de, a as fe, at as pe, b as me, c as he, ct as ge, d as _e, dt as ve, et as ye, f as be, ft as xe, g as Se, gt as Ce, h as we, ht as Te, i as Ee, it as De, j as Oe, jt as M, k as ke, kt as Ae, l as je, lt as Me, mt as Ne, n as Pe, nt as Fe, o as Ie, ot as Le, pt as Re, q as ze, r as Be, rt as Ve, s as He, st as Ue, t as We, tt as N, u as Ge, ut as Ke, v as qe, vt as Je, wt as Ye, x as Xe, xt as Ze, y as Qe, z as $e, zt as et } from "../alert-dialog-ZsTfiPKn.js";
|
|
3
|
+
import { C as tt, D as nt, E as rt, S as it, T as at, _ as ot, a as st, b as ct, c as lt, d as ut, f as dt, g as ft, h as pt, i as mt, l as ht, m as gt, n as _t, o as vt, p as yt, r as bt, s as xt, u as St, v as Ct, w as wt, x as Tt, y as Et } from "../dist-Denz71xw.js";
|
|
4
4
|
import * as P from "react";
|
|
5
5
|
import F, { Component as Dt, createContext as Ot, createElement as kt, createRef as At, forwardRef as jt, memo as Mt, useCallback as Nt, useContext as Pt, useDebugValue as Ft, useEffect as It, useLayoutEffect as Lt, useMemo as Rt, useRef as zt, useState as Bt, version as Vt } from "react";
|
|
6
6
|
import { createRoot as Ht } from "react-dom/client";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as e } from "../rolldown-runtime-CWhphoD1.js";
|
|
2
|
-
import { D as t, E as n, g as r, t as i } from "../dist-
|
|
2
|
+
import { D as t, E as n, g as r, t as i } from "../dist-Denz71xw.js";
|
|
3
3
|
var a = (0, (/* @__PURE__ */ e(t(), 1)).default)("@pie-lib:categorize:scoring"), o = (e) => !e || !e.weighting ? [] : e.weighting.enabled && e.weighting && e.weighting.rules || [], s = (e, t) => {
|
|
4
4
|
if (a("partial? ", e), !(!e || !e.enabled)) {
|
|
5
5
|
let n = e.rules.find((e) => e.category === t);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as e } from "../rolldown-runtime-CWhphoD1.js";
|
|
2
|
-
import { Bt as t, C as n, Dt as r, E as i, F as a, H as o, Ht as s, Mt as c, Nt as l, St as u, T as d, Tt as f, _ as p, bt as m, d as h, f as g, g as ee, gt as _, h as v, jt as y, l as b, m as x, p as S, s as te, t as ne, u as re, w as C, yt as ie, zt as ae } from "../alert-dialog-
|
|
3
|
-
import { D as oe, E as w, l as T, r as E, t as se } from "../dist-
|
|
2
|
+
import { Bt as t, C as n, Dt as r, E as i, F as a, H as o, Ht as s, Mt as c, Nt as l, St as u, T as d, Tt as f, _ as p, bt as m, d as h, f as g, g as ee, gt as _, h as v, jt as y, l as b, m as x, p as S, s as te, t as ne, u as re, w as C, yt as ie, zt as ae } from "../alert-dialog-ZsTfiPKn.js";
|
|
3
|
+
import { D as oe, E as w, l as T, r as E, t as se } from "../dist-Denz71xw.js";
|
|
4
4
|
import * as D from "react";
|
|
5
5
|
import O, { useRef as k, useState as ce } from "react";
|
|
6
6
|
import { createRoot as le } from "react-dom/client";
|
|
@@ -247,6 +247,23 @@ var n = /* @__PURE__ */ t(((e, t) => {
|
|
|
247
247
|
reset: "Reset"
|
|
248
248
|
},
|
|
249
249
|
mathInline: { primaryCorrectWithAlternates: "Note: The answer shown above is the primary correct answer specified by the author for this item, but other answers may also be recognized as correct." },
|
|
250
|
+
mcPopulatedBlank: {
|
|
251
|
+
answerChoices: "Answer choices",
|
|
252
|
+
blankLabel: "blank",
|
|
253
|
+
emptyBlank: "(blank)",
|
|
254
|
+
blankPreSelectionHint: "The answer you choose will appear on the blank line above.",
|
|
255
|
+
correctAnswerSelected: "Correct answer selected",
|
|
256
|
+
incorrectAnswerSelected: "Incorrect answer selected",
|
|
257
|
+
selectedAnswerImage: "Selected answer image",
|
|
258
|
+
choiceImage: "Choice {{id}}",
|
|
259
|
+
clickToEnableAutoplay: "Click to enable audio autoplay",
|
|
260
|
+
audioResourceUnavailable: "Audio is enabled but no playable audio URL is configured.",
|
|
261
|
+
listen: "Listen",
|
|
262
|
+
listenSilentAlt: "Repeat instructions",
|
|
263
|
+
listenPlayingAlt: "Instructions are playing",
|
|
264
|
+
printAudio: "Audio:",
|
|
265
|
+
printTranscript: "Transcript:"
|
|
266
|
+
},
|
|
250
267
|
multipleChoice: {
|
|
251
268
|
minSelections: "Select at least {{minSelections}}.",
|
|
252
269
|
maxSelections_one: "Only {{maxSelections}} answer is allowed.",
|
|
@@ -259,6 +276,38 @@ var n = /* @__PURE__ */ t(((e, t) => {
|
|
|
259
276
|
correctAnswerNotSelected: "Correct Answer Not Selected",
|
|
260
277
|
incorrectSelection: "Incorrect Selection",
|
|
261
278
|
key: "Key"
|
|
279
|
+
},
|
|
280
|
+
simpleCloze: {
|
|
281
|
+
correctAnswerShown: "Correct answer",
|
|
282
|
+
correct: "Correct",
|
|
283
|
+
incorrect: "Incorrect",
|
|
284
|
+
unanswered: "No answer",
|
|
285
|
+
placeholder: "Enter your answer...",
|
|
286
|
+
answerInput: "Your answer",
|
|
287
|
+
printCorrectAnswer: "Correct answer:",
|
|
288
|
+
printAnswerBlank: "Answer blank"
|
|
289
|
+
},
|
|
290
|
+
vennClassification: {
|
|
291
|
+
tray: "Tiles to classify",
|
|
292
|
+
unknownTarget: "unknown",
|
|
293
|
+
cancelled: "Cancelled",
|
|
294
|
+
returnedToTray: "{{name}} returned to tray",
|
|
295
|
+
placedIn: "{{name}} placed in {{target}}",
|
|
296
|
+
pickedUp: "Picked up {{name}}",
|
|
297
|
+
pickedUpWithKeyboard: "Picked up {{name}}, drop target: {{target}}. Use arrow keys to choose a drop target, Enter to drop, Escape to cancel.",
|
|
298
|
+
dropTarget: "Drop target: {{target}}",
|
|
299
|
+
unsupportedCircles_one: "This diagram cannot be shown: it has {{count}} circle, and only {{supported}} are supported.",
|
|
300
|
+
unsupportedCircles_other: "This diagram cannot be shown: it has {{count}} circles, and only {{supported}} are supported.",
|
|
301
|
+
setNumber: "Set {{number}}",
|
|
302
|
+
regionOnly: "{{set}} only",
|
|
303
|
+
regionNeither: "Neither {{first}} nor {{second}}",
|
|
304
|
+
regionNoneOf: "None of {{sets}}",
|
|
305
|
+
regionAndSeparator: " and ",
|
|
306
|
+
tileFallbackName: "Tile",
|
|
307
|
+
tileNotPlaced: "not placed",
|
|
308
|
+
tileInRegion: "in {{region}}",
|
|
309
|
+
tileCorrect: "correct",
|
|
310
|
+
tileIncorrect: "incorrect"
|
|
262
311
|
}
|
|
263
312
|
},
|
|
264
313
|
common: {
|
|
@@ -268,6 +317,8 @@ var n = /* @__PURE__ */ t(((e, t) => {
|
|
|
268
317
|
incorrect: "Incorrect",
|
|
269
318
|
showCorrectAnswer: "Show correct answer",
|
|
270
319
|
hideCorrectAnswer: "Hide correct answer",
|
|
320
|
+
showTeacherInstructions: "Show Teacher Instructions",
|
|
321
|
+
hideTeacherInstructions: "Hide Teacher Instructions",
|
|
271
322
|
commonCorrectAnswerWithAlternates: "Note: The answer shown above is the most common correct answer for this item. One or more additional correct answers are also defined, and will also be recognized as correct.",
|
|
272
323
|
warning: "Warning",
|
|
273
324
|
showNote: "Show Note",
|
|
@@ -336,6 +387,23 @@ var n = /* @__PURE__ */ t(((e, t) => {
|
|
|
336
387
|
reset: "Reiniciar"
|
|
337
388
|
},
|
|
338
389
|
mathInline: { primaryCorrectWithAlternates: "Nota: La respuesta que se muestra arriba es la respuesta correcta principal especificada por el autor para esta pregunta, pero también se pueden reconocer otras respuestas como correctas." },
|
|
390
|
+
mcPopulatedBlank: {
|
|
391
|
+
answerChoices: "Opciones de respuesta",
|
|
392
|
+
blankLabel: "espacio en blanco",
|
|
393
|
+
emptyBlank: "(en blanco)",
|
|
394
|
+
blankPreSelectionHint: "La respuesta que elijas aparecerá en la línea en blanco de arriba.",
|
|
395
|
+
correctAnswerSelected: "Respuesta correcta seleccionada",
|
|
396
|
+
incorrectAnswerSelected: "Respuesta incorrecta seleccionada",
|
|
397
|
+
selectedAnswerImage: "Imagen de la respuesta seleccionada",
|
|
398
|
+
choiceImage: "Opción {{id}}",
|
|
399
|
+
clickToEnableAutoplay: "Haz clic para activar la reproducción automática del audio",
|
|
400
|
+
audioResourceUnavailable: "El audio está activado, pero no hay una URL de audio reproducible configurada.",
|
|
401
|
+
listen: "Escuchar",
|
|
402
|
+
listenSilentAlt: "Escuchar. Repetir las instrucciones.",
|
|
403
|
+
listenPlayingAlt: "Escuchar. Estas son las instrucciones.",
|
|
404
|
+
printAudio: "Audio:",
|
|
405
|
+
printTranscript: "Transcripción:"
|
|
406
|
+
},
|
|
339
407
|
multipleChoice: {
|
|
340
408
|
minSelections: "Seleccione al menos {{minSelections}}.",
|
|
341
409
|
maxSelections_one: "Sólo se permite {{maxSelections}} respuesta.",
|
|
@@ -348,15 +416,49 @@ var n = /* @__PURE__ */ t(((e, t) => {
|
|
|
348
416
|
correctAnswerNotSelected: "Respuesta Correcta No Seleccionada",
|
|
349
417
|
incorrectSelection: "Selección Incorrecta",
|
|
350
418
|
key: "Clave"
|
|
419
|
+
},
|
|
420
|
+
simpleCloze: {
|
|
421
|
+
correctAnswerShown: "Respuesta correcta",
|
|
422
|
+
correct: "Correcto",
|
|
423
|
+
incorrect: "Incorrecto",
|
|
424
|
+
unanswered: "Sin respuesta",
|
|
425
|
+
placeholder: "Escribe tu respuesta...",
|
|
426
|
+
answerInput: "Tu respuesta",
|
|
427
|
+
printCorrectAnswer: "Respuesta correcta:",
|
|
428
|
+
printAnswerBlank: "Espacio para la respuesta"
|
|
429
|
+
},
|
|
430
|
+
vennClassification: {
|
|
431
|
+
tray: "Fichas para clasificar",
|
|
432
|
+
unknownTarget: "desconocido",
|
|
433
|
+
cancelled: "Cancelado",
|
|
434
|
+
returnedToTray: "Se devolvió {{name}} a la bandeja",
|
|
435
|
+
placedIn: "Se colocó {{name}} en {{target}}",
|
|
436
|
+
pickedUp: "Se tomó {{name}}",
|
|
437
|
+
pickedUpWithKeyboard: "Se tomó {{name}}, destino: {{target}}. Usa las flechas para elegir un destino, Enter para soltar y Escape para cancelar.",
|
|
438
|
+
dropTarget: "Destino: {{target}}",
|
|
439
|
+
unsupportedCircles_one: "No se puede mostrar este diagrama: tiene {{count}} círculo, y solo se admiten {{supported}}.",
|
|
440
|
+
unsupportedCircles_other: "No se puede mostrar este diagrama: tiene {{count}} círculos, y solo se admiten {{supported}}.",
|
|
441
|
+
setNumber: "Conjunto {{number}}",
|
|
442
|
+
regionOnly: "Solo {{set}}",
|
|
443
|
+
regionNeither: "Ni {{first}} ni {{second}}",
|
|
444
|
+
regionNoneOf: "Ninguno de {{sets}}",
|
|
445
|
+
regionAndSeparator: " y ",
|
|
446
|
+
tileFallbackName: "Ficha",
|
|
447
|
+
tileNotPlaced: "sin colocar",
|
|
448
|
+
tileInRegion: "en {{region}}",
|
|
449
|
+
tileCorrect: "correcta",
|
|
450
|
+
tileIncorrect: "incorrecta"
|
|
351
451
|
}
|
|
352
452
|
},
|
|
353
453
|
common: {
|
|
354
454
|
undo: "Deshacer",
|
|
355
455
|
clearAll: "Borrar todo",
|
|
356
|
-
correct: "
|
|
357
|
-
incorrect: "
|
|
456
|
+
correct: "Correcto",
|
|
457
|
+
incorrect: "Incorrecto",
|
|
358
458
|
showCorrectAnswer: "Mostrar respuesta correcta",
|
|
359
459
|
hideCorrectAnswer: "Ocultar respuesta correcta",
|
|
460
|
+
showTeacherInstructions: "Mostrar instrucciones para el maestro",
|
|
461
|
+
hideTeacherInstructions: "Ocultar instrucciones para el maestro",
|
|
360
462
|
commonCorrectAnswerWithAlternates: "Nota: La respuesta que se muestra arriba es la respuesta correcta más común para esta pregunta. También se definen una o más respuestas correctas adicionales, y también se reconocerán como correctas.",
|
|
361
463
|
warning: "Advertencia",
|
|
362
464
|
showNote: "Mostrar Nota",
|
|
@@ -1564,11 +1666,11 @@ var F = {}, I = (e) => !s(e) && typeof e != "boolean" && typeof e != "number", L
|
|
|
1564
1666
|
}
|
|
1565
1667
|
}.createInstance();
|
|
1566
1668
|
//#endregion
|
|
1567
|
-
//#region ../../
|
|
1669
|
+
//#region ../../shared/translator/dist/index.js
|
|
1568
1670
|
Y.createInstance, Y.dir, Y.init, Y.loadResources, Y.reloadResources, Y.use, Y.changeLanguage, Y.getFixedT, Y.t, Y.exists, Y.setDefaultNamespace, Y.hasLoadedNamespace, Y.loadNamespaces, Y.loadLanguages, Y.init({
|
|
1569
1671
|
fallbackLng: "en",
|
|
1570
1672
|
lng: "en",
|
|
1571
|
-
|
|
1673
|
+
showSupportNotice: !1,
|
|
1572
1674
|
resources: {
|
|
1573
1675
|
en: a,
|
|
1574
1676
|
es: o
|
|
@@ -1868,4 +1970,4 @@ var $ = (0, pe.default)("@pie-lib:categorize"), Pe = (e, t, n) => (t ||= [], t.r
|
|
|
1868
1970
|
//#endregion
|
|
1869
1971
|
export { be as C, i as D, fe as E, Ne as S, Se as T, we as _, He as a, Z as b, Le as c, Ge as d, Ee as f, Te as g, De as h, Re as i, We as l, je as m, Ue as n, Ie as o, Oe as p, Ke as r, Ve as s, $e as t, qe as u, ke as v, Ce as w, Me as x, xe as y };
|
|
1870
1972
|
|
|
1871
|
-
//# sourceMappingURL=dist-
|
|
1973
|
+
//# sourceMappingURL=dist-Denz71xw.js.map
|