@ckeditor/ckeditor5-ai 47.3.0 → 47.4.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/LICENSE.md +1 -1
- package/README.md +1 -1
- package/build/ai.js +3 -3
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/be.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.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-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/eo.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/gu.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/hy.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/jv.js +1 -1
- package/build/translations/kk.js +1 -1
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.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/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/oc.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/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sl.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.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/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.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-content.css +1 -1
- package/dist/index-editor.css +67 -4
- package/dist/index.css +117 -54
- package/dist/index.js +6 -6
- package/dist/translations/af.d.ts +1 -1
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +1 -1
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +1 -1
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +1 -1
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/be.d.ts +1 -1
- package/dist/translations/be.js +2 -2
- package/dist/translations/be.umd.js +2 -2
- package/dist/translations/bg.d.ts +1 -1
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +1 -1
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +1 -1
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +1 -1
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +1 -1
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +1 -1
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +1 -1
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +1 -1
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +1 -1
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +1 -1
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +1 -1
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +1 -1
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +1 -1
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +1 -1
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +1 -1
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +1 -1
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +1 -1
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +1 -1
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +1 -1
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +1 -1
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +1 -1
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +1 -1
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +1 -1
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +1 -1
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +1 -1
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +1 -1
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +1 -1
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +1 -1
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +1 -1
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +1 -1
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +1 -1
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +1 -1
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +1 -1
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +1 -1
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +1 -1
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +1 -1
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +1 -1
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +1 -1
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +1 -1
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +1 -1
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +1 -1
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +1 -1
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +1 -1
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +1 -1
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +1 -1
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +1 -1
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +1 -1
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +1 -1
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +1 -1
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +1 -1
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +1 -1
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +1 -1
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +1 -1
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +1 -1
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +1 -1
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +1 -1
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +1 -1
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +1 -1
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +1 -1
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +1 -1
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +1 -1
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +1 -1
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +1 -1
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +1 -1
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +1 -1
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +1 -1
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +1 -1
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +1 -1
- package/dist/translations/zh.js +2 -2
- package/dist/translations/zh.umd.js +2 -2
- package/lang/contexts.json +0 -11
- package/lang/translations/af.po +1 -45
- package/lang/translations/ar.po +1 -45
- package/lang/translations/ast.po +1 -45
- package/lang/translations/az.po +1 -45
- package/lang/translations/be.po +1 -45
- package/lang/translations/bg.po +1 -45
- package/lang/translations/bn.po +1 -45
- package/lang/translations/bs.po +1 -45
- package/lang/translations/ca.po +1 -45
- package/lang/translations/cs.po +1 -45
- package/lang/translations/da.po +1 -45
- package/lang/translations/de-ch.po +1 -45
- package/lang/translations/de.po +1 -45
- package/lang/translations/el.po +1 -45
- package/lang/translations/en-au.po +1 -45
- package/lang/translations/en-gb.po +1 -45
- package/lang/translations/en.po +1 -45
- package/lang/translations/eo.po +1 -45
- package/lang/translations/es-co.po +1 -45
- package/lang/translations/es.po +1 -45
- package/lang/translations/et.po +1 -45
- package/lang/translations/eu.po +1 -45
- package/lang/translations/fa.po +1 -45
- package/lang/translations/fi.po +1 -45
- package/lang/translations/fr.po +1 -45
- package/lang/translations/gl.po +1 -45
- package/lang/translations/gu.po +1 -45
- package/lang/translations/he.po +1 -45
- package/lang/translations/hi.po +1 -45
- package/lang/translations/hr.po +1 -45
- package/lang/translations/hu.po +1 -45
- package/lang/translations/hy.po +1 -45
- package/lang/translations/id.po +1 -45
- package/lang/translations/it.po +1 -45
- package/lang/translations/ja.po +1 -45
- package/lang/translations/jv.po +1 -45
- package/lang/translations/kk.po +1 -45
- package/lang/translations/km.po +1 -45
- package/lang/translations/kn.po +1 -45
- package/lang/translations/ko.po +1 -45
- package/lang/translations/ku.po +1 -45
- package/lang/translations/lt.po +1 -45
- package/lang/translations/lv.po +1 -45
- package/lang/translations/ms.po +1 -45
- package/lang/translations/nb.po +1 -45
- package/lang/translations/ne.po +1 -45
- package/lang/translations/nl.po +1 -45
- package/lang/translations/no.po +1 -45
- package/lang/translations/oc.po +1 -45
- package/lang/translations/pl.po +1 -45
- package/lang/translations/pt-br.po +1 -45
- package/lang/translations/pt.po +1 -45
- package/lang/translations/ro.po +1 -45
- package/lang/translations/ru.po +1 -45
- package/lang/translations/si.po +1 -45
- package/lang/translations/sk.po +1 -45
- package/lang/translations/sl.po +1 -45
- package/lang/translations/sq.po +1 -45
- package/lang/translations/sr-latn.po +1 -45
- package/lang/translations/sr.po +1 -45
- package/lang/translations/sv.po +1 -45
- package/lang/translations/th.po +1 -45
- package/lang/translations/ti.po +1 -45
- package/lang/translations/tk.po +1 -45
- package/lang/translations/tr.po +1 -45
- package/lang/translations/tt.po +1 -45
- package/lang/translations/ug.po +1 -45
- package/lang/translations/uk.po +1 -45
- package/lang/translations/ur.po +1 -45
- package/lang/translations/uz.po +1 -45
- package/lang/translations/vi.po +1 -45
- package/lang/translations/zh-cn.po +1 -45
- package/lang/translations/zh.po +1 -45
- package/package.json +16 -16
- package/src/aiactions/aiactions.d.ts +5 -1
- package/src/aiactions/aiactions.js +2 -2
- package/src/aiactions/model/aiactionsinteraction.d.ts +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +2 -2
- package/src/aiactions/model/aiactionsreply.d.ts +1 -1
- package/src/aiactions/model/aiactionsreply.js +2 -2
- package/src/aiassistant/adapters/aiadapter.d.ts +1 -1
- package/src/aiassistant/adapters/aiadapter.js +2 -2
- package/src/aiassistant/adapters/aitextadapter.d.ts +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +2 -2
- package/src/aiassistant/adapters/awstextadapter.d.ts +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +2 -2
- package/src/aiassistant/adapters/openaitextadapter.d.ts +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +2 -2
- package/src/aiassistant/aiassistant.d.ts +1 -1
- package/src/aiassistant/aiassistant.js +2 -2
- package/src/aiassistant/aiassistantediting.d.ts +1 -1
- package/src/aiassistant/aiassistantediting.js +2 -2
- package/src/aiassistant/aiassistantui.d.ts +1 -1
- package/src/aiassistant/aiassistantui.js +2 -2
- package/src/aiassistant/legacyerrors.d.ts +1 -1
- package/src/aiassistant/legacyerrors.js +2 -2
- package/src/aiassistant/ui/aiassistantcontroller.d.ts +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +3 -3
- package/src/aiassistant/ui/form/aiformcontentarea.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformcontentarea.js +2 -2
- package/src/aiassistant/ui/form/aiformerrorview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +2 -2
- package/src/aiassistant/ui/form/aiformpromptview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +2 -2
- package/src/aiassistant/ui/form/aiformtoolbarview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +2 -2
- package/src/aiassistant/ui/form/aiformview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformview.js +2 -2
- package/src/aiassistant/ui/form/aihistorylistitemview.d.ts +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +2 -2
- package/src/aiassistant/ui/form/aihistorylistview.d.ts +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +2 -2
- package/src/aiassistant/ui/form/prompthistory.d.ts +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +2 -2
- package/src/aiassistant/ui/showaiassistantcommand.d.ts +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +2 -2
- package/src/aiassistant/utils/common-translations.d.ts +1 -1
- package/src/aiassistant/utils/common-translations.js +2 -2
- package/src/aiassistant/utils/normalizecommandsconfig.d.ts +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +2 -2
- package/src/aiballoon/aiballoon.d.ts +1 -1
- package/src/aiballoon/aiballoon.js +2 -2
- package/src/aiballoon/ui/aiballoondisclaimerview.d.ts +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +2 -2
- package/src/aiballoon/ui/aiballoontoolbarview.d.ts +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +2 -2
- package/src/aiballoon/ui/aiballoonview.d.ts +1 -1
- package/src/aiballoon/ui/aiballoonview.js +2 -2
- package/src/aichat/aichat.d.ts +38 -4
- package/src/aichat/aichat.js +2 -2
- package/src/aichat/aichatcontroller.d.ts +5 -1
- package/src/aichat/aichatcontroller.js +2 -2
- package/src/aichat/aichatui.d.ts +3 -3
- package/src/aichat/aichatui.js +2 -2
- package/src/aichat/model/aichatcontext.d.ts +1 -1
- package/src/aichat/model/aichatcontext.js +2 -2
- package/src/aichat/model/aichatconversation.d.ts +10 -10
- package/src/aichat/model/aichatconversation.js +2 -2
- package/src/aichat/model/aichatinteraction.d.ts +1 -1
- package/src/aichat/model/aichatinteraction.js +2 -2
- package/src/aichat/ui/aichatcontrolsview.d.ts +4 -4
- package/src/aichat/ui/aichatcontrolsview.js +2 -2
- package/src/aichat/ui/aichatfeedview.d.ts +1 -1
- package/src/aichat/ui/aichatfeedview.js +2 -2
- package/src/aichat/ui/aichatheaderview.d.ts +1 -1
- package/src/aichat/ui/aichatheaderview.js +2 -2
- package/src/aichat/ui/aichatview.d.ts +1 -1
- package/src/aichat/ui/aichatview.js +2 -2
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.d.ts +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +2 -2
- package/src/aichat/ui/controls/aichatcontextitembuttonview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +2 -2
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +2 -2
- package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +2 -2
- package/src/aichat/ui/controls/aichatcontrolsloaderview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +2 -2
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.d.ts +5 -5
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +2 -2
- package/src/aichat/ui/controls/aichatpromptinputview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +2 -2
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +2 -2
- package/src/aichat/ui/feed/aichatfeederroritemview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +2 -2
- package/src/aichat/ui/feed/aichatfeeditemview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +3 -2
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -2
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedusermessageitem.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +2 -2
- package/src/aichat/utils/eventnames.d.ts +1 -1
- package/src/aichat/utils/eventnames.js +2 -2
- package/src/aichat/utils/promisequeue.d.ts +1 -1
- package/src/aichat/utils/promisequeue.js +2 -2
- package/src/aichathistory/aichathistory.d.ts +1 -1
- package/src/aichathistory/aichathistory.js +2 -2
- package/src/aichathistory/aichathistorycontroller.d.ts +1 -1
- package/src/aichathistory/aichathistorycontroller.js +2 -2
- package/src/aichathistory/aichathistoryui.d.ts +1 -1
- package/src/aichathistory/aichathistoryui.js +2 -2
- package/src/aichathistory/model/aichathistoryconversations.d.ts +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +2 -2
- package/src/aichathistory/model/aichathistoryitem.d.ts +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +2 -2
- package/src/aichathistory/ui/aichathistorylistitemview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +3 -3
- package/src/aichathistory/ui/aichathistorylistview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +2 -2
- package/src/aichathistory/ui/aichathistorysectionlistview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +2 -2
- package/src/aichathistory/ui/aichathistoryview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +2 -2
- package/src/aiconfig.d.ts +1 -1
- package/src/aiconfig.js +1 -1
- package/src/aicore/aiconnector.d.ts +4 -2
- package/src/aicore/aiconnector.js +2 -2
- package/src/aicore/aiediting.d.ts +1 -1
- package/src/aicore/aiediting.js +2 -2
- package/src/aicore/model/aicapabilities.d.ts +1 -1
- package/src/aicore/model/aicapabilities.js +2 -2
- package/src/aicore/model/aicontext.d.ts +1 -1
- package/src/aicore/model/aicontext.js +2 -2
- package/src/aicore/model/aiinteraction.d.ts +1 -1
- package/src/aicore/model/aiinteraction.js +2 -2
- package/src/aicore/model/aimodels.d.ts +3 -12
- package/src/aicore/model/aimodels.js +2 -2
- package/src/aicore/model/aireply.d.ts +1 -1
- package/src/aicore/model/aireply.js +2 -2
- package/src/aicore/pipeline/airesponseapplier.d.ts +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +3 -3
- package/src/aicore/pipeline/airesponseparser.d.ts +1 -1
- package/src/aicore/pipeline/airesponseparser.js +3 -3
- package/src/aicore/ui/aidisclaimerview.d.ts +1 -1
- package/src/aicore/ui/aidisclaimerview.js +2 -2
- package/src/aicore/ui/aiskeleton.d.ts +1 -1
- package/src/aicore/ui/aiskeleton.js +2 -2
- package/src/aicore/ui/aispinner.d.ts +1 -1
- package/src/aicore/ui/aispinner.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.d.ts +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +5 -5
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.d.ts +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +2 -2
- package/src/aicore/utils/common-translations.d.ts +1 -1
- package/src/aicore/utils/common-translations.js +2 -2
- package/src/aicore/utils/createresizebutton.d.ts +1 -1
- package/src/aicore/utils/createresizebutton.js +2 -2
- package/src/aicore/utils/documentposition.d.ts +1 -1
- package/src/aicore/utils/documentposition.js +2 -2
- package/src/aicore/utils/documentrange.d.ts +1 -1
- package/src/aicore/utils/documentrange.js +2 -2
- package/src/aicore/utils/eventnames.d.ts +1 -1
- package/src/aicore/utils/eventnames.js +2 -2
- package/src/aicore/utils/geteditorfromcontext.d.ts +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +2 -2
- package/src/aicore/utils/getoperationsfromreply.d.ts +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +2 -2
- package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +2 -2
- package/src/aicore/utils/htmlparser.d.ts +1 -1
- package/src/aicore/utils/htmlparser.js +2 -2
- package/src/aicore/utils/htmlstreamer.d.ts +1 -1
- package/src/aicore/utils/htmlstreamer.js +2 -2
- package/src/aicore/utils/scrollmanager.d.ts +1 -1
- package/src/aicore/utils/scrollmanager.js +2 -2
- package/src/aieditorintegration/aieditorintegration.d.ts +1 -1
- package/src/aieditorintegration/aieditorintegration.js +2 -2
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +2 -2
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +2 -2
- package/src/aiquickactions/aiquickactions.d.ts +1 -1
- package/src/aiquickactions/aiquickactions.js +2 -2
- package/src/aiquickactions/aiquickactionscommand.d.ts +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +2 -2
- package/src/aiquickactions/aiquickactionsediting.d.ts +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +2 -2
- package/src/aiquickactions/aiquickactionsui.d.ts +1 -1
- package/src/aiquickactions/aiquickactionsui.js +2 -2
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +2 -2
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +2 -2
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +2 -2
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +2 -2
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +2 -2
- package/src/aireviewmode/aireviewcheckdefinitions.d.ts +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +2 -2
- package/src/aireviewmode/aireviewmode.d.ts +1 -1
- package/src/aireviewmode/aireviewmode.js +2 -2
- package/src/aireviewmode/aireviewmodecontroller.d.ts +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +2 -2
- package/src/aireviewmode/aireviewmodeediting.d.ts +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +2 -2
- package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
- package/src/aireviewmode/aireviewmodeui.js +2 -2
- package/src/aireviewmode/model/aireviewcheck.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +2 -2
- package/src/aireviewmode/model/aireviewcheckcustom.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +2 -2
- package/src/aireviewmode/model/aireviewchecklist.d.ts +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +2 -2
- package/src/aireviewmode/model/aireviewcheckresult.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +2 -2
- package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +2 -2
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +2 -2
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +2 -2
- package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +2 -2
- package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +2 -2
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +2 -2
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +2 -2
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +2 -2
- package/src/aitabs/aitabs.d.ts +1 -1
- package/src/aitabs/aitabs.js +2 -2
- package/src/aitabs/aitabsmainview.d.ts +1 -1
- package/src/aitabs/aitabsmainview.js +2 -2
- package/src/aitabs/tabs/aitabsview.d.ts +1 -1
- package/src/aitabs/tabs/aitabsview.js +2 -2
- package/src/aitabs/tabs/tabbuttonview.d.ts +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +2 -2
- package/src/aitabs/tabs/tabpanelview.d.ts +1 -1
- package/src/aitabs/tabs/tabpanelview.js +2 -2
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/errors.d.ts +1 -1
- package/src/errors.js +2 -2
- package/src/errorsmap.d.ts +1 -1
- package/src/errorsmap.js +2 -2
- package/src/index.d.ts +1 -2
- package/src/index.js +2 -2
- package/theme/aiassistant/ai-dropdown.css +1 -1
- package/theme/aiassistant/ai-form.css +1 -1
- package/theme/aiassistant/ai.css +1 -1
- package/theme/aiballoon/aiballoon.css +1 -1
- package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls.css +1 -1
- package/theme/aichat/aichat-controls/aichat-controls-button.css +1 -1
- package/theme/aichat/aichat-controls/aichat-controls-loader.css +1 -1
- package/theme/aichat/aichat-controls/model-unavailable-message.css +1 -1
- package/theme/aichat/aichat-controls/prompt-capabilities.css +1 -1
- package/theme/aichat/aichat-controls/prompt-input.css +1 -1
- package/theme/aichat/aichat-controls.css +1 -1
- package/theme/aichat/aichat.css +1 -1
- package/theme/aichat/aichatfeed.css +55 -1
- package/theme/aichat/aichathistory.css +1 -1
- package/theme/aichat/aiminitoolbar.css +1 -1
- package/theme/aichat/aisuggestioncontainer.css +1 -1
- package/theme/aieditorintegration/aitogglebutton.css +1 -1
- package/theme/aiquickactions/aiquickactions.css +1 -1
- package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +1 -1
- package/theme/aireviewmode/aireviewmode-check-list.css +1 -1
- package/theme/aireviewmode/aireviewmode-check-run-result.css +1 -1
- package/theme/aireviewmode/aireviewmode-check-run.css +1 -1
- package/theme/aireviewmode/aireviewmode-review-completed.css +1 -1
- package/theme/aireviewmode/aireviewmode.css +9 -4
- package/theme/aitabs/aitabsview.css +1 -1
- package/theme/aitabs/tabs/tabbuttonview.css +1 -1
- package/theme/aitabs/tabs/tabsview.css +1 -1
- package/theme/common/aibutton.css +1 -1
- package/theme/common/aidisclaimer.css +1 -1
- package/theme/common/aiheader.css +1 -1
- package/theme/common/ainotification.css +1 -1
- package/theme/common/aiskeleton.css +1 -1
- package/theme/common/aispinner.css +1 -1
- package/theme/common/aitrackchanges.css +1 -1
- package/src/aichat/model/aichatmodels.d.ts +0 -63
- package/src/aichat/model/aichatmodels.js +0 -23
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as _0xca21f1,View as _0x1f554c,ViewCollection as _0x3a672d,ButtonView as _0x2daa9a}from'ckeditor5/src/ui.js';import{IconStop as _0x3eca85,IconEye as _0x547abd,IconEyeCrossedOut as _0x199d2c}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x1f84ea}from'./aireviewmodechecklistitemresultview.js';import{AIReviewModeFinishReviewButtonView as _0x49acaf}from'./aireviewmodefinishreviewbuttonview.js';import{AISkeletonView as _0x22aa61,SKELETON_DEFINITIONS as _0x12453d}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x54b2ab}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x38c84c}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x4187eb}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0xca21f1{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];constructor(_0xeaf6a4){super(_0xeaf6a4),this['_resultViews']=new _0x3a672d(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x54b2ab(_0xeaf6a4),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x2718cf=this['_createCombinedSkeletonLoader'](),_0x2a22ae=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x2a22ae['if']('isVisible','ck-hidden',_0x500b37=>!_0x500b37)]},'children':[this['resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x252fd3=>_0x252fd3)]},'children':this['_resultViews']},_0x2718cf]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x546402){const _0x3fd5a2=new _0x1f84ea(this['locale'],_0x546402['id']);_0x3fd5a2['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x3fd5a2),_0x3fd5a2['resultResponseView']['element']['innerHTML']=_0x546402['contentDiffed'];}['hideResult'](_0x2a8827,_0x47b23b){if('pending'===_0x47b23b)return;const _0x2f3f9c=this['_resultViews']['find'](_0x51c25b=>_0x51c25b['id']===_0x2a8827);_0x2f3f9c&&(_0x2f3f9c['status']=_0x47b23b,_0x2f3f9c['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_grayout'));}['showResult'](_0x4a92d4,_0x25cea0){if('pending'!==_0x25cea0)return;const _0x22a675=this['_resultViews']['find'](_0x4aebf0=>_0x4aebf0['id']===_0x4a92d4);_0x22a675&&(_0x22a675['status']=_0x25cea0,_0x22a675['element']?.['classList']['remove']('ck-ai-review-mode__check-run-result_grayout'));}['setTitle'](_0x4e205a,_0x5a2efa){this['headerTitle']=_0x4e205a,this['headerSubtitle']=_0x5a2efa||'';}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x22aa61(this['locale'],_0x12453d['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x57b994=new _0x1f554c(this['locale']),_0x3e7e6c=[];for(let _0x36c356=0x0;_0x36c356<0x10;_0x36c356++){const _0x54b8b5=this['_createSkeletonLoader']();_0x54b8b5['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x3e7e6c['push'](_0x54b8b5);}return _0x57b994['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x34a936=>!_0x34a936)]},'children':_0x3e7e6c}),_0x57b994;}['_createErrorView'](){const _0x126b0f=new _0x1f554c(this['locale']),_0x1dae2d=new _0x2daa9a(this['locale']),t=this['locale']['t'];return _0x126b0f['delegate']('retryReview')['to'](this),_0x1dae2d['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x1dae2d['on']('execute',()=>{this['fire']('retryReview');}),_0x126b0f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x4cc03a=>!_0x4cc03a),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x388a22=>'chunk'===_0x388a22)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai-review-mode__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x3651ce=>'chunk'===_0x3651ce)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x5623e7=>'general'!==_0x5623e7)]},'children':[{'text':_0x38c84c(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x27ac1b=>'chunk'!==_0x27ac1b)]},'children':[{'text':_0x38c84c(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x1dae2d]}),_0x126b0f;}['_createCancelButtonView'](){const _0x3ccc17=new _0x2daa9a(this['locale']);return _0x3ccc17['set']({'label':_0x38c84c(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x3eca85}),_0x3ccc17['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1a7a82=>_0x1a7a82),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x310965=>_0x310965)]}}),_0x3ccc17['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x3ccc17;}['_createToggleDiffButtonView'](){const _0x399c58=new _0x2daa9a(this['locale']);_0x399c58['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x399c58['bind']('isEnabled')['to'](this,'isError',_0x886dc0=>!_0x886dc0),_0x399c58['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0xe8f997=>!_0xe8f997),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x83599f=>_0x83599f)]}});const _0x45fde8=_0x38c84c(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x269048=_0x38c84c(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x399c58['bind']('isOn')['to'](this,'isToggleDiffOn',_0x10b889=>_0x10b889),_0x399c58['bind']('icon')['to'](this,'isToggleDiffOn',_0x114cec=>_0x114cec?_0x547abd:_0x199d2c),_0x399c58['bind']('label')['to'](this,'isToggleDiffOn',_0x306e9e=>_0x306e9e?_0x45fde8:_0x269048),_0x399c58['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x399c58;}['_createAcceptAllButtonView'](){const _0x4cce81=new _0x2daa9a(this['locale']);return _0x4cce81['set']({'label':_0x38c84c(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x4cce81['bind']('isEnabled')['to'](this,'isError',_0x44aff6=>!_0x44aff6),_0x4cce81['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x55754d=>!_0x55754d),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4f9b4c=>_0x4f9b4c)]}}),_0x4cce81['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x4cce81;}['_createExitReviewButtonView'](){const _0x2bc349=new _0x2daa9a(this['locale']);return _0x2bc349['set']({'label':_0x38c84c(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x2bc349['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5edfcf=>!_0x5edfcf),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x22fb78=>_0x22fb78)]}}),_0x2bc349['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x2bc349;}['_createResultHeaderView'](){const _0x31488f=new _0x1f554c(this['locale']),_0x315a40=this['_createTitleView']();return _0x31488f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai-review-mode__review-completed-header',_0x4951f4=>_0x4951f4)]},'children':[_0x315a40,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x31488f;}['_createTitleView'](){const _0xfdd938=new _0x1f554c(this['locale']),_0x3d4714=new _0x4187eb();return _0x3d4714['bind']('isVisible')['to'](this,'isResultReady',_0x97ed59=>!_0x97ed59),_0xfdd938['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-wrapper']},'children':[_0x3d4714,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x8aadf3=>_0x8aadf3)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai-review-mode__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0xd632f9=>!_0xd632f9)]},'children':[{'text':_0x38c84c(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0xfdd938;}['_createFinishReviewButtonView'](){const _0x17d985=new _0x49acaf(this['locale']);return _0x17d985['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2a6a40=>!_0x2a6a40)]}}),_0x17d985['delegate']('finishReview')['to'](this),_0x17d985;}}
|
|
23
|
+
import{ListItemView as _0x23054c,View as _0x5ccf4d,ViewCollection as _0x3268d9,ButtonView as _0x24e154}from'ckeditor5/src/ui.js';import{IconStop as _0x25715e,IconEye as _0x23cc66,IconEyeCrossedOut as _0x221eb0}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x347ca3}from'./aireviewmodechecklistitemresultview.js';import{AIReviewModeFinishReviewButtonView as _0xdd33ca}from'./aireviewmodefinishreviewbuttonview.js';import{AISkeletonView as _0x17c1b9,SKELETON_DEFINITIONS as _0x1f9d95}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x418f21}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x1acffc}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0xec4b9a}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x23054c{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];constructor(_0x1857dc){super(_0x1857dc),this['_resultViews']=new _0x3268d9(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x418f21(_0x1857dc),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x177c82=this['_createCombinedSkeletonLoader'](),_0x146f88=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x146f88['if']('isVisible','ck-hidden',_0x10ea14=>!_0x10ea14)]},'children':[this['resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x42aacd=>_0x42aacd)]},'children':this['_resultViews']},_0x177c82]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x2e4a90){const _0x426733=new _0x347ca3(this['locale'],_0x2e4a90['id']);_0x426733['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x426733),_0x426733['resultResponseView']['element']['innerHTML']=_0x2e4a90['contentDiffed'];}['hideResult'](_0x4d4762,_0x7bb4a7){if('pending'===_0x7bb4a7)return;const _0x56e976=this['_resultViews']['find'](_0x2c2fba=>_0x2c2fba['id']===_0x4d4762);_0x56e976&&(_0x56e976['status']=_0x7bb4a7,_0x56e976['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_grayout'));}['showResult'](_0xb1687b,_0x58bf6f){if('pending'!==_0x58bf6f)return;const _0x51ce39=this['_resultViews']['find'](_0x17b76c=>_0x17b76c['id']===_0xb1687b);_0x51ce39&&(_0x51ce39['status']=_0x58bf6f,_0x51ce39['element']?.['classList']['remove']('ck-ai-review-mode__check-run-result_grayout'));}['setTitle'](_0x55dc43,_0x4e2918){this['headerTitle']=_0x55dc43,this['headerSubtitle']=_0x4e2918||'';}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x17c1b9(this['locale'],_0x1f9d95['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x3c752f=new _0x5ccf4d(this['locale']),_0x614648=[];for(let _0x5e19ff=0x0;_0x5e19ff<0x10;_0x5e19ff++){const _0x5c8122=this['_createSkeletonLoader']();_0x5c8122['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x614648['push'](_0x5c8122);}return _0x3c752f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x70d3a7=>!_0x70d3a7)]},'children':_0x614648}),_0x3c752f;}['_createErrorView'](){const _0x1204eb=new _0x5ccf4d(this['locale']),_0x4ca390=new _0x24e154(this['locale']),t=this['locale']['t'];return _0x1204eb['delegate']('retryReview')['to'](this),_0x4ca390['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x4ca390['on']('execute',()=>{this['fire']('retryReview');}),_0x1204eb['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x5c09bf=>!_0x5c09bf),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x4f119f=>'chunk'===_0x4f119f)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai-review-mode__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x1c3d07=>'chunk'===_0x1c3d07)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x5ee409=>'general'!==_0x5ee409)]},'children':[{'text':_0x1acffc(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x4d5110=>'chunk'!==_0x4d5110)]},'children':[{'text':_0x1acffc(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x4ca390]}),_0x1204eb;}['_createCancelButtonView'](){const _0x33af2e=new _0x24e154(this['locale']);return _0x33af2e['set']({'label':_0x1acffc(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x25715e}),_0x33af2e['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x201373=>_0x201373),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x163ca2=>_0x163ca2)]}}),_0x33af2e['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x33af2e;}['_createToggleDiffButtonView'](){const _0x1ffc31=new _0x24e154(this['locale']);_0x1ffc31['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x1ffc31['bind']('isEnabled')['to'](this,'isError',_0x245206=>!_0x245206),_0x1ffc31['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1d1912=>!_0x1d1912),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2d0fb5=>_0x2d0fb5)]}});const _0x3535b9=_0x1acffc(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0xec608b=_0x1acffc(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x1ffc31['bind']('isOn')['to'](this,'isToggleDiffOn',_0x5a18d3=>_0x5a18d3),_0x1ffc31['bind']('icon')['to'](this,'isToggleDiffOn',_0x4e5e74=>_0x4e5e74?_0x23cc66:_0x221eb0),_0x1ffc31['bind']('label')['to'](this,'isToggleDiffOn',_0x29d385=>_0x29d385?_0x3535b9:_0xec608b),_0x1ffc31['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x1ffc31;}['_createAcceptAllButtonView'](){const _0x1c866c=new _0x24e154(this['locale']);return _0x1c866c['set']({'label':_0x1acffc(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x1c866c['bind']('isEnabled')['to'](this,'isError',_0xbc3c53=>!_0xbc3c53),_0x1c866c['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x22df81=>!_0x22df81),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1f2d73=>_0x1f2d73)]}}),_0x1c866c['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x1c866c;}['_createExitReviewButtonView'](){const _0x13f965=new _0x24e154(this['locale']);return _0x13f965['set']({'label':_0x1acffc(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x13f965['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4bf6f2=>!_0x4bf6f2),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4a71c9=>_0x4a71c9)]}}),_0x13f965['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x13f965;}['_createResultHeaderView'](){const _0x442f7e=new _0x5ccf4d(this['locale']),_0x3bdc95=this['_createTitleView']();return _0x442f7e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai-review-mode__review-completed-header',_0x7106cc=>_0x7106cc)]},'children':[_0x3bdc95,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x442f7e;}['_createTitleView'](){const _0x1bfe93=new _0x5ccf4d(this['locale']),_0x2b8c8b=new _0xec4b9a();return _0x2b8c8b['bind']('isVisible')['to'](this,'isResultReady',_0x3c79e6=>!_0x3c79e6),_0x1bfe93['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-wrapper']},'children':[_0x2b8c8b,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x521bc9=>_0x521bc9)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai-review-mode__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3bcd4c=>!_0x3bcd4c)]},'children':[{'text':_0x1acffc(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x1bfe93;}['_createFinishReviewButtonView'](){const _0x30e356=new _0xdd33ca(this['locale']);return _0x30e356['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0xeb882e=>!_0xeb882e)]}}),_0x30e356['delegate']('finishReview')['to'](this),_0x30e356;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x1e4d0e,IconView as _0x3ea0d8,View as _0x15e8e9,ViewCollection as _0x1cc2f5,ButtonView as _0x161be9,clickOutsideHandler as _0xa4536}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x5c7d4b}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x28e46d}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as tc}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x1e4d0e{['_formItemsCollection']=new _0x1cc2f5();['_customCheckView']=null;constructor(_0x2dffce,_0x481cbd,_0x2c5918){super(_0x2dffce),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x481cbd['isParameterized']);const _0x43f8bd=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai-review-mode__check-list-item_selected',_0x57820b=>_0x57820b),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x1816c3=>_0x1816c3)],'style':{'--ck-ai-review-check-list-item-index':_0x2c5918}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-list-item-title-text']},'children':[{'text':_0x481cbd['title']}]},_0x43f8bd]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x481cbd['description']}]}]}]},..._0x481cbd['isParameterized']?[this['_createParameterizedView'](_0x481cbd)]:[],...'custom'===_0x481cbd['id']?[this['_createCustomView'](_0x481cbd)]:[]]}),this['on']('click',()=>{_0x481cbd['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x481cbd['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0xa4536({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x18b530=>{_0x18b530['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x5abc31=new _0x3ea0d8();return _0x5abc31['content']=_0x5c7d4b,_0x5abc31['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x5abc31;}['_createParameterizedView'](_0x40684f){const _0x3aa689=new _0x15e8e9(),_0x4f0440=this['_createFormView'](_0x40684f);return _0x3aa689['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0xd6767=>!_0xd6767)]},'children':[_0x4f0440]}),_0x3aa689;}['_createFormView'](_0x403bf7){const _0x253f16=new _0x15e8e9(),_0x35fffd=Array['isArray'](_0x403bf7['options'])?_0x403bf7['options']:[],_0xd0d29a=new _0x161be9(this['locale']),t=this['locale']['t'];_0xd0d29a['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0xd0d29a['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x468e7b=>{_0x468e7b['stopPropagation']();})}}),_0xd0d29a['on']('execute',()=>{const _0x5a4b87=[],_0x2b34b7={};this['_formItemsCollection']['forEach'](_0x5064a9=>{_0x5a4b87['push'](_0x5064a9['value']),_0x403bf7['useArgs']&&_0x403bf7['options']&&(_0x2b34b7[_0x5064a9['argsKey']]=_0x5064a9['value']);}),this['fire']('runReviewCheck',{'id':_0x403bf7['id'],'params':_0x5a4b87['length']?_0x5a4b87:void 0x0,'args':Object['keys'](_0x2b34b7)['length']?_0x2b34b7:void 0x0});});const _0x1f4c22=_0x35fffd['length'];return _0x35fffd['forEach']((_0x198d1a,_0x345560)=>{const _0x3edd5e=_0x345560===_0x1f4c22-0x1;this['_formItemsCollection']['add'](new _0x28e46d(this['locale'],_0x198d1a,_0x3edd5e?_0xd0d29a:null));}),_0x253f16['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x253f16;}['_createCustomView'](_0x399c15){return this['_customCheckView']=new tc(this['locale'],_0x399c15),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized','ck-ai-review-mode__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x1adc13=>!_0x1adc13)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x123277,_0x39b64f,_0x5f0d5f)=>{_0x5f0d5f||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd0e2c6=_0x27cd;(function(_0x42df1e,_0x2a8541){const _0x455bf1=_0x27cd,_0x312939=_0x42df1e();while(!![]){try{const _0x51f4a6=parseInt(_0x455bf1(0xf1))/0x1+-parseInt(_0x455bf1(0xe8))/0x2+parseInt(_0x455bf1(0xea))/0x3*(-parseInt(_0x455bf1(0xeb))/0x4)+parseInt(_0x455bf1(0xf3))/0x5+parseInt(_0x455bf1(0xed))/0x6*(parseInt(_0x455bf1(0x100))/0x7)+-parseInt(_0x455bf1(0x101))/0x8*(-parseInt(_0x455bf1(0xf4))/0x9)+parseInt(_0x455bf1(0x105))/0xa*(-parseInt(_0x455bf1(0xee))/0xb);if(_0x51f4a6===_0x2a8541)break;else _0x312939['push'](_0x312939['shift']());}catch(_0x476ee5){_0x312939['push'](_0x312939['shift']());}}}(_0x11ce,0x875c9));function _0x27cd(_0x40562c,_0x1d0170){const _0x11ce1d=_0x11ce();return _0x27cd=function(_0x27cddb,_0x8d6d8c){_0x27cddb=_0x27cddb-0xe8;let _0x531a3d=_0x11ce1d[_0x27cddb];return _0x531a3d;},_0x27cd(_0x40562c,_0x1d0170);}import{ListItemView as _0x12b324,View as _0x5949a0}from'ckeditor5/src/ui.js';import{AIReviewModeFinishReviewButtonView as _0x32885d}from'./aireviewmodefinishreviewbuttonview.js';import{getTranslation as _0x1c0e70}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeReviewCompletedView extends _0x12b324{[_0xd0e2c6(0xf2)];[_0xd0e2c6(0x106)];constructor(_0x3ff1ef){const _0x529916=_0xd0e2c6;super(_0x3ff1ef),this[_0x529916(0x106)]=this[_0x529916(0x107)](),this[_0x529916(0xf2)]=this[_0x529916(0xfc)]();const _0x262c8b=this[_0x529916(0x104)];this[_0x529916(0xf8)]({'tag':_0x529916(0xfd),'attributes':{'class':[_0x529916(0x103),_0x262c8b['if'](_0x529916(0xff),_0x529916(0xf0),_0x142e74=>!_0x142e74)]},'children':[this[_0x529916(0xf2)],{'tag':_0x529916(0xfd),'attributes':{'class':[_0x529916(0xf6)]},'children':[{'tag':_0x529916(0xf5),'attributes':{'class':[_0x529916(0xfe)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x529916(0xef)]},'children':[{'text':_0x1c0e70(_0x3ff1ef,_0x529916(0xf7))}]}]}]});}[_0xd0e2c6(0x107)](){const _0x378749=_0xd0e2c6,_0x474151=new _0x32885d(this[_0x378749(0xfa)]);return _0x474151[_0x378749(0xe9)](_0x378749(0x108))['to'](this),_0x474151;}[_0xd0e2c6(0xfc)](){const _0x5d058f=_0xd0e2c6,_0x1ef1b5=new _0x5949a0(this[_0x5d058f(0xfa)]);return _0x1ef1b5[_0x5d058f(0xf8)]({'tag':_0x5d058f(0xfd),'attributes':{'class':[_0x5d058f(0xec)]},'children':[{'tag':_0x5d058f(0xf5),'attributes':{'class':[_0x5d058f(0x102)]},'children':[{'text':_0x1c0e70(this[_0x5d058f(0xfa)],_0x5d058f(0xfb))}]},{'tag':_0x5d058f(0xfd),'attributes':{'class':[_0x5d058f(0xf9)]},'children':[this[_0x5d058f(0x106)]]}]}),_0x1ef1b5;}}function _0x11ce(){const _0x5dd29a=['ck-ai-review-mode__review-completed-header-title','ck-ai-review-mode__review-completed','bindTemplate','10nHzLlu','_finishReviewButtonView','_createFinishReviewButtonView','finishReview','1696538Wxeqsc','delegate','9bxtbls','1045868KECdHQ','ck-ai-review-mode__review-completed-header','42WijfBt','2641397tyVYiI','ck-ai-review-mode__review-completed-content-text','ck-hidden','645372uFoNsD','resultsHeader','2183740IRAfyR','3060wvTRHJ','span','ck-ai-review-mode__review-completed-content','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','setTemplate','ck-ai-review-mode__review-completed-header-buttons','locale','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','_createResultHeaderView','div','ck-ai-review-mode__review-completed-content-icon','isVisible','468258ZORiRk','20632KaZRLq'];_0x11ce=function(){return _0x5dd29a;};return _0x11ce();}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x3944(_0x13a89e,_0x3f6bb8){var _0x1fd55a=_0x1fd5();return _0x3944=function(_0x394432,_0x8c183b){_0x394432=_0x394432-0x78;var _0x23fa8b=_0x1fd55a[_0x394432];return _0x23fa8b;},_0x3944(_0x13a89e,_0x3f6bb8);}var _0x205eb9=_0x3944;(function(_0x518053,_0x1107cf){var _0x44004c=_0x3944,_0x541900=_0x518053();while(!![]){try{var _0x52ceb1=-parseInt(_0x44004c(0x9b))/0x1*(-parseInt(_0x44004c(0x95))/0x2)+parseInt(_0x44004c(0xa0))/0x3*(-parseInt(_0x44004c(0x9e))/0x4)+parseInt(_0x44004c(0x91))/0x5*(-parseInt(_0x44004c(0x8c))/0x6)+parseInt(_0x44004c(0x99))/0x7+parseInt(_0x44004c(0x9f))/0x8*(-parseInt(_0x44004c(0x83))/0x9)+-parseInt(_0x44004c(0xa1))/0xa+parseInt(_0x44004c(0x8a))/0xb;if(_0x52ceb1===_0x1107cf)break;else _0x541900['push'](_0x541900['shift']());}catch(_0x3a17e5){_0x541900['push'](_0x541900['shift']());}}}(_0x1fd5,0x404d8));import{View as _0x95a6,FormHeaderView as _0x3188d3}from'ckeditor5/src/ui.js';import{IconAIReview as _0x3bec7d}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x467220}from'./aireviewmodereviewchecklistview.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x37aa25}from'../aireviewmodeui.js';function _0x1fd5(){var _0x3bb3e7=['resetAllParameterizedChecks','showChunkErrorView','reviewCompletedView','finishReview','clearResults','generalErrorView','showGeneralErrorMessage','hideActionsWhenResultIsReady','showReviewCheckResultsView','ck-reset_all','reviewCheckListView','showChunkErrorMessage','showGeneralReviewModeErrorView','showActionsWhenResultIsReady','reviewModeHeader','resetErrorState','ltr','419652cQRAWe','set','isVisible','setTemplate','div','showGeneralResultsErrorView','addResult','8424097nphvQw','ck-ai-review-mode','803748uBCPTi','showNoChangesView','showReviewCompletedView','showReviewCheckListView','isCompleted','10MXoeEH','ck-rounded-corners','isResultReady','delegate','28YdggzM','errorMessage','ck-ai-header\x20ck-ai-header_review-mode','reviewCheckResultsView','2995944kCOgao','isLoading','2539uYPunu','addCheckRunResult','AI_REVIEW_MODE','4hoHIdR','48XgzKeO','108573QDWGOl','3821060yUaEZH'];_0x1fd5=function(){return _0x3bb3e7;};return _0x1fd5();}import{AIReviewModeReviewCheckResultsView as _0x1da345}from'./aireviewmodereviewcheckresultsview.js';import{AIReviewModeReviewCompletedView as _0x39350b}from'./aireviewmodereviewcompletedview.js';import{AIReviewModeGeneralErrorView as _0x469ec5}from'./aireviewmodegeneralerrorview.js';import{getTranslation as _0x5e3da8}from'../../aicore/utils/common-translations.js';export class AIReviewModeView extends _0x95a6{[_0x205eb9(0x80)];[_0x205eb9(0xa7)];[_0x205eb9(0x7c)];[_0x205eb9(0x98)];[_0x205eb9(0xa4)];constructor(_0x4f46e6){var _0x354b60=_0x205eb9;super(_0x4f46e6),this[_0x354b60(0x80)]=new _0x3188d3(_0x4f46e6,{'label':_0x5e3da8(_0x4f46e6,_0x354b60(0x9d)),'icon':_0x3bec7d,'class':_0x354b60(0x97)}),this[_0x354b60(0xa7)]=new _0x469ec5(_0x4f46e6),this[_0x354b60(0x7c)]=new _0x467220(_0x4f46e6),this[_0x354b60(0x7c)][_0x354b60(0x94)](..._0x37aa25)['to'](this),this[_0x354b60(0x98)]=new _0x1da345(_0x4f46e6),this[_0x354b60(0x98)][_0x354b60(0x94)](..._0x37aa25)['to'](this),this[_0x354b60(0xa4)]=new _0x39350b(_0x4f46e6),this[_0x354b60(0xa4)][_0x354b60(0x94)](_0x354b60(0xa5))['to'](this),this[_0x354b60(0x7c)][_0x354b60(0x84)](_0x354b60(0x85),!0x1),this[_0x354b60(0x98)][_0x354b60(0x84)](_0x354b60(0x85),!0x1),this[_0x354b60(0x98)][_0x354b60(0x84)](_0x354b60(0x9a),!0x1),this[_0x354b60(0x98)][_0x354b60(0x84)](_0x354b60(0x93),!0x1),this[_0x354b60(0xa4)][_0x354b60(0x84)](_0x354b60(0x85),!0x1),this[_0x354b60(0x86)]({'tag':_0x354b60(0x87),'attributes':{'class':['ck',_0x354b60(0x7b),_0x354b60(0x8b),_0x354b60(0x92)],'dir':_0x354b60(0x82)},'children':[this[_0x354b60(0x80)],this[_0x354b60(0xa7)],this[_0x354b60(0x7c)],this[_0x354b60(0x98)],this[_0x354b60(0xa4)]]});}[_0x205eb9(0x8f)](){var _0x4e03e1=_0x205eb9;this[_0x4e03e1(0x7c)][_0x4e03e1(0xa2)](),this[_0x4e03e1(0x7c)][_0x4e03e1(0x84)](_0x4e03e1(0x85),!0x0),this[_0x4e03e1(0x98)][_0x4e03e1(0x84)](_0x4e03e1(0x85),!0x1),this[_0x4e03e1(0xa4)][_0x4e03e1(0x84)](_0x4e03e1(0x85),!0x1);}[_0x205eb9(0x7a)](){var _0x355d6d=_0x205eb9;this[_0x355d6d(0x79)](),this[_0x355d6d(0x98)][_0x355d6d(0x81)](),this[_0x355d6d(0x7c)][_0x355d6d(0x84)](_0x355d6d(0x85),!0x1),this[_0x355d6d(0x98)][_0x355d6d(0x84)](_0x355d6d(0x85),!0x0),this[_0x355d6d(0x98)][_0x355d6d(0xa6)](),this[_0x355d6d(0x98)][_0x355d6d(0x84)](_0x355d6d(0x9a),!0x0),this[_0x355d6d(0x98)][_0x355d6d(0x84)](_0x355d6d(0x90),!0x1);}[_0x205eb9(0x9c)](_0x46d096){var _0x2e791b=_0x205eb9;this[_0x2e791b(0x98)][_0x2e791b(0x89)](_0x46d096),this[_0x2e791b(0x98)][_0x2e791b(0x84)](_0x2e791b(0x9a),!0x1);}[_0x205eb9(0x8e)](){var _0x1da783=_0x205eb9;this[_0x1da783(0x98)][_0x1da783(0x84)](_0x1da783(0x85),!0x0),this[_0x1da783(0xa4)][_0x1da783(0x84)](_0x1da783(0x85),!0x1),this[_0x1da783(0x98)][_0x1da783(0x84)](_0x1da783(0x90),!0x0),this[_0x1da783(0x7c)][_0x1da783(0x84)](_0x1da783(0x85),!0x1);}[_0x205eb9(0x7f)](){var _0x47ccfe=_0x205eb9;this[_0x47ccfe(0x98)][_0x47ccfe(0x93)]?(this[_0x47ccfe(0x7c)][_0x47ccfe(0x84)](_0x47ccfe(0x85),!0x1),this[_0x47ccfe(0x98)][_0x47ccfe(0x84)](_0x47ccfe(0x85),!0x0),this[_0x47ccfe(0xa4)][_0x47ccfe(0x84)](_0x47ccfe(0x85),!0x1)):this[_0x47ccfe(0x98)][_0x47ccfe(0x93)]=!0x0;}[_0x205eb9(0x8d)](){var _0x1f1a22=_0x205eb9;this[_0x1f1a22(0x7c)][_0x1f1a22(0x84)](_0x1f1a22(0x85),!0x1),this[_0x1f1a22(0x98)][_0x1f1a22(0x84)](_0x1f1a22(0x85),!0x1),this[_0x1f1a22(0xa4)][_0x1f1a22(0x84)](_0x1f1a22(0x85),!0x0);}[_0x205eb9(0x79)](){var _0x43def5=_0x205eb9;this[_0x43def5(0x98)][_0x43def5(0x93)]=!0x1;}[_0x205eb9(0x7e)](_0x224134){var _0x6708fb=_0x205eb9;this[_0x6708fb(0xa7)][_0x6708fb(0x84)](_0x6708fb(0x85),!0x0),this[_0x6708fb(0xa7)][_0x6708fb(0x96)]=_0x224134;}[_0x205eb9(0x88)](){var _0xb1770=_0x205eb9;this[_0xb1770(0x98)][_0xb1770(0x84)](_0xb1770(0x9a),!0x1),this[_0xb1770(0x7f)](),this[_0xb1770(0x98)][_0xb1770(0x78)]();}[_0x205eb9(0xa3)](){var _0x1216ef=_0x205eb9;this[_0x1216ef(0x98)][_0x1216ef(0x84)](_0x1216ef(0x9a),!0x1),this[_0x1216ef(0x7f)](),this[_0x1216ef(0x98)][_0x1216ef(0x7d)]();}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d6374=_0x226c;(function(_0x3793ef,_0x49272b){const _0x4b0ca4=_0x226c,_0x2faada=_0x3793ef();while(!![]){try{const _0x94c98c=parseInt(_0x4b0ca4(0xe8))/0x1+-parseInt(_0x4b0ca4(0xe2))/0x2*(parseInt(_0x4b0ca4(0xde))/0x3)+-parseInt(_0x4b0ca4(0xee))/0x4+parseInt(_0x4b0ca4(0xef))/0x5+-parseInt(_0x4b0ca4(0xfa))/0x6*(parseInt(_0x4b0ca4(0x100))/0x7)+parseInt(_0x4b0ca4(0xf4))/0x8*(parseInt(_0x4b0ca4(0xe6))/0x9)+parseInt(_0x4b0ca4(0xea))/0xa;if(_0x94c98c===_0x49272b)break;else _0x2faada['push'](_0x2faada['shift']());}catch(_0x435b97){_0x2faada['push'](_0x2faada['shift']());}}}(_0x37fa,0xa6d89));function _0x37fa(){const _0x525f5d=['5461672XYLfQk','4256410SWcsUq','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','data','execute','set','285520riCCuQ','model','formValue','source','menuitemradio','menu','14646bMYsWn','isOn','_defaultValue','_dropdownView','_defaultLabel','label','2009iksWua','length','_prepareListOptions','resetToDefault','locale','bind','stopPropagation','div','1674309YbkCVR','ck-ai-review-mode__check-list-item-parameterized-form-element','listenTo','ck-reset_all','2uuQWas','extendTemplate','setTemplate','bindTemplate','207hmjkhQ','buttonView','977401cbYLzQ','button','6579360pZmGBM','default','find','add'];_0x37fa=function(){return _0x525f5d;};return _0x37fa();}function _0x226c(_0x399dbc,_0x221258){const _0x37facc=_0x37fa();return _0x226c=function(_0x226ca0,_0x3e48e6){_0x226ca0=_0x226ca0-0xd8;let _0x433ae6=_0x37facc[_0x226ca0];return _0x433ae6;},_0x226c(_0x399dbc,_0x221258);}import{Collection as _0x492ddc}from'ckeditor5/src/utils.js';import{View as _0xb9bda6,createDropdown as _0x308aa3,addListToDropdown as _0x28e0e1,UIModel as _0x45ffbc}from'ckeditor5/src/ui.js';export class AIReviewModeFormDropdownView extends _0xb9bda6{[_0x1d6374(0xfd)];[_0x1d6374(0xfc)];[_0x1d6374(0xfe)];constructor(_0x3beb8f,_0x48995c){const _0x492e4=_0x1d6374;super(_0x3beb8f),this[_0x492e4(0xfc)]=_0x48995c[_0x492e4(0xeb)]||(_0x48995c[_0x492e4(0xf1)][_0x492e4(0x101)]>0x0?_0x48995c[_0x492e4(0xf1)][0x0]['id']:''),this[_0x492e4(0xfe)]=_0x48995c[_0x492e4(0xf1)][_0x492e4(0xec)](_0x52f020=>_0x52f020['id']===this[_0x492e4(0xfc)])?.[_0x492e4(0xff)]||'',this[_0x492e4(0xf3)](_0x492e4(0xf6),''),this[_0x492e4(0xfd)]=_0x308aa3(this[_0x492e4(0xda)]);const _0xfca2d0=this[_0x492e4(0xd8)](_0x48995c[_0x492e4(0xf1)]);_0x28e0e1(this[_0x492e4(0xfd)],_0xfca2d0,{'role':_0x492e4(0xf9),'ariaLabel':_0x48995c[_0x492e4(0xff)]}),this[_0x492e4(0xfd)][_0x492e4(0xe7)][_0x492e4(0xf3)]({'label':this[_0x492e4(0xfe)],'withText':!0x0}),this[_0x492e4(0xfd)][_0x492e4(0xe3)]({'on':{'click':this[_0x492e4(0xe5)]['to'](_0x166c95=>{const _0x18ce7e=_0x492e4;_0x166c95[_0x18ce7e(0xdc)]();})}}),this[_0x492e4(0xe0)](this[_0x492e4(0xfd)],_0x492e4(0xf2),_0x1682ca=>{const _0x3a6d0e=_0x492e4;this[_0x3a6d0e(0xf6)]=_0x1682ca[_0x3a6d0e(0xf7)][_0x3a6d0e(0xf5)]['id'],this[_0x3a6d0e(0xfd)][_0x3a6d0e(0xe7)][_0x3a6d0e(0xff)]=_0x1682ca[_0x3a6d0e(0xf7)][_0x3a6d0e(0xf5)][_0x3a6d0e(0xff)];}),this[_0x492e4(0xe4)]({'tag':_0x492e4(0xdd),'attributes':{'class':['ck',_0x492e4(0xe1),_0x492e4(0xdf),_0x492e4(0xf0)]},'children':[this[_0x492e4(0xfd)]]});}[_0x1d6374(0xd9)](){const _0x599b59=_0x1d6374;this[_0x599b59(0xf6)]=this[_0x599b59(0xfc)],this[_0x599b59(0xfd)][_0x599b59(0xe7)][_0x599b59(0xff)]=this[_0x599b59(0xfe)];}[_0x1d6374(0xd8)](_0xa4077d=[]){const _0x3000ca=_0x1d6374,_0x15ff04=new _0x492ddc();this[_0x3000ca(0xd9)]();for(const _0x2a0abc of _0xa4077d){const _0x142825=new _0x45ffbc({'label':_0x2a0abc[_0x3000ca(0xff)],'withText':!0x0,'role':_0x3000ca(0xf8),'id':_0x2a0abc['id'],'model':_0x2a0abc});_0x142825[_0x3000ca(0xdb)](_0x3000ca(0xfb))['to'](this,_0x3000ca(0xf6),_0x32def6=>_0x32def6===_0x142825['id']);const _0x289aa8={'type':_0x3000ca(0xe9),'model':_0x142825};_0x15ff04[_0x3000ca(0xed)](_0x289aa8);}return _0x15ff04;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b56cf=_0x534b;(function(_0x3bafd,_0x2fc7d6){const _0x106a4e=_0x534b,_0x4e9355=_0x3bafd();while(!![]){try{const _0x3fe215=-parseInt(_0x106a4e(0x107))/0x1+parseInt(_0x106a4e(0x111))/0x2+-parseInt(_0x106a4e(0x115))/0x3*(parseInt(_0x106a4e(0x110))/0x4)+parseInt(_0x106a4e(0x108))/0x5*(parseInt(_0x106a4e(0x102))/0x6)+parseInt(_0x106a4e(0x101))/0x7+-parseInt(_0x106a4e(0x10b))/0x8*(parseInt(_0x106a4e(0x114))/0x9)+parseInt(_0x106a4e(0x11a))/0xa;if(_0x3fe215===_0x2fc7d6)break;else _0x4e9355['push'](_0x4e9355['shift']());}catch(_0x30c200){_0x4e9355['push'](_0x4e9355['shift']());}}}(_0x1f1a,0xedec7));function _0x534b(_0x509bb8,_0xd4c75){const _0x1f1ae2=_0x1f1a();return _0x534b=function(_0x534b39,_0x187043){_0x534b39=_0x534b39-0x100;let _0x4a5ed1=_0x1f1ae2[_0x534b39];return _0x4a5ed1;},_0x534b(_0x509bb8,_0xd4c75);}import{FormRowView as _0x2d1405,ListItemView as _0x3ad51e}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x19151a}from'./aireviewmodeformdropdown.js';function _0x1f1a(){const _0x5a53b6=['763041BzCOaO','1839235UAkHlm','formValue','bind','5335432DQnLuo','formType','children','argsKey','ck-form__row_with-submit','302096XxIdLE','974326bkTLmx','ck-ai-review-mode__form-item','add','9aqanfo','42HvhOMN','locale','dropdown','value','div','12500330sCfseY','resetToDefault','4347728vNNbaw','18kpBcRl','_formItem','setTemplate','set','ck-reset_all'];_0x1f1a=function(){return _0x5a53b6;};return _0x1f1a();}export class AIReviewModeFormManagerView extends _0x3ad51e{[_0x2b56cf(0x103)]=null;constructor(_0x581a59,_0x2863d7,_0x2a1e76){const _0x1dfaf3=_0x2b56cf;super(_0x581a59),this[_0x1dfaf3(0x10e)]=_0x2863d7?.[_0x1dfaf3(0x10e)];if(_0x1dfaf3(0x117)===_0x2863d7[_0x1dfaf3(0x10c)])this[_0x1dfaf3(0x103)]=new _0x19151a(this[_0x1dfaf3(0x116)],_0x2863d7);this[_0x1dfaf3(0x105)](_0x1dfaf3(0x118),''),this[_0x1dfaf3(0x10a)](_0x1dfaf3(0x118))['to'](this[_0x1dfaf3(0x103)],_0x1dfaf3(0x109));const _0x105049=new _0x2d1405(this[_0x1dfaf3(0x116)],{'children':[this[_0x1dfaf3(0x103)]],'class':[_0x2a1e76?_0x1dfaf3(0x10f):'']});_0x2a1e76&&_0x105049[_0x1dfaf3(0x10d)][_0x1dfaf3(0x113)](_0x2a1e76),this[_0x1dfaf3(0x104)]({'tag':_0x1dfaf3(0x119),'attributes':{'class':['ck',_0x1dfaf3(0x112),_0x1dfaf3(0x106)]},'children':[_0x105049]});}[_0x2b56cf(0x100)](){const _0x1e7a1f=_0x2b56cf;this[_0x1e7a1f(0x103)][_0x1e7a1f(0x100)]();}}
|
package/src/aitabs/aitabs.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc7413f=_0xa601;(function(_0x3548fa,_0x130263){const _0x366ac4=_0xa601,_0x234f3a=_0x3548fa();while(!![]){try{const _0x263456=-parseInt(_0x366ac4(0xb9))/0x1*(-parseInt(_0x366ac4(0xd3))/0x2)+parseInt(_0x366ac4(0xb3))/0x3*(-parseInt(_0x366ac4(0xd0))/0x4)+parseInt(_0x366ac4(0xc1))/0x5+parseInt(_0x366ac4(0xa5))/0x6+-parseInt(_0x366ac4(0xcd))/0x7+parseInt(_0x366ac4(0xb5))/0x8+-parseInt(_0x366ac4(0xad))/0x9*(parseInt(_0x366ac4(0xab))/0xa);if(_0x263456===_0x130263)break;else _0x234f3a['push'](_0x234f3a['shift']());}catch(_0x4e1b1d){_0x234f3a['push'](_0x234f3a['shift']());}}}(_0x292c,0x5f1d9));import{ContextPlugin as _0x16e1ad,Editor as _0x8ff247}from'ckeditor5/src/core.js';import{CKEditorError as _0x2872f5}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x2aff2a,AI_TABS_VIEW_SIDES as _0x1967d9,AI_TABS_VIEW_TYPES as _0xa1f7cc}from'./aitabsmainview.js';function _0x292c(){const _0x769341=['config','bind','element','3081315XlKWYn','resize','destroy','container','isOfficialPlugin','right','ai-tabs-configuration-not-found','switchSide','remove','locale','ai-tabs-unsupported-ui-type','fire','4348596COKNpg','view','isPremiumPlugin','1668224pvEOSn','render','side','147656WPbSzp','isMaximized','add','ai-tabs-sidebar-container-element-not-found','3323844UwKoMD','pluginName','switchType','ai.container','visibleByDefault','set','10390AVTMqj','get','10125pGGZOa','includes','showResizeButton','type','sidebar','resizedTabs','3yKJiRh','ai-tabs-unsupported-ui-side','6096504AwbXiV','appendChild','custom','overlay','9OPjgMJ','focusTracker','AITabs','body','context'];_0x292c=function(){return _0x769341;};return _0x292c();}function _0xa601(_0x2b1970,_0x316724){const _0x292c61=_0x292c();return _0xa601=function(_0xa601cc,_0x196952){_0xa601cc=_0xa601cc-0xa2;let _0x51eafa=_0x292c61[_0xa601cc];return _0x51eafa;},_0xa601(_0x2b1970,_0x316724);}export class AITabs extends _0x16e1ad{[_0xc7413f(0xce)];[_0xc7413f(0xc4)]=null;[_0xc7413f(0xaf)]=!0x0;static get[_0xc7413f(0xa6)](){const _0x1a6200=_0xc7413f;return _0x1a6200(0xbb);}static get[_0xc7413f(0xc5)](){return!0x0;}static get[_0xc7413f(0xcf)](){return!0x0;}constructor(_0x554d19){const _0xa9509c=_0xc7413f;super(_0x554d19);const _0x3adc36=this[_0xa9509c(0xbd)][_0xa9509c(0xbe)][_0xa9509c(0xac)](_0xa9509c(0xa8));if(this[_0xa9509c(0xaa)](_0xa9509c(0xd2),_0xa9509c(0xc6)),!_0x3adc36)throw new _0x2872f5(_0xa9509c(0xc7));if(void 0x0!==_0x3adc36[_0xa9509c(0xaf)]&&(this[_0xa9509c(0xaf)]=_0x3adc36[_0xa9509c(0xaf)]),_0xa9509c(0xb1)!==_0x3adc36[_0xa9509c(0xb0)]&&_0xa9509c(0xb8)!==_0x3adc36[_0xa9509c(0xb0)]||_0x3adc36[_0xa9509c(0xd2)]&&(this[_0xa9509c(0xd2)]=_0x3adc36[_0xa9509c(0xd2)]),_0xa9509c(0xb1)===_0x3adc36[_0xa9509c(0xb0)]){if(this[_0xa9509c(0xc4)]=_0x3adc36[_0xa9509c(0xc0)],this[_0xa9509c(0xaa)](_0xa9509c(0xb0),_0xa9509c(0xb1)),!this[_0xa9509c(0xc4)])throw new _0x2872f5(_0xa9509c(0xa4));}else _0xa9509c(0xb8)===_0x3adc36[_0xa9509c(0xb0)]?(this[_0xa9509c(0xc4)]=document[_0xa9509c(0xbc)],this[_0xa9509c(0xaa)](_0xa9509c(0xb0),_0xa9509c(0xb8))):(this[_0xa9509c(0xc4)]=null,this[_0xa9509c(0xaa)](_0xa9509c(0xb0),_0xa9509c(0xb7)));this[_0xa9509c(0xce)]=new _0x2aff2a(this[_0xa9509c(0xbd)][_0xa9509c(0xca)],{'side':this[_0xa9509c(0xd2)],'type':this[_0xa9509c(0xb0)],'visibleByDefault':void 0x0===_0x3adc36[_0xa9509c(0xa9)]||_0x3adc36[_0xa9509c(0xa9)]}),this[_0xa9509c(0xce)][_0xa9509c(0xd1)](),this[_0xa9509c(0xce)][_0xa9509c(0xbf)](_0xa9509c(0xd2))['to'](this,_0xa9509c(0xd2)),this[_0xa9509c(0xce)][_0xa9509c(0xbf)](_0xa9509c(0xb0))['to'](this,_0xa9509c(0xb0)),this[_0xa9509c(0xc4)]&&this[_0xa9509c(0xc4)][_0xa9509c(0xb6)](this[_0xa9509c(0xce)][_0xa9509c(0xc0)]),this[_0xa9509c(0xbd)]instanceof _0x8ff247&&this[_0xa9509c(0xbd)]['ui'][_0xa9509c(0xba)][_0xa9509c(0xa3)](this[_0xa9509c(0xce)][_0xa9509c(0xc0)]);}[_0xc7413f(0xa7)](_0x5cd452){const _0x133f14=_0xc7413f;if(_0x5cd452&&this[_0x133f14(0xb0)]!==_0x5cd452){if(!_0xa1f7cc[_0x133f14(0xae)](_0x5cd452))throw new _0x2872f5(_0x133f14(0xcb));this[_0x133f14(0xb0)]=_0x5cd452;}}[_0xc7413f(0xc8)](_0x5edd46){const _0x403dbb=_0xc7413f;if(_0x5edd46&&this[_0x403dbb(0xd2)]!==_0x5edd46){if(!_0x1967d9[_0x403dbb(0xae)](_0x5edd46))throw new _0x2872f5(_0x403dbb(0xb4));this[_0x403dbb(0xd2)]=_0x5edd46;}}[_0xc7413f(0xc2)](){const _0x4316c0=_0xc7413f;this[_0x4316c0(0xce)][_0x4316c0(0xa2)]=!this[_0x4316c0(0xce)][_0x4316c0(0xa2)],this[_0x4316c0(0xcc)](_0x4316c0(0xb2),this[_0x4316c0(0xce)][_0x4316c0(0xa2)]);}[_0xc7413f(0xc3)](){const _0x4d48dd=_0xc7413f;super[_0x4d48dd(0xc3)](),this[_0x4d48dd(0xce)][_0x4d48dd(0xc3)](),this[_0x4d48dd(0xce)][_0x4d48dd(0xc0)]&&this[_0x4d48dd(0xce)][_0x4d48dd(0xc0)][_0x4d48dd(0xc9)]();}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4302d2=_0x3ec9;(function(_0x5ab3d7,_0x1b9e6d){const _0x350a1a=_0x3ec9,_0x29b46f=_0x5ab3d7();while(!![]){try{const _0x5cd729=parseInt(_0x350a1a(0x93))/0x1*(-parseInt(_0x350a1a(0x8c))/0x2)+parseInt(_0x350a1a(0x9d))/0x3*(-parseInt(_0x350a1a(0x92))/0x4)+-parseInt(_0x350a1a(0x8a))/0x5*(parseInt(_0x350a1a(0xa0))/0x6)+-parseInt(_0x350a1a(0x9f))/0x7+-parseInt(_0x350a1a(0x9e))/0x8*(parseInt(_0x350a1a(0x98))/0x9)+-parseInt(_0x350a1a(0xa2))/0xa*(-parseInt(_0x350a1a(0x90))/0xb)+parseInt(_0x350a1a(0x8f))/0xc;if(_0x5cd729===_0x1b9e6d)break;else _0x29b46f['push'](_0x29b46f['shift']());}catch(_0x55d8cc){_0x29b46f['push'](_0x29b46f['shift']());}}}(_0x3df4,0xec495));import{AITabsView as _0x330a2d}from'./tabs/aitabsview.js';function _0x3ec9(_0x5b839d,_0x4d9513){const _0x3df4a0=_0x3df4();return _0x3ec9=function(_0x3ec962,_0x296403){_0x3ec962=_0x3ec962-0x87;let _0x5d88e2=_0x3df4a0[_0x3ec962];return _0x5d88e2;},_0x3ec9(_0x5b839d,_0x4d9513);}function _0x3df4(){const _0x2cbf15=['side','ck-ai-tabs__overlay','custom','bindTemplate','3582190AFPmdD','extendTemplate','4HVdyEa','overlay','right','51172176bnaIxP','41503cslpoY','buttonViews','1800804YCpOAk','561959qmsFWR','isVisible','set','left','sidebar','1403424uYeAFf','ck-hidden','ck-ai-tabs__sidebar','add','type','3PXiGVX','16TJCfPW','12913985VwJTzB','6rBDkhA','visibleByDefault','3050omARap','ck-ai-tabs','withText'];_0x3df4=function(){return _0x2cbf15;};return _0x3df4();}import'../../theme/aitabs/aitabsview.css';export const AI_TABS_VIEW_TYPES=[_0x4302d2(0x8d),_0x4302d2(0x97),_0x4302d2(0x88)];export const AI_TABS_VIEW_SIDES=[_0x4302d2(0x96),_0x4302d2(0x8e)];export class AITabsMainView extends _0x330a2d{constructor(_0x5e7f9d,_0x475212={}){const _0xc7a0ba=_0x4302d2;super(_0x5e7f9d,_0x475212),this[_0xc7a0ba(0x95)](_0xc7a0ba(0x9c),_0x475212[_0xc7a0ba(0x9c)]||_0xc7a0ba(0x97)),this[_0xc7a0ba(0x95)](_0xc7a0ba(0xa5),_0x475212[_0xc7a0ba(0xa5)]||_0xc7a0ba(0x8e)),this[_0xc7a0ba(0x95)](_0xc7a0ba(0x94),_0x475212[_0xc7a0ba(0xa1)]??!0x0);const _0xb6b397=this[_0xc7a0ba(0x89)];this[_0xc7a0ba(0x8b)]({'attributes':{'class':[_0xc7a0ba(0xa3),_0xb6b397['if'](_0xc7a0ba(0x9c),_0xc7a0ba(0x87),_0x431260=>_0xc7a0ba(0x8d)===_0x431260),_0xb6b397['if'](_0xc7a0ba(0x9c),_0xc7a0ba(0x9a),_0x8c99fc=>_0xc7a0ba(0x97)===_0x8c99fc),_0xb6b397['if'](_0xc7a0ba(0x94),_0xc7a0ba(0x99),_0x3b485f=>!_0x3b485f)]}}),this[_0xc7a0ba(0x91)]['on'](_0xc7a0ba(0x9b),(_0x19b71b,_0x28c96b)=>{const _0x209c50=_0xc7a0ba;_0x28c96b[_0x209c50(0x95)](_0x209c50(0xa4),!0x1);});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5e1d(_0x26b21,_0x588131){const _0x1b4807=_0x1b48();return _0x5e1d=function(_0x5e1d10,_0x9e489){_0x5e1d10=_0x5e1d10-0x1ec;let _0x291506=_0x1b4807[_0x5e1d10];return _0x291506;},_0x5e1d(_0x26b21,_0x588131);}const _0x59bf3f=_0x5e1d;(function(_0x2494be,_0xa1797d){const _0x45d7fd=_0x5e1d,_0xfb6d0e=_0x2494be();while(!![]){try{const _0x425e51=parseInt(_0x45d7fd(0x20b))/0x1+parseInt(_0x45d7fd(0x213))/0x2+-parseInt(_0x45d7fd(0x1f1))/0x3+-parseInt(_0x45d7fd(0x211))/0x4*(parseInt(_0x45d7fd(0x200))/0x5)+parseInt(_0x45d7fd(0x1f5))/0x6+-parseInt(_0x45d7fd(0x1f3))/0x7*(parseInt(_0x45d7fd(0x21a))/0x8)+parseInt(_0x45d7fd(0x201))/0x9*(parseInt(_0x45d7fd(0x223))/0xa);if(_0x425e51===_0xa1797d)break;else _0xfb6d0e['push'](_0xfb6d0e['shift']());}catch(_0x2e7ef8){_0xfb6d0e['push'](_0xfb6d0e['shift']());}}}(_0x1b48,0xb5ab7));import{View as _0x1c782e}from'ckeditor5/src/ui.js';import{toArray as _0x2e74ed,CKEditorError as _0x5976e6}from'ckeditor5/src/utils.js';import{TabButtonView as _0x31e1a9}from'./tabbuttonview.js';function _0x1b48(){const _0x41ef87=['keys','buttonIcon','locale','side','right','_hidePanel','ui-tabsview-tab-not-found','1277551ZtzMdy','button','setTemplate','ck-tabs','ck-tabs__panels-container','activeTab','5393636dUbTHj','get','985604tuYUAy','show','ck-tabs__buttons-container','_showPanel','bind','hideTab','_showButton','1571480xKCYEm','isMaximized','getIndex','icon','order','_tabs','label','ck-ai-tabs_maximized','addTab:','4366610BScetX','getTab','render','addTab','div','hide:','content','reduce','length','buttonLabel','hide','panel','createCollection','bindTemplate','_getPanel','isOn','find','left','_hideButton','buttonViews','ck-tabs_','show:','ck-reset','execute','ck-tabs__panels-container_','showTab','1980648ptishm','activateTab','14CaqFCR','_setupButton','5631600gyYszr','activateTab:','children','_getButton','top','isVisible','add','class','ck-tabs__buttons-container_','fire','getTabIds','5xxdMDI','9BuCtuY','panelViews','set'];_0x1b48=function(){return _0x41ef87;};return _0x1b48();}import{TabPanelView as _0x7f1335}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x59bf3f(0x1f9),_0x59bf3f(0x234),_0x59bf3f(0x208)];export class AITabsView extends _0x1c782e{[_0x59bf3f(0x236)]=this[_0x59bf3f(0x22f)]();[_0x59bf3f(0x202)]=this[_0x59bf3f(0x22f)]();[_0x59bf3f(0x21f)]=new Map();constructor(_0x22fc76,_0x5e0c22={}){const _0x4d04d3=_0x59bf3f;super(_0x22fc76),this[_0x4d04d3(0x203)](_0x4d04d3(0x1fc),void 0x0),this[_0x4d04d3(0x203)](_0x4d04d3(0x210),null),this[_0x4d04d3(0x203)](_0x4d04d3(0x207),_0x5e0c22[_0x4d04d3(0x207)]||_0x4d04d3(0x1f9)),this[_0x4d04d3(0x203)](_0x4d04d3(0x21b),!0x1);const _0x50b75b=this[_0x4d04d3(0x230)];this[_0x4d04d3(0x20d)]({'tag':_0x4d04d3(0x227),'attributes':{'class':['ck',_0x4d04d3(0x1ed),_0x4d04d3(0x20e),..._0x2e74ed(_0x5e0c22[_0x4d04d3(0x1fc)]||[]),_0x50b75b['to'](_0x4d04d3(0x207),_0x14a559=>_0x4d04d3(0x237)+_0x14a559),_0x50b75b['to'](_0x4d04d3(0x1fc)),_0x50b75b['to'](_0x4d04d3(0x21b),_0x26849e=>_0x26849e?_0x4d04d3(0x221):'')],'tabindex':'0'},'children':[{'tag':_0x4d04d3(0x227),'attributes':{'class':['ck',_0x4d04d3(0x215),_0x50b75b['to'](_0x4d04d3(0x207),_0x4825b3=>_0x4d04d3(0x1fd)+_0x4825b3)]},'children':this[_0x4d04d3(0x236)]},{'tag':_0x4d04d3(0x227),'attributes':{'class':['ck',_0x4d04d3(0x20f),_0x50b75b['to'](_0x4d04d3(0x207),_0x167476=>_0x4d04d3(0x1ef)+_0x167476)]},'children':this[_0x4d04d3(0x202)]},..._0x2e74ed(_0x5e0c22[_0x4d04d3(0x1f7)]||[])]});}[_0x59bf3f(0x1ff)](){const _0x131cb7=_0x59bf3f;return[...this[_0x131cb7(0x21f)][_0x131cb7(0x204)]()];}[_0x59bf3f(0x224)](_0x432fed){const _0x62ee1a=_0x59bf3f,_0x1045e5=this[_0x62ee1a(0x21f)][_0x62ee1a(0x212)](_0x432fed);return _0x1045e5||null;}[_0x59bf3f(0x226)](_0x3a6de4){const _0xb9a54=_0x59bf3f,_0x2d725a=this[_0xb9a54(0x1f4)]({'id':_0x3a6de4['id'],'label':_0x3a6de4[_0xb9a54(0x22c)],'icon':_0x3a6de4[_0xb9a54(0x205)],'order':_0x3a6de4[_0xb9a54(0x21e)]}),_0x42c778=new _0x7f1335(this[_0xb9a54(0x206)]);return _0x42c778[_0xb9a54(0x225)](),_0x3a6de4[_0xb9a54(0x229)]&&_0x42c778[_0xb9a54(0x1f7)][_0xb9a54(0x1fb)](_0x3a6de4[_0xb9a54(0x229)]),this[_0xb9a54(0x202)][_0xb9a54(0x1fb)](_0x42c778),this[_0xb9a54(0x21f)][_0xb9a54(0x203)](_0x3a6de4['id'],{'button':_0x2d725a,'panel':_0x42c778,'order':void 0x0!==_0x3a6de4[_0xb9a54(0x21e)]?_0x3a6de4[_0xb9a54(0x21e)]:null}),this[_0xb9a54(0x1fe)](_0xb9a54(0x222)+_0x3a6de4['id'],{'id':_0x3a6de4['id'],'button':_0x2d725a,'panel':_0x42c778}),null===this[_0xb9a54(0x210)]?this[_0xb9a54(0x1f2)](_0x3a6de4['id']):this[_0xb9a54(0x209)](_0x3a6de4['id']),{'button':_0x2d725a,'panel':_0x42c778};}[_0x59bf3f(0x1f2)](_0x56944d){const _0x456094=_0x59bf3f;if(null!==_0x56944d&&!this[_0x456094(0x224)](_0x56944d))throw new _0x5976e6(_0x456094(0x20a),{'tabs':this,'tabId':_0x56944d});this[_0x456094(0x210)]!==_0x56944d&&(this[_0x456094(0x210)]&&this[_0x456094(0x209)](this[_0x456094(0x210)]),this[_0x456094(0x210)]=_0x56944d,_0x56944d&&this[_0x456094(0x216)](_0x56944d),this[_0x456094(0x1fe)](_0x456094(0x1f6)+_0x56944d,_0x56944d));}[_0x59bf3f(0x1f0)](_0x18d73b){const _0x304b69=_0x59bf3f;if(!this[_0x304b69(0x224)](_0x18d73b))throw new _0x5976e6(_0x304b69(0x20a),{'tabs':this,'tabId':_0x18d73b});this[_0x304b69(0x216)](_0x18d73b),this[_0x304b69(0x219)](_0x18d73b),this[_0x304b69(0x1fe)](_0x304b69(0x1ec)+_0x18d73b,_0x18d73b);}[_0x59bf3f(0x218)](_0x1dce7e){const _0x116b68=_0x59bf3f;if(!this[_0x116b68(0x224)](_0x1dce7e))throw new _0x5976e6(_0x116b68(0x20a),{'tabs':this,'tabId':_0x1dce7e});const _0x293d74=this[_0x116b68(0x210)];this[_0x116b68(0x209)](_0x1dce7e),this[_0x116b68(0x235)](_0x1dce7e);const _0x4a6ebf=this[_0x116b68(0x1ff)]();_0x293d74===_0x1dce7e&&_0x4a6ebf[_0x116b68(0x22b)]>0x1&&this[_0x116b68(0x1f2)](_0x4a6ebf[_0x116b68(0x233)](_0x1e4547=>_0x1e4547!==_0x1dce7e)),this[_0x116b68(0x1fe)](_0x116b68(0x228)+_0x1dce7e,_0x1dce7e);}[_0x59bf3f(0x231)](_0x3612d4){const _0x10e91e=_0x59bf3f,_0x3b0e8c=this[_0x10e91e(0x21f)][_0x10e91e(0x212)](_0x3612d4);return _0x3b0e8c?_0x3b0e8c[_0x10e91e(0x22e)]:null;}[_0x59bf3f(0x216)](_0x49966c){const _0x54d676=_0x59bf3f;null!==this[_0x54d676(0x210)]&&this[_0x54d676(0x210)]!==_0x49966c||this[_0x54d676(0x231)](_0x49966c)[_0x54d676(0x214)]();}[_0x59bf3f(0x209)](_0x2bac8c){const _0xa9ad5c=_0x59bf3f,_0x4273cb=this[_0xa9ad5c(0x231)](_0x2bac8c);_0x4273cb[_0xa9ad5c(0x1fa)]&&(this[_0xa9ad5c(0x210)]===_0x2bac8c&&(this[_0xa9ad5c(0x210)]=null),_0x4273cb[_0xa9ad5c(0x22d)]());}[_0x59bf3f(0x1f8)](_0x8a5f5){const _0x5b059f=_0x59bf3f,_0x54dac8=this[_0x5b059f(0x21f)][_0x5b059f(0x212)](_0x8a5f5);return _0x54dac8?_0x54dac8[_0x5b059f(0x20c)]:null;}[_0x59bf3f(0x219)](_0x1d04d8){const _0x5f01b8=_0x59bf3f;this[_0x5f01b8(0x1f8)](_0x1d04d8)[_0x5f01b8(0x214)]();}[_0x59bf3f(0x235)](_0xc102f4){const _0x10d620=_0x59bf3f;this[_0x10d620(0x1f8)](_0xc102f4)[_0x10d620(0x22d)]();}[_0x59bf3f(0x1f4)](_0x582c78){const _0x53f4e1=_0x59bf3f,_0x3a0d03=new _0x31e1a9(this[_0x53f4e1(0x206)],{'side':this[_0x53f4e1(0x207)]}),_0x3209ad=this[_0x53f4e1(0x236)];if(_0x3a0d03[_0x53f4e1(0x203)]({'label':_0x582c78[_0x53f4e1(0x220)],'icon':_0x582c78[_0x53f4e1(0x21d)],'tooltip':!0x0,'withText':!0x0}),_0x3a0d03[_0x53f4e1(0x217)](_0x53f4e1(0x232))['to'](this,_0x53f4e1(0x210),_0x3b83b9=>_0x3b83b9===_0x582c78['id']),_0x3a0d03[_0x53f4e1(0x217)](_0x53f4e1(0x207))['to'](this,_0x53f4e1(0x207)),_0x582c78[_0x53f4e1(0x21e)]){const _0x75d8fa=[...this[_0x53f4e1(0x21f)]][_0x53f4e1(0x22a)]((_0x10489f,_0x23169c)=>{const _0x214507=_0x53f4e1,_0x22f34f=_0x23169c[0x0],{order:_0xd8c1a6}=_0x23169c[0x1];return!_0xd8c1a6||_0xd8c1a6>_0x582c78[_0x214507(0x21e)]?_0x10489f:_0xd8c1a6>=_0x10489f[_0x214507(0x21e)]?{'id':_0x22f34f,'order':_0xd8c1a6}:_0x10489f;},{'id':'','order':0x0}),_0x3f4c4f=_0x3209ad[_0x53f4e1(0x21c)](this[_0x53f4e1(0x1f8)](_0x75d8fa['id']));_0x3209ad[_0x53f4e1(0x1fb)](_0x3a0d03,_0x3f4c4f+0x1);}else _0x3209ad[_0x53f4e1(0x1fb)](_0x3a0d03);return _0x3a0d03['on'](_0x53f4e1(0x1ee),()=>{const _0x58ce96=_0x53f4e1;this[_0x58ce96(0x1f2)](_0x582c78['id']);}),_0x3a0d03;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52da3e=_0x37a8;function _0x37a8(_0x4c6909,_0x2cd826){const _0x1feeb9=_0x1fee();return _0x37a8=function(_0x37a83b,_0x206241){_0x37a83b=_0x37a83b-0xcc;let _0x2af707=_0x1feeb9[_0x37a83b];return _0x2af707;},_0x37a8(_0x4c6909,_0x2cd826);}function _0x1fee(){const _0x20d2c3=['isVisible','bindTemplate','ck-tab-button_','ck-tab-button','1367809zLuGOP','show','6815244zeQDlb','set','1057638qxDxwp','9pLmEoL','extendTemplate','side','22nITqeP','126576ftaTfK','57KipyqK','2lAfbhy','8VfKIbX','isToggleable','14803480kVUafg','class','top','7150805fTBJfP','7538671Nofonj','hide'];_0x1fee=function(){return _0x20d2c3;};return _0x1fee();}(function(_0x36ab40,_0x18db2b){const _0x5ce83c=_0x37a8,_0x572f81=_0x36ab40();while(!![]){try{const _0xde12c6=parseInt(_0x5ce83c(0xde))/0x1*(-parseInt(_0x5ce83c(0xd1))/0x2)+parseInt(_0x5ce83c(0xd0))/0x3*(-parseInt(_0x5ce83c(0xcf))/0x4)+parseInt(_0x5ce83c(0xd7))/0x5+-parseInt(_0x5ce83c(0xe2))/0x6+-parseInt(_0x5ce83c(0xd8))/0x7*(parseInt(_0x5ce83c(0xd2))/0x8)+parseInt(_0x5ce83c(0xe3))/0x9*(parseInt(_0x5ce83c(0xd4))/0xa)+parseInt(_0x5ce83c(0xce))/0xb*(parseInt(_0x5ce83c(0xe0))/0xc);if(_0xde12c6===_0x18db2b)break;else _0x572f81['push'](_0x572f81['shift']());}catch(_0x17520b){_0x572f81['push'](_0x572f81['shift']());}}}(_0x1fee,0xc9330));import{ButtonView as _0x577d75}from'ckeditor5/src/ui.js';import{toArray as _0x358049}from'ckeditor5/src/utils.js';import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0x577d75{constructor(_0x33700d,_0x1e2c79={}){const _0x289a96=_0x37a8;super(_0x33700d),this[_0x289a96(0xd3)]=!0x0,this[_0x289a96(0xe1)](_0x289a96(0xcd),_0x1e2c79[_0x289a96(0xcd)]||_0x289a96(0xd6));const _0x540ce7=this[_0x289a96(0xdb)];this[_0x289a96(0xcc)]({'attributes':{'class':[_0x289a96(0xdd),..._0x358049(_0x1e2c79[_0x289a96(0xd5)]||[]),_0x540ce7['to'](_0x289a96(0xcd),_0x5d1744=>_0x289a96(0xdc)+_0x5d1744),_0x540ce7['to'](_0x289a96(0xd5))]}});}[_0x52da3e(0xdf)](){const _0x3a58c9=_0x52da3e;this[_0x3a58c9(0xe1)](_0x3a58c9(0xda),!0x0);}[_0x52da3e(0xd9)](){const _0x1d089f=_0x52da3e;this[_0x1d089f(0xe1)](_0x1d089f(0xda),!0x1);}}
|