{"version":3,"sources":["webpack:///./src/components/Schedule/ModalEditLocationPreferences.vue","webpack:///src/components/Schedule/ModalEditLocationPreferences.vue","webpack:///./src/components/Schedule/ModalEditLocationPreferences.vue?b560","webpack:///./src/components/Schedule/ModalEditLocationPreferences.vue?97e8"],"names":["render","_vm","this","_c","_self","attrs","$t","getModalTitle","onClickCancel","savePreferences","showModal","isSaving","isSavingError","on","scopedSlots","_u","key","fn","viewSettings","staticClass","_v","_s","class","mProfilePreference","OptionOrderReportShowComments","$event","OptionOrderReportShowNotes","OptionOrderReportShowToDos","OptionOrderReportShowDescriptions","_e","ScheduleShowCalendar","ScheduleShowCompanyName","ScheduleDblClickToReservation","SpaceConfigurationReportShowOptions","directives","name","rawName","value","ProposalDefaultSortingIndex","expression","$$selectedVal","Array","prototype","filter","call","target","options","o","selected","map","val","_value","$set","multiple","_l","getProposalKeys","index","domProps","translation","text","ProposalDefaultSortingDirection","NoInvoiceDefaultSortingIndex","getNoInvoiceKeys","NoInvoiceDefaultSortingDirection","GeneralInvoiceDefaultSortingIndex","getGeneralInvoiceKeys","GeneralInvoiceDefaultSortingDirection","ExpiredInvoiceDefaultSortingIndex","getExpiredInvoiceKeys","ExpiredInvoiceDefaultSortingDirection","proxy","slot","staticRenderFns","components","props","type","Boolean","default","Function","required","String","data","locationId","Number","$route","params","computed","_objectSpread","mapState","created","locationState","ProfilePreference","JSON","parse","stringify","undefined","mounted","methods","mapMutations","_this","self","locationProvider","saveLocationPreferences","then","response","status","setProfilePreference","setLocationState","$emit","EventBus","message","catch","error","finally","component"],"mappings":"6KAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,qBAAqB,CAACE,MAAM,CAAC,WAAaJ,EAAIK,GAAGL,EAAIM,iBAAiB,cAAgBN,EAAIO,cAAc,YAAcP,EAAIQ,gBAAgB,UAAYR,EAAIS,UAAU,SAAWT,EAAIU,SAAS,cAAgBV,EAAIW,cAAc,qBAA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AAD,MAAA,6BAGAC,OAAAD,MAAA,aACAjC,KAAA,OACAmC,QAAAX,EAAA7F,GAAA,+EAKA8F,EAAA5F,oBAGAuG,OAAA,SAAAC,GAEAZ,EAAAxF,eAAA,KAEAqG,SAAA,WACAb,EAAAzF,UAAA,UC3sBoX,I,YCOhXuG,EAAY,eACd,EACAlH,EACAwE,GACA,EACA,KACA,KACA,MAIa,aAAA0C,E","file":"js/chunk-2d218068.js?id=f1f585390d8fdc4d9822","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('ui-component-modal',{attrs:{\"modalTitle\":_vm.$t(_vm.getModalTitle()),\"onClickCancel\":_vm.onClickCancel,\"onClickSave\":_vm.savePreferences,\"showModal\":_vm.showModal,\"isSaving\":_vm.isSaving,\"isSavingError\":_vm.isSavingError,\"savingSuccessMessage\":_vm.$t(\n      `Components.Schedule.ModalEditLocationPreferences.Message_SavingSuccess`\n    ),\"savingErrorMessage\":_vm.$t(`Components.Schedule.ModalEditLocationPreferences.Message_SavingError`),\"hideFooterButtons\":_vm.isSavingError},on:{\"closeModal\":_vm.onClickCancel},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [(_vm.viewSettings === 'optionOrderReport')?_c('div',[_c('div',{staticClass:\"has-margin-bottom\"},[_vm._v(\" \"+_vm._s(_vm.$t( `Components.Schedule.ModalEditLocationPreferences.Label_ShowComments` ))+\" \")]),_c('div',{staticClass:\"tabs is-toggle\"},[_c('ul',[_c('li',{class:{\n              'is-active': _vm.mProfilePreference.OptionOrderReportShowComments,\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.OptionOrderReportShowComments = true}}},[_c('span',[_vm._v(_vm._s(_vm.$t(`General.Yes`)))])])]),_c('li',{class:{\n              'is-active': !_vm.mProfilePreference.OptionOrderReportShowComments,\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.OptionOrderReportShowComments = false}}},[_c('span',[_vm._v(_vm._s(_vm.$t(`General.No`)))])])])])]),_c('div',{staticClass:\"has-margin-bottom\"},[_vm._v(\" \"+_vm._s(_vm.$t( `Components.Schedule.ModalEditLocationPreferences.Label_ShowNotes` ))+\" \")]),_c('div',{staticClass:\"tabs is-toggle\"},[_c('ul',[_c('li',{class:{\n              'is-active': _vm.mProfilePreference.OptionOrderReportShowNotes,\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.OptionOrderReportShowNotes = true}}},[_c('span',[_vm._v(_vm._s(_vm.$t(`General.Yes`)))])])]),_c('li',{class:{\n              'is-active': !_vm.mProfilePreference.OptionOrderReportShowNotes,\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.OptionOrderReportShowNotes = false}}},[_c('span',[_vm._v(_vm._s(_vm.$t(`General.No`)))])])])])]),_c('div',{staticClass:\"has-margin-bottom\"},[_vm._v(\" \"+_vm._s(_vm.$t( `Components.Schedule.ModalEditLocationPreferences.Label_ShowToDos` ))+\" \")]),_c('div',{staticClass:\"tabs is-toggle\"},[_c('ul',[_c('li',{class:{\n              'is-active': _vm.mProfilePreference.OptionOrderReportShowToDos,\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.OptionOrderReportShowToDos = true}}},[_c('span',[_vm._v(_vm._s(_vm.$t(`General.Yes`)))])])]),_c('li',{class:{\n              'is-active': !_vm.mProfilePreference.OptionOrderReportShowToDos,\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.OptionOrderReportShowToDos = false}}},[_c('span',[_vm._v(_vm._s(_vm.$t(`General.No`)))])])])])]),_c('div',{staticClass:\"has-margin-bottom\"},[_vm._v(\" \"+_vm._s(_vm.$t( `Components.Schedule.ModalEditLocationPreferences.Label_ShowDescription` ))+\" \")]),_c('div',{staticClass:\"tabs is-toggle\"},[_c('ul',[_c('li',{class:{\n              'is-active':\n                _vm.mProfilePreference.OptionOrderReportShowDescriptions,\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.OptionOrderReportShowDescriptions = true}}},[_c('span',[_vm._v(_vm._s(_vm.$t(`General.Yes`)))])])]),_c('li',{class:{\n              'is-active':\n                !_vm.mProfilePreference.OptionOrderReportShowDescriptions,\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.OptionOrderReportShowDescriptions = false}}},[_c('span',[_vm._v(_vm._s(_vm.$t(`General.No`)))])])])])])]):_vm._e(),(_vm.viewSettings === 'schedule')?_c('div',[_c('div',{staticClass:\"has-margin-bottom\"},[_vm._v(\" \"+_vm._s(_vm.$t( `Components.Schedule.ModalEditLocationPreferences.Label_ShowCalendar` ))+\" \")]),_c('div',{staticClass:\"tabs is-toggle\"},[_c('ul',[_c('li',{class:{ 'is-active': _vm.mProfilePreference.ScheduleShowCalendar }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.ScheduleShowCalendar = true}}},[_c('span',[_vm._v(_vm._s(_vm.$t(`General.Yes`)))])])]),_c('li',{class:{ 'is-active': !_vm.mProfilePreference.ScheduleShowCalendar }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.ScheduleShowCalendar = false}}},[_c('span',[_vm._v(_vm._s(_vm.$t(`General.No`)))])])])])]),_c('div',{staticClass:\"has-margin-bottom\"},[_vm._v(\" \"+_vm._s(_vm.$t( `Components.Schedule.ModalEditLocationPreferences.Label_ShowCompanyName` ))+\" \")]),_c('div',{staticClass:\"tabs is-toggle\"},[_c('ul',[_c('li',{class:{\n              'is-active': _vm.mProfilePreference.ScheduleShowCompanyName,\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.ScheduleShowCompanyName = true}}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t( `Components.Schedule.ModalEditLocationPreferences.Tab_Option_CompanyName` )))])])]),_c('li',{class:{\n              'is-active': !_vm.mProfilePreference.ScheduleShowCompanyName,\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.ScheduleShowCompanyName = false}}},[_c('span',[_vm._v(_vm._s(_vm.$t( `Components.Schedule.ModalEditLocationPreferences.Tab_Option_MeetingName` )))])])])])]),_c('div',{staticClass:\"has-margin-bottom\"},[_vm._v(\" \"+_vm._s(_vm.$t( `Components.Schedule.ModalEditLocationPreferences.Label_DblClicktoReservation` ))+\" \")]),_c('div',{staticClass:\"tabs is-toggle\"},[_c('ul',[_c('li',{class:{\n              'is-active': _vm.mProfilePreference.ScheduleDblClickToReservation,\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.ScheduleDblClickToReservation = true}}},[_c('span',[_vm._v(_vm._s(_vm.$t( `Components.Schedule.ModalEditLocationPreferences.Tab_Option_GoToReservation` )))])])]),_c('li',{class:{\n              'is-active': !_vm.mProfilePreference.ScheduleDblClickToReservation,\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.ScheduleDblClickToReservation = false}}},[_c('span',[_vm._v(_vm._s(_vm.$t( `Components.Schedule.ModalEditLocationPreferences.Tab_Option_GoToDetails` )))])])])])])]):_vm._e(),(_vm.viewSettings === 'spaceConfigurationReport')?_c('div',[_c('div',{staticClass:\"has-margin-bottom\"},[_vm._v(\" \"+_vm._s(_vm.$t( `Components.Schedule.ModalEditLocationPreferences.Label_ShowOptions` ))+\" \")]),_c('div',{staticClass:\"tabs is-toggle\"},[_c('ul',[_c('li',{class:{\n              'is-active':\n                _vm.mProfilePreference.SpaceConfigurationReportShowOptions,\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.SpaceConfigurationReportShowOptions = true}}},[_c('span',[_vm._v(_vm._s(_vm.$t(`General.Yes`)))])])]),_c('li',{class:{\n              'is-active':\n                !_vm.mProfilePreference.SpaceConfigurationReportShowOptions,\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.SpaceConfigurationReportShowOptions = false}}},[_c('span',[_vm._v(_vm._s(_vm.$t(`General.No`)))])])])])])]):_vm._e(),(_vm.viewSettings === 'proposal')?_c('div',[_c('p',{staticClass:\"title is-3\"},[_vm._v(\" \"+_vm._s(_vm.$t( `Components.Schedule.ModalEditLocationPreferences.Label_DefaultSortingProposalTitle` ))+\" \")]),_c('div',{staticClass:\"select mb-4\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.mProfilePreference.ProposalDefaultSortingIndex),expression:\"mProfilePreference.ProposalDefaultSortingIndex\"}],on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.mProfilePreference, \"ProposalDefaultSortingIndex\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((_vm.getProposalKeys()),function(value,index){return _c('option',{key:index,domProps:{\"value\":index,\"selected\":_vm.mProfilePreference.ProposalDefaultSortingIndex ===\n                      index}},[_vm._v(\" \"+_vm._s(value.translation ? _vm.$t(value.translation) : value.text)+\" \")])}),0)]),_c('div',{staticClass:\"tabs is-toggle\"},[_c('ul',[_c('li',{class:{\n              'is-active': _vm.mProfilePreference.ProposalDefaultSortingDirection === 'ASC',\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.ProposalDefaultSortingDirection = 'ASC'}}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"General.ASC\")))])])]),_c('li',{class:{\n              'is-active': _vm.mProfilePreference.ProposalDefaultSortingDirection === 'DESC',\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.ProposalDefaultSortingDirection = 'DESC'}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"General.DESC\")))])])])])])]):_vm._e(),(_vm.viewSettings === 'invoices')?_c('div',[_c('p',{staticClass:\"title is-3\"},[_vm._v(\" \"+_vm._s(_vm.$t( `Components.Schedule.ModalEditLocationPreferences.Label_DefaultSortingNoInvoiceTitle` ))+\" \")]),_c('p',{staticClass:\"has-margin-bottom\"},[_vm._v(\" \"+_vm._s(_vm.$t( `Components.Schedule.ModalEditLocationPreferences.Label_DefaultSortingNoInvoice` ))+\" \")]),_c('div',{staticClass:\"select mb-4\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.mProfilePreference.NoInvoiceDefaultSortingIndex),expression:\"mProfilePreference.NoInvoiceDefaultSortingIndex\"}],on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.mProfilePreference, \"NoInvoiceDefaultSortingIndex\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((_vm.getNoInvoiceKeys()),function(value,index){return _c('option',{key:index,domProps:{\"value\":index,\"selected\":_vm.mProfilePreference.NoInvoiceDefaultSortingIndex ===\n                      index}},[_vm._v(\" \"+_vm._s(value.translation ? _vm.$t(value.translation) : value.text)+\" \")])}),0)]),_c('div',{staticClass:\"tabs is-toggle\"},[_c('ul',[_c('li',{class:{\n              'is-active': _vm.mProfilePreference.NoInvoiceDefaultSortingDirection === 'ASC',\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.NoInvoiceDefaultSortingDirection = 'ASC'}}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"General.ASC\")))])])]),_c('li',{class:{\n              'is-active': _vm.mProfilePreference.NoInvoiceDefaultSortingDirection === 'DESC',\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.NoInvoiceDefaultSortingDirection = 'DESC'}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"General.DESC\")))])])])])]),_c('div',{staticClass:\"is-divider\"}),_c('p',{staticClass:\"title is-3\"},[_vm._v(\" \"+_vm._s(_vm.$t( `Components.Schedule.ModalEditLocationPreferences.Label_DefaultSortingGeneralInvoiceTitle` ))+\" \")]),_c('p',{staticClass:\"has-margin-bottom\"},[_vm._v(\" \"+_vm._s(_vm.$t( `Components.Schedule.ModalEditLocationPreferences.Label_DefaultSortingGeneralInvoice` ))+\" \")]),_c('div',{staticClass:\"select mb-4\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.mProfilePreference.GeneralInvoiceDefaultSortingIndex),expression:\"mProfilePreference.GeneralInvoiceDefaultSortingIndex\"}],on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.mProfilePreference, \"GeneralInvoiceDefaultSortingIndex\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((_vm.getGeneralInvoiceKeys()),function(value,index){return _c('option',{key:index,domProps:{\"value\":index,\"selected\":_vm.mProfilePreference.GeneralInvoiceDefaultSortingIndex ===\n                      index}},[_vm._v(\" \"+_vm._s(value.translation ? _vm.$t(value.translation) : value.text)+\" \")])}),0)]),_c('div',{staticClass:\"tabs is-toggle\"},[_c('ul',[_c('li',{class:{\n              'is-active': _vm.mProfilePreference.GeneralInvoiceDefaultSortingDirection === 'ASC',\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.GeneralInvoiceDefaultSortingDirection = 'ASC'}}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"General.ASC\")))])])]),_c('li',{class:{\n              'is-active': _vm.mProfilePreference.GeneralInvoiceDefaultSortingDirection === 'DESC',\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.GeneralInvoiceDefaultSortingDirection = 'DESC'}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"General.DESC\")))])])])])]),_c('div',{staticClass:\"is-divider\"}),_c('p',{staticClass:\"title is-3\"},[_vm._v(\" \"+_vm._s(_vm.$t( `Components.Schedule.ModalEditLocationPreferences.Label_DefaultSortingExpiredInvoiceTitle` ))+\" \")]),_c('p',{staticClass:\"has-margin-bottom\"},[_vm._v(\" \"+_vm._s(_vm.$t( `Components.Schedule.ModalEditLocationPreferences.Label_DefaultSortingExpiredInvoice` ))+\" \")]),_c('div',{staticClass:\"select mb-4\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.mProfilePreference.ExpiredInvoiceDefaultSortingIndex),expression:\"mProfilePreference.ExpiredInvoiceDefaultSortingIndex\"}],on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.mProfilePreference, \"ExpiredInvoiceDefaultSortingIndex\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((_vm.getExpiredInvoiceKeys()),function(value,index){return _c('option',{key:index,domProps:{\"value\":index,\"selected\":_vm.mProfilePreference.ExpiredInvoiceDefaultSortingIndex ===\n                      index}},[_vm._v(\" \"+_vm._s(value.translation ? _vm.$t(value.translation) : value.text)+\" \")])}),0)]),_c('div',{staticClass:\"tabs is-toggle\"},[_c('ul',[_c('li',{class:{\n              'is-active': _vm.mProfilePreference.ExpiredInvoiceDefaultSortingDirection === 'ASC',\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.ExpiredInvoiceDefaultSortingDirection = 'ASC'}}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"General.ASC\")))])])]),_c('li',{class:{\n              'is-active': _vm.mProfilePreference.ExpiredInvoiceDefaultSortingDirection === 'DESC',\n            }},[_c('a',{on:{\"click\":function($event){_vm.mProfilePreference.ExpiredInvoiceDefaultSortingDirection = 'DESC'}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"General.DESC\")))])])])])])]):_vm._e()]},proxy:true}])},[_c('template',{slot:\"modalTitle\"})],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <ui-component-modal\n    :modalTitle=\"\n      $t(getModalTitle())\n    \"\n    :onClickCancel=\"onClickCancel\"\n    :onClickSave=\"savePreferences\"\n    :showModal=\"showModal\"\n    :isSaving=\"isSaving\"\n    :isSavingError=\"isSavingError\"\n    :savingSuccessMessage=\"\n      $t(\n        `Components.Schedule.ModalEditLocationPreferences.Message_SavingSuccess`\n      )\n    \"\n    :savingErrorMessage=\"\n      $t(`Components.Schedule.ModalEditLocationPreferences.Message_SavingError`)\n    \"\n    :hideFooterButtons=\"isSavingError\"\n    @closeModal=\"onClickCancel\"\n  >\n    <template slot=\"modalTitle\"></template>\n    <template v-slot:content>\n      <div v-if=\"viewSettings === 'optionOrderReport'\">\n        <div class=\"has-margin-bottom\">\n          {{\n            $t(\n              `Components.Schedule.ModalEditLocationPreferences.Label_ShowComments`\n            )\n          }}\n        </div>\n        <div class=\"tabs is-toggle\">\n          <ul>\n            <li :class=\"{\n                'is-active': mProfilePreference.OptionOrderReportShowComments,\n              }\">\n              <a @click=\"mProfilePreference.OptionOrderReportShowComments = true\">\n                <span>{{ $t(`General.Yes`) }}</span>\n              </a>\n            </li>\n            <li :class=\"{\n                'is-active': !mProfilePreference.OptionOrderReportShowComments,\n              }\">\n              <a @click=\"\n                  mProfilePreference.OptionOrderReportShowComments = false\n                \">\n                <span>{{ $t(`General.No`) }}</span>\n              </a>\n            </li>\n          </ul>\n        </div>\n\n        <div class=\"has-margin-bottom\">\n          {{\n            $t(\n              `Components.Schedule.ModalEditLocationPreferences.Label_ShowNotes`\n            )\n          }}\n        </div>\n        <div class=\"tabs is-toggle\">\n          <ul>\n            <li :class=\"{\n                'is-active': mProfilePreference.OptionOrderReportShowNotes,\n              }\">\n              <a @click=\"mProfilePreference.OptionOrderReportShowNotes = true\">\n                <span>{{ $t(`General.Yes`) }}</span>\n              </a>\n            </li>\n            <li :class=\"{\n                'is-active': !mProfilePreference.OptionOrderReportShowNotes,\n              }\">\n              <a @click=\"mProfilePreference.OptionOrderReportShowNotes = false\">\n                <span>{{ $t(`General.No`) }}</span>\n              </a>\n            </li>\n          </ul>\n        </div>\n\n        <div class=\"has-margin-bottom\">\n          {{\n            $t(\n              `Components.Schedule.ModalEditLocationPreferences.Label_ShowToDos`\n            )\n          }}\n        </div>\n        <div class=\"tabs is-toggle\">\n          <ul>\n            <li :class=\"{\n                'is-active': mProfilePreference.OptionOrderReportShowToDos,\n              }\">\n              <a @click=\"mProfilePreference.OptionOrderReportShowToDos = true\">\n                <span>{{ $t(`General.Yes`) }}</span>\n              </a>\n            </li>\n            <li :class=\"{\n                'is-active': !mProfilePreference.OptionOrderReportShowToDos,\n              }\">\n              <a @click=\"mProfilePreference.OptionOrderReportShowToDos = false\">\n                <span>{{ $t(`General.No`) }}</span>\n              </a>\n            </li>\n          </ul>\n        </div>\n\n        <div class=\"has-margin-bottom\">\n          {{\n            $t(\n              `Components.Schedule.ModalEditLocationPreferences.Label_ShowDescription`\n            )\n          }}\n        </div>\n        <div class=\"tabs is-toggle\">\n          <ul>\n            <li :class=\"{\n                'is-active':\n                  mProfilePreference.OptionOrderReportShowDescriptions,\n              }\">\n              <a @click=\"\n                  mProfilePreference.OptionOrderReportShowDescriptions = true\n                \">\n                <span>{{ $t(`General.Yes`) }}</span>\n              </a>\n            </li>\n            <li :class=\"{\n                'is-active':\n                  !mProfilePreference.OptionOrderReportShowDescriptions,\n              }\">\n              <a @click=\"\n                  mProfilePreference.OptionOrderReportShowDescriptions = false\n                \">\n                <span>{{ $t(`General.No`) }}</span>\n              </a>\n            </li>\n          </ul>\n        </div>\n      </div>\n\n      <div v-if=\"viewSettings === 'schedule'\">\n        <div class=\"has-margin-bottom\">\n          {{\n            $t(\n              `Components.Schedule.ModalEditLocationPreferences.Label_ShowCalendar`\n            )\n          }}\n        </div>\n        <div class=\"tabs is-toggle\">\n          <ul>\n            <li :class=\"{ 'is-active': mProfilePreference.ScheduleShowCalendar }\">\n              <a @click=\"mProfilePreference.ScheduleShowCalendar = true\">\n                <span>{{ $t(`General.Yes`) }}</span>\n              </a>\n            </li>\n            <li :class=\"{ 'is-active': !mProfilePreference.ScheduleShowCalendar }\">\n              <a @click=\"mProfilePreference.ScheduleShowCalendar = false\">\n                <span>{{ $t(`General.No`) }}</span>\n              </a>\n            </li>\n          </ul>\n        </div>\n\n        <div class=\"has-margin-bottom\">\n          {{\n            $t(\n              `Components.Schedule.ModalEditLocationPreferences.Label_ShowCompanyName`\n            )\n          }}\n        </div>\n        <div class=\"tabs is-toggle\">\n          <ul>\n            <li :class=\"{\n                'is-active': mProfilePreference.ScheduleShowCompanyName,\n              }\">\n              <a @click=\"mProfilePreference.ScheduleShowCompanyName = true\">\n                <span>\n                  {{\n                    $t(\n                      `Components.Schedule.ModalEditLocationPreferences.Tab_Option_CompanyName`\n                    )\n                  }}</span>\n              </a>\n            </li>\n            <li :class=\"{\n                'is-active': !mProfilePreference.ScheduleShowCompanyName,\n              }\">\n              <a @click=\"mProfilePreference.ScheduleShowCompanyName = false\">\n                <span>{{\n                  $t(\n                    `Components.Schedule.ModalEditLocationPreferences.Tab_Option_MeetingName`\n                  )\n                }}</span>\n              </a>\n            </li>\n          </ul>\n        </div>\n\n        <div class=\"has-margin-bottom\">\n          {{\n            $t(\n              `Components.Schedule.ModalEditLocationPreferences.Label_DblClicktoReservation`\n            )\n          }}\n        </div>\n        <div class=\"tabs is-toggle\">\n          <ul>\n            <li :class=\"{\n                'is-active': mProfilePreference.ScheduleDblClickToReservation,\n              }\">\n              <a @click=\"mProfilePreference.ScheduleDblClickToReservation = true\">\n                <span>{{\n                  $t(\n                    `Components.Schedule.ModalEditLocationPreferences.Tab_Option_GoToReservation`\n                  )\n                }}</span>\n              </a>\n            </li>\n            <li :class=\"{\n                'is-active': !mProfilePreference.ScheduleDblClickToReservation,\n              }\">\n              <a @click=\"\n                  mProfilePreference.ScheduleDblClickToReservation = false\n                \">\n                <span>{{\n                  $t(\n                    `Components.Schedule.ModalEditLocationPreferences.Tab_Option_GoToDetails`\n                  )\n                }}</span>\n              </a>\n            </li>\n          </ul>\n        </div>\n      </div>\n\n      <div v-if=\"viewSettings === 'spaceConfigurationReport'\">\n        <div class=\"has-margin-bottom\">\n          {{\n            $t(\n              `Components.Schedule.ModalEditLocationPreferences.Label_ShowOptions`\n            )\n          }}\n        </div>\n        <div class=\"tabs is-toggle\">\n          <ul>\n            <li :class=\"{\n                'is-active':\n                  mProfilePreference.SpaceConfigurationReportShowOptions,\n              }\">\n              <a @click=\"\n                  mProfilePreference.SpaceConfigurationReportShowOptions = true\n                \">\n                <span>{{ $t(`General.Yes`) }}</span>\n              </a>\n            </li>\n            <li :class=\"{\n                'is-active':\n                  !mProfilePreference.SpaceConfigurationReportShowOptions,\n              }\">\n              <a @click=\"\n                  mProfilePreference.SpaceConfigurationReportShowOptions = false\n                \">\n                <span>{{ $t(`General.No`) }}</span>\n              </a>\n            </li>\n          </ul>\n        </div>\n      </div>\n\n      <div v-if=\"viewSettings === 'proposal'\">\n        <p class=\"title is-3\">\n          {{\n            $t(\n              `Components.Schedule.ModalEditLocationPreferences.Label_DefaultSortingProposalTitle`\n            )\n          }}\n        </p>\n        <div class=\"select mb-4\">\n          <select v-model=\"mProfilePreference.ProposalDefaultSortingIndex\">\n            <option\n              v-for=\"(value, index) in getProposalKeys()\"\n              :key=\"index\"\n              :value=\"index\"\n              :selected=\"\n                        mProfilePreference.ProposalDefaultSortingIndex ===\n                        index\"\n            >\n              {{ value.translation ? $t(value.translation) : value.text }}\n            </option>\n          </select>\n        </div>\n        <div class=\"tabs is-toggle\">\n          <ul>\n            <li :class=\"{\n                'is-active': mProfilePreference.ProposalDefaultSortingDirection === 'ASC',\n              }\">\n              <a @click=\"mProfilePreference.ProposalDefaultSortingDirection = 'ASC'\">\n                <span>\n                  {{$t(\"General.ASC\")}}</span>\n              </a>\n            </li>\n            <li :class=\"{\n                'is-active': mProfilePreference.ProposalDefaultSortingDirection === 'DESC',\n              }\">\n              <a @click=\"mProfilePreference.ProposalDefaultSortingDirection = 'DESC'\">\n                <span>{{$t(\"General.DESC\")}}</span>\n              </a>\n            </li>\n          </ul>\n        </div>\n      </div>\n\n      <div v-if=\"viewSettings === 'invoices'\">\n        <p class=\"title is-3\">\n          {{\n            $t(\n              `Components.Schedule.ModalEditLocationPreferences.Label_DefaultSortingNoInvoiceTitle`\n            )\n          }}\n        </p>\n        <p class=\"has-margin-bottom\">\n          {{\n            $t(\n              `Components.Schedule.ModalEditLocationPreferences.Label_DefaultSortingNoInvoice`\n            )\n          }}\n        </p>\n        <div class=\"select mb-4\">\n          <select v-model=\"mProfilePreference.NoInvoiceDefaultSortingIndex\">\n            <option\n              v-for=\"(value, index) in getNoInvoiceKeys()\"\n              :key=\"index\"\n              :value=\"index\"\n              :selected=\"\n                        mProfilePreference.NoInvoiceDefaultSortingIndex ===\n                        index\"\n            >\n              {{ value.translation ? $t(value.translation) : value.text }}\n            </option>\n          </select>\n        </div>\n        <div class=\"tabs is-toggle\">\n          <ul>\n            <li :class=\"{\n                'is-active': mProfilePreference.NoInvoiceDefaultSortingDirection === 'ASC',\n              }\">\n              <a @click=\"mProfilePreference.NoInvoiceDefaultSortingDirection = 'ASC'\">\n                <span>\n                  {{$t(\"General.ASC\")}}</span>\n              </a>\n            </li>\n            <li :class=\"{\n                'is-active': mProfilePreference.NoInvoiceDefaultSortingDirection === 'DESC',\n              }\">\n              <a @click=\"mProfilePreference.NoInvoiceDefaultSortingDirection = 'DESC'\">\n                <span>{{$t(\"General.DESC\")}}</span>\n              </a>\n            </li>\n          </ul>\n        </div>\n\n        <div class=\"is-divider\"></div>\n        <p class=\"title is-3\">\n          {{\n            $t(\n              `Components.Schedule.ModalEditLocationPreferences.Label_DefaultSortingGeneralInvoiceTitle`\n            )\n          }}\n        </p>\n        <p class=\"has-margin-bottom\">\n          {{\n            $t(\n              `Components.Schedule.ModalEditLocationPreferences.Label_DefaultSortingGeneralInvoice`\n            )\n          }}\n        </p>\n        <div class=\"select mb-4\">\n          <select v-model=\"mProfilePreference.GeneralInvoiceDefaultSortingIndex\">\n            <option\n              v-for=\"(value, index) in getGeneralInvoiceKeys()\"\n              :key=\"index\"\n              :value=\"index\"\n              :selected=\"\n                        mProfilePreference.GeneralInvoiceDefaultSortingIndex ===\n                        index\"\n            >\n              {{ value.translation ? $t(value.translation) : value.text }}\n            </option>\n          </select>\n        </div>\n        <div class=\"tabs is-toggle\">\n          <ul>\n            <li :class=\"{\n                'is-active': mProfilePreference.GeneralInvoiceDefaultSortingDirection === 'ASC',\n              }\">\n              <a @click=\"mProfilePreference.GeneralInvoiceDefaultSortingDirection = 'ASC'\">\n                <span>\n                  {{$t(\"General.ASC\")}}</span>\n              </a>\n            </li>\n            <li :class=\"{\n                'is-active': mProfilePreference.GeneralInvoiceDefaultSortingDirection === 'DESC',\n              }\">\n              <a @click=\"mProfilePreference.GeneralInvoiceDefaultSortingDirection = 'DESC'\">\n                <span>{{$t(\"General.DESC\")}}</span>\n              </a>\n            </li>\n          </ul>\n        </div>\n\n        <div class=\"is-divider\"></div>\n        <p class=\"title is-3\">\n          {{\n            $t(\n              `Components.Schedule.ModalEditLocationPreferences.Label_DefaultSortingExpiredInvoiceTitle`\n            )\n          }}\n        </p>\n        <p class=\"has-margin-bottom\">\n          {{\n            $t(\n              `Components.Schedule.ModalEditLocationPreferences.Label_DefaultSortingExpiredInvoice`\n            )\n          }}\n        </p>\n        <div class=\"select mb-4\">\n          <select v-model=\"mProfilePreference.ExpiredInvoiceDefaultSortingIndex\">\n            <option\n              v-for=\"(value, index) in getExpiredInvoiceKeys()\"\n              :key=\"index\"\n              :value=\"index\"\n              :selected=\"\n                        mProfilePreference.ExpiredInvoiceDefaultSortingIndex ===\n                        index\"\n            >\n              {{ value.translation ? $t(value.translation) : value.text }}\n            </option>\n          </select>\n        </div>\n        <div class=\"tabs is-toggle\">\n          <ul>\n            <li :class=\"{\n                'is-active': mProfilePreference.ExpiredInvoiceDefaultSortingDirection === 'ASC',\n              }\">\n              <a @click=\"mProfilePreference.ExpiredInvoiceDefaultSortingDirection = 'ASC'\">\n                <span>\n                  {{$t(\"General.ASC\")}}</span>\n              </a>\n            </li>\n            <li :class=\"{\n                'is-active': mProfilePreference.ExpiredInvoiceDefaultSortingDirection === 'DESC',\n              }\">\n              <a @click=\"mProfilePreference.ExpiredInvoiceDefaultSortingDirection = 'DESC'\">\n                <span>{{$t(\"General.DESC\")}}</span>\n              </a>\n            </li>\n          </ul>\n        </div>\n      </div>\n    </template>\n  </ui-component-modal>\n</template>\n\n<script>\nimport { mapState, mapMutations } from 'vuex'\nimport { EventBus } from '@/eventbus/event-bus'\nimport locationProvider from '@/providers/location'\n\nexport default {\n  components: {},\n\n  props: {\n    showModal: {\n      type: Boolean,\n      default: false,\n    },\n\n    onClickCancel: {\n      type: Function,\n      required: true,\n    },\n\n    viewSettings: {\n      type: String,\n      default: '',\n    },\n  },\n\n  data() {\n    return {\n      isSaving: false,\n      isSavingError: false,\n      locationId: Number(this.$route.params.locationId),\n      mProfilePreference: null,\n    }\n  },\n\n  computed: {\n    ...mapState('locationStore', ['locationState']),\n  },\n\n  created() {\n    if (this.locationState.ProfilePreference) {\n      this.mProfilePreference = JSON.parse(\n        JSON.stringify(this.locationState.ProfilePreference)\n      )\n\n      if (this.mProfilePreference.ProposalDefaultSortingIndex === undefined) {\n        this.mProfilePreference.ProposalDefaultSortingIndex = 8\n        this.mProfilePreference.ProposalDefaultSortingDirection =\n          'ASC'\n      }\n      if (this.mProfilePreference.GeneralInvoiceDefaultSortingIndex === undefined) {\n        this.mProfilePreference.GeneralInvoiceDefaultSortingIndex = 0\n        this.mProfilePreference.GeneralInvoiceDefaultSortingDirection =\n          'ASC'\n      }\n      if (this.mProfilePreference.NoInvoiceDefaultSortingIndex === undefined) {\n        this.mProfilePreference.NoInvoiceDefaultSortingIndex = 3\n        this.mProfilePreference.NoInvoiceDefaultSortingDirection =\n          'ASC'\n      }\n      if (this.mProfilePreference.ExpiredInvoiceDefaultSortingIndex === undefined) {\n        this.mProfilePreference.ExpiredInvoiceDefaultSortingIndex = 4\n        this.mProfilePreference.ExpiredInvoiceDefaultSortingDirection =\n          'ASC'\n      }\n    }\n  },\n\n  mounted() { },\n\n  methods: {\n    ...mapMutations('locationStore', ['setLocationState']),\n    ...mapMutations('locationStore', ['setProfilePreference']),\n\n    getModalTitle() {\n      switch (this.viewSettings) {\n        case 'proposal':\n        case 'invoices':\n          return 'Components.Schedule.ModalEditLocationPreferences.Main_Title_Sorting'\n        default:\n          return 'Components.Schedule.ModalEditLocationPreferences.Main_Title'\n      }\n    },\n\n    getProposalKeys() {\n      return {\n        0: {\n          text: \"RFP\"\n        },\n        1: {\n\n          translation: \"Components.Proposals.ProposalList.Table_Company\"\n        },\n        // 2: {\n        //   \n        //   translation: \"Components.Proposals.ProposalList.Table_Booker\"\n        // },\n        // 3: {\n\n        //   translation: \"Components.Reservation.ReservationList.Label_Channel\"\n        // },\n        // 4: {\n\n        //   translation: \"Components.Reservation.ReservationList.Label_Location\"\n        // },\n        5: {\n          text: \"Status\"\n        },\n        6: {\n\n          translation: \"Components.Proposals.ProposalList.Table_StartDate\"\n        },\n        7: {\n\n          translation: \"Components.Proposals.ProposalList.Table_CreatedOn\"\n        },\n        8: {\n\n          translation: \"Components.Proposals.ProposalList.Table_ExpiresOn\"\n        }\n      }\n    },\n\n    getGeneralInvoiceKeys() {\n      return {\n        0: {\n\n          translation: \"Components.Invoices.InvoiceList.TableHeader_InvoiceNr\"\n        },\n        1: {\n          text: \"Type\"\n        },\n        2: {\n\n          translation: \"Components.Invoices.InvoiceList.TableHeader_ReservationNr\"\n        },\n        3: {\n\n          translation: \"Components.Invoices.InvoiceList.TableHeader_Debtor\"\n        },\n        4: {\n\n          translation: \"Components.Invoices.InvoiceList.TableHeader_IssueDate\"\n        },\n        5: {\n\n          translation: \"Components.Invoices.InvoiceList.TableHeader_DueDate\"\n        },\n        6: {\n          translation: \"Components.Invoices.InvoiceList.TableHeader_TotalInclTax\"\n        },\n        7: {\n          translation: \"Components.Invoices.InvoiceList.TableHeader_TotalAmountOpen\"\n        },\n      }\n    },\n\n    getNoInvoiceKeys() {\n      return {\n        0: {\n\n          translation: \"Views.Invoices.ReservationsNoInvoice.TableHeader_ResNr\"\n        },\n        1: {\n\n          translation: \"Views.Invoices.ReservationsNoInvoice.TableHeader_Name\"\n        },\n        2: {\n\n          translation: \"Views.Invoices.ReservationsNoInvoice.TableHeader_Company\"\n        },\n        3: {\n\n          translation: \"Views.Invoices.ReservationsNoInvoice.TableHeader_Date\"\n        },\n        4: {\n\n          translation: \"Views.Invoices.ReservationsNoInvoice.TableHeader_TotalInclTax\"\n        },\n        5: {\n\n          translation: \"Views.Invoices.ReservationsNoInvoice.TableHeader_AmountOpen\"\n        },\n      }\n    },\n\n    getExpiredInvoiceKeys() {\n      return {\n        0: {\n\n          translation: \"Components.Invoices.ExpiredInvoiceList.TableHeader_InvoiceNr\"\n        },\n        1: {\n\n          translation: \"Components.Invoices.ExpiredInvoiceList.TableHeader_ReservationNr\"\n        },\n        2: {\n\n          translation: \"Components.Invoices.ExpiredInvoiceList.TableHeader_Debtor\"\n        },\n        3: {\n\n          translation: \"Components.Invoices.ExpiredInvoiceList.TableHeader_IssuedDate\"\n        },\n        4: {\n\n          translation: \"Components.Invoices.ExpiredInvoiceList.TableHeader_DueDate\"\n        },\n        5: {\n\n          translation: \"Components.Invoices.ExpiredInvoiceList.TableHeader_TotalInclTax\"\n        },\n        6: {\n\n          translation: \"Components.Invoices.ExpiredInvoiceList.TableHeader_AmountOpen\"\n        },\n        // 7: {\n\n        //   translation: \"Components.Invoices.ExpiredInvoiceList.TableHeader_ReminderStatus\"\n        // },\n      }\n    },\n\n    savePreferences() {\n      let self = this\n\n      if (!self.isSaving) {\n        self.isSaving = true\n\n        locationProvider.methods\n          .saveLocationPreferences(this.locationId, this.mProfilePreference)\n          .then((response) => {\n            if (response.status === 200) {\n              self.setProfilePreference(response.data)\n              self.setLocationState(this.locationState)\n\n              this.$emit('processSpacesData')\n\n              EventBus.$emit('profilePreferencesUpdated')\n\n              // Send message to be shown as toast on page\n              EventBus.$emit('showToast', {\n                type: 'info',\n                message: this.$t(\n                  `Components.Schedule.ModalEditLocationPreferences.Toast_PreferencesUpdatet`\n                ),\n              })\n\n              self.onClickCancel()\n            }\n          })\n          .catch((error) => {\n            //console.log(error.response)\n            self.isSavingError = true\n          })\n          .finally(() => {\n            self.isSaving = false\n          })\n      }\n    },\n  },\n}\n</script>\n<style></style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ModalEditLocationPreferences.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ModalEditLocationPreferences.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ModalEditLocationPreferences.vue?vue&type=template&id=48dbcf46\"\nimport script from \"./ModalEditLocationPreferences.vue?vue&type=script&lang=js\"\nexport * from \"./ModalEditLocationPreferences.vue?vue&type=script&lang=js\"\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  null,\n  null\n  \n)\n\nexport default component.exports"],"sourceRoot":""}