@ckeditor/ckeditor5-ui 0.0.0-internal-20241017.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/CHANGELOG.md +4 -0
- package/LICENSE.md +21 -0
- package/README.md +26 -0
- package/ckeditor5-metadata.json +25 -0
- package/dist/arialiveannouncer.d.ts +113 -0
- package/dist/augmentation.d.ts +92 -0
- package/dist/autocomplete/autocompleteview.d.ts +85 -0
- package/dist/badge/badge.d.ts +133 -0
- package/dist/bindings/addkeyboardhandlingforgrid.d.ts +31 -0
- package/dist/bindings/clickoutsidehandler.d.ts +34 -0
- package/dist/bindings/csstransitiondisablermixin.d.ts +44 -0
- package/dist/bindings/draggableviewmixin.d.ts +50 -0
- package/dist/bindings/injectcsstransitiondisabler.d.ts +63 -0
- package/dist/bindings/preventdefault.d.ts +37 -0
- package/dist/bindings/submithandler.d.ts +61 -0
- package/dist/button/button.d.ts +179 -0
- package/dist/button/buttonlabel.d.ts +38 -0
- package/dist/button/buttonlabelview.d.ts +35 -0
- package/dist/button/buttonview.d.ts +201 -0
- package/dist/button/filedialogbuttonview.d.ts +111 -0
- package/dist/button/listitembuttonview.d.ts +82 -0
- package/dist/button/switchbuttonview.d.ts +49 -0
- package/dist/collapsible/collapsibleview.d.ts +74 -0
- package/dist/colorgrid/colorgridview.d.ts +136 -0
- package/dist/colorgrid/colortileview.d.ts +32 -0
- package/dist/colorgrid/utils.d.ts +51 -0
- package/dist/colorpicker/colorpickerview.d.ts +177 -0
- package/dist/colorpicker/utils.d.ts +52 -0
- package/dist/colorselector/colorgridsfragmentview.d.ts +199 -0
- package/dist/colorselector/colorpickerfragmentview.d.ts +137 -0
- package/dist/colorselector/colorselectorview.d.ts +246 -0
- package/dist/colorselector/documentcolorcollection.d.ts +74 -0
- package/dist/componentfactory.d.ts +85 -0
- package/dist/dialog/dialog.d.ts +281 -0
- package/dist/dialog/dialogactionsview.d.ts +73 -0
- package/dist/dialog/dialogcontentview.d.ts +31 -0
- package/dist/dialog/dialogview.d.ts +260 -0
- package/dist/dropdown/button/dropdownbutton.d.ts +29 -0
- package/dist/dropdown/button/dropdownbuttonview.d.ts +52 -0
- package/dist/dropdown/button/splitbuttonview.d.ts +166 -0
- package/dist/dropdown/dropdownpanelfocusable.d.ts +25 -0
- package/dist/dropdown/dropdownpanelview.d.ts +66 -0
- package/dist/dropdown/dropdownview.d.ts +332 -0
- package/dist/dropdown/menu/dropdownmenubehaviors.d.ts +48 -0
- package/dist/dropdown/menu/dropdownmenubuttonview.d.ts +40 -0
- package/dist/dropdown/menu/dropdownmenulistitembuttonview.d.ts +21 -0
- package/dist/dropdown/menu/dropdownmenulistitemview.d.ts +26 -0
- package/dist/dropdown/menu/dropdownmenulistview.d.ts +28 -0
- package/dist/dropdown/menu/dropdownmenunestedmenupanelview.d.ts +38 -0
- package/dist/dropdown/menu/dropdownmenunestedmenuview.d.ts +135 -0
- package/dist/dropdown/menu/dropdownmenurootlistview.d.ts +144 -0
- package/dist/dropdown/menu/utils.d.ts +128 -0
- package/dist/dropdown/utils.d.ts +297 -0
- package/dist/editableui/editableuiview.d.ts +76 -0
- package/dist/editableui/inline/inlineeditableuiview.d.ts +48 -0
- package/dist/editorui/accessibilityhelp/accessibilityhelp.d.ts +59 -0
- package/dist/editorui/accessibilityhelp/accessibilityhelpcontentview.d.ts +39 -0
- package/dist/editorui/bodycollection.d.ts +59 -0
- package/dist/editorui/boxed/boxededitoruiview.d.ts +44 -0
- package/dist/editorui/editorui.d.ts +358 -0
- package/dist/editorui/editoruiview.d.ts +48 -0
- package/dist/editorui/evaluationbadge.d.ts +37 -0
- package/dist/editorui/poweredby.d.ts +38 -0
- package/dist/focuscycler.d.ts +295 -0
- package/dist/formheader/formheaderview.d.ts +62 -0
- package/dist/highlightedtext/buttonlabelwithhighlightview.d.ts +34 -0
- package/dist/highlightedtext/highlightedtextview.d.ts +42 -0
- package/dist/highlightedtext/labelwithhighlightview.d.ts +30 -0
- package/dist/icon/iconview.d.ts +92 -0
- package/dist/iframe/iframeview.d.ts +54 -0
- package/dist/index-content.css +4 -0
- package/dist/index-editor.css +754 -0
- package/dist/index.css +1063 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.ts +97 -0
- package/dist/index.js +17688 -0
- package/dist/index.js.map +1 -0
- package/dist/input/inputbase.d.ts +123 -0
- package/dist/input/inputview.d.ts +40 -0
- package/dist/inputnumber/inputnumberview.d.ts +53 -0
- package/dist/inputtext/inputtextview.d.ts +22 -0
- package/dist/label/labelview.d.ts +40 -0
- package/dist/labeledfield/labeledfieldview.d.ts +191 -0
- package/dist/labeledfield/utils.d.ts +127 -0
- package/dist/labeledinput/labeledinputview.d.ts +129 -0
- package/dist/list/listitemgroupview.d.ts +63 -0
- package/dist/list/listitemview.d.ts +40 -0
- package/dist/list/listseparatorview.d.ts +22 -0
- package/dist/list/listview.d.ts +128 -0
- package/dist/menubar/menubarmenubuttonview.d.ts +39 -0
- package/dist/menubar/menubarmenulistitembuttonview.d.ts +25 -0
- package/dist/menubar/menubarmenulistitemfiledialogbuttonview.d.ts +27 -0
- package/dist/menubar/menubarmenulistitemview.d.ts +29 -0
- package/dist/menubar/menubarmenulistview.d.ts +33 -0
- package/dist/menubar/menubarmenupanelview.d.ts +57 -0
- package/dist/menubar/menubarmenuview.d.ts +113 -0
- package/dist/menubar/menubarview.d.ts +177 -0
- package/dist/menubar/utils.d.ts +451 -0
- package/dist/model.d.ts +26 -0
- package/dist/notification/notification.d.ts +219 -0
- package/dist/panel/balloon/balloonpanelview.d.ts +701 -0
- package/dist/panel/balloon/contextualballoon.d.ts +313 -0
- package/dist/panel/sticky/stickypanelview.d.ts +160 -0
- package/dist/search/filteredview.d.ts +35 -0
- package/dist/search/filtergroupanditemnames.d.ts +19 -0
- package/dist/search/searchinfoview.d.ts +49 -0
- package/dist/search/searchresultsview.d.ts +58 -0
- package/dist/search/text/searchtextqueryview.d.ts +80 -0
- package/dist/search/text/searchtextview.d.ts +223 -0
- package/dist/spinner/spinnerview.d.ts +29 -0
- package/dist/template.d.ts +946 -0
- package/dist/textarea/textareaview.d.ts +108 -0
- package/dist/toolbar/balloon/balloontoolbar.d.ts +130 -0
- package/dist/toolbar/block/blockbuttonview.d.ts +39 -0
- package/dist/toolbar/block/blocktoolbar.d.ts +175 -0
- package/dist/toolbar/normalizetoolbarconfig.d.ts +44 -0
- package/dist/toolbar/toolbarlinebreakview.d.ts +22 -0
- package/dist/toolbar/toolbarseparatorview.d.ts +22 -0
- package/dist/toolbar/toolbarview.d.ts +271 -0
- package/dist/tooltipmanager.d.ts +192 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +5 -0
- package/dist/translations/af.umd.js +11 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +5 -0
- package/dist/translations/ar.umd.js +11 -0
- package/dist/translations/ast.d.ts +8 -0
- package/dist/translations/ast.js +5 -0
- package/dist/translations/ast.umd.js +11 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +5 -0
- package/dist/translations/az.umd.js +11 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +5 -0
- package/dist/translations/bg.umd.js +11 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +5 -0
- package/dist/translations/bn.umd.js +11 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +5 -0
- package/dist/translations/bs.umd.js +11 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +5 -0
- package/dist/translations/ca.umd.js +11 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +5 -0
- package/dist/translations/cs.umd.js +11 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +5 -0
- package/dist/translations/da.umd.js +11 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +5 -0
- package/dist/translations/de-ch.umd.js +11 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +5 -0
- package/dist/translations/de.umd.js +11 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +5 -0
- package/dist/translations/el.umd.js +11 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +5 -0
- package/dist/translations/en-au.umd.js +11 -0
- package/dist/translations/en-gb.d.ts +8 -0
- package/dist/translations/en-gb.js +5 -0
- package/dist/translations/en-gb.umd.js +11 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +5 -0
- package/dist/translations/en.umd.js +11 -0
- package/dist/translations/eo.d.ts +8 -0
- package/dist/translations/eo.js +5 -0
- package/dist/translations/eo.umd.js +11 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +5 -0
- package/dist/translations/es-co.umd.js +11 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +5 -0
- package/dist/translations/es.umd.js +11 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +5 -0
- package/dist/translations/et.umd.js +11 -0
- package/dist/translations/eu.d.ts +8 -0
- package/dist/translations/eu.js +5 -0
- package/dist/translations/eu.umd.js +11 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +5 -0
- package/dist/translations/fa.umd.js +11 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +5 -0
- package/dist/translations/fi.umd.js +11 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +5 -0
- package/dist/translations/fr.umd.js +11 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +5 -0
- package/dist/translations/gl.umd.js +11 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +5 -0
- package/dist/translations/he.umd.js +11 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +5 -0
- package/dist/translations/hi.umd.js +11 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +5 -0
- package/dist/translations/hr.umd.js +11 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +5 -0
- package/dist/translations/hu.umd.js +11 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +5 -0
- package/dist/translations/id.umd.js +11 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +5 -0
- package/dist/translations/it.umd.js +11 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +5 -0
- package/dist/translations/ja.umd.js +11 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +5 -0
- package/dist/translations/jv.umd.js +11 -0
- package/dist/translations/km.d.ts +8 -0
- package/dist/translations/km.js +5 -0
- package/dist/translations/km.umd.js +11 -0
- package/dist/translations/kn.d.ts +8 -0
- package/dist/translations/kn.js +5 -0
- package/dist/translations/kn.umd.js +11 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +5 -0
- package/dist/translations/ko.umd.js +11 -0
- package/dist/translations/ku.d.ts +8 -0
- package/dist/translations/ku.js +5 -0
- package/dist/translations/ku.umd.js +11 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +5 -0
- package/dist/translations/lt.umd.js +11 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +5 -0
- package/dist/translations/lv.umd.js +11 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +5 -0
- package/dist/translations/ms.umd.js +11 -0
- package/dist/translations/nb.d.ts +8 -0
- package/dist/translations/nb.js +5 -0
- package/dist/translations/nb.umd.js +11 -0
- package/dist/translations/ne.d.ts +8 -0
- package/dist/translations/ne.js +5 -0
- package/dist/translations/ne.umd.js +11 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +5 -0
- package/dist/translations/nl.umd.js +11 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +5 -0
- package/dist/translations/no.umd.js +11 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +5 -0
- package/dist/translations/pl.umd.js +11 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +5 -0
- package/dist/translations/pt-br.umd.js +11 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +5 -0
- package/dist/translations/pt.umd.js +11 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +5 -0
- package/dist/translations/ro.umd.js +11 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +5 -0
- package/dist/translations/ru.umd.js +11 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +5 -0
- package/dist/translations/sk.umd.js +11 -0
- package/dist/translations/sl.d.ts +8 -0
- package/dist/translations/sl.js +5 -0
- package/dist/translations/sl.umd.js +11 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +5 -0
- package/dist/translations/sq.umd.js +11 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +5 -0
- package/dist/translations/sr-latn.umd.js +11 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +5 -0
- package/dist/translations/sr.umd.js +11 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +5 -0
- package/dist/translations/sv.umd.js +11 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +5 -0
- package/dist/translations/th.umd.js +11 -0
- package/dist/translations/ti.d.ts +8 -0
- package/dist/translations/ti.js +5 -0
- package/dist/translations/ti.umd.js +11 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +5 -0
- package/dist/translations/tk.umd.js +11 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +5 -0
- package/dist/translations/tr.umd.js +11 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +5 -0
- package/dist/translations/tt.umd.js +11 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +5 -0
- package/dist/translations/ug.umd.js +11 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +5 -0
- package/dist/translations/uk.umd.js +11 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +5 -0
- package/dist/translations/ur.umd.js +11 -0
- package/dist/translations/uz.d.ts +8 -0
- package/dist/translations/uz.js +5 -0
- package/dist/translations/uz.umd.js +11 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +5 -0
- package/dist/translations/vi.umd.js +11 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +5 -0
- package/dist/translations/zh-cn.umd.js +11 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +5 -0
- package/dist/translations/zh.umd.js +11 -0
- package/dist/view.d.ts +426 -0
- package/dist/viewcollection.d.ts +143 -0
- package/lang/contexts.json +51 -0
- package/lang/translations/af.po +214 -0
- package/lang/translations/ar.po +214 -0
- package/lang/translations/ast.po +214 -0
- package/lang/translations/az.po +214 -0
- package/lang/translations/bg.po +214 -0
- package/lang/translations/bn.po +214 -0
- package/lang/translations/bs.po +214 -0
- package/lang/translations/ca.po +214 -0
- package/lang/translations/cs.po +214 -0
- package/lang/translations/da.po +214 -0
- package/lang/translations/de-ch.po +214 -0
- package/lang/translations/de.po +214 -0
- package/lang/translations/el.po +214 -0
- package/lang/translations/en-au.po +214 -0
- package/lang/translations/en-gb.po +214 -0
- package/lang/translations/en.po +214 -0
- package/lang/translations/eo.po +214 -0
- package/lang/translations/es-co.po +214 -0
- package/lang/translations/es.po +214 -0
- package/lang/translations/et.po +214 -0
- package/lang/translations/eu.po +214 -0
- package/lang/translations/fa.po +214 -0
- package/lang/translations/fi.po +214 -0
- package/lang/translations/fr.po +214 -0
- package/lang/translations/gl.po +214 -0
- package/lang/translations/he.po +214 -0
- package/lang/translations/hi.po +214 -0
- package/lang/translations/hr.po +214 -0
- package/lang/translations/hu.po +214 -0
- package/lang/translations/id.po +214 -0
- package/lang/translations/it.po +214 -0
- package/lang/translations/ja.po +214 -0
- package/lang/translations/jv.po +214 -0
- package/lang/translations/km.po +214 -0
- package/lang/translations/kn.po +214 -0
- package/lang/translations/ko.po +214 -0
- package/lang/translations/ku.po +214 -0
- package/lang/translations/lt.po +214 -0
- package/lang/translations/lv.po +214 -0
- package/lang/translations/ms.po +214 -0
- package/lang/translations/nb.po +214 -0
- package/lang/translations/ne.po +214 -0
- package/lang/translations/nl.po +214 -0
- package/lang/translations/no.po +214 -0
- package/lang/translations/pl.po +214 -0
- package/lang/translations/pt-br.po +214 -0
- package/lang/translations/pt.po +214 -0
- package/lang/translations/ro.po +214 -0
- package/lang/translations/ru.po +214 -0
- package/lang/translations/sk.po +214 -0
- package/lang/translations/sl.po +214 -0
- package/lang/translations/sq.po +214 -0
- package/lang/translations/sr-latn.po +214 -0
- package/lang/translations/sr.po +214 -0
- package/lang/translations/sv.po +214 -0
- package/lang/translations/th.po +214 -0
- package/lang/translations/ti.po +214 -0
- package/lang/translations/tk.po +214 -0
- package/lang/translations/tr.po +214 -0
- package/lang/translations/tt.po +214 -0
- package/lang/translations/ug.po +214 -0
- package/lang/translations/uk.po +214 -0
- package/lang/translations/ur.po +214 -0
- package/lang/translations/uz.po +214 -0
- package/lang/translations/vi.po +214 -0
- package/lang/translations/zh-cn.po +214 -0
- package/lang/translations/zh.po +214 -0
- package/package.json +42 -0
- package/src/arialiveannouncer.d.ts +109 -0
- package/src/arialiveannouncer.js +165 -0
- package/src/augmentation.d.ts +88 -0
- package/src/augmentation.js +5 -0
- package/src/autocomplete/autocompleteview.d.ts +81 -0
- package/src/autocomplete/autocompleteview.js +154 -0
- package/src/badge/badge.d.ts +129 -0
- package/src/badge/badge.js +218 -0
- package/src/bindings/addkeyboardhandlingforgrid.d.ts +27 -0
- package/src/bindings/addkeyboardhandlingforgrid.js +107 -0
- package/src/bindings/clickoutsidehandler.d.ts +30 -0
- package/src/bindings/clickoutsidehandler.js +37 -0
- package/src/bindings/csstransitiondisablermixin.d.ts +40 -0
- package/src/bindings/csstransitiondisablermixin.js +55 -0
- package/src/bindings/draggableviewmixin.d.ts +46 -0
- package/src/bindings/draggableviewmixin.js +144 -0
- package/src/bindings/injectcsstransitiondisabler.d.ts +59 -0
- package/src/bindings/injectcsstransitiondisabler.js +71 -0
- package/src/bindings/preventdefault.d.ts +33 -0
- package/src/bindings/preventdefault.js +34 -0
- package/src/bindings/submithandler.d.ts +57 -0
- package/src/bindings/submithandler.js +47 -0
- package/src/button/button.d.ts +175 -0
- package/src/button/button.js +5 -0
- package/src/button/buttonlabel.d.ts +34 -0
- package/src/button/buttonlabel.js +5 -0
- package/src/button/buttonlabelview.d.ts +31 -0
- package/src/button/buttonlabelview.js +42 -0
- package/src/button/buttonview.d.ts +197 -0
- package/src/button/buttonview.js +248 -0
- package/src/button/filedialogbuttonview.d.ts +107 -0
- package/src/button/filedialogbuttonview.js +145 -0
- package/src/button/listitembuttonview.d.ts +78 -0
- package/src/button/listitembuttonview.js +129 -0
- package/src/button/switchbuttonview.d.ts +45 -0
- package/src/button/switchbuttonview.js +75 -0
- package/src/collapsible/collapsibleview.d.ts +70 -0
- package/src/collapsible/collapsibleview.js +95 -0
- package/src/colorgrid/colorgridview.d.ts +132 -0
- package/src/colorgrid/colorgridview.js +124 -0
- package/src/colorgrid/colortileview.d.ts +28 -0
- package/src/colorgrid/colortileview.js +42 -0
- package/src/colorgrid/utils.d.ts +47 -0
- package/src/colorgrid/utils.js +84 -0
- package/src/colorpicker/colorpickerview.d.ts +173 -0
- package/src/colorpicker/colorpickerview.js +326 -0
- package/src/colorpicker/utils.d.ts +48 -0
- package/src/colorpicker/utils.js +108 -0
- package/src/colorselector/colorgridsfragmentview.d.ts +195 -0
- package/src/colorselector/colorgridsfragmentview.js +291 -0
- package/src/colorselector/colorpickerfragmentview.d.ts +133 -0
- package/src/colorselector/colorpickerfragmentview.js +212 -0
- package/src/colorselector/colorselectorview.d.ts +242 -0
- package/src/colorselector/colorselectorview.js +257 -0
- package/src/colorselector/documentcolorcollection.d.ts +70 -0
- package/src/colorselector/documentcolorcollection.js +42 -0
- package/src/componentfactory.d.ts +81 -0
- package/src/componentfactory.js +104 -0
- package/src/dialog/dialog.d.ts +277 -0
- package/src/dialog/dialog.js +279 -0
- package/src/dialog/dialogactionsview.d.ts +69 -0
- package/src/dialog/dialogactionsview.js +98 -0
- package/src/dialog/dialogcontentview.d.ts +27 -0
- package/src/dialog/dialogcontentview.js +35 -0
- package/src/dialog/dialogview.d.ts +256 -0
- package/src/dialog/dialogview.js +453 -0
- package/src/dropdown/button/dropdownbutton.d.ts +25 -0
- package/src/dropdown/button/dropdownbutton.js +5 -0
- package/src/dropdown/button/dropdownbuttonview.d.ts +48 -0
- package/src/dropdown/button/dropdownbuttonview.js +66 -0
- package/src/dropdown/button/splitbuttonview.d.ts +162 -0
- package/src/dropdown/button/splitbuttonview.js +154 -0
- package/src/dropdown/dropdownpanelfocusable.d.ts +21 -0
- package/src/dropdown/dropdownpanelfocusable.js +5 -0
- package/src/dropdown/dropdownpanelview.d.ts +62 -0
- package/src/dropdown/dropdownpanelview.js +97 -0
- package/src/dropdown/dropdownview.d.ts +328 -0
- package/src/dropdown/dropdownview.js +380 -0
- package/src/dropdown/menu/dropdownmenubehaviors.d.ts +44 -0
- package/src/dropdown/menu/dropdownmenubehaviors.js +119 -0
- package/src/dropdown/menu/dropdownmenubuttonview.d.ts +36 -0
- package/src/dropdown/menu/dropdownmenubuttonview.js +65 -0
- package/src/dropdown/menu/dropdownmenulistitembuttonview.d.ts +17 -0
- package/src/dropdown/menu/dropdownmenulistitembuttonview.js +29 -0
- package/src/dropdown/menu/dropdownmenulistitemview.d.ts +22 -0
- package/src/dropdown/menu/dropdownmenulistitemview.js +34 -0
- package/src/dropdown/menu/dropdownmenulistview.d.ts +24 -0
- package/src/dropdown/menu/dropdownmenulistview.js +29 -0
- package/src/dropdown/menu/dropdownmenunestedmenupanelview.d.ts +34 -0
- package/src/dropdown/menu/dropdownmenunestedmenupanelview.js +63 -0
- package/src/dropdown/menu/dropdownmenunestedmenuview.d.ts +131 -0
- package/src/dropdown/menu/dropdownmenunestedmenuview.js +191 -0
- package/src/dropdown/menu/dropdownmenurootlistview.d.ts +140 -0
- package/src/dropdown/menu/dropdownmenurootlistview.js +160 -0
- package/src/dropdown/menu/utils.d.ts +124 -0
- package/src/dropdown/menu/utils.js +61 -0
- package/src/dropdown/utils.d.ts +293 -0
- package/src/dropdown/utils.js +562 -0
- package/src/editableui/editableuiview.d.ts +72 -0
- package/src/editableui/editableuiview.js +112 -0
- package/src/editableui/inline/inlineeditableuiview.d.ts +44 -0
- package/src/editableui/inline/inlineeditableuiview.js +71 -0
- package/src/editorui/accessibilityhelp/accessibilityhelp.d.ts +55 -0
- package/src/editorui/accessibilityhelp/accessibilityhelp.js +145 -0
- package/src/editorui/accessibilityhelp/accessibilityhelpcontentview.d.ts +35 -0
- package/src/editorui/accessibilityhelp/accessibilityhelpcontentview.js +112 -0
- package/src/editorui/bodycollection.d.ts +55 -0
- package/src/editorui/bodycollection.js +85 -0
- package/src/editorui/boxed/boxededitoruiview.d.ts +40 -0
- package/src/editorui/boxed/boxededitoruiview.js +81 -0
- package/src/editorui/editorui.d.ts +354 -0
- package/src/editorui/editorui.js +522 -0
- package/src/editorui/editoruiview.d.ts +44 -0
- package/src/editorui/editoruiview.js +38 -0
- package/src/editorui/evaluationbadge.d.ts +33 -0
- package/src/editorui/evaluationbadge.js +99 -0
- package/src/editorui/poweredby.d.ts +34 -0
- package/src/editorui/poweredby.js +127 -0
- package/src/focuscycler.d.ts +291 -0
- package/src/focuscycler.js +352 -0
- package/src/formheader/formheaderview.d.ts +58 -0
- package/src/formheader/formheaderview.js +69 -0
- package/src/highlightedtext/buttonlabelwithhighlightview.d.ts +30 -0
- package/src/highlightedtext/buttonlabelwithhighlightview.js +31 -0
- package/src/highlightedtext/highlightedtextview.d.ts +38 -0
- package/src/highlightedtext/highlightedtextview.js +102 -0
- package/src/highlightedtext/labelwithhighlightview.d.ts +26 -0
- package/src/highlightedtext/labelwithhighlightview.js +33 -0
- package/src/icon/iconview.d.ts +88 -0
- package/src/icon/iconview.js +115 -0
- package/src/iframe/iframeview.d.ts +50 -0
- package/src/iframe/iframeview.js +63 -0
- package/src/index.d.ts +93 -0
- package/src/index.js +90 -0
- package/src/input/inputbase.d.ts +119 -0
- package/src/input/inputbase.js +114 -0
- package/src/input/inputview.d.ts +36 -0
- package/src/input/inputview.js +24 -0
- package/src/inputnumber/inputnumberview.d.ts +49 -0
- package/src/inputnumber/inputnumberview.js +40 -0
- package/src/inputtext/inputtextview.d.ts +18 -0
- package/src/inputtext/inputtextview.js +27 -0
- package/src/label/labelview.d.ts +36 -0
- package/src/label/labelview.js +41 -0
- package/src/labeledfield/labeledfieldview.d.ts +187 -0
- package/src/labeledfield/labeledfieldview.js +157 -0
- package/src/labeledfield/utils.d.ts +123 -0
- package/src/labeledfield/utils.js +176 -0
- package/src/labeledinput/labeledinputview.d.ts +125 -0
- package/src/labeledinput/labeledinputview.js +125 -0
- package/src/list/listitemgroupview.d.ts +59 -0
- package/src/list/listitemgroupview.js +67 -0
- package/src/list/listitemview.d.ts +36 -0
- package/src/list/listitemview.js +42 -0
- package/src/list/listseparatorview.d.ts +18 -0
- package/src/list/listseparatorview.js +28 -0
- package/src/list/listview.d.ts +124 -0
- package/src/list/listview.js +188 -0
- package/src/menubar/menubarmenubuttonview.d.ts +35 -0
- package/src/menubar/menubarmenubuttonview.js +64 -0
- package/src/menubar/menubarmenulistitembuttonview.d.ts +21 -0
- package/src/menubar/menubarmenulistitembuttonview.js +30 -0
- package/src/menubar/menubarmenulistitemfiledialogbuttonview.d.ts +23 -0
- package/src/menubar/menubarmenulistitemfiledialogbuttonview.js +32 -0
- package/src/menubar/menubarmenulistitemview.d.ts +25 -0
- package/src/menubar/menubarmenulistitemview.js +34 -0
- package/src/menubar/menubarmenulistview.d.ts +29 -0
- package/src/menubar/menubarmenulistview.js +72 -0
- package/src/menubar/menubarmenupanelview.d.ts +53 -0
- package/src/menubar/menubarmenupanelview.js +60 -0
- package/src/menubar/menubarmenuview.d.ts +109 -0
- package/src/menubar/menubarmenuview.js +160 -0
- package/src/menubar/menubarview.d.ts +173 -0
- package/src/menubar/menubarview.js +261 -0
- package/src/menubar/utils.d.ts +447 -0
- package/src/menubar/utils.js +1388 -0
- package/src/model.d.ts +22 -0
- package/src/model.js +31 -0
- package/src/notification/notification.d.ts +215 -0
- package/src/notification/notification.js +193 -0
- package/src/panel/balloon/balloonpanelview.d.ts +697 -0
- package/src/panel/balloon/balloonpanelview.js +1055 -0
- package/src/panel/balloon/contextualballoon.d.ts +309 -0
- package/src/panel/balloon/contextualballoon.js +576 -0
- package/src/panel/sticky/stickypanelview.d.ts +156 -0
- package/src/panel/sticky/stickypanelview.js +234 -0
- package/src/search/filteredview.d.ts +31 -0
- package/src/search/filteredview.js +5 -0
- package/src/search/filtergroupanditemnames.d.ts +15 -0
- package/src/search/filtergroupanditemnames.js +38 -0
- package/src/search/searchinfoview.d.ts +45 -0
- package/src/search/searchinfoview.js +59 -0
- package/src/search/searchresultsview.d.ts +54 -0
- package/src/search/searchresultsview.js +65 -0
- package/src/search/text/searchtextqueryview.d.ts +76 -0
- package/src/search/text/searchtextqueryview.js +75 -0
- package/src/search/text/searchtextview.d.ts +219 -0
- package/src/search/text/searchtextview.js +202 -0
- package/src/spinner/spinnerview.d.ts +25 -0
- package/src/spinner/spinnerview.js +38 -0
- package/src/template.d.ts +942 -0
- package/src/template.js +1294 -0
- package/src/textarea/textareaview.d.ts +104 -0
- package/src/textarea/textareaview.js +182 -0
- package/src/toolbar/balloon/balloontoolbar.d.ts +126 -0
- package/src/toolbar/balloon/balloontoolbar.js +324 -0
- package/src/toolbar/block/blockbuttonview.d.ts +35 -0
- package/src/toolbar/block/blockbuttonview.js +41 -0
- package/src/toolbar/block/blocktoolbar.d.ts +171 -0
- package/src/toolbar/block/blocktoolbar.js +492 -0
- package/src/toolbar/normalizetoolbarconfig.d.ts +40 -0
- package/src/toolbar/normalizetoolbarconfig.js +52 -0
- package/src/toolbar/toolbarlinebreakview.d.ts +18 -0
- package/src/toolbar/toolbarlinebreakview.js +28 -0
- package/src/toolbar/toolbarseparatorview.d.ts +18 -0
- package/src/toolbar/toolbarseparatorview.js +28 -0
- package/src/toolbar/toolbarview.d.ts +267 -0
- package/src/toolbar/toolbarview.js +721 -0
- package/src/tooltipmanager.d.ts +188 -0
- package/src/tooltipmanager.js +413 -0
- package/src/view.d.ts +422 -0
- package/src/view.js +396 -0
- package/src/viewcollection.d.ts +139 -0
- package/src/viewcollection.js +206 -0
- package/theme/components/arialiveannouncer/arialiveannouncer.css +14 -0
- package/theme/components/autocomplete/autocomplete.css +22 -0
- package/theme/components/button/button.css +39 -0
- package/theme/components/button/listitembutton.css +48 -0
- package/theme/components/button/switchbutton.css +14 -0
- package/theme/components/collapsible/collapsible.css +10 -0
- package/theme/components/colorgrid/colorgrid.css +8 -0
- package/theme/components/colorpicker/colorpicker.css +34 -0
- package/theme/components/colorselector/colorselector.css +35 -0
- package/theme/components/dialog/dialog.css +39 -0
- package/theme/components/dialog/dialogactions.css +11 -0
- package/theme/components/dropdown/dropdown.css +95 -0
- package/theme/components/dropdown/listdropdown.css +10 -0
- package/theme/components/dropdown/menu/dropdownmenu.css +8 -0
- package/theme/components/dropdown/menu/dropdownmenubutton.css +9 -0
- package/theme/components/dropdown/menu/dropdownmenulistitem.css +10 -0
- package/theme/components/dropdown/menu/dropdownmenulistitembutton.css +10 -0
- package/theme/components/dropdown/menu/dropdownmenupanel.css +11 -0
- package/theme/components/dropdown/splitbutton.css +14 -0
- package/theme/components/dropdown/toolbardropdown.css +20 -0
- package/theme/components/editorui/accessibilityhelp.css +10 -0
- package/theme/components/editorui/editorui.css +10 -0
- package/theme/components/formheader/formheader.css +16 -0
- package/theme/components/highlightedtext/highlightedtext.css +12 -0
- package/theme/components/icon/icon.css +8 -0
- package/theme/components/input/input.css +10 -0
- package/theme/components/label/label.css +12 -0
- package/theme/components/labeledfield/labeledfieldview.css +16 -0
- package/theme/components/labeledinput/labeledinput.css +10 -0
- package/theme/components/list/list.css +26 -0
- package/theme/components/menubar/menubar.css +10 -0
- package/theme/components/menubar/menubarmenu.css +9 -0
- package/theme/components/menubar/menubarmenubutton.css +11 -0
- package/theme/components/menubar/menubarmenulistitem.css +10 -0
- package/theme/components/menubar/menubarmenulistitembutton.css +10 -0
- package/theme/components/menubar/menubarmenupanel.css +62 -0
- package/theme/components/panel/balloonpanel.css +56 -0
- package/theme/components/panel/balloonrotator.css +17 -0
- package/theme/components/panel/fakepanel.css +23 -0
- package/theme/components/panel/stickypanel.css +17 -0
- package/theme/components/responsive-form/responsiveform.css +42 -0
- package/theme/components/search/search.css +43 -0
- package/theme/components/spinner/spinner.css +23 -0
- package/theme/components/textarea/textarea.css +10 -0
- package/theme/components/toolbar/blocktoolbar.css +9 -0
- package/theme/components/toolbar/toolbar.css +58 -0
- package/theme/components/tooltip/tooltip.css +12 -0
- package/theme/globals/_evaluationbadge.css +50 -0
- package/theme/globals/_hidden.css +13 -0
- package/theme/globals/_poweredby.css +72 -0
- package/theme/globals/_transition.css +12 -0
- package/theme/globals/_zindex.css +10 -0
- package/theme/globals/globals.css +10 -0
- package/theme/icons/accessibility.svg +1 -0
- package/theme/icons/color-tile-check.svg +1 -0
- package/theme/icons/dropdown-arrow.svg +1 -0
- package/theme/icons/project-logo.svg +1 -0
- package/theme/mixins/_dir.css +10 -0
- package/theme/mixins/_mediacolors.css +20 -0
- package/theme/mixins/_rwd.css +10 -0
- package/theme/mixins/_unselectable.css +14 -0
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module ui/panel/sticky/stickypanelview
|
|
7
|
+
*/
|
|
8
|
+
import View from '../../view.js';
|
|
9
|
+
import type ViewCollection from '../../viewcollection.js';
|
|
10
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
11
|
+
import '../../../theme/components/panel/stickypanel.css';
|
|
12
|
+
/**
|
|
13
|
+
* The sticky panel view class.
|
|
14
|
+
*/
|
|
15
|
+
export default class StickyPanelView extends View {
|
|
16
|
+
/**
|
|
17
|
+
* Collection of the child views which creates balloon panel contents.
|
|
18
|
+
*/
|
|
19
|
+
readonly content: ViewCollection;
|
|
20
|
+
/**
|
|
21
|
+
* Controls whether the sticky panel should be active.
|
|
22
|
+
*
|
|
23
|
+
* @readonly
|
|
24
|
+
* @observable
|
|
25
|
+
*/
|
|
26
|
+
isActive: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Controls whether the sticky panel is in the "sticky" state.
|
|
29
|
+
*
|
|
30
|
+
* @readonly
|
|
31
|
+
* @observable
|
|
32
|
+
*/
|
|
33
|
+
isSticky: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* The limiter element for the sticky panel instance. Its bounding rect limits
|
|
36
|
+
* the "stickyness" of the panel, i.e. when the panel reaches the bottom
|
|
37
|
+
* edge of the limiter, it becomes sticky to that edge and does not float
|
|
38
|
+
* off the limiter. It is mandatory for the panel to work properly and once
|
|
39
|
+
* set, it cannot be changed.
|
|
40
|
+
*
|
|
41
|
+
* @readonly
|
|
42
|
+
* @observable
|
|
43
|
+
*/
|
|
44
|
+
limiterElement: HTMLElement | null;
|
|
45
|
+
/**
|
|
46
|
+
* The offset from the bottom edge of {@link #limiterElement}
|
|
47
|
+
* which stops the panel from stickying any further to prevent limiter's content
|
|
48
|
+
* from being completely covered.
|
|
49
|
+
*
|
|
50
|
+
* @readonly
|
|
51
|
+
* @observable
|
|
52
|
+
* @default 50
|
|
53
|
+
*/
|
|
54
|
+
limiterBottomOffset: number;
|
|
55
|
+
/**
|
|
56
|
+
* The offset from the top edge of the web browser's viewport which makes the
|
|
57
|
+
* panel become sticky. The default value is `0`, which means the panel becomes
|
|
58
|
+
* sticky when it's upper edge touches the top of the page viewport.
|
|
59
|
+
*
|
|
60
|
+
* This attribute is useful when the web page has UI elements positioned to the top
|
|
61
|
+
* either using `position: fixed` or `position: sticky`, which would cover the
|
|
62
|
+
* sticky panel or vice–versa (depending on the `z-index` hierarchy).
|
|
63
|
+
*
|
|
64
|
+
* Bound to {@link module:ui/editorui/editorui~EditorUI#viewportOffset `EditorUI#viewportOffset`}.
|
|
65
|
+
*
|
|
66
|
+
* If {@link module:core/editor/editorconfig~EditorConfig#ui `EditorConfig#ui.viewportOffset.top`} is defined, then
|
|
67
|
+
* it will override the default value.
|
|
68
|
+
*
|
|
69
|
+
* @observable
|
|
70
|
+
* @default 0
|
|
71
|
+
*/
|
|
72
|
+
viewportTopOffset: number;
|
|
73
|
+
/**
|
|
74
|
+
* The panel which accepts children into {@link #content} collection.
|
|
75
|
+
* Also an element which is positioned when {@link #isSticky}.
|
|
76
|
+
*/
|
|
77
|
+
contentPanelElement: HTMLElement;
|
|
78
|
+
/**
|
|
79
|
+
* Controls the `margin-left` CSS style of the panel.
|
|
80
|
+
*
|
|
81
|
+
* @private
|
|
82
|
+
* @readonly
|
|
83
|
+
* @observable
|
|
84
|
+
*/
|
|
85
|
+
_marginLeft: string | null;
|
|
86
|
+
/**
|
|
87
|
+
* Set `true` if the sticky panel reached the bottom edge of the
|
|
88
|
+
* {@link #limiterElement}.
|
|
89
|
+
*
|
|
90
|
+
* @private
|
|
91
|
+
* @readonly
|
|
92
|
+
* @observable
|
|
93
|
+
*/
|
|
94
|
+
_isStickyToTheBottomOfLimiter: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* The `top` CSS position of the panel when it is sticky to the top of the viewport or scrollable
|
|
97
|
+
* ancestors of the {@link #limiterElement}.
|
|
98
|
+
*
|
|
99
|
+
* @private
|
|
100
|
+
* @readonly
|
|
101
|
+
* @observable
|
|
102
|
+
*/
|
|
103
|
+
_stickyTopOffset: number | null;
|
|
104
|
+
/**
|
|
105
|
+
* The `bottom` CSS position of the panel when it is sticky to the bottom of the {@link #limiterElement}.
|
|
106
|
+
*
|
|
107
|
+
* @private
|
|
108
|
+
* @readonly
|
|
109
|
+
* @observable
|
|
110
|
+
*/
|
|
111
|
+
_stickyBottomOffset: number | null;
|
|
112
|
+
/**
|
|
113
|
+
* A dummy element which visually fills the space as long as the
|
|
114
|
+
* actual panel is sticky. It prevents flickering of the UI.
|
|
115
|
+
*/
|
|
116
|
+
private _contentPanelPlaceholder;
|
|
117
|
+
/**
|
|
118
|
+
* @inheritDoc
|
|
119
|
+
*/
|
|
120
|
+
constructor(locale?: Locale);
|
|
121
|
+
/**
|
|
122
|
+
* @inheritDoc
|
|
123
|
+
*/
|
|
124
|
+
render(): void;
|
|
125
|
+
/**
|
|
126
|
+
* Analyzes the environment to decide whether the panel should be sticky or not.
|
|
127
|
+
* Then handles the positioning of the panel.
|
|
128
|
+
*/
|
|
129
|
+
checkIfShouldBeSticky(): void;
|
|
130
|
+
/**
|
|
131
|
+
* Sticks the panel at the given CSS `top` offset.
|
|
132
|
+
*
|
|
133
|
+
* @private
|
|
134
|
+
* @param topOffset
|
|
135
|
+
*/
|
|
136
|
+
private _stickToTopOfAncestors;
|
|
137
|
+
/**
|
|
138
|
+
* Sticks the panel at the bottom of the limiter with a given CSS `bottom` offset.
|
|
139
|
+
*
|
|
140
|
+
* @private
|
|
141
|
+
* @param stickyBottomOffset
|
|
142
|
+
*/
|
|
143
|
+
private _stickToBottomOfLimiter;
|
|
144
|
+
/**
|
|
145
|
+
* Unsticks the panel putting it back to its original position.
|
|
146
|
+
*
|
|
147
|
+
* @private
|
|
148
|
+
*/
|
|
149
|
+
private _unstick;
|
|
150
|
+
/**
|
|
151
|
+
* Returns the bounding rect of the {@link #contentPanelElement}.
|
|
152
|
+
*
|
|
153
|
+
* @private
|
|
154
|
+
*/
|
|
155
|
+
private get _contentPanelRect();
|
|
156
|
+
}
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module ui/panel/sticky/stickypanelview
|
|
7
|
+
*/
|
|
8
|
+
import View from '../../view.js';
|
|
9
|
+
import Template from '../../template.js';
|
|
10
|
+
import { global, toUnit, Rect } from '@ckeditor/ckeditor5-utils';
|
|
11
|
+
// @if CK_DEBUG_STICKYPANEL // const {
|
|
12
|
+
// @if CK_DEBUG_STICKYPANEL // default: RectDrawer,
|
|
13
|
+
// @if CK_DEBUG_STICKYPANEL // diagonalStylesBlack
|
|
14
|
+
// @if CK_DEBUG_STICKYPANEL // } = require( '@ckeditor/ckeditor5-utils/tests/_utils/rectdrawer' );
|
|
15
|
+
import '../../../theme/components/panel/stickypanel.css';
|
|
16
|
+
const toPx = /* #__PURE__ */ toUnit('px');
|
|
17
|
+
/**
|
|
18
|
+
* The sticky panel view class.
|
|
19
|
+
*/
|
|
20
|
+
export default class StickyPanelView extends View {
|
|
21
|
+
/**
|
|
22
|
+
* @inheritDoc
|
|
23
|
+
*/
|
|
24
|
+
constructor(locale) {
|
|
25
|
+
super(locale);
|
|
26
|
+
const bind = this.bindTemplate;
|
|
27
|
+
this.set('isActive', false);
|
|
28
|
+
this.set('isSticky', false);
|
|
29
|
+
this.set('limiterElement', null);
|
|
30
|
+
this.set('limiterBottomOffset', 50);
|
|
31
|
+
this.set('viewportTopOffset', 0);
|
|
32
|
+
this.set('_marginLeft', null);
|
|
33
|
+
this.set('_isStickyToTheBottomOfLimiter', false);
|
|
34
|
+
this.set('_stickyTopOffset', null);
|
|
35
|
+
this.set('_stickyBottomOffset', null);
|
|
36
|
+
this.content = this.createCollection();
|
|
37
|
+
this._contentPanelPlaceholder = new Template({
|
|
38
|
+
tag: 'div',
|
|
39
|
+
attributes: {
|
|
40
|
+
class: [
|
|
41
|
+
'ck',
|
|
42
|
+
'ck-sticky-panel__placeholder'
|
|
43
|
+
],
|
|
44
|
+
style: {
|
|
45
|
+
display: bind.to('isSticky', isSticky => isSticky ? 'block' : 'none'),
|
|
46
|
+
height: bind.to('isSticky', isSticky => {
|
|
47
|
+
return isSticky ? toPx(this._contentPanelRect.height) : null;
|
|
48
|
+
})
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}).render();
|
|
52
|
+
this.contentPanelElement = new Template({
|
|
53
|
+
tag: 'div',
|
|
54
|
+
attributes: {
|
|
55
|
+
class: [
|
|
56
|
+
'ck',
|
|
57
|
+
'ck-sticky-panel__content',
|
|
58
|
+
// Toggle class of the panel when "sticky" state changes in the view.
|
|
59
|
+
bind.if('isSticky', 'ck-sticky-panel__content_sticky'),
|
|
60
|
+
bind.if('_isStickyToTheBottomOfLimiter', 'ck-sticky-panel__content_sticky_bottom-limit')
|
|
61
|
+
],
|
|
62
|
+
style: {
|
|
63
|
+
width: bind.to('isSticky', isSticky => {
|
|
64
|
+
return isSticky ? toPx(this._contentPanelPlaceholder.getBoundingClientRect().width) : null;
|
|
65
|
+
}),
|
|
66
|
+
top: bind.to('_stickyTopOffset', value => value ? toPx(value) : value),
|
|
67
|
+
bottom: bind.to('_stickyBottomOffset', value => value ? toPx(value) : value),
|
|
68
|
+
marginLeft: bind.to('_marginLeft')
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
children: this.content
|
|
72
|
+
}).render();
|
|
73
|
+
this.setTemplate({
|
|
74
|
+
tag: 'div',
|
|
75
|
+
attributes: {
|
|
76
|
+
class: [
|
|
77
|
+
'ck',
|
|
78
|
+
'ck-sticky-panel'
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
children: [
|
|
82
|
+
this._contentPanelPlaceholder,
|
|
83
|
+
this.contentPanelElement
|
|
84
|
+
]
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* @inheritDoc
|
|
89
|
+
*/
|
|
90
|
+
render() {
|
|
91
|
+
super.render();
|
|
92
|
+
// Check if the panel should go into the sticky state immediately.
|
|
93
|
+
this.checkIfShouldBeSticky();
|
|
94
|
+
// Update sticky state of the panel as the window and ancestors are being scrolled.
|
|
95
|
+
this.listenTo(global.document, 'scroll', () => {
|
|
96
|
+
this.checkIfShouldBeSticky();
|
|
97
|
+
}, { useCapture: true });
|
|
98
|
+
// Synchronize with `model.isActive` because sticking an inactive panel is pointless.
|
|
99
|
+
this.listenTo(this, 'change:isActive', () => {
|
|
100
|
+
this.checkIfShouldBeSticky();
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Analyzes the environment to decide whether the panel should be sticky or not.
|
|
105
|
+
* Then handles the positioning of the panel.
|
|
106
|
+
*/
|
|
107
|
+
checkIfShouldBeSticky() {
|
|
108
|
+
// @if CK_DEBUG_STICKYPANEL // RectDrawer.clear();
|
|
109
|
+
if (!this.limiterElement || !this.isActive) {
|
|
110
|
+
this._unstick();
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
const limiterRect = new Rect(this.limiterElement);
|
|
114
|
+
let visibleLimiterRect = limiterRect.getVisible();
|
|
115
|
+
if (visibleLimiterRect) {
|
|
116
|
+
const windowRect = new Rect(global.window);
|
|
117
|
+
windowRect.top += this.viewportTopOffset;
|
|
118
|
+
windowRect.height -= this.viewportTopOffset;
|
|
119
|
+
visibleLimiterRect = visibleLimiterRect.getIntersection(windowRect);
|
|
120
|
+
}
|
|
121
|
+
// @if CK_DEBUG_STICKYPANEL // if ( visibleLimiterRect ) {
|
|
122
|
+
// @if CK_DEBUG_STICKYPANEL // RectDrawer.draw( visibleLimiterRect,
|
|
123
|
+
// @if CK_DEBUG_STICKYPANEL // { outlineWidth: '3px', opacity: '.8', outlineColor: 'red', outlineOffset: '-3px' },
|
|
124
|
+
// @if CK_DEBUG_STICKYPANEL // 'Visible anc'
|
|
125
|
+
// @if CK_DEBUG_STICKYPANEL // );
|
|
126
|
+
// @if CK_DEBUG_STICKYPANEL // }
|
|
127
|
+
// @if CK_DEBUG_STICKYPANEL //
|
|
128
|
+
// @if CK_DEBUG_STICKYPANEL // RectDrawer.draw( limiterRect,
|
|
129
|
+
// @if CK_DEBUG_STICKYPANEL // { outlineWidth: '3px', opacity: '.8', outlineColor: 'green', outlineOffset: '-3px' },
|
|
130
|
+
// @if CK_DEBUG_STICKYPANEL // 'Limiter'
|
|
131
|
+
// @if CK_DEBUG_STICKYPANEL // );
|
|
132
|
+
// Stick the panel only if
|
|
133
|
+
// * the limiter's ancestors are intersecting with each other so that some of their rects are visible,
|
|
134
|
+
// * and the limiter's top edge is above the visible ancestors' top edge.
|
|
135
|
+
if (visibleLimiterRect && limiterRect.top < visibleLimiterRect.top) {
|
|
136
|
+
// @if CK_DEBUG_STICKYPANEL // RectDrawer.draw( visibleLimiterRect,
|
|
137
|
+
// @if CK_DEBUG_STICKYPANEL // { outlineWidth: '3px', opacity: '.8', outlineColor: 'fuchsia', outlineOffset: '-3px',
|
|
138
|
+
// @if CK_DEBUG_STICKYPANEL // backgroundColor: 'rgba(255, 0, 255, .3)' },
|
|
139
|
+
// @if CK_DEBUG_STICKYPANEL // 'Visible limiter'
|
|
140
|
+
// @if CK_DEBUG_STICKYPANEL // );
|
|
141
|
+
const visibleLimiterTop = visibleLimiterRect.top;
|
|
142
|
+
// Check if there's a change the panel can be sticky to the bottom of the limiter.
|
|
143
|
+
if (visibleLimiterTop + this._contentPanelRect.height + this.limiterBottomOffset > visibleLimiterRect.bottom) {
|
|
144
|
+
const stickyBottomOffset = Math.max(limiterRect.bottom - visibleLimiterRect.bottom, 0) + this.limiterBottomOffset;
|
|
145
|
+
// @if CK_DEBUG_STICKYPANEL // const stickyBottomOffsetRect = new Rect( {
|
|
146
|
+
// @if CK_DEBUG_STICKYPANEL // top: limiterRect.bottom - stickyBottomOffset, left: 0, right: 2000,
|
|
147
|
+
// @if CK_DEBUG_STICKYPANEL // bottom: limiterRect.bottom - stickyBottomOffset, width: 2000, height: 1
|
|
148
|
+
// @if CK_DEBUG_STICKYPANEL // } );
|
|
149
|
+
// @if CK_DEBUG_STICKYPANEL // RectDrawer.draw( stickyBottomOffsetRect,
|
|
150
|
+
// @if CK_DEBUG_STICKYPANEL // { outlineWidth: '1px', opacity: '.8', outlineColor: 'black' },
|
|
151
|
+
// @if CK_DEBUG_STICKYPANEL // 'Sticky bottom offset'
|
|
152
|
+
// @if CK_DEBUG_STICKYPANEL // );
|
|
153
|
+
// Check if sticking the panel to the bottom of the limiter does not cause it to suddenly
|
|
154
|
+
// move upwards if there's not enough space for it.
|
|
155
|
+
if (limiterRect.bottom - stickyBottomOffset > limiterRect.top + this._contentPanelRect.height) {
|
|
156
|
+
this._stickToBottomOfLimiter(stickyBottomOffset);
|
|
157
|
+
}
|
|
158
|
+
else {
|
|
159
|
+
this._unstick();
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
else {
|
|
163
|
+
if (this._contentPanelRect.height + this.limiterBottomOffset < limiterRect.height) {
|
|
164
|
+
this._stickToTopOfAncestors(visibleLimiterTop);
|
|
165
|
+
}
|
|
166
|
+
else {
|
|
167
|
+
this._unstick();
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
else {
|
|
172
|
+
this._unstick();
|
|
173
|
+
}
|
|
174
|
+
// @if CK_DEBUG_STICKYPANEL // console.clear();
|
|
175
|
+
// @if CK_DEBUG_STICKYPANEL // console.log( 'isSticky', this.isSticky );
|
|
176
|
+
// @if CK_DEBUG_STICKYPANEL // console.log( '_isStickyToTheBottomOfLimiter', this._isStickyToTheBottomOfLimiter );
|
|
177
|
+
// @if CK_DEBUG_STICKYPANEL // console.log( '_stickyTopOffset', this._stickyTopOffset );
|
|
178
|
+
// @if CK_DEBUG_STICKYPANEL // console.log( '_stickyBottomOffset', this._stickyBottomOffset );
|
|
179
|
+
// @if CK_DEBUG_STICKYPANEL // if ( visibleLimiterRect ) {
|
|
180
|
+
// @if CK_DEBUG_STICKYPANEL // RectDrawer.draw( visibleLimiterRect,
|
|
181
|
+
// @if CK_DEBUG_STICKYPANEL // { ...diagonalStylesBlack,
|
|
182
|
+
// @if CK_DEBUG_STICKYPANEL // outlineWidth: '3px', opacity: '.8', outlineColor: 'orange', outlineOffset: '-3px',
|
|
183
|
+
// @if CK_DEBUG_STICKYPANEL // backgroundColor: 'rgba(0, 0, 255, .2)' },
|
|
184
|
+
// @if CK_DEBUG_STICKYPANEL // 'visibleLimiterRect'
|
|
185
|
+
// @if CK_DEBUG_STICKYPANEL // );
|
|
186
|
+
// @if CK_DEBUG_STICKYPANEL // }
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Sticks the panel at the given CSS `top` offset.
|
|
190
|
+
*
|
|
191
|
+
* @private
|
|
192
|
+
* @param topOffset
|
|
193
|
+
*/
|
|
194
|
+
_stickToTopOfAncestors(topOffset) {
|
|
195
|
+
this.isSticky = true;
|
|
196
|
+
this._isStickyToTheBottomOfLimiter = false;
|
|
197
|
+
this._stickyTopOffset = topOffset;
|
|
198
|
+
this._stickyBottomOffset = null;
|
|
199
|
+
this._marginLeft = toPx(-global.window.scrollX);
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Sticks the panel at the bottom of the limiter with a given CSS `bottom` offset.
|
|
203
|
+
*
|
|
204
|
+
* @private
|
|
205
|
+
* @param stickyBottomOffset
|
|
206
|
+
*/
|
|
207
|
+
_stickToBottomOfLimiter(stickyBottomOffset) {
|
|
208
|
+
this.isSticky = true;
|
|
209
|
+
this._isStickyToTheBottomOfLimiter = true;
|
|
210
|
+
this._stickyTopOffset = null;
|
|
211
|
+
this._stickyBottomOffset = stickyBottomOffset;
|
|
212
|
+
this._marginLeft = toPx(-global.window.scrollX);
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Unsticks the panel putting it back to its original position.
|
|
216
|
+
*
|
|
217
|
+
* @private
|
|
218
|
+
*/
|
|
219
|
+
_unstick() {
|
|
220
|
+
this.isSticky = false;
|
|
221
|
+
this._isStickyToTheBottomOfLimiter = false;
|
|
222
|
+
this._stickyTopOffset = null;
|
|
223
|
+
this._stickyBottomOffset = null;
|
|
224
|
+
this._marginLeft = null;
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* Returns the bounding rect of the {@link #contentPanelElement}.
|
|
228
|
+
*
|
|
229
|
+
* @private
|
|
230
|
+
*/
|
|
231
|
+
get _contentPanelRect() {
|
|
232
|
+
return new Rect(this.contentPanelElement);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
import type { FocusableView } from '../focuscycler.js';
|
|
6
|
+
/**
|
|
7
|
+
* @module ui/search/filteredview
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* A view that can be filtered by a {@link module:ui/search/text/searchtextview~SearchTextView}.
|
|
11
|
+
*/
|
|
12
|
+
export default interface FilteredView extends FocusableView {
|
|
13
|
+
/**
|
|
14
|
+
* Filters the view by the given regular expression.
|
|
15
|
+
*/
|
|
16
|
+
filter(regExp: RegExp | null): {
|
|
17
|
+
resultsCount: number;
|
|
18
|
+
totalItemsCount: number;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Fired when the user selects an autocomplete option. The event data should contain the selected value.
|
|
23
|
+
*
|
|
24
|
+
* @eventName ~FilteredView#execute
|
|
25
|
+
*/
|
|
26
|
+
export interface FilteredViewExecuteEvent {
|
|
27
|
+
name: 'execute';
|
|
28
|
+
args: [{
|
|
29
|
+
value: string;
|
|
30
|
+
}];
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
import type ViewCollection from '../viewcollection.js';
|
|
6
|
+
import type ListItemGroupView from '../list/listitemgroupview.js';
|
|
7
|
+
import type ListItemView from '../list/listitemview.js';
|
|
8
|
+
import type ListSeparatorView from '../list/listseparatorview.js';
|
|
9
|
+
/**
|
|
10
|
+
* A filter function that returns matching item and group names in the list view.
|
|
11
|
+
*/
|
|
12
|
+
export default function filterGroupAndItemNames(regExp: RegExp | null, items: ViewCollection<ListItemGroupView | ListItemView | ListSeparatorView>): {
|
|
13
|
+
resultsCount: number;
|
|
14
|
+
totalItemsCount: number;
|
|
15
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* A filter function that returns matching item and group names in the list view.
|
|
7
|
+
*/
|
|
8
|
+
export default function filterGroupAndItemNames(regExp, items) {
|
|
9
|
+
let totalItemsCount = 0;
|
|
10
|
+
let resultsCount = 0;
|
|
11
|
+
for (const groupView of items) {
|
|
12
|
+
const group = groupView;
|
|
13
|
+
const groupItems = group.items;
|
|
14
|
+
const isGroupLabelMatching = regExp && !!group.label.match(regExp);
|
|
15
|
+
group.labelView.highlightText(isGroupLabelMatching ? regExp : null);
|
|
16
|
+
for (const listItemView of groupItems) {
|
|
17
|
+
const buttonView = listItemView.children.first;
|
|
18
|
+
const labelView = buttonView.labelView;
|
|
19
|
+
if (!regExp) {
|
|
20
|
+
listItemView.isVisible = true;
|
|
21
|
+
labelView.highlightText(null);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
const isItemLabelMatching = !!buttonView.label.match(regExp);
|
|
25
|
+
labelView.highlightText(isItemLabelMatching ? regExp : null);
|
|
26
|
+
listItemView.isVisible = isGroupLabelMatching || isItemLabelMatching;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
const visibleInGroupCount = groupItems.filter(listItemView => listItemView.isVisible).length;
|
|
30
|
+
totalItemsCount += group.items.length;
|
|
31
|
+
resultsCount += isGroupLabelMatching ? group.items.length : visibleInGroupCount;
|
|
32
|
+
group.isVisible = isGroupLabelMatching || !!visibleInGroupCount;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
resultsCount,
|
|
36
|
+
totalItemsCount
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module ui/search/searchinfoview
|
|
7
|
+
*/
|
|
8
|
+
import type { FocusableView } from '../focuscycler.js';
|
|
9
|
+
import View from '../view.js';
|
|
10
|
+
/**
|
|
11
|
+
* A view displaying an information text related to different states of {@link module:ui/search/text/searchtextview~SearchTextView}.
|
|
12
|
+
*
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
export default class SearchInfoView extends View implements FocusableView {
|
|
16
|
+
/**
|
|
17
|
+
* Controls whether the view is visible.
|
|
18
|
+
*
|
|
19
|
+
* @observable
|
|
20
|
+
* @default false
|
|
21
|
+
*/
|
|
22
|
+
isVisible: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Controls the primary line of text in the info.
|
|
25
|
+
*
|
|
26
|
+
* @observable
|
|
27
|
+
* @default ''
|
|
28
|
+
*/
|
|
29
|
+
primaryText: string;
|
|
30
|
+
/**
|
|
31
|
+
* Controls the secondary line of text in the info.
|
|
32
|
+
*
|
|
33
|
+
* @observable
|
|
34
|
+
* @default ''
|
|
35
|
+
*/
|
|
36
|
+
secondaryText: string;
|
|
37
|
+
/**
|
|
38
|
+
* @inheritDoc
|
|
39
|
+
*/
|
|
40
|
+
constructor();
|
|
41
|
+
/**
|
|
42
|
+
* Focuses the view
|
|
43
|
+
*/
|
|
44
|
+
focus(): void;
|
|
45
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
import View from '../view.js';
|
|
6
|
+
/**
|
|
7
|
+
* A view displaying an information text related to different states of {@link module:ui/search/text/searchtextview~SearchTextView}.
|
|
8
|
+
*
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export default class SearchInfoView extends View {
|
|
12
|
+
/**
|
|
13
|
+
* @inheritDoc
|
|
14
|
+
*/
|
|
15
|
+
constructor() {
|
|
16
|
+
super();
|
|
17
|
+
const bind = this.bindTemplate;
|
|
18
|
+
this.set({
|
|
19
|
+
isVisible: false,
|
|
20
|
+
primaryText: '',
|
|
21
|
+
secondaryText: ''
|
|
22
|
+
});
|
|
23
|
+
this.setTemplate({
|
|
24
|
+
tag: 'div',
|
|
25
|
+
attributes: {
|
|
26
|
+
class: [
|
|
27
|
+
'ck',
|
|
28
|
+
'ck-search__info',
|
|
29
|
+
bind.if('isVisible', 'ck-hidden', value => !value)
|
|
30
|
+
],
|
|
31
|
+
tabindex: -1
|
|
32
|
+
},
|
|
33
|
+
children: [
|
|
34
|
+
{
|
|
35
|
+
tag: 'span',
|
|
36
|
+
children: [
|
|
37
|
+
{
|
|
38
|
+
text: [bind.to('primaryText')]
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
tag: 'span',
|
|
44
|
+
children: [
|
|
45
|
+
{
|
|
46
|
+
text: [bind.to('secondaryText')]
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Focuses the view
|
|
55
|
+
*/
|
|
56
|
+
focus() {
|
|
57
|
+
this.element.focus();
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module ui/search/searchresultsview
|
|
7
|
+
*/
|
|
8
|
+
import View from '../view.js';
|
|
9
|
+
import type ViewCollection from '../viewcollection.js';
|
|
10
|
+
import { FocusTracker, type Locale } from '@ckeditor/ckeditor5-utils';
|
|
11
|
+
import { default as FocusCycler, type FocusableView } from '../focuscycler.js';
|
|
12
|
+
/**
|
|
13
|
+
* A sub-component of {@link module:ui/search/text/searchtextview~SearchTextView}. It hosts the filtered and the information views.
|
|
14
|
+
*/
|
|
15
|
+
export default class SearchResultsView extends View implements FocusableView {
|
|
16
|
+
/**
|
|
17
|
+
* Tracks information about the DOM focus in the view.
|
|
18
|
+
*
|
|
19
|
+
* @readonly
|
|
20
|
+
*/
|
|
21
|
+
focusTracker: FocusTracker;
|
|
22
|
+
/**
|
|
23
|
+
* The collection of the child views inside of the list item {@link #element}.
|
|
24
|
+
*
|
|
25
|
+
* @readonly
|
|
26
|
+
*/
|
|
27
|
+
children: ViewCollection<FocusableView>;
|
|
28
|
+
/**
|
|
29
|
+
* Provides the focus management (keyboard navigation) in the view.
|
|
30
|
+
*
|
|
31
|
+
* @readonly
|
|
32
|
+
*/
|
|
33
|
+
protected _focusCycler: FocusCycler;
|
|
34
|
+
/**
|
|
35
|
+
* @inheritDoc
|
|
36
|
+
*/
|
|
37
|
+
constructor(locale: Locale);
|
|
38
|
+
/**
|
|
39
|
+
* @inheritDoc
|
|
40
|
+
*/
|
|
41
|
+
render(): void;
|
|
42
|
+
/**
|
|
43
|
+
* Focuses the view.
|
|
44
|
+
*/
|
|
45
|
+
focus(): void;
|
|
46
|
+
/**
|
|
47
|
+
* Focuses the first child view.
|
|
48
|
+
*/
|
|
49
|
+
focusFirst(): void;
|
|
50
|
+
/**
|
|
51
|
+
* Focuses the last child view.
|
|
52
|
+
*/
|
|
53
|
+
focusLast(): void;
|
|
54
|
+
}
|