commonAsyncShared__binning__properties.js 26 KB

12345678
  1. /*!
  2. * Licensed Materials - Property of IBM
  3. * IBM Cognos Products: Modeling UI
  4. * (C) Copyright IBM Corp. 2020
  5. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  6. */
  7. (window.caModellingPerspective=window.caModellingPerspective||[]).push([[6],{1027:function(e,t,r){"use strict";r.r(t),r.d(t,"default",function(){return Y});var i,s,o,n,a,u,p,l,c,b,m,g,d,h,y,O,f,L,j,v,N,P,I=r(736),B=r.n(I),M=r(6),x=r(0),E=r.n(x),w=r(5),D=r(8),R=r(2),G=r(9),S=r(34),U=r(27),T=r(14),C=r(4),V=r(26),F=r(262),k=r(33),Q=r(51),z=r(22),A=r(10),_=r(217);function q(e,t,r,i){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(i):void 0})}function H(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function J(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W(e,t,r,i,s){var o={};return Object.keys(i).forEach(function(e){o[e]=i[e]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=r.slice().reverse().reduce(function(r,i){return i(e,t,r)||r},o),s&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(s):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}var Y=(i=w.c.undoable(function(e){return Object(R.getString)("customBinUASetRangeValue",{value:e||""})}),s=w.c.undoable(function(e){return Object(R.getString)("customBinUASetLabelValue",{value:e})}),o=w.c.undoable(function(e){return Object(R.getString)("customBinUASetNumberOfBins",{number:e})}),n=w.c.undoable(function(e){return Object(R.getString)("customBinUASetNullGroupName",{name:e})}),a=w.c.undoable(Object(R.getString)("customBinUAToggleNull")),u=w.c.undoable(Object(R.getString)("customBinUAResetEqualDistribution")),p=w.c.undoable(function(e){return Object(R.getString)("customBinUASetExpressionLabel",{name:e})}),l=function(e){function t(t,r){var i,s=r.element,o=r.edit,n=r.view,a=r.data;return(i=e.apply(this,arguments)||this).selectedMoserObject=null,i.binNumberQueryItem=null,i.binNumberQueryItemId=void 0,i.basedOnMoserObject=null,i.basedOnMoserObjectId=void 0,i.expressionVersion=null,i.valuesMax="10",i.valuesMin="1",i.valuesCount="10",i.originalDirtyCheckObject=null,q(i,"editParameter",c,J(i)),q(i,"viewParameter",b,J(i)),q(i,"dataParameter",m,J(i)),i.binExpression=null,i.resources={},q(i,"currentDisplayView",g,J(i)),q(i,"selection",d,J(i)),q(i,"numberOfBins",h,J(i)),q(i,"nullGroupFlag",y,J(i)),q(i,"expressionLabel",O,J(i)),q(i,"usersetRangeList",f,J(i)),q(i,"usersetLabelList",L,J(i)),q(i,"rangeList",j,J(i)),q(i,"labelList",v,J(i)),q(i,"isGroupNumberConfirmationVisible",N,J(i)),q(i,"isGroupNumberValid",P,J(i)),i.groupNameTest=function(e,t,r){if(e.trim()===t.trim()){if(e===t)return r.messageType="warning",r.messageNode=Object(R.getString)("customBinErrorGroupNameDuplicate"),!0;r.messageType="informational",r.messageNode=Object(R.getString)("customBinErrorGroupNameUniqueWhitespaceOnly")}return!1},i.getGroupNameStatus=function(e,t){var r={};return void 0===t?i.labelListValue.some(function(t){return i.groupNameTest(e,t,r)}):i.nullGroupFlag&&i.groupNameTest(e,i.nullGroupName,r)||i.labelListValue.some(function(s,o){return o!==t&&i.groupNameTest(e,s,r)}),r.messageType||(e.trim().length?e.length!==e.trim().length&&(r.messageType="informational",r.messageNode=Object(R.getString)("customBinErrorGroupNamePrePostWhitespace")):(r.messageType="informational",r.messageNode=Object(R.getString)("customBinErrorGroupNameBlank"))),{}},i.editParameter=o,i.viewParameter=Object(Q.updateViewParameter)(n),i.dataParameter=a,i.selectedMoserObject=s,i.basedOnMoserObject=s,i}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(t,e);var r=t.prototype;return r.storeDidMount=function(){var e,t=this,r=Object(Q.validateCustomBin)(this.selectedMoserObject,this.editParameter,this.viewParameter,this.dataParameter);return r.length?Promise.reject(r):(this.isEditMode?(this.expressionLabel=this.selectedMoserObject.getLabel(),this.loadInfoFromProperty(),e=this.loadInfoUpdate(),this.originalDirtyCheckObject=this.getDirtyCheckObject):this.expressionLabel=this.generateExpressionLabel(),!e&&this.dataParameter&&(this.loadInfoFromDataParameter(),e=this.loadInfoUpdate()),e?(this.provider.showToast(e),Promise.reject(Object(Q.customBinMessageCreate)(z.q,e))):this.initializeBinExpression().then(function(){},function(e){return e&&t.provider.showToast(e),Promise.reject(Object(Q.customBinMessageCreate)(z.p,e))}))},r.loadInfoFromDataParameter=function(){this.dataParameter.name&&this.setExpressionLabel(this.dataParameter.name),this.basedOnMoserObjectId=this.dataParameter.basedOnMoserObjectId,this.binNumberQueryItemId=this.dataParameter.binNumberQueryItemId,this.dataParameter.numberOfBins&&(this.numberOfBins=this.dataParameter.numberOfBins),this.dataParameter.usersetLabelList&&(this.usersetLabelList=this.dataParameter.usersetLabelList),this.dataParameter.usersetRangeList&&(this.usersetRangeList=this.dataParameter.usersetRangeList),this.dataParameter.nullGroupFlag&&(this.nullGroupFlag=this.dataParameter.nullGroupFlag)},r.loadPropertyInfoCurrentProperties=function(e){this.basedOnMoserObjectId=e.basedOnMoserObjectId,this.binNumberQueryItemId=e.binNumberQueryItemId,this.numberOfBins=e.numberOfBins,this.usersetLabelList=e.usersetLabelList,this.usersetRangeList=e.usersetRangeList,this.nullGroupFlag=e.nullGroupFlag},r.loadPropertyInfoUpgradeToVersion7dot0=function(e){var t=e.valuesList.length<Number(e.numberOfBins)?[null].concat(e.valuesList.map(function(e){return e.value||e.placeholder}),[null]):[].concat(e.valuesList.map(function(e){return e.value||e.placeholder}));return{func:G.B,version:"7.0",basedOnMoserObjectId:e.basedOnMoserObjectId,binNumberQueryItemId:e.binNumberQueryItemId,numberOfBins:e.numberOfBins,usersetRangeList:t,usersetLabelList:[].concat(e.binsLabels.map(function(e){return e||null}),[e.nullGroupNameInputted||e.nullGroupNamePlaceholder||null]),nullGroupFlag:e.nullGroupFlag||!1}},r.loadPropertyInfoUpgradeToVersion4dot0=function(e){return{func:G.B,version:"4.0",basedOnMoserObjectId:1===e.identifier.split(".").length?Object(T.n)(this.selectedMoserObject,E.a.MoserObjectTypes.QUERY_SUBJECT).getIdentifier()+"."+e.identifier:e.identifier,binNumberQueryItemId:null,numberOfBins:String(e.ranges.length),binsLabels:e.ranges.map(function(e,t){return 0===t?e.lbl===e.GE+" - "+e.LE?null:e.lbl:e.lbl===e.GE+" - <"+e.LT?null:e.lbl}),valuesList:[{value:e.ranges[0].LE}].concat(e.ranges.map(function(e){return{value:e.GE}})),nullGroupFlag:!1,nullGroupNameInputted:null,nullGroupNamePlaceholder:null}},r.loadInfoFromProperty=function(){if(this.isEditMode){var e=Object(D.getObjectProperty)(this.selectedMoserObject,G.t);this.expressionVersion=Number(e.version)||0,this.expressionVersion<4&&(e=this.loadPropertyInfoUpgradeToVersion4dot0(e)),this.expressionVersion<7&&(e=this.loadPropertyInfoUpgradeToVersion7dot0(e)),this.loadPropertyInfoCurrentProperties(e)}},r.loadInfoUpdateBasedOnMoserObject=function(){if(this.basedOnMoserObjectId){var e=E.a.ModuleUtils.getMoserObjectByIdForExpression(this.basedOnMoserObjectId,Object(C.getModule)(this.selectedMoserObject));if(!e)return Object(R.getString)("customBinErrorCanNotResolveQI",{qi:this.basedOnMoserObjectId});this.basedOnMoserObject=e}},r.loadInfoUpdateBinNumber=function(){if(this.binNumberQueryItemId){var e=E.a.ModuleUtils.getMoserObjectByIdForExpression(this.binNumberQueryItemId,Object(C.getModule)(this.selectedMoserObject));if(!e)return Object(R.getString)("customBinErrorCanNotResolveQIN",{qi:this.binNumberQueryItemId});this.binNumberQueryItem=e}},r.loadInfoUpdate=function(){return this.usersetRangeList||this.resetUsersetRangeList(),this.usersetLabelList||this.resetUsersetLabelList(),this.loadInfoUpdateBasedOnMoserObject()||this.loadInfoUpdateBinNumber()},r._onParameterFault=function(e,t,r,i){t.length&&this.provider.openDialog(A.s,{resolve:r,abort:i,parameterResponse:e,parameterFault:t})},r.fetchStatisticsSpec=function(){var e=this.basedOnMoserObject.getIdForExpression();return{moduleId:this.provider.getModuleId(),module:Object(C.getModule)(this.basedOnMoserObject),rawResponse:!0,querySpec:{dataItems:[{id:"1",itemId:e,aggregate:"min"},{id:"2",itemId:e,aggregate:"max"},{id:"3",itemId:e,aggregate:"count"}],limit:"1",offset:"0",type:"summary",projections:["1","2","3"]},onParameterFault:this._onParameterFault}},r.fetchStatistics=function(){var e=this;return Object(F.a)(this.context,this.fetchStatisticsSpec()).then(function(t){return e.action(function(){var r,i,s,o=null!=(r=null==(i=t.data)?void 0:null==(s=i.data)?void 0:s[0].pt)?r:null;o&&null!=o[0].v?(e.valuesMin=o[0].v.NULL?"0":String(o[0].v),e.valuesMax=o[1].v.NULL?"0":String(o[1].v),e.valuesCount=o[2].v.NULL?"0":String(o[2].v)):(e.valuesMin="0",e.valuesMax="0",e.valuesCount="0")})},function(e){return Object(_.b)(e)?Promise.reject():Promise.reject(Object(k.a)(e))})},r.fetchMoserResourcesSpec=function(){var e=E.a.BinExpression.getResources(Object(C.getModule)(this.basedOnMoserObject).getExpressionLocale());return{moduleId:this.provider.getModuleId(),querySpec:{dataItems:[{id:"1",function:{name:"getLocalizedBinLabel",arguments:[{argument:e[0]}]}},{id:"2",function:{name:"getLocalizedBinLabel",arguments:[{argument:e[1]}]}},{id:"3",function:{name:"getLocalizedBinLabel",arguments:[{argument:e[2]}]}},{id:"4",function:{name:"getLocalizedBinLabel",arguments:[{argument:e[3]}]}}],limit:"1",offset:"0",type:"summary",projections:["1","2","3","4"]}}},r.fetchMoserResources=function(){var e=this;return Object(F.a)(this.context,this.fetchMoserResourcesSpec()).then(function(t){return e.action(function(){e.resources[z.D]=t.dataItems[0].items[0].t[0].u,e.resources[z.C]=t.dataItems[1].items[0].t[0].u,e.resources[z.E]=t.dataItems[2].items[0].t[0].u,e.resources[z.B]=t.dataItems[3].items[0].t[0].u})},function(e){return Promise.reject(Object(k.a)(e))})},r.initializeBinExpression=function(){var e=this;return Promise.all([this.fetchStatistics(),this.fetchMoserResources()]).then(function(){return e.action(function(){e.numberOfBins=String(e.computedNumberOfBins),e.usersetRangeList||e.resetUsersetRangeList(),e.usersetLabelList||e.resetUsersetLabelList(),e.binExpression=new E.a.BinExpression(Object(U.isExpressionParentGlobal)(e.rootObject)&&Object(T.n)(e.basedOnMoserObject,E.a.MoserObjectTypes.QUERY_SUBJECT)||null,e.basedOnMoserObject,e.computedNumberOfBins,e.rangesScale,Number(e.valuesMin),Number(e.valuesMax),e.usersetLabelList.slice().reverse(),e.usersetRangeList.slice().reverse(),[e.resources[z.D],e.resources[z.C],e.resources[z.E],e.resources[z.B]],e.nullGroupFlag,Object(C.getModule)(e.basedOnMoserObject).getExpressionLocale()),e.updateRangeList(),e.updateLabelList()})})},r.displayGroupNumberConfirmationOverlay=function(e){this.isGroupNumberConfirmationVisible=e},r.setGroupNumberValidity=function(e){this.isGroupNumberValid=e},r.setRange=function(e,t){this.usersetRangeList[t]=e||null,this.binExpression.updateCustomRanges(this.computedRangeList.slice().reverse()),this.updateRangeList(),this.updateLabelList()},r.setLabel=function(e,t){this.usersetLabelList[t]=e,this.binExpression.updateCustomLabels(this.usersetLabelList.slice().reverse()),this.updateLabelList()},r.setNumberOfBins=function(e){this.numberOfBins=e,this.binExpression.updateNumberOfBins(this.computedNumberOfBins),this.binExpression.updateMaxDecimalPlaces(this.rangesScale),this.resetUsersetRangeList(),this.resetUsersetLabelList(),this.updateRangeList(),this.updateLabelList()},r.setNullGroupName=function(e){this.setLabel(e,this.computedNumberOfBins)},r.toggleNullGroupName=function(){this.nullGroupFlag=!this.nullGroupFlag,this.binExpression.updateGenerateNullBin(this.nullGroupFlag)},r.resetEqualDistribution=function(){this.resetUsersetRangeList(),this.binExpression.updateCustomRanges(this.computedRangeList.slice().reverse()),this.updateRangeList(),this.updateLabelList()},r.resetUsersetRangeList=function(){this.usersetRangeList=[];for(var e=0;e<=this.computedNumberOfBins;e++)this.usersetRangeList.push(null)},r.resetUsersetLabelList=function(){this.usersetLabelList=[];for(var e=0;e<=this.computedNumberOfBins;e++)this.usersetLabelList.push(null)},r.updateRangeList=function(){this.rangeList=this.binExpression.getRanges().slice().reverse()},r.updateLabelList=function(){this.labelList=this.binExpression.getLabels().slice().reverse()},r.setExpressionLabel=function(e){this.expressionLabel=e},r.generateExpressionLabel=function(){for(var e=this,t=Object(R.getString)("customBinNameTemplate",{value:this.selectedMoserObject.getLabel()}),r=t,i=0,s=function(t){return Object(T.r)(e.rootObject).find(function(e){return e.getLabel()===t})};s(r);)r=t+" ("+(i+=1)+")";return r},r.getLabelObjectProperties=function(){return{label:this.expressionLabel,datatype:"varchar(100)",highlevelDatatype:E.a.HighLevelDataType.STRING.name(),usage:E.a.UsageType.ATTRIBUTE.name(),regularAggregate:E.a.RegularAggregateType.COUNT.name(),property:[{name:G.t,value:{func:G.B,basedOnMoserObjectId:this.basedOnMoserObject.getIdForExpression()}}]}},r.getLabelProperty=function(){return[{name:G.t,value:{func:G.B,version:Object(C.getModule)(this.basedOnMoserObject).getVersion(),basedOnMoserObjectId:this.basedOnMoserObject.getIdForExpression(),binNumberQueryItemId:this.binNumberQueryItem&&this.binNumberQueryItem.getIdForExpression(),numberOfBins:this.numberOfBins,usersetLabelList:this.usersetLabelList.slice(),usersetRangeList:this.computedRangeList.slice(),nullGroupFlag:this.nullGroupFlag}}]},r.getLabelObjectUpdateProperties=function(){return{label:this.expressionLabel,expression:this.binExpression.getLabelExpression(this.binNumberQueryItem.getIdentifier()),facetDefinition:{enabled:E.a.FacetTypeEnabled.TRUE.name(),sortList:{sortItem:[{ref:this.binNumberQueryItem.getIdentifier(),order:E.a.SortOrder.ASCENDING.name(),nullPlacement:E.a.SortOrderNullPlacement.LAST.name()}]}},property:this.getLabelProperty()}},r.getNumberObjectProperties=function(){return{label:this.expressionLabel+"__bin_nr",datatype:E.a.HighLevelDataType.INTEGER.name().toUpperCase(),highlevelDatatype:E.a.HighLevelDataType.INTEGER.name(),regularAggregate:E.a.RegularAggregateType.COUNT_DISTINCT.name(),usage:E.a.UsageType.IDENTIFIER.name(),hidden:!0,orderedValues:!0,comment:Object(R.getString)("customBinNumberComment",{message:this.expressionLabel})}},r.getNumberObjectUpdateProperties=function(){return{label:this.expressionLabel+"__bin_nr",expression:this.binExpression.getBinNumberExpression(),property:[{name:G.t,value:{func:G.C}}]}},r.saveCustomBinExpression=function(){var e,t=this,r=this.isEditMode?Object(R.getString)("customBinUAReplace",{name:this.expressionLabel}):Object(R.getString)("customBinUACreate",{name:this.expressionLabel});return this.action(Object(V.b)(r)(function(){var r;t.isEditMode?(e=t.selectedMoserObject,(!t.expressionVersion||t.expressionVersion<6)&&t.binNumberQueryItem&&(r=t.binNumberQueryItem.getIdentifier(),Object(D.removeItems)(t.binNumberQueryItem),t.binNumberQueryItem=void 0),t.binNumberQueryItem||(t.binNumberQueryItem=Object(U.createExpressionObject)(t.context,t.rootObject,t.getNumberObjectProperties()),r&&t.binNumberQueryItem.setIdentifier(r),Object(U.addExpressionObjectToModule)(t.context,e,t.binNumberQueryItem))):(e=Object(U.createExpressionObject)(t.context,t.rootObject,t.getLabelObjectProperties()),Object(U.addExpressionObjectToModule)(t.context,t.rootObject,e),t.binNumberQueryItem=Object(U.createExpressionObject)(t.context,t.rootObject,t.getNumberObjectProperties()),Object(U.addExpressionObjectToModule)(t.context,e,t.binNumberQueryItem));Object(U.updateExpressionProperties)(t.context,e,t.getLabelObjectUpdateProperties()),Object(U.updateExpressionProperties)(t.context,t.binNumberQueryItem,t.getNumberObjectUpdateProperties());var i=Object(Q.getCustomBinObjectData)(e);return Object(Q.customBinMessageAdd)(i.messages,z.u),Promise.resolve(i)}))},function(e,t,r){t&&H(e.prototype,t),r&&H(e,r)}(t,[{key:"isValid",get:function(){return!this.isGroupNumberConfirmationVisible&&this.isGroupNumberValid}},{key:"isEditMode",get:function(){return!0===this.editParameter}},{key:"isInteger",get:function(){return this.isEditMode?this.basedOnMoserObject.getHighlevelDatatype()===E.a.HighLevelDataType.INTEGER:this.selectedMoserObject.getHighlevelDatatype()===E.a.HighLevelDataType.INTEGER}},{key:"isNullable",get:function(){return this.isEditMode?this.basedOnMoserObject.isNullable():this.selectedMoserObject.isNullable()}},{key:"computedNumberOfBins",get:function(){var e;return this.numberOfBins?e=Number(this.numberOfBins):this.isInteger?(e=this.valuesMax-this.valuesMin+1)<z.H?e=z.H:e>z.F&&(e=z.F):e=this.valuesMax-this.valuesMin==0?z.H:z.F,e}},{key:"computedRangeList",get:function(){if(this.isEqualDistribution)return this.usersetRangeList;var e=[];e.push(this.usersetRangeList[0]||null);for(var t=1;t<this.computedNumberOfBins;t++)e.push(this.usersetRangeList[t]||this.rangeList[t]);return e.push(this.usersetRangeList[this.computedNumberOfBins]||null),e}},{key:"nullGroupName",get:function(){return this.nullGroupFlag?this.labelList[this.computedNumberOfBins]:""}},{key:"nullGroupStatus",get:function(){return this.nullGroupFlag?this.getGroupNameStatus(this.nullGroupName):{}}},{key:"isEqualDistribution",get:function(){return this.usersetRangeList.every(function(e){return null===e})}},{key:"isDefaultLabelList",get:function(){return this.usersetLabelList.every(function(e){return null===e})}},{key:"rangeListMax",get:function(){var e=[];e.push(void 0),e.push(this.usersetRangeList[0]?Number(this.rangeList[0]):void 0);for(var t=1;t<this.computedNumberOfBins;t++)e.push(Number(this.rangeList[t]));return e}},{key:"rangeListMin",get:function(){for(var e=[],t=1;t<this.computedNumberOfBins;t++)e.push(Number(this.rangeList[t]));return e.push(this.usersetRangeList[this.computedNumberOfBins]?Number(this.rangeList[this.computedNumberOfBins]):void 0),e.push(void 0),e}},{key:"rangeListValue",get:function(){var e=[];e.push(this.usersetRangeList[0]||"");for(var t=1;t<this.computedNumberOfBins;t++)e.push(this.usersetRangeList[t]||this.rangeList[t]);return e.push(this.usersetRangeList[this.computedNumberOfBins]||""),e}},{key:"rangeListAriaLabel",get:function(){var e=[];e.push(Object(R.getString)("customBinRangeAriaLabelAbove",{groupIndexStart:1}));for(var t=1;t<this.computedNumberOfBins;t++)e.push(Object(R.getString)("customBinRangeAriaLabel",{groupIndexStart:t,groupIndexEnd:t+1}));return e.push(Object(R.getString)("customBinRangeAriaLabelBelow",{groupIndexEnd:this.computedNumberOfBins})),e}},{key:"rangeListPlaceHolder",get:function(){var e=[];e.push(this.usersetRangeList[0]?void 0:Object(R.getString)("customBinHigher"));for(var t=1;t<this.computedNumberOfBins;t++)e.push(void 0);return e.push(this.usersetRangeList[this.computedNumberOfBins]?void 0:Object(R.getString)("customBinLower")),e}},{key:"labelListValue",get:function(){for(var e=[],t=0;t<this.computedNumberOfBins;t++)e.push(null===this.usersetLabelList[t]?this.labelList[t]:this.usersetLabelList[t]);return e}},{key:"labelListAriaLabel",get:function(){for(var e=[],t=0;t<this.computedNumberOfBins;t++)e.push(Object(R.getString)("customBinLabelAriaLabel",{index:t+1,max:this.computedNumberOfBins}));return e}},{key:"labelListStatus",get:function(){for(var e=[],t=0;t<this.computedNumberOfBins;t++)e.push(this.getGroupNameStatus(this.labelListValue[t],t));return e}},{key:"rangesScale",get:function(){if(this.isInteger)return 0;var e=this.valuesMax.indexOf("."),t=this.valuesMin.indexOf(".");return Math.max(-1===e?0:this.valuesMax.length-e,-1===t?0:this.valuesMin.length-t)+this.numberOfBins.length}},{key:"rootObject",get:function(){return Object(U.getParentForExpression)(this.selectedMoserObject)}},{key:"displayView",get:function(){return this.currentDisplayView||this.viewParameter.startView}},{key:"canSwitchToCustomGroup",get:function(){return!this.isEditMode&&!this.dataParameter&&this.displayView===z.z&&Object(S.j)(this.selectedMoserObject)}},{key:"getDirtyCheckObject",get:function(){return{name:this.expressionLabel,property:this.getLabelProperty()}}},{key:"isDirty",get:function(){return!B()(this.originalDirtyCheckObject,this.getDirtyCheckObject)}}]),t}(w.a),c=W(l.prototype,"editParameter",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),b=W(l.prototype,"viewParameter",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){}}),m=W(l.prototype,"dataParameter",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){}}),g=W(l.prototype,"currentDisplayView",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=W(l.prototype,"selection",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{}}}),h=W(l.prototype,"numberOfBins",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),y=W(l.prototype,"nullGroupFlag",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),O=W(l.prototype,"expressionLabel",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=W(l.prototype,"usersetRangeList",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=W(l.prototype,"usersetLabelList",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=W(l.prototype,"rangeList",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),v=W(l.prototype,"labelList",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),N=W(l.prototype,"isGroupNumberConfirmationVisible",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),P=W(l.prototype,"isGroupNumberValid",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),W(l.prototype,"_onParameterFault",[w.c],Object.getOwnPropertyDescriptor(l.prototype,"_onParameterFault"),l.prototype),W(l.prototype,"initializeBinExpression",[w.c],Object.getOwnPropertyDescriptor(l.prototype,"initializeBinExpression"),l.prototype),W(l.prototype,"displayGroupNumberConfirmationOverlay",[w.c],Object.getOwnPropertyDescriptor(l.prototype,"displayGroupNumberConfirmationOverlay"),l.prototype),W(l.prototype,"setGroupNumberValidity",[w.c],Object.getOwnPropertyDescriptor(l.prototype,"setGroupNumberValidity"),l.prototype),W(l.prototype,"isValid",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"isValid"),l.prototype),W(l.prototype,"isEditMode",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"isEditMode"),l.prototype),W(l.prototype,"isInteger",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"isInteger"),l.prototype),W(l.prototype,"isNullable",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"isNullable"),l.prototype),W(l.prototype,"computedNumberOfBins",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"computedNumberOfBins"),l.prototype),W(l.prototype,"computedRangeList",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"computedRangeList"),l.prototype),W(l.prototype,"setRange",[i],Object.getOwnPropertyDescriptor(l.prototype,"setRange"),l.prototype),W(l.prototype,"setLabel",[s],Object.getOwnPropertyDescriptor(l.prototype,"setLabel"),l.prototype),W(l.prototype,"setNumberOfBins",[o],Object.getOwnPropertyDescriptor(l.prototype,"setNumberOfBins"),l.prototype),W(l.prototype,"nullGroupName",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"nullGroupName"),l.prototype),W(l.prototype,"nullGroupStatus",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"nullGroupStatus"),l.prototype),W(l.prototype,"setNullGroupName",[n],Object.getOwnPropertyDescriptor(l.prototype,"setNullGroupName"),l.prototype),W(l.prototype,"toggleNullGroupName",[a],Object.getOwnPropertyDescriptor(l.prototype,"toggleNullGroupName"),l.prototype),W(l.prototype,"isEqualDistribution",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"isEqualDistribution"),l.prototype),W(l.prototype,"isDefaultLabelList",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"isDefaultLabelList"),l.prototype),W(l.prototype,"resetEqualDistribution",[u],Object.getOwnPropertyDescriptor(l.prototype,"resetEqualDistribution"),l.prototype),W(l.prototype,"resetUsersetRangeList",[w.c],Object.getOwnPropertyDescriptor(l.prototype,"resetUsersetRangeList"),l.prototype),W(l.prototype,"resetUsersetLabelList",[w.c],Object.getOwnPropertyDescriptor(l.prototype,"resetUsersetLabelList"),l.prototype),W(l.prototype,"rangeListMax",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"rangeListMax"),l.prototype),W(l.prototype,"rangeListMin",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"rangeListMin"),l.prototype),W(l.prototype,"rangeListValue",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"rangeListValue"),l.prototype),W(l.prototype,"rangeListAriaLabel",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"rangeListAriaLabel"),l.prototype),W(l.prototype,"rangeListPlaceHolder",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"rangeListPlaceHolder"),l.prototype),W(l.prototype,"updateRangeList",[w.c],Object.getOwnPropertyDescriptor(l.prototype,"updateRangeList"),l.prototype),W(l.prototype,"labelListValue",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"labelListValue"),l.prototype),W(l.prototype,"labelListAriaLabel",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"labelListAriaLabel"),l.prototype),W(l.prototype,"labelListStatus",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"labelListStatus"),l.prototype),W(l.prototype,"updateLabelList",[w.c],Object.getOwnPropertyDescriptor(l.prototype,"updateLabelList"),l.prototype),W(l.prototype,"setExpressionLabel",[p],Object.getOwnPropertyDescriptor(l.prototype,"setExpressionLabel"),l.prototype),W(l.prototype,"rangesScale",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"rangesScale"),l.prototype),W(l.prototype,"rootObject",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"rootObject"),l.prototype),W(l.prototype,"saveCustomBinExpression",[w.c],Object.getOwnPropertyDescriptor(l.prototype,"saveCustomBinExpression"),l.prototype),W(l.prototype,"displayView",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"displayView"),l.prototype),W(l.prototype,"canSwitchToCustomGroup",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"canSwitchToCustomGroup"),l.prototype),W(l.prototype,"getDirtyCheckObject",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"getDirtyCheckObject"),l.prototype),W(l.prototype,"isDirty",[M.computed],Object.getOwnPropertyDescriptor(l.prototype,"isDirty"),l.prototype),l)},736:function(e,t,r){var i=r(264);e.exports=function(e,t){return i(e,t)}}}]);
  8. //# sourceMappingURL=commonAsyncShared__binning__properties.js.map