@digabi/exam-engine-core 22.0.7-alpha.0 → 22.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
- package/dist/components/context/GradingInstructionContext.d.ts +6 -11
- package/dist/components/context/GradingInstructionContext.d.ts.map +1 -1
- package/dist/components/context/GradingInstructionContext.js.map +1 -1
- package/dist/components/grading-instructions/AnswerGradingInstruction.d.ts.map +1 -1
- package/dist/components/grading-instructions/AnswerGradingInstruction.js +4 -3
- package/dist/components/grading-instructions/AnswerGradingInstruction.js.map +1 -1
- package/dist/components/grading-instructions/GradingInstructionProvider.d.ts +1 -1
- package/dist/components/grading-instructions/GradingInstructionProvider.d.ts.map +1 -1
- package/dist/components/grading-instructions/GradingInstructionProvider.js +1 -4
- package/dist/components/grading-instructions/GradingInstructionProvider.js.map +1 -1
- package/dist/components/grading-instructions/GradingInstructions.d.ts +6 -2
- package/dist/components/grading-instructions/GradingInstructions.d.ts.map +1 -1
- package/dist/components/grading-instructions/GradingInstructions.js +2 -3
- package/dist/components/grading-instructions/GradingInstructions.js.map +1 -1
- package/dist/main-bundle.js +1 -1
- package/dist/main.css +1 -1
- package/package.json +2 -12
- package/dist/__tests__/EditableGradingInstructionLocalization.test.d.ts +0 -2
- package/dist/__tests__/EditableGradingInstructionLocalization.test.d.ts.map +0 -1
- package/dist/__tests__/EditableGradingInstructionLocalization.test.js +0 -112
- package/dist/__tests__/EditableGradingInstructionLocalization.test.js.map +0 -1
- package/dist/__tests__/editor/FormatButton.test.d.ts +0 -2
- package/dist/__tests__/editor/FormatButton.test.d.ts.map +0 -1
- package/dist/__tests__/editor/FormatButton.test.js +0 -98
- package/dist/__tests__/editor/FormatButton.test.js.map +0 -1
- package/dist/__tests__/editor/Formula.test.d.ts +0 -2
- package/dist/__tests__/editor/Formula.test.d.ts.map +0 -1
- package/dist/__tests__/editor/Formula.test.js +0 -61
- package/dist/__tests__/editor/Formula.test.js.map +0 -1
- package/dist/__tests__/editor/ImageUploadButton.test.d.ts +0 -2
- package/dist/__tests__/editor/ImageUploadButton.test.d.ts.map +0 -1
- package/dist/__tests__/editor/ImageUploadButton.test.js +0 -94
- package/dist/__tests__/editor/ImageUploadButton.test.js.map +0 -1
- package/dist/__tests__/editor/List.test.d.ts +0 -2
- package/dist/__tests__/editor/List.test.d.ts.map +0 -1
- package/dist/__tests__/editor/List.test.js +0 -72
- package/dist/__tests__/editor/List.test.js.map +0 -1
- package/dist/__tests__/editor/Table.test.d.ts +0 -2
- package/dist/__tests__/editor/Table.test.d.ts.map +0 -1
- package/dist/__tests__/editor/Table.test.js +0 -172
- package/dist/__tests__/editor/Table.test.js.map +0 -1
- package/dist/__tests__/editor/br.test.d.ts +0 -2
- package/dist/__tests__/editor/br.test.d.ts.map +0 -1
- package/dist/__tests__/editor/br.test.js +0 -39
- package/dist/__tests__/editor/br.test.js.map +0 -1
- package/dist/__tests__/editor/hr.test.d.ts +0 -2
- package/dist/__tests__/editor/hr.test.d.ts.map +0 -1
- package/dist/__tests__/editor/hr.test.js +0 -39
- package/dist/__tests__/editor/hr.test.js.map +0 -1
- package/dist/__tests__/editor/nbsp.test.d.ts +0 -2
- package/dist/__tests__/editor/nbsp.test.d.ts.map +0 -1
- package/dist/__tests__/editor/nbsp.test.js +0 -55
- package/dist/__tests__/editor/nbsp.test.js.map +0 -1
- package/dist/__tests__/editor/noWrap.test.d.ts +0 -2
- package/dist/__tests__/editor/noWrap.test.d.ts.map +0 -1
- package/dist/__tests__/editor/noWrap.test.js +0 -62
- package/dist/__tests__/editor/noWrap.test.js.map +0 -1
- package/dist/__tests__/editor/spanWithLang.test.d.ts +0 -2
- package/dist/__tests__/editor/spanWithLang.test.d.ts.map +0 -1
- package/dist/__tests__/editor/spanWithLang.test.js +0 -38
- package/dist/__tests__/editor/spanWithLang.test.js.map +0 -1
- package/dist/__tests__/editor/subSup.test.d.ts +0 -2
- package/dist/__tests__/editor/subSup.test.d.ts.map +0 -1
- package/dist/__tests__/editor/subSup.test.js +0 -50
- package/dist/__tests__/editor/subSup.test.js.map +0 -1
- package/dist/__tests__/editor/undoRedo.test.d.ts +0 -2
- package/dist/__tests__/editor/undoRedo.test.d.ts.map +0 -1
- package/dist/__tests__/editor/undoRedo.test.js +0 -61
- package/dist/__tests__/editor/undoRedo.test.js.map +0 -1
- package/dist/__tests__/utils/ProseMirrorWrapper.d.ts +0 -8
- package/dist/__tests__/utils/ProseMirrorWrapper.d.ts.map +0 -1
- package/dist/__tests__/utils/ProseMirrorWrapper.js +0 -44
- package/dist/__tests__/utils/ProseMirrorWrapper.js.map +0 -1
- package/dist/__tests__/utils/prosemirror.d.ts +0 -2
- package/dist/__tests__/utils/prosemirror.d.ts.map +0 -1
- package/dist/__tests__/utils/prosemirror.js +0 -30
- package/dist/__tests__/utils/prosemirror.js.map +0 -1
- package/dist/__tests__/utils/renderEditableGradingInstruction.d.ts +0 -4
- package/dist/__tests__/utils/renderEditableGradingInstruction.d.ts.map +0 -1
- package/dist/__tests__/utils/renderEditableGradingInstruction.js +0 -22
- package/dist/__tests__/utils/renderEditableGradingInstruction.js.map +0 -1
- package/dist/__tests__/utils/util.d.ts +0 -2
- package/dist/__tests__/utils/util.d.ts.map +0 -1
- package/dist/__tests__/utils/util.js +0 -10
- package/dist/__tests__/utils/util.js.map +0 -1
- package/dist/components/grading-instructions/EditableGradingInstruction.d.ts +0 -6
- package/dist/components/grading-instructions/EditableGradingInstruction.d.ts.map +0 -1
- package/dist/components/grading-instructions/EditableGradingInstruction.js +0 -136
- package/dist/components/grading-instructions/EditableGradingInstruction.js.map +0 -1
- package/dist/components/grading-instructions/editor/FormatButton.d.ts +0 -9
- package/dist/components/grading-instructions/editor/FormatButton.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/FormatButton.js +0 -26
- package/dist/components/grading-instructions/editor/FormatButton.js.map +0 -1
- package/dist/components/grading-instructions/editor/Formula.d.ts +0 -15
- package/dist/components/grading-instructions/editor/Formula.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/Formula.js +0 -41
- package/dist/components/grading-instructions/editor/Formula.js.map +0 -1
- package/dist/components/grading-instructions/editor/FormulaPopup.d.ts +0 -7
- package/dist/components/grading-instructions/editor/FormulaPopup.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/FormulaPopup.js +0 -49
- package/dist/components/grading-instructions/editor/FormulaPopup.js.map +0 -1
- package/dist/components/grading-instructions/editor/ImageUploadButton.d.ts +0 -6
- package/dist/components/grading-instructions/editor/ImageUploadButton.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/ImageUploadButton.js +0 -77
- package/dist/components/grading-instructions/editor/ImageUploadButton.js.map +0 -1
- package/dist/components/grading-instructions/editor/List.d.ts +0 -9
- package/dist/components/grading-instructions/editor/List.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/List.js +0 -41
- package/dist/components/grading-instructions/editor/List.js.map +0 -1
- package/dist/components/grading-instructions/editor/NBSP.d.ts +0 -4
- package/dist/components/grading-instructions/editor/NBSP.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/NBSP.js +0 -17
- package/dist/components/grading-instructions/editor/NBSP.js.map +0 -1
- package/dist/components/grading-instructions/editor/Table.d.ts +0 -6
- package/dist/components/grading-instructions/editor/Table.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/Table.js +0 -186
- package/dist/components/grading-instructions/editor/Table.js.map +0 -1
- package/dist/components/grading-instructions/editor/UndoRedoButtons.d.ts +0 -6
- package/dist/components/grading-instructions/editor/UndoRedoButtons.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/UndoRedoButtons.js +0 -19
- package/dist/components/grading-instructions/editor/UndoRedoButtons.js.map +0 -1
- package/dist/components/grading-instructions/editor/findNode.d.ts +0 -3
- package/dist/components/grading-instructions/editor/findNode.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/findNode.js +0 -10
- package/dist/components/grading-instructions/editor/findNode.js.map +0 -1
- package/dist/components/grading-instructions/editor/localization.d.ts +0 -3
- package/dist/components/grading-instructions/editor/localization.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/localization.js +0 -36
- package/dist/components/grading-instructions/editor/localization.js.map +0 -1
- package/dist/components/grading-instructions/editor/schemas/formulaSchema.d.ts +0 -4
- package/dist/components/grading-instructions/editor/schemas/formulaSchema.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/schemas/formulaSchema.js +0 -62
- package/dist/components/grading-instructions/editor/schemas/formulaSchema.js.map +0 -1
- package/dist/components/grading-instructions/editor/schemas/imageSchema.d.ts +0 -4
- package/dist/components/grading-instructions/editor/schemas/imageSchema.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/schemas/imageSchema.js +0 -61
- package/dist/components/grading-instructions/editor/schemas/imageSchema.js.map +0 -1
- package/dist/components/grading-instructions/editor/schemas/listSchema.d.ts +0 -72
- package/dist/components/grading-instructions/editor/schemas/listSchema.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/schemas/listSchema.js +0 -7
- package/dist/components/grading-instructions/editor/schemas/listSchema.js.map +0 -1
- package/dist/components/grading-instructions/editor/schemas/localizationSchema.d.ts +0 -3
- package/dist/components/grading-instructions/editor/schemas/localizationSchema.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/schemas/localizationSchema.js +0 -39
- package/dist/components/grading-instructions/editor/schemas/localizationSchema.js.map +0 -1
- package/dist/components/grading-instructions/editor/schemas/spanWithLangSchema.d.ts +0 -3
- package/dist/components/grading-instructions/editor/schemas/spanWithLangSchema.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/schemas/spanWithLangSchema.js +0 -19
- package/dist/components/grading-instructions/editor/schemas/spanWithLangSchema.js.map +0 -1
- package/dist/components/grading-instructions/editor/schemas/spanWithNowrapSchema.d.ts +0 -3
- package/dist/components/grading-instructions/editor/schemas/spanWithNowrapSchema.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/schemas/spanWithNowrapSchema.js +0 -19
- package/dist/components/grading-instructions/editor/schemas/spanWithNowrapSchema.js.map +0 -1
- package/dist/components/grading-instructions/editor/schemas/subSupSchema.d.ts +0 -3
- package/dist/components/grading-instructions/editor/schemas/subSupSchema.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/schemas/subSupSchema.js +0 -23
- package/dist/components/grading-instructions/editor/schemas/subSupSchema.js.map +0 -1
- package/dist/components/grading-instructions/editor/schemas/tableSchema.d.ts +0 -3
- package/dist/components/grading-instructions/editor/schemas/tableSchema.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/schemas/tableSchema.js +0 -53
- package/dist/components/grading-instructions/editor/schemas/tableSchema.js.map +0 -1
- package/dist/components/grading-instructions/editor/spanWithNowrap.d.ts +0 -3
- package/dist/components/grading-instructions/editor/spanWithNowrap.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/spanWithNowrap.js +0 -19
- package/dist/components/grading-instructions/editor/spanWithNowrap.js.map +0 -1
@@ -1,19 +0,0 @@
|
|
1
|
-
export const spanWithLangSchema = {
|
2
|
-
spanWithLang: {
|
3
|
-
attrs: {
|
4
|
-
lang: { default: null }
|
5
|
-
},
|
6
|
-
parseDOM: [
|
7
|
-
{
|
8
|
-
tag: 'span[lang]:not([data-editor-id])',
|
9
|
-
getAttrs(dom) {
|
10
|
-
return { lang: dom.getAttribute('lang') || null };
|
11
|
-
}
|
12
|
-
}
|
13
|
-
],
|
14
|
-
toDOM(node) {
|
15
|
-
return ['span', { lang: node.attrs.lang }, 0];
|
16
|
-
}
|
17
|
-
}
|
18
|
-
};
|
19
|
-
//# sourceMappingURL=spanWithLangSchema.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"spanWithLangSchema.js","sourceRoot":"","sources":["../../../../../src/components/grading-instructions/editor/schemas/spanWithLangSchema.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAa;IAC1C,YAAY,EAAE;QACZ,KAAK,EAAE;YACL,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;SACxB;QACD,QAAQ,EAAE;YACR;gBACE,GAAG,EAAE,kCAAkC;gBACvC,QAAQ,CAAC,GAAgB;oBACvB,OAAO,EAAE,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,CAAA;gBACnD,CAAC;aACF;SACF;QACD,KAAK,CAAC,IAAU;YACd,OAAO,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAc,EAAE,EAAE,CAAC,CAAC,CAAA;QACzD,CAAC;KACF;CACF,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"spanWithNowrapSchema.d.ts","sourceRoot":"","sources":["../../../../../src/components/grading-instructions/editor/schemas/spanWithNowrapSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAElD,eAAO,MAAM,oBAAoB,EAAE,QAiBlC,CAAA"}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
export const spanWithNowrapSchema = {
|
2
|
-
spanWithNowrap: {
|
3
|
-
attrs: {
|
4
|
-
class: { default: null }
|
5
|
-
},
|
6
|
-
parseDOM: [
|
7
|
-
{
|
8
|
-
tag: 'span[class="e-nowrap"]',
|
9
|
-
getAttrs(dom) {
|
10
|
-
return { class: dom.getAttribute('class') || null };
|
11
|
-
}
|
12
|
-
}
|
13
|
-
],
|
14
|
-
toDOM(node) {
|
15
|
-
return ['span', { class: node.attrs.class }, 0];
|
16
|
-
}
|
17
|
-
}
|
18
|
-
};
|
19
|
-
//# sourceMappingURL=spanWithNowrapSchema.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"spanWithNowrapSchema.js","sourceRoot":"","sources":["../../../../../src/components/grading-instructions/editor/schemas/spanWithNowrapSchema.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,oBAAoB,GAAa;IAC5C,cAAc,EAAE;QACd,KAAK,EAAE;YACL,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;SACzB;QACD,QAAQ,EAAE;YACR;gBACE,GAAG,EAAE,wBAAwB;gBAC7B,QAAQ,CAAC,GAAgB;oBACvB,OAAO,EAAE,KAAK,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,IAAI,EAAE,CAAA;gBACrD,CAAC;aACF;SACF;QACD,KAAK,CAAC,IAAU;YACd,OAAO,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAe,EAAE,EAAE,CAAC,CAAC,CAAA;QAC3D,CAAC;KACF;CACF,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"subSupSchema.d.ts","sourceRoot":"","sources":["../../../../../src/components/grading-instructions/editor/schemas/subSupSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAE5C,eAAO,MAAM,YAAY,EAAE,QAqB1B,CAAA"}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
export const subSupSchema = {
|
2
|
-
sub: {
|
3
|
-
parseDOM: [
|
4
|
-
{
|
5
|
-
tag: 'sub'
|
6
|
-
}
|
7
|
-
],
|
8
|
-
toDOM() {
|
9
|
-
return ['sub', 0];
|
10
|
-
}
|
11
|
-
},
|
12
|
-
sup: {
|
13
|
-
parseDOM: [
|
14
|
-
{
|
15
|
-
tag: 'sup'
|
16
|
-
}
|
17
|
-
],
|
18
|
-
toDOM() {
|
19
|
-
return ['sup', 0];
|
20
|
-
}
|
21
|
-
}
|
22
|
-
};
|
23
|
-
//# sourceMappingURL=subSupSchema.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"subSupSchema.js","sourceRoot":"","sources":["../../../../../src/components/grading-instructions/editor/schemas/subSupSchema.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAa;IACpC,GAAG,EAAE;QACH,QAAQ,EAAE;YACR;gBACE,GAAG,EAAE,KAAK;aACX;SACF;QACD,KAAK;YACH,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;QACnB,CAAC;KACF;IACD,GAAG,EAAE;QACH,QAAQ,EAAE;YACR;gBACE,GAAG,EAAE,KAAK;aACX;SACF;QACD,KAAK;YACH,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;QACnB,CAAC;KACF;CACF,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tableSchema.d.ts","sourceRoot":"","sources":["../../../../../src/components/grading-instructions/editor/schemas/tableSchema.ts"],"names":[],"mappings":"AACA,OAAO,EAAQ,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAQlD,eAAO,MAAM,WAAW,EAAE,QA6CzB,CAAA"}
|
@@ -1,53 +0,0 @@
|
|
1
|
-
import { tableNodes } from 'prosemirror-tables';
|
2
|
-
const defaultSchema = tableNodes({
|
3
|
-
tableGroup: 'block',
|
4
|
-
cellContent: 'inline*',
|
5
|
-
cellAttributes: { class: { default: '' }, scope: { default: '' } }
|
6
|
-
});
|
7
|
-
export const tableSchema = {
|
8
|
-
...defaultSchema,
|
9
|
-
table: {
|
10
|
-
...defaultSchema.table,
|
11
|
-
parseDOM: [
|
12
|
-
{
|
13
|
-
tag: 'table',
|
14
|
-
getAttrs: (dom) => ({ class: dom.getAttribute('class') })
|
15
|
-
}
|
16
|
-
],
|
17
|
-
attrs: { class: { default: '' } },
|
18
|
-
toDOM(node) {
|
19
|
-
const classNames = node.attrs.class || undefined;
|
20
|
-
return [
|
21
|
-
'table',
|
22
|
-
{
|
23
|
-
class: classNames
|
24
|
-
},
|
25
|
-
['tbody', 0]
|
26
|
-
];
|
27
|
-
}
|
28
|
-
},
|
29
|
-
table_row: {
|
30
|
-
...defaultSchema.table_row,
|
31
|
-
attrs: { class: { default: '' } },
|
32
|
-
parseDOM: [{ tag: 'tr', getAttrs: (dom) => ({ class: dom.getAttribute('class') }) }],
|
33
|
-
toDOM(node) {
|
34
|
-
const classNames = node.attrs.class || undefined;
|
35
|
-
return ['tr', { class: classNames }, 0];
|
36
|
-
}
|
37
|
-
},
|
38
|
-
table_cell: {
|
39
|
-
...defaultSchema.table_cell,
|
40
|
-
parseDOM: [
|
41
|
-
{
|
42
|
-
tag: 'td',
|
43
|
-
getAttrs: (dom) => ({ class: dom.getAttribute('class'), scope: dom.getAttribute('scope') })
|
44
|
-
}
|
45
|
-
],
|
46
|
-
toDOM(node) {
|
47
|
-
const classNames = node.attrs.class || undefined;
|
48
|
-
const scope = node.attrs.scope || undefined;
|
49
|
-
return ['td', { class: classNames, scope }, 0];
|
50
|
-
}
|
51
|
-
}
|
52
|
-
};
|
53
|
-
//# sourceMappingURL=tableSchema.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tableSchema.js","sourceRoot":"","sources":["../../../../../src/components/grading-instructions/editor/schemas/tableSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAG/C,MAAM,aAAa,GAAG,UAAU,CAAC;IAC/B,UAAU,EAAE,OAAO;IACnB,WAAW,EAAE,SAAS;IACtB,cAAc,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE;CACnE,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,WAAW,GAAa;IACnC,GAAG,aAAa;IAChB,KAAK,EAAE;QACL,GAAG,aAAa,CAAC,KAAK;QACtB,QAAQ,EAAE;YACR;gBACE,GAAG,EAAE,OAAO;gBACZ,QAAQ,EAAE,CAAC,GAAgB,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC;aACvE;SACF;QACD,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE;QACjC,KAAK,CAAC,IAAU;YACd,MAAM,UAAU,GAAI,IAAI,CAAC,KAAK,CAAC,KAAgB,IAAI,SAAS,CAAA;YAC5D,OAAO;gBACL,OAAO;gBACP;oBACE,KAAK,EAAE,UAAU;iBAClB;gBACD,CAAC,OAAO,EAAE,CAAC,CAAC;aACb,CAAA;QACH,CAAC;KACF;IACD,SAAS,EAAE;QACT,GAAG,aAAa,CAAC,SAAS;QAC1B,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE;QACjC,QAAQ,EAAE,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,GAAgB,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC;QACjG,KAAK,CAAC,IAAU;YACd,MAAM,UAAU,GAAI,IAAI,CAAC,KAAK,CAAC,KAAgB,IAAI,SAAS,CAAA;YAC5D,OAAO,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC,CAAA;QACzC,CAAC;KACF;IACD,UAAU,EAAE;QACV,GAAG,aAAa,CAAC,UAAU;QAC3B,QAAQ,EAAE;YACR;gBACE,GAAG,EAAE,IAAI;gBACT,QAAQ,EAAE,CAAC,GAAgB,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC;aACzG;SACF;QACD,KAAK,CAAC,IAAU;YACd,MAAM,UAAU,GAAI,IAAI,CAAC,KAAK,CAAC,KAAgB,IAAI,SAAS,CAAA;YAC5D,MAAM,KAAK,GAAI,IAAI,CAAC,KAAK,CAAC,KAAgB,IAAI,SAAS,CAAA;YACvD,OAAO,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,CAAA;QAChD,CAAC;KACF;CACF,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"spanWithNowrap.d.ts","sourceRoot":"","sources":["../../../../src/components/grading-instructions/editor/spanWithNowrap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAElD,eAAO,MAAM,cAAc,EAAE,QAiB5B,CAAA"}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
export const spanWithNowrap = {
|
2
|
-
spanWithClass: {
|
3
|
-
attrs: {
|
4
|
-
class: { default: null }
|
5
|
-
},
|
6
|
-
parseDOM: [
|
7
|
-
{
|
8
|
-
tag: 'span[class="e-nowrap"]',
|
9
|
-
getAttrs(dom) {
|
10
|
-
return { class: dom.getAttribute('class') || null };
|
11
|
-
}
|
12
|
-
}
|
13
|
-
],
|
14
|
-
toDOM(node) {
|
15
|
-
return ['span', { class: node.attrs.class }, 0];
|
16
|
-
}
|
17
|
-
}
|
18
|
-
};
|
19
|
-
//# sourceMappingURL=spanWithNowrap.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"spanWithNowrap.js","sourceRoot":"","sources":["../../../../src/components/grading-instructions/editor/spanWithNowrap.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAa;IACtC,aAAa,EAAE;QACb,KAAK,EAAE;YACL,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;SACzB;QACD,QAAQ,EAAE;YACR;gBACE,GAAG,EAAE,wBAAwB;gBAC7B,QAAQ,CAAC,GAAgB;oBACvB,OAAO,EAAE,KAAK,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,IAAI,EAAE,CAAA;gBACrD,CAAC;aACF;SACF;QACD,KAAK,CAAC,IAAU;YACd,OAAO,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAe,EAAE,EAAE,CAAC,CAAC,CAAA;QAC3D,CAAC;KACF;CACF,CAAA"}
|