@ckeditor/ckeditor5-ai 47.0.0-alpha.1 → 47.0.0-alpha.3
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/build/ai.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index-editor.css +59 -38
- package/dist/index.css +77 -39
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +40 -1
- package/lang/translations/ar.po +171 -171
- package/lang/translations/bg.po +155 -155
- package/lang/translations/bn.po +155 -155
- package/lang/translations/ca.po +155 -155
- package/lang/translations/cs.po +159 -159
- package/lang/translations/da.po +155 -155
- package/lang/translations/de.po +155 -155
- package/lang/translations/el.po +155 -155
- package/lang/translations/es.po +155 -155
- package/lang/translations/et.po +155 -155
- package/lang/translations/fi.po +155 -155
- package/lang/translations/fr.po +155 -155
- package/lang/translations/he.po +155 -155
- package/lang/translations/hi.po +155 -155
- package/lang/translations/hu.po +155 -155
- package/lang/translations/id.po +151 -151
- package/lang/translations/it.po +155 -155
- package/lang/translations/ja.po +151 -151
- package/lang/translations/ko.po +151 -151
- package/lang/translations/lt.po +159 -159
- package/lang/translations/lv.po +159 -159
- package/lang/translations/ms.po +151 -151
- package/lang/translations/nl.po +155 -155
- package/lang/translations/no.po +155 -155
- package/lang/translations/pl.po +159 -159
- package/lang/translations/pt-br.po +155 -155
- package/lang/translations/pt.po +155 -155
- package/lang/translations/ro.po +159 -159
- package/lang/translations/ru.po +159 -159
- package/lang/translations/sk.po +159 -159
- package/lang/translations/sr.po +159 -159
- package/lang/translations/sv.po +155 -155
- package/lang/translations/th.po +151 -151
- package/lang/translations/tr.po +155 -155
- package/lang/translations/uk.po +159 -159
- package/lang/translations/vi.po +151 -151
- package/lang/translations/zh-cn.po +151 -151
- package/lang/translations/zh.po +151 -151
- package/package.json +16 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.d.ts +2 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +2 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aiconfig.d.ts +5 -0
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +2 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +2 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +2 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +2 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/utils/common-translations.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.d.ts +31 -0
- package/src/aireviewmode/aireviewcheckdefinitions.js +23 -0
- package/src/aireviewmode/aireviewmode.d.ts +37 -0
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.d.ts +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.d.ts +24 -8
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +12 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.d.ts +2 -19
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.d.ts +2 -5
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +6 -0
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +24 -2
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +4 -0
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +4 -0
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +30 -0
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +12 -2
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -0
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +1 -0
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +4 -0
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -0
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/index.d.ts +3 -2
- package/src/index.js +1 -1
- package/theme/aichat/aichat-controls/aichat-controls-loader.css +1 -1
- package/theme/aichat/aichat-controls.css +4 -0
- package/theme/aichat/aichatfeed.css +10 -2
- package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +19 -0
- package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
- package/theme/aireviewmode/aireviewmode-check-run.css +0 -35
- package/theme/aitabs/tabs/tabbuttonview.css +1 -0
- package/src/aireviewmode/utils/common-translations.d.ts +0 -9
- package/src/aireviewmode/utils/common-translations.js +0 -23
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
9
9
|
import { type View, ListItemView } from 'ckeditor5/src/ui.js';
|
|
10
|
-
import { type AIReviewCheckOptions } from '../../
|
|
10
|
+
import { type AIReviewCheckOptions } from '../../aireviewcheckdefinitions.js';
|
|
11
11
|
export declare class AIReviewModeFormManagerView extends ListItemView {
|
|
12
12
|
value: string;
|
|
13
13
|
argsKey: string | undefined;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x467ca5=_0x120c;(function(_0x2606be,_0x40d166){const _0x5cf065=_0x120c,_0x24f920=_0x2606be();while(!![]){try{const _0x4efa5a=parseInt(_0x5cf065(0x1da))/0x1*(parseInt(_0x5cf065(0x1ce))/0x2)+-parseInt(_0x5cf065(0x1c4))/0x3*(parseInt(_0x5cf065(0x1ca))/0x4)+parseInt(_0x5cf065(0x1c5))/0x5+-parseInt(_0x5cf065(0x1d8))/0x6+-parseInt(_0x5cf065(0x1d0))/0x7+parseInt(_0x5cf065(0x1d2))/0x8*(parseInt(_0x5cf065(0x1c0))/0x9)+parseInt(_0x5cf065(0x1d9))/0xa;if(_0x4efa5a===_0x40d166)break;else _0x24f920['push'](_0x24f920['shift']());}catch(_0x579b29){_0x24f920['push'](_0x24f920['shift']());}}}(_0x1c2e,0x5a428));function _0x1c2e(){const _0x165538=['2080460BcSnRf','bind','ck-ai-review-mode__form-item','ck-form__row_with-submit','dropdown','44bUrdmt','children','formValue','setTemplate','27466CKgejs','resetToDefault','195118FampAn','value','34376LGQhJh','set','locale','add','_formItem','div','4111656LqEFrh','5416690TVcdYa','19aZOgdz','261diKejy','argsKey','formType','ck-reset_all','71031qrXSWt'];_0x1c2e=function(){return _0x165538;};return _0x1c2e();}import{FormRowView as _0x5010b8,ListItemView as _0x27076e}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x5c2917}from'./aireviewmodeformdropdown.js';function _0x120c(_0x3e0a88,_0x59ec3a){const _0x1c2e18=_0x1c2e();return _0x120c=function(_0x120cac,_0x162c7b){_0x120cac=_0x120cac-0x1c0;let _0x6a9e01=_0x1c2e18[_0x120cac];return _0x6a9e01;},_0x120c(_0x3e0a88,_0x59ec3a);}export class AIReviewModeFormManagerView extends _0x27076e{[_0x467ca5(0x1d6)]=null;constructor(_0x5d4d50,_0x20b03a,_0x2cd049){const _0x5e4a3f=_0x467ca5;super(_0x5d4d50),this[_0x5e4a3f(0x1c1)]=_0x20b03a?.[_0x5e4a3f(0x1c1)];if(_0x5e4a3f(0x1c9)===_0x20b03a[_0x5e4a3f(0x1c2)])this[_0x5e4a3f(0x1d6)]=new _0x5c2917(this[_0x5e4a3f(0x1d4)],_0x20b03a);this[_0x5e4a3f(0x1d3)](_0x5e4a3f(0x1d1),''),this[_0x5e4a3f(0x1c6)](_0x5e4a3f(0x1d1))['to'](this[_0x5e4a3f(0x1d6)],_0x5e4a3f(0x1cc));const _0x1bc998=new _0x5010b8(this[_0x5e4a3f(0x1d4)],{'children':[this[_0x5e4a3f(0x1d6)]],'class':[_0x2cd049?_0x5e4a3f(0x1c8):'']});_0x2cd049&&_0x1bc998[_0x5e4a3f(0x1cb)][_0x5e4a3f(0x1d5)](_0x2cd049),this[_0x5e4a3f(0x1cd)]({'tag':_0x5e4a3f(0x1d7),'attributes':{'class':['ck',_0x5e4a3f(0x1c7),_0x5e4a3f(0x1c3)]},'children':[_0x1bc998]});}[_0x467ca5(0x1cf)](){const _0x118902=_0x467ca5;this[_0x118902(0x1d6)][_0x118902(0x1cf)]();}}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x184c(){const _0x1dcd94=['33moboYG','type','4849896WoEjYA','65050RNUdbS','pluginName','resizedTabs','side','remove','overlay','view','693864KYYArM','ai-tabs-sidebar-container-element-not-found','includes','switchSide','context','get','6aiMUgk','isOfficialPlugin','config','render','body','ai-tabs-configuration-not-found','3852290ppXjnZ','9948491pWiFeK','destroy','6MafmBZ','focusTracker','3435363xpqGWF','switchType','bind','ai-tabs-unsupported-ui-side','sidebar','ai.container','2467804EXteiV','container','add','resize','ai-tabs-unsupported-ui-type','AITabs','40rMJXwM','element','showResizeButton','locale','isMaximized','appendChild','fire','1OCaarm','set','isPremiumPlugin','right','custom'];_0x184c=function(){return _0x1dcd94;};return _0x184c();}const _0x2e4b53=_0x4321;(function(_0xb91f82,_0x449c2d){const _0x1371b5=_0x4321,_0x3a4a4b=_0xb91f82();while(!![]){try{const _0x37da6b=-parseInt(_0x1371b5(0xa7))/0x1*(-parseInt(_0x1371b5(0xaf))/0x2)+-parseInt(_0x1371b5(0x89))/0x3*(parseInt(_0x1371b5(0x9a))/0x4)+parseInt(_0x1371b5(0x8f))/0x5+-parseInt(_0x1371b5(0x92))/0x6*(parseInt(_0x1371b5(0x90))/0x7)+-parseInt(_0x1371b5(0x83))/0x8+-parseInt(_0x1371b5(0x94))/0x9*(-parseInt(_0x1371b5(0xa0))/0xa)+-parseInt(_0x1371b5(0xac))/0xb*(-parseInt(_0x1371b5(0xae))/0xc);if(_0x37da6b===_0x449c2d)break;else _0x3a4a4b['push'](_0x3a4a4b['shift']());}catch(_0x459b80){_0x3a4a4b['push'](_0x3a4a4b['shift']());}}}(_0x184c,0xc36b5));import{ContextPlugin as _0x2de6ea,Editor as _0x399e8a}from'ckeditor5/src/core.js';function _0x4321(_0x34bcd3,_0x300bee){const _0x184ccc=_0x184c();return _0x4321=function(_0x43218e,_0x4a77a1){_0x43218e=_0x43218e-0x82;let _0x4f76a6=_0x184ccc[_0x43218e];return _0x4f76a6;},_0x4321(_0x34bcd3,_0x300bee);}import{CKEditorError as _0x90dc30}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x4d351f,AI_TABS_VIEW_SIDES as _0x44045e,AI_TABS_VIEW_TYPES as _0x3b86c1}from'./aitabsmainview.js';export class AITabs extends _0x2de6ea{[_0x2e4b53(0x82)];[_0x2e4b53(0x9b)]=null;[_0x2e4b53(0xa2)]=!0x0;static get[_0x2e4b53(0xb0)](){const _0x13de6b=_0x2e4b53;return _0x13de6b(0x9f);}static get[_0x2e4b53(0x8a)](){return!0x0;}static get[_0x2e4b53(0xa9)](){return!0x0;}constructor(_0x35d985){const _0x4d44f6=_0x2e4b53;super(_0x35d985);const _0x2932b1=this[_0x4d44f6(0x87)][_0x4d44f6(0x8b)][_0x4d44f6(0x88)](_0x4d44f6(0x99));if(this[_0x4d44f6(0xa8)](_0x4d44f6(0xb2),_0x4d44f6(0xaa)),!_0x2932b1)throw new _0x90dc30(_0x4d44f6(0x8e));if(void 0x0!==_0x2932b1[_0x4d44f6(0xa2)]&&(this[_0x4d44f6(0xa2)]=_0x2932b1[_0x4d44f6(0xa2)]),_0x4d44f6(0x98)!==_0x2932b1[_0x4d44f6(0xad)]&&_0x4d44f6(0xb4)!==_0x2932b1[_0x4d44f6(0xad)]||_0x2932b1[_0x4d44f6(0xb2)]&&(this[_0x4d44f6(0xb2)]=_0x2932b1[_0x4d44f6(0xb2)]),_0x4d44f6(0x98)===_0x2932b1[_0x4d44f6(0xad)]){if(this[_0x4d44f6(0x9b)]=_0x2932b1[_0x4d44f6(0xa1)],this[_0x4d44f6(0xa8)](_0x4d44f6(0xad),_0x4d44f6(0x98)),!this[_0x4d44f6(0x9b)])throw new _0x90dc30(_0x4d44f6(0x84));}else _0x4d44f6(0xb4)===_0x2932b1[_0x4d44f6(0xad)]?(this[_0x4d44f6(0x9b)]=document[_0x4d44f6(0x8d)],this[_0x4d44f6(0xa8)](_0x4d44f6(0xad),_0x4d44f6(0xb4))):(this[_0x4d44f6(0x9b)]=null,this[_0x4d44f6(0xa8)](_0x4d44f6(0xad),_0x4d44f6(0xab)));this[_0x4d44f6(0x82)]=new _0x4d351f(this[_0x4d44f6(0x87)][_0x4d44f6(0xa3)],{'side':this[_0x4d44f6(0xb2)],'type':this[_0x4d44f6(0xad)]}),this[_0x4d44f6(0x82)][_0x4d44f6(0x8c)](),this[_0x4d44f6(0x82)][_0x4d44f6(0x96)](_0x4d44f6(0xb2))['to'](this,_0x4d44f6(0xb2)),this[_0x4d44f6(0x82)][_0x4d44f6(0x96)](_0x4d44f6(0xad))['to'](this,_0x4d44f6(0xad)),this[_0x4d44f6(0x9b)]&&this[_0x4d44f6(0x9b)][_0x4d44f6(0xa5)](this[_0x4d44f6(0x82)][_0x4d44f6(0xa1)]),this[_0x4d44f6(0x87)]instanceof _0x399e8a&&this[_0x4d44f6(0x87)]['ui'][_0x4d44f6(0x93)][_0x4d44f6(0x9c)](this[_0x4d44f6(0x82)][_0x4d44f6(0xa1)]);}[_0x2e4b53(0x95)](_0x3b138e){const _0x4c1b38=_0x2e4b53;if(_0x3b138e&&this[_0x4c1b38(0xad)]!==_0x3b138e){if(!_0x3b86c1[_0x4c1b38(0x85)](_0x3b138e))throw new _0x90dc30(_0x4c1b38(0x9e));this[_0x4c1b38(0xad)]=_0x3b138e;}}[_0x2e4b53(0x86)](_0x566cf1){const _0x20e10e=_0x2e4b53;if(_0x566cf1&&this[_0x20e10e(0xb2)]!==_0x566cf1){if(!_0x44045e[_0x20e10e(0x85)](_0x566cf1))throw new _0x90dc30(_0x20e10e(0x97));this[_0x20e10e(0xb2)]=_0x566cf1;}}[_0x2e4b53(0x9d)](){const _0x2af4ce=_0x2e4b53;this[_0x2af4ce(0x82)][_0x2af4ce(0xa4)]=!this[_0x2af4ce(0x82)][_0x2af4ce(0xa4)],this[_0x2af4ce(0xa6)](_0x2af4ce(0xb1),this[_0x2af4ce(0x82)][_0x2af4ce(0xa4)]);}[_0x2e4b53(0x91)](){const _0xf11ed2=_0x2e4b53;super[_0xf11ed2(0x91)](),this[_0xf11ed2(0x82)][_0xf11ed2(0x91)](),this[_0xf11ed2(0x82)][_0xf11ed2(0xa1)]&&this[_0xf11ed2(0x82)][_0xf11ed2(0xa1)][_0xf11ed2(0xb3)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x147a(){const _0x3da94c=['10341JtvKxW','6Kqpfoo','ck-ai-tabs','4474113MOjjqi','80InlDxm','withText','custom','24WLfusg','178752aqvjrD','extendTemplate','add','643XMhjQQ','bindTemplate','ck-ai-tabs__overlay','left','71195nRKTim','sidebar','set','68848JAtSCf','2886530HPKgOW','overlay','type','buttonViews','ck-ai-tabs__sidebar','side','right'];_0x147a=function(){return _0x3da94c;};return _0x147a();}function _0x3113(_0x20f62e,_0x487e88){const _0x147a6f=_0x147a();return _0x3113=function(_0x311367,_0x11d8e1){_0x311367=_0x311367-0x1ae;let _0x47f76f=_0x147a6f[_0x311367];return _0x47f76f;},_0x3113(_0x20f62e,_0x487e88);}const _0x314361=_0x3113;(function(_0x1b0ba3,_0x569bed){const _0x18dbde=_0x3113,_0x32aa98=_0x1b0ba3();while(!![]){try{const _0x5383a5=-parseInt(_0x18dbde(0x1af))/0x1*(parseInt(_0x18dbde(0x1c2))/0x2)+parseInt(_0x18dbde(0x1c6))/0x3+parseInt(_0x18dbde(0x1b6))/0x4+parseInt(_0x18dbde(0x1b3))/0x5*(-parseInt(_0x18dbde(0x1bf))/0x6)+parseInt(_0x18dbde(0x1c1))/0x7+-parseInt(_0x18dbde(0x1c5))/0x8*(parseInt(_0x18dbde(0x1be))/0x9)+-parseInt(_0x18dbde(0x1b7))/0xa;if(_0x5383a5===_0x569bed)break;else _0x32aa98['push'](_0x32aa98['shift']());}catch(_0x17fab6){_0x32aa98['push'](_0x32aa98['shift']());}}}(_0x147a,0x5db98));import{AITabsView as _0x5034e0}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';export const AI_TABS_VIEW_TYPES=[_0x314361(0x1b8),_0x314361(0x1b4),_0x314361(0x1c4)];export const AI_TABS_VIEW_SIDES=[_0x314361(0x1b2),_0x314361(0x1bd)];export class AITabsMainView extends _0x5034e0{constructor(_0x181616,_0x420648={}){const _0x12c878=_0x314361;super(_0x181616,_0x420648),this[_0x12c878(0x1b5)](_0x12c878(0x1b9),_0x420648[_0x12c878(0x1b9)]||_0x12c878(0x1b4)),this[_0x12c878(0x1b5)](_0x12c878(0x1bc),_0x420648[_0x12c878(0x1bc)]||_0x12c878(0x1bd));const _0x2d787d=this[_0x12c878(0x1b0)];this[_0x12c878(0x1c7)]({'attributes':{'class':[_0x12c878(0x1c0),_0x2d787d['if'](_0x12c878(0x1b9),_0x12c878(0x1b1),_0x4681d8=>_0x12c878(0x1b8)===_0x4681d8),_0x2d787d['if'](_0x12c878(0x1b9),_0x12c878(0x1bb),_0x1f56a7=>_0x12c878(0x1b4)===_0x1f56a7)]}}),this[_0x12c878(0x1ba)]['on'](_0x12c878(0x1ae),(_0x26eaaf,_0x3151e4)=>{const _0x30f755=_0x12c878;_0x3151e4[_0x30f755(0x1b5)](_0x30f755(0x1c3),!0x1);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e7db7=_0x414c;(function(_0x134ad6,_0x599daa){const _0x515143=_0x414c,_0x27d151=_0x134ad6();while(!![]){try{const _0x11c6f9=parseInt(_0x515143(0x1b8))/0x1*(parseInt(_0x515143(0x1c6))/0x2)+parseInt(_0x515143(0x1b5))/0x3+-parseInt(_0x515143(0x1f5))/0x4+-parseInt(_0x515143(0x1e1))/0x5+-parseInt(_0x515143(0x1cb))/0x6*(parseInt(_0x515143(0x1eb))/0x7)+-parseInt(_0x515143(0x1fc))/0x8*(-parseInt(_0x515143(0x1d4))/0x9)+-parseInt(_0x515143(0x1cf))/0xa*(-parseInt(_0x515143(0x1c3))/0xb);if(_0x11c6f9===_0x599daa)break;else _0x27d151['push'](_0x27d151['shift']());}catch(_0x845471){_0x27d151['push'](_0x27d151['shift']());}}}(_0x16b7,0x3fc0d));import{View as _0x2f9dfd}from'ckeditor5/src/ui.js';import{toArray as _0x10d248,CKEditorError as _0x1bb0eb}from'ckeditor5/src/utils.js';function _0x16b7(){const _0x37b823=['icon','buttonLabel','733502zGvWvo','render','execute','label','setTemplate','activateTab','_tabs','isOn','show:','ck-ai-tabs_maximized','296876wsaGeH','isMaximized','panel','buttonViews','ck-tabs__panels-container','show','div','2337240LipLep','activateTab:','bind','length','_getButton','top','296499AJJHfF','class','showTab','3279UwdjlN','find','_showPanel','keys','ui-tabsview-tab-not-found','children','getTab','hide:','ck-reset','buttonIcon','fire','3091iCtPre','ck-tabs__buttons-container','button','94VWqdMj','set','ck-tabs_','_showButton','isVisible','18IlHIrC','_setupButton','getIndex','reduce','11930UyOThw','bindTemplate','addTab:','_hidePanel','activeTab','9HCLpZc','createCollection','order','add','hide','side','getTabIds','addTab','ck-tabs__panels-container_','locale','right','content','get','1153120NpSqVF','_getPanel','hideTab','panelViews','ck-tabs__buttons-container_','ck-tabs','_hideButton','left'];_0x16b7=function(){return _0x37b823;};return _0x16b7();}import{TabButtonView as _0x279e56}from'./tabbuttonview.js';import{TabPanelView as _0xfacc47}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';function _0x414c(_0x3f9524,_0x77ee60){const _0x16b7bc=_0x16b7();return _0x414c=function(_0x414cbb,_0x1e64ea){_0x414cbb=_0x414cbb-0x1b4;let _0xf19899=_0x16b7bc[_0x414cbb];return _0xf19899;},_0x414c(_0x3f9524,_0x77ee60);}export const AI_TABS_POSITIONS=[_0x3e7db7(0x1b4),_0x3e7db7(0x1e8),_0x3e7db7(0x1de)];export class AITabsView extends _0x2f9dfd{[_0x3e7db7(0x1f8)]=this[_0x3e7db7(0x1d5)]();[_0x3e7db7(0x1e4)]=this[_0x3e7db7(0x1d5)]();[_0x3e7db7(0x1f1)]=new Map();constructor(_0x38c667,_0x1e6705={}){const _0x632210=_0x3e7db7;super(_0x38c667),this[_0x632210(0x1c7)](_0x632210(0x1b6),void 0x0),this[_0x632210(0x1c7)](_0x632210(0x1d3),null),this[_0x632210(0x1c7)](_0x632210(0x1d9),_0x1e6705[_0x632210(0x1d9)]||_0x632210(0x1b4)),this[_0x632210(0x1c7)](_0x632210(0x1f6),!0x1);const _0x8f769=this[_0x632210(0x1d0)];this[_0x632210(0x1ef)]({'tag':_0x632210(0x1fb),'attributes':{'class':['ck',_0x632210(0x1c0),_0x632210(0x1e6),..._0x10d248(_0x1e6705[_0x632210(0x1b6)]||[]),_0x8f769['to'](_0x632210(0x1d9),_0x1fefc0=>_0x632210(0x1c8)+_0x1fefc0),_0x8f769['to'](_0x632210(0x1b6)),_0x8f769['to'](_0x632210(0x1f6),_0x4aa16e=>_0x4aa16e?_0x632210(0x1f4):'')],'tabindex':'0'},'children':[{'tag':_0x632210(0x1fb),'attributes':{'class':['ck',_0x632210(0x1c4),_0x8f769['to'](_0x632210(0x1d9),_0x1c1941=>_0x632210(0x1e5)+_0x1c1941)]},'children':this[_0x632210(0x1f8)]},{'tag':_0x632210(0x1fb),'attributes':{'class':['ck',_0x632210(0x1f9),_0x8f769['to'](_0x632210(0x1d9),_0x1f5c6a=>_0x632210(0x1dc)+_0x1f5c6a)]},'children':this[_0x632210(0x1e4)]},..._0x10d248(_0x1e6705[_0x632210(0x1bd)]||[])]});}[_0x3e7db7(0x1da)](){const _0x35472d=_0x3e7db7;return[...this[_0x35472d(0x1f1)][_0x35472d(0x1bb)]()];}[_0x3e7db7(0x1be)](_0x82c824){const _0x171fa4=_0x3e7db7,_0x4f4f19=this[_0x171fa4(0x1f1)][_0x171fa4(0x1e0)](_0x82c824);return _0x4f4f19||null;}[_0x3e7db7(0x1db)](_0x30e2d4){const _0x75e04a=_0x3e7db7,_0xc4951d=this[_0x75e04a(0x1cc)]({'id':_0x30e2d4['id'],'label':_0x30e2d4[_0x75e04a(0x1ea)],'icon':_0x30e2d4[_0x75e04a(0x1c1)],'order':_0x30e2d4[_0x75e04a(0x1d6)]}),_0x51d788=new _0xfacc47(this[_0x75e04a(0x1dd)]);return _0x51d788[_0x75e04a(0x1ec)](),_0x30e2d4[_0x75e04a(0x1df)]&&_0x51d788[_0x75e04a(0x1bd)][_0x75e04a(0x1d7)](_0x30e2d4[_0x75e04a(0x1df)]),this[_0x75e04a(0x1e4)][_0x75e04a(0x1d7)](_0x51d788),this[_0x75e04a(0x1f1)][_0x75e04a(0x1c7)](_0x30e2d4['id'],{'button':_0xc4951d,'panel':_0x51d788,'order':void 0x0!==_0x30e2d4[_0x75e04a(0x1d6)]?_0x30e2d4[_0x75e04a(0x1d6)]:null}),this[_0x75e04a(0x1c2)](_0x75e04a(0x1d1)+_0x30e2d4['id'],{'id':_0x30e2d4['id'],'button':_0xc4951d,'panel':_0x51d788}),null===this[_0x75e04a(0x1d3)]?this[_0x75e04a(0x1f0)](_0x30e2d4['id']):this[_0x75e04a(0x1d2)](_0x30e2d4['id']),{'button':_0xc4951d,'panel':_0x51d788};}[_0x3e7db7(0x1f0)](_0x419e5a){const _0x26ae4c=_0x3e7db7;if(null!==_0x419e5a&&!this[_0x26ae4c(0x1be)](_0x419e5a))throw new _0x1bb0eb(_0x26ae4c(0x1bc),{'tabs':this,'tabId':_0x419e5a});this[_0x26ae4c(0x1d3)]!==_0x419e5a&&(this[_0x26ae4c(0x1d3)]&&this[_0x26ae4c(0x1d2)](this[_0x26ae4c(0x1d3)]),this[_0x26ae4c(0x1d3)]=_0x419e5a,_0x419e5a&&this[_0x26ae4c(0x1ba)](_0x419e5a),this[_0x26ae4c(0x1c2)](_0x26ae4c(0x1fd)+_0x419e5a,_0x419e5a));}[_0x3e7db7(0x1b7)](_0x495083){const _0x27bc9c=_0x3e7db7;if(!this[_0x27bc9c(0x1be)](_0x495083))throw new _0x1bb0eb(_0x27bc9c(0x1bc),{'tabs':this,'tabId':_0x495083});this[_0x27bc9c(0x1ba)](_0x495083),this[_0x27bc9c(0x1c9)](_0x495083),this[_0x27bc9c(0x1c2)](_0x27bc9c(0x1f3)+_0x495083,_0x495083);}[_0x3e7db7(0x1e3)](_0x5733db){const _0xe95a0c=_0x3e7db7;if(!this[_0xe95a0c(0x1be)](_0x5733db))throw new _0x1bb0eb(_0xe95a0c(0x1bc),{'tabs':this,'tabId':_0x5733db});const _0xf9830=this[_0xe95a0c(0x1d3)];this[_0xe95a0c(0x1d2)](_0x5733db),this[_0xe95a0c(0x1e7)](_0x5733db);const _0x26030a=this[_0xe95a0c(0x1da)]();_0xf9830===_0x5733db&&_0x26030a[_0xe95a0c(0x1ff)]>0x1&&this[_0xe95a0c(0x1f0)](_0x26030a[_0xe95a0c(0x1b9)](_0x27ab10=>_0x27ab10!==_0x5733db)),this[_0xe95a0c(0x1c2)](_0xe95a0c(0x1bf)+_0x5733db,_0x5733db);}[_0x3e7db7(0x1e2)](_0x2847f8){const _0x518473=_0x3e7db7,_0x519097=this[_0x518473(0x1f1)][_0x518473(0x1e0)](_0x2847f8);return _0x519097?_0x519097[_0x518473(0x1f7)]:null;}[_0x3e7db7(0x1ba)](_0x5e77a5){const _0x14128a=_0x3e7db7;null!==this[_0x14128a(0x1d3)]&&this[_0x14128a(0x1d3)]!==_0x5e77a5||this[_0x14128a(0x1e2)](_0x5e77a5)[_0x14128a(0x1fa)]();}[_0x3e7db7(0x1d2)](_0x41b1f6){const _0x467946=_0x3e7db7,_0x3d1823=this[_0x467946(0x1e2)](_0x41b1f6);_0x3d1823[_0x467946(0x1ca)]&&(this[_0x467946(0x1d3)]===_0x41b1f6&&(this[_0x467946(0x1d3)]=null),_0x3d1823[_0x467946(0x1d8)]());}[_0x3e7db7(0x200)](_0x4dd9e8){const _0x22b7b1=_0x3e7db7,_0x2cf19e=this[_0x22b7b1(0x1f1)][_0x22b7b1(0x1e0)](_0x4dd9e8);return _0x2cf19e?_0x2cf19e[_0x22b7b1(0x1c5)]:null;}[_0x3e7db7(0x1c9)](_0x3db138){const _0x29f742=_0x3e7db7;this[_0x29f742(0x200)](_0x3db138)[_0x29f742(0x1fa)]();}[_0x3e7db7(0x1e7)](_0x39e9ee){const _0x1e759e=_0x3e7db7;this[_0x1e759e(0x200)](_0x39e9ee)[_0x1e759e(0x1d8)]();}[_0x3e7db7(0x1cc)](_0x2f66e4){const _0x31b8da=_0x3e7db7,_0x39629b=new _0x279e56(this[_0x31b8da(0x1dd)],{'side':this[_0x31b8da(0x1d9)]}),_0x329c6f=this[_0x31b8da(0x1f8)];if(_0x39629b[_0x31b8da(0x1c7)]({'label':_0x2f66e4[_0x31b8da(0x1ee)],'icon':_0x2f66e4[_0x31b8da(0x1e9)],'tooltip':!0x0,'withText':!0x0}),_0x39629b[_0x31b8da(0x1fe)](_0x31b8da(0x1f2))['to'](this,_0x31b8da(0x1d3),_0x5e4092=>_0x5e4092===_0x2f66e4['id']),_0x39629b[_0x31b8da(0x1fe)](_0x31b8da(0x1d9))['to'](this,_0x31b8da(0x1d9)),_0x2f66e4[_0x31b8da(0x1d6)]){const _0x56526f=[...this[_0x31b8da(0x1f1)]][_0x31b8da(0x1ce)]((_0x203ccb,_0x31d61d)=>{const _0x1935a3=_0x31b8da,_0x5ed1f0=_0x31d61d[0x0],{order:_0x11b07d}=_0x31d61d[0x1];return!_0x11b07d||_0x11b07d>_0x2f66e4[_0x1935a3(0x1d6)]?_0x203ccb:_0x11b07d>=_0x203ccb[_0x1935a3(0x1d6)]?{'id':_0x5ed1f0,'order':_0x11b07d}:_0x203ccb;},{'id':'','order':0x0}),_0x27d3ee=_0x329c6f[_0x31b8da(0x1cd)](this[_0x31b8da(0x200)](_0x56526f['id']));_0x329c6f[_0x31b8da(0x1d7)](_0x39629b,_0x27d3ee+0x1);}else _0x329c6f[_0x31b8da(0x1d7)](_0x39629b);return _0x39629b['on'](_0x31b8da(0x1ed),()=>{const _0x170776=_0x31b8da;this[_0x170776(0x1f0)](_0x2f66e4['id']);}),_0x39629b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43fc85=_0x17f2;function _0x4c1c(){const _0x22d75c=['143GIwRdm','59535fpvTKE','ck-tab-button_','1094060tkZhbT','2080ISDlVz','bindTemplate','isToggleable','show','class','set','4433464bVIOen','2727914dXaoTX','871368OjaJUX','side','hide','6VcwcEY','top','45KGWbAs','3435268IYcdTf','isVisible','3HoBZjC','ck-tab-button','extendTemplate','856XmEcch'];_0x4c1c=function(){return _0x22d75c;};return _0x4c1c();}(function(_0x3a271b,_0x2f6466){const _0x3afe35=_0x17f2,_0x5d1dfa=_0x3a271b();while(!![]){try{const _0x9c947c=parseInt(_0x3afe35(0x9b))/0x1*(parseInt(_0x3afe35(0xae))/0x2)+parseInt(_0x3afe35(0xab))/0x3*(-parseInt(_0x3afe35(0xa9))/0x4)+parseInt(_0x3afe35(0xb0))/0x5+parseInt(_0x3afe35(0xa6))/0x6*(-parseInt(_0x3afe35(0xa2))/0x7)+-parseInt(_0x3afe35(0xa1))/0x8+parseInt(_0x3afe35(0xa8))/0x9*(parseInt(_0x3afe35(0x9a))/0xa)+parseInt(_0x3afe35(0xaf))/0xb*(parseInt(_0x3afe35(0xa3))/0xc);if(_0x9c947c===_0x2f6466)break;else _0x5d1dfa['push'](_0x5d1dfa['shift']());}catch(_0x54d5cb){_0x5d1dfa['push'](_0x5d1dfa['shift']());}}}(_0x4c1c,0x90279));import{ButtonView as _0x8d24d9}from'ckeditor5/src/ui.js';import{toArray as _0x15f929}from'ckeditor5/src/utils.js';function _0x17f2(_0x2a1a40,_0x276b55){const _0x4c1ce6=_0x4c1c();return _0x17f2=function(_0x17f202,_0x26b703){_0x17f202=_0x17f202-0x99;let _0x5d7e3d=_0x4c1ce6[_0x17f202];return _0x5d7e3d;},_0x17f2(_0x2a1a40,_0x276b55);}import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0x8d24d9{constructor(_0x1da32e,_0x4b05a8={}){const _0x507b3c=_0x17f2;super(_0x1da32e),this[_0x507b3c(0x9d)]=!0x0,this[_0x507b3c(0xa0)](_0x507b3c(0xa4),_0x4b05a8[_0x507b3c(0xa4)]||_0x507b3c(0xa7));const _0x49f956=this[_0x507b3c(0x9c)];this[_0x507b3c(0xad)]({'attributes':{'class':[_0x507b3c(0xac),..._0x15f929(_0x4b05a8[_0x507b3c(0x9f)]||[]),_0x49f956['to'](_0x507b3c(0xa4),_0x4dab77=>_0x507b3c(0x99)+_0x4dab77),_0x49f956['to'](_0x507b3c(0x9f))]}});}[_0x43fc85(0x9e)](){const _0x5d9a11=_0x43fc85;this[_0x5d9a11(0xa0)](_0x5d9a11(0xaa),!0x0);}[_0x43fc85(0xa5)](){const _0x2d6736=_0x43fc85;this[_0x2d6736(0xa0)](_0x2d6736(0xaa),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x14fe82=_0x4d14;(function(_0x258176,_0x428257){const _0x580e6b=_0x4d14,_0x5a3dfc=_0x258176();while(!![]){try{const _0x5969e7=-parseInt(_0x580e6b(0x67))/0x1+parseInt(_0x580e6b(0x6e))/0x2*(-parseInt(_0x580e6b(0x6a))/0x3)+-parseInt(_0x580e6b(0x74))/0x4+parseInt(_0x580e6b(0x6b))/0x5+parseInt(_0x580e6b(0x78))/0x6+-parseInt(_0x580e6b(0x70))/0x7*(parseInt(_0x580e6b(0x77))/0x8)+parseInt(_0x580e6b(0x68))/0x9;if(_0x5969e7===_0x428257)break;else _0x5a3dfc['push'](_0x5a3dfc['shift']());}catch(_0x3491b0){_0x5a3dfc['push'](_0x5a3dfc['shift']());}}}(_0x3e6c,0x1e775));import{View as _0x4876ed}from'ckeditor5/src/ui.js';import{toArray as _0x257606}from'ckeditor5/src/utils.js';export class TabPanelView extends _0x4876ed{[_0x14fe82(0x71)];constructor(_0x3831a2,_0x247804={}){const _0x362efe=_0x14fe82;super(_0x3831a2);const _0x9c338c=this[_0x362efe(0x73)];this[_0x362efe(0x6c)](_0x362efe(0x69),!0x1),this[_0x362efe(0x71)]=this[_0x362efe(0x72)](),this[_0x362efe(0x79)]({'tag':_0x362efe(0x75),'attributes':{'class':[_0x362efe(0x6d),..._0x257606(_0x247804[_0x362efe(0x6f)]||[]),_0x9c338c['to'](_0x362efe(0x6f)),_0x9c338c['if'](_0x362efe(0x69),_0x362efe(0x7a),_0x290dcd=>!_0x290dcd)]},'children':this[_0x362efe(0x71)]});}[_0x14fe82(0x66)](){const _0x56f138=_0x14fe82;this[_0x56f138(0x6c)](_0x56f138(0x69),!0x0);}[_0x14fe82(0x76)](){const _0x918b57=_0x14fe82;this[_0x918b57(0x6c)](_0x918b57(0x69),!0x1);}}function _0x4d14(_0x2e1449,_0x16beb6){const _0x3e6c82=_0x3e6c();return _0x4d14=function(_0x4d14e0,_0x6b46ca){_0x4d14e0=_0x4d14e0-0x66;let _0x5d8d52=_0x3e6c82[_0x4d14e0];return _0x5d8d52;},_0x4d14(_0x2e1449,_0x16beb6);}function _0x3e6c(){const _0x41a666=['2KMGrUG','class','100751zQipmo','children','createCollection','bindTemplate','980024caEGTE','div','hide','128VEBVaS','228174KxRDlS','setTemplate','ck-hidden','show','35478CDcuQB','5016717jVnHSX','isVisible','465807wzzwil','976940VCbBVG','set','ck-tab-panel'];_0x3e6c=function(){return _0x41a666;};return _0x3e6c();}
|
package/src/index.d.ts
CHANGED
|
@@ -35,11 +35,12 @@ export { AIQuickActions, type AIQuickActionsConfig, type AICustomQuickActionDefi
|
|
|
35
35
|
export { AIQuickActionsUI, AIQuickActionType, type AIQuickActionsGroupDefinition, type AIQuickActionDefinition } from './aiquickactions/aiquickactionsui.js';
|
|
36
36
|
export { AIActions } from './aiactions/aiactions.js';
|
|
37
37
|
export { AIBalloon } from './aiballoon/aiballoon.js';
|
|
38
|
-
export { AIReviewMode } from './aireviewmode/aireviewmode.js';
|
|
38
|
+
export { AIReviewMode, type AIReviewModeConfig, type AIReviewModeTranslation } from './aireviewmode/aireviewmode.js';
|
|
39
|
+
export type { AIReviewCheckOptionData, AIReviewCheckOptions, AIReviewCheckDefinition } from './aireviewmode/aireviewcheckdefinitions.js';
|
|
39
40
|
export { AIReviewModeController } from './aireviewmode/aireviewmodecontroller.js';
|
|
40
41
|
export { AIReviewModeEditing, type AIDocumentDataElement, type AIDocumentData, type AIDiffResult, type AIReviewModeChangeRange, type AIReviewModeChangeData } from './aireviewmode/aireviewmodeediting.js';
|
|
41
42
|
export { AIReviewModeUI } from './aireviewmode/aireviewmodeui.js';
|
|
42
|
-
export { AIReviewCheck
|
|
43
|
+
export { AIReviewCheck } from './aireviewmode/model/aireviewcheck.js';
|
|
43
44
|
export { AIReviewCheckResult } from './aireviewmode/model/aireviewcheckresult.js';
|
|
44
45
|
export { AIReviewCheckRun } from './aireviewmode/model/aireviewcheckrun.js';
|
|
45
46
|
export { type AIReviewCheckRunUpdatedEvent } from './aireviewmode/model/aireviewcheckrun.js';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3bd0ec,_0x52e19c){var _0xd2753=_0x1156,_0x4090c4=_0x3bd0ec();while(!![]){try{var _0x29e717=parseInt(_0xd2753(0xdc))/0x1+parseInt(_0xd2753(0xd9))/0x2+parseInt(_0xd2753(0xdd))/0x3*(parseInt(_0xd2753(0xdb))/0x4)+parseInt(_0xd2753(0xde))/0x5+parseInt(_0xd2753(0xe0))/0x6+parseInt(_0xd2753(0xdf))/0x7*(parseInt(_0xd2753(0xd7))/0x8)+-parseInt(_0xd2753(0xd8))/0x9*(parseInt(_0xd2753(0xda))/0xa);if(_0x29e717===_0x52e19c)break;else _0x4090c4['push'](_0x4090c4['shift']());}catch(_0x2d98ab){_0x4090c4['push'](_0x4090c4['shift']());}}}(_0x4799,0x61fd1));export{AIAssistant,getDefaultAICommands}from'./aiassistant/aiassistant.js';export{AIAssistantUI}from'./aiassistant/aiassistantui.js';export{AIAdapter,AIRequestError}from'./aiassistant/adapters/aiadapter.js';export{AITextAdapter}from'./aiassistant/adapters/aitextadapter.js';export{OpenAITextAdapter}from'./aiassistant/adapters/openaitextadapter.js';export{AWSTextAdapter}from'./aiassistant/adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./aiassistant/ui/showaiassistantcommand.js';export{AITabs}from'./aitabs/aitabs.js';export{AIConnector}from'./aicore/aiconnector.js';export{createResizeButton}from'./aicore/utils/createresizebutton.js';export{AIChat}from'./aichat/aichat.js';export{AIChatController}from'./aichat/aichatcontroller.js';export{AIEditing}from'./aicore/aiediting.js';export{AIChatUI}from'./aichat/aichatui.js';export{AIChatHistory}from'./aichathistory/aichathistory.js';export{AIChatHistoryController}from'./aichathistory/aichathistorycontroller.js';export{AIChatHistoryUI}from'./aichathistory/aichathistoryui.js';export{AIQuickActions}from'./aiquickactions/aiquickactions.js';export{AIQuickActionsUI,AIQuickActionType}from'./aiquickactions/aiquickactionsui.js';export{AIActions}from'./aiactions/aiactions.js';export{AIBalloon}from'./aiballoon/aiballoon.js';export{AIReviewMode}from'./aireviewmode/aireviewmode.js';export{AIReviewModeController}from'./aireviewmode/aireviewmodecontroller.js';export{AIReviewModeEditing}from'./aireviewmode/aireviewmodeediting.js';export{AIReviewModeUI}from'./aireviewmode/aireviewmodeui.js';export{AIReviewCheck}from'./aireviewmode/model/aireviewcheck.js';export{AIReviewCheckResult}from'./aireviewmode/model/aireviewcheckresult.js';export{AIReviewCheckRun}from'./aireviewmode/model/aireviewcheckrun.js';function _0x1156(_0x49aff1,_0x4207b2){var _0x479901=_0x4799();return _0x1156=function(_0x1156eb,_0x2b0623){_0x1156eb=_0x1156eb-0xd7;var _0x494e94=_0x479901[_0x1156eb];return _0x494e94;},_0x1156(_0x49aff1,_0x4207b2);}import'./augmentation.js';function _0x4799(){var _0x470625=['110910ErdQPj','8HxFuOk','115893rKyCOP','1230688kGbpBF','1340WUaLbL','458684mpCnjw','607927VCzmgs','3uNEoqh','918765vzGFcU','4106893pocnlw'];_0x4799=function(){return _0x470625;};return _0x4799();}
|
|
@@ -302,10 +302,15 @@
|
|
|
302
302
|
border-radius: 50px;
|
|
303
303
|
background-color: var(--ck-ai-chat-feed-item-color-background);
|
|
304
304
|
|
|
305
|
+
&:hover {
|
|
306
|
+
background-color: var(--ck-ai-chat-button-active-background-color);
|
|
307
|
+
}
|
|
308
|
+
|
|
305
309
|
&:focus, &:active {
|
|
306
310
|
box-shadow: none;
|
|
307
311
|
}
|
|
308
312
|
|
|
313
|
+
& .ck-ai-web-source__image,
|
|
309
314
|
& .ck-button__icon {
|
|
310
315
|
margin-right: var(--ck-spacing-medium);
|
|
311
316
|
color: var(--ck-ai-button-primary-background-color);
|
|
@@ -314,11 +319,10 @@
|
|
|
314
319
|
}
|
|
315
320
|
|
|
316
321
|
& .ck-button__label {
|
|
317
|
-
/* display: inline-block; */
|
|
318
322
|
white-space: nowrap;
|
|
319
323
|
overflow: hidden;
|
|
320
324
|
text-overflow: ellipsis;
|
|
321
|
-
max-width:
|
|
325
|
+
max-width: 75px;
|
|
322
326
|
font-size: 10px;
|
|
323
327
|
font-weight: 700;
|
|
324
328
|
line-height: 1.4em;
|
|
@@ -362,6 +366,10 @@
|
|
|
362
366
|
& .ck-button.ck-list-item-button {
|
|
363
367
|
padding-top: 0;
|
|
364
368
|
padding-bottom: 0;
|
|
369
|
+
|
|
370
|
+
&:hover:not(.ck-disabled) {
|
|
371
|
+
background-color: var(--ck-ai-button-secondary-hover-background-color);
|
|
372
|
+
}
|
|
365
373
|
}
|
|
366
374
|
}
|
|
367
375
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
.ck.ck-balloon-panel {
|
|
11
|
+
& > .ck-ai-review-mode-balloon-panel-suggestion {
|
|
12
|
+
padding: var(--ck-spacing-standard);
|
|
13
|
+
width: 300px;
|
|
14
|
+
|
|
15
|
+
& .ck-suggestion-marker {
|
|
16
|
+
white-space: break-spaces;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
.ck-ai-review-mode__check-run-result {
|
|
11
|
+
& > .ck-ai-review-mode__check-run-result-response {
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
|
|
14
|
+
& > * {
|
|
15
|
+
white-space: normal;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
img {
|
|
19
|
+
max-width: 125px;
|
|
20
|
+
max-height: 125px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
& > .ck-ai-review-mode__check-run-result-footer {
|
|
25
|
+
margin-top: var(--ck-spacing-standard);
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
align-items: center;
|
|
29
|
+
gap: var(--ck-spacing-standard);
|
|
30
|
+
|
|
31
|
+
& > .ck-ai-review-mode__check-run-result-action-buttons {
|
|
32
|
+
display: flex;
|
|
33
|
+
gap: var(--ck-spacing-standard);
|
|
34
|
+
flex-grow: 1;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
& .ck.ck-button.ck-ai-review-mode__check-run-result-info-button {
|
|
38
|
+
--ck-icon-size: 16px;
|
|
39
|
+
--ck-ui-component-min-height: 1.75em;
|
|
40
|
+
|
|
41
|
+
max-height: var(--ck-ui-component-min-height);
|
|
42
|
+
margin-left: auto;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -57,41 +57,6 @@
|
|
|
57
57
|
box-shadow: 3px 0px 0px 0px var(--ck-ai-check-list-item-active-border-color) inset;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
& > .ck-ai-review-mode__check-run-result-response {
|
|
61
|
-
overflow: hidden;
|
|
62
|
-
|
|
63
|
-
& > * {
|
|
64
|
-
white-space: normal;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
img {
|
|
68
|
-
max-width: 125px;
|
|
69
|
-
max-height: 125px;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
& > .ck-ai-review-mode__check-run-result-footer {
|
|
74
|
-
margin-top: var(--ck-spacing-standard);
|
|
75
|
-
display: flex;
|
|
76
|
-
justify-content: space-between;
|
|
77
|
-
align-items: center;
|
|
78
|
-
gap: var(--ck-spacing-standard);
|
|
79
|
-
|
|
80
|
-
& > .ck-ai-review-mode__check-run-result-action-buttons {
|
|
81
|
-
display: flex;
|
|
82
|
-
gap: var(--ck-spacing-standard);
|
|
83
|
-
flex-grow: 1;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
& .ck.ck-button.ck-ai-review-mode__check-run-result-info-button {
|
|
87
|
-
--ck-icon-size: 16px;
|
|
88
|
-
--ck-ui-component-min-height: 1.75em;
|
|
89
|
-
|
|
90
|
-
max-height: var(--ck-ui-component-min-height);
|
|
91
|
-
margin-left: auto;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
60
|
&.ck-ai-review-mode__check-run-result_removing {
|
|
96
61
|
animation: ck-ai-check-run-item-remove 0.2s forwards;
|
|
97
62
|
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module ai/aireviewmode/utils/common-translations
|
|
7
|
-
*/
|
|
8
|
-
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
9
|
-
export declare function getTranslation(locale: Locale, id: string): string;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export function getTranslation(_0x3bbd43,_0x5248ee){const {t:t}=_0x3bbd43;switch(_0x5248ee){case'AI_REVIEW_MODE_STOP_GENERATING':return t({'id':'AI_REVIEW_MODE_STOP_GENERATING','string':'Stop\x20generating'});case'AI_REVIEW_MODE_HIDE_CHANGES':return t({'id':'AI_REVIEW_MODE_HIDE_CHANGES','string':'Hide\x20changes'});case'AI_REVIEW_MODE_SHOW_CHANGES':return t({'id':'AI_REVIEW_MODE_SHOW_CHANGES','string':'Show\x20changes'});case'AI_REVIEW_MODE_ACCEPT_ALL':return t({'id':'AI_REVIEW_MODE_ACCEPT_ALL','string':'Accept\x20all'});case'AI_REVIEW_MODE_EXIT_REVIEW':return t({'id':'AI_REVIEW_MODE_EXIT_REVIEW','string':'Exit\x20review'});case'AI_REVIEW_MODE_ACCEPT_CHANGE':return t({'id':'AI_REVIEW_MODE_ACCEPT_CHANGE','string':'Accept'});case'AI_REVIEW_MODE_DISMISS_CHANGE':return t({'id':'AI_REVIEW_MODE_DISMISS_CHANGE','string':'Dismiss'});case'AI_REVIEW_MODE_LEARN_MORE':return t({'id':'AI_REVIEW_MODE_LEARN_MORE','string':'Learn\x20more'});case'AI_REVIEW_MODE_COMPLETED_TEXT':return t({'id':'AI_REVIEW_MODE_COMPLETED_TEXT','string':'There\x27s\x20nothing\x20left\x20to\x20review.\x20You\x20can\x20now\x20return\x20to\x20the\x20command\x20list.'});case'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL':return t({'id':'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','string':'Finish\x20Review'});case'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE':return t({'id':'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','string':'Review\x20complete.\x20Finish\x20when\x20ready.'});case'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE':return t({'id':'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20the\x20whole\x20review\x20properly.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE':return t({'id':'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE','string':'Not\x20everything\x20went\x20through,\x20but\x20the\x20completed\x20items\x20are\x20listed\x20below.'});case'AI_REVIEW_MODE':return t({'id':'AI_REVIEW_MODE','string':'Review\x20Mode'});default:return _0x5248ee;}}
|