PageSourceSearch

https://parent.ku.ac.ae/o/frontend-editor-ckeditor-web/__liferay__…ditor$ckeditor5-select-all$dist$index.js.js

js ku.ac.ae collected 2026-09-24 09:06:55 UTC 3,202 bytes, 10 lines download raw bytes

1var A=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var _=Object.prototype.hasOwnProperty;var y=(i,t)=>{for(var e in t)A(i,e,{get:t[e],enumerable:!0})},x=(i,t,e,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of S(t))!_.call(i,n)&&n!==e&&A(i,n,{get:()=>t[n],enumerable:!(o=k(t,n))||o.enumerable});return i},c=(i,t,e)=>(x(i,t,"default"),e&&x(e,t,"default"));var h={};y(h,{SelectAll:()=>g,SelectAllCommand:()=>m,SelectAllEditing:()=>f,SelectAllUI:()=>p});var s={};c(s,b);import*as b from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-core$dist$index.js.js";var l={};c(l,v);import*as v from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-utils$dist$index.js.js";var a={};c(a,B);import*as B from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-icons$dist$index.js.js";var r={};c(r,L);import*as L from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-ui$dist$index.js.js";var m=class extends s.Command{constructor(t){super(t),this.affectsData=!1}execute(){let t=this.editor.model,e=t.document.selection,o=t.schema.getLimitElement(e);if(e.containsEntireContent(o)||!w(t.schema,o))do if(o=o.parent,!o)return;while(!w(t.schema,o));t.change(n=>{n.setSelection(o,"in")})}};function w(i,t){return i.isLimit(t)&&(i.checkChild(t,"$text")||i.checkChild(t,"paragraph"))}var C=(0,l.parseKeystroke)("Ctrl+A"),f=class extends s.Plugin{static get pluginName(){return"SelectAllEditing"}static get isOfficialPlugin(){return!0}init(){let t=this.editor,e=t.t,n=t.editing.view.document;t.commands.add("selectAll",new m(t)),this.listenTo(n,"keydown",(u,d)=>{(0,l.getCode)(d)===C&&(t.execute("selectAll"),d.preventDefault())}),t.accessibility.addKeystrokeInfos({keystrokes:[{label:e("Select all"),keystroke:"CTRL+A"}]})}},p=class extends s.Plugin{static get pluginName(){return"SelectAllUI"}static get isOfficialPlugin(){return!0}init(){let t=this.editor;t.ui.componentFactory.add("selectAll",()=>{let e=this._createButton(r.ButtonView);return e.set({tooltip:!0}),e}),t.ui.componentFactory.add("menuBar:selectAll",()=>this._createButton(r.MenuBarMenuListItemButtonView))}_createButton(t){let e=this.editor,o=e.locale,n=e.commands.get("selectAll"),u=new t(e.locale),d=o.t;return u.set({label:d("Select all"),icon:a.IconSelectAll,keystroke:"Ctrl+A"}),u.bind("isEnabled").to(n,"isEnabled"),this.listenTo(u,"execute",()=>{e.execute("selectAll"),e.editing.view.focus()}),u}},g=class extends s.Plugin{static get requires(){return[f,p]}static get pluginName(){return"SelectAll"}static get isOfficialPlugin(){return!0}};var{SelectAll:P,SelectAllCommand:M,SelectAllEditing:N,SelectAllUI:V,__esModule:D}=h;export{P as SelectAll,M as SelectAllCommand,N as SelectAllEditing,V as SelectAllUI,D as __esModule};
2/*! Bundled license information:
3
4@ckeditor/ckeditor5-select-all/dist/index.js:
5  (**
6   * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7   * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8   *)
9*/
10//# sourceMappingURL=@ckeditor$ckeditor5-select-all$dist$index.js.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.