12345678 |
- /*!
- * Licensed Materials - Property of IBM
- * IBM Cognos Products: Modeling UI
- * (C) Copyright IBM Corp. 2020
- * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- */
- (window.caModellingPerspective=window.caModellingPerspective||[]).push([[22],{1753:function(e,t,r){"use strict";r.r(t),r.d(t,"default",function(){return h});var o,i=r(1),n=r.n(i),l=r(3),a=r(25),p=r(5),c=r(2),s=r(10),u=r(44),d=r(1754),y=r(1755);var h=Object(u.a)(s.k,{initializer:function(e,t){return new d.a({context:e},t)}})(o=Object(p.e)(function(e){return{isDirty:e.isDirty,dialogTitle:e.title,saveFormat:e.saveFormat}})(o=function(e){function t(){for(var t,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this)._onSave=function(){var e=t.props;(0,e.onClose)(e.saveFormat)},t}return function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(t,e),t.prototype.render=function(){var e=this.props,t=e.onClose,r=e.prepareForClose,o=e.isDirty,i=e.dialogTitle;return n.a.createElement(l.Dialog,{"data-tid":Object(a.a)("formatDialog"),height:"500px",width:"820px",onClose:t},n.a.createElement(l.Dialog.Header,{"data-tid":Object(a.a)("formatDialog","header")},n.a.createElement(l.TruncatedText,{value:i})),n.a.createElement(l.Dialog.Body,null,n.a.createElement(y.a,null)),n.a.createElement(l.Dialog.Footer,null,n.a.createElement(l.Dialog.Button,{primary:!0,"data-tid":Object(a.a)("formatDialog","ok"),label:Object(c.getString)("ok"),onClick:this._onSave,disabled:r||!o}),n.a.createElement(l.Dialog.Button,{"data-tid":Object(a.a)("formatDialog","cancel"),label:Object(c.getString)("cancel"),onClick:t})))},t}(i.Component))||o)||o},1754:function(e,t,r){"use strict";r.d(t,"a",function(){return Te});var o,i,n,l,a,p,c,s,u,d,y,h,g,S,b,m,P,O,w,f,_,E,D,T,U,A,M,I,N,v,R,j,C,L,H,F,k,z,x,G,W,Y,V,Z,B,X,K,J,q,Q,$,ee,te,re,oe,ie,ne,le,ae,pe,ce,se,ue,de=r(0),ye=r.n(de),he=r(6),ge=r(5),Se=r(4),be=r(2),me=r(9),Pe=r(8),Oe=r(504),we=r(43);function fe(e,t,r,o){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(o):void 0})}function _e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ee(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function De(e,t,r,o,i){var n={};return Object.keys(o).forEach(function(e){n[e]=o[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=r.slice().reverse().reduce(function(r,o){return o(e,t,r)||r},n),i&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(i):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}var Te=(o=ge.c.undoable(function(e,t){return""+Object(be.getString)("format__setProperty",{key:e,value:t})}),i=ge.c.undoable(""+Object(be.getString)("format__setDefaultProperties")),n=ge.c.undoable(Object(be.getString)("format__closeDialog")),l=function(e){function t(t,r){var o;return fe(o=e.apply(this,arguments)||this,"selectedMoserObjects",a,Ee(o)),fe(o,"isAdvancedModeAllowed",p,Ee(o)),fe(o,"_advancedMode",c,Ee(o)),fe(o,"_advancedModeInitial",s,Ee(o)),fe(o,"_sectionMode",u,Ee(o)),fe(o,"_formatGroupList",d,Ee(o)),fe(o,"_isReadOnly",y,Ee(o)),fe(o,"typeUserSet",h,Ee(o)),fe(o,"calendarUserSet",g,Ee(o)),fe(o,"clockUserSet",S,Ee(o)),fe(o,"currencyCodeUserSet",b,Ee(o)),fe(o,"currencySymbolUserSet",m,Ee(o)),fe(o,"dateSeparatorUserSet",P,Ee(o)),fe(o,"dateStyleUserSet",O,Ee(o)),fe(o,"decimalDelimiterUserSet",w,Ee(o)),fe(o,"decimalSizeUserSet",f,Ee(o)),fe(o,"digitShapingUserSet",_,Ee(o)),fe(o,"displayOrderUserSet",E,Ee(o)),fe(o,"exponentSizeUserSet",D,Ee(o)),fe(o,"exponentSymbolUserSet",T,Ee(o)),fe(o,"groupDelimiterUserSet",U,Ee(o)),fe(o,"groupSecondarySizeUserSet",A,Ee(o)),fe(o,"groupSizeUserSet",M,Ee(o)),fe(o,"intlCurrencySymbolUserSet",I,Ee(o)),fe(o,"maxDigitsUserSet",N,Ee(o)),fe(o,"minDigitsUserSet",v,Ee(o)),fe(o,"paddingCharacterUserSet",R,Ee(o)),fe(o,"patternUserSet",j,Ee(o)),fe(o,"percentScaleUserSet",C,Ee(o)),fe(o,"percentSymbolUserSet",L,Ee(o)),fe(o,"scaleUserSet",H,Ee(o)),fe(o,"showAmPmUserSet",F,Ee(o)),fe(o,"showDaysUserSet",k,Ee(o)),fe(o,"showEraUserSet",z,Ee(o)),fe(o,"showHoursUserSet",x,Ee(o)),fe(o,"showMillisecondsUserSet",G,Ee(o)),fe(o,"showMinutesUserSet",W,Ee(o)),fe(o,"showMonthsUserSet",Y,Ee(o)),fe(o,"showSecondsUserSet",V,Ee(o)),fe(o,"showTimeZoneUserSet",Z,Ee(o)),fe(o,"showWeekdayUserSet",B,Ee(o)),fe(o,"showYearsUserSet",X,Ee(o)),fe(o,"signUserSet",K,Ee(o)),fe(o,"timeSeparatorUserSet",J,Ee(o)),fe(o,"timeStyleUserSet",q,Ee(o)),fe(o,"unitsUserSet",Q,Ee(o)),fe(o,"useGroupingUserSet",$,Ee(o)),fe(o,"useIntlSymbolUserSet",ee,Ee(o)),fe(o,"useScientificUserSet",te,Ee(o)),fe(o,"useTrailingSignUserSet",re,Ee(o)),fe(o,"useTrailingSymbolUserSet",oe,Ee(o)),fe(o,"whenAnyErrorUserSet",ie,Ee(o)),fe(o,"whenDivideZeroUserSet",ne,Ee(o)),fe(o,"whenMissingUserSet",le,Ee(o)),fe(o,"whenNegativeUserSet",ae,Ee(o)),fe(o,"whenNotApplicableUserSet",pe,Ee(o)),fe(o,"whenNumericOverflowUserSet",ce,Ee(o)),fe(o,"whenSecurityErrorUserSet",se,Ee(o)),fe(o,"whenZeroUserSet",ue,Ee(o)),o._getPlaceholder=function(e){var t=Object(Oe.getPropertyName)(e),r=o._formatGroupList[0][t];return o._formatGroupList.every(function(e){return e[t]===r})?r||we.FORMAT_DEFAULTVALUE:we.FORMAT_INDETERMINATE},o._getUserSetOrPlaceHolderProperty=function(e){var t=Object(Oe.getPropertyName)(e),r=o[t+"UserSet"];return void 0===r?o[t+"Placeholder"]:r},o._getProperty=function(e,t){var r,i,n=Object(Oe.getPropertyName)(t),l=o[n+"UserSet"];if(void 0!==l)return l===we.FORMAT_DEFAULTVALUE||""===l?{}:((i={})[n]=l,i);var a=o._formatGroupList[e][n];return a?((r={})[n]=a,r):{}},o._advancedProperties=function(e){var t={};return Object(Oe.getFormatSections)().options.forEach(function(r){return r.value!==we.SECTION_BASIC&&Object.assign.apply(Object,[t].concat(Object(Oe.getFormatSectionProperties)(r.value,o.type).map(function(t){return o._getProperty(e,t)})))}),t},o._basicProperties=function(e){return Object.assign.apply(Object,[{}].concat(Object(Oe.getFormatSectionProperties)(we.SECTION_BASIC,o.type).map(function(t){return o._getProperty(e,t)})))},o._qsId=function(e){var t=Object(Se.getAncestor)(e,ye.a.MoserObjectTypes.QUERY_SUBJECT);return t&&t.getIdentifier()},o.selectedMoserObjects=r.elements||[],o.isAdvancedModeAllowed=!!r.isAdvancedModeAllowed,o.selectedMoserObjects.forEach(function(e){o.isAdvancedModeAllowed&&(Object(Pe.getObjectProperty)(e,me.L)||{}).advancedMode&&(o._advancedMode=!0,o._advancedModeInitial=!0,o._sectionMode=we.SECTION_ERROR),Object(Pe.isReadOnly)(e)&&(o._isReadOnly=!0);var t=JSON.parse(e.getFormat()||"{}").formatGroup,r=t?Object(Oe.getFormatTypes)().options.map(function(e){return e.value}).find(function(e){return t[e]}):void 0;o._formatGroupList.push(Object.assign({type:r},r?t[r]:{}))}),o}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(t,e);var r=t.prototype;return r.setFormatProperty=function(e,t){this[e+"UserSet"]=t},r.setDefaultFormatProperties=function(){var e=this;this.advancedMode=!1,Object(Oe.getFormatProperties)().forEach(function(t){e[t.property+"UserSet"]=void 0,e[t.property]!==we.FORMAT_DEFAULTVALUE&&(e[t.property+"UserSet"]=we.FORMAT_DEFAULTVALUE)})},r.saveFormat=function(){var e=this,t=this.updatedFormatGroupList;this.selectedMoserObjects.forEach(function(r,o){var i=JSON.parse(r.getFormat()||"{}");i.formatGroup=t[o],r.setFormat(JSON.stringify(i)),Object(Pe.setObjectProperty)(r,me.L,{advancedMode:e.advancedMode})})},function(e,t,r){t&&_e(e.prototype,t),r&&_e(e,r)}(t,[{key:"typePlaceholder",get:function(){return this._getPlaceholder(we.TYPE)}},{key:"calendarPlaceholder",get:function(){return this._getPlaceholder(we.CALENDAR)}},{key:"clockPlaceholder",get:function(){return this._getPlaceholder(we.CLOCK)}},{key:"currencyCodePlaceholder",get:function(){return this._getPlaceholder(we.CURRENCYCODE)}},{key:"currencySymbolPlaceholder",get:function(){return this._getPlaceholder(we.CURRENCYSYMBOL)}},{key:"dateSeparatorPlaceholder",get:function(){return this._getPlaceholder(we.DATESEPARATOR)}},{key:"dateStylePlaceholder",get:function(){return this._getPlaceholder(we.DATESTYLE)}},{key:"decimalDelimiterPlaceholder",get:function(){return this._getPlaceholder(we.DECIMALDELIMITER)}},{key:"decimalSizePlaceholder",get:function(){return this._getPlaceholder(we.DECIMALSIZE)}},{key:"digitShapingPlaceholder",get:function(){return this._getPlaceholder(we.DIGITSHAPING)}},{key:"displayOrderPlaceholder",get:function(){return this._getPlaceholder(we.DISPLAYORDER)}},{key:"exponentSizePlaceholder",get:function(){return this._getPlaceholder(we.EXPONENTSIZE)}},{key:"exponentSymbolPlaceholder",get:function(){return this._getPlaceholder(we.EXPONENTSYMBOL)}},{key:"groupDelimiterPlaceholder",get:function(){return this._getPlaceholder(we.GROUPDELIMITER)}},{key:"groupSecondarySizePlaceholder",get:function(){return this._getPlaceholder(we.GROUPSECONDARYSIZE)}},{key:"groupSizePlaceholder",get:function(){return this._getPlaceholder(we.GROUPSIZE)}},{key:"intlCurrencySymbolPlaceholder",get:function(){return this._getPlaceholder(we.INTLCURRENCYSYMBOL)}},{key:"maxDigitsPlaceholder",get:function(){return this._getPlaceholder(we.MAXDIGITS)}},{key:"minDigitsPlaceholder",get:function(){return this._getPlaceholder(we.MINDIGITS)}},{key:"paddingCharacterPlaceholder",get:function(){return this._getPlaceholder(we.PADDINGCHARACTER)}},{key:"patternPlaceholder",get:function(){return this._getPlaceholder(we.PATTERN)}},{key:"percentScalePlaceholder",get:function(){return this._getPlaceholder(we.PERCENTSCALE)}},{key:"percentSymbolPlaceholder",get:function(){return this._getPlaceholder(we.PERCENTSYMBOL)}},{key:"scalePlaceholder",get:function(){return this._getPlaceholder(we.SCALE)}},{key:"showAmPmPlaceholder",get:function(){return this._getPlaceholder(we.SHOWAMPM)}},{key:"showDaysPlaceholder",get:function(){return this._getPlaceholder(we.SHOWDAYS)}},{key:"showEraPlaceholder",get:function(){return this._getPlaceholder(we.SHOWERA)}},{key:"showHoursPlaceholder",get:function(){return this._getPlaceholder(we.SHOWHOURS)}},{key:"showMillisecondsPlaceholder",get:function(){return this._getPlaceholder(we.SHOWMILLISECONDS)}},{key:"showMinutesPlaceholder",get:function(){return this._getPlaceholder(we.SHOWMINUTES)}},{key:"showMonthsPlaceholder",get:function(){return this._getPlaceholder(we.SHOWMONTHS)}},{key:"showSecondsPlaceholder",get:function(){return this._getPlaceholder(we.SHOWSECONDS)}},{key:"showTimeZonePlaceholder",get:function(){return this._getPlaceholder(we.SHOWTIMEZONE)}},{key:"showWeekdayPlaceholder",get:function(){return this._getPlaceholder(we.SHOWWEEKDAY)}},{key:"showYearsPlaceholder",get:function(){return this._getPlaceholder(we.SHOWYEARS)}},{key:"signPlaceholder",get:function(){return this._getPlaceholder(we.SIGN)}},{key:"timeSeparatorPlaceholder",get:function(){return this._getPlaceholder(we.TIMESEPARATOR)}},{key:"timeStylePlaceholder",get:function(){return this._getPlaceholder(we.TIMESTYLE)}},{key:"unitsPlaceholder",get:function(){return this._getPlaceholder(we.UNITS)}},{key:"useGroupingPlaceholder",get:function(){return this._getPlaceholder(we.USEGROUPING)}},{key:"useIntlSymbolPlaceholder",get:function(){return this._getPlaceholder(we.USEINTLSYMBOL)}},{key:"useScientificPlaceholder",get:function(){return this._getPlaceholder(we.USESCIENTIFIC)}},{key:"useTrailingSignPlaceholder",get:function(){return this._getPlaceholder(we.USETRAILINGSIGN)}},{key:"useTrailingSymbolPlaceholder",get:function(){return this._getPlaceholder(we.USETRAILINGSYMBOL)}},{key:"whenAnyErrorPlaceholder",get:function(){return this._getPlaceholder(we.WHENANYERROR)}},{key:"whenDivideZeroPlaceholder",get:function(){return this._getPlaceholder(we.WHENDIVIDEZERO)}},{key:"whenMissingPlaceholder",get:function(){return this._getPlaceholder(we.WHENMISSING)}},{key:"whenNegativePlaceholder",get:function(){return this._getPlaceholder(we.WHENNEGATIVE)}},{key:"whenNotApplicablePlaceholder",get:function(){return this._getPlaceholder(we.WHENNOTAPPLICABLE)}},{key:"whenNumericOverflowPlaceholder",get:function(){return this._getPlaceholder(we.WHENNUMERICOVERFLOW)}},{key:"whenSecurityErrorPlaceholder",get:function(){return this._getPlaceholder(we.WHENSECURITYERROR)}},{key:"whenZeroPlaceholder",get:function(){return this._getPlaceholder(we.WHENZERO)}},{key:"type",get:function(){return this._getUserSetOrPlaceHolderProperty(we.TYPE)}},{key:"calendar",get:function(){return this._getUserSetOrPlaceHolderProperty(we.CALENDAR)}},{key:"clock",get:function(){return this._getUserSetOrPlaceHolderProperty(we.CLOCK)}},{key:"currencyCode",get:function(){return this._getUserSetOrPlaceHolderProperty(we.CURRENCYCODE)}},{key:"currencySymbol",get:function(){return this._getUserSetOrPlaceHolderProperty(we.CURRENCYSYMBOL)}},{key:"dateSeparator",get:function(){return this._getUserSetOrPlaceHolderProperty(we.DATESEPARATOR)}},{key:"dateStyle",get:function(){return this._getUserSetOrPlaceHolderProperty(we.DATESTYLE)}},{key:"decimalDelimiter",get:function(){return this._getUserSetOrPlaceHolderProperty(we.DECIMALDELIMITER)}},{key:"decimalSize",get:function(){return this._getUserSetOrPlaceHolderProperty(we.DECIMALSIZE)}},{key:"digitShaping",get:function(){return this._getUserSetOrPlaceHolderProperty(we.DIGITSHAPING)}},{key:"displayOrder",get:function(){return this._getUserSetOrPlaceHolderProperty(we.DISPLAYORDER)}},{key:"exponentSize",get:function(){return this._getUserSetOrPlaceHolderProperty(we.EXPONENTSIZE)}},{key:"exponentSymbol",get:function(){return this._getUserSetOrPlaceHolderProperty(we.EXPONENTSYMBOL)}},{key:"groupDelimiter",get:function(){return this._getUserSetOrPlaceHolderProperty(we.GROUPDELIMITER)}},{key:"groupSecondarySize",get:function(){return this._getUserSetOrPlaceHolderProperty(we.GROUPSECONDARYSIZE)}},{key:"groupSize",get:function(){return this._getUserSetOrPlaceHolderProperty(we.GROUPSIZE)}},{key:"intlCurrencySymbol",get:function(){return this._getUserSetOrPlaceHolderProperty(we.INTLCURRENCYSYMBOL)}},{key:"maxDigits",get:function(){return this._getUserSetOrPlaceHolderProperty(we.MAXDIGITS)}},{key:"minDigits",get:function(){return this._getUserSetOrPlaceHolderProperty(we.MINDIGITS)}},{key:"paddingCharacter",get:function(){return this._getUserSetOrPlaceHolderProperty(we.PADDINGCHARACTER)}},{key:"pattern",get:function(){return this._getUserSetOrPlaceHolderProperty(we.PATTERN)}},{key:"percentScale",get:function(){return this._getUserSetOrPlaceHolderProperty(we.PERCENTSCALE)}},{key:"percentSymbol",get:function(){return this._getUserSetOrPlaceHolderProperty(we.PERCENTSYMBOL)}},{key:"scale",get:function(){return this._getUserSetOrPlaceHolderProperty(we.SCALE)}},{key:"showAmPm",get:function(){return this._getUserSetOrPlaceHolderProperty(we.SHOWAMPM)}},{key:"showDays",get:function(){return this._getUserSetOrPlaceHolderProperty(we.SHOWDAYS)}},{key:"showEra",get:function(){return this._getUserSetOrPlaceHolderProperty(we.SHOWERA)}},{key:"showHours",get:function(){return this._getUserSetOrPlaceHolderProperty(we.SHOWHOURS)}},{key:"showMilliseconds",get:function(){return this._getUserSetOrPlaceHolderProperty(we.SHOWMILLISECONDS)}},{key:"showMinutes",get:function(){return this._getUserSetOrPlaceHolderProperty(we.SHOWMINUTES)}},{key:"showMonths",get:function(){return this._getUserSetOrPlaceHolderProperty(we.SHOWMONTHS)}},{key:"showSeconds",get:function(){return this._getUserSetOrPlaceHolderProperty(we.SHOWSECONDS)}},{key:"showTimeZone",get:function(){return this._getUserSetOrPlaceHolderProperty(we.SHOWTIMEZONE)}},{key:"showWeekday",get:function(){return this._getUserSetOrPlaceHolderProperty(we.SHOWWEEKDAY)}},{key:"showYears",get:function(){return this._getUserSetOrPlaceHolderProperty(we.SHOWYEARS)}},{key:"sign",get:function(){return this._getUserSetOrPlaceHolderProperty(we.SIGN)}},{key:"timeSeparator",get:function(){return this._getUserSetOrPlaceHolderProperty(we.TIMESEPARATOR)}},{key:"timeStyle",get:function(){return this._getUserSetOrPlaceHolderProperty(we.TIMESTYLE)}},{key:"units",get:function(){return this._getUserSetOrPlaceHolderProperty(we.UNITS)}},{key:"useGrouping",get:function(){return this._getUserSetOrPlaceHolderProperty(we.USEGROUPING)}},{key:"useIntlSymbol",get:function(){return this._getUserSetOrPlaceHolderProperty(we.USEINTLSYMBOL)}},{key:"useScientific",get:function(){return this._getUserSetOrPlaceHolderProperty(we.USESCIENTIFIC)}},{key:"useTrailingSign",get:function(){return this._getUserSetOrPlaceHolderProperty(we.USETRAILINGSIGN)}},{key:"useTrailingSymbol",get:function(){return this._getUserSetOrPlaceHolderProperty(we.USETRAILINGSYMBOL)}},{key:"whenAnyError",get:function(){return this._getUserSetOrPlaceHolderProperty(we.WHENANYERROR)}},{key:"whenDivideZero",get:function(){return this._getUserSetOrPlaceHolderProperty(we.WHENDIVIDEZERO)}},{key:"whenMissing",get:function(){return this._getUserSetOrPlaceHolderProperty(we.WHENMISSING)}},{key:"whenNegative",get:function(){return this._getUserSetOrPlaceHolderProperty(we.WHENNEGATIVE)}},{key:"whenNotApplicable",get:function(){return this._getUserSetOrPlaceHolderProperty(we.WHENNOTAPPLICABLE)}},{key:"whenNumericOverflow",get:function(){return this._getUserSetOrPlaceHolderProperty(we.WHENNUMERICOVERFLOW)}},{key:"whenSecurityError",get:function(){return this._getUserSetOrPlaceHolderProperty(we.WHENSECURITYERROR)}},{key:"whenZero",get:function(){return this._getUserSetOrPlaceHolderProperty(we.WHENZERO)}},{key:"sectionMode",get:function(){return this._sectionMode},set:function(e){this._sectionMode=e}},{key:"advancedMode",get:function(){return this._advancedMode},set:function(e){this._advancedMode=e,this._sectionMode=e?we.SECTION_ERROR:we.SECTION_BASIC}},{key:"isReadOnly",get:function(){return this._isReadOnly},set:function(e){this._isReadOnly=e}},{key:"_activeUserSetProperties",get:function(){var e=this;return Object.keys(this).filter(function(t){return void 0!==e[t]&&t.includes("UserSet",t.length-"UserSet".length)&&e[t]!==e[t.slice(0,-"UserSet".length)+"Placeholder"]}).map(function(t){return{key:t.slice(0,-"UserSet".length),value:e[t]}})}},{key:"isDirty",get:function(){return this._activeUserSetProperties.length>0||this._advancedMode!==this._advancedModeInitial}},{key:"title",get:function(){return this.advancedMode?Object(be.getString)("format__dialogTitleAdvanced"):Object(be.getString)("format__dialogTitle")}},{key:"updatedFormatGroupList",get:function(){var e=this;return this._formatGroupList.map(function(t,r){var o;return e.type===we.FORMAT_DEFAULTVALUE?{}:((o={})[e.type]=e.advancedMode?e._advancedProperties(r):e._basicProperties(r),o)})}},{key:"selectionValue",get:function(){var e=this,t=this._qsId(this.selectedMoserObjects[0]),r=this.selectedMoserObjects.every(function(r){return t===e._qsId(r)});return this.selectedMoserObjects.map(function(e){if(!r){var t=Object(Se.getAncestor)(e,ye.a.MoserObjectTypes.QUERY_SUBJECT);if(t)return t.getLabel()+"."+e.getLabel()}return e.getLabel()}).join()}},{key:"sectionProperties",get:function(){return Object(Oe.getFormatSectionProperties)(this.sectionMode,this.type)}},{key:"haveNonDefaultProperties",get:function(){var e=this,t=Object(Oe.getPropertyName)(we.TYPE);return this[t]&&this[t]!==Object(Oe.getPropertyDefault)(we.TYPE)&&Object(Oe.getFormatProperties)().some(function(r){return""!==e[t+"UserSet"]&&e[r.property]!==we.FORMAT_DEFAULTVALUE})}}]),t}(ge.a),a=De(l.prototype,"selectedMoserObjects",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),p=De(l.prototype,"isAdvancedModeAllowed",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),c=De(l.prototype,"_advancedMode",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=De(l.prototype,"_advancedModeInitial",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),u=De(l.prototype,"_sectionMode",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return we.SECTION_BASIC}}),d=De(l.prototype,"_formatGroupList",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),y=De(l.prototype,"_isReadOnly",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),h=De(l.prototype,"typeUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=De(l.prototype,"calendarUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=De(l.prototype,"clockUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=De(l.prototype,"currencyCodeUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=De(l.prototype,"currencySymbolUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=De(l.prototype,"dateSeparatorUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=De(l.prototype,"dateStyleUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=De(l.prototype,"decimalDelimiterUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=De(l.prototype,"decimalSizeUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=De(l.prototype,"digitShapingUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=De(l.prototype,"displayOrderUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=De(l.prototype,"exponentSizeUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=De(l.prototype,"exponentSymbolUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=De(l.prototype,"groupDelimiterUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=De(l.prototype,"groupSecondarySizeUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=De(l.prototype,"groupSizeUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=De(l.prototype,"intlCurrencySymbolUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=De(l.prototype,"maxDigitsUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=De(l.prototype,"minDigitsUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=De(l.prototype,"paddingCharacterUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=De(l.prototype,"patternUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=De(l.prototype,"percentScaleUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=De(l.prototype,"percentSymbolUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=De(l.prototype,"scaleUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=De(l.prototype,"showAmPmUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=De(l.prototype,"showDaysUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=De(l.prototype,"showEraUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=De(l.prototype,"showHoursUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),G=De(l.prototype,"showMillisecondsUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),W=De(l.prototype,"showMinutesUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=De(l.prototype,"showMonthsUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=De(l.prototype,"showSecondsUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=De(l.prototype,"showTimeZoneUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=De(l.prototype,"showWeekdayUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=De(l.prototype,"showYearsUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=De(l.prototype,"signUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=De(l.prototype,"timeSeparatorUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=De(l.prototype,"timeStyleUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=De(l.prototype,"unitsUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=De(l.prototype,"useGroupingUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=De(l.prototype,"useIntlSymbolUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),te=De(l.prototype,"useScientificUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),re=De(l.prototype,"useTrailingSignUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),oe=De(l.prototype,"useTrailingSymbolUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ie=De(l.prototype,"whenAnyErrorUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ne=De(l.prototype,"whenDivideZeroUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),le=De(l.prototype,"whenMissingUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ae=De(l.prototype,"whenNegativeUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),pe=De(l.prototype,"whenNotApplicableUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ce=De(l.prototype,"whenNumericOverflowUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),se=De(l.prototype,"whenSecurityErrorUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ue=De(l.prototype,"whenZeroUserSet",[he.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),De(l.prototype,"typePlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"typePlaceholder"),l.prototype),De(l.prototype,"calendarPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"calendarPlaceholder"),l.prototype),De(l.prototype,"clockPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"clockPlaceholder"),l.prototype),De(l.prototype,"currencyCodePlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"currencyCodePlaceholder"),l.prototype),De(l.prototype,"currencySymbolPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"currencySymbolPlaceholder"),l.prototype),De(l.prototype,"dateSeparatorPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"dateSeparatorPlaceholder"),l.prototype),De(l.prototype,"dateStylePlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"dateStylePlaceholder"),l.prototype),De(l.prototype,"decimalDelimiterPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"decimalDelimiterPlaceholder"),l.prototype),De(l.prototype,"decimalSizePlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"decimalSizePlaceholder"),l.prototype),De(l.prototype,"digitShapingPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"digitShapingPlaceholder"),l.prototype),De(l.prototype,"displayOrderPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"displayOrderPlaceholder"),l.prototype),De(l.prototype,"exponentSizePlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"exponentSizePlaceholder"),l.prototype),De(l.prototype,"exponentSymbolPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"exponentSymbolPlaceholder"),l.prototype),De(l.prototype,"groupDelimiterPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"groupDelimiterPlaceholder"),l.prototype),De(l.prototype,"groupSecondarySizePlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"groupSecondarySizePlaceholder"),l.prototype),De(l.prototype,"groupSizePlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"groupSizePlaceholder"),l.prototype),De(l.prototype,"intlCurrencySymbolPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"intlCurrencySymbolPlaceholder"),l.prototype),De(l.prototype,"maxDigitsPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"maxDigitsPlaceholder"),l.prototype),De(l.prototype,"minDigitsPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"minDigitsPlaceholder"),l.prototype),De(l.prototype,"paddingCharacterPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"paddingCharacterPlaceholder"),l.prototype),De(l.prototype,"patternPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"patternPlaceholder"),l.prototype),De(l.prototype,"percentScalePlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"percentScalePlaceholder"),l.prototype),De(l.prototype,"percentSymbolPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"percentSymbolPlaceholder"),l.prototype),De(l.prototype,"scalePlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"scalePlaceholder"),l.prototype),De(l.prototype,"showAmPmPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showAmPmPlaceholder"),l.prototype),De(l.prototype,"showDaysPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showDaysPlaceholder"),l.prototype),De(l.prototype,"showEraPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showEraPlaceholder"),l.prototype),De(l.prototype,"showHoursPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showHoursPlaceholder"),l.prototype),De(l.prototype,"showMillisecondsPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showMillisecondsPlaceholder"),l.prototype),De(l.prototype,"showMinutesPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showMinutesPlaceholder"),l.prototype),De(l.prototype,"showMonthsPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showMonthsPlaceholder"),l.prototype),De(l.prototype,"showSecondsPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showSecondsPlaceholder"),l.prototype),De(l.prototype,"showTimeZonePlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showTimeZonePlaceholder"),l.prototype),De(l.prototype,"showWeekdayPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showWeekdayPlaceholder"),l.prototype),De(l.prototype,"showYearsPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showYearsPlaceholder"),l.prototype),De(l.prototype,"signPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"signPlaceholder"),l.prototype),De(l.prototype,"timeSeparatorPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"timeSeparatorPlaceholder"),l.prototype),De(l.prototype,"timeStylePlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"timeStylePlaceholder"),l.prototype),De(l.prototype,"unitsPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"unitsPlaceholder"),l.prototype),De(l.prototype,"useGroupingPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"useGroupingPlaceholder"),l.prototype),De(l.prototype,"useIntlSymbolPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"useIntlSymbolPlaceholder"),l.prototype),De(l.prototype,"useScientificPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"useScientificPlaceholder"),l.prototype),De(l.prototype,"useTrailingSignPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"useTrailingSignPlaceholder"),l.prototype),De(l.prototype,"useTrailingSymbolPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"useTrailingSymbolPlaceholder"),l.prototype),De(l.prototype,"whenAnyErrorPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"whenAnyErrorPlaceholder"),l.prototype),De(l.prototype,"whenDivideZeroPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"whenDivideZeroPlaceholder"),l.prototype),De(l.prototype,"whenMissingPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"whenMissingPlaceholder"),l.prototype),De(l.prototype,"whenNegativePlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"whenNegativePlaceholder"),l.prototype),De(l.prototype,"whenNotApplicablePlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"whenNotApplicablePlaceholder"),l.prototype),De(l.prototype,"whenNumericOverflowPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"whenNumericOverflowPlaceholder"),l.prototype),De(l.prototype,"whenSecurityErrorPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"whenSecurityErrorPlaceholder"),l.prototype),De(l.prototype,"whenZeroPlaceholder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"whenZeroPlaceholder"),l.prototype),De(l.prototype,"type",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"type"),l.prototype),De(l.prototype,"calendar",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"calendar"),l.prototype),De(l.prototype,"clock",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"clock"),l.prototype),De(l.prototype,"currencyCode",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"currencyCode"),l.prototype),De(l.prototype,"currencySymbol",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"currencySymbol"),l.prototype),De(l.prototype,"dateSeparator",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"dateSeparator"),l.prototype),De(l.prototype,"dateStyle",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"dateStyle"),l.prototype),De(l.prototype,"decimalDelimiter",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"decimalDelimiter"),l.prototype),De(l.prototype,"decimalSize",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"decimalSize"),l.prototype),De(l.prototype,"digitShaping",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"digitShaping"),l.prototype),De(l.prototype,"displayOrder",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"displayOrder"),l.prototype),De(l.prototype,"exponentSize",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"exponentSize"),l.prototype),De(l.prototype,"exponentSymbol",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"exponentSymbol"),l.prototype),De(l.prototype,"groupDelimiter",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"groupDelimiter"),l.prototype),De(l.prototype,"groupSecondarySize",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"groupSecondarySize"),l.prototype),De(l.prototype,"groupSize",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"groupSize"),l.prototype),De(l.prototype,"intlCurrencySymbol",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"intlCurrencySymbol"),l.prototype),De(l.prototype,"maxDigits",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"maxDigits"),l.prototype),De(l.prototype,"minDigits",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"minDigits"),l.prototype),De(l.prototype,"paddingCharacter",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"paddingCharacter"),l.prototype),De(l.prototype,"pattern",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"pattern"),l.prototype),De(l.prototype,"percentScale",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"percentScale"),l.prototype),De(l.prototype,"percentSymbol",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"percentSymbol"),l.prototype),De(l.prototype,"scale",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"scale"),l.prototype),De(l.prototype,"showAmPm",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showAmPm"),l.prototype),De(l.prototype,"showDays",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showDays"),l.prototype),De(l.prototype,"showEra",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showEra"),l.prototype),De(l.prototype,"showHours",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showHours"),l.prototype),De(l.prototype,"showMilliseconds",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showMilliseconds"),l.prototype),De(l.prototype,"showMinutes",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showMinutes"),l.prototype),De(l.prototype,"showMonths",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showMonths"),l.prototype),De(l.prototype,"showSeconds",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showSeconds"),l.prototype),De(l.prototype,"showTimeZone",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showTimeZone"),l.prototype),De(l.prototype,"showWeekday",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showWeekday"),l.prototype),De(l.prototype,"showYears",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"showYears"),l.prototype),De(l.prototype,"sign",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"sign"),l.prototype),De(l.prototype,"timeSeparator",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"timeSeparator"),l.prototype),De(l.prototype,"timeStyle",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"timeStyle"),l.prototype),De(l.prototype,"units",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"units"),l.prototype),De(l.prototype,"useGrouping",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"useGrouping"),l.prototype),De(l.prototype,"useIntlSymbol",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"useIntlSymbol"),l.prototype),De(l.prototype,"useScientific",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"useScientific"),l.prototype),De(l.prototype,"useTrailingSign",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"useTrailingSign"),l.prototype),De(l.prototype,"useTrailingSymbol",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"useTrailingSymbol"),l.prototype),De(l.prototype,"whenAnyError",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"whenAnyError"),l.prototype),De(l.prototype,"whenDivideZero",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"whenDivideZero"),l.prototype),De(l.prototype,"whenMissing",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"whenMissing"),l.prototype),De(l.prototype,"whenNegative",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"whenNegative"),l.prototype),De(l.prototype,"whenNotApplicable",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"whenNotApplicable"),l.prototype),De(l.prototype,"whenNumericOverflow",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"whenNumericOverflow"),l.prototype),De(l.prototype,"whenSecurityError",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"whenSecurityError"),l.prototype),De(l.prototype,"whenZero",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"whenZero"),l.prototype),De(l.prototype,"sectionMode",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"sectionMode"),l.prototype),De(l.prototype,"advancedMode",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"advancedMode"),l.prototype),De(l.prototype,"isReadOnly",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"isReadOnly"),l.prototype),De(l.prototype,"_activeUserSetProperties",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"_activeUserSetProperties"),l.prototype),De(l.prototype,"isDirty",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"isDirty"),l.prototype),De(l.prototype,"title",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"title"),l.prototype),De(l.prototype,"updatedFormatGroupList",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"updatedFormatGroupList"),l.prototype),De(l.prototype,"selectionValue",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"selectionValue"),l.prototype),De(l.prototype,"sectionProperties",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"sectionProperties"),l.prototype),De(l.prototype,"haveNonDefaultProperties",[he.computed],Object.getOwnPropertyDescriptor(l.prototype,"haveNonDefaultProperties"),l.prototype),De(l.prototype,"setFormatProperty",[o],Object.getOwnPropertyDescriptor(l.prototype,"setFormatProperty"),l.prototype),De(l.prototype,"setDefaultFormatProperties",[i],Object.getOwnPropertyDescriptor(l.prototype,"setDefaultFormatProperties"),l.prototype),De(l.prototype,"saveFormat",[n],Object.getOwnPropertyDescriptor(l.prototype,"saveFormat"),l.prototype),l)},1755:function(e,t,r){"use strict";r.d(t,"a",function(){return I});var o,i=r(1),n=r.n(i),l=r(738),a=r(16),p=r(25),c=r(20),s=r(3),u=r(1022),d=r.n(u),y=r(1756),h=r.n(y),g=r(757),S=r.n(g),b=r(152),m=r.n(b),P=r(5),O=r(17),w=r(19),f=r(2),_=r(1012),E=r(504),D=r(43),T=r(37),U=r(39);r(1757);function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}var M={numberFormat:"-1234.10",percentFormat:"0.7502",currencyFormat:"1234.10",dateFormat:"1960-01-25",dateTimeFormat:"1960-01-25T13:30:55",timeFormat:"13:30:55",intervalFormat:"3:11:50",stringFormat:Object(f.getString)("format__preview_stringFormat"),format:Object(f.getString)("format__preview_stringFormat")},I=Object(P.e)(function(e){return{format:e,updatedFormatGroupList:e.updatedFormatGroupList,advancedMode:e.advancedMode,sectionMode:e.sectionMode,isReadOnly:e.isReadOnly,sectionProperties:e.sectionProperties,selectionValue:e.selectionValue,haveNonDefaultProperties:e.haveNonDefaultProperties,isAdvancedModeAllowed:e.isAdvancedModeAllowed,typePlaceholder:e.typePlaceholder,calendarPlaceholder:e.calendarPlaceholder,clockPlaceholder:e.clockPlaceholder,currencyCodePlaceholder:e.currencyCodePlaceholder,currencySymbolPlaceholder:e.currencySymbolPlaceholder,dateSeparatorPlaceholder:e.dateSeparatorPlaceholder,dateStylePlaceholder:e.dateStylePlaceholder,decimalDelimiterPlaceholder:e.decimalDelimiterPlaceholder,decimalSizePlaceholder:e.decimalSizePlaceholder,digitShapingPlaceholder:e.digitShapingPlaceholder,displayOrderPlaceholder:e.displayOrderPlaceholder,exponentSizePlaceholder:e.exponentSizePlaceholder,exponentSymbolPlaceholder:e.exponentSymbolPlaceholder,groupDelimiterPlaceholder:e.groupDelimiterPlaceholder,groupSecondarySizePlaceholder:e.groupSecondarySizePlaceholder,groupSizePlaceholder:e.groupSizePlaceholder,intlCurrencySymbolPlaceholder:e.intlCurrencySymbolPlaceholder,maxDigitsPlaceholder:e.maxDigitsPlaceholder,minDigitsPlaceholder:e.minDigitsPlaceholder,paddingCharacterPlaceholder:e.paddingCharacterPlaceholder,patternPlaceholder:e.patternPlaceholder,percentScalePlaceholder:e.percentScalePlaceholder,percentSymbolPlaceholder:e.percentSymbolPlaceholder,scalePlaceholder:e.scalePlaceholder,showAmPmPlaceholder:e.showAmPmPlaceholder,showDaysPlaceholder:e.showDaysPlaceholder,showEraPlaceholder:e.showEraPlaceholder,showHoursPlaceholder:e.showHoursPlaceholder,showMillisecondsPlaceholder:e.showMillisecondsPlaceholder,showMinutesPlaceholder:e.showMinutesPlaceholder,showMonthsPlaceholder:e.showMonthsPlaceholder,showSecondsPlaceholder:e.showSecondsPlaceholder,showTimeZonePlaceholder:e.showTimeZonePlaceholder,showWeekdayPlaceholder:e.showWeekdayPlaceholder,showYearsPlaceholder:e.showYearsPlaceholder,signPlaceholder:e.signPlaceholder,timeSeparatorPlaceholder:e.timeSeparatorPlaceholder,timeStylePlaceholder:e.timeStylePlaceholder,unitsPlaceholder:e.unitsPlaceholder,useGroupingPlaceholder:e.useGroupingPlaceholder,useIntlSymbolPlaceholder:e.useIntlSymbolPlaceholder,useScientificPlaceholder:e.useScientificPlaceholder,useTrailingSignPlaceholder:e.useTrailingSignPlaceholder,useTrailingSymbolPlaceholder:e.useTrailingSymbolPlaceholder,whenAnyErrorPlaceholder:e.whenAnyErrorPlaceholder,whenDivideZeroPlaceholder:e.whenDivideZeroPlaceholder,whenMissingPlaceholder:e.whenMissingPlaceholder,whenNegativePlaceholder:e.whenNegativePlaceholder,whenNotApplicablePlaceholder:e.whenNotApplicablePlaceholder,whenNumericOverflowPlaceholder:e.whenNumericOverflowPlaceholder,whenSecurityErrorPlaceholder:e.whenSecurityErrorPlaceholder,whenZeroPlaceholder:e.whenZeroPlaceholder,typeUserSet:e.typeUserSet,calendarUserSet:e.calendarUserSet,clockUserSet:e.clockUserSet,currencyCodeUserSet:e.currencyCodeUserSet,currencySymbolUserSet:e.currencySymbolUserSet,dateSeparatorUserSet:e.dateSeparatorUserSet,dateStyleUserSet:e.dateStyleUserSet,decimalDelimiterUserSet:e.decimalDelimiterUserSet,decimalSizeUserSet:e.decimalSizeUserSet,digitShapingUserSet:e.digitShapingUserSet,displayOrderUserSet:e.displayOrderUserSet,exponentSizeUserSet:e.exponentSizeUserSet,exponentSymbolUserSet:e.exponentSymbolUserSet,groupDelimiterUserSet:e.groupDelimiterUserSet,groupSecondarySizeUserSet:e.groupSecondarySizeUserSet,groupSizeUserSet:e.groupSizeUserSet,intlCurrencySymbolUserSet:e.intlCurrencySymbolUserSet,maxDigitsUserSet:e.maxDigitsUserSet,minDigitsUserSet:e.minDigitsUserSet,paddingCharacterUserSet:e.paddingCharacterUserSet,patternUserSet:e.patternUserSet,percentScaleUserSet:e.percentScaleUserSet,percentSymbolUserSet:e.percentSymbolUserSet,scaleUserSet:e.scaleUserSet,showAmPmUserSet:e.showAmPmUserSet,showDaysUserSet:e.showDaysUserSet,showEraUserSet:e.showEraUserSet,showHoursUserSet:e.showHoursUserSet,showMillisecondsUserSet:e.showMillisecondsUserSet,showMinutesUserSet:e.showMinutesUserSet,showMonthsUserSet:e.showMonthsUserSet,showSecondsUserSet:e.showSecondsUserSet,showTimeZoneUserSet:e.showTimeZoneUserSet,showWeekdayUserSet:e.showWeekdayUserSet,showYearsUserSet:e.showYearsUserSet,signUserSet:e.signUserSet,timeSeparatorUserSet:e.timeSeparatorUserSet,timeStyleUserSet:e.timeStyleUserSet,unitsUserSet:e.unitsUserSet,useGroupingUserSet:e.useGroupingUserSet,useIntlSymbolUserSet:e.useIntlSymbolUserSet,useScientificUserSet:e.useScientificUserSet,useTrailingSignUserSet:e.useTrailingSignUserSet,useTrailingSymbolUserSet:e.useTrailingSymbolUserSet,whenAnyErrorUserSet:e.whenAnyErrorUserSet,whenDivideZeroUserSet:e.whenDivideZeroUserSet,whenMissingUserSet:e.whenMissingUserSet,whenNegativeUserSet:e.whenNegativeUserSet,whenNotApplicableUserSet:e.whenNotApplicableUserSet,whenNumericOverflowUserSet:e.whenNumericOverflowUserSet,whenSecurityErrorUserSet:e.whenSecurityErrorUserSet,whenZeroUserSet:e.whenZeroUserSet,type:e.type,calendar:e.calendar,clock:e.clock,currencyCode:e.currencyCode,currencySymbol:e.currencySymbol,dateSeparator:e.dateSeparator,dateStyle:e.dateStyle,decimalDelimiter:e.decimalDelimiter,decimalSize:e.decimalSize,digitShaping:e.digitShaping,displayOrder:e.displayOrder,exponentSize:e.exponentSize,exponentSymbol:e.exponentSymbol,groupDelimiter:e.groupDelimiter,groupSecondarySize:e.groupSecondarySize,groupSize:e.groupSize,intlCurrencySymbol:e.intlCurrencySymbol,maxDigits:e.maxDigits,minDigits:e.minDigits,paddingCharacter:e.paddingCharacter,pattern:e.pattern,percentScale:e.percentScale,percentSymbol:e.percentSymbol,scale:e.scale,showAmPm:e.showAmPm,showDays:e.showDays,showEra:e.showEra,showHours:e.showHours,showMilliseconds:e.showMilliseconds,showMinutes:e.showMinutes,showMonths:e.showMonths,showSeconds:e.showSeconds,showTimeZone:e.showTimeZone,showWeekday:e.showWeekday,showYears:e.showYears,sign:e.sign,timeSeparator:e.timeSeparator,timeStyle:e.timeStyle,units:e.units,useGrouping:e.useGrouping,useIntlSymbol:e.useIntlSymbol,useScientific:e.useScientific,useTrailingSign:e.useTrailingSign,useTrailingSymbol:e.useTrailingSymbol,whenAnyError:e.whenAnyError,whenDivideZero:e.whenDivideZero,whenMissing:e.whenMissing,whenNegative:e.whenNegative,whenNotApplicable:e.whenNotApplicable,whenNumericOverflow:e.whenNumericOverflow,whenSecurityError:e.whenSecurityError,whenZero:e.whenZero,setFormatProperty:e.setFormatProperty,setDefaultFormatProperties:e.setDefaultFormatProperties}})(o=Object(a.observer)(o=function(e){function t(){for(var t,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).state={},t._openFlyoutButtonRef=void 0,t._textDir=O.getTextDirPref(),t._getTid=function(e){return Object(p.a)("FormatView",e)},t._getKey=function(e){return"format_"+e},t._getLabel=function(e){return Object(f.getString)(t._getKey(e))},t._getTitle=function(e){return t._getLabel(e)},t._getDescription=function(e){return Object(f.getString)(t._getKey(e)+"_")},t._buildDescription=function(e){return n.a.createElement(s.SVGIcon,{style:{"padding-left":"8px"},size:"small",iconId:m.a.id,ref:function(e){return t._openFlyoutButtonRef=e},onClick:function(){var r;return t.setState(((r={})[Object(E.getPropertyName)(e)+"_descriptionActive"]=!0,r))},"data-tid":t._getTid(Object(E.getPropertyName)(e)+"_description_open")},t.state[Object(E.getPropertyName)(e)+"_descriptionActive"]&&n.a.createElement(s.Flyout,{candidatePlacement:["right"],placement:"right",padding:"default",onClose:function(){var r;return t.setState(((r={})[Object(E.getPropertyName)(e)+"_descriptionActive"]=!1,r))},title:t._getLabel(Object(E.getPropertyName)(e)),textContent:t._getDescription(Object(E.getPropertyName)(e)),showX:!0,"data-tid":t._getTid(Object(E.getPropertyName)(e)+"_description"),domNodeToAttachTo:Object(c.findDOMNode)(t._openFlyoutButtonRef).parentNode}))},t._buildChange=function(e,r){var o=(r||[e]).some(function(e){var r=Object(E.getPropertyName)(e);return!!t.props[r+"UserSet"]&&t.props[r+"UserSet"]!==t.props[r+"Placeholder"]});return n.a.createElement(s.SVGIcon,{"data-tid":t._getTid(Object(E.getPropertyName)(e)+"_change"),height:6,width:6,visibility:o?"visible":"hidden",iconId:d.a.id,className:"bi-mui-formatView__communication1"})},t._getValue=function(e){var r=Object(E.getPropertyName)(e),o=t.props[r+"UserSet"];if(void 0!==o)return o===D.FORMAT_DEFAULTVALUE||""===o?"":o;var i=t.props[r+"Placeholder"];return i===D.FORMAT_DEFAULTVALUE||i===D.FORMAT_INDETERMINATE?"":i},t._getPlaceholder=function(e){var r=Object(E.getPropertyName)(e);return t.props[r+"Placeholder"]===D.FORMAT_INDETERMINATE?t._getLabel("_indeterminate"):Object(E.getPropertyDefault)(e)},t._buildDropDown=function(e){var r=Object(E.getPropertyName)(e),o=Object(E.getPropertyOptions)(e);return n.a.createElement(s.SelectSection,{validationNode:t._buildDescription(e),label:t._getLabel(r),labelSize:"medium",displayLabel:t._getPlaceholder(e),options:o,selected:t._getValue(e),onChange:function(e){return t.props.setFormatProperty(r,e)},disabled:t.props.isReadOnly,"data-tid":t._getTid(r),title:t._getTitle(r),"aria-label":t._getTitle(r),textDir:t._textDir,changeIndicatorNode:t._buildChange(e)})},t._buildDropDownTypeInNumber=function(e){var r=Object(E.getPropertyName)(e),o=Object(E.getPropertyOptions)(e);return n.a.createElement(s.ComboboxSection,{validationNode:t._buildDescription(e),label:t._getLabel(r),labelSize:"medium",type:"numeric",scale:Object(E.getPropertyScale)(e),min:Object(E.getPropertyMin)(e),max:Object(E.getPropertyMax)(e),disableFilter:!0,allowEmpty:!0,placeholder:t._getPlaceholder(e),startingValues:o,selectedValue:{label:t._getValue(e)},onChange:function(e){return t.props.setFormatProperty(r,e.value)},onTextChange:function(e){return t.props.setFormatProperty(r,e)},disabled:t.props.isReadOnly,"data-tid":t._getTid(r),title:t._getTitle(r),"aria-label":t._getTitle(r),changeIndicatorNode:t._buildChange(e)})},t._buildDropDownTypeInText=function(e){var r=Object(E.getPropertyName)(e),o=Object(E.getPropertyOptions)(e);return n.a.createElement(s.ComboboxSection,{validationNode:t._buildDescription(e),label:t._getLabel(r),labelSize:"medium",type:"text",disableFilter:!0,allowEmpty:!0,placeholder:t._getPlaceholder(e),startingValues:o,selectedValue:{label:t._getValue(e)},onChange:function(e){return t.props.setFormatProperty(r,e.value)},onTextChange:function(e){return t.props.setFormatProperty(r,e)},disabled:t.props.isReadOnly,"data-tid":t._getTid(r),title:t._getTitle(r),"aria-label":t._getTitle(r),changeIndicatorNode:t._buildChange(e)})},t._buildNumericInput=function(e){var r=Object(E.getPropertyName)(e);return n.a.createElement(s.ComboboxSection,{validationNode:t._buildDescription(e),label:t._getLabel(r),labelSize:"medium",type:"numeric",scale:Object(E.getPropertyScale)(e),min:Object(E.getPropertyMin)(e),max:Object(E.getPropertyMax)(e),disableFilter:!0,allowEmpty:!0,placeholder:t._getPlaceholder(e),startingValues:[],selectedValue:{label:t._getValue(e)},onChange:function(e){return t.props.setFormatProperty(r,e.value)},onTextChange:function(e){return t.props.setFormatProperty(r,e)},disabled:t.props.isReadOnly,"data-tid":t._getTid(r),title:t._getTitle(r),"aria-label":t._getTitle(r),changeIndicatorNode:t._buildChange(e)})},t._buildTextInput=function(e){var r=Object(E.getPropertyName)(e);return n.a.createElement(s.TextInputSection,{validationNode:t._buildDescription(e),label:t._getLabel(r),labelSize:"medium",placeholder:t._getPlaceholder(e),value:t._getValue(e),onChange:function(e){return t.props.setFormatProperty(r,e)},disabled:t.props.isReadOnly,"data-tid":t._getTid(r),title:t._getTitle(r),"aria-label":t._getTitle(r),textDir:t._textDir,changeIndicatorNode:t._buildChange(e)})},t.FORMAT_CALENDAR=function(){return t._buildDropDown(D.CALENDAR)},t.FORMAT_CLOCK=function(){return t._buildDropDown(D.CLOCK)},t.FORMAT_CURRENCYCODE=function(){return t._buildDropDown(D.CURRENCYCODE)},t.FORMAT_CURRENCYSYMBOL=function(){return t._buildTextInput(D.CURRENCYSYMBOL)},t.FORMAT_DATESEPARATOR=function(){return t._buildDropDownTypeInText(D.DATESEPARATOR)},t.FORMAT_DATESTYLE=function(){return t._buildDropDown(D.DATESTYLE)},t.FORMAT_DECIMALDELIMITER=function(){return t._buildDropDownTypeInText(D.DECIMALDELIMITER)},t.FORMAT_DECIMALSIZE=function(){return t._buildDropDownTypeInNumber(D.DECIMALSIZE)},t.FORMAT_DIGITSHAPING=function(){return t._buildDropDown(D.DIGITSHAPING)},t.FORMAT_DIGITSHAPING_STRING=function(){return t._buildDropDown(D.DIGITSHAPING_STRING)},t.FORMAT_DISPLAYORDER=function(){return t._buildDropDown(D.DISPLAYORDER)},t.FORMAT_EXPONENTSIZE=function(){return t._buildNumericInput(D.EXPONENTSIZE)},t.FORMAT_EXPONENTSYMBOL=function(){return t._buildDropDownTypeInText(D.EXPONENTSYMBOL)},t.FORMAT_GROUPDELIMITER=function(){return t._buildDropDownTypeInText(D.GROUPDELIMITER)},t.FORMAT_GROUPSECONDARYSIZE=function(){return t._buildDropDownTypeInNumber(D.GROUPSECONDARYSIZE)},t.FORMAT_GROUPSIZE=function(){return t._buildDropDownTypeInNumber(D.GROUPSIZE)},t.FORMAT_INTLCURRENCYSYMBOL=function(){return t._buildTextInput(D.INTLCURRENCYSYMBOL)},t.FORMAT_MAXDIGITS=function(){return t._buildDropDownTypeInNumber(D.MAXDIGITS)},t.FORMAT_MINDIGITS=function(){return t._buildDropDownTypeInNumber(D.MINDIGITS)},t.FORMAT_PADDINGCHARACTER=function(){return t._buildTextInput(D.PADDINGCHARACTER)},t.FORMAT_PATTERN=function(){return t._buildTextInput(D.PATTERN)},t.FORMAT_PERCENTSCALE=function(){return t._buildDropDown(D.PERCENTSCALE)},t.FORMAT_PERCENTSYMBOL=function(){return t._buildDropDown(D.PERCENTSYMBOL)},t.FORMAT_SCALE=function(){return t._buildDropDownTypeInNumber(D.SCALE)},t.FORMAT_SHOWAMPM=function(){return t._buildDropDown(D.SHOWAMPM)},t.FORMAT_SHOWDAYS=function(){return t._buildDropDown(D.SHOWDAYS)},t.FORMAT_SHOWERA=function(){return t._buildDropDown(D.SHOWERA)},t.FORMAT_SHOWHOURS=function(){return t._buildDropDown(D.SHOWHOURS)},t.FORMAT_SHOWMILLISECONDS=function(){return t._buildDropDown(D.SHOWMILLISECONDS)},t.FORMAT_SHOWMINUTES=function(){return t._buildDropDown(D.SHOWMINUTES)},t.FORMAT_SHOWMONTHS=function(){return t._buildDropDown(D.SHOWMONTHS)},t.FORMAT_SHOWMONTHS_INTERVAL=function(){return t._buildDropDown(D.SHOWMONTHS_INTERVAL)},t.FORMAT_SHOWSECONDS=function(){return t._buildDropDown(D.SHOWSECONDS)},t.FORMAT_SHOWTIMEZONE=function(){return t._buildDropDown(D.SHOWTIMEZONE)},t.FORMAT_SHOWWEEKDAY=function(){return t._buildDropDown(D.SHOWWEEKDAY)},t.FORMAT_SHOWYEARS=function(){return t._buildDropDown(D.SHOWYEARS)},t.FORMAT_SHOWYEARS_INTERVAL=function(){return t._buildDropDown(D.SHOWYEARS_INTERVAL)},t.FORMAT_SIGN=function(){return t._buildDropDownTypeInText(D.SIGN)},t.FORMAT_TIMESEPARATOR=function(){return t._buildDropDownTypeInText(D.TIMESEPARATOR)},t.FORMAT_TIMESTYLE=function(){return t._buildDropDown(D.TIMESTYLE)},t.FORMAT_UNITS=function(){return t._buildDropDown(D.UNITS)},t.FORMAT_USEGROUPING=function(){return t._buildDropDown(D.USEGROUPING)},t.FORMAT_USEINTLSYMBOL=function(){return t._buildDropDown(D.USEINTLSYMBOL)},t.FORMAT_USESCIENTIFIC=function(){return t._buildDropDown(D.USESCIENTIFIC)},t.FORMAT_USETRAILINGSIGN=function(){return t._buildDropDown(D.USETRAILINGSIGN)},t.FORMAT_USETRAILINGSYMBOL=function(){return t._buildDropDown(D.USETRAILINGSYMBOL)},t.FORMAT_WHENANYERROR=function(){return t._buildTextInput(D.WHENANYERROR)},t.FORMAT_WHENDIVIDEZERO=function(){return t._buildTextInput(D.WHENDIVIDEZERO)},t.FORMAT_WHENMISSING=function(){return t._buildTextInput(D.WHENMISSING)},t.FORMAT_WHENNEGATIVE=function(){return t._buildTextInput(D.WHENNEGATIVE)},t.FORMAT_WHENNOTAPPLICABLE=function(){return t._buildTextInput(D.WHENNOTAPPLICABLE)},t.FORMAT_WHENNUMERICOVERFLOW=function(){return t._buildTextInput(D.WHENNUMERICOVERFLOW)},t.FORMAT_WHENSECURITYERROR=function(){return t._buildTextInput(D.WHENSECURITYERROR)},t.FORMAT_WHENZERO=function(){return t._buildTextInput(D.WHENZERO)},t._formatType=function(){var e=D.TYPE,r=Object(E.getPropertyName)(e);return n.a.createElement(s.Container,{style:{paddingTop:"16px",paddingBottom:"16px"}},n.a.createElement(s.SelectSection,{className:"bi-mui-formatView__formatType",label:t._getLabel("_"+r),labelSize:"medium",placeholder:t._getPlaceholder(e),options:Object(E.getPropertyOptions)(e),selected:t._getValue(e)||D.FORMAT_DEFAULTVALUE,onChange:function(e){return t.props.setFormatProperty(r,e)},disabled:t.props.isReadOnly,"data-tid":t._getTid(r),title:t._getTitle("_"+r),"aria-label":t._getTitle("_"+r),changeIndicatorNode:t._buildChange(e)}))},t._selectionLabel=function(){return n.a.createElement(s.FlexLayout,{direction:"row",style:{paddingTop:"16px",paddingBottom:"16px"}},n.a.createElement(s.Label,{label:t._getLabel("_selectionLabel"),style:{fontWeight:"bold"}}),n.a.createElement(s.FlexItem,{grow:!0,gutter:[0,0,0,1]},n.a.createElement(s.TruncatedText,{value:t.props.selectionValue,"data-tid":t._getTid("selection"),textDir:t._textDir})))},t._renderPreview=function(){var e=t.props.updatedFormatGroupList,r=D.TYPE;return n.a.createElement(l.c,{locale:"en",defaultLocale:"en"},n.a.createElement(_.a,{"data-tid":Object(p.a)("sample"),value:M[t._getValue(r)],format:[{formatGroup:e[0]}]}))},t._properties=function(){return t.props.type===D.FORMAT_INDETERMINATE?n.a.createElement(s.FlexItem,{grow:!0,textAlign:"center",alignSelf:"center"},n.a.createElement(s.Container,{"data-tid":t._getTid("textIndeterminate")},n.a.createElement(w.EmptyState,{icon:h.a,header:Object(f.getString)("format__typeIndeterminate"),body:Object(f.getString)("format__typeSelect")}))):t.props.type===D.FORMAT_DEFAULTVALUE?n.a.createElement(s.FlexItem,{grow:!0,textAlign:"center",alignSelf:"center"},n.a.createElement(s.Container,{"data-tid":t._getTid("textDefault")},n.a.createElement(w.EmptyState,{icon:h.a,header:Object(f.getString)("format__typeDefault"),body:Object(f.getString)("format__typeSelect")}))):(t.props.sectionMode===D.SECTION_BASIC||t.props.sectionProperties.length||(t.props.format.sectionMode=D.SECTION_ERROR),t.props.sectionProperties.length?n.a.createElement(s.FlexItem,{grow:!0,overflow:"auto",key:t.props.sectionProperties.join(),style:{padding:"16px","padding-top":Object(U.a)(T.FORMAT_PREVIEW_FLAG)?"8px":"16px"}},Object(U.a)(T.FORMAT_PREVIEW_FLAG)&&n.a.createElement(s.FlexLayout,{className:"bi-mui-formatView__formatPreview",height:40,direction:"row"},n.a.createElement(s.FlexItem,null,n.a.createElement(s.Label,{className:"bi-mui-formatView__sample",label:t._getLabel("_sample")})),n.a.createElement(s.FlexItem,{grow:!0,className:"bi-mui-formatView__preview"},n.a.createElement(s.Label,{label:t._renderPreview()}))),n.a.createElement(s.FlexLayout,{direction:"column",style:Object(U.a)(T.FORMAT_PREVIEW_FLAG)?{paddingTop:"16px"}:{}},t.props.sectionProperties.map(function(e){return t[e]()}))):n.a.createElement(s.FlexItem,{grow:!0,textAlign:"center",alignSelf:"center"},n.a.createElement(s.Container,{"data-tid":t._getTid("textNoBasicProps")},n.a.createElement(w.EmptyState,{header:Object(f.getString)("format__noBasicPropertiesToShow"),body:Object(f.getString)("format__clickAdvancedOptions")}))))},t._advancedButton=function(){return t.props.isAdvancedModeAllowed&&n.a.createElement(s.Button,{onClick:function(){return t.props.format.advancedMode=!t.props.advancedMode},label:t._getLabel(t.props.advancedMode?"_optionsBasic":"_optionsAdvanced"),variant:"inline",intent:"primary","data-tid":t._getTid("advancedOption")})},t._options=function(){return n.a.createElement(s.FlexLayout,{style:{paddingTop:"16px"}},n.a.createElement(s.FlexItem,{grow:!0},t._advancedButton()),n.a.createElement(s.Tooltip,{title:t._getLabel("_setDefaultsTooltip")},n.a.createElement(s.Button,{onClick:t.props.setDefaultFormatProperties,icon:S.a.id,label:t._getLabel("_setDefaults"),disabled:!t.props.haveNonDefaultProperties||t.props.isReadOnly,variant:"inline",intent:"primary","data-tid":t._getTid("setDefaults")})))},t._sections=function(){return Object(E.getFormatSections)().options.map(function(e){return e.value}).filter(function(e){return e!==D.SECTION_BASIC&&!!Object(E.getFormatSectionProperties)(e,t.props.type).length})},t._separator=function(e){return n.a.createElement(s.Separator,{hMargin:0,className:"bi-mui-formatView__separator",orientation:e})},t._itemRenderer=function(e,r){var o=A({},r),i=t._sections()[e];return n.a.createElement(s.Container,null,!!e&&t._separator(),n.a.createElement(s.ListItem,A({height:40},o),n.a.createElement(s.FlexItem,{grow:!0},n.a.createElement(s.Label,{label:t._getLabel("_section_"+i),"data-tid":t._getTid(Object(E.getPropertyName)(i)+"_change")})),n.a.createElement(s.HSpacer,{size:.5}),t._buildChange(i,Object(E.getFormatSectionProperties)(i,t.props.type))))},t}return function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(t,e),t.prototype.render=function(){var e=this;return n.a.createElement(s.Container,{"data-tid":this._getTid()},this._selectionLabel(),this._separator(),this._formatType(),n.a.createElement(s.FlexLayout,{direction:"row",className:"bi-mui-formatView__body",height:"350px"},this.props.advancedMode&&this.props.type&&this.props.type!==D.FORMAT_DEFAULTVALUE&&n.a.createElement(s.Container,{width:130},n.a.createElement(s.List,{length:this._sections().length,onSelectionChange:function(t){return e.props.format.sectionMode=e._sections()[t.index]},itemRenderer:this._itemRenderer,selectionMode:"single",isSelected:function(t){return e.props.sectionMode===e._sections()[t]}})),this.props.advancedMode&&this.props.type&&this.props.type!==D.FORMAT_DEFAULTVALUE&&this._separator("vertical"),this._properties()),this._options())},t}(i.Component))||o)||o},1756:function(e,t,r){"undefined"!=typeof self&&self,e.exports=function(e){return webpackJsonPBaGraphics([32],{"3865314c5959606874d4":function(t,r){t.exports=e},"464380ded53ff547e25a":function(e,t,r){"use strict";var o=r("9689a9c94ae38b47fa2c"),i=r.n(o),n=r("9ce58a7deea14f49ef01"),l=r.n(n),a=new i.a({id:"select-data-format_128_v7",use:"select-data-format_128_v7-usage",viewBox:"0 0 200 200",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" id="select-data-format_128_v7"><circle class="ba-graphics-neutral-white4" cx="100" cy="100" r="100" /><path class="ba-graphics-white" d="M14.97 170.08h183.04" /><path class="ba-graphics-gray60" d="M198 172.08H15a2 2 0 110-4h183a2 2 0 010 4z" /><path class="ba-graphics-white" d="M2 170.08h4.97" /><path class="ba-graphics-gray60" d="M7 172.08H2a2 2 0 010-4h5a2 2 0 010 4zM75.1 37.41A2.44 2.44 0 0077.54 35a.61.61 0 011.22 0 2.44 2.44 0 002.44 2.44.61.61 0 110 1.22 2.44 2.44 0 00-2.44 2.44.61.61 0 01-1.22 0 2.44 2.44 0 00-2.44-2.44.61.61 0 010-1.22z" /><circle class="ba-graphics-gray60" cx="43.66" cy="39.61" r="2" /><circle class="ba-graphics-gray60" cx="114.6" cy="21.66" r="2" /><path class="ba-graphics-gray60" d="M169.79 53.68A2.22 2.22 0 01172 55.9v94.57a2.21 2.21 0 01-2.21 2.21H30.21a2.21 2.21 0 01-2.21-2.21V55.9a2.22 2.22 0 012.21-2.22h139.58m0-4H30.21A6.21 6.21 0 0024 55.9v94.57a6.21 6.21 0 006.21 6.21h139.58a6.21 6.21 0 006.21-6.21V55.9a6.21 6.21 0 00-6.21-6.22z" /><path class="ba-graphics-gray40" d="M176 66.58V55.87a6.25 6.25 0 00-6.21-6.29H30.21A6.25 6.25 0 0024 55.87v10.71z" /><circle class="ba-graphics-gray60" cx="34.12" cy="59.99" r="2" /><circle class="ba-graphics-gray60" cx="41.25" cy="59.99" r="2" /><circle class="ba-graphics-gray60" cx="48.39" cy="59.99" r="2" /><path class="ba-graphics-gray60" d="M169.79 53.65a2.21 2.21 0 012.21 2.21v10.59H28V55.86a2.21 2.21 0 012.21-2.21h139.58m0-4H30.21A6.21 6.21 0 0024 55.86v14.59h152V55.86a6.21 6.21 0 00-6.21-6.21z" /><rect class="ba-graphics-white" x="39.6" y="85.76" width="53.69" height="53.84" rx="2" transform="rotate(.06 66.905 114.557)" /><path class="ba-graphics-gray60" d="M43.63 89.73h45.69v45.85H43.63l.05-45.85m-2-4a2 2 0 00-2 2l-.05 49.85a2 2 0 002 2h49.69a2 2 0 002-2V87.73a2 2 0 00-2-2H41.63z" /><path class="ba-graphics-white" d="M66.51 126.37V99.41" /><path class="ba-graphics-gray60" d="M66.51 128.37a2 2 0 01-2-2v-27a2 2 0 014 0v27a2 2 0 01-2 2z" /><path class="ba-graphics-gray60" d="M66.52 125.34c-4.65 0-8.43-3.25-8.43-7.25a2 2 0 014 0c0 1.76 2 3.25 4.43 3.25s4.48-1.49 4.48-3.25c0-.87 0-3.2-4.46-3.25-5.28-.06-8.42-2.76-8.42-7.24 0-4 3.78-7.25 8.43-7.25s8.43 3.25 8.43 7.25a2 2 0 01-4 0c0-1.76-2-3.25-4.43-3.25s-4.43 1.49-4.43 3.25c0 .87 0 3.19 4.46 3.24 5.27.06 8.42 2.77 8.42 7.25 0 4-3.83 7.25-8.48 7.25z" /><rect class="ba-graphics-white" x="107.29" y="85.76" width="53.69" height="53.84" rx="2" /><path class="ba-graphics-gray60" d="M111.3 89.74h45.69v45.85H111.3V89.74m-2-4a2 2 0 00-2 2v49.84a2 2 0 002 2H159a2 2 0 002-2V87.74a2 2 0 00-2-2h-49.7z" /><path class="ba-graphics-white" d="M123.42 123.76l21.35-21.36" /><path class="ba-graphics-gray60" d="M123.42 125.76a2 2 0 01-1.41-3.42L143.36 101a2 2 0 012.83 2.83l-21.35 21.35a2 2 0 01-1.42.58zm3.67-14.35a5.92 5.92 0 115.91-5.91 5.92 5.92 0 01-5.91 5.91zm0-7.83a1.92 1.92 0 101.91 1.92 1.92 1.92 0 00-1.91-1.92zm14.13 23.34a5.92 5.92 0 115.91-5.92 5.92 5.92 0 01-5.91 5.92zm0-7.83a1.92 1.92 0 101.91 1.91 1.92 1.92 0 00-1.91-1.91z" /><rect class="ba-graphics-gray80" style="opacity:.1" x="124" y="47" width="34" height="34" rx="2" /><rect class="ba-graphics-gray60" x="124" y="43" width="34" height="34" rx="2" /><path class="ba-graphics-white" d="M138.47 67.7a2 2 0 01-1.41-.59l-5.22-5.22a2 2 0 012.83-2.83l3.8 3.81 9.34-9.34a2 2 0 012.82 2.83l-10.75 10.75a2 2 0 01-1.41.59z" /></symbol>'});l.a.add(a),t.a=a},"7f2eac18932209d7e079":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r("3865314c5959606874d4"),i=(r.n(o),r("464380ded53ff547e25a"));t.default=i.a}},["7f2eac18932209d7e079"])}(r(137))},1757:function(e,t,r){var o=r(1758);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!0,transform:void 0};r(36)(o,i);o.locals&&(e.exports=o.locals)},1758:function(e,t,r){(e.exports=r(32)(void 0)).push([e.i,".bi-mui-formatView__separator.bi-mui-formatView__separator{border-color:#eaeaea}.bi-mui-formatView__body{border:1px solid #eaeaea}.bi-mui-formatView__communication1{fill:#00aa5e}.bi-mui-formatView__formatType .ba-common-propertiesPane__labelContent .ba-common-label{font-weight:700}.bi-mui-formatView__formatPreview{border-bottom:1px solid #eaeaea}.bi-mui-formatView__formatPreview .ba-common-label{padding:8px}.bi-mui-formatView__sample{font-weight:700;height:32px;margin-right:8px}.bi-mui-formatView__preview{background-color:#eaeaea;font-weight:400;height:32px}",""])},710:function(e,t,r){"use strict";r.r(t);var o=r(1753);t.default={"components/FormatDialog":o}}}]);
- //# sourceMappingURL=format.js.map
|