Home
last modified time | relevance | path

Searched refs:document (Results 601 – 625 of 2062) sorted by relevance

1...<<21222324252627282930>>...83

/plugin/diagramsnet/lib/js/grapheditor/
H A DEditorUi.js13 this.container = container || document.body;
354 if (this.container == document.body)
403 …if (mxClient.IS_IE && (typeof(document.documentMode) === 'undefined' || document.documentMode < 9))
1456 div = document.createElement('div');
1696 var range = document.createRange();
2046 if (document.documentMode == 8 || document.documentMode == 9)
3246 document.title = title;
3881 if (this.container == document.body)
3883 w = document.body.clientWidth || document.documentElement.clientWidth;
4629 elt = document.createElement('div');
[all …]
/plugin/scrape/HTMLPurifier/ConfigSchema/schema/
H A DFilter.ExtractStyleBlocks.txt
H A DAttr.IDBlacklist.txt
/plugin/combo/resources/library/combo/
H A Dcombo.min.js24 `;break;default:let Y=m.getLabelAnchor();o+=`<div class="row mb-3 text-center">${Y}</div>`,o+='<div class="row mb-3">';let U=0;for(const L of m.getChildren()){let O=L.getControlWidth();o+=`<div class="col-sm-${O} text-center">`,o+=L.getLabelAnchor(),o+="</div>";let D=L.getValues().length;D>U&&(U=D)}o+="</div>";for(let L=0;L<U;L++){o+='<div class="row mb-3">';for(const O of m.getChildren()){let D=O.getValues()[L],Z=O.getDefaultValues()[L];b++;let _=this.getControlId(b),tt=O.getControlWidth();o+=`<div class="col-sm-${tt}">`,o+=O.toHtmlControl(_,D,Z),o+="</div>"}o+="</div>"}break}o+="</div>"}o+="</div>";let d=document.createElement("form");return d.setAttribute("id",t),d.innerHTML=`${e} ${o}`,d}setControlWidth(t){return this.width=t,this}setLabel(t){this.label=t}setUrl(t){this.url=t}}let S={};const N=class{constructor(t){i(this,"footerButtons",[]);i(this,"bodies",[]);i(this,"isBuild",!1);i(this,"bodyStyles",{});i(this,"dialogStyles",{});i(this,"showFooter",!0);i(this,"dialogClasses",[]);i(this,"modalId");i(this,"modalRootHtmlElement");i(this,"headerText");i(this,"isResetOnClose");i(this,"closeButton");i(this,"isCentered");i(this,"callBack");i(this,"bootStrapModal");i(this,"modalContent");i(this,"modalBody");i(this,"placementElement");this.modalId=t;let e=document.getElementById(t);e!==null?(E.getLogger().error(`The id (${t}) given to create a modal was already used by an element in the DOM. We have reused it.`),this.modalRootHtmlElement=e,this.reset()):(this.modalRootHtmlElement=document.createElement("div"),this.modalRootHtmlElement.setAttribute("id",this.modalId),this.modalRootHtmlElement.classList.add("modal","fade"),this.modalRootHtmlElement.setAttribute("aria-hidden","true")),this.modalContent=document.createElement("div"),this.modalContent.classList.add("modal-content")}setHeader(t){return this.headerText=t,this}addBody(t){return this.bodies.push(t),this}addBodyStyle(t,e){return this.bodyStyles[t]=e,this}setPlacementBottomToElement(t){return this.placementElement=t,this}noFooter(){return this.showFooter=!1,this}addDialogStyle(t,e){return this.dialogStyles[t]=e,this}addDialogClass(t){return this.dialogClasses.push(t),this}resetOnClose(){return this.isResetOnClose=!0,this}addFooterButton(t){return this.footerButtons.push(t),this}addFooterCloseButton(t="Close"){this.closeButton=document.createElement("button"),this.closeButton.classList.add("btn","btn-secondary"),this.closeButton.innerHTML=t;let e=this;return this.closeButton.addEventListener("click",function(){e.bootStrapModal.hide()}),this.addFooterButton(this.closeButton),this}centered(){return this.isCentered=!0,this}show(){if(this.isResetOnClose===!0){let t=this;this.getElement().addEventListener("hidden.bs.modal",function(){t.reset()})}if(typeof this.callBack<"u"&&typeof this.closeButton<"u"){let t=this;this.closeButton.addEventListener("click",function(){t.dismissHide(),t.callBack()})}this.build().show()}dismissHide(){this.build().hide()}getModalId(){return this.modalId}setCallBackOnClose(t){return this.callBack=t,this}static createFromId(t){let e=new N(t);return S[t]=e,e}static createTemporary(){return this.createFromId($.createRandomId())}getElement(){return this.modalRootHtmlElement}wasBuild(){return this.isBuild}setCentered(t){return this.isCentered=t,this}resetIfBuild(){return this.wasBuild()&&this.reset(),this}reset(){this.modalRootHtmlElement.querySelectorAll('[data-bs-toggle="tab"]').forEach(t=>{let e=c.Tab.getInstance(t);e!==null&&e.dispose()}),this.bootStrapModal!==void 0&&this.dismissHide(),this.modalRootHtmlElement.innerHTML="",this.isBuild=!1,this.bodies=[],this.footerButtons=[],this.headerText=void 0}build(){if(typeof this.bootStrapModal<"u")return this.bootStrapModal;let t=c.Modal.getInstance(this.modalRootHtmlElement);if(t!==null)return this.bootStrapModal=t,t;if(document.body.appendChild(this.modalRootHtmlElement),typeof this.placementElement<"u"){let r=this.placementElement.getBoundingClientRect();this.modalRootHtmlElement.style.margin="0",this.modalRootHtmlElement.style.left=r.left+"px";let n=5;this.modalRootHtmlElement.style.top=r.top+n+"px",this.modalRootHtmlElement.style.width="unset",this.modalRootHtmlElement.style.height="unset"}const e=document.createElement("div");e.classList.add("modal-dialog","modal-dialog-scrollable","modal-lg"),this.isCentered?e.classList.add("modal-dialog-centered"):(e.style.setProperty("margin","5rem auto"),e.style.setProperty("height","calc(100% - 9rem)"));for(let r in this.dialogStyles)this.dialogStyles.hasOwnProperty(r)&&e.style.setProperty(r,this.dialogStyles[r]);for(let r in this.dialogClasses)e.classList.add(r);this.modalRootHtmlElement.appendChild(e),e.appendChild(this.modalContent),this.modalBody=document.createElement("div"),this.modalBody.classList.add("modal-body");for(let r in this.bodyStyles)this.bodyStyles.hasOwnProperty(r)&&this.modalBody.style.setProperty(r,this.bodyStyles[r]);if(this.modalContent.appendChild(this.modalBody),this.headerText!==void 0){let r=`
29 `;this.modalContent.insertAdjacentHTML("afterbegin",r)}for(let r of this.bodies)switch(typeof r){case"string":this.modalBody.insertAdjacentHTML("beforeend",r);break;default:case"object":this.modalBody.appendChild(r);break}if(this.showFooter){let r=document.createElement("div");r.classList.add("modal-footer"),this.modalContent.appendChild(r),this.footerButtons.length===0&&this.addFooterCloseButton();for(let n of this.footerButtons)typeof n=="string"?r.insertAdjacentHTML("beforeend",n):r.appendChild(n)}let s=`#${this.modalId} [data-bs-toggle="tooltip"]`;document
[all...]
/plugin/diagramsnet/lib/js/
H A Dapp.min.js248document.body){var a=mxLog.consoleName+" - mxGraph "+mxClient.VERSION,b=document.createElement("ta…
307document.documentElement||document.body.parentNode||document.body).scrollLeft,null!=a&&void 0!==wi…
329document.createTextNode(" "));e.appendChild(document.createTextNode(" "));e.appendChild(document.c…
2020 document.body.scrollTop]:document.documentElement&&(document.documentElement.scrollLeft||document.d…
2025document.createElement("div"),boxB:document.createElement("div"),pad:document.createElement("div")…
2123document.createElement("tbody");c=document.createElement("tr");f=document.createElement("td");f.st…
3700document.createElement("table"),l=document.createElement("tbody");f.setAttribute("cellpadding",mxC…
3703document.createElement("td");g.appendChild(n);c.appendChild(g);l.appendChild(c);c=document.createE…
10302document.createElement("table"),k=document.createElement("tbody");c.style.height="100%";c.style.ov…
10315document.createElement("div");m.style.marginTop="20px";m.style.textAlign="right";b.editor.cancelFi…
[all …]
/plugin/wysiwyg/fckeditor/editor/plugins/dragresizetable/
H A Dfckplugin.js310 if ( node.ownerDocument == document )
395 this._ResizeBar = document.createElement( "div" ) ;
403 document.body.appendChild( paddingBar ) ;
406 FCKTools.AddEventListener( document, "mouseup", this._ResizeBarMouseUpListener ) ;
411 var filler = document.createElement( "img" ) ;
474 visibleBar = document.createElement( "div" ) ;
/plugin/sequencediagram/bower_components/lodash/vendor/backbone/test/
H A Dview.js257 el: document.body
260 assert.equal(new View().el, document.body);
268 assert.strictEqual(new View().el, document.body);
481 document.body.appendChild(view.el);
491 assert.notEqual(myView.el.parentNode, document.body);
507 myView.setElement(document.createElement('div'));
/plugin/socialshareprivacy2/SSP/scripts/
H A Djquery.socialshareprivacy.settings.js13 jQuery(document).ready(function ($) {
/plugin/wysiwyg/fckeditor/editor/_source/commandclasses/
H A Dfckfitwindow.js35 var eDocEl = eMainWindow.document.documentElement ;
36 var eBody = eMainWindow.document.body ;
/plugin/sphinxsearch/
H A Dchangelog16 * Added document encoding detection
21 * Fixed bug - document parsing by section
/plugin/database2/
H A Dadmin.php226 document.database2_console.q.select();
227 document.database2_console.q.focus();
/plugin/wysiwyg/fckeditor/editor/filemanager/connectors/asp/
H A Dbasexml.asp38 ' Create the XML document header.
55 ' Create the XML document header.
/plugin/combo/resources/snippet/js/
H A Dheight-toggle.js2 [...document.querySelectorAll('.height-toggle-cs')].forEach(element => {
H A Drequire.js38 document.querySelector("#message").innerHTML = "The dom is ready !";
H A Dtoast.js3 const toastElements = [].slice.call(document.querySelectorAll('.toast'));
/plugin/markdownextra/lib/meltdown-tweaks/
H A Dmeltdown-tweaks.js1 jQuery(document).ready(function($) {
/plugin/readability/
H A Dscript.js5 var out = document.createElement('div');
/plugin/tagfilter/script/
H A Djquery.history.js1 typeof JSON!="object"&&(JSON={}),function(){"use strict";function f(e){return e<10?"0"+e:e}function quote(e){return escapable.lastIndex=0,escapable.test(e)?'"'+e.replace(escapable,function(e){var t=meta[e];return typeof t=="string"?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function str(e,t){var n,r,i,s,o=gap,u,a=t[e];a&&typeof a=="object"&&typeof a.toJSON=="function"&&(a=a.toJSON(e)),typeof rep=="function"&&(a=rep.call(t,e,a));switch(typeof a){case"string":return quote(a);case"number":return isFinite(a)?String(a):"null";case"boolean":case"null":return String(a);case"object":if(!a)return"null";gap+=indent,u=[];if(Object.prototype.toString.apply(a)==="[object Array]"){s=a.length;for(n=0;n<s;n+=1)u[n]=str(n,a)||"null";return i=u.length===0?"[]":gap?"[\n"+gap+u.join(",\n"+gap)+"\n"+o+"]":"["+u.join(",")+"]",gap=o,i}if(rep&&typeof rep=="object"){s=rep.length;for(n=0;n<s;n+=1)typeof rep[n]=="string"&&(r=rep[n],i=str(r,a),i&&u.push(quote(r)+(gap?": ":":")+i))}else for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(i=str(r,a),i&&u.push(quote(r)+(gap?": ":":")+i));return i=u.length===0?"{}":gap?"{\n"+gap+u.join(",\n"+gap)+"\n"+o+"}":"{"+u.join(",")+"}",gap=o,i}}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(e){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(e){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;typeof JSON.stringify!="function"&&(JSON.stringify=function(e,t,n){var r;gap="",indent="";if(typeof n=="number")for(r=0;r<n;r+=1)indent+=" ";else typeof n=="string"&&(indent=n);rep=t;if(!t||typeof t=="function"||typeof t=="object"&&typeof t.length=="number")return str("",{"":e});throw new Error("JSON.stringify")}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){function walk(e,t){var n,r,i=e[t];if(i&&typeof i=="object")for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r=walk(i,n),r!==undefined?i[n]=r:delete i[n]);return reviver.call(e,t,i)}var j;text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}(),function(e,t){"use strict";var n=e.History=e.History||{},r=e.jQuery;if(typeof n.Adapter!="undefined")throw new Error("History.js Adapter has already been loaded...");n.Adapter={bind:function(e,t,n){r(e).bind(t,n)},trigger:function(e,t,n){r(e).trigger(t,n)},extractEventData:function(e,n,r){var i=n&&n.originalEvent&&n.originalEvent[e]||r&&r[e]||t;return i},onDomLoad:function(e){r(e)}},typeof n.init!="undefined"&&n.init()}(window),function(e,t){"use strict";var n=e.document,r=e.setTimeout||r,i=e.clearTimeout||i,s=e.setInterval||s,o=e.History=e.History||{};if(typeof o.initHtml4!="undefined")throw new Error("History.js HTML4 Support has already been loaded...");o.initHtml4=function(){if(typeof o.initHtml4.initialized!="undefined")return!1;o.initHtml4.initialized=!0,o.enabled=!0,o.savedHashes=[],o.isLastHash=function(e){var t=o.getHashByIndex(),n;return n=e===t,n},o.isHashEqual=function(e,t){return e=encodeURIComponent(e).replace(/%25/g,"%"),t=encodeURIComponent(t).replace(/%25/g,"%"),e===t},o.saveHash=function(e){return o.isLastHash(e)?!1:(o.savedHashes.push(e),!0)},o.getHashByIndex=function(e){var t=null;return typeof e=="undefined"?t=o.savedHashes[o.savedHashes.length-1]:e<0?t=o.savedHashes[o.savedHashes.length+e]:t=o.savedHashes[e],t},o.discardedHashes={},o.discardedStates={},o.discardState=function(e,t,n){var r=o.getHashByState(e),i;return i={discardedState:e,backState:n,forwardState:t},o.discardedStates[r]=i,!0},o.discardHash=function(e,t,n){var r={discardedHash:e,backState:n,forwardState:t};return o.discardedHashes[e]=r,!0},o.discardedState=function(e){var t=o.getHashByState(e),n;return n=o.discardedStates[t]||!1,n},o.discardedHash=function(e){var t=o.discardedHashes[e]||!1;return t},o.recycleState=function(e){var t=o.getHashByState(e);return o.discardedState(e)&&delete o.discardedStates[t],!0},o.emulated.hashChange&&(o.hashChangeInit=function(){o.checkerFunction=null;var t="",r,i,u,a,f=Boolean(o.getHash());return o.isInternetExplorer()?(r="historyjs-iframe",i=n.createElement("iframe"),i.setAttribute("id",r),i.setAttribute("src","#"),i.style.display="none",n.body.appendChild(i),i.contentWindow.document.open(),i.contentWindow.document.close(),u="",a=!1,o.checkerFunction=function(){if(a)return!1;a=!0;var n=o.getHash(),r=o.getHash(i.contentWindow.document);return n!==t?(t=n,r!==n&&(u=r=n,i.contentWindow.document.open(),i.contentWindow.document.close(),i.contentWindow.document.location.hash=o.escapeHash(n)),o.Adapter.trigger(e,"hashchange")):r!==u&&(u=r,f&&r===""?o.back():o.setHash(r,!1)),a=!1,!0}):o.checkerFunction=function(){var n=o.getHash()||"";return n!==t&&(t=n,o.Adapter.trigger(e,"hashchange")),!0},o.intervalList.push(s(o.checkerFunction,o.options.hashChangeInterval)),!0},o.Adapter.onDomLoad(o.hashChangeInit)),o.emulated.pushState&&(o.onHashChange=function(t){var n=t&&t.newURL||o.getLocationHref(),r=o.getHashByUrl(n),i=null,s=null,u=null,a;return o.isLastHash(r)?(o.busy(!1),!1):(o.doubleCheckComplete(),o.saveHash(r),r&&o.isTraditionalAnchor(r)?(o.Adapter.trigger(e,"anchorchange"),o.busy(!1),!1):(i=o.extractState(o.getFullUrl(r||o.getLocationHref()),!0),o.isLastSavedState(i)?(o.busy(!1),!1):(s=o.getHashByState(i),a=o.discardedState(i),a?(o.getHashByIndex(-2)===o.getHashByState(a.forwardState)?o.back(!1):o.forward(!1),!1):(o.pushState(i.data,i.title,encodeURI(i.url),!1),!0))))},o.Adapter.bind(e,"hashchange",o.onHashChange),o.pushState=function(t,n,r,i){r=encodeURI(r).replace(/%25/g,"%");if(o.getHashByUrl(r))throw new Error("History.js does not support states with fragment-identifiers (hashes/anchors).");if(i!==!1&&o.busy())return o.pushQueue({scope:o,callback:o.pushState,args:arguments,queue:i}),!1;o.busy(!0);var s=o.createStateObject(t,n,r),u=o.getHashByState(s),a=o.getState(!1),f=o.getHashByState(a),l=o.getHash(),c=o.expectedStateId==s.id;return o.storeState(s),o.expectedStateId=s.id,o.recycleState(s),o.setTitle(s),u===f?(o.busy(!1),!1):(o.saveState(s),c||o.Adapter.trigger(e,"statechange"),!o.isHashEqual(u,l)&&!o.isHashEqual(u,o.getShortUrl(o.getLocationHref()))&&o.setHash(u,!1),o.busy(!1),!0)},o.replaceState=function(t,n,r,i){r=encodeURI(r).replace(/%25/g,"%");if(o.getHashByUrl(r))throw new Error("History.js does not support states with fragment-identifiers (hashes/anchors).");if(i!==!1&&o.busy())return o.pushQueue({scope:o,callback:o.replaceState,args:arguments,queue:i}),!1;o.busy(!0);var s=o.createStateObject(t,n,r),u=o.getHashByState(s),a=o.getState(!1),f=o.getHashByState(a),l=o.getStateByIndex(-2);return o.discardState(a,s,l),u===f?(o.storeState(s),o.expectedStateId=s.id,o.recycleState(s),o.setTitle(s),o.saveState(s),o.Adapter.trigger(e,"statechange"),o.busy(!1)):o.pushState(s.data,s.title,s.url,!1),!0}),o.emulated.pushState&&o.getHash()&&!o.emulated.hashChange&&o.Adapter.onDomLoad(function(){o.Adapter.trigger(e,"hashchange")})},typeof o.init!="undefined"&&o.init()}(window),function(e,t){"use strict";var n=e.console||t,r=e.document,i=e.navigator,s=!1,o=e.setTimeout,u=e.clearTimeout,a=e.setInterval,f=e.clearInterval,l=e.JSON,c=e. (…)
/plugin/indexmenu2/cms/modifiers/
H A Dblendiebugfix.js9 …rototype.modifier.blendiebugfix={runat:'ul',mod:function(i,I,l,o){var O=document.createElementExt(…
/plugin/listeabo/
H A Dadmin.php61 print '<script>document.location.search="do=listeabo&admin=true";</script>';
/plugin/commonmark/vendor/league/commonmark/src/Extension/TableOfContents/
H A DTableOfContentsGeneratorInterface.php21 public function generate(Document $document): ?TableOfContents;
19 generate(Document $document) global() argument
/plugin/diagramsnet/lib/math/config/
H A DAM_HTMLorMML.js41document.documentMode>=9){delete MathJax.OutputJax["HTML-CSS"].config.styles["#MathJax_Tooltip"].f…
45document.documentMode<9?"\n":" "),wbr:"","#comment":""},PreProcess:function(a){if(!this.configured…
46document.selection){setTimeout("document.selection.empty()",0)}},getBBox:function(s){s.appendChild…
47document.body.clientHeight,document.documentElement.clientHeight);if(this.getOverflow(q)!=="visibl…
48document.documentMode||0)>8);var j=(a?null:"5px");var s=f.CombineConfig("MathMenu",{delay:150,show…
49document.createElement("div");return this.SUPER(arguments).Init.apply(this,arguments)},Append:func…
51 …,initSymbols:n,refreshSymbols:B,compareNames:T,createDocumentFragment:X,document:e,define:I,newcom…
52document.body,"div",{style:{width:"5in"}});this.pxPerInch=n.offsetWidth/5;n.parentNode.removeChild…
53 (function(b,g,f){var c=b.config.menuSettings;var e=MathJax.OutputJax;var a=f.isMSIE&&(document.docu…
54document.documentMode||0)<8?"rect(1px 1px 1px 1px)":"rect(1px, 1px, 1px, 1px)"),padding:"1px 0 0 0…
/plugin/behave/
H A Dscript.js12 textarea: document.getElementById('wiki__text'),
/plugin/c3chart/
H A Dscript.js1 jQuery(document).ready(function() {
/plugin/wysiwyg/fckeditor/editor/_source/internals/
H A Dfckurlparams.js30 var aParams = document.location.search.substr(1).split('&') ;

1...<<21222324252627282930>>...83