@ckeditor/ckeditor5-ai 47.0.0 → 47.1.0-alpha.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/build/ai.js +1 -1
- package/ckeditor5-metadata.json +9 -2
- package/dist/index-editor.css +119 -34
- package/dist/index.css +144 -35
- 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 +5 -0
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -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.d.ts +3 -3
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +6 -0
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.d.ts +2 -4
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.d.ts +11 -4
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.d.ts +9 -0
- 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.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 +4 -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.d.ts +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.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -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.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.d.ts +2 -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.d.ts +2 -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/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +3 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- 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 +31 -3
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +5 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +7 -5
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +3 -0
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +4 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +27 -3
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +13 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.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.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.d.ts +4 -0
- 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/errors.d.ts +5 -0
- package/src/errors.js +23 -0
- package/src/index.js +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +4 -0
- package/theme/aichat/aichat-controls/model-unavailable-message.css +39 -0
- package/theme/aichat/aichat-controls.css +1 -0
- package/theme/aichat/aichat.css +0 -1
- package/theme/aichat/aichatfeed.css +9 -0
- package/theme/aichat/aisuggestioncontainer.css +7 -1
- package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +4 -0
- package/theme/aireviewmode/aireviewmode-check-list.css +4 -0
- package/theme/aireviewmode/aireviewmode-check-run-result.css +25 -19
- package/theme/aireviewmode/aireviewmode-check-run.css +35 -7
- package/theme/aitabs/aitabsview.css +2 -2
- package/theme/aitabs/tabs/tabsview.css +13 -3
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +0 -16
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +0 -23
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3f6c18=_0x142f;(function(_0x2eeb1c,_0x2fbf46){var _0x114404=_0x142f,_0x4b8555=_0x2eeb1c();while(!![]){try{var _0x43ef29=-parseInt(_0x114404(0x154))/0x1*(parseInt(_0x114404(0x15a))/0x2)+-parseInt(_0x114404(0x155))/0x3+parseInt(_0x114404(0x165))/0x4+parseInt(_0x114404(0x14e))/0x5*(-parseInt(_0x114404(0x15c))/0x6)+parseInt(_0x114404(0x15f))/0x7+-parseInt(_0x114404(0x14b))/0x8+parseInt(_0x114404(0x151))/0x9;if(_0x43ef29===_0x2fbf46)break;else _0x4b8555['push'](_0x4b8555['shift']());}catch(_0x44e542){_0x4b8555['push'](_0x4b8555['shift']());}}}(_0x463f,0xea045));import{View as _0x20b788,FormHeaderView as _0xb40e6e}from'ckeditor5/src/ui.js';import{IconAIReview as _0x36a73f}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x19b3f0}from'./aireviewmodereviewchecklistview.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0xec8bba}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x19480e}from'./aireviewmodereviewcheckresultsview.js';function _0x463f(){var _0x112790=['24545781AytuqV','showGeneralErrorMessage','showReviewCompletedView','125ZQjFyC','4186278tgraFd','ck-ai-review-mode','unmodified','resetAllParameterizedChecks','AI_REVIEW_MODE','13070mWDIZR','div','24IXihTC','showReviewCheckListView','ck-rounded-corners','699412WCckje','isLoading','finishReview','showActionsWhenResultIsReady','addResult','delegate','5343944ItjcEH','showNoChangesView','ck-reset_all','isResultReady','clearResults','resetErrorState','reviewModeHeader','viewType','completed','showChunkErrorMessage','ck-ai-header\x20ck-ai-header_review-mode','isVisible','reviewCheckResultsView','showReviewCheckResultsView','showChunkErrorView','hideActionsWhenResultIsReady','set','addCheckRunResult','reviewCompletedView','7381192MVEuWJ','setTemplate','ltr','87160gTmRGD','showGeneralErrorView','reviewCheckListView'];_0x463f=function(){return _0x112790;};return _0x463f();}import{AIReviewModeReviewCompletedView as _0xdd0161}from'./aireviewmodereviewcompletedview.js';function _0x142f(_0x3a7e12,_0x54ef70){var _0x463f37=_0x463f();return _0x142f=function(_0x142f2a,_0x2e224e){_0x142f2a=_0x142f2a-0x149;var _0x2651c4=_0x463f37[_0x142f2a];return _0x2651c4;},_0x142f(_0x3a7e12,_0x54ef70);}import{getTranslation as _0x4cf398}from'../../aicore/utils/common-translations.js';export class AIReviewModeView extends _0x20b788{[_0x3f6c18(0x16b)];[_0x3f6c18(0x150)];[_0x3f6c18(0x171)];[_0x3f6c18(0x14a)];constructor(_0x30e29d){var _0x394d9f=_0x3f6c18;super(_0x30e29d),this[_0x394d9f(0x16b)]=new _0xb40e6e(_0x30e29d,{'label':_0x4cf398(_0x30e29d,_0x394d9f(0x159)),'icon':_0x36a73f,'class':_0x394d9f(0x16f)}),this[_0x394d9f(0x150)]=new _0x19b3f0(_0x30e29d),this[_0x394d9f(0x150)][_0x394d9f(0x164)](..._0xec8bba)['to'](this),this[_0x394d9f(0x171)]=new _0x19480e(_0x30e29d),this[_0x394d9f(0x171)][_0x394d9f(0x164)](..._0xec8bba)['to'](this),this[_0x394d9f(0x14a)]=new _0xdd0161(_0x30e29d),this[_0x394d9f(0x14a)][_0x394d9f(0x164)](_0x394d9f(0x161))['to'](this),this[_0x394d9f(0x150)][_0x394d9f(0x175)](_0x394d9f(0x170),!0x1),this[_0x394d9f(0x171)][_0x394d9f(0x175)](_0x394d9f(0x170),!0x1),this[_0x394d9f(0x171)][_0x394d9f(0x175)](_0x394d9f(0x160),!0x1),this[_0x394d9f(0x171)][_0x394d9f(0x175)](_0x394d9f(0x168),!0x1),this[_0x394d9f(0x14a)][_0x394d9f(0x175)](_0x394d9f(0x170),!0x1),this[_0x394d9f(0x14c)]({'tag':_0x394d9f(0x15b),'attributes':{'class':['ck',_0x394d9f(0x167),_0x394d9f(0x156),_0x394d9f(0x15e)],'dir':_0x394d9f(0x14d)},'children':[this[_0x394d9f(0x16b)],this[_0x394d9f(0x150)],this[_0x394d9f(0x171)],this[_0x394d9f(0x14a)]]});}[_0x3f6c18(0x15d)](){var _0x21c3bd=_0x3f6c18;this[_0x21c3bd(0x150)][_0x21c3bd(0x158)](),this[_0x21c3bd(0x150)][_0x21c3bd(0x175)](_0x21c3bd(0x170),!0x0),this[_0x21c3bd(0x171)][_0x21c3bd(0x175)](_0x21c3bd(0x170),!0x1),this[_0x21c3bd(0x14a)][_0x21c3bd(0x175)](_0x21c3bd(0x170),!0x1);}[_0x3f6c18(0x172)](){var _0x2645d6=_0x3f6c18;this[_0x2645d6(0x174)](),this[_0x2645d6(0x171)][_0x2645d6(0x16a)](),this[_0x2645d6(0x150)][_0x2645d6(0x175)](_0x2645d6(0x170),!0x1),this[_0x2645d6(0x171)][_0x2645d6(0x175)](_0x2645d6(0x170),!0x0),this[_0x2645d6(0x171)][_0x2645d6(0x169)](),this[_0x2645d6(0x171)][_0x2645d6(0x175)](_0x2645d6(0x160),!0x0);}[_0x3f6c18(0x149)](_0x53e7ac){var _0x2dc247=_0x3f6c18;this[_0x2dc247(0x171)][_0x2dc247(0x163)](_0x53e7ac),this[_0x2dc247(0x171)][_0x2dc247(0x175)](_0x2dc247(0x160),!0x1);}[_0x3f6c18(0x153)](){var _0x229efe=_0x3f6c18;this[_0x229efe(0x150)][_0x229efe(0x175)](_0x229efe(0x170),!0x1),this[_0x229efe(0x171)][_0x229efe(0x175)](_0x229efe(0x170),!0x1),this[_0x229efe(0x14a)][_0x229efe(0x175)](_0x229efe(0x16c),_0x229efe(0x16d)),this[_0x229efe(0x14a)][_0x229efe(0x175)](_0x229efe(0x170),!0x0);}[_0x3f6c18(0x162)](){var _0x5cd2e3=_0x3f6c18;this[_0x5cd2e3(0x171)][_0x5cd2e3(0x168)]=!0x0;}[_0x3f6c18(0x166)](){var _0x541c76=_0x3f6c18;this[_0x541c76(0x150)][_0x541c76(0x175)](_0x541c76(0x170),!0x1),this[_0x541c76(0x171)][_0x541c76(0x175)](_0x541c76(0x170),!0x1),this[_0x541c76(0x14a)][_0x541c76(0x175)](_0x541c76(0x16c),_0x541c76(0x157)),this[_0x541c76(0x14a)][_0x541c76(0x175)](_0x541c76(0x170),!0x0);}[_0x3f6c18(0x174)](){var _0x34fbc2=_0x3f6c18;this[_0x34fbc2(0x171)][_0x34fbc2(0x168)]=!0x1;}[_0x3f6c18(0x14f)](){var _0x87e65a=_0x3f6c18;this[_0x87e65a(0x171)][_0x87e65a(0x175)](_0x87e65a(0x160),!0x1),this[_0x87e65a(0x162)](),this[_0x87e65a(0x171)][_0x87e65a(0x152)]();}[_0x3f6c18(0x173)](){var _0xe61f20=_0x3f6c18;this[_0xe61f20(0x171)][_0xe61f20(0x175)](_0xe61f20(0x160),!0x1),this[_0xe61f20(0x162)](),this[_0xe61f20(0x171)][_0xe61f20(0x16e)]();}}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* @module ai/aireviewmode/ui/form/
|
|
6
|
+
* @module ai/aireviewmode/ui/form/aireviewmodeformdropdown
|
|
7
7
|
*/
|
|
8
8
|
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
9
9
|
import { View } from 'ckeditor5/src/ui.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1f40fc=_0x1adf;(function(_0x4ac6d5,_0x538bdc){const _0x4f823a=_0x1adf,_0x4f6e47=_0x4ac6d5();while(!![]){try{const _0x30ee88=parseInt(_0x4f823a(0xe3))/0x1+-parseInt(_0x4f823a(0xc4))/0x2*(-parseInt(_0x4f823a(0xe0))/0x3)+parseInt(_0x4f823a(0xc3))/0x4*(parseInt(_0x4f823a(0xdd))/0x5)+-parseInt(_0x4f823a(0xbf))/0x6+-parseInt(_0x4f823a(0xd5))/0x7+-parseInt(_0x4f823a(0xde))/0x8*(parseInt(_0x4f823a(0xcb))/0x9)+parseInt(_0x4f823a(0xcd))/0xa;if(_0x30ee88===_0x538bdc)break;else _0x4f6e47['push'](_0x4f6e47['shift']());}catch(_0x3a3087){_0x4f6e47['push'](_0x4f6e47['shift']());}}}(_0x512e,0x23afb));import{Collection as _0x2e17c2}from'ckeditor5/src/utils.js';function _0x1adf(_0x260e70,_0x31a9ca){const _0x512e98=_0x512e();return _0x1adf=function(_0x1adf98,_0x171fea){_0x1adf98=_0x1adf98-0xbc;let _0x4c968f=_0x512e98[_0x1adf98];return _0x4c968f;},_0x1adf(_0x260e70,_0x31a9ca);}function _0x512e(){const _0x509e7d=['label','resetToDefault','bind','default','length','20ToumnA','184NtGHiG','_dropdownView','9123QugqTY','find','button','17324JBfYdL','_defaultValue','bindTemplate','add','source','formValue','1522518XFFHRc','listenTo','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','locale','98488erRnQe','2hJylaM','stopPropagation','_prepareListOptions','ck-ai-review-mode__check-list-item-parameterized-form-element','extendTemplate','isOn','_defaultLabel','12303WLCkhm','data','5330340nXFRqC','buttonView','model','execute','ck-reset_all','setTemplate','set','menu','1543654vnwfys','menuitemradio','div'];_0x512e=function(){return _0x509e7d;};return _0x512e();}import{View as _0x7e4d5e,createDropdown as _0x26e4a1,addListToDropdown as _0x249fe6,UIModel as _0x3e8a41}from'ckeditor5/src/ui.js';export class AIReviewModeFormDropdownView extends _0x7e4d5e{[_0x1f40fc(0xdf)];[_0x1f40fc(0xe4)];[_0x1f40fc(0xca)];constructor(_0x25cb21,_0x493670){const _0x2c82db=_0x1f40fc;super(_0x25cb21),this[_0x2c82db(0xe4)]=_0x493670[_0x2c82db(0xdb)]||(_0x493670[_0x2c82db(0xcc)][_0x2c82db(0xdc)]>0x0?_0x493670[_0x2c82db(0xcc)][0x0]['id']:''),this[_0x2c82db(0xca)]=_0x493670[_0x2c82db(0xcc)][_0x2c82db(0xe1)](_0x25c2dd=>_0x25c2dd['id']===this[_0x2c82db(0xe4)])?.[_0x2c82db(0xd8)]||'',this[_0x2c82db(0xd3)](_0x2c82db(0xbe),''),this[_0x2c82db(0xdf)]=_0x26e4a1(this[_0x2c82db(0xc2)]);const _0x55f8d1=this[_0x2c82db(0xc6)](_0x493670[_0x2c82db(0xcc)]);_0x249fe6(this[_0x2c82db(0xdf)],_0x55f8d1,{'role':_0x2c82db(0xd4),'ariaLabel':_0x493670[_0x2c82db(0xd8)]}),this[_0x2c82db(0xdf)][_0x2c82db(0xce)][_0x2c82db(0xd3)]({'label':this[_0x2c82db(0xca)],'withText':!0x0}),this[_0x2c82db(0xdf)][_0x2c82db(0xc8)]({'on':{'click':this[_0x2c82db(0xe5)]['to'](_0x318d3c=>{const _0xa413be=_0x2c82db;_0x318d3c[_0xa413be(0xc5)]();})}}),this[_0x2c82db(0xc0)](this[_0x2c82db(0xdf)],_0x2c82db(0xd0),_0x242586=>{const _0xbec1a=_0x2c82db;this[_0xbec1a(0xbe)]=_0x242586[_0xbec1a(0xbd)][_0xbec1a(0xcf)]['id'],this[_0xbec1a(0xdf)][_0xbec1a(0xce)][_0xbec1a(0xd8)]=_0x242586[_0xbec1a(0xbd)][_0xbec1a(0xcf)][_0xbec1a(0xd8)];}),this[_0x2c82db(0xd2)]({'tag':_0x2c82db(0xd7),'attributes':{'class':['ck',_0x2c82db(0xd1),_0x2c82db(0xc7),_0x2c82db(0xc1)]},'children':[this[_0x2c82db(0xdf)]]});}[_0x1f40fc(0xd9)](){const _0x8625dc=_0x1f40fc;this[_0x8625dc(0xbe)]=this[_0x8625dc(0xe4)],this[_0x8625dc(0xdf)][_0x8625dc(0xce)][_0x8625dc(0xd8)]=this[_0x8625dc(0xca)];}[_0x1f40fc(0xc6)](_0x460bd2=[]){const _0x18305d=_0x1f40fc,_0x46e1f3=new _0x2e17c2();this[_0x18305d(0xd9)]();for(const _0x1bcc4f of _0x460bd2){const _0x1c177d=new _0x3e8a41({'label':_0x1bcc4f[_0x18305d(0xd8)],'withText':!0x0,'role':_0x18305d(0xd6),'id':_0x1bcc4f['id'],'model':_0x1bcc4f});_0x1c177d[_0x18305d(0xda)](_0x18305d(0xc9))['to'](this,_0x18305d(0xbe),_0x1c6a80=>_0x1c6a80===_0x1c177d['id']);const _0x27e547={'type':_0x18305d(0xe2),'model':_0x1c177d};_0x46e1f3[_0x18305d(0xbc)](_0x27e547);}return _0x46e1f3;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c7629=_0x46ce;(function(_0x3525bc,_0x2b8cb5){const _0x3abf86=_0x46ce,_0x1bccce=_0x3525bc();while(!![]){try{const _0x197ade=-parseInt(_0x3abf86(0x18c))/0x1+-parseInt(_0x3abf86(0x19b))/0x2+parseInt(_0x3abf86(0x192))/0x3*(-parseInt(_0x3abf86(0x1a2))/0x4)+-parseInt(_0x3abf86(0x19d))/0x5+parseInt(_0x3abf86(0x19e))/0x6*(-parseInt(_0x3abf86(0x190))/0x7)+parseInt(_0x3abf86(0x193))/0x8+parseInt(_0x3abf86(0x1a3))/0x9;if(_0x197ade===_0x2b8cb5)break;else _0x1bccce['push'](_0x1bccce['shift']());}catch(_0x42cd65){_0x1bccce['push'](_0x1bccce['shift']());}}}(_0x537d,0xe4dff));import{FormRowView as _0x324b1d,ListItemView as _0x35db24}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x22e6d7}from'./aireviewmodeformdropdown.js';function _0x537d(){const _0x54fcdf=['690DOUFeu','8135648OqOpvI','formType','children','setTemplate','ck-ai-review-mode__form-item','add','ck-reset_all','_formItem','3488376NPMThZ','value','2752200rgKqib','2101926oFozuJ','resetToDefault','argsKey','bind','10060pTksgB','45022878FcZPMt','locale','set','1508307vELgjy','div','dropdown','formValue','14ZzeuYd','ck-form__row_with-submit'];_0x537d=function(){return _0x54fcdf;};return _0x537d();}function _0x46ce(_0x4aa63d,_0x2a40dd){const _0x537d9c=_0x537d();return _0x46ce=function(_0x46ce61,_0x451d6c){_0x46ce61=_0x46ce61-0x18a;let _0x85ac90=_0x537d9c[_0x46ce61];return _0x85ac90;},_0x46ce(_0x4aa63d,_0x2a40dd);}export class AIReviewModeFormManagerView extends _0x35db24{[_0x3c7629(0x19a)]=null;constructor(_0x3fd9c3,_0xa1110,_0x48e144){const _0x26a951=_0x3c7629;super(_0x3fd9c3),this[_0x26a951(0x1a0)]=_0xa1110?.[_0x26a951(0x1a0)];if(_0x26a951(0x18e)===_0xa1110[_0x26a951(0x194)])this[_0x26a951(0x19a)]=new _0x22e6d7(this[_0x26a951(0x18a)],_0xa1110);this[_0x26a951(0x18b)](_0x26a951(0x19c),''),this[_0x26a951(0x1a1)](_0x26a951(0x19c))['to'](this[_0x26a951(0x19a)],_0x26a951(0x18f));const _0x410c64=new _0x324b1d(this[_0x26a951(0x18a)],{'children':[this[_0x26a951(0x19a)]],'class':[_0x48e144?_0x26a951(0x191):'']});_0x48e144&&_0x410c64[_0x26a951(0x195)][_0x26a951(0x198)](_0x48e144),this[_0x26a951(0x196)]({'tag':_0x26a951(0x18d),'attributes':{'class':['ck',_0x26a951(0x197),_0x26a951(0x199)]},'children':[_0x410c64]});}[_0x3c7629(0x19f)](){const _0x273670=_0x3c7629;this[_0x273670(0x19a)][_0x273670(0x19f)]();}}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ebfb8=_0x1040;(function(_0x3ee80f,_0x38a845){const _0x412016=_0x1040,_0x536462=_0x3ee80f();while(!![]){try{const _0x5627be=-parseInt(_0x412016(0x124))/0x1*(-parseInt(_0x412016(0x131))/0x2)+-parseInt(_0x412016(0x127))/0x3+-parseInt(_0x412016(0x144))/0x4*(parseInt(_0x412016(0x122))/0x5)+parseInt(_0x412016(0x119))/0x6*(-parseInt(_0x412016(0x13f))/0x7)+parseInt(_0x412016(0x142))/0x8*(parseInt(_0x412016(0x115))/0x9)+-parseInt(_0x412016(0x117))/0xa*(parseInt(_0x412016(0x120))/0xb)+-parseInt(_0x412016(0x130))/0xc*(-parseInt(_0x412016(0x134))/0xd);if(_0x5627be===_0x38a845)break;else _0x536462['push'](_0x536462['shift']());}catch(_0xe619e3){_0x536462['push'](_0x536462['shift']());}}}(_0x548f,0x2268f));function _0x548f(){const _0xec444a=['context','custom','render','config','visibleByDefault','side','7FYOTTW','ai-tabs-unsupported-ui-type','switchType','1881856cDyVok','body','32756TmBxty','ai-tabs-sidebar-container-element-not-found','isMaximized','add','remove','isPremiumPlugin','9evPrnC','pluginName','23390XTtkET','destroy','1391754BfNjeM','ai-tabs-unsupported-ui-side','bind','right','container','focusTracker','includes','528cQrgtm','ai.container','170aIQskS','set','91327bGnRGk','resize','showResizeButton','589623qCSeLp','element','switchSide','sidebar','ai-tabs-configuration-not-found','type','get','overlay','fire','420fJvVRe','4VJnWqX','AITabs','locale','201409gSmZQt','view','resizedTabs','isOfficialPlugin','appendChild'];_0x548f=function(){return _0xec444a;};return _0x548f();}import{ContextPlugin as _0x261421,Editor as _0x48ea8f}from'ckeditor5/src/core.js';import{CKEditorError as _0x1e47c7}from'ckeditor5/src/utils.js';function _0x1040(_0x160d31,_0x348218){const _0x548f50=_0x548f();return _0x1040=function(_0x104002,_0x4440d1){_0x104002=_0x104002-0x115;let _0x31454b=_0x548f50[_0x104002];return _0x31454b;},_0x1040(_0x160d31,_0x348218);}import{AITabsMainView as _0x420eb5,AI_TABS_VIEW_SIDES as _0x10c32e,AI_TABS_VIEW_TYPES as _0x24985c}from'./aitabsmainview.js';export class AITabs extends _0x261421{[_0x1ebfb8(0x135)];[_0x1ebfb8(0x11d)]=null;[_0x1ebfb8(0x126)]=!0x0;static get[_0x1ebfb8(0x116)](){const _0x16c6db=_0x1ebfb8;return _0x16c6db(0x132);}static get[_0x1ebfb8(0x137)](){return!0x0;}static get[_0x1ebfb8(0x149)](){return!0x0;}constructor(_0x476d5d){const _0x19ca4b=_0x1ebfb8;super(_0x476d5d);const _0x4b98a7=this[_0x19ca4b(0x139)][_0x19ca4b(0x13c)][_0x19ca4b(0x12d)](_0x19ca4b(0x121));if(this[_0x19ca4b(0x123)](_0x19ca4b(0x13e),_0x19ca4b(0x11c)),!_0x4b98a7)throw new _0x1e47c7(_0x19ca4b(0x12b));if(void 0x0!==_0x4b98a7[_0x19ca4b(0x126)]&&(this[_0x19ca4b(0x126)]=_0x4b98a7[_0x19ca4b(0x126)]),_0x19ca4b(0x12a)!==_0x4b98a7[_0x19ca4b(0x12c)]&&_0x19ca4b(0x12e)!==_0x4b98a7[_0x19ca4b(0x12c)]||_0x4b98a7[_0x19ca4b(0x13e)]&&(this[_0x19ca4b(0x13e)]=_0x4b98a7[_0x19ca4b(0x13e)]),_0x19ca4b(0x12a)===_0x4b98a7[_0x19ca4b(0x12c)]){if(this[_0x19ca4b(0x11d)]=_0x4b98a7[_0x19ca4b(0x128)],this[_0x19ca4b(0x123)](_0x19ca4b(0x12c),_0x19ca4b(0x12a)),!this[_0x19ca4b(0x11d)])throw new _0x1e47c7(_0x19ca4b(0x145));}else _0x19ca4b(0x12e)===_0x4b98a7[_0x19ca4b(0x12c)]?(this[_0x19ca4b(0x11d)]=document[_0x19ca4b(0x143)],this[_0x19ca4b(0x123)](_0x19ca4b(0x12c),_0x19ca4b(0x12e))):(this[_0x19ca4b(0x11d)]=null,this[_0x19ca4b(0x123)](_0x19ca4b(0x12c),_0x19ca4b(0x13a)));this[_0x19ca4b(0x135)]=new _0x420eb5(this[_0x19ca4b(0x139)][_0x19ca4b(0x133)],{'side':this[_0x19ca4b(0x13e)],'type':this[_0x19ca4b(0x12c)],'visibleByDefault':void 0x0===_0x4b98a7[_0x19ca4b(0x13d)]||_0x4b98a7[_0x19ca4b(0x13d)]}),this[_0x19ca4b(0x135)][_0x19ca4b(0x13b)](),this[_0x19ca4b(0x135)][_0x19ca4b(0x11b)](_0x19ca4b(0x13e))['to'](this,_0x19ca4b(0x13e)),this[_0x19ca4b(0x135)][_0x19ca4b(0x11b)](_0x19ca4b(0x12c))['to'](this,_0x19ca4b(0x12c)),this[_0x19ca4b(0x11d)]&&this[_0x19ca4b(0x11d)][_0x19ca4b(0x138)](this[_0x19ca4b(0x135)][_0x19ca4b(0x128)]),this[_0x19ca4b(0x139)]instanceof _0x48ea8f&&this[_0x19ca4b(0x139)]['ui'][_0x19ca4b(0x11e)][_0x19ca4b(0x147)](this[_0x19ca4b(0x135)][_0x19ca4b(0x128)]);}[_0x1ebfb8(0x141)](_0x20f57b){const _0x3db5a5=_0x1ebfb8;if(_0x20f57b&&this[_0x3db5a5(0x12c)]!==_0x20f57b){if(!_0x24985c[_0x3db5a5(0x11f)](_0x20f57b))throw new _0x1e47c7(_0x3db5a5(0x140));this[_0x3db5a5(0x12c)]=_0x20f57b;}}[_0x1ebfb8(0x129)](_0x42c5c9){const _0x1807f6=_0x1ebfb8;if(_0x42c5c9&&this[_0x1807f6(0x13e)]!==_0x42c5c9){if(!_0x10c32e[_0x1807f6(0x11f)](_0x42c5c9))throw new _0x1e47c7(_0x1807f6(0x11a));this[_0x1807f6(0x13e)]=_0x42c5c9;}}[_0x1ebfb8(0x125)](){const _0x15f545=_0x1ebfb8;this[_0x15f545(0x135)][_0x15f545(0x146)]=!this[_0x15f545(0x135)][_0x15f545(0x146)],this[_0x15f545(0x12f)](_0x15f545(0x136),this[_0x15f545(0x135)][_0x15f545(0x146)]);}[_0x1ebfb8(0x118)](){const _0x120512=_0x1ebfb8;super[_0x120512(0x118)](),this[_0x120512(0x135)][_0x120512(0x118)](),this[_0x120512(0x135)][_0x120512(0x128)]&&this[_0x120512(0x135)][_0x120512(0x128)][_0x120512(0x148)]();}}
|
|
@@ -48,4 +48,8 @@ export type AITabsMainViewOptions = AITabsViewOptions & {
|
|
|
48
48
|
* * `'custom'` - the tabs are displayed as a custom UI, the integrator is responsible for the layout.
|
|
49
49
|
*/
|
|
50
50
|
type?: (typeof AI_TABS_VIEW_TYPES)[number];
|
|
51
|
+
/**
|
|
52
|
+
* Whether the AI interface should be visible when created.
|
|
53
|
+
*/
|
|
54
|
+
visibleByDefault?: boolean;
|
|
51
55
|
};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1d32c5=_0xf1dc;function _0xf1dc(_0x179dab,_0x519e04){const _0x33e55b=_0x33e5();return _0xf1dc=function(_0xf1dc40,_0x16e89b){_0xf1dc40=_0xf1dc40-0x147;let _0x5c3b5a=_0x33e55b[_0xf1dc40];return _0x5c3b5a;},_0xf1dc(_0x179dab,_0x519e04);}(function(_0x87bd53,_0x482104){const _0x52097d=_0xf1dc,_0x2a4194=_0x87bd53();while(!![]){try{const _0x4c4a54=-parseInt(_0x52097d(0x149))/0x1+parseInt(_0x52097d(0x159))/0x2+-parseInt(_0x52097d(0x14c))/0x3+parseInt(_0x52097d(0x155))/0x4*(-parseInt(_0x52097d(0x156))/0x5)+parseInt(_0x52097d(0x15a))/0x6*(parseInt(_0x52097d(0x161))/0x7)+parseInt(_0x52097d(0x154))/0x8*(-parseInt(_0x52097d(0x163))/0x9)+parseInt(_0x52097d(0x147))/0xa;if(_0x4c4a54===_0x482104)break;else _0x2a4194['push'](_0x2a4194['shift']());}catch(_0x40bb44){_0x2a4194['push'](_0x2a4194['shift']());}}}(_0x33e5,0xa1809));import{AITabsView as _0x4bc2c5}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';function _0x33e5(){const _0x120f93=['15542400kLeWWC','custom','989519uGtxKP','visibleByDefault','bindTemplate','1183893QTEQMq','buttonViews','sidebar','ck-hidden','set','isVisible','withText','side','9360JMRnxh','8PMgynh','362680LBooRa','type','overlay','2302354KskRtY','354aQJxXt','left','ck-ai-tabs','extendTemplate','ck-ai-tabs__sidebar','ck-ai-tabs__overlay','add','73724YVWuiO','right','8739AEjfMR'];_0x33e5=function(){return _0x120f93;};return _0x33e5();}export const AI_TABS_VIEW_TYPES=[_0x1d32c5(0x158),_0x1d32c5(0x14e),_0x1d32c5(0x148)];export const AI_TABS_VIEW_SIDES=[_0x1d32c5(0x15b),_0x1d32c5(0x162)];export class AITabsMainView extends _0x4bc2c5{constructor(_0x11265b,_0x38335b={}){const _0x357701=_0x1d32c5;super(_0x11265b,_0x38335b),this[_0x357701(0x150)](_0x357701(0x157),_0x38335b[_0x357701(0x157)]||_0x357701(0x14e)),this[_0x357701(0x150)](_0x357701(0x153),_0x38335b[_0x357701(0x153)]||_0x357701(0x162)),this[_0x357701(0x150)](_0x357701(0x151),_0x38335b[_0x357701(0x14a)]??!0x0);const _0x47fb8c=this[_0x357701(0x14b)];this[_0x357701(0x15d)]({'attributes':{'class':[_0x357701(0x15c),_0x47fb8c['if'](_0x357701(0x157),_0x357701(0x15f),_0x2525d6=>_0x357701(0x158)===_0x2525d6),_0x47fb8c['if'](_0x357701(0x157),_0x357701(0x15e),_0x49fe39=>_0x357701(0x14e)===_0x49fe39),_0x47fb8c['if'](_0x357701(0x151),_0x357701(0x14f),_0x519a63=>!_0x519a63)]}}),this[_0x357701(0x14d)]['on'](_0x357701(0x160),(_0x533fac,_0x157edd)=>{const _0x3fd49e=_0x357701;_0x157edd[_0x3fd49e(0x150)](_0x3fd49e(0x152),!0x1);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x126f78=_0x5204;(function(_0xcef1d0,_0x2cefb5){const _0x1bc05b=_0x5204,_0x3fc097=_0xcef1d0();while(!![]){try{const _0x3af3ef=-parseInt(_0x1bc05b(0x8e))/0x1+parseInt(_0x1bc05b(0xa7))/0x2+parseInt(_0x1bc05b(0x98))/0x3+-parseInt(_0x1bc05b(0xbb))/0x4*(parseInt(_0x1bc05b(0xc8))/0x5)+-parseInt(_0x1bc05b(0x9d))/0x6+parseInt(_0x1bc05b(0x97))/0x7+parseInt(_0x1bc05b(0xb2))/0x8;if(_0x3af3ef===_0x2cefb5)break;else _0x3fc097['push'](_0x3fc097['shift']());}catch(_0x3a036c){_0x3fc097['push'](_0x3fc097['shift']());}}}(_0x2bb0,0xa69e8));import{View as _0x174094}from'ckeditor5/src/ui.js';function _0x5204(_0x2e708a,_0x54cf2e){const _0x2bb0e0=_0x2bb0();return _0x5204=function(_0x52043e,_0x5d7202){_0x52043e=_0x52043e-0x89;let _0x5dda46=_0x2bb0e0[_0x52043e];return _0x5dda46;},_0x5204(_0x2e708a,_0x54cf2e);}import{toArray as _0x77de7f,CKEditorError as _0x1b1f34}from'ckeditor5/src/utils.js';import{TabButtonView as _0x3b53df}from'./tabbuttonview.js';import{TabPanelView as _0x3f75a3}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x126f78(0xba),_0x126f78(0xa2),_0x126f78(0xaa)];function _0x2bb0(){const _0xc5e5a=['set','createCollection','render','showTab','ck-tabs__buttons-container','2661008IBlxeM','isVisible','getIndex','addTab:','getTab','addTab','ck-tabs_','icon','top','68gKzYdv','panel','_hideButton','add','activeTab','getTabIds','ck-tabs__buttons-container_','find','children','ck-tabs__panels-container','keys','content','buttonIcon','111035sPWiYz','show:','buttonViews','_showPanel','_hidePanel','buttonLabel','_showButton','_setupButton','ck-ai-tabs_maximized','ck-reset','ui-tabsview-tab-not-found','class','button','reduce','panelViews','div','1293386ZuFyZb','_tabs','activateTab:','get','show','bindTemplate','activateTab','setTemplate','locale','9545508ZiCnlX','812652OcQnov','isOn','_getButton','isMaximized','ck-tabs__panels-container_','2471406qpEMzk','hide','fire','side','label','left','bind','order','hide:','length','1596248UWuksL','hideTab','ck-tabs','right','execute','_getPanel'];_0x2bb0=function(){return _0xc5e5a;};return _0x2bb0();}export class AITabsView extends _0x174094{[_0x126f78(0xca)]=this[_0x126f78(0xae)]();[_0x126f78(0x8c)]=this[_0x126f78(0xae)]();[_0x126f78(0x8f)]=new Map();constructor(_0x4e3e0a,_0x55d9d6={}){const _0x9f3fb1=_0x126f78;super(_0x4e3e0a),this[_0x9f3fb1(0xad)](_0x9f3fb1(0x89),void 0x0),this[_0x9f3fb1(0xad)](_0x9f3fb1(0xbf),null),this[_0x9f3fb1(0xad)](_0x9f3fb1(0xa0),_0x55d9d6[_0x9f3fb1(0xa0)]||_0x9f3fb1(0xba)),this[_0x9f3fb1(0xad)](_0x9f3fb1(0x9b),!0x1);const _0x138385=this[_0x9f3fb1(0x93)];this[_0x9f3fb1(0x95)]({'tag':_0x9f3fb1(0x8d),'attributes':{'class':['ck',_0x9f3fb1(0xd1),_0x9f3fb1(0xa9),..._0x77de7f(_0x55d9d6[_0x9f3fb1(0x89)]||[]),_0x138385['to'](_0x9f3fb1(0xa0),_0x3e0b97=>_0x9f3fb1(0xb8)+_0x3e0b97),_0x138385['to'](_0x9f3fb1(0x89)),_0x138385['to'](_0x9f3fb1(0x9b),_0x36b1b3=>_0x36b1b3?_0x9f3fb1(0xd0):'')],'tabindex':'0'},'children':[{'tag':_0x9f3fb1(0x8d),'attributes':{'class':['ck',_0x9f3fb1(0xb1),_0x138385['to'](_0x9f3fb1(0xa0),_0x39e459=>_0x9f3fb1(0xc1)+_0x39e459)]},'children':this[_0x9f3fb1(0xca)]},{'tag':_0x9f3fb1(0x8d),'attributes':{'class':['ck',_0x9f3fb1(0xc4),_0x138385['to'](_0x9f3fb1(0xa0),_0x19b0c5=>_0x9f3fb1(0x9c)+_0x19b0c5)]},'children':this[_0x9f3fb1(0x8c)]},..._0x77de7f(_0x55d9d6[_0x9f3fb1(0xc3)]||[])]});}[_0x126f78(0xc0)](){const _0x25e2d2=_0x126f78;return[...this[_0x25e2d2(0x8f)][_0x25e2d2(0xc5)]()];}[_0x126f78(0xb6)](_0x216b8c){const _0x4d9d29=_0x126f78,_0x36457a=this[_0x4d9d29(0x8f)][_0x4d9d29(0x91)](_0x216b8c);return _0x36457a||null;}[_0x126f78(0xb7)](_0x1e75dd){const _0x1a3d77=_0x126f78,_0x1e1e38=this[_0x1a3d77(0xcf)]({'id':_0x1e75dd['id'],'label':_0x1e75dd[_0x1a3d77(0xcd)],'icon':_0x1e75dd[_0x1a3d77(0xc7)],'order':_0x1e75dd[_0x1a3d77(0xa4)]}),_0xb40832=new _0x3f75a3(this[_0x1a3d77(0x96)]);return _0xb40832[_0x1a3d77(0xaf)](),_0x1e75dd[_0x1a3d77(0xc6)]&&_0xb40832[_0x1a3d77(0xc3)][_0x1a3d77(0xbe)](_0x1e75dd[_0x1a3d77(0xc6)]),this[_0x1a3d77(0x8c)][_0x1a3d77(0xbe)](_0xb40832),this[_0x1a3d77(0x8f)][_0x1a3d77(0xad)](_0x1e75dd['id'],{'button':_0x1e1e38,'panel':_0xb40832,'order':void 0x0!==_0x1e75dd[_0x1a3d77(0xa4)]?_0x1e75dd[_0x1a3d77(0xa4)]:null}),this[_0x1a3d77(0x9f)](_0x1a3d77(0xb5)+_0x1e75dd['id'],{'id':_0x1e75dd['id'],'button':_0x1e1e38,'panel':_0xb40832}),null===this[_0x1a3d77(0xbf)]?this[_0x1a3d77(0x94)](_0x1e75dd['id']):this[_0x1a3d77(0xcc)](_0x1e75dd['id']),{'button':_0x1e1e38,'panel':_0xb40832};}[_0x126f78(0x94)](_0x33b799){const _0x53ab72=_0x126f78;if(null!==_0x33b799&&!this[_0x53ab72(0xb6)](_0x33b799))throw new _0x1b1f34(_0x53ab72(0xd2),{'tabs':this,'tabId':_0x33b799});this[_0x53ab72(0xbf)]!==_0x33b799&&(this[_0x53ab72(0xbf)]&&this[_0x53ab72(0xcc)](this[_0x53ab72(0xbf)]),this[_0x53ab72(0xbf)]=_0x33b799,_0x33b799&&this[_0x53ab72(0xcb)](_0x33b799),this[_0x53ab72(0x9f)](_0x53ab72(0x90)+_0x33b799,_0x33b799));}[_0x126f78(0xb0)](_0x493c28){const _0x1634aa=_0x126f78;if(!this[_0x1634aa(0xb6)](_0x493c28))throw new _0x1b1f34(_0x1634aa(0xd2),{'tabs':this,'tabId':_0x493c28});this[_0x1634aa(0xcb)](_0x493c28),this[_0x1634aa(0xce)](_0x493c28),this[_0x1634aa(0x9f)](_0x1634aa(0xc9)+_0x493c28,_0x493c28);}[_0x126f78(0xa8)](_0x46709a){const _0x42ceef=_0x126f78;if(!this[_0x42ceef(0xb6)](_0x46709a))throw new _0x1b1f34(_0x42ceef(0xd2),{'tabs':this,'tabId':_0x46709a});const _0x217314=this[_0x42ceef(0xbf)];this[_0x42ceef(0xcc)](_0x46709a),this[_0x42ceef(0xbd)](_0x46709a);const _0x3d0028=this[_0x42ceef(0xc0)]();_0x217314===_0x46709a&&_0x3d0028[_0x42ceef(0xa6)]>0x1&&this[_0x42ceef(0x94)](_0x3d0028[_0x42ceef(0xc2)](_0x49ea16=>_0x49ea16!==_0x46709a)),this[_0x42ceef(0x9f)](_0x42ceef(0xa5)+_0x46709a,_0x46709a);}[_0x126f78(0xac)](_0x5031cb){const _0x55ab7b=_0x126f78,_0x22e625=this[_0x55ab7b(0x8f)][_0x55ab7b(0x91)](_0x5031cb);return _0x22e625?_0x22e625[_0x55ab7b(0xbc)]:null;}[_0x126f78(0xcb)](_0x5cec82){const _0x1c82d9=_0x126f78;null!==this[_0x1c82d9(0xbf)]&&this[_0x1c82d9(0xbf)]!==_0x5cec82||this[_0x1c82d9(0xac)](_0x5cec82)[_0x1c82d9(0x92)]();}[_0x126f78(0xcc)](_0x2cb2b0){const _0x28fe26=_0x126f78,_0x59bf60=this[_0x28fe26(0xac)](_0x2cb2b0);_0x59bf60[_0x28fe26(0xb3)]&&(this[_0x28fe26(0xbf)]===_0x2cb2b0&&(this[_0x28fe26(0xbf)]=null),_0x59bf60[_0x28fe26(0x9e)]());}[_0x126f78(0x9a)](_0x37c893){const _0x746b03=_0x126f78,_0x49898a=this[_0x746b03(0x8f)][_0x746b03(0x91)](_0x37c893);return _0x49898a?_0x49898a[_0x746b03(0x8a)]:null;}[_0x126f78(0xce)](_0x46c988){const _0x1f554f=_0x126f78;this[_0x1f554f(0x9a)](_0x46c988)[_0x1f554f(0x92)]();}[_0x126f78(0xbd)](_0x11f21a){const _0x43ebc7=_0x126f78;this[_0x43ebc7(0x9a)](_0x11f21a)[_0x43ebc7(0x9e)]();}[_0x126f78(0xcf)](_0x4a219b){const _0x4e17a5=_0x126f78,_0x3d32a1=new _0x3b53df(this[_0x4e17a5(0x96)],{'side':this[_0x4e17a5(0xa0)]}),_0x209729=this[_0x4e17a5(0xca)];if(_0x3d32a1[_0x4e17a5(0xad)]({'label':_0x4a219b[_0x4e17a5(0xa1)],'icon':_0x4a219b[_0x4e17a5(0xb9)],'tooltip':!0x0,'withText':!0x0}),_0x3d32a1[_0x4e17a5(0xa3)](_0x4e17a5(0x99))['to'](this,_0x4e17a5(0xbf),_0x115433=>_0x115433===_0x4a219b['id']),_0x3d32a1[_0x4e17a5(0xa3)](_0x4e17a5(0xa0))['to'](this,_0x4e17a5(0xa0)),_0x4a219b[_0x4e17a5(0xa4)]){const _0x3cd366=[...this[_0x4e17a5(0x8f)]][_0x4e17a5(0x8b)]((_0x3d966b,_0x32462a)=>{const _0x1a5581=_0x4e17a5,_0x37c6f3=_0x32462a[0x0],{order:_0x2fbcc0}=_0x32462a[0x1];return!_0x2fbcc0||_0x2fbcc0>_0x4a219b[_0x1a5581(0xa4)]?_0x3d966b:_0x2fbcc0>=_0x3d966b[_0x1a5581(0xa4)]?{'id':_0x37c6f3,'order':_0x2fbcc0}:_0x3d966b;},{'id':'','order':0x0}),_0x5e3738=_0x209729[_0x4e17a5(0xb4)](this[_0x4e17a5(0x9a)](_0x3cd366['id']));_0x209729[_0x4e17a5(0xbe)](_0x3d32a1,_0x5e3738+0x1);}else _0x209729[_0x4e17a5(0xbe)](_0x3d32a1);return _0x3d32a1['on'](_0x4e17a5(0xab),()=>{const _0x34eb18=_0x4e17a5;this[_0x34eb18(0x94)](_0x4a219b['id']);}),_0x3d32a1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24b552=_0x3330;function _0x3330(_0x31dba3,_0x1164b){const _0x396f17=_0x396f();return _0x3330=function(_0x33305a,_0x46d951){_0x33305a=_0x33305a-0x15d;let _0x31b301=_0x396f17[_0x33305a];return _0x31b301;},_0x3330(_0x31dba3,_0x1164b);}(function(_0x3769a4,_0x4f61a8){const _0x4697ac=_0x3330,_0xd0de0=_0x3769a4();while(!![]){try{const _0xc566c2=-parseInt(_0x4697ac(0x15d))/0x1*(-parseInt(_0x4697ac(0x16a))/0x2)+-parseInt(_0x4697ac(0x170))/0x3+parseInt(_0x4697ac(0x160))/0x4+-parseInt(_0x4697ac(0x168))/0x5+-parseInt(_0x4697ac(0x163))/0x6*(-parseInt(_0x4697ac(0x166))/0x7)+-parseInt(_0x4697ac(0x167))/0x8+-parseInt(_0x4697ac(0x162))/0x9;if(_0xc566c2===_0x4f61a8)break;else _0xd0de0['push'](_0xd0de0['shift']());}catch(_0x4b60a0){_0xd0de0['push'](_0xd0de0['shift']());}}}(_0x396f,0xcdfea));import{ButtonView as _0x415c56}from'ckeditor5/src/ui.js';import{toArray as _0x5274fc}from'ckeditor5/src/utils.js';import'../../../theme/aitabs/tabs/tabbuttonview.css';function _0x396f(){const _0x5935a3=['ck-tab-button','hide','extendTemplate','show','2008995VfEbdd','ck-tab-button_','9aTVmUj','class','bindTemplate','4465344kAOFVF','set','2742894tmhTlw','906uJmPvy','isToggleable','isVisible','71498MlRGDE','11729144tjTchX','2623690qFpQJH','side','255648ctQRqI','top'];_0x396f=function(){return _0x5935a3;};return _0x396f();}export class TabButtonView extends _0x415c56{constructor(_0x329dd8,_0xd144d={}){const _0x187ac2=_0x3330;super(_0x329dd8),this[_0x187ac2(0x164)]=!0x0,this[_0x187ac2(0x161)](_0x187ac2(0x169),_0xd144d[_0x187ac2(0x169)]||_0x187ac2(0x16b));const _0x392a02=this[_0x187ac2(0x15f)];this[_0x187ac2(0x16e)]({'attributes':{'class':[_0x187ac2(0x16c),..._0x5274fc(_0xd144d[_0x187ac2(0x15e)]||[]),_0x392a02['to'](_0x187ac2(0x169),_0x39384a=>_0x187ac2(0x171)+_0x39384a),_0x392a02['to'](_0x187ac2(0x15e))]}});}[_0x24b552(0x16f)](){const _0x4d11e=_0x24b552;this[_0x4d11e(0x161)](_0x4d11e(0x165),!0x0);}[_0x24b552(0x16d)](){const _0x4f84e5=_0x24b552;this[_0x4f84e5(0x161)](_0x4f84e5(0x165),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a556d=_0x4aba;(function(_0x2350e8,_0x23a082){const _0x19e1ee=_0x4aba,_0x383056=_0x2350e8();while(!![]){try{const _0x17c44c=-parseInt(_0x19e1ee(0xcc))/0x1*(parseInt(_0x19e1ee(0xcb))/0x2)+parseInt(_0x19e1ee(0xc4))/0x3+-parseInt(_0x19e1ee(0xc8))/0x4*(-parseInt(_0x19e1ee(0xc5))/0x5)+parseInt(_0x19e1ee(0xd6))/0x6+parseInt(_0x19e1ee(0xd3))/0x7*(-parseInt(_0x19e1ee(0xd2))/0x8)+parseInt(_0x19e1ee(0xc2))/0x9*(parseInt(_0x19e1ee(0xc9))/0xa)+-parseInt(_0x19e1ee(0xc1))/0xb;if(_0x17c44c===_0x23a082)break;else _0x383056['push'](_0x383056['shift']());}catch(_0x1d0bac){_0x383056['push'](_0x383056['shift']());}}}(_0x5148,0xc4d9b));import{View as _0x2eaae0}from'ckeditor5/src/ui.js';function _0x5148(){const _0x35efe5=['children','ck-tab-panel','set','ck-hidden','show','17128yGbTLl','1778sHsUnD','bindTemplate','isVisible','5192976hMqfMB','class','29242499DfxyNv','1413GBvpfD','setTemplate','4380492mMrmCG','700xQhQWv','hide','createCollection','40556czgKqK','54260wfYIZn','div','960UdDONd','1226LORtox'];_0x5148=function(){return _0x35efe5;};return _0x5148();}import{toArray as _0x30917b}from'ckeditor5/src/utils.js';function _0x4aba(_0xa08d7,_0x2613de){const _0x5148f5=_0x5148();return _0x4aba=function(_0x4abab3,_0x492fbd){_0x4abab3=_0x4abab3-0xc1;let _0x36ffae=_0x5148f5[_0x4abab3];return _0x36ffae;},_0x4aba(_0xa08d7,_0x2613de);}export class TabPanelView extends _0x2eaae0{[_0x4a556d(0xcd)];constructor(_0x24f4f6,_0x459bf2={}){const _0xad8956=_0x4a556d;super(_0x24f4f6);const _0x14989b=this[_0xad8956(0xd4)];this[_0xad8956(0xcf)](_0xad8956(0xd5),!0x1),this[_0xad8956(0xcf)](_0xad8956(0xd7),''),this[_0xad8956(0xcd)]=this[_0xad8956(0xc7)](),this[_0xad8956(0xc3)]({'tag':_0xad8956(0xca),'attributes':{'class':[_0xad8956(0xce),..._0x30917b(_0x459bf2[_0xad8956(0xd7)]||[]),_0x14989b['to'](_0xad8956(0xd7)),_0x14989b['if'](_0xad8956(0xd5),_0xad8956(0xd0),_0xffa01=>!_0xffa01)]},'children':this[_0xad8956(0xcd)]});}[_0x4a556d(0xd1)](){const _0x2bf5ee=_0x4a556d;this[_0x2bf5ee(0xcf)](_0x2bf5ee(0xd5),!0x0);}[_0x4a556d(0xc6)](){const _0x4b982=_0x4a556d;this[_0x4b982(0xcf)](_0x4b982(0xd5),!0x1);}}
|
package/src/errors.d.ts
ADDED
package/src/errors.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
(function(_0x335689,_0x1a5069){var _0x3f4e62=_0x3f0f,_0x2d2a42=_0x335689();while(!![]){try{var _0x3e7384=-parseInt(_0x3f4e62(0x1b0))/0x1*(-parseInt(_0x3f4e62(0x1a7))/0x2)+-parseInt(_0x3f4e62(0x1ae))/0x3+parseInt(_0x3f4e62(0x1b1))/0x4+-parseInt(_0x3f4e62(0x1af))/0x5*(parseInt(_0x3f4e62(0x1a8))/0x6)+-parseInt(_0x3f4e62(0x1a6))/0x7*(parseInt(_0x3f4e62(0x1a9))/0x8)+parseInt(_0x3f4e62(0x1ac))/0x9*(parseInt(_0x3f4e62(0x1ab))/0xa)+parseInt(_0x3f4e62(0x1ad))/0xb*(parseInt(_0x3f4e62(0x1aa))/0xc);if(_0x3e7384===_0x1a5069)break;else _0x2d2a42['push'](_0x2d2a42['shift']());}catch(_0x40642a){_0x2d2a42['push'](_0x2d2a42['shift']());}}}(_0x5f36,0xc47e1));function _0x3f0f(_0x116096,_0x304da7){var _0x5f3639=_0x5f36();return _0x3f0f=function(_0x3f0f93,_0x248914){_0x3f0f93=_0x3f0f93-0x1a6;var _0x1fb620=_0x5f3639[_0x3f0f93];return _0x1fb620;},_0x3f0f(_0x116096,_0x304da7);}function _0x5f36(){var _0x23bcaa=['843717ocXLsC','4924iobpeA','678VCccfx','16rQdPIK','116580ZPrwnV','284660fPqydY','18LUCbmo','1023SuiKCN','3125055hqBsTR','3205XMlFGX','48lzdVKe','4325640mIcixu'];_0x5f36=function(){return _0x23bcaa;};return _0x5f36();}import{CKEditorError as _0x1cf20a}from'ckeditor5/src/utils.js';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1ed3af,_0x504543){var _0x4b56d4=_0xfcd7,_0x3eb248=_0x1ed3af();while(!![]){try{var _0x50b0c8=-parseInt(_0x4b56d4(0xb8))/0x1*(parseInt(_0x4b56d4(0xb4))/0x2)+parseInt(_0x4b56d4(0xb9))/0x3*(-parseInt(_0x4b56d4(0xbb))/0x4)+-parseInt(_0x4b56d4(0xbc))/0x5*(-parseInt(_0x4b56d4(0xb6))/0x6)+-parseInt(_0x4b56d4(0xb5))/0x7+parseInt(_0x4b56d4(0xbe))/0x8*(-parseInt(_0x4b56d4(0xba))/0x9)+parseInt(_0x4b56d4(0xb7))/0xa+parseInt(_0x4b56d4(0xbd))/0xb;if(_0x50b0c8===_0x504543)break;else _0x3eb248['push'](_0x3eb248['shift']());}catch(_0x136c73){_0x3eb248['push'](_0x3eb248['shift']());}}}(_0x5e56,0x6acd3));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{AIEditorIntegration}from'./aieditorintegration/aieditorintegration.js';export{AIToggleButtonUI}from'./aieditorintegration/aitogglebutton/aitogglebuttonui.js';export{ToggleAICommand}from'./aieditorintegration/aitogglebutton/toggleaicommand.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';function _0x5e56(){var _0x50afd5=['13095544zmPzCt','79568lepoLi','364866sSmzqW','3480449tRXRnl','768MPeEAw','885960vlkAAI','3MkHCxK','27543CNuHmW','495bIvpmt','52havyFZ','33955mxuGte'];_0x5e56=function(){return _0x50afd5;};return _0x5e56();}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';function _0xfcd7(_0x1cb0a5,_0x4fcda9){var _0x5e56a7=_0x5e56();return _0xfcd7=function(_0xfcd783,_0x45fe56){_0xfcd783=_0xfcd783-0xb4;var _0x552221=_0x5e56a7[_0xfcd783];return _0x552221;},_0xfcd7(_0x1cb0a5,_0x4fcda9);}export{AIReviewCheckResult}from'./aireviewmode/model/aireviewcheckresult.js';export{AIReviewCheckRun}from'./aireviewmode/model/aireviewcheckrun.js';import'./augmentation.js';
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
&.ck-ai-chat-context-controls__add-context-balloon-panel {
|
|
12
12
|
min-width: 157px;
|
|
13
13
|
max-width: 250px;
|
|
14
|
+
z-index: calc(var(--ck-ai-tabs-overlay-z-index) + 1);
|
|
14
15
|
|
|
15
16
|
& .ck-ai-chat-context-controls__balloon-button {
|
|
16
17
|
width: 100%;
|
|
@@ -58,6 +59,8 @@
|
|
|
58
59
|
}
|
|
59
60
|
|
|
60
61
|
&.ck-ai-chat-context-controls__url-balloon-panel {
|
|
62
|
+
z-index: calc(var(--ck-ai-tabs-overlay-z-index) + 1);
|
|
63
|
+
|
|
61
64
|
& .ck-ai-chat-context-controls__url-form {
|
|
62
65
|
width: var(--ck-ai-chat-context-controls-balloon-width);
|
|
63
66
|
line-height: var(--ck-form-header-height);
|
|
@@ -105,6 +108,7 @@
|
|
|
105
108
|
&.ck-ai-chat-context-controls__source-balloon-panel {
|
|
106
109
|
width: var(--ck-ai-chat-context-controls-balloon-width);
|
|
107
110
|
height: 319px;
|
|
111
|
+
z-index: calc(var(--ck-ai-tabs-overlay-z-index) + 1);
|
|
108
112
|
|
|
109
113
|
&:has(.ck-ai-skeleton:not(.ck-hidden)) {
|
|
110
114
|
overflow: hidden;
|
|
@@ -0,0 +1,39 @@
|
|
|
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-ai-chat-controls-model-unavailable-message {
|
|
11
|
+
border: 1px solid hsl(262, 51%, 80%);
|
|
12
|
+
border-radius: 4px;
|
|
13
|
+
background-color: hsla(263, 59%, 52%, 0.051);
|
|
14
|
+
|
|
15
|
+
p {
|
|
16
|
+
white-space: normal;
|
|
17
|
+
line-height: 1.4;
|
|
18
|
+
padding: var(--ck-spacing-large);
|
|
19
|
+
|
|
20
|
+
button.ck-ai-chat-controls__start-new-chat-button {
|
|
21
|
+
background: none;
|
|
22
|
+
border: none;
|
|
23
|
+
padding: 0;
|
|
24
|
+
cursor: default;
|
|
25
|
+
vertical-align: baseline;
|
|
26
|
+
color: var(--ck-ai-chat-color-text);
|
|
27
|
+
text-decoration: underline;
|
|
28
|
+
|
|
29
|
+
&:hover {
|
|
30
|
+
background: none;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&:active, &:focus {
|
|
34
|
+
background: none;
|
|
35
|
+
box-shadow: none;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
@import './aichat-controls/prompt-input.css';
|
|
11
11
|
@import './aichat-controls/prompt-capabilities.css';
|
|
12
|
+
@import './aichat-controls/model-unavailable-message.css';
|
|
12
13
|
@import './aichat-controls/aichat-context-controls.css';
|
|
13
14
|
@import './aichat-controls/aichat-context-chip.css';
|
|
14
15
|
@import './aichat-controls/aichat-controls-button.css';
|
package/theme/aichat/aichat.css
CHANGED
|
@@ -35,6 +35,12 @@
|
|
|
35
35
|
gap: var(--ck-spacing-large);
|
|
36
36
|
position: relative;
|
|
37
37
|
|
|
38
|
+
/*
|
|
39
|
+
* Addresses an issue in Chrome where the entire feed gets repainted by the browser's engine when the user
|
|
40
|
+
* types in the prompt textarea. See https://github.com/ckeditor/ckeditor5-commercial/issues/8611.
|
|
41
|
+
*/
|
|
42
|
+
contain: size;
|
|
43
|
+
|
|
38
44
|
/* This is needed to prevent the feed from overflowing when the skeleton is visible. */
|
|
39
45
|
&:has(.ck-ai-skeleton:not(.ck-hidden)) {
|
|
40
46
|
overflow: hidden;
|
|
@@ -397,6 +403,9 @@
|
|
|
397
403
|
* This is the balloon panel for the suggestion actions.
|
|
398
404
|
*/
|
|
399
405
|
.ck-ai-chat__feed__ai-suggestion__actions__balloon {
|
|
406
|
+
&.ck-balloon-panel {
|
|
407
|
+
z-index: calc(var(--ck-ai-tabs-overlay-z-index) + 1);
|
|
408
|
+
}
|
|
400
409
|
|
|
401
410
|
& .ck-list__item {
|
|
402
411
|
min-width: fit-content;
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_rounded.css";
|
|
11
11
|
|
|
12
12
|
:root {
|
|
13
|
+
--ck-ai-chat-color-icon-outdated: var(--ck-ai-chat-suggestion-icon-default-color);
|
|
13
14
|
--ck-ai-chat-suggestion-container-header-font-size: .9em;
|
|
14
15
|
--ck-ai-background-color-action-button-semi-transparent: hsla(263, 59%, 52%, 0.5);
|
|
15
16
|
}
|
|
@@ -110,6 +111,10 @@
|
|
|
110
111
|
color: var(--ck-color-base-error);
|
|
111
112
|
}
|
|
112
113
|
|
|
114
|
+
& > .ck-ai-suggestion__body__content-part__icon-outdated {
|
|
115
|
+
color: var(--ck-ai-chat-color-icon-outdated);
|
|
116
|
+
}
|
|
117
|
+
|
|
113
118
|
& > .ck-icon,
|
|
114
119
|
& > .ck-toolbar .ck-icon {
|
|
115
120
|
--ck-icon-size: 1.477em;
|
|
@@ -177,7 +182,8 @@
|
|
|
177
182
|
}
|
|
178
183
|
|
|
179
184
|
& .ck-ai-suggestion__body__content-part_accepted,
|
|
180
|
-
& .ck-ai-suggestion__body__content-part_rejected
|
|
185
|
+
& .ck-ai-suggestion__body__content-part_rejected,
|
|
186
|
+
& .ck-ai-suggestion__body__content-part_outdated {
|
|
181
187
|
& .ck-ai-suggestion__body__content-part__content {
|
|
182
188
|
opacity: 0.5;
|
|
183
189
|
}
|
|
@@ -8,25 +8,6 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
.ck-ai-review-mode__check-run-result {
|
|
11
|
-
& > .ck-ai-review-mode__check-run-result-response {
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
|
|
14
|
-
&.ck.ck-content:not(:focus) {
|
|
15
|
-
/* Reset default padding and border of `ck-content` class. */
|
|
16
|
-
padding: 0;
|
|
17
|
-
border: 0;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
& > * {
|
|
21
|
-
white-space: normal;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
img {
|
|
25
|
-
max-width: 125px;
|
|
26
|
-
max-height: 125px;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
11
|
& > .ck-ai-review-mode__check-run-result-footer {
|
|
31
12
|
margin-top: var(--ck-spacing-standard);
|
|
32
13
|
display: flex;
|
|
@@ -48,4 +29,29 @@
|
|
|
48
29
|
margin-left: auto;
|
|
49
30
|
}
|
|
50
31
|
}
|
|
32
|
+
|
|
33
|
+
& > .ck-ai-review-mode__check-run-result-response {
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
|
|
36
|
+
&.ck.ck-content:not(:focus) {
|
|
37
|
+
/* Reset default padding and border of `ck-content` class. */
|
|
38
|
+
padding: 0;
|
|
39
|
+
border: 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.ck-hidden {
|
|
43
|
+
& + .ck-ai-review-mode__check-run-result-footer {
|
|
44
|
+
margin-top: 0;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
& > * {
|
|
49
|
+
white-space: normal;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
img {
|
|
53
|
+
max-width: 125px;
|
|
54
|
+
max-height: 125px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
51
57
|
}
|