Home
last modified time | relevance | path

Searched refs:valueOf (Results 51 – 75 of 124) sorted by relevance

12345

/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+=`
/plugin/diagramsnet/lib/WEB-INF/lib/
H A Dcommons-lang3-3.5.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...
H A Dgson-2.7.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/plugin/issuetracker/
H A Dprototype.js131 if (source.valueOf != Object.prototype.valueOf)
144 value.valueOf = method.valueOf.bind(method);
229 value = value.valueOf();
/plugin/s5reloaded/ui/effects_support/
H A Dprototype.js119 if (source.valueOf != Object.prototype.valueOf)
132 value.valueOf = method.valueOf.bind(method);
/plugin/yuriigantt/3rd/dhtmlxgantt/sources/ext/
H A Ddhtmlxgantt_tooltip.js1143 seed = (new Date()).valueOf();
/plugin/jcapture/src/com/hammurapi/jcapture/
H A DMovieEditorDialog.java989 String newVal = JOptionPane.showInputDialog(msg, String.valueOf(inactivityInterval)); in addRemoveInactivityMenuItem()
/plugin/sequencediagram/bower_components/lodash/dist/
H A Dlodash.core.min.js29 })}}),o.prototype.toJSON=o.prototype.valueOf=o.prototype.value=function(){return w(this.__wrapped__…
H A Dlodash.core.js3825 lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = wrapperValue;
H A Dlodash.min.js73 …eof n=="number")return n;if(wu(n))return F;if(du(n)&&(n=typeof n.valueOf=="function"?n.valueOf():n,
78 …i),Ji=Te(Ni),Yi=Te(Pi),Qi=Te(Zi),Xi=Te(qi),no=_i?_i.prototype:T,to=no?no.valueOf:T,ro=no?no.toStri…
136 …ew On(n,this.__chain__)):this.thru(Ge)},An.prototype.toJSON=An.prototype.valueOf=An.prototype.valu…
H A Dlodash.js1526 symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,
12465 var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
17071 lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = wrapperValue;
/plugin/diagramsnet/lib/js/orgchart/
H A Dbridge.min.js8valueOf()&4294967295;if(n===Number.POSITIVE_INFINITY)return 2146435072;if(n===Number.NEGATIVE_INFI… method in System.Decimal
/plugin/ditaa/ditaa/
H A Dditaa.jarMETA-INF/ META-INF/MANIFEST.MF net/ net/htmlparser/ net/ ...
/plugin/diagramsnet/lib/js/
H A Dorgchart.min.js8valueOf()&4294967295;if(n===Number.POSITIVE_INFINITY)return 2146435072;if(n===Number.NEGATIVE_INFI… method in System.Decimal
/plugin/sequencediagram/bower_components/lodash/vendor/underscore/test/
H A Dcollections.js70 {length: {valueOf: _.constant(5)}},
/plugin/yuriigantt/3rd/dhtmlxgantt/
H A Ddhtmlxgantt.js.map1valueOf","functor","arguments","event","el","handler","capture","addEventListener","attachEvent","…
/plugin/sequencediagram/bower_components/underscore/
H A Dunderscore-min.js5 …ents))}}),m.prototype.value=function(){return this._wrapped},m.prototype.valueOf=m.prototype.toJSO…
H A Dunderscore.js1530 _.prototype.valueOf = _.prototype.toJSON = _.prototype.value;
/plugin/sequencediagram/bower_components/lodash/vendor/underscore/
H A Dunderscore-min.js5 …ents))}}),m.prototype.value=function(){return this._wrapped},m.prototype.valueOf=m.prototype.toJSO…
/plugin/dirtylittlehelper/mermaid/editor/
H A Dbundle.js1valueOf=t.valueOf),e}function f(e,t,n,i){return It(e,t,n,i,!0).utc()}function g(e){return null==e.…
403valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},function(e,t,n){var i=n(704),…
426valueOf=t.valueOf),e}function f(e,t,n,i){return Mt(e,t,n,i,!0).utc()}function g(e){return null==e.…
/plugin/dirtylittlehelper/mermaid/editor/docs/
H A Dbundle.js1valueOf=t.valueOf),e}function f(e,t,n,i){return It(e,t,n,i,!0).utc()}function g(e){return null==e.…
403valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},function(e,t,n){var i=n(704),…
426valueOf=t.valueOf),e}function f(e,t,n,i){return Mt(e,t,n,i,!0).utc()}function g(e){return null==e.…
/plugin/jdraw/lib/
H A Dhttpclient-4.0.1.jarMETA-INF/MANIFEST.MF META-INF/HAMMURAP.SF META-INF/HAMMURAP ...
H A Djgraphx.jarMETA-INF/MANIFEST.MF META-INF/HAMMURAP.SF META-INF/HAMMURAP ...
/plugin/jcapture/lib/
H A Dhttpclient-4.0.1.jarMETA-INF/MANIFEST.MF META-INF/HAMMURAP.SF META-INF/HAMMURAP ...
/plugin/processing/
H A Dscript.js1835 Char.prototype.valueOf = function() { method in Char
2521 valOf = pathData[i].valueOf();
2528 valOf = pathData[i].valueOf();
2539 if (pathData[i-1].valueOf() === 101) {
2557 valOf = pathData[i].valueOf();
2566 switch (command.valueOf()) {
5591 return this.valueOf() === str.valueOf();

12345