@nxgt/material 3.93.0 → 3.94.0
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 +16 -0
- package/README.md +2 -1
- package/dist/{alert-dialog-D37eph4I.js → alert-dialog-BaqK-rmd.js} +1 -1
- package/dist/{async-slice-BSqwhAj-.js → async-slice-BfNpIJAH.js} +1 -1
- package/dist/{button-CG9SBAT-.js → button-CozGHXAv.js} +1 -1
- package/dist/{calculator-YD3I3y-I.js → calculator-BIx6cwgU.js} +10 -10
- package/dist/calculator-field.js +6 -6
- package/dist/{calculator-segment-Cjec9zi7.js → calculator-segment-BsaxUtzL.js} +1 -1
- package/dist/calculator.js +1 -1
- package/dist/charts.js +3 -3
- package/dist/{chip-BbUSBl3i.js → chip-DMEUGYdC.js} +2 -2
- package/dist/{code-editor-ZEM7AAcs.js → code-editor-BWfky-aN.js} +4 -4
- package/dist/code-editor.js +4 -4
- package/dist/{code-language-items-CAuHPrHd.js → code-language-items-BUaNYJuw.js} +2 -2
- package/dist/{components-CuFTrmGy.js → components-CZpdAQMh.js} +19525 -19105
- package/dist/components.js +38 -38
- package/dist/{conversion-variant-DmEtTCSP.js → conversion-variant-aIBhul_U.js} +3 -3
- package/dist/{currency-field-CabGnVO9.js → currency-field-IcEMAcAw.js} +5 -5
- package/dist/{dialog-Jhpx6ulb.js → dialog-H40HjqXN.js} +3 -3
- package/dist/dnd.js +1 -1
- package/dist/{dropdown-menu-nl0Q3tQ2.js → dropdown-menu-CawkIlW8.js} +1 -1
- package/dist/editor.js +442 -442
- package/dist/{empty-state-mrJuqph3.js → empty-state-sRVjgCis.js} +1 -1
- package/dist/{financial-variant-P8gFA9aI.js → financial-variant-Bqo9-swy.js} +5 -5
- package/dist/{hooks-CjSpziWf.js → hooks-BTj_WJm9.js} +2 -2
- package/dist/hooks.js +2 -2
- package/dist/{hover-card-BNb1M8ij.js → hover-card-BZU1DWGY.js} +1 -1
- package/dist/i18n.js +3 -3
- package/dist/{icon-badge-CVMHwdFm.js → icon-badge-CXgvqMsM.js} +1 -1
- package/dist/{icon-button-Ch0PThsa.js → icon-button-B9WjQ3RO.js} +1 -1
- package/dist/{input-group-CPMSQcBx.js → input-group-Df9vp2EZ.js} +1 -1
- package/dist/lib/components/ui/display/entity-header/entity-metadata.d.ts +0 -7
- package/dist/lib/components/ui/display/entity-header/entity-stats.d.ts +2 -1
- package/dist/lib/components/ui/display/markdown/markdown.d.ts +2 -2
- package/dist/lib/components/ui/display/markdown/rehype-katex-classes.d.ts +21 -0
- package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
- package/dist/lib/components/ui/fields/index.d.ts +1 -0
- package/dist/lib/components/ui/fields/markdown-textarea-field/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/markdown-textarea-field/markdown-preview.d.ts +6 -0
- package/dist/lib/components/ui/fields/markdown-textarea-field/markdown-syntax-help.d.ts +4 -0
- package/dist/lib/components/ui/fields/markdown-textarea-field/markdown-tabs.d.ts +13 -0
- package/dist/lib/components/ui/fields/markdown-textarea-field/markdown-textarea-field.d.ts +23 -0
- package/dist/lib/components/ui/fields/markdown-textarea-field/markdown-textarea-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/markdown-textarea-field/use-text-value.d.ts +6 -0
- package/dist/lib/components/ui/widgets/education/questions/index.d.ts +1 -1
- package/dist/lib/components/ui/widgets/education/questions/partials/question-hints.d.ts +9 -0
- package/dist/lib/components/ui/widgets/education/questions/partials/question-reveal.d.ts +13 -0
- package/dist/lib/components/ui/widgets/education/questions/partials/rich-text.d.ts +17 -0
- package/dist/lib/components/ui/widgets/education/questions/types.d.ts +40 -1
- package/dist/lib/i18n/resources/en/en.d.ts +24 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +24 -0
- package/dist/lib/i18n/resources/fr/fr.d.ts +24 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +24 -0
- package/dist/lib/i18n/resources/resources.d.ts +48 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib.js +1 -1
- package/dist/main.js +54 -54
- package/dist/map.js +7 -7
- package/dist/material.css +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/{percent-field-TWyupyr_.js → percent-field-DrI4_J7x.js} +1 -1
- package/dist/{picker-surface-CoNsDWxX.js → picker-surface-D2aYI4v7.js} +4 -4
- package/dist/{popover-BA1U82Wk.js → popover-QQYPWzw6.js} +1 -1
- package/dist/{pos-types-BQqv-kb6.js → pos-types-BIeZGGAs.js} +1 -1
- package/dist/{pos-variant-D043n5y8.js → pos-variant-Cdn1AVoA.js} +4 -4
- package/dist/print.js +1 -1
- package/dist/{programmer-variant-jneMqtLs.js → programmer-variant-CMBybkqw.js} +2 -2
- package/dist/{public-DgrbdeZj.js → public-CPxFxbi4.js} +9 -9
- package/dist/{rich-code-block-CGNjHawR.js → rich-code-block-DKJ8eKzL.js} +5 -5
- package/dist/{scientific-variant-1L7brNNT.js → scientific-variant-CXL1ayb7.js} +2 -2
- package/dist/{sortable-provider-DZLV_svg.js → sortable-provider-BYqwwyr1.js} +2 -2
- package/dist/{spinner-CQqRWxAW.js → spinner-D7ol2n_-.js} +1 -1
- package/dist/{tabs-DQTx3C8e.js → tabs-DyiFTy5g.js} +1 -1
- package/dist/theme-picker.js +2 -2
- package/dist/{theme-toggle-3NQ3VmJH.js → theme-toggle-QZ0bIrg9.js} +1 -1
- package/dist/{toolbar-items-BYCdJGUf.js → toolbar-items-BpOEBsSt.js} +4 -4
- package/dist/{translate-material-jxfcGlD5.js → translate-material-DlMetRSJ.js} +1 -1
- package/dist/{translator-6XuDmqUJ.js → translator-VtzVrnLm.js} +48 -0
- package/dist/{use-chat-composer-1eb4I1kM.js → use-chat-composer-DQ2rTD_q.js} +17 -17
- package/dist/{use-heading-spy-CzPujlKr.js → use-heading-spy-17B5xa7B.js} +4 -4
- package/dist/{use-material-translation-BUPqNmAg.js → use-material-translation-Cx5u36V5.js} +1 -1
- package/dist/{use-return-focus-B_enQxp5.js → use-return-focus-S7g7q_Yn.js} +1 -1
- package/docs/components/data-display.md +7 -6
- package/docs/components/form-fields.md +39 -0
- package/docs/components/rich-widgets.md +29 -0
- package/docs/guides/csp.md +20 -8
- package/docs/guides/forms.md +1 -0
- package/docs/guides/i18n.md +1 -1
- package/docs/previews/data-display-entityheader.webp +0 -0
- package/docs/previews/form-fields-markdowntextareafield.webp +0 -0
- package/docs/troubleshooting.md +22 -6
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@ export * from './form-section/index.js';
|
|
|
10
10
|
export * from './inline-edit/index.js';
|
|
11
11
|
export * from './input-group-field/index.js';
|
|
12
12
|
export * from './localized-text-fields/index.js';
|
|
13
|
+
export * from './markdown-textarea-field/index.js';
|
|
13
14
|
export * from './number-field/index.js';
|
|
14
15
|
export * from './opening-hours/index.js';
|
|
15
16
|
export * from './otp-field/index.js';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
type MarkdownTabsProps = {
|
|
3
|
+
/** The textarea (the Write tab). */
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
text: string;
|
|
6
|
+
minRows: number;
|
|
7
|
+
math: boolean;
|
|
8
|
+
mermaid: boolean;
|
|
9
|
+
previewClassName?: string;
|
|
10
|
+
};
|
|
11
|
+
/** The Write / Preview tab list and its two panels. */
|
|
12
|
+
export declare function MarkdownTabs({ children, text, minRows, math, mermaid, previewClassName, }: MarkdownTabsProps): import("react").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
export type MarkdownTextareaProps = {
|
|
3
|
+
label?: ReactNode;
|
|
4
|
+
helperText?: ReactNode;
|
|
5
|
+
error?: boolean;
|
|
6
|
+
/** Minimum height of the textarea, in lines. Default 6. */
|
|
7
|
+
minRows?: number;
|
|
8
|
+
/** Show the character counter. Default: when `maxLength` is set. */
|
|
9
|
+
showCount?: boolean;
|
|
10
|
+
/** Render `$...$` and `$$...$$` with KaTeX in the preview. Default `true`. */
|
|
11
|
+
math?: boolean;
|
|
12
|
+
/** Draw ```` ```mermaid ```` fences as diagrams in the preview. Default `false`. */
|
|
13
|
+
mermaid?: boolean;
|
|
14
|
+
/** Show the collapsible syntax help. Default `true`. */
|
|
15
|
+
showHelp?: boolean;
|
|
16
|
+
/** Class of the preview panel. */
|
|
17
|
+
previewClassName?: string;
|
|
18
|
+
} & ComponentProps<'textarea'>;
|
|
19
|
+
/**
|
|
20
|
+
* A textarea for Markdown with a Write / Preview tab list. The preview is
|
|
21
|
+
* rendered with `Markdown` (raw HTML is never rendered).
|
|
22
|
+
*/
|
|
23
|
+
export declare function MarkdownTextareaField({ error, helperText, label, className, minRows, showCount, maxLength, math, mermaid, showHelp, previewClassName, value, defaultValue, onChange, ...props }: MarkdownTextareaProps): import("react").JSX.Element;
|
package/dist/lib/components/ui/fields/markdown-textarea-field/markdown-textarea-form-field.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { UseControllerProps } from 'react-hook-form';
|
|
2
|
+
import { MarkdownTextareaProps } from './markdown-textarea-field.js';
|
|
3
|
+
export declare function MarkdownTextareaFormField<T extends Record<string, any>>({ control, name, ...props }: Pick<UseControllerProps<T>, 'control' | 'name'> & Omit<MarkdownTextareaProps, 'name'>): import("react").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ChangeEventHandler, ComponentProps } from 'react';
|
|
2
|
+
/** The text of a textarea that may be controlled or not, for the counter and the preview. */
|
|
3
|
+
export declare function useTextValue(value: ComponentProps<'textarea'>['value'], defaultValue: ComponentProps<'textarea'>['defaultValue'], onChange: ComponentProps<'textarea'>['onChange']): {
|
|
4
|
+
text: string;
|
|
5
|
+
handleChange: ChangeEventHandler<HTMLTextAreaElement>;
|
|
6
|
+
};
|
|
@@ -2,4 +2,4 @@ export { QuestionCard } from './question.js';
|
|
|
2
2
|
export { answerParts, isAnswerCorrect, isAnswered, parseAnswerNumber, } from './question.utils.js';
|
|
3
3
|
export { QuestionMediaView } from './question-media-view.js';
|
|
4
4
|
export type { QuestionMediaFile, QuestionMediaViewProps, } from './question-media-view.types.js';
|
|
5
|
-
export type { Question, QuestionAnswer, QuestionCodeField, QuestionImage, QuestionKind, QuestionMedia, QuestionMediaKind, QuestionOption, QuestionPoints, QuestionProps, QuestionVerdict, } from './types.js';
|
|
5
|
+
export type { Question, QuestionAnswer, QuestionCodeField, QuestionExample, QuestionImage, QuestionKind, QuestionMedia, QuestionMediaKind, QuestionOption, QuestionPoints, QuestionProps, QuestionReference, QuestionVerdict, } from './types.js';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hints revealed one at a time. The button names the next one ("Show hint 2
|
|
3
|
+
* of 3"); the revealed hint takes the focus, and a status line keeps the count
|
|
4
|
+
* ("Hint 2 of 3") for a screen reader.
|
|
5
|
+
*/
|
|
6
|
+
export declare function QuestionHints({ hints, markdown, }: {
|
|
7
|
+
hints: string[];
|
|
8
|
+
markdown?: boolean;
|
|
9
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Question } from '../types.js';
|
|
2
|
+
/** Why each option is right or wrong, for the options that carry an `explanation`. */
|
|
3
|
+
export declare function QuestionOptionExplanations({ question, }: {
|
|
4
|
+
question: Question;
|
|
5
|
+
}): import("react").JSX.Element | null;
|
|
6
|
+
/** The sources of a question: a labelled list, a link when there is a safe `url`. */
|
|
7
|
+
export declare function QuestionReferences({ question }: {
|
|
8
|
+
question: Question;
|
|
9
|
+
}): import("react").JSX.Element | null;
|
|
10
|
+
/** A `code` question's examples: a table with an input and an expected column. */
|
|
11
|
+
export declare function QuestionExamples({ question }: {
|
|
12
|
+
question: Question;
|
|
13
|
+
}): import("react").JSX.Element | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { Question } from '../types.js';
|
|
3
|
+
/**
|
|
4
|
+
* A question's text: plain, or Markdown with math when the question's
|
|
5
|
+
* `markdown` is on. Raw HTML is never rendered; mermaid is off. `inline` keeps
|
|
6
|
+
* it to phrasing content (the prompt, a label, a sentence).
|
|
7
|
+
*/
|
|
8
|
+
export declare function RichText({ markdown, inline, children, className, }: {
|
|
9
|
+
markdown?: boolean;
|
|
10
|
+
inline?: boolean;
|
|
11
|
+
children: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
}): import("react").JSX.Element;
|
|
14
|
+
/** An option label: inline Markdown only when it is a string and the question asks for it. */
|
|
15
|
+
export declare function richLabel(label: ReactNode, markdown?: boolean): ReactNode;
|
|
16
|
+
/** The answer parts of a sentence ("Correct answer: …"): option labels as inline Markdown, typed answers as they are. */
|
|
17
|
+
export declare function richParts(question: Question, parts: ReactNode[]): ReactNode[];
|
|
@@ -38,6 +38,22 @@ export type QuestionOption = {
|
|
|
38
38
|
description?: ReactNode;
|
|
39
39
|
/** A picture: the options of the question become picture cards. */
|
|
40
40
|
image?: QuestionImage;
|
|
41
|
+
/**
|
|
42
|
+
* Why this option is right or wrong, shown once the card is revealed (and in
|
|
43
|
+
* a `preview`), in a list under the question. Markdown when the question's
|
|
44
|
+
* `markdown` is on.
|
|
45
|
+
*/
|
|
46
|
+
explanation?: string;
|
|
47
|
+
};
|
|
48
|
+
/** A source quoted in the reveal: a plain title, or a link when it has a `url`. */
|
|
49
|
+
export type QuestionReference = {
|
|
50
|
+
title: string;
|
|
51
|
+
url?: string;
|
|
52
|
+
};
|
|
53
|
+
/** A visible example of a `code` question: what goes in and what must come out. */
|
|
54
|
+
export type QuestionExample = {
|
|
55
|
+
input: string;
|
|
56
|
+
expected: string;
|
|
41
57
|
};
|
|
42
58
|
/** A choice id, the ids of a multi, the text (or the number as text) typed. */
|
|
43
59
|
export type QuestionAnswer = string | string[] | null;
|
|
@@ -47,14 +63,37 @@ export type Question = {
|
|
|
47
63
|
kind: QuestionKind;
|
|
48
64
|
options?: QuestionOption[];
|
|
49
65
|
correct?: string | string[];
|
|
66
|
+
/** Markdown when `markdown` is on. */
|
|
50
67
|
explanation?: string;
|
|
51
68
|
required?: boolean;
|
|
52
69
|
placeholder?: string;
|
|
53
70
|
exact?: boolean;
|
|
54
71
|
/** A picture shown with the prompt; give it an `alt` unless decorative. */
|
|
55
72
|
media?: QuestionMedia;
|
|
56
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* Draws the `prompt`, the string option labels, the `explanation`, the
|
|
75
|
+
* option explanations and the hints as Markdown with math (`$x^2$`), through
|
|
76
|
+
* the library's safe `Markdown` (raw HTML is not rendered, mermaid is off).
|
|
77
|
+
* Default `false`: plain text, as before.
|
|
78
|
+
*/
|
|
79
|
+
markdown?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Shown on demand, behind a "Show hint" button.
|
|
82
|
+
* @deprecated Use `hints`. Ignored when `hints` is not empty.
|
|
83
|
+
*/
|
|
57
84
|
hint?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Hints revealed one at a time, in order, behind a "Show hint 1 of N" button
|
|
87
|
+
* that moves the focus to the hint it reveals. Hidden once the card is
|
|
88
|
+
* revealed.
|
|
89
|
+
*/
|
|
90
|
+
hints?: string[];
|
|
91
|
+
/** Sources listed in the reveal; a `url` makes an external link (`rel="noopener noreferrer"`). */
|
|
92
|
+
references?: QuestionReference[];
|
|
93
|
+
/** `code`: the code field starts with this when there is no draft (`value` is null or undefined). */
|
|
94
|
+
starterCode?: string;
|
|
95
|
+
/** `code`: examples shown as a table (input, expected output) above the field. */
|
|
96
|
+
examples?: QuestionExample[];
|
|
58
97
|
/** `number`: how far off an answer may be and still count (default 0). */
|
|
59
98
|
tolerance?: number;
|
|
60
99
|
/** `number`: the unit shown after the field ("km", "%"). */
|
|
@@ -375,6 +375,17 @@ export declare const en: {
|
|
|
375
375
|
hint: string;
|
|
376
376
|
"show-hint": string;
|
|
377
377
|
"hide-hint": string;
|
|
378
|
+
rich: {
|
|
379
|
+
hints: string;
|
|
380
|
+
"show-next-hint": string;
|
|
381
|
+
"hint-n": string;
|
|
382
|
+
"option-explanations": string;
|
|
383
|
+
references: string;
|
|
384
|
+
"new-tab": string;
|
|
385
|
+
examples: string;
|
|
386
|
+
"example-input": string;
|
|
387
|
+
"example-expected": string;
|
|
388
|
+
};
|
|
378
389
|
correct: string;
|
|
379
390
|
incorrect: string;
|
|
380
391
|
unanswered: string;
|
|
@@ -1356,6 +1367,19 @@ export declare const en: {
|
|
|
1356
1367
|
unit: string;
|
|
1357
1368
|
"unit-named": string;
|
|
1358
1369
|
};
|
|
1370
|
+
"markdown-textarea-field": {
|
|
1371
|
+
write: string;
|
|
1372
|
+
preview: string;
|
|
1373
|
+
mode: string;
|
|
1374
|
+
empty: string;
|
|
1375
|
+
help: string;
|
|
1376
|
+
"help-bold": string;
|
|
1377
|
+
"help-list": string;
|
|
1378
|
+
"help-code": string;
|
|
1379
|
+
"help-inline-math": string;
|
|
1380
|
+
"help-block-math": string;
|
|
1381
|
+
"help-escape": string;
|
|
1382
|
+
};
|
|
1359
1383
|
"textarea-field": {
|
|
1360
1384
|
count: string;
|
|
1361
1385
|
};
|
|
@@ -365,6 +365,17 @@ declare const _default: {
|
|
|
365
365
|
"hint": "Hint",
|
|
366
366
|
"show-hint": "Show hint",
|
|
367
367
|
"hide-hint": "Hide hint",
|
|
368
|
+
"rich": {
|
|
369
|
+
"hints": "Hints",
|
|
370
|
+
"show-next-hint": "Show hint {number} of {total}",
|
|
371
|
+
"hint-n": "Hint {number} of {total}",
|
|
372
|
+
"option-explanations": "About each answer",
|
|
373
|
+
"references": "References",
|
|
374
|
+
"new-tab": "(external link)",
|
|
375
|
+
"examples": "Examples",
|
|
376
|
+
"example-input": "Input",
|
|
377
|
+
"example-expected": "Expected"
|
|
378
|
+
},
|
|
368
379
|
"correct": "Correct!",
|
|
369
380
|
"incorrect": "Not quite",
|
|
370
381
|
"unanswered": "Not answered",
|
|
@@ -1346,6 +1357,19 @@ declare const _default: {
|
|
|
1346
1357
|
"unit": "Unit",
|
|
1347
1358
|
"unit-named": "{label} unit"
|
|
1348
1359
|
},
|
|
1360
|
+
"markdown-textarea-field": {
|
|
1361
|
+
"write": "Write",
|
|
1362
|
+
"preview": "Preview",
|
|
1363
|
+
"mode": "Editor mode",
|
|
1364
|
+
"empty": "Nothing to preview",
|
|
1365
|
+
"help": "Formatting help",
|
|
1366
|
+
"help-bold": "Bold",
|
|
1367
|
+
"help-list": "List",
|
|
1368
|
+
"help-code": "Code",
|
|
1369
|
+
"help-inline-math": "Math in a line",
|
|
1370
|
+
"help-block-math": "Math on its own line",
|
|
1371
|
+
"help-escape": "A literal dollar sign"
|
|
1372
|
+
},
|
|
1349
1373
|
"textarea-field": {
|
|
1350
1374
|
"count": "{count}/{max}"
|
|
1351
1375
|
},
|
|
@@ -375,6 +375,17 @@ export declare const fr: {
|
|
|
375
375
|
hint: string;
|
|
376
376
|
"show-hint": string;
|
|
377
377
|
"hide-hint": string;
|
|
378
|
+
rich: {
|
|
379
|
+
hints: string;
|
|
380
|
+
"show-next-hint": string;
|
|
381
|
+
"hint-n": string;
|
|
382
|
+
"option-explanations": string;
|
|
383
|
+
references: string;
|
|
384
|
+
"new-tab": string;
|
|
385
|
+
examples: string;
|
|
386
|
+
"example-input": string;
|
|
387
|
+
"example-expected": string;
|
|
388
|
+
};
|
|
378
389
|
correct: string;
|
|
379
390
|
incorrect: string;
|
|
380
391
|
unanswered: string;
|
|
@@ -1356,6 +1367,19 @@ export declare const fr: {
|
|
|
1356
1367
|
unit: string;
|
|
1357
1368
|
"unit-named": string;
|
|
1358
1369
|
};
|
|
1370
|
+
"markdown-textarea-field": {
|
|
1371
|
+
write: string;
|
|
1372
|
+
preview: string;
|
|
1373
|
+
mode: string;
|
|
1374
|
+
empty: string;
|
|
1375
|
+
help: string;
|
|
1376
|
+
"help-bold": string;
|
|
1377
|
+
"help-list": string;
|
|
1378
|
+
"help-code": string;
|
|
1379
|
+
"help-inline-math": string;
|
|
1380
|
+
"help-block-math": string;
|
|
1381
|
+
"help-escape": string;
|
|
1382
|
+
};
|
|
1359
1383
|
"textarea-field": {
|
|
1360
1384
|
count: string;
|
|
1361
1385
|
};
|
|
@@ -365,6 +365,17 @@ declare const _default: {
|
|
|
365
365
|
"hint": "Indice",
|
|
366
366
|
"show-hint": "Afficher l’indice",
|
|
367
367
|
"hide-hint": "Masquer l’indice",
|
|
368
|
+
"rich": {
|
|
369
|
+
"hints": "Indices",
|
|
370
|
+
"show-next-hint": "Afficher l’indice {number} sur {total}",
|
|
371
|
+
"hint-n": "Indice {number} sur {total}",
|
|
372
|
+
"option-explanations": "À propos de chaque réponse",
|
|
373
|
+
"references": "Références",
|
|
374
|
+
"new-tab": "(lien externe)",
|
|
375
|
+
"examples": "Exemples",
|
|
376
|
+
"example-input": "Entrée",
|
|
377
|
+
"example-expected": "Attendu"
|
|
378
|
+
},
|
|
368
379
|
"correct": "Bonne réponse !",
|
|
369
380
|
"incorrect": "Pas tout à fait",
|
|
370
381
|
"unanswered": "Sans réponse",
|
|
@@ -1346,6 +1357,19 @@ declare const _default: {
|
|
|
1346
1357
|
"unit": "Unité",
|
|
1347
1358
|
"unit-named": "Unité de {label}"
|
|
1348
1359
|
},
|
|
1360
|
+
"markdown-textarea-field": {
|
|
1361
|
+
"write": "Écrire",
|
|
1362
|
+
"preview": "Aperçu",
|
|
1363
|
+
"mode": "Mode de l'éditeur",
|
|
1364
|
+
"empty": "Rien à prévisualiser",
|
|
1365
|
+
"help": "Aide à la mise en forme",
|
|
1366
|
+
"help-bold": "Gras",
|
|
1367
|
+
"help-list": "Liste",
|
|
1368
|
+
"help-code": "Code",
|
|
1369
|
+
"help-inline-math": "Formule dans une ligne",
|
|
1370
|
+
"help-block-math": "Formule sur sa propre ligne",
|
|
1371
|
+
"help-escape": "Un signe dollar littéral"
|
|
1372
|
+
},
|
|
1349
1373
|
"textarea-field": {
|
|
1350
1374
|
"count": "{count}/{max}"
|
|
1351
1375
|
},
|
|
@@ -373,6 +373,17 @@ export declare const resources: {
|
|
|
373
373
|
hint: string;
|
|
374
374
|
"show-hint": string;
|
|
375
375
|
"hide-hint": string;
|
|
376
|
+
rich: {
|
|
377
|
+
hints: string;
|
|
378
|
+
"show-next-hint": string;
|
|
379
|
+
"hint-n": string;
|
|
380
|
+
"option-explanations": string;
|
|
381
|
+
references: string;
|
|
382
|
+
"new-tab": string;
|
|
383
|
+
examples: string;
|
|
384
|
+
"example-input": string;
|
|
385
|
+
"example-expected": string;
|
|
386
|
+
};
|
|
376
387
|
correct: string;
|
|
377
388
|
incorrect: string;
|
|
378
389
|
unanswered: string;
|
|
@@ -1354,6 +1365,19 @@ export declare const resources: {
|
|
|
1354
1365
|
unit: string;
|
|
1355
1366
|
"unit-named": string;
|
|
1356
1367
|
};
|
|
1368
|
+
"markdown-textarea-field": {
|
|
1369
|
+
write: string;
|
|
1370
|
+
preview: string;
|
|
1371
|
+
mode: string;
|
|
1372
|
+
empty: string;
|
|
1373
|
+
help: string;
|
|
1374
|
+
"help-bold": string;
|
|
1375
|
+
"help-list": string;
|
|
1376
|
+
"help-code": string;
|
|
1377
|
+
"help-inline-math": string;
|
|
1378
|
+
"help-block-math": string;
|
|
1379
|
+
"help-escape": string;
|
|
1380
|
+
};
|
|
1357
1381
|
"textarea-field": {
|
|
1358
1382
|
count: string;
|
|
1359
1383
|
};
|
|
@@ -3932,6 +3956,17 @@ export declare const resources: {
|
|
|
3932
3956
|
hint: string;
|
|
3933
3957
|
"show-hint": string;
|
|
3934
3958
|
"hide-hint": string;
|
|
3959
|
+
rich: {
|
|
3960
|
+
hints: string;
|
|
3961
|
+
"show-next-hint": string;
|
|
3962
|
+
"hint-n": string;
|
|
3963
|
+
"option-explanations": string;
|
|
3964
|
+
references: string;
|
|
3965
|
+
"new-tab": string;
|
|
3966
|
+
examples: string;
|
|
3967
|
+
"example-input": string;
|
|
3968
|
+
"example-expected": string;
|
|
3969
|
+
};
|
|
3935
3970
|
correct: string;
|
|
3936
3971
|
incorrect: string;
|
|
3937
3972
|
unanswered: string;
|
|
@@ -4913,6 +4948,19 @@ export declare const resources: {
|
|
|
4913
4948
|
unit: string;
|
|
4914
4949
|
"unit-named": string;
|
|
4915
4950
|
};
|
|
4951
|
+
"markdown-textarea-field": {
|
|
4952
|
+
write: string;
|
|
4953
|
+
preview: string;
|
|
4954
|
+
mode: string;
|
|
4955
|
+
empty: string;
|
|
4956
|
+
help: string;
|
|
4957
|
+
"help-bold": string;
|
|
4958
|
+
"help-list": string;
|
|
4959
|
+
"help-code": string;
|
|
4960
|
+
"help-inline-math": string;
|
|
4961
|
+
"help-block-math": string;
|
|
4962
|
+
"help-escape": string;
|
|
4963
|
+
};
|
|
4916
4964
|
"textarea-field": {
|
|
4917
4965
|
count: string;
|
|
4918
4966
|
};
|