{"version":3,"sources":["webpack:///./src/modules/project/components/loads/components/formBlocks/AdvancedSettings.vue","webpack:///./src/plugins/mixins/projectAdvMixin.ts","webpack:///./src/modules/project/components/loads/components/formBlocks/AdvancedSettings.vue?9231","webpack:///./src/modules/project/components/loads/components/formBlocks/AdvancedSettings.vue?98b8","webpack:///./src/modules/project/components/loads/components/formBlocks/AdvancedSettings.vue?0475","webpack:///./src/modules/project/components/loads/components/formBlocks/AdvancedSettings.vue?b76d"],"names":["render","_vm","this","_c","_self","_setupProxy","attrs","staticClass","model","value","expand","callback","$$v","expression","scopedSlots","_u","key","fn","advSettings","title","label","comment","_v","_s","proxy","_b","directives","name","rawName","patron","isOff","$set","style","slot","isVoltageDipLock","isFeatureAccessible","project","idCountry","necRequired","startingPower","_n","runningPF","formatToN2","rules","on","$event","manualRunningPF","formatToNumber","target","startingPF","manualStartingPF","numberOfCompressor","numberOfCompressors","compressors","tonHeating","heatingKWperTon","motorEfficiency","formatFactorToPercentN2","undefined","modelLoadWhithEfficiency","efficiency","manualEfficiency","formatPercentN2StringToFactor","userIthd","type","TypeCharge","FirePump","Elevator","Motor","AirConditioner","modelChargeMotorGeneric","isVFD","ithd","styleUser","loadFactor","formatFactorToPercentN0","modelLoadWithLoadFactor","formatPercentN0StringToFactor","vFDSkVaLimit","isRAMP","vdfSKVA","vFDEfficiency","vdfEfficiency","manualVfdEfficiency","sEER","seer","harmonics","_e","staticRenderFns","Vue","extend","data","$translator","language","modules","projectMenu","advancedSettings","titleContent","loadTurn","loadTurnContent","dense","outlined","class","necRequiredContent","startingPowerContent","runningPFContent","v","startingPFContent","loadFactorContent","appendIcon","motorRate","motorRateContent","compressorNb","compressorNbContent","heatingKW","heatingKWContent","seerContent","ithdContent","vfdLimit","vfdLimitContent","vfdEff","vfdEffContent","efficiencyContent","mixins","referentielsMixin","projectAdvMixin","loadsInteractionsMixin","styleFieldsMixin","components","Tooltip","Harmonics","props","ChargeViewModel","ProjectModel","computed","modelLoadWithHarmonics","get","_this$modelLoadWithHa","_this$modelLoadWithHa2","_this$modelLoadWithHa3","_this$modelLoadWithHa4","toFixed","set","parseFloat","retour","methods","isSSCL","_this$referentiels$mo","_this$referentiels$mo2","referentiels","motorStartingMethods","find","x","id","idMotorStartingMethod","_this$referentiels$mo3","_motorStartingMethod$","motorStartingMethod","_this$referentiels$mo4","_motorStartingMethod$2","isSoftStart","watch","val","$nextTick","Number","isNaN","manualRpf","manualSpf","m","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,UAAU,CAACG,MAAM,CAAC,KAAO,sBAAsB,CAACH,EAAG,qBAAqB,CAACI,YAAY,OAAOD,MAAM,CAAC,KAAO,GAAG,KAAO,IAAIE,MAAM,CAACC,MAAOR,EAAIS,OAAQC,SAAS,SAAUC,GAAMX,EAAIS,OAAOE,GAAKC,WAAW,WAAW,CAACV,EAAG,oBAAoB,CAACA,EAAG,2BAA2B,CAACI,YAAY,mBAAmBD,MAAM,CAAC,MAAQ,WAAWQ,YAAYb,EAAIc,GAAG,CAAC,CAACC,IAAI,UAAUC,GAAG,WAAW,MAAO,CAACd,EAAG,OAAO,CAACA,EAAG,UAAU,CAACG,MAAM,CAAC,KAAOL,EAAIiB,YAAYC,MAAMC,MAAM,QAAUnB,EAAIiB,YAAYC,MAAME,QAAQ,UAAY,YAAY,GAAGpB,EAAIqB,GAAG,IAAIrB,EAAIsB,GAAGtB,EAAIiB,YAAYC,MAAMC,OAAO,KAAKjB,EAAG,cAAcqB,OAAM,GAAM,CAACR,IAAI,UAAUC,GAAG,WAAW,MAAO,CAACd,EAAG,SAAS,CAACG,MAAM,CAAC,MAAQ,UAAU,CAACL,EAAIqB,GAAG,kCAAkCE,OAAM,OAAUrB,EAAG,4BAA4B,CAACI,YAAY,QAAQ,CAACJ,EAAG,QAAQ,CAACI,YAAY,OAAOD,MAAM,CAAC,QAAU,kBA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CAAuCwF,GACrChK,KAAKiK,UAAU,KACTjK,KAAKoE,0BACH4F,EAAM,MAAKhK,KAAKoE,wBAAwBQ,aAAe,KACvDoF,EAAM,MAAKhK,KAAKoE,wBAAwBQ,aAAe,SAIjE,wCAAwCoF,GACtChK,KAAKiK,UAAU,KACTjK,KAAKoE,0BACH4F,EAAM,KAAKhK,KAAKoE,wBAAwBW,cAAgB,IACxDiF,EAAM,MAAMhK,KAAKoE,wBAAwBW,cAAgB,SAInE,aAAaiF,GACXhK,KAAKiK,UAAU,KACb,MAAMK,EAAItK,KAAKM,MACXgK,IACEN,EAAM,IAAGM,EAAEpF,KAAO,GAClB8E,EAAM,KAAIM,EAAEpF,KAAO,WCjOoc,I,wBCQjeqF,EAAY,eACd,EACAzK,EACAwF,GACA,EACA,KACA,WACA,MAIa,aAAAiF,E,oECnBf","file":"js/chunk-51797426.46b55576.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('section',{attrs:{\"name\":\"Advanced Settings\"}},[_c('v-expansion-panels',{staticClass:\"mb-2\",attrs:{\"flat\":\"\",\"tile\":\"\"},model:{value:(_vm.expand),callback:function ($$v) {_vm.expand=$$v},expression:\"expand\"}},[_c('v-expansion-panel',[_c('v-expansion-panel-header',{staticClass:\"white--text px-3\",attrs:{\"color\":\"primary\"},scopedSlots:_vm._u([{key:\"default\",fn:function(){return [_c('span',[_c('Tooltip',{attrs:{\"text\":_vm.advSettings.title.label,\"content\":_vm.advSettings.title.comment,\"iconColor\":\"white\"}})],1),_vm._v(\" \"+_vm._s(_vm.advSettings.title.label)+\" \"),_c('v-spacer')]},proxy:true},{key:\"actions\",fn:function(){return [_c('v-icon',{attrs:{\"color\":\"white\"}},[_vm._v(\"mdi-arrow-down-drop-circle\")])]},proxy:true}])}),_c('v-expansion-panel-content',{staticClass:\"px-2\"},[_c('v-row',{staticClass:\"mt-1\",attrs:{\"justify\":\"space-between\"}},[_c('v-checkbox',_vm._b({directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.patron.isOff),expression:\"patron.isOff\"}],staticClass:\"ma-0 pa-1\",attrs:{\"dense\":\"\",\"hide-details\":\"\",\"label\":_vm.advSettings.isOff.label},model:{value:(_vm.model.isOff),callback:function ($$v) {_vm.$set(_vm.model, \"isOff\", $$v)},expression:\"model.isOff\"}},'v-checkbox',_vm.advSettings.isOff.style,false),[_c('Tooltip',{attrs:{\"slot\":\"prepend\",\"text\":_vm.advSettings.isOff.label,\"content\":_vm.advSettings.isOff.comment},slot:\"prepend\"})],1),_c('v-checkbox',_vm._b({directives:[{name:\"show\",rawName:\"v-show\",value:(\n _vm.patron.isVoltageDipLock &&\n _vm.isFeatureAccessible(_vm.project.idCountry, 'NEC')\n ),expression:\"\\n patron.isVoltageDipLock &&\\n isFeatureAccessible(project.idCountry, 'NEC')\\n \"}],attrs:{\"hide-details\":\"\",\"dense\":\"\",\"label\":_vm.advSettings.necRequired.label},model:{value:(_vm.model.isVoltageDipLock),callback:function ($$v) {_vm.$set(_vm.model, \"isVoltageDipLock\", $$v)},expression:\"model.isVoltageDipLock\"}},'v-checkbox',_vm.advSettings.necRequired.style,false),[_c('Tooltip',{attrs:{\"slot\":\"prepend\",\"text\":_vm.advSettings.necRequired.label,\"content\":_vm.advSettings.necRequired.comment},slot:\"prepend\"})],1),_c('v-text-field',_vm._b({directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.patron.startingPower),expression:\"patron.startingPower\"}],attrs:{\"hide-details\":\"\",\"label\":_vm.advSettings.startingPower.label},model:{value:(_vm.model.startingPower),callback:function ($$v) {_vm.$set(_vm.model, \"startingPower\", _vm._n($$v))},expression:\"model.startingPower\"}},'v-text-field',_vm.advSettings.startingPower.style,false),[_c('Tooltip',{attrs:{\"slot\":\"prepend\",\"text\":_vm.advSettings.startingPower.label,\"content\":_vm.advSettings.startingPower.comment},slot:\"prepend\"})],1),_c('v-text-field',_vm._b({directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.patron.runningPF),expression:\"patron.runningPF\"}],staticClass:\"ma-0 pa-1\",attrs:{\"hide-details\":\"\",\"value\":_vm.formatToN2(_vm.runningPF),\"label\":_vm.advSettings.runningPF.label,\"rules\":_vm.advSettings.runningPF.rules},on:{\"blur\":function($event){_vm.manualRunningPF = _vm.formatToNumber($event.target.value)}}},'v-text-field',_vm.advSettings.runningPF.style,false),[_c('Tooltip',{attrs:{\"slot\":\"prepend\",\"text\":_vm.advSettings.runningPF.label,\"content\":_vm.advSettings.runningPF.comment},slot:\"prepend\"})],1),_c('v-text-field',_vm._b({directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.patron.startingPF),expression:\"patron.startingPF\"}],staticClass:\"ma-0 pa-1\",attrs:{\"hide-details\":\"\",\"value\":_vm.formatToN2(_vm.startingPF),\"label\":_vm.advSettings.startingPF.label,\"rules\":_vm.advSettings.startingPF.rules},on:{\"blur\":function($event){_vm.manualStartingPF = _vm.formatToNumber($event.target.value)}}},'v-text-field',_vm.advSettings.startingPF.style,false),[_c('Tooltip',{attrs:{\"slot\":\"prepend\",\"text\":_vm.advSettings.startingPF.label,\"content\":_vm.advSettings.startingPF.comment},slot:\"prepend\"})],1),_c('v-text-field',_vm._b({directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.patron.numberOfCompressor),expression:\"patron.numberOfCompressor\"}],staticClass:\"ma-0 pa-1\",attrs:{\"hide-details\":\"\",\"value\":_vm.model.numberOfCompressors,\"label\":_vm.advSettings.compressors.label,\"rules\":_vm.advSettings.compressors.rules},on:{\"blur\":function($event){_vm.model.numberOfCompressors = _vm.formatToNumber($event.target.value)}}},'v-text-field',_vm.advSettings.compressors.style,false),[_c('Tooltip',{attrs:{\"slot\":\"prepend\",\"text\":_vm.advSettings.compressors.label,\"content\":_vm.advSettings.compressors.comment},slot:\"prepend\"})],1),_c('v-text-field',_vm._b({directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.patron.tonHeating),expression:\"patron.tonHeating\"}],staticClass:\"ma-0 pa-1\",attrs:{\"hide-details\":\"\",\"value\":_vm.formatToN2(_vm.model.tonHeating),\"label\":_vm.advSettings.heatingKWperTon.label,\"rules\":_vm.advSettings.heatingKWperTon.rules},on:{\"blur\":function($event){_vm.model.tonHeating = _vm.formatToNumber($event.target.value)}}},'v-text-field',_vm.advSettings.heatingKWperTon.style,false),[_c('Tooltip',{attrs:{\"slot\":\"prepend\",\"text\":_vm.advSettings.heatingKWperTon.label,\"content\":_vm.advSettings.heatingKWperTon.comment},slot:\"prepend\"})],1),_c('v-text-field',_vm._b({directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.patron.motorEfficiency),expression:\"patron.motorEfficiency\"}],staticClass:\"ma-0 pa-1\",attrs:{\"hide-details\":\"\",\"value\":_vm.formatFactorToPercentN2(\n _vm.modelLoadWhithEfficiency != undefined\n ? _vm.modelLoadWhithEfficiency.efficiency\n : 0\n ),\"label\":_vm.advSettings.motorEfficiency.label,\"rules\":_vm.advSettings.motorEfficiency.rules},on:{\"blur\":function($event){_vm.manualEfficiency = _vm.formatToNumber(\n _vm.formatPercentN2StringToFactor($event.target.value)\n )}}},'v-text-field',_vm.advSettings.motorEfficiency.style,false),[_c('Tooltip',{attrs:{\"slot\":\"prepend\",\"text\":_vm.advSettings.motorEfficiency.label,\"content\":_vm.advSettings.motorEfficiency.comment},slot:\"prepend\"})],1),(!_vm.model.userIthd)?_c('v-text-field',_vm._b({directives:[{name:\"show\",rawName:\"v-show\",value:(\n ((_vm.model.type == _vm.TypeCharge.FirePump ||\n _vm.model.type == _vm.TypeCharge.Elevator ||\n _vm.model.type == _vm.TypeCharge.Motor ||\n _vm.model.type == _vm.TypeCharge.AirConditioner) &&\n _vm.modelChargeMotorGeneric != undefined &&\n _vm.isVFD(_vm.modelChargeMotorGeneric)) ||\n (_vm.model.type != _vm.TypeCharge.FirePump &&\n _vm.model.type != _vm.TypeCharge.Elevator &&\n _vm.model.type != _vm.TypeCharge.Motor &&\n _vm.model.type != _vm.TypeCharge.AirConditioner &&\n _vm.patron.ithd)\n ),expression:\"\\n ((model.type == TypeCharge.FirePump ||\\n model.type == TypeCharge.Elevator ||\\n model.type == TypeCharge.Motor ||\\n model.type == TypeCharge.AirConditioner) &&\\n modelChargeMotorGeneric != undefined &&\\n isVFD(modelChargeMotorGeneric)) ||\\n (model.type != TypeCharge.FirePump &&\\n model.type != TypeCharge.Elevator &&\\n model.type != TypeCharge.Motor &&\\n model.type != TypeCharge.AirConditioner &&\\n patron.ithd)\\n \"}],staticClass:\"ma-0 pa-1\",attrs:{\"hide-details\":\"\",\"disabled\":\"\",\"label\":_vm.advSettings.ithd.label,\"rules\":_vm.advSettings.ithd.rules},model:{value:(_vm.ithd),callback:function ($$v) {_vm.ithd=_vm._n($$v)},expression:\"ithd\"}},'v-text-field',_vm.advSettings.ithd.style,false),[_c('Tooltip',{attrs:{\"slot\":\"prepend\",\"text\":_vm.advSettings.ithd.label,\"content\":_vm.advSettings.ithd.comment},slot:\"prepend\"})],1):_c('v-text-field',_vm._b({directives:[{name:\"show\",rawName:\"v-show\",value:(\n ((_vm.model.type == _vm.TypeCharge.FirePump ||\n _vm.model.type == _vm.TypeCharge.Elevator ||\n _vm.model.type == _vm.TypeCharge.Motor ||\n _vm.model.type == _vm.TypeCharge.AirConditioner) &&\n _vm.modelChargeMotorGeneric != undefined &&\n _vm.isVFD(_vm.modelChargeMotorGeneric)) ||\n (_vm.model.type != _vm.TypeCharge.FirePump &&\n _vm.model.type != _vm.TypeCharge.Elevator &&\n _vm.model.type != _vm.TypeCharge.Motor &&\n _vm.model.type != _vm.TypeCharge.AirConditioner &&\n _vm.patron.ithd)\n ),expression:\"\\n ((model.type == TypeCharge.FirePump ||\\n model.type == TypeCharge.Elevator ||\\n model.type == TypeCharge.Motor ||\\n model.type == TypeCharge.AirConditioner) &&\\n modelChargeMotorGeneric != undefined &&\\n isVFD(modelChargeMotorGeneric)) ||\\n (model.type != TypeCharge.FirePump &&\\n model.type != TypeCharge.Elevator &&\\n model.type != TypeCharge.Motor &&\\n model.type != TypeCharge.AirConditioner &&\\n patron.ithd)\\n \"}],staticClass:\"ma-0 pa-1\",attrs:{\"hide-details\":\"\",\"disabled\":\"\",\"value\":\"User\",\"label\":_vm.advSettings.ithd.label}},'v-text-field',_vm.advSettings.ithd.styleUser,false),[_c('Tooltip',{attrs:{\"slot\":\"prepend\",\"text\":_vm.advSettings.ithd.label,\"content\":_vm.advSettings.ithd.comment},slot:\"prepend\"})],1),_c('v-text-field',_vm._b({directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.patron.loadFactor),expression:\"patron.loadFactor\"}],staticClass:\"ma-0 pa-1\",attrs:{\"hide-details\":\"\",\"value\":_vm.formatFactorToPercentN0(\n _vm.modelLoadWithLoadFactor != undefined\n ? _vm.modelLoadWithLoadFactor.loadFactor\n : 0\n ),\"label\":_vm.advSettings.loadFactor.label,\"rules\":_vm.advSettings.loadFactor.rules},on:{\"blur\":function($event){if (_vm.modelLoadWithLoadFactor != undefined)\n _vm.modelLoadWithLoadFactor.loadFactor = _vm.formatPercentN0StringToFactor(\n $event.target.value\n )}}},'v-text-field',_vm.advSettings.loadFactor.style,false),[_c('Tooltip',{attrs:{\"slot\":\"prepend\",\"text\":_vm.advSettings.loadFactor.label,\"content\":_vm.advSettings.loadFactor.comment},slot:\"prepend\"})],1),_c('v-text-field',_vm._b({directives:[{name:\"show\",rawName:\"v-show\",value:(\n _vm.patron.vFDSkVaLimit &&\n _vm.modelChargeMotorGeneric != undefined &&\n _vm.isVFD(_vm.modelChargeMotorGeneric) &&\n !_vm.isRAMP(_vm.modelChargeMotorGeneric)\n ),expression:\"\\n patron.vFDSkVaLimit &&\\n modelChargeMotorGeneric != undefined &&\\n isVFD(modelChargeMotorGeneric) &&\\n !isRAMP(modelChargeMotorGeneric)\\n \"}],staticClass:\"ma-0 pa-1\",attrs:{\"hide-details\":\"\",\"value\":_vm.formatToN2(\n _vm.modelChargeMotorGeneric != undefined\n ? _vm.modelChargeMotorGeneric.vFDSkVaLimit\n : 0\n ),\"label\":_vm.advSettings.vdfSKVA.label,\"rules\":_vm.advSettings.vdfSKVA.rules},on:{\"blur\":function($event){if (_vm.modelChargeMotorGeneric != undefined)\n _vm.modelChargeMotorGeneric.vFDSkVaLimit = _vm.formatToNumber(\n $event.target.value\n )}}},'v-text-field',_vm.advSettings.vdfSKVA.style,false),[_c('Tooltip',{attrs:{\"slot\":\"prepend\",\"text\":_vm.advSettings.vdfSKVA.label,\"content\":_vm.advSettings.vdfSKVA.comment},slot:\"prepend\"})],1),_c('v-text-field',_vm._b({directives:[{name:\"show\",rawName:\"v-show\",value:(\n _vm.patron.vFDEfficiency &&\n _vm.modelChargeMotorGeneric != undefined &&\n _vm.isVFD(_vm.modelChargeMotorGeneric)\n ),expression:\"\\n patron.vFDEfficiency &&\\n modelChargeMotorGeneric != undefined &&\\n isVFD(modelChargeMotorGeneric)\\n \"}],staticClass:\"ma-0 pa-1\",attrs:{\"hide-details\":\"\",\"value\":_vm.formatFactorToPercentN2(\n _vm.modelChargeMotorGeneric != undefined\n ? _vm.modelChargeMotorGeneric.vFDEfficiency\n : 0\n ),\"label\":_vm.advSettings.vdfEfficiency.label,\"rules\":_vm.advSettings.vdfEfficiency.rules},on:{\"blur\":function($event){_vm.manualVfdEfficiency = _vm.formatToNumber(\n _vm.formatPercentN2StringToFactor($event.target.value)\n )}}},'v-text-field',_vm.advSettings.vdfEfficiency.style,false),[_c('Tooltip',{attrs:{\"slot\":\"prepend\",\"text\":_vm.advSettings.vdfEfficiency.label,\"content\":_vm.advSettings.vdfEfficiency.comment},slot:\"prepend\"})],1),_c('v-text-field',_vm._b({directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.patron.efficiency),expression:\"patron.efficiency\"}],staticClass:\"ma-0 pa-1\",attrs:{\"hide-details\":\"\",\"value\":_vm.formatFactorToPercentN2(\n _vm.modelLoadWhithEfficiency != undefined\n ? _vm.modelLoadWhithEfficiency.efficiency\n : 0\n ),\"label\":_vm.advSettings.efficiency.label,\"rules\":_vm.advSettings.efficiency.rules},on:{\"blur\":function($event){_vm.manualEfficiency = _vm.formatToNumber(\n _vm.formatPercentN2StringToFactor($event.target.value)\n )}}},'v-text-field',_vm.advSettings.efficiency.style,false),[_c('Tooltip',{attrs:{\"slot\":\"prepend\",\"text\":_vm.advSettings.efficiency.label,\"content\":_vm.advSettings.efficiency.comment},slot:\"prepend\"})],1),_c('v-text-field',_vm._b({directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.patron.sEER),expression:\"patron.sEER\"}],staticClass:\"ma-0 pa-1\",attrs:{\"hide-details\":\"\",\"value\":_vm.formatToN2(_vm.model.sEER),\"label\":_vm.advSettings.seer.label,\"rules\":_vm.advSettings.seer.rules},on:{\"blur\":function($event){_vm.model.sEER = _vm.formatToNumber($event.target.value)}}},'v-text-field',_vm.advSettings.seer.style,false),[_c('Tooltip',{attrs:{\"slot\":\"prepend\",\"text\":_vm.advSettings.seer.label,\"content\":_vm.advSettings.seer.comment},slot:\"prepend\"})],1)],1),(\n _vm.patron.harmonics &&\n ((_vm.model.type != _vm.TypeCharge.FirePump &&\n _vm.model.type != _vm.TypeCharge.Motor &&\n _vm.model.type != _vm.TypeCharge.AirConditioner &&\n _vm.model.type != _vm.TypeCharge.Elevator) ||\n (_vm.modelChargeMotorGeneric != undefined &&\n _vm.isVFD(_vm.modelChargeMotorGeneric)))\n )?_c('Harmonics',{model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:\"value\"}}):_vm._e()],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/************************************************************************************************\r\n * Fichier de règles pour le composant du formulaire unifilaire :\r\n * @/src/modules/project/components/loads/components/formBlocks/AdvancedSettings.vue.\r\n * La propriété des traductions est a définir ici également pour les composants.\r\n * ***** Propriétés définies pour chaque objet : *****\r\n * @rules Définition des règles de formulaire à appliquer à chaque champ.\r\n * @label Définition des labels visibles de chaque champ.\r\n * @comment Definition des contenus des tooltips pour chaque champ.\r\n * @style Attribution du style de chaque champ.\r\n * Si l'objet/composant n'a pas de proppriété 'rules' => aucune règle a respecter pour le champ.\r\n/***********************************************************************************************/\r\n\r\nimport Vue from 'vue'\r\n\r\nexport default Vue.extend({\r\n data() {\r\n return {\r\n advSettings: {\r\n title: {\r\n label: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.title,\r\n comment: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.titleContent\r\n },\r\n isOff: {\r\n label: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.loadTurn,\r\n comment: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.loadTurnContent,\r\n style: [\r\n {\r\n dense: true,\r\n outlined: true,\r\n class: 'col-12'\r\n }\r\n ]\r\n },\r\n necRequired: {\r\n label: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.necRequired,\r\n comment: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.necRequiredContent,\r\n style: [\r\n {\r\n dense: true,\r\n outlined: true,\r\n class: 'col-12'\r\n }\r\n ]\r\n },\r\n startingPower: {\r\n label: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.startingPower,\r\n comment: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.startingPowerContent,\r\n style: [\r\n {\r\n type: 'number',\r\n dense: true,\r\n outlined: true,\r\n class: 'col-6'\r\n }\r\n ]\r\n },\r\n runningPF: {\r\n label: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.runningPF,\r\n comment: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.runningPFContent,\r\n style: [\r\n {\r\n type: 'number',\r\n dense: true,\r\n outlined: true,\r\n class: 'col-6'\r\n }\r\n ],\r\n rules: [\r\n (v: number) => v >= 0.01 || 'Minimum value is 0.01',\r\n (v: number) => v <= 1.0 || 'Maximum value is 1.00'\r\n ]\r\n },\r\n startingPF: {\r\n label: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.startingPF,\r\n comment: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.startingPFContent,\r\n style: [\r\n {\r\n type: 'number',\r\n dense: true,\r\n outlined: true,\r\n class: 'col-6'\r\n }\r\n ],\r\n rules: [\r\n (v: number) => v >= 0.01 || 'Minimum value is 0.01',\r\n (v: number) => v <= 1.0 || 'Maximum value is 1.00'\r\n ]\r\n },\r\n loadFactor: {\r\n label: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.loadFactor,\r\n comment: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.loadFactorContent,\r\n style: [\r\n {\r\n type: 'number',\r\n dense: true,\r\n outlined: true,\r\n class: 'col-6',\r\n appendIcon: 'mdi-percent'\r\n }\r\n ],\r\n rules: [\r\n (v: number) => v >= 25 || 'Minimum value is 25%',\r\n (v: number) => v <= 100 || 'Maximum value is 100%'\r\n ]\r\n },\r\n motorEfficiency: {\r\n label: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.motorRate,\r\n comment: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.motorRateContent,\r\n style: [\r\n {\r\n type: 'number',\r\n dense: true,\r\n outlined: true,\r\n class: 'col-6'\r\n }\r\n ],\r\n rules: [\r\n (v: number) => v >= 50 || 'Minimum value is 50%',\r\n (v: number) => v <= 99 || 'Maximum value is 99%'\r\n ]\r\n },\r\n compressors: {\r\n label: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.compressorNb,\r\n comment: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.compressorNbContent,\r\n style: [\r\n {\r\n type: 'number',\r\n dense: true,\r\n outlined: true,\r\n class: 'col-6'\r\n }\r\n ],\r\n rules: [\r\n (v: number) => v >= 1 || 'Minimum value is 1',\r\n (v: number) => v <= 20 || 'Maximum value is 20'\r\n ]\r\n },\r\n heatingKWperTon: {\r\n label: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.heatingKW,\r\n comment: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.heatingKWContent,\r\n style: [\r\n {\r\n type: 'number',\r\n dense: true,\r\n outlined: true,\r\n class: 'col-6'\r\n }\r\n ],\r\n rules: [\r\n (v: number) => v >= 0.1 || 'Minimum value is 0.10',\r\n (v: number) => v <= 5.0 || 'Maximum value is 5.00'\r\n ]\r\n },\r\n seer: {\r\n label: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.seer,\r\n comment: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.seerContent,\r\n style: [\r\n {\r\n type: 'number',\r\n dense: true,\r\n outlined: true,\r\n class: 'col-6'\r\n }\r\n ],\r\n rules: [\r\n (v: number) => v >= 1 || 'Minimum value is 1',\r\n (v: number) => v <= 50 || 'Maximum value is 50'\r\n ]\r\n },\r\n ithd: {\r\n label: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.ithd,\r\n comment: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.ithdContent,\r\n style: [\r\n {\r\n type: 'number',\r\n dense: true,\r\n outlined: true,\r\n class: 'col-6',\r\n appendIcon: 'mdi-percent'\r\n }\r\n ],\r\n styleUser: [\r\n {\r\n dense: true,\r\n outlined: true,\r\n class: 'col-6',\r\n appendIcon: 'mdi-percent'\r\n }\r\n ],\r\n rules: [(v: number) => v >= 0 || 'Minimum value is 0']\r\n },\r\n vdfSKVA: {\r\n label: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.vfdLimit,\r\n comment: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.vfdLimitContent,\r\n style: [\r\n {\r\n type: 'number',\r\n dense: true,\r\n outlined: true,\r\n class: 'col-6',\r\n appendIcon: 'mdi-percent'\r\n }\r\n ],\r\n rules: [\r\n (v: number) => v >= 100 || 'Minimum value is 100%',\r\n (v: number) => v <= 150 || 'Maximum value is 150%'\r\n ]\r\n },\r\n vdfEfficiency: {\r\n label: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.vfdEff,\r\n comment: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.vfdEffContent,\r\n style: [\r\n {\r\n type: 'number',\r\n dense: true,\r\n outlined: true,\r\n class: 'col-6',\r\n appendIcon: 'mdi-percent'\r\n }\r\n ],\r\n rules: [\r\n (v: number) => v >= 70 || 'Minimum value is 70%',\r\n (v: number) => v <= 99 || 'Maximum value is 99%'\r\n ]\r\n },\r\n // Ici\r\n efficiency: {\r\n label: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.efficiency,\r\n comment: this.$translator.language.data.modules.project.projectMenu\r\n .advancedSettings.efficiencyContent,\r\n style: [\r\n {\r\n type: 'number',\r\n dense: true,\r\n outlined: true,\r\n class: 'col-6'\r\n }\r\n ],\r\n rules: [\r\n (v: number) => v >= 50 || 'Minimum value is 50%',\r\n (v: number) => v <= 99 || 'Maximum value is 99%'\r\n ]\r\n }\r\n }\r\n }\r\n }\r\n})\r\n","\r\nimport mixins from 'vue-typed-mixins'\r\nimport {\r\n ChargeViewModel,\r\n PatronFormulaireModel\r\n} from '../../models/chargePatronModel'\r\nimport {\r\n ChargeModel,\r\n ChargeMotorGeneric,\r\n LoadWhithEfficiency,\r\n ChargeAirConditionner,\r\n LoadWithHarmonics,\r\n LoadWithLoadFactor\r\n} from '../../models/chargeModel'\r\nimport TypeCharge from '../../models/typeCharge'\r\nimport Collection from '@/global/dejaVue/collection'\r\nimport MotorStartingMethod from '@/domain/globals/referentiels/motorStartingMethod'\r\nimport ProjectModel from '@/modules/homePage/model/ProjectModel'\r\nimport referentielsMixin from '@/mixins/referentielsMixin'\r\nimport projectAdvMixin from '@/plugins/mixins/projectAdvMixin' // Mixin des Règles Formulaire\r\nimport loadsInteractionsMixin from '../../loadsInteractionsMixin'\r\nimport styleFieldsMixin from '@/mixins/styleFieldsMixin'\r\n\r\nexport default mixins(\r\n referentielsMixin,\r\n projectAdvMixin,\r\n loadsInteractionsMixin,\r\n styleFieldsMixin\r\n).extend({\r\n components: {\r\n Tooltip: () => import('./TypeBlocks/Tooltip.vue'),\r\n Harmonics: () => import('./TypeBlocks/Harmonics.vue')\r\n },\r\n props: { value: ChargeViewModel, project: ProjectModel },\r\n data() {\r\n return {\r\n TypeCharge,\r\n expand: null,\r\n manualRunningPF: 1,\r\n manualStartingPF: 1,\r\n manualEfficiency: 75,\r\n manualVfdEfficiency: 99\r\n }\r\n },\r\n computed: {\r\n patron(): PatronFormulaireModel {\r\n return this.value.patron\r\n },\r\n model(): ChargeModel {\r\n return this.value.model\r\n },\r\n modelLoadWithHarmonics(): LoadWithHarmonics | undefined {\r\n return (this.model as any) as LoadWithHarmonics\r\n },\r\n modelLoadWhithEfficiency(): LoadWhithEfficiency | undefined {\r\n return (this.model as any) as LoadWhithEfficiency\r\n },\r\n modelChargeMotorGeneric(): ChargeMotorGeneric | undefined {\r\n return this.model as ChargeMotorGeneric\r\n },\r\n modelLoadWithLoadFactor(): LoadWithLoadFactor | undefined {\r\n return (this.model as any) as LoadWithLoadFactor\r\n },\r\n ithd: {\r\n get(): string {\r\n return this.modelLoadWithHarmonics?.userIthd ?? true\r\n ? 'User'\r\n : ((this.modelLoadWithHarmonics?.ithd ?? 0.5) * 100).toFixed(2)\r\n },\r\n set(value: string) {\r\n if (this.modelLoadWithHarmonics != undefined)\r\n this.modelLoadWithHarmonics.ithd = parseFloat(value) / 100\r\n }\r\n },\r\n tonHeating: {\r\n get(): string {\r\n return ('tonHeating' in this.model\r\n ? (this.model as ChargeAirConditionner).tonHeating\r\n : 0\r\n ).toFixed(2)\r\n },\r\n set(value: string) {\r\n if ('tonHeating' in this.model)\r\n (this.model as ChargeAirConditionner).tonHeating = parseFloat(value)\r\n }\r\n },\r\n sEER: {\r\n get(): string {\r\n return ('sEER' in this.model\r\n ? (this.model as ChargeAirConditionner).sEER\r\n : 0\r\n ).toFixed(2)\r\n },\r\n set(value: string) {\r\n if ('sEER' in this.model)\r\n (this.model as ChargeAirConditionner).sEER = parseFloat(value)\r\n }\r\n },\r\n runningPF(): number | undefined {\r\n const retour =\r\n 'runningPF' in this.model ? (this.model.runningPF as number) : 1\r\n return retour == 0 ? 1 : retour\r\n },\r\n startingPF(): number | undefined {\r\n const retour =\r\n 'startingPF' in this.model ? (this.model.startingPF as number) : 1\r\n return retour == 0 ? 1 : retour\r\n }\r\n },\r\n methods: {\r\n isSSCL(model: ChargeMotorGeneric): boolean {\r\n return (\r\n (this.referentiels.motorStartingMethods as Collection<\r\n MotorStartingMethod\r\n >)?.find(x => x?.id == model?.idMotorStartingMethod)?.isSSCL ?? false\r\n )\r\n },\r\n isVFD(model: ChargeMotorGeneric): boolean {\r\n const motorStartingMethod = (this.referentiels\r\n .motorStartingMethods as Collection)?.find(\r\n x => x?.id == model?.idMotorStartingMethod\r\n )\r\n return motorStartingMethod?.isVFD ?? false\r\n },\r\n isRAMP(model: ChargeMotorGeneric): boolean {\r\n const motorStartingMethod = (this.referentiels\r\n .motorStartingMethods as Collection)?.find(\r\n x => x?.id == model?.idMotorStartingMethod\r\n )\r\n return motorStartingMethod?.isSoftStart ?? false\r\n }\r\n },\r\n watch: {\r\n manualRunningPF(val: number) {\r\n this.$nextTick(() => {\r\n if ('runningPF' in this.model) {\r\n if (val < 0.01) this.model.runningPF = 0.01\r\n else if (val > 1) this.model.runningPF = 1\r\n else this.model.runningPF = val\r\n if ((val != 0 || !Number.isNaN(val)) && 'manualRpf' in this.model) {\r\n this.model.manualRpf = true\r\n }\r\n }\r\n })\r\n },\r\n manualStartingPF(val: number) {\r\n this.$nextTick(() => {\r\n if ('startingPF' in this.model) {\r\n if (val < 0.01) this.model.startingPF = 0.01\r\n else if (val > 1) this.model.startingPF = 1\r\n else this.model.startingPF = val\r\n if ((val != 0 || !Number.isNaN(val)) && 'manualSpf' in this.model) {\r\n this.model.manualSpf = true\r\n }\r\n }\r\n })\r\n },\r\n manualEfficiency(val: number) {\r\n this.$nextTick(() => {\r\n if (this.modelLoadWhithEfficiency) {\r\n if (val < 0.5) this.modelLoadWhithEfficiency.efficiency = 0.5\r\n else if (val > 0.99) this.modelLoadWhithEfficiency.efficiency = 0.99\r\n else this.modelLoadWhithEfficiency.efficiency = val\r\n }\r\n if (this.modelChargeMotorGeneric) {\r\n this.modelChargeMotorGeneric.manualEfficiency = true\r\n }\r\n })\r\n },\r\n manualVfdEfficiency(val: number) {\r\n this.$nextTick(() => {\r\n if (this.modelChargeMotorGeneric) {\r\n if (val < 0.7) this.modelChargeMotorGeneric.vFDEfficiency = 0.7\r\n if (val > 0.99) this.modelChargeMotorGeneric.vFDEfficiency = 0.99\r\n else this.modelChargeMotorGeneric.vFDEfficiency = val\r\n }\r\n })\r\n },\r\n 'model.numberOfCompressors'(val: number) {\r\n this.$nextTick(() => {\r\n const m = this.model as ChargeAirConditionner\r\n if (m) {\r\n if (val < 1) m.numberOfCompressors = 1\r\n if (val > 20) m.numberOfCompressors = 20\r\n }\r\n })\r\n },\r\n 'model.tonHeating'(val: number) {\r\n this.$nextTick(() => {\r\n const m = this.model as ChargeAirConditionner\r\n if (m) {\r\n if (val < 0.1) m.tonHeating = 0.1\r\n if (val > 5) m.tonHeating = 5\r\n }\r\n })\r\n },\r\n 'modelLoadWithLoadFactor.loadFactor'(val: number) {\r\n this.$nextTick(() => {\r\n if (this.modelLoadWithLoadFactor) {\r\n if (val < 0.25) this.modelLoadWithLoadFactor.loadFactor = 0.25\r\n if (val > 1) this.modelLoadWithLoadFactor.loadFactor = 1\r\n }\r\n })\r\n },\r\n 'modelChargeMotorGeneric.vFDSkVaLimit'(val: number) {\r\n this.$nextTick(() => {\r\n if (this.modelChargeMotorGeneric) {\r\n if (val < 100) this.modelChargeMotorGeneric.vFDSkVaLimit = 100\r\n if (val > 150) this.modelChargeMotorGeneric.vFDSkVaLimit = 150\r\n }\r\n })\r\n },\r\n 'modelChargeMotorGeneric.vFDEfficiency'(val: number) {\r\n this.$nextTick(() => {\r\n if (this.modelChargeMotorGeneric) {\r\n if (val < 0.7) this.modelChargeMotorGeneric.vFDEfficiency = 0.7\r\n if (val > 0.99) this.modelChargeMotorGeneric.vFDEfficiency = 0.99\r\n }\r\n })\r\n },\r\n 'model.sEER'(val: number) {\r\n this.$nextTick(() => {\r\n const m = this.model as ChargeAirConditionner\r\n if (m) {\r\n if (val < 1) m.sEER = 1\r\n if (val > 50) m.sEER = 50\r\n }\r\n })\r\n }\r\n }\r\n})\r\n","import mod from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdvancedSettings.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdvancedSettings.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AdvancedSettings.vue?vue&type=template&id=235db85c&scoped=true&\"\nimport script from \"./AdvancedSettings.vue?vue&type=script&lang=ts&\"\nexport * from \"./AdvancedSettings.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./AdvancedSettings.vue?vue&type=style&index=0&id=235db85c&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"235db85c\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdvancedSettings.vue?vue&type=style&index=0&id=235db85c&prod&scoped=true&lang=css&\""],"sourceRoot":""}