Home
last modified time | relevance | path

Searched refs:toUpperCase (Results 51 – 75 of 268) sorted by relevance

1234567891011

/plugin/ckgdoku/ckeditor/plugins/pastefromword/filter/
H A Ddefault.js32toUpperCase();for(var b=1,c=1;0<a.length;c*=26)b+="ABCDEFGHIJKLMNOPQRSTUVWXYZ".indexOf(a.charAt(a.…
33 b?d(a.toUpperCase()):"lower-alpha"==b||"upper-alpha"==b?c(a):1},getStyle:function(a){a=a.slice(0,1)…
40 … "lower-roman":e=b(h+d)+".";break;case "I":case "upper-roman":e=b(h+d).toUpperCase()+".";break;def…
45 …lice(1)):g.toArabic(a.slice(1)):0},getSymbolInfo:function(a,b){var c=a.toUpperCase()==a?"upper-":"…
/plugin/s5reloaded/ui/effects_support/
H A Dunittest.js395 if(!m) m = obj['is'+method.charAt(0).toUpperCase()+method.slice(1)];
404 if(!m) m = obj['is'+method.charAt(0).toUpperCase()+method.slice(1)];
/plugin/codemirror/dist/keymaps/
H A Demacs.min.js1 …a.slice(0,b)+a.charAt(b).toUpperCase()+a.slice(b+1).toLowerCase()})}),"Alt-U":s(function(a){H(a,fu…
/plugin/diagramsnet/lib/js/diagramly/vsdx/
H A DmxVsdxCanvas2D.js451 type = type.toUpperCase();
896 if (i + 1 < ch.length && ch[i + 1].nodeName.toUpperCase() == 'BR')
907 var nodeName = curCh.nodeName.toUpperCase();
/plugin/jquery/
H A Dscript.js12toUpperCase()==E.toUpperCase()},each:function(G,K,F){var E,H=0,I=G.length;if(F){if(I===g){for(E in…
19toUpperCase();for(var U=0,S=X.length;U<S;U++){var W=X[U];if(W){var V=W.parentNode;X[U]=V.nodeName=…
/plugin/ckgedit/ckeditor/plugins/pastefromword/filter/
H A Ddefault.js33 …list-style-type"]},numbering:{toNumber:function(a,b){function c(a){a=a.toUpperCase();for(var b=1,c…
34toUpperCase();for(var c=b.length,d=0,g=0;g<c;++g)for(var n=b[g],r=n[1].length;a.substr(0,r)==n[1];…
41 …;case "i":case "lower-roman":e=b(g+d)+".";break;case "I":case "upper-roman":e=b(g+d).toUpperCase()+
47 …lice(1)):g.toArabic(a.slice(1)):0},getSymbolInfo:function(a,b){var c=a.toUpperCase()==a?"upper-":"…
/plugin/code3/src/
H A Dpsyhi.js136 txt = txt.replace('{LNG_'+i.toUpperCase()+'}',s[i]);
/plugin/dirtylittlehelper/mermaid/editor/docs/
H A D8.8.js.map1toUpperCase() + lowercase.substr(1);\n};\nvar keywordsWithCaseVariations = [];\nkeywords.forEach(f…
/plugin/findologicxmlexport/vendor/hoa/ustring/Test/Unit/
H A DUstring.php542 ->when($result = $string->toUpperCase())
550 ->when($result = $string->toUpperCase())
/plugin/pgn4web/pgn4web/
H A Dpgn4web.js228 colRowList = colRowList.toUpperCase().replace(/[^A-Z0-9]/g,"");
455 boardShortcut(cols.charAt(c).toUpperCase()+rows.charAt(r), "", function(t,e){});
778 if (Board[col][row] > 0) { thisFEN += PiecesArr[Board[col][row]-1].toUpperCase(); }
794 if (RookForOOCastling(0) !== null) { CastlingFEN += PiecesArr[0].toUpperCase(); }
795 if (RookForOOOCastling(0) !== null) { CastlingFEN += PiecesArr[1].toUpperCase(); }
1820 …noCache=" + (0x1000000000 + Math.floor((Math.random() * 0xF000000000))).toString(16).toUpperCase();
/plugin/diagramsnet/lib/js/spin/
H A Dspin.min.js2 ….length),l[e]=1),e}function d(a,b){var c,d,e=a.style;for(b=b.charAt(0).toUpperCase()+b.slice(1),d=…
/plugin/virtualkeyboard/vk/
H A Dvirtualkeyboard.js245 code = span.firstChild.nodeValue.toUpperCase();
509 …f (((mode & VK_SHIFT || mode & VK_CAPS) && (mode ^ (VK_SHIFT | VK_CAPS)))) chr = chr.toUpperCase();
/plugin/wysiwyg/fckeditor/editor/_source/internals/
H A Dfckxhtml.js410 if ( ePSibling && ePSibling.nodeName.toUpperCase() == 'LI' )
/plugin/diagramsnet/lib/math/extensions/TeX/
H A DnoErrors.js19 …asOwnProperty(p)){var j=p.replace(/-./g,function(m){return m.charAt(1).toUpperCase()});n.style[j]=…
/plugin/sequencediagram/bower_components/lodash/vendor/underscore/test/
H A Dfunctions.js146 return s.toUpperCase();
160 return key.toUpperCase();
/plugin/jcapture/src/com/hammurapi/jcapture/
H A DCaptureFrame.java241 String imageFormat = idx==-1 ? defaultImageFormat : fileName.substring(idx+1).toUpperCase(); in capture()
/plugin/findologicxmlexport/vendor/hoa/ustring/
H A DUstring.php473 public function toUpperCase() function in Hoa\\Ustring\\Ustring
/plugin/siteexport/
H A Djquery.filedownload.js154 var httpMethodUpper = settings.httpMethod.toUpperCase();
/plugin/virtualkeyboard/vk/extensions/tests/
H A DjsUnitCore.js72 result = result.substr(0, 1).toUpperCase() + result.substr(1);
/plugin/indexmenu2/cms/extensions/tests/
H A DjsUnitCore.js1 …);if(m)result=m[1];else break}break}}finally{result=result.substr(0,1).toUpperCase()+result.substr…
/plugin/bookcreator/script/
H A Djquery.fileDownload.js162 var httpMethodUpper = settings.httpMethod.toUpperCase();
/plugin/combo/resources/library/combo/
H A Dcombo.min.js4 </span>`):`<a href="${t}" title="${this.getDescription()}" data-bs-toggle="tooltip" style="text-decoration:none" target="_blank">${this.getLabel()}</a>`}setType(t){return this.type=t,this}setLabel(t){return this.label=t,this}setUrl(t){return this.url=t,this}addValue(t,e){return this.values.push(t),this.defaultValues.push(e),this}getType(){return this.type}getLabel(){return this.label===void 0?this.getName().split(/[_\-]/).map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" "):this.label}getUrl(){return this.url}getName(){return this.name}getDescription(){return this.description}getTab(){return this.tab}static createFromJson(t,e=null){t.hasOwnProperty("name")||E.getLogger().error("To create a form meta field, the name property is mandatory.");let s=t.name,l=w.createFromName(s);e!=null&&l.setParent(e);let r,n;for(let o in t){if(!t.hasOwnProperty(o))continue;let a=t[o];switch(o){case"name":continue;case"label":l.setLabel(a);continue;case"tab":l.setTab(a);continue;case"type":l.setType(a);continue;case"mutable":l.setMutable(a);continue;case"description":l.setDescription(a);continue;case"url":l.setUrl(a);continue;case"value":r=a;continue;case"default":n=a;continue;case"domain-values":l.setDomainValues(a);continue;case"multiple":l.setMultiple(a);continue;case"width":l.setControlWidth(a);continue;case"children":let p=a;for(let b in p){if(!p.hasOwnProperty(b))continue;let d=w.createFromJson(p[b],l);l.addChild(d)}continue;default:E.getLogger().error(`The property (${o}) of the form (${s}) is unknown`)}}return Array.isArray(r)?r.forEach((o,a)=>{let p=n[a];p!==void 0?l.addValue(o,p):l.addValue(o,"")}):l.addValue(r,n),l}setMultiple(t){return this.multiple=t,this}setParent(t){return this.parent=t,this}static createFromName(t){return new w(t)}isMutable(){return this.mutable}setTab(t){return this.tab=t,this}setMutable(t){return this.mutable=H.toBoolean(t),this}setDescription(t){return this.description=t,this}getDefaultValue(){return this.defaultValues[0]}getValue(){return this.values[0]}getDomainValues(){return this.domainValues}setDomainValues(t){if(!Array.isArray(t)){console.error(`The domains values should be an array. (${t}) is not an array`);return}return this.domainValues=t,this}setControlWidth(t){return this.width=t,this}getControlWidth(){return this.width===void 0&&this.parent!==void 0?12/this.parent.getChildren().length:this.width}getValues(){return this.values}getDefaultValues(){return this.defaultValues}getChildren(){return Object.values(this.children)}addChild(t){return this.children[t.getName()]=t,this}toHtmlLabel(t,e){let s=this.getLabelAnchor(),l;return this.getType()===w.BOOLEAN?l="form-check-label":l="col-form-label",typeof e<"u"&&(l=`${e} ${l}`),`<label for="${t}" class="${l}">${s}</label>`}toHtmlControl(t,e=null,s=null){let l=this.getType(),r=this.isMutable(),n=this.getDomainValues(),o,a;if(n!==void 0){a="select";let p="";s!==void 0&&(p=` (${s})`);let b="";this.getMultiple()&&(b="multiple"),a=`<select class="form-select" aria-label="${this.getLabel()}" name="${this.getName()}" id="${t}" ${b}>`;let d="";e===null&&(d="selected"),a+=`<option value="" ${d}>Default${p}</option>`;for(let h of n)h===e?d="selected":d="",a+=`<option value="${h}" ${d}>${h}</option>`;return a+="</select>",a}else{let p="No value";r&&(p=`Enter a ${this.getLabel()}`),s!=null&&(Q.isString(s)?p=$.toEntities(s):p=s);let b=`placeholder="${p}"`,d="",h,P=this.getName();r!==void 0&&!r?o="disabled":o="";let C="input",v="form-control",m="",A=3;switch(l){case w.DATE_TIME:h="datetime-local",e!==null?(e=e.slice(0,19),d=`value="${e}"`):!r&&s!==null&&(s=s.slice(0,19),d=`value="${s}"`),b="";break;case w.PARAGRAPH:C="textarea",e!==null&&(e=$.toEntities(e),d=`${e}`);break;case w.JSON:C="textarea",e!==null&&(typeof e=="object"&&(e=JSON.stringify(e,null,2)),e=$.toEntities(e),d=`${e}`),A=15;break;case w.BOOLEAN:h="checkbox",v="form-check-input",s!==null?(d=`value="${s}"`,e===s&&(m="checked")):e==="on"&&(m="checked"),b="";break;default:h="text",e!=null&&(d=`value="${e}"`)}switch(C){case"textarea":a=`<textarea id="${t}" name="${P}" class="${v}" rows="${A}" ${b} ${o}>${d}</textarea>`;break;default:case"input":a=`<input type="${h}" name="${P}" class="${v}" id="${t}" ${b} ${d} ${m} ${o}/>`;break}return a}}toJavascriptObject(){return{name:this.getName(),label:this.getLabel(),type:this.getType(),description:this.getDescription(),tab:this.getTab(),mutable:this.isMutable(),value:this.getValue(),default:this.getDefaultValue(),url:this.getUrl()}}getMultiple(){return this.multiple}};let T=w;i(T,"TABULAR_TYPE","tabular"),i(T,"DATE_TIME","datetime"),i(T,"PARAGRAPH","paragraph"),i(T,"BOOLEAN","boolean"),i(T,"JSON","json");class I{constructor(t){i(this,"name");i(this,"width");i(this,"label");i(this,"widthField");i(this,"widthLabel");this.name=t}getName(){return this.name}setWidth(t){return this.width=t,this}getWidth(){return this.width}static createFromJson(t){t.hasOwnProperty("name")||E.getLogger().error("A name property is mandatory to create a tab and was not found in the json provided");let e=t.name,s=new I(e);for(let l in t){if(!t.hasOwnProperty(l))continue;let r=t[l];switch(l){case"name":continue;case"label":s.setLabel(r);continue;case"width-field":s.setWidthField(r);continue;case"width-label":s.setWidthLabel(r);continue;default:E.getLogger().error(`The property (${l}) of the tab (${e}) is unknown`)}}return s}setLabel(t){return this.label=t,this}getLabel(){return this.label===void 0?this.name:this.label}setWidthField(t){return this.widthField=t,this}setWidthLabel(t){return this.widthLabel=t,this}getLabelWidth(){return this.widthLabel===void 0?3:this.widthLabel}getFieldWidth(){return this.widthField===void 0?12-this.getLabelWidth():this.widthField}static createFromName(t){return new I(t)}}class B{constructor(t){i(this,"formFields",{});i(this,"tabs",{});i(this,"width",8);i(this,"name");i(this,"label");i(this,"url");i(this,"getTabPaneId");i(this,"getTabNavId");i(this,"getControlId");if(t==null)throw new Error("The if of the form should not be null");this.name=t,this.getControlId=function(e){let s=$.toHtmlId(e);return`${t}-control-${s}`},this.getTabNavId=function(e){let s=$.toHtmlId(e.getName());return`${t}-tab-nav-${s}`},this.getTabPaneId=function(e){let s=$.toHtmlId(e.getName());return`${t}-tab-pane-${s}`}}getLabel(){return this.label}getUrl(){return this.url}getId(){return this.name}getControlWidth(){return this.width}getLabelWidth(){return 12-this.getControlWidth()}static createFromJson(t,e){let s=B.createFromId(t);for(let l in e){if(!e.hasOwnProperty(l))continue;let r=e[l];switch(l){case"fields":let n=r;for(let a in n)n.hasOwnProperty(a)&&s.addFormField(T.createFromJson(n[a]));continue;case"tabs":let o=r;for(let a in o)o.hasOwnProperty(a)&&s.addTab(I.createFromJson(o[a]));break;case"width":s.setControlWidth(r);break;case"label":s.setLabel(r);break;case"url":s.setUrl(r);break;default:E.getLogger().error(`The form property (${l}) is unknown`)}}return s}static createFromId(t){return new B(t)}addFormField(t){return this.formFields[t.getName()]=t,this.tabs.hasOwnProperty(t.getTab())||(this.tabs[t.getTab()]=I.createFromName(t.getTab())),this}getFields(){return Object.values(this.formFields)}getTabs(){return Object.values(this.tabs)}addTab(t){this.tabs[t.getName()]=t}valueOf(){return this.getId()}getFieldsForTab(t){return this.getFields().filter(e=>e.getTab()===t)}toHtmlElement(){let t=this.getId(),e='<ul class="nav nav-tabs mb-3">',s,l,r=this.getTabs(),n=r[0];for(let h of r){Object.is(h,n)?(s="active",l="true"):(s="",l="false");let P=h.getLabel(),C=this.getTabPaneId(h),v=this.getTabNavId(h);e+=`
30 `;let l=this.getDataNamespace();return this.popoverRootHtmlElement.setAttribute(`data${l}-toggle`,"popover"),this.popoverRootHtmlElement.setAttribute(`data${l}-trigger`,this.trigger),this.popoverRootHtmlElement.setAttribute(`data${l}-placement`,String(this.placement)),this.popoverRootHtmlElement.setAttribute(`data${l}-html`,String(this.isHtml)),this.popoverRootHtmlElement.setAttribute(`data${l}-container`,"body"),this.popoverRootHtmlElement.setAttribute(`data${l}-content`,this.content),this.bootStrapPopOver=new c.Popover(this.popoverRootHtmlElement,e),this.bootStrapPopOver}getDataNamespace(){let t="-bs",e=5;if("bootstrap"in window){let s=window.bootstrap;if(typeof s.Popover.VERSION<"u")return e=parseInt(s.Popover.VERSION.substring(0,1),10),e<5?"":t}if("jQuery"in window){let l=window.jQuery.fn.tooltip.constructor.VERSION;if(typeof l<"u")return e=parseInt(l.substring(0,1),10),e<5?"":t}return t}setTextContent(t){return this.content=t,this.isHtml=!1,this}setHtmlContent(t){return this.content=t,this.isHtml=!0,this}setEnableDismissOnNextClick(){return this.dismissOnNextClick=!0,this}setDisableDismissOnNextClick(){return this.dismissOnNextClick=!1,this}setTitle(t){return this.title=t,this}}class X{static hasWindowGuard(t){if(!this.hasWindow(t))throw Error("The element has no window")}static hasWindow(t){return!(!t||!t.ownerDocument||!t.ownerDocument.defaultView)}static getWindow(t){return this.hasWindowGuard(t),t.ownerDocument.defaultView}static formDataToObject(t){let e={};for(let s of t){let l=s[0],r=s[1];if(e.hasOwnProperty(l)){let n=e[l];Array.isArray(n)?e[l].push(r):e[l]=[n,r]}else e[l]=r}return e}}class z{constructor(t){i(this,"method","GET");i(this,"url");this.url=t}async getJson(){let t=await this.getResponse();return t.status!==200?{}:t.json()}async getText(){let t=await this.getResponse();return t.status!==200?"":t.text()}setMethod(t){return this.method=t.toUpperCase(),this}sendFormDataAsJson(t){return fetch(this.url.toString(),{method:this.method,body:JSON.stringify(X.formDataToObject(t)),headers:{"Content-Type":"application/json"}})}async getResponse(){let t=await fetch(this.url.toString(),{method:this.method});if(t.status!==200){let e=R.createTemporary();e.addBody(`Bad request: the call ${this.url} to the backend sends back the following exit code`+t.status),e.show()}return t}}const f=class{constructor(t){i(this,"url");let e=window.DOKU_BASE,s=window.JSINFO;switch(t){case f.AJAX:this.url=new URL(e+"lib/exe/ajax.php",window.location.href),this.url.searchParams.set("id",s.id);break;case f.RUNNER:this.url=new URL(e+"lib/exe/taskrunner.php",window.location.href),this.url.searchParams.set("id",s.id);break;case f.FETCH:this.url=new URL(e+"lib/exe/fetch.php",window.location.href);break;case f.EDIT:this.url=new URL(e+"doku.php",window.location.href),this.url.searchParams.set("do","edit"),this.url.searchParams.set("id",s.id);break;case f.SHOW:this.url=new URL(e+"doku.php",window.location.href),this.url.searchParams.set("id",s.id);break;default:throw new Error(`The type ${t} is unknown`)}}setProperty(t,e){return this.url.searchParams.set(t,e),this}toString(){return this.url.toString()}getCall(){return this.url.searchParams.get(f.CALL)}toRequest(){return new z(this.url)}static createAjax(t){return new f(this.AJAX).setProperty(f.CALL,t)}static createRunner(){return new f(this.RUNNER)}static createFetch(t,e){let s=new f(this.FETCH);if(typeof t>"u")throw new Error("The media id is mandatory");return s.setProperty("media",t),typeof e<"u"&&s.setProperty("drive",e),s}static createEdit(t){let e=new f(this.EDIT);return typeof t<"u"&&e.setProperty("id",t),e}};let y=f;i(y,"AJAX","AJAX"),i(y,"RUNNER","RUNNER"),i(y,"CALL","call"),i(y,"EDIT","edit"),i(y,"SHOW","show"),i(y,"FETCH","fetch");class V{constructor(t){i(this,"date");this.date=t}static createFromIso(t){let e=new Date(t);return new V(e)}toSqlTimestampString(){return`${this.date.getFullYear()}-${(this.date.getMonth()+1).toString().padStart(2,"0")}-${this.date.getDate().toString().padStart(2,"0")} ${this.date.getHours().toString().padStart(2,"0")}:${this.date.getMinutes().toString().padStart(2,"0")}:${this.date.getSeconds().toString().padStart(2,"0")}`}}u.Date=V,u.DokuUrl=y,u.Form=B,u.Html=$,u.Modal=R,u.Popover=x,Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})});
/plugin/diagramsnet/lib/js/jscolor/
H A Djscolor.js133 while((e2 = e2.parentNode) && e2.nodeName.toUpperCase() !== 'BODY') {
410 if(this.caps) { value = value.toUpperCase(); }
/plugin/impressjs/tpl/dokuwiki/
H A Dimpress.js41 var ucProp = prop.charAt(0).toUpperCase() + prop.substr(1),
/plugin/diagramsnet/lib/plugins/
H A Dvoice.js611 tmp = tmp.charAt(0).toUpperCase() + tmp.slice(1);
1256 value = value.charAt(0).toUpperCase() + value.slice(1);
2310 color = color.toUpperCase();

1234567891011