/plugin/indexmenu2/cms/extensions/ |
H A D | helpers.js | 11 …isString(i){return(typeof i=='string');}function isNumber(i){return(typeof i=='number');}function … function
|
H A D | regexpextensions.js | 10 …'];arguments.callee.sRE=new RegExp('(\\'+I.join('|\\')+')','g');}return isString(i)?i.replace(argu…
|
/plugin/virtualkeyboard/vk/extensions/ |
H A D | helpers.js | 41 function isString (prop /* :Object */) /* :Boolean */ { function 102 return isNumeric(prop)||isString(prop); 114 if (isString(prop) || isNumber(prop)) return !prop; 157 s = ((!isString(arguments[i])&&!isNumber(arguments[i]))||isEmpty(arguments[i]) 368 if (isString(tags)) tags = [tags]; 454 if (isString(id)) id = document.getElementById(id); 456 …if (!isEmpty(section) && (!isString(section) || !(id = id.getElementsByTagName(section)))) return …
|
H A D | stringextensions.js | 18 if (isString(c)) c=c.split(""); 34 if (isString(c)) c=c.split(""); 50 if (isString(c)) c=c.split("");
|
H A D | regexpextensions.js | 30 return isString(text)?text.replace(arguments.callee.sRE, '\\$1')
|
/plugin/sequencediagram/bower_components/js-sequence-diagrams/src/ |
H A D | sequence-diagram.js | 38 var div = _.isString(container) ? document.getElementById(container) : container;
|
/plugin/virtualkeyboard/vk/ |
H A D | virtualkeyboard.js | 198 if (!isString(code)) return false; 234 …if (!isString(code)) throw new Error ('VirtualKeyboard.addLayout requires first parameter to be a … 235 …if (!isString(name)) throw new Error ('VirtualKeyboard.addLayout requires second parameter to be a… 401 if (isString(lang[i])) continue; 899 if (isString(holder)) holder = document.getElementById(holder);
|
/plugin/virtualkeyboard/vk/extensions/dom/ |
H A D | autosuggest.js | 77 if (!isString(dir)) return false; 389 if (isString(target)) target = document.getElementById(target);
|
H A D | selectbox.js | 138 if (!isString(match)) match = 'start'; 464 return isString(p)?node.options[id][p]:[text.value,node.options[id].value]; 686 else if (isString(li)) self.addOption (li, li
|
/plugin/indexmenu2/cms/extensions/dom/ |
H A D | autosuggest.js | 13 …isString(z))return false;switch(z.toLowerCase()){case'top':Q.place=1;break;case'bottom':Q.place=0;…
|
H A D | selectbox.js | 13 …isString(Z))Z='start';switch(Z.toLowerCase()){case"any":i=new RegExp(i,"i");break;case"end":i=new …
|
/plugin/s5reloaded/ui/effects_support/ |
H A D | effects.js | 175 var position = Object.isString(effect.options.queue) ? 221 if (!Object.isString(queueName)) return queueName; 269 Effect.Queues.get(Object.isString(this.options.queue) ? 292 Effect.Queues.get(Object.isString(this.options.queue) ? 329 object = Object.isString(object) ? $(object) : object; 939 if (!Object.isString(options.style)) this.style = $H(options.style);
|
H A D | prototype.js | 235 function isString(object) { function 260 isString: isString, 432 if (Object.isString(pattern)) 775 if (Object.isString(filter)) 955 if (!Object.isString(string)) return []; 1373 if (Object.isString(this.options.parameters)) 1655 if (Object.isString(options.insertion)) { 1715 if (Object.isString(element)) 2022 if (Object.isString(selector)) 2208 if (Object.isString(styles)) { [all …]
|
/plugin/sequencediagram/bower_components/lodash/vendor/underscore/test/ |
H A D | cross-document.js | 74 assert.ok(_.isString(iString), 'even from another frame');
|
H A D | objects.js | 642 assert.notOk(_.isString(testElement), 'an element is not a string'); 644 assert.ok(_.isString([1, 2, 3].join(', ')), 'but strings are'); 645 assert.strictEqual(_.isString('I am a string literal'), true, 'string literals are'); 646 assert.ok(_.isString(obj), 'so are String objects'); 647 assert.strictEqual(_.isString(1), false);
|
/plugin/issuetracker/ |
H A D | prototype.js | 330 function isString(object) { function 359 isString: isString, 549 if (Object.isString(pattern)) 894 if (Object.isString(filter)) 1076 if (!Object.isString(string)) return []; 1501 var params = Object.isString(this.options.parameters) ? 1765 if (Object.isString(options.insertion)) { 1824 if (Object.isString(element)) 2188 if (Object.isString(selector)) 2385 if (Object.isString(styles)) { [all …]
|
/plugin/freechat/phpfreechat/data/public/js/ |
H A D | prototype.js | 186 isString: function(object) { 666 if (Object.isString(filter)) 937 if (!Object.isString(string)) return []; 1172 if (Object.isString(this.options.parameters)) 1451 if (Object.isString(options.insertion)) { 1508 if (Object.isString(element)) 1619 if (Object.isString(insertions) || Object.isNumber(insertions) || 1719 if (Object.isString(selector)) 1913 if (Object.isString(styles)) { 3476 if (Object.isString(params)) params = params.toQueryParams(); [all …]
|
/plugin/siteexport/inc/ |
H A D | functions.php | 494 public function removeWikiVariables(&$removeArray, $advanced = false, $isString = false) { argument 569 if ($isString && is_array($removeArray)) {
|
/plugin/sequencediagram/bower_components/lodash/dist/ |
H A D | lodash.core.js | 2608 (isArray(value) || isString(value) || 2916 function isString(value) { function 3768 lodash.isString = isString;
|
/plugin/amcharts/assets/amcharts/ |
H A D | xy.js | 28 …aN;a.max=NaN},processGraph:function(a){e.isString(a.xAxis)&&(a.xAxis=this.getValueAxisById(a.xAxis… 33 …b]=c;c.chart=this;var d=c.valueAxis;e.isString(d)&&(c.valueAxis=this.getValueAxisById(d));d=c.valu…
|
/plugin/codemirror/dist/modes/ |
H A D | python.min.js.map | 1 …isString","pop","push","align","pushBracketScope","column","indented","tokenLexer","beginningOfLin…
|
/plugin/combo/resources/library/combo/ |
H A D | combo.min.js | 1 (function(u,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("bootstrap")):typeof define=="function"&&define.amd?define(["exports","bootstrap"],c):(u=typeof globalThis<"u"?globalThis:u||self,c(u.combo={},u.bootstrap))})(this,function(u,c){"use strict";var et=Object.defineProperty;var it=(u,c,H)=>c in u?et(u,c,{enumerable:!0,configurable:!0,writable:!0,value:H}):u[c]=H;var i=(u,c,H)=>(it(u,typeof c!="symbol"?c+"":c,H),H);class H{static toBoolean(t){return typeof t=="boolean"?t:t==="true"}}let F;class E{static getLogger(){return F===void 0&&(F=new E),F}error(t){if(console.error(t),process.env.NODE_ENV!=="production")throw new Error(t)}}let J=g=>crypto.getRandomValues(new Uint8Array(g)),q=(g,t,e)=>{let s=(2<<Math.log(g.length-1)/Math.LN2)-1,l=-~(1.6*s*t/g.length);return()=>{let r="";for(;;){let n=e(l),o=l;for(;o--;)if(r+=g[n[o]&s]||"",r.length===t)return r}}},G=(g,t)=>q(g,t,J);class ${static toHtmlId(t){return t.toString().replace(/[_.\s:\/\\]/g,"-")}static createRandomId(){return G("abcdefghijklmnopqrstuvwxyz",10)()}static createRandomIdWithPrefix(t){return t+"-"+this.createRandomId()}static toEntities(t){let e=[];for(let s=0;s<t.length;s++){let l=`&#${t.charCodeAt(s)};`;e.push(l)}return e.join("")}}class Q{static isString(t){return typeof t=="string"||t instanceof String}}const w=class{constructor(t){i(this,"tab","unknown");i(this,"mutable",!0);i(this,"values",[]);i(this,"defaultValues",[]);i(this,"multiple",!1);i(this,"children",{});i(this,"name");i(this,"type");i(this,"label");i(this,"url");i(this,"description");i(this,"parent");i(this,"domainValues");i(this,"width");this.name=t}getLabelAnchor(){if(this.getUrl()===void 0&&this.getDescription()===void 0)return this.getLabel();let t=this.getUrl();return this.getUrl()===void 0?(t="#",` method in AnonymousFunction75dc2f360100.Q 4 </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+=`
|
/plugin/sequencediagram/bower_components/lodash/vendor/backbone/ |
H A D | backbone.js | 109 if (_.isString(iteratee)) return function(model) { return model.get(iteratee); }; 866 var sortAttr = _.isString(this.comparator) ? this.comparator : null; 1040 if (length === 1 || _.isString(comparator)) {
|
/plugin/emoji/script/ |
H A D | jquery.textcomplete.js | 135 var isString = function (obj) { function 315 if (isString(context)) { text = context; }
|
/plugin/sequencediagram/bower_components/lodash/vendor/underscore/ |
H A D | underscore.js | 443 if (_.isString(obj)) { 1271 …if (isArrayLike(obj) && (_.isArray(obj) || _.isString(obj) || _.isArguments(obj))) return obj.leng…
|