@project-sunbird/sunbird-questionset-editor-web-component-react 0.1.19 → 0.1.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.
- package/dist/api/hierarchy.d.ts +22 -4
- package/dist/hooks/useSaveHierarchy.d.ts +16 -0
- package/dist/hooks/useValidateAndSave.d.ts +21 -3
- package/dist/index.js +4267 -4205
- package/dist/locales/label.config.ar.json.d.ts +1 -0
- package/dist/locales/label.config.fr.json.d.ts +1 -0
- package/dist/locales/label.config.json.d.ts +1 -0
- package/dist/locales/label.config.pt.json.d.ts +1 -0
- package/dist/store/copyRegistry.store.d.ts +2 -0
- package/package.json +1 -1
|
@@ -237,6 +237,7 @@ declare const _default: {
|
|
|
237
237
|
"alreadyInSet": "هذا السؤال موجود بالفعل في المجموعة",
|
|
238
238
|
"maxDepth": "لا يمكن الإضافة هنا — تم بلوغ الحد الأقصى للعمق",
|
|
239
239
|
"attachFailed": "تعذّرت إضافة هذا السؤال — يرجى المحاولة مرة أخرى",
|
|
240
|
+
"saveBusy": "لا يزال هناك حفظ قيد التنفيذ — يرجى المحاولة بعد لحظات",
|
|
240
241
|
"copyFailed": "تعذّر نسخ هذا السؤال — يرجى المحاولة مرة أخرى",
|
|
241
242
|
"copyPublishFailed": "تم النسخ، ولكن تعذّر النشر — سيبقى مسودة.",
|
|
242
243
|
"republishFailed": "تم حفظ السؤال، ولكن تعذّر نشره — سيبقى هذا التعديل مخفيًا حتى تتم إعادة نشره.",
|
|
@@ -237,6 +237,7 @@ declare const _default: {
|
|
|
237
237
|
"alreadyInSet": "Cette question figure déjà dans l'ensemble",
|
|
238
238
|
"maxDepth": "Impossible d'ajouter ici — profondeur maximale atteinte",
|
|
239
239
|
"attachFailed": "Impossible d'ajouter cette question — veuillez réessayer",
|
|
240
|
+
"saveBusy": "Un enregistrement est encore en cours — veuillez réessayer dans un instant",
|
|
240
241
|
"copyFailed": "Impossible de copier cette question — veuillez réessayer",
|
|
241
242
|
"copyPublishFailed": "Copiée, mais impossible de la publier — elle reste en brouillon.",
|
|
242
243
|
"republishFailed": "Question enregistrée, mais impossible de la publier — cette modification reste masquée tant qu'elle n'est pas republiée.",
|
|
@@ -252,6 +252,7 @@ declare const _default: {
|
|
|
252
252
|
"alreadyInSet": "This question is already in the set",
|
|
253
253
|
"maxDepth": "Cannot add here — maximum depth reached",
|
|
254
254
|
"attachFailed": "Could not add this question — please try again",
|
|
255
|
+
"saveBusy": "Another save is still running — please try again in a moment",
|
|
255
256
|
"copyFailed": "Could not copy this question — please try again",
|
|
256
257
|
"copyPublishFailed": "Copied, but could not be published — it stays a Draft.",
|
|
257
258
|
"republishFailed": "Question saved, but could not be published — this edit stays hidden until it's republished.",
|
|
@@ -237,6 +237,7 @@ declare const _default: {
|
|
|
237
237
|
"alreadyInSet": "Esta pergunta já está no conjunto",
|
|
238
238
|
"maxDepth": "Não é possível adicionar aqui — profundidade máxima atingida",
|
|
239
239
|
"attachFailed": "Não foi possível adicionar esta pergunta — tente novamente",
|
|
240
|
+
"saveBusy": "Um salvamento ainda está em andamento — tente novamente em instantes",
|
|
240
241
|
"copyFailed": "Não foi possível copiar esta pergunta — tente novamente",
|
|
241
242
|
"copyPublishFailed": "Copiada, mas não foi possível publicá-la — permanece como rascunho.",
|
|
242
243
|
"republishFailed": "Pergunta salva, mas não foi possível publicá-la — esta edição ficará oculta até ser republicada.",
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
interface CopyRegistryState {
|
|
14
14
|
copiedIds: Record<string, true>;
|
|
15
15
|
markAsCopy: (identifier: string) => void;
|
|
16
|
+
/** Undo markAsCopy — for a copy that was rolled back and no longer exists. */
|
|
17
|
+
unmarkAsCopy: (identifier: string) => void;
|
|
16
18
|
isCopy: (identifier: string) => boolean;
|
|
17
19
|
}
|
|
18
20
|
export declare const useCopyRegistryStore: import('zustand').UseBoundStore<Omit<import('zustand').StoreApi<CopyRegistryState>, "persist"> & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@project-sunbird/sunbird-questionset-editor-web-component-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.20",
|
|
4
4
|
"description": "React-based QuML QuestionSet Editor — usable as a React component or as a <sb-questionset-editor> web component in any framework.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sunbird",
|