inital commit

This commit is contained in:
2026-01-01 15:25:19 +05:30
commit f0ae49465a
36361 changed files with 4894111 additions and 0 deletions

15
node_modules/jodit/esm/plugins/spellcheck/config.d.ts generated vendored Normal file
View File

@@ -0,0 +1,15 @@
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
declare module 'jodit/config' {
interface Config {
/**
* Options specifies whether the editor is to have its spelling and grammar checked or not
* @see http://www.w3schools.com/tags/att_global_spellcheck.asp
*/
spellcheck: boolean;
}
}
export {};

19
node_modules/jodit/esm/plugins/spellcheck/config.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
import { Icon } from "../../core/ui/icon.js";
import { Config } from "../../config.js";
import spellcheckIcon from "./spellcheck.svg.js";
Config.prototype.spellcheck = false;
Icon.set('spellcheck', spellcheckIcon);
Config.prototype.controls.spellcheck = {
isActive(e) {
return e.o.spellcheck;
},
icon: spellcheckIcon,
name: 'spellcheck',
command: 'toggleSpellcheck',
tooltip: 'Spellcheck'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: 'التدقيق الإملائي'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: 'Kontrola pravopisu'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: 'Rechtschreibprüfung'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: 'Corrección ortográfica'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: 'غلطیابی املایی'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: 'Oikeinkirjoituksen tarkistus'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: 'Vérification Orthographique'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: 'בדיקת איות'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: 'Helyesírás-ellenőrzés'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: 'Spellchecking'
};

View File

@@ -0,0 +1,29 @@
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
import * as ar from "./ar";
import * as cs_cz from "./cs_cz";
import * as de from "./de";
import * as es from "./es";
import * as fa from "./fa";
import * as fi from "./fi";
import * as fr from "./fr";
import * as he from "./he";
import * as hu from "./hu";
import * as id from "./id";
import * as it from "./it";
import * as ja from "./ja";
import * as ko from "./ko";
import * as mn from "./mn";
import * as nl from "./nl";
import * as no from "./no";
import * as pl from "./pl";
import * as pt_br from "./pt_br";
import * as ru from "./ru";
import * as tr from "./tr";
import * as ua from "./ua";
import * as zh_cn from "./zh_cn";
import * as zh_tw from "./zh_tw";
export { ar, cs_cz, de, es, fa, fi, fr, he, hu, id, it, ja, ko, mn, nl, no, pl, pt_br, ru, tr, ua, zh_cn, zh_tw };

View File

@@ -0,0 +1,29 @@
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
import * as ar from "./ar.js";
import * as cs_cz from "./cs_cz.js";
import * as de from "./de.js";
import * as es from "./es.js";
import * as fa from "./fa.js";
import * as fi from "./fi.js";
import * as fr from "./fr.js";
import * as he from "./he.js";
import * as hu from "./hu.js";
import * as id from "./id.js";
import * as it from "./it.js";
import * as ja from "./ja.js";
import * as ko from "./ko.js";
import * as mn from "./mn.js";
import * as nl from "./nl.js";
import * as no from "./no.js";
import * as pl from "./pl.js";
import * as pt_br from "./pt_br.js";
import * as ru from "./ru.js";
import * as tr from "./tr.js";
import * as ua from "./ua.js";
import * as zh_cn from "./zh_cn.js";
import * as zh_tw from "./zh_tw.js";
export { ar, cs_cz, de, es, fa, fi, fr, he, hu, id, it, ja, ko, mn, nl, no, pl, pt_br, ru, tr, ua, zh_cn, zh_tw };

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: 'Controllo ortografico'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: 'スペルチェック'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: '맞춤법 검사'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: 'Дүрмийн алдаа шалгах'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: 'Spellingcontrole'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: 'Stavekontroll'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: 'Sprawdzanie pisowni'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: 'Verificação ortográfica'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: 'Проверка орфографии'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: 'Yazım denetimi'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: 'Перевірка орфографії'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: '拼写检查'
};

View File

@@ -0,0 +1 @@
export let Spellcheck: string;

View File

@@ -0,0 +1,9 @@
"use strict";
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export default {
Spellcheck: '拼字檢查'
};

View File

@@ -0,0 +1,20 @@
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
/**
* [[include:plugins/spellcheck/README.md]]
* @packageDocumentation
* @module plugins/spellcheck
*/
import type { IJodit } from "../../types/index";
import { Plugin } from "../../core/plugin/index";
import "./config";
export declare class spellcheck extends Plugin {
buttons: Plugin['buttons'];
constructor(jodit: IJodit);
protected afterInit(jodit: IJodit): void;
private toggleSpellcheck;
protected beforeDestruct(jodit: IJodit): void;
}

View File

@@ -0,0 +1,50 @@
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
r = Reflect.decorate(decorators, target, key, desc);
else
for (var i = decorators.length - 1; i >= 0; i--)
if (d = decorators[i])
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { autobind } from "../../core/decorators/index.js";
import { extendLang, pluginSystem } from "../../core/global.js";
import { attr } from "../../core/helpers/utils/attr.js";
import { Plugin } from "../../core/plugin/index.js";
import "./config.js";
import * as langs from "./langs/index.js";
export class spellcheck extends Plugin {
constructor(jodit) {
super(jodit);
this.buttons = [
{
group: 'state',
name: 'spellcheck'
}
];
extendLang(langs);
}
afterInit(jodit) {
jodit.e.on('afterInit afterAddPlace prepareWYSIWYGEditor', this.toggleSpellcheck);
this.toggleSpellcheck();
jodit.registerCommand('toggleSpellcheck', () => {
this.jodit.o.spellcheck = !this.jodit.o.spellcheck;
this.toggleSpellcheck();
this.j.e.fire('updateToolbar');
});
}
toggleSpellcheck() {
attr(this.jodit.editor, 'spellcheck', this.jodit.o.spellcheck);
}
beforeDestruct(jodit) { }
}
__decorate([
autobind
], spellcheck.prototype, "toggleSpellcheck", null);
pluginSystem.add('spellcheck', spellcheck);

View File

@@ -0,0 +1 @@
export default "<svg viewBox=\"0 0 48 48\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M24.89 32h4.18L18.86 6h-3.71L4.93 32h4.18l2.25-6h11.29l2.24 6zM12.86 22L17 10.95 21.14 22h-8.28zm30.31 1.17L27 39.34 19.66 32l-2.83 2.83L27 45l19-19-2.83-2.83z\"/> </svg> ";