{"version":3,"sources":["webpack:///../../../src/components/VTextField/index.ts","webpack:///./src/views/onboarding/shops/shop-list/shop-edit/Shop.vue?e08f","webpack:///./src/views/onboarding/shops/shop-list/shop-edit/ShopAccount.vue?9161","webpack:///src/views/onboarding/shops/shop-list/shop-edit/ShopAccount.vue","webpack:///./src/views/onboarding/shops/shop-list/shop-edit/ShopAccount.vue?a345","webpack:///./src/views/onboarding/shops/shop-list/shop-edit/ShopAccount.vue","webpack:///./src/views/onboarding/shops/shop-list/shop-edit/ShopApiCredentials.vue?f297","webpack:///src/views/onboarding/shops/shop-list/shop-edit/ShopApiCredentials.vue","webpack:///./src/views/onboarding/shops/shop-list/shop-edit/ShopApiCredentials.vue?8d4d","webpack:///./src/views/onboarding/shops/shop-list/shop-edit/ShopApiCredentials.vue","webpack:///./src/views/onboarding/shops/shop-list/shop-edit/ShopCheckoutPageSettings.vue?58d9","webpack:///./src/views/onboarding/shops/shop-list/shop-edit/useShopCheckoutPageSettings.js","webpack:///src/views/onboarding/shops/shop-list/shop-edit/ShopCheckoutPageSettings.vue","webpack:///./src/views/onboarding/shops/shop-list/shop-edit/ShopCheckoutPageSettings.vue?f4a0","webpack:///../../../src/components/VSlider/VSlider.ts","webpack:///../../../../src/components/VColorPicker/util/index.ts","webpack:///../../../src/components/VColorPicker/VColorPickerPreview.ts","webpack:///../../../src/components/VColorPicker/VColorPickerCanvas.ts","webpack:///../../../src/components/VColorPicker/VColorPickerEdit.ts","webpack:///../../src/util/colors.ts","webpack:///../../../src/components/VColorPicker/VColorPickerSwatches.ts","webpack:///../../../src/components/VColorPicker/VColorPicker.ts","webpack:///../../../src/components/VFileInput/VFileInput.ts","webpack:///./src/views/onboarding/shops/shop-list/shop-edit/ShopCheckoutPageSettings.vue","webpack:///src/views/onboarding/shops/shop-list/shop-edit/Shop.vue","webpack:///./src/views/onboarding/shops/shop-list/shop-edit/Shop.vue?13d6","webpack:///./src/views/onboarding/shops/shop-list/shop-edit/Shop.vue","webpack:///../../../src/components/VTooltip/VTooltip.ts","webpack:///./src/views/onboarding/shops/shop-list/shop-edit/ShopCheckoutPageSettings.vue?a7c1","webpack:///./src/views/onboarding/shops/shop-list/shop-edit/ShopApiCredentials.vue?53ce","webpack:///./src/views/onboarding/shops/shopsStoreModule.js","webpack:///./src/components/VToast.vue?4f80","webpack:///src/components/VToast.vue","webpack:///./src/components/VToast.vue?3160","webpack:///./src/components/VToast.vue","webpack:///../../../src/components/VBtn/index.ts","webpack:///./src/plugins/axios.js","webpack:///./src/assets/images/3d-characters/pose-2.png"],"names":["VTextField","_vm","this","_h","$createElement","_c","_self","attrs","model","value","callback","$$v","tab","expression","_l","key","icon","staticClass","_v","_s","title","shopModel","on","showSnackbarMessage","shopId","ref","staticRenderFns","shopModelLocale","shopName","$event","preventDefault","saveChanges","apply","arguments","valid","$set","validators","required","emailValidator","loading","$router","back","props","type","Object","default","setup","emit","toRefs","form","validate","emitErrorMessage","errors","messages","store","dispatch","then","response","message","code","catch","error","data","finally","icons","mdiAlertOutline","mdiCloudUploadOutline","mdiEyeOutline","mdiEyeOffOutline","component","VBtn","VCard","VCardText","VCardTitle","VCol","VForm","VRow","isApiKeyVisible","slot","copyToClipboard","apiKey","mdiContentCopy","isSecretKeyVisible","secretKey","generateApiCredentials","sendApiCredentialsByEmail","JSON","parse","stringify","isCPasswordVisible","currentPassword","newPassword","cPassword","navigator","clipboard","writeText","mdiKeyOutline","mdiLockOpenOutline","VDivider","VIcon","VImg","showLogoDialog","logoUrl","showFaviconDialog","faviconUrl","scopedSlots","_u","fn","_g","_b","primaryColor","clickColor","secondaryColor","backgroundColor","onSaveChanges","isAdd","_e","showResetSettingsDialog","onLogoFileChange","logoFileModel","onSetLogo","onFaviconFileChange","faviconFileModel","onSetFavicon","showColorsDialog","titleColorSetting","colorSetting","onSetColor","onResetSettings","useShopCheckoutPageSettings","STORE_MODULE_NAME","hasModule","registerModule","storeModule","colorTypeSetting","hideCompletedFields","hideHeaderTitle","hideHeaderLogo","logoFile","faviconfile","file","createFormData","formData","FormData","set","id","colorType","console","log","URL","createObjectURL","async","actionName","setTimeout","router","fetch","onMounted","onBeforeUnmount","revokeObjectURL","String","mixins","VInput","Loadable","extend","name","directives","ClickOutside","disabled","Boolean","inverseLabel","max","Number","min","step","thumbColor","thumbLabel","undefined","validator","v","thumbSize","tickLabels","Array","ticks","tickSize","trackColor","trackFillColor","vertical","app","oldValue","thumbPressed","mouseTimeout","isFocused","isActive","noClick","startOffset","computed","classes","options","call","internalValue","get","lazyValue","val","isNaN","minValue","roundValue","Math","maxValue","$emit","trackTransition","showTicks","stepNumeric","parseFloat","inputWidth","trackFillStyles","startDir","endDir","valueDir","start","$vuetify","rtl","end","isDisabled","transition","trackStyles","length","numTicks","ceil","showThumbLabel","$scopedSlots","computedTrackColor","isDark","validationState","computedTrackFillColor","computedColor","computedThumbColor","watch","parsed","handler","immediate","mounted","document","querySelector","consoleWarn","methods","genDefaultSlot","children","genLabel","slider","genSlider","unshift","push","genProgress","class","isReadonly","themeClasses","onBlur","click","onSliderClick","mousedown","onSliderMouseDown","touchstart","genChildren","genInput","genTrackContainer","genSteps","genThumbContainer","onFocus","computedId","readonly","tabindex","$attrs","setBackgroundColor","style","range","createRange","direction","offsetDirection","reverse","map","index","width","filled","height","valueWidth","genThumb","thumbLabelContent","genThumbLabelContent","genThumbLabel","setTextColor","getThumbContainerStyles","role","label","focus","blur","keydown","onKeyDown","content","size","convertToUnit","transform","VScaleTransition","origin","e","_a","target","matches","domRect","getBoundingClientRect","touch","touches","clientY","top","clientX","left","window","clearTimeout","mouseUpOptions","passiveSupported","passive","capture","mouseMoveOptions","isTouchEvent","onMouseMove","addEventListener","addOnceEventListener","onSliderMouseUp","stopPropagation","removeEventListener","deepEqual","parseMouseMove","isInteractive","parseKeyDown","thumb","$refs","trackStart","trackLength","track","clickOffset","clickPos","pageup","pagedown","home","right","down","up","keyCodes","includes","keyCode","steps","increase","multiplier","shiftKey","ctrlKey","trimmedStep","toString","trim","decimals","indexOf","offset","newValue","round","toFixed","fromHSVA","hsva","hexa","HSVAtoHex","hsla","HSVAtoHSLA","rgba","HSVAtoRGBA","alpha","a","hex","substr","hue","h","fromHSLA","HSLAtoHSVA","fromRGBA","RGBAtoHSVA","RGBAtoHex","fromHexa","HexToHSVA","fromHex","parseHex","has","obj","every","k","hasOwnProperty","parseColor","color","oldColor","r","g","b","stripAlpha","rest","extractColor","input","shouldStrip","hasAlpha","Vue","hideAlpha","genAlpha","genTrack","hideDetails","backgroundImage","RGBtoCSS","genSliders","genHue","genDot","background","RGBAtoCSS","VSlider","render","dotSize","boundingRect","dot","x","s","parseInt","y","updateCanvas","emitColor","clamp","canvas","ctx","getContext","saturationGradient","createLinearGradient","addColorStop","fillStyle","fillRect","valueGradient","handleClick","$el","handleMouseDown","handleMouseMove","handleMouseUp","genCanvas","radius","modes","inputs","from","hideModeSwitch","mode","keys","internalMode","currentMode","created","getValue","parseValue","changeMode","newMode","domProps","toUpperCase","genInputs","endsWith","maxlength","change","el","slice","newVal","assign","genSwitch","small","red","freeze","base","lighten5","lighten4","lighten3","lighten2","lighten1","darken1","darken2","darken3","darken4","accent1","accent2","accent3","accent4","pink","purple","deepPurple","indigo","blue","lightBlue","cyan","teal","green","lightGreen","lime","yellow","amber","orange","deepOrange","brown","blueGrey","grey","shades","black","white","transparent","parseDefaultColors","colors","Themeable","swatches","maxWidth","maxHeight","genColor","dark","contrastRatio","light","genSwatches","swatch","Elevatable","canvasHeight","flat","hideCanvas","hideSliders","hideInputs","showSwatches","swatchesMaxHeight","updateColor","VColorPickerCanvas","genControls","genPreview","genEdit","VColorPickerEdit","VColorPickerPreview","VColorPickerSwatches","VSheet","elevationClasses","prop","event","chips","clearable","counterSizeString","counterString","hideInput","multiple","placeholder","prependIcon","showSize","smallChips","truncateLength","wrapInArray","computedCounterValue","fileCount","File","lang","t","bytes","internalArrayValue","reduce","humanReadableFileSize","isDirty","isLabelActive","text","persistentPlaceholder","hasLabel","truncatedText","truncateText","hasChips","consoleError","files","clearableCallback","genChips","VChip","click:close","splice","genControl","mergeStyles","display","onInput","genSelections","genPrependSlot","genIcon","genSlot","genSelectionText","counter","selection","forEach","genTextFieldSlot","node","nodeName","initialValue","str","charsKeepOneSide","floor","VCardActions","VCardSubtitle","VColorPicker","VDialog","VFileInput","VSpacer","VSwitch","VTooltip","components","VToast","ShopAccount","ShopApiCredentials","ShopCheckoutPageSettings","shopsStoreModule","onUnmounted","unregisterModule","vtoast","route","useRouter","tabs","mdiAccountOutline","mdiCogOutline","show","fetchShop","axios","params","mdiInformationOutline","mdiBookmarkOutline","mdiBellOutline","VTab","VTabItem","VTabs","VTabsItems","Colorable","Delayable","Dependent","Menuable","closeDelay","openDelay","openOnHover","openOnFocus","tag","calculatedMinWidth","closeDependents","calculatedLeft","activator","dimensions","unknown","bottom","activatorLeft","attach","offsetLeft","nudgeLeft","nudgeRight","calcXOverflow","calculatedTop","activatorTop","offsetTop","nudgeTop","nudgeBottom","pageYOffset","calcYOverflow","computedTransition","offsetY","offsetX","styles","minWidth","zIndex","activeZIndex","beforeMount","$nextTick","callActivate","getSlotType","activate","updateDimensions","requestAnimationFrame","startTransition","deactivate","runDelay","genActivatorListeners","listeners","Activatable","getActivator","esc","genActivatorAttributes","genTransition","genContent","contentClass","menuable__content__active","activatorFixed","getScopeIdAttrs","isContentActive","getContentSlot","showLazyContent","genActivator","namespaced","state","getters","mutations","actions","fetchConfig","Promise","resolve","reject","fetchList","queryParams","update","put","post","fetchCheckoutPageSetting","createCheckoutPageSetting","headers","updateCheckoutPageSetting","resetCheckoutPageSetting","delete","snackbar","timeout","msg","visible","mdiCheck","mdiCancel","VSnackbar","axiosIns","create","baseURL","process","interceptors","request","use","config","accessToken","localStorage","getItem","Authorization","err","status","clear","location","href","prototype","$http","module","exports"],"mappings":"yIAAA,gBAGeA,e,2CCHf,IAAI,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAA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Ia,OAAA2C,EAAiB,QAOhC,IAAkBA,EAAW,CAACC,OAAA,KAAK6B,QAAA,KAAMumB,YAAA,Q,kICzBzC,gBAGepoB,e,yDCHf,qCAIA,MAAMqoB,EAAWlG,IAAMmG,OAAO,CAK5BC,QAASC,2CACTd,QAAS,CAAE,eAAgB,mBAAoB,gBAAiB,cAGlEW,EAASI,aAAaC,QAAQC,IAC5BC,IAGE,MAAMC,EAAcC,aAAaC,QAAQ,eAKzC,OAFIF,IAAaD,EAAOlB,QAAQsB,cAAiB,UAASH,GAEnDD,GAETrpB,IACEynB,QAAQE,OAAO3nB,KAInB8oB,EAASI,aAAatpB,SAASwpB,IAAIxpB,GAAYA,EAAU8pB,IAC3B,MAAxBA,EAAI9pB,SAAS+pB,SACfJ,aAAaK,QACb9Z,OAAO+Z,SAASC,KAAO,UAGlBrC,QAAQE,OAAO+B,KAGxBpU,aAAIyU,UAAUC,MAAQlB,EAEPA,U,qBCxCfmB,EAAOC,QAAU,IAA0B,2B","file":"js/chunk-4dadf6b8.81800164.js","sourcesContent":["import VTextField from './VTextField'\n\nexport { VTextField }\nexport default VTextField\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',{attrs:{\"id\":\"account-setting-card\"}},[_c('v-tabs',{attrs:{\"show-arrows\":\"\"},model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},_vm._l((_vm.tabs),function(tab){return _c('v-tab',{key:tab.icon},[_c('v-icon',{staticClass:\"me-3\",attrs:{\"size\":\"20\"}},[_vm._v(\" \"+_vm._s(tab.icon)+\" \")]),_c('span',[_vm._v(_vm._s(tab.title))])],1)}),1),_c('v-tabs-items',{model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[_c('v-tab-item',[_c('shop-account',{attrs:{\"shop-model\":_vm.shopModel},on:{\"on-show-message\":_vm.showSnackbarMessage}})],1),_c('v-tab-item',[_c('shop-api-credentials',{attrs:{\"shop-model\":_vm.shopModel},on:{\"copied-to-clipboard\":_vm.showSnackbarMessage,\"on-show-message\":_vm.showSnackbarMessage}})],1),_c('v-tab-item',[_c('shop-checkout-page-settings',{attrs:{\"shop-id\":_vm.shopModel.shopId},on:{\"on-show-message\":_vm.showSnackbarMessage}})],1)],1),_c('v-toast',{ref:\"vtoast\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',{staticClass:\"pa-3 mt-2\",attrs:{\"flat\":\"\"}},[_c('v-card-title',[_c('span',[_vm._v(_vm._s(_vm.shopModelLocale.shopName))])]),_c('v-card-text',[_c('v-form',{ref:\"form\",staticClass:\"multi-col-validation mt-6\",on:{\"submit\":function($event){$event.preventDefault();return _vm.saveChanges.apply(null, arguments)}},model:{value:(_vm.valid),callback:function ($$v) {_vm.valid=$$v},expression:\"valid\"}},[_c('v-row',[_c('v-col',{attrs:{\"md\":\"4\",\"cols\":\"12\"}},[_c('v-text-field',{attrs:{\"label\":\"Merchant Name\",\"dense\":\"\",\"outlined\":\"\",\"readonly\":\"\",\"disabled\":\"\"},model:{value:(_vm.shopModelLocale.companyName),callback:function ($$v) {_vm.$set(_vm.shopModelLocale, \"companyName\", $$v)},expression:\"shopModelLocale.companyName\"}})],1),_c('v-col',{attrs:{\"md\":\"4\",\"cols\":\"12\"}},[_c('v-text-field',{attrs:{\"label\":\"Shop Code\",\"dense\":\"\",\"outlined\":\"\",\"readonly\":\"\",\"disabled\":\"\"},model:{value:(_vm.shopModelLocale.shopCode),callback:function ($$v) {_vm.$set(_vm.shopModelLocale, \"shopCode\", $$v)},expression:\"shopModelLocale.shopCode\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"4\"}},[_c('v-text-field',{attrs:{\"dense\":\"\",\"label\":\"Shop URL\",\"outlined\":\"\",\"readonly\":\"\",\"disabled\":\"\"},model:{value:(_vm.shopModelLocale.shopUrl),callback:function ($$v) {_vm.$set(_vm.shopModelLocale, \"shopUrl\", $$v)},expression:\"shopModelLocale.shopUrl\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"4\"}},[_c('v-text-field',{attrs:{\"rules\":[_vm.validators.required, _vm.validators.emailValidator],\"dense\":\"\",\"label\":\"Contact E-mail\",\"outlined\":\"\"},model:{value:(_vm.shopModelLocale.contactEmail),callback:function ($$v) {_vm.$set(_vm.shopModelLocale, \"contactEmail\", $$v)},expression:\"shopModelLocale.contactEmail\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"4\"}},[_c('v-text-field',{attrs:{\"dense\":\"\",\"label\":\"Contact Phone\",\"outlined\":\"\"},model:{value:(_vm.shopModelLocale.contactPhone),callback:function ($$v) {_vm.$set(_vm.shopModelLocale, \"contactPhone\", $$v)},expression:\"shopModelLocale.contactPhone\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"4\"}},[_c('v-text-field',{attrs:{\"rules\":[_vm.validators.required],\"dense\":\"\",\"label\":\"Contact Name\",\"outlined\":\"\"},model:{value:(_vm.shopModelLocale.contactName),callback:function ($$v) {_vm.$set(_vm.shopModelLocale, \"contactName\", $$v)},expression:\"shopModelLocale.contactName\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"8\"}},[_c('v-text-field',{attrs:{\"dense\":\"\",\"label\":\"Notification URL\",\"outlined\":\"\"},model:{value:(_vm.shopModelLocale.notificationUrl),callback:function ($$v) {_vm.$set(_vm.shopModelLocale, \"notificationUrl\", $$v)},expression:\"shopModelLocale.notificationUrl\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"4\"}},[_c('v-text-field',{attrs:{\"rules\":[_vm.validators.required, _vm.validators.emailValidator],\"dense\":\"\",\"label\":\"Notification E-mail\",\"outlined\":\"\"},model:{value:(_vm.shopModelLocale.notificationEmail),callback:function ($$v) {_vm.$set(_vm.shopModelLocale, \"notificationEmail\", $$v)},expression:\"shopModelLocale.notificationEmail\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-btn',{staticClass:\"me-3 mt-4\",attrs:{\"color\":\"primary\",\"loading\":_vm.loading,\"type\":\"submit\",\"disabled\":!_vm.valid}},[_vm._v(\" Save changes \")]),_c('v-btn',{staticClass:\"mt-4\",attrs:{\"color\":\"secondary\",\"outlined\":\"\"},on:{\"click\":function($event){return _vm.$router.back()}}},[_vm._v(\" Cancel \")])],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/@vue/cli-plugin-babel/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!./ShopAccount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/@vue/cli-plugin-babel/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!./ShopAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ShopAccount.vue?vue&type=template&id=2edfb722&\"\nimport script from \"./ShopAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./ShopAccount.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCard,VCardText,VCardTitle,VCol,VForm,VRow,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',{staticClass:\"mt-5\",attrs:{\"flat\":\"\"}},[_c('v-form',[_c('div',{staticClass:\"px-3\"},[_c('v-card-text',{staticClass:\"pt-5\"},[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"8\",\"md\":\"6\"}},[_c('v-text-field',{attrs:{\"type\":_vm.isApiKeyVisible ? 'text' : 'password',\"label\":\"Api Key\",\"outlined\":\"\",\"dense\":\"\",\"readonly\":\"\"},model:{value:(_vm.shopModelLocale.apiKey),callback:function ($$v) {_vm.$set(_vm.shopModelLocale, \"apiKey\", $$v)},expression:\"shopModelLocale.apiKey\"}},[_c('template',{slot:\"append\"},[_c('v-icon',{staticClass:\"mr-3\",attrs:{\"size\":\"20\"},on:{\"click\":function($event){_vm.isApiKeyVisible = !_vm.isApiKeyVisible}}},[_vm._v(\" \"+_vm._s(_vm.isApiKeyVisible ? _vm.icons.mdiEyeOffOutline:_vm.icons.mdiEyeOutline)+\" \")]),_c('v-icon',{attrs:{\"size\":\"20\"},on:{\"click\":function($event){return _vm.copyToClipboard(_vm.shopModelLocale.apiKey)}}},[_vm._v(\" \"+_vm._s(_vm.icons.mdiContentCopy)+\" \")])],1)],2),_c('v-text-field',{attrs:{\"type\":_vm.isSecretKeyVisible ? 'text' : 'password',\"label\":\"Secret Key\",\"outlined\":\"\",\"dense\":\"\",\"persistent-hint\":\"\",\"readonly\":\"\"},model:{value:(_vm.shopModelLocale.secretKey),callback:function ($$v) {_vm.$set(_vm.shopModelLocale, \"secretKey\", $$v)},expression:\"shopModelLocale.secretKey\"}},[_c('template',{slot:\"append\"},[_c('v-icon',{staticClass:\"mr-3\",attrs:{\"size\":\"20\"},on:{\"click\":function($event){_vm.isSecretKeyVisible = !_vm.isSecretKeyVisible}}},[_vm._v(\" \"+_vm._s(_vm.isSecretKeyVisible ? _vm.icons.mdiEyeOffOutline:_vm.icons.mdiEyeOutline)+\" \")]),_c('v-icon',{attrs:{\"size\":\"20\"},on:{\"click\":function($event){return _vm.copyToClipboard(_vm.shopModelLocale.secretKey)}}},[_vm._v(\" \"+_vm._s(_vm.icons.mdiContentCopy)+\" \")])],1)],2)],1),_c('v-col',{staticClass:\"d-none d-sm-flex justify-center position-relative\",attrs:{\"cols\":\"12\",\"sm\":\"4\",\"md\":\"6\"}},[_c('v-img',{staticClass:\"security-character\",attrs:{\"contain\":\"\",\"max-width\":\"100\",\"src\":require(\"@/assets/images/3d-characters/pose-2.png\")}})],1)],1)],1)],1),_c('v-divider'),_c('div',{staticClass:\"pa-3\"},[_c('v-card-text',{staticClass:\"api-creds text-center mx-auto\"},[_c('v-btn',{staticClass:\"mt-3\",attrs:{\"color\":\"error\",\"outlined\":\"\",\"loading\":_vm.loading},on:{\"click\":_vm.generateApiCredentials}},[_vm._v(\" Generate New Api Credentials \")]),_c('p',{staticClass:\"text-base text--primary font-weight-semibold mt-3\"},[_vm._v(\" Take into account that generating new API Credentials will impact in your current integration \")]),_c('p',{staticClass:\"text-sm text--primary\"},[_vm._v(\" Click the button above to create new Api Credentials. (The generated API Credentials will not be saved or replaced unless you click on \\\"Save Shanges\\\"). \")])],1),_c('v-card-text',[_c('v-btn',{staticClass:\"me-3 mt-3\",attrs:{\"color\":\"primary\",\"loading\":_vm.loading},on:{\"click\":_vm.saveChanges}},[_vm._v(\" Save changes \")]),_c('v-btn',{staticClass:\"me-3 mt-3\",attrs:{\"color\":\"secondary\",\"outlined\":\"\",\"loading\":_vm.loading},on:{\"click\":_vm.sendApiCredentialsByEmail}},[_vm._v(\" Send Api Credentials \")]),_c('v-btn',{staticClass:\"mt-3\",attrs:{\"color\":\"secondary\",\"outlined\":\"\"},on:{\"click\":function($event){return _vm.$router.back()}}},[_vm._v(\" Cancel \")])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/@vue/cli-plugin-babel/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!./ShopApiCredentials.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/@vue/cli-plugin-babel/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!./ShopApiCredentials.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ShopApiCredentials.vue?vue&type=template&id=4ca1971f&scoped=true&\"\nimport script from \"./ShopApiCredentials.vue?vue&type=script&lang=js&\"\nexport * from \"./ShopApiCredentials.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ShopApiCredentials.vue?vue&type=style&index=0&id=4ca1971f&prod&lang=scss&scoped=true&\"\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 \"4ca1971f\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCard,VCardText,VCol,VDivider,VForm,VIcon,VImg,VRow,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',{staticClass:\"pa-3 mt-2\",attrs:{\"flat\":\"\"}},[_c('v-card-text',[_c('v-row',{staticClass:\"px-2 ma-0\"},[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('span',[_vm._v(\"Logo\")]),_c('p',{staticClass:\"text-caption\"},[_vm._v(\"This logo will be shown in your checkout page.\")])]),_c('v-col',{staticClass:\"d-flex justify-end\",attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('button',{staticClass:\"image-border cursor-pointer pa-1\",on:{\"click\":function($event){_vm.showLogoDialog = true}}},[_c('v-img',{attrs:{\"src\":_vm.logoUrl,\"height\":\"50\",\"max-width\":\"100px\",\"alt\":\"Logo\",\"hide-details\":\"\",\"contain\":\"\"}})],1)])],1),_c('v-divider'),_c('v-row',{staticClass:\"px-2 ma-0\"},[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('span',[_vm._v(\"Favicon\")]),_c('p',{staticClass:\"text-caption\"},[_vm._v(\"This favicon will be shown in your checkout page.\")])]),_c('v-col',{staticClass:\"d-flex justify-end\",attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('button',{staticClass:\"image-border cursor-pointer pa-1\",on:{\"click\":function($event){_vm.showFaviconDialog = true}}},[_c('v-img',{attrs:{\"src\":_vm.faviconUrl,\"height\":\"50\",\"max-width\":\"100px\",\"alt\":\"Favicon\",\"hide-details\":\"\",\"contain\":\"\"}})],1)])],1),_c('v-divider'),_c('v-row',{staticClass:\"px-2 ma-0\"},[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('span',[_vm._v(\"Colors Settings\")]),_c('p',{staticClass:\"text-caption\"},[_vm._v(\"Customize your theme colours here.\")])]),_c('v-col',{staticClass:\"d-flex justify-end\",attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({attrs:{\"color\":_vm.model.primaryColor},on:{\"click\":function($event){return _vm.clickColor('primary')}}},'v-btn',attrs,false),on))]}}])},[_c('span',[_vm._v(\"Primary Color\")])]),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({staticClass:\"ms-2\",attrs:{\"color\":_vm.model.secondaryColor},on:{\"click\":function($event){return _vm.clickColor('secondary')}}},'v-btn',attrs,false),on))]}}])},[_c('span',[_vm._v(\"Secondary Color\")])]),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({staticClass:\"ms-2\",attrs:{\"color\":_vm.model.backgroundColor},on:{\"click\":function($event){return _vm.clickColor('background')}}},'v-btn',attrs,false),on))]}}])},[_c('span',[_vm._v(\"Background Color\")])])],1)],1),_c('v-divider'),_c('v-row',{staticClass:\"px-2 ma-0\"},[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('span',[_vm._v(\"Hide Completed Fields\")]),_c('p',{staticClass:\"text-caption\"},[_vm._v(\"Activating this option will hide the fields in the customer form if they were previously submitted in the API request.\")])]),_c('v-col',{staticClass:\"d-flex justify-end mt-0 pt-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('v-switch',{attrs:{\"color\":\"primary\",\"hide-details\":\"\"},model:{value:(_vm.model.hideCompletedFields),callback:function ($$v) {_vm.$set(_vm.model, \"hideCompletedFields\", $$v)},expression:\"model.hideCompletedFields\"}})],1)],1),_c('v-divider'),_c('v-row',{staticClass:\"px-2 ma-0\"},[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('span',[_vm._v(\"Hide Header Title\")]),_c('p',{staticClass:\"text-caption\"},[_vm._v(\"Check this if you like to hide the checkout title.\")])]),_c('v-col',{staticClass:\"d-flex justify-end mt-0 pt-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('v-switch',{attrs:{\"color\":\"primary\",\"hide-details\":\"\"},model:{value:(_vm.model.hideHeaderTitle),callback:function ($$v) {_vm.$set(_vm.model, \"hideHeaderTitle\", $$v)},expression:\"model.hideHeaderTitle\"}})],1)],1),_c('v-divider'),_c('v-row',{staticClass:\"px-2 ma-0\"},[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('span',[_vm._v(\"Hide Header Logo\")]),_c('p',{staticClass:\"text-caption\"},[_vm._v(\"Check this if you like to hide the logo from the header.\")])]),_c('v-col',{staticClass:\"d-flex justify-end mt-0 pt-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('v-switch',{attrs:{\"color\":\"primary\",\"hide-details\":\"\"},model:{value:(_vm.model.hideHeaderLogo),callback:function ($$v) {_vm.$set(_vm.model, \"hideHeaderLogo\", $$v)},expression:\"model.hideHeaderLogo\"}})],1)],1),_c('v-divider'),_c('v-row',{staticClass:\"mt-4\"},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-btn',{staticClass:\"me-3 mt-4\",attrs:{\"color\":\"primary\",\"loading\":_vm.loading,\"disabled\":_vm.loading},on:{\"click\":_vm.onSaveChanges}},[_vm._v(\" Save Settings \")]),(!_vm.isAdd)?_c('v-btn',{staticClass:\"mt-4\",attrs:{\"color\":\"secondary\",\"outlined\":\"\"},on:{\"click\":function($event){_vm.showResetSettingsDialog = true}}},[_vm._v(\" Reset Settings \")]):_vm._e()],1)],1)],1),_c('v-dialog',{attrs:{\"persistent\":\"\",\"width\":\"500\"},model:{value:(_vm.showLogoDialog),callback:function ($$v) {_vm.showLogoDialog=$$v},expression:\"showLogoDialog\"}},[_c('v-card',[_c('v-card-title',[_vm._v(\" Logo \")]),_c('v-card-text',[_c('v-file-input',{staticClass:\"pt-0\",attrs:{\"label\":\"Upload Logo\",\"accept\":\".png\",\"show-size\":\"\",\"counter\":\"\",\"persistent-hint\":\"\"},on:{\"change\":_vm.onLogoFileChange},model:{value:(_vm.logoFileModel),callback:function ($$v) {_vm.logoFileModel=$$v},expression:\"logoFileModel\"}})],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"error\",\"outlined\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.loading},on:{\"click\":function($event){_vm.showLogoDialog = false}}},[_vm._v(\" Cancel \")]),_c('v-btn',{attrs:{\"color\":\"success\",\"loading\":_vm.loading,\"disabled\":_vm.loading},on:{\"click\":_vm.onSetLogo}},[_vm._v(\" Set Logo \")])],1)],1)],1),_c('v-dialog',{attrs:{\"persistent\":\"\",\"width\":\"500\"},model:{value:(_vm.showFaviconDialog),callback:function ($$v) {_vm.showFaviconDialog=$$v},expression:\"showFaviconDialog\"}},[_c('v-card',[_c('v-card-title',[_vm._v(\" Favicon \")]),_c('v-card-text',[_c('v-file-input',{staticClass:\"pt-0\",attrs:{\"label\":\"Upload Favicon\",\"accept\":\".ico,.png\",\"show-size\":\"\",\"counter\":\"\",\"persistent-hint\":\"\"},on:{\"change\":_vm.onFaviconFileChange},model:{value:(_vm.faviconFileModel),callback:function ($$v) {_vm.faviconFileModel=$$v},expression:\"faviconFileModel\"}})],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"error\",\"outlined\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.loading},on:{\"click\":function($event){_vm.showFaviconDialog = false}}},[_vm._v(\" Cancel \")]),_c('v-btn',{attrs:{\"color\":\"success\",\"loading\":_vm.loading,\"disabled\":_vm.loading},on:{\"click\":_vm.onSetFavicon}},[_vm._v(\" Set Favicon \")])],1)],1)],1),_c('v-dialog',{attrs:{\"persistent\":\"\",\"width\":\"500\"},model:{value:(_vm.showColorsDialog),callback:function ($$v) {_vm.showColorsDialog=$$v},expression:\"showColorsDialog\"}},[_c('v-card',[_c('v-card-title',[_vm._v(\" \"+_vm._s(_vm.titleColorSetting)+\" \")]),_c('v-card-text',[_c('v-color-picker',{attrs:{\"dot-size\":\"25\",\"mode\":\"hexa\",\"swatches-max-height\":\"200\"},model:{value:(_vm.colorSetting),callback:function ($$v) {_vm.colorSetting=$$v},expression:\"colorSetting\"}})],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"error\",\"outlined\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.loading},on:{\"click\":function($event){_vm.showColorsDialog = false}}},[_vm._v(\" Cancel \")]),_c('v-btn',{attrs:{\"color\":\"success\",\"loading\":_vm.loading,\"disabled\":_vm.loading},on:{\"click\":_vm.onSetColor}},[_vm._v(\" Set Color \")])],1)],1)],1),_c('v-dialog',{attrs:{\"persistent\":\"\",\"width\":\"500\"},model:{value:(_vm.showResetSettingsDialog),callback:function ($$v) {_vm.showResetSettingsDialog=$$v},expression:\"showResetSettingsDialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"},[_vm._v(\" Reset Settings \")]),_c('v-card-subtitle',[_vm._v(\" Your setting will be replaced by the default setting. Do you want to proceed? \")]),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"error\",\"outlined\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.loading},on:{\"click\":function($event){_vm.showResetSettingsDialog = false}}},[_vm._v(\" Cancel \")]),_c('v-btn',{attrs:{\"color\":\"success\",\"loading\":_vm.loading,\"disabled\":_vm.loading},on:{\"click\":_vm.onResetSettings}},[_vm._v(\" Reset Settings \")])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import {\n ref, toRefs, onMounted, onBeforeUnmount,\n} from '@vue/composition-api'\nimport store from '@/store'\nimport router from '@/router'\nimport storeModule from '../../shopsStoreModule'\n\nexport default function useShopCheckoutPageSettings(props, emit) {\n const STORE_MODULE_NAME = 'onboarding-shops'\n\n if (!store.hasModule(STORE_MODULE_NAME)) {\n store.registerModule(STORE_MODULE_NAME, storeModule)\n }\n\n const { shopId } = toRefs(props)\n\n const colorTypeSetting = ref('')\n const titleColorSetting = ref('')\n const colorSetting = ref('')\n\n const showLogoDialog = ref(false)\n const showFaviconDialog = ref(false)\n const showColorsDialog = ref(false)\n const showResetSettingsDialog = ref(false)\n\n const logoFileModel = ref(null)\n const logoUrl = ref(null)\n\n const faviconFileModel = ref(null)\n const faviconUrl = ref(null)\n\n const isAdd = ref(false)\n\n const model = ref({\n shopId: shopId.value,\n primaryColor: '',\n secondaryColor: '',\n backgroundColor: '',\n hideCompletedFields: false,\n hideHeaderTitle: false,\n hideHeaderLogo: false,\n\n logoUrl: '',\n logoFile: null,\n\n faviconUrl: '',\n faviconfile: null,\n })\n\n const loading = ref(false)\n\n const emitErrorMessage = errors => {\n emit('on-show-message', { messages: errors, type: 'error' })\n }\n\n const onLogoFileChange = file => {\n if (file) {\n logoFileModel.value = file\n }\n }\n\n const onFaviconFileChange = file => {\n if (file) {\n faviconFileModel.value = file\n }\n }\n\n const createFormData = () => {\n const formData = new FormData()\n\n if (!isAdd.value) {\n formData.set('shopCheckoutPageConfigId', model.value.id)\n }\n\n formData.set('shopId', shopId.value)\n formData.set('primaryColor', model.value.primaryColor)\n formData.set('secondaryColor', model.value.secondaryColor)\n formData.set('backgroundColor', model.value.backgroundColor)\n formData.set('hideCompletedFields', model.value.hideCompletedFields)\n formData.set('hideHeaderTitle', model.value.hideHeaderTitle)\n formData.set('hideHeaderLogo', model.value.hideHeaderLogo)\n\n if (model.value.logoFile) {\n formData.set('logoFile', model.value.logoFile)\n }\n\n if (model.value.faviconfile) {\n formData.set('faviconfile', model.value.faviconfile)\n }\n\n return formData\n }\n\n const clickColor = colorType => {\n switch (colorType) {\n case 'primary':\n colorSetting.value = model.value.primaryColor\n titleColorSetting.value = 'Primary Color'\n break\n case 'background':\n colorSetting.value = model.value.backgroundColor\n titleColorSetting.value = 'Background Color'\n break\n case 'secondary':\n colorSetting.value = model.value.secondaryColor\n titleColorSetting.value = 'Secondary Color'\n break\n default:\n console.log(`Unknown colorType: ${colorType}`)\n\n return\n }\n colorTypeSetting.value = colorType\n showColorsDialog.value = true\n }\n\n const onSetColor = () => {\n switch (colorTypeSetting.value) {\n case 'primary':\n model.value.primaryColor = colorSetting.value\n break\n case 'background':\n model.value.backgroundColor = colorSetting.value\n break\n case 'secondary':\n model.value.secondaryColor = colorSetting.value\n break\n default:\n console.log(`Unknown colorTypeSetting: ${colorTypeSetting.value}`)\n\n return\n }\n showColorsDialog.value = false\n }\n\n const onSetLogo = () => {\n if (logoFileModel.value === null) return\n\n logoUrl.value = URL.createObjectURL(logoFileModel.value)\n showLogoDialog.value = false\n }\n\n const onSetFavicon = () => {\n if (faviconFileModel.value === null) return\n\n faviconUrl.value = URL.createObjectURL(faviconFileModel.value)\n showFaviconDialog.value = false\n }\n\n const onSaveChanges = async () => {\n try {\n loading.value = true\n model.value.logoFile = logoFileModel.value\n model.value.faviconfile = faviconFileModel.value\n\n const actionName = isAdd.value ? 'createCheckoutPageSetting' : 'updateCheckoutPageSetting'\n\n const formData = createFormData()\n\n const response = await store.dispatch(`${STORE_MODULE_NAME}/${actionName}`, {\n shopId: shopId.value,\n data: formData,\n })\n\n emit('on-show-message', {\n messages: [{ message: 'Your changes have been saved.', code: '000' }],\n type: 'info',\n })\n\n setTimeout(() => {\n router.back()\n }, 2500)\n } catch (error) {\n emitErrorMessage(error.response.data.errors)\n\n return error\n } finally {\n loading.value = false\n }\n }\n\n const onResetSettings = async () => {\n try {\n loading.value = true\n\n const response = await store.dispatch(`${STORE_MODULE_NAME}/resetCheckoutPageSetting`, shopId.value)\n\n emit('on-show-message', { messages: [{ message: 'Your changes have been saved.', code: '000' }], type: 'info' })\n\n setTimeout(() => {\n router.back()\n }, 2500)\n } catch (error) {\n emitErrorMessage(error.response.data.errors)\n\n return error\n } finally {\n loading.value = false\n showResetSettingsDialog.value = false\n }\n }\n\n const fetch = () => {\n loading.value = true\n\n store\n .dispatch(`${STORE_MODULE_NAME}/fetchCheckoutPageSetting`, {\n shopId: shopId.value,\n })\n .then(response => {\n model.value = response.data\n logoUrl.value = model.value.logoUrl\n faviconUrl.value = model.value.faviconUrl\n isAdd.value = model.value.id === null\n })\n .catch(error => {\n emitErrorMessage(error.response.data.errors)\n\n return error\n })\n .finally(() => {\n loading.value = false\n })\n }\n\n onMounted(() => {\n fetch()\n })\n\n onBeforeUnmount(() => {\n if (logoUrl.value) {\n URL.revokeObjectURL(logoUrl.value)\n }\n if (faviconUrl.value) {\n URL.revokeObjectURL(faviconUrl.value)\n }\n })\n\n return {\n onSaveChanges,\n emitErrorMessage,\n loading,\n model,\n onResetSettings,\n showColorsDialog,\n showResetSettingsDialog,\n clickColor,\n colorSetting,\n titleColorSetting,\n onSetColor,\n\n showLogoDialog,\n onSetLogo,\n onLogoFileChange,\n logoFileModel,\n logoUrl,\n\n showFaviconDialog,\n onSetFavicon,\n onFaviconFileChange,\n faviconFileModel,\n faviconUrl,\n\n isAdd,\n }\n}\n","\n\n\n\n\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/@vue/cli-plugin-babel/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!./ShopCheckoutPageSettings.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/@vue/cli-plugin-babel/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!./ShopCheckoutPageSettings.vue?vue&type=script&lang=js&\"","import './VSlider.sass'\n\n// Components\nimport VInput from '../VInput'\nimport { VScaleTransition } from '../transitions'\n\n// Mixins\nimport mixins, { ExtractVue } from '../../util/mixins'\nimport Loadable from '../../mixins/loadable'\n\n// Directives\nimport ClickOutside from '../../directives/click-outside'\n\n// Helpers\nimport { addOnceEventListener, deepEqual, keyCodes, createRange, convertToUnit, passiveSupported } from '../../util/helpers'\nimport { consoleWarn } from '../../util/console'\n\n// Types\nimport Vue, { VNode, VNodeChildrenArrayContents, PropType } from 'vue'\nimport { ScopedSlotChildren } from 'vue/types/vnode'\nimport { PropValidator } from 'vue/types/options'\n\ninterface options extends Vue {\n $refs: {\n track: HTMLElement\n }\n}\n\nexport default mixins\n/* eslint-enable indent */\n>(\n VInput,\n Loadable\n/* @vue/component */\n).extend({\n name: 'v-slider',\n\n directives: {\n ClickOutside,\n },\n\n mixins: [Loadable],\n\n props: {\n disabled: Boolean,\n inverseLabel: Boolean,\n max: {\n type: [Number, String],\n default: 100,\n },\n min: {\n type: [Number, String],\n default: 0,\n },\n step: {\n type: [Number, String],\n default: 1,\n },\n thumbColor: String,\n thumbLabel: {\n type: [Boolean, String] as PropType,\n default: undefined,\n validator: v => typeof v === 'boolean' || v === 'always',\n },\n thumbSize: {\n type: [Number, String],\n default: 32,\n },\n tickLabels: {\n type: Array,\n default: () => ([]),\n } as PropValidator,\n ticks: {\n type: [Boolean, String] as PropType,\n default: false,\n validator: v => typeof v === 'boolean' || v === 'always',\n },\n tickSize: {\n type: [Number, String],\n default: 2,\n },\n trackColor: String,\n trackFillColor: String,\n value: [Number, String],\n vertical: Boolean,\n },\n\n data: () => ({\n app: null as any,\n oldValue: null as any,\n thumbPressed: false,\n mouseTimeout: -1,\n isFocused: false,\n isActive: false,\n noClick: false, // Prevent click event if dragging took place, hack for #7915\n startOffset: 0,\n }),\n\n computed: {\n classes (): object {\n return {\n ...VInput.options.computed.classes.call(this),\n 'v-input__slider': true,\n 'v-input__slider--vertical': this.vertical,\n 'v-input__slider--inverse-label': this.inverseLabel,\n }\n },\n internalValue: {\n get (): number {\n return this.lazyValue\n },\n set (val: number) {\n val = isNaN(val) ? this.minValue : val\n // Round value to ensure the\n // entire slider range can\n // be selected with step\n const value = this.roundValue(Math.min(Math.max(val, this.minValue), this.maxValue))\n\n if (value === this.lazyValue) return\n\n this.lazyValue = value\n\n this.$emit('input', value)\n },\n },\n trackTransition (): string {\n return this.thumbPressed\n ? this.showTicks || this.stepNumeric\n ? '0.1s cubic-bezier(0.25, 0.8, 0.5, 1)'\n : 'none'\n : ''\n },\n minValue (): number {\n return parseFloat(this.min)\n },\n maxValue (): number {\n return parseFloat(this.max)\n },\n stepNumeric (): number {\n return this.step > 0 ? parseFloat(this.step) : 0\n },\n inputWidth (): number {\n const inputWidth = (this.roundValue(this.internalValue) - this.minValue) / (this.maxValue - this.minValue) * 100\n\n return isNaN(inputWidth) ? 0 : inputWidth\n },\n trackFillStyles (): Partial {\n const startDir = this.vertical ? 'bottom' : 'left'\n const endDir = this.vertical ? 'top' : 'right'\n const valueDir = this.vertical ? 'height' : 'width'\n\n const start = this.$vuetify.rtl ? 'auto' : '0'\n const end = this.$vuetify.rtl ? '0' : 'auto'\n const value = this.isDisabled ? `calc(${this.inputWidth}% - 10px)` : `${this.inputWidth}%`\n\n return {\n transition: this.trackTransition,\n [startDir]: start,\n [endDir]: end,\n [valueDir]: value,\n }\n },\n trackStyles (): Partial {\n const startDir = this.vertical ? this.$vuetify.rtl ? 'bottom' : 'top' : this.$vuetify.rtl ? 'left' : 'right'\n const endDir = this.vertical ? 'height' : 'width'\n\n const start = '0px'\n const end = this.isDisabled ? `calc(${100 - this.inputWidth}% - 10px)` : `calc(${100 - this.inputWidth}%)`\n\n return {\n transition: this.trackTransition,\n [startDir]: start,\n [endDir]: end,\n }\n },\n showTicks (): boolean {\n return this.tickLabels.length > 0 ||\n !!(!this.isDisabled && this.stepNumeric && this.ticks)\n },\n numTicks (): number {\n return Math.ceil((this.maxValue - this.minValue) / this.stepNumeric)\n },\n showThumbLabel (): boolean {\n return !this.isDisabled && !!(\n this.thumbLabel ||\n this.$scopedSlots['thumb-label']\n )\n },\n computedTrackColor (): string | undefined {\n if (this.isDisabled) return undefined\n if (this.trackColor) return this.trackColor\n if (this.isDark) return this.validationState\n return this.validationState || 'primary lighten-3'\n },\n computedTrackFillColor (): string | undefined {\n if (this.isDisabled) return undefined\n if (this.trackFillColor) return this.trackFillColor\n return this.validationState || this.computedColor\n },\n computedThumbColor (): string | undefined {\n if (this.thumbColor) return this.thumbColor\n return this.validationState || this.computedColor\n },\n },\n\n watch: {\n min (val) {\n const parsed = parseFloat(val)\n parsed > this.internalValue && this.$emit('input', parsed)\n },\n max (val) {\n const parsed = parseFloat(val)\n parsed < this.internalValue && this.$emit('input', parsed)\n },\n value: {\n handler (v: number) {\n this.internalValue = v\n },\n immediate: true,\n },\n },\n\n mounted () {\n // Without a v-app, iOS does not work with body selectors\n this.app = document.querySelector('[data-app]') ||\n consoleWarn('Missing v-app or a non-body wrapping element with the [data-app] attribute', this)\n },\n\n methods: {\n genDefaultSlot (): VNodeChildrenArrayContents {\n const children: VNodeChildrenArrayContents = [this.genLabel()]\n const slider = this.genSlider()\n this.inverseLabel\n ? children.unshift(slider)\n : children.push(slider)\n\n children.push(this.genProgress())\n\n return children\n },\n genSlider (): VNode {\n return this.$createElement('div', {\n class: {\n 'v-slider': true,\n 'v-slider--horizontal': !this.vertical,\n 'v-slider--vertical': this.vertical,\n 'v-slider--focused': this.isFocused,\n 'v-slider--active': this.isActive,\n 'v-slider--disabled': this.isDisabled,\n 'v-slider--readonly': this.isReadonly,\n ...this.themeClasses,\n },\n directives: [{\n name: 'click-outside',\n value: this.onBlur,\n }],\n on: {\n click: this.onSliderClick,\n mousedown: this.onSliderMouseDown,\n touchstart: this.onSliderMouseDown,\n },\n }, this.genChildren())\n },\n genChildren (): VNodeChildrenArrayContents {\n return [\n this.genInput(),\n this.genTrackContainer(),\n this.genSteps(),\n this.genThumbContainer(\n this.internalValue,\n this.inputWidth,\n this.isActive,\n this.isFocused,\n this.onFocus,\n this.onBlur,\n ),\n ]\n },\n genInput (): VNode {\n return this.$createElement('input', {\n attrs: {\n value: this.internalValue,\n id: this.computedId,\n disabled: true,\n readonly: true,\n tabindex: -1,\n ...this.$attrs,\n },\n // on: this.genListeners(), // TODO: do we need to attach the listeners to input?\n })\n },\n genTrackContainer (): VNode {\n const children = [\n this.$createElement('div', this.setBackgroundColor(this.computedTrackColor, {\n staticClass: 'v-slider__track-background',\n style: this.trackStyles,\n })),\n this.$createElement('div', this.setBackgroundColor(this.computedTrackFillColor, {\n staticClass: 'v-slider__track-fill',\n style: this.trackFillStyles,\n })),\n ]\n\n return this.$createElement('div', {\n staticClass: 'v-slider__track-container',\n ref: 'track',\n }, children)\n },\n genSteps (): VNode | null {\n if (!this.step || !this.showTicks) return null\n\n const tickSize = parseFloat(this.tickSize)\n const range = createRange(this.numTicks + 1)\n const direction = this.vertical ? 'bottom' : (this.$vuetify.rtl ? 'right' : 'left')\n const offsetDirection = this.vertical ? (this.$vuetify.rtl ? 'left' : 'right') : 'top'\n\n if (this.vertical) range.reverse()\n\n const ticks = range.map(index => {\n const children = []\n\n if (this.tickLabels[index]) {\n children.push(this.$createElement('div', {\n staticClass: 'v-slider__tick-label',\n }, this.tickLabels[index]))\n }\n\n const width = index * (100 / this.numTicks)\n const filled = this.$vuetify.rtl ? (100 - this.inputWidth) < width : width < this.inputWidth\n\n return this.$createElement('span', {\n key: index,\n staticClass: 'v-slider__tick',\n class: {\n 'v-slider__tick--filled': filled,\n },\n style: {\n width: `${tickSize}px`,\n height: `${tickSize}px`,\n [direction]: `calc(${width}% - ${tickSize / 2}px)`,\n [offsetDirection]: `calc(50% - ${tickSize / 2}px)`,\n },\n }, children)\n })\n\n return this.$createElement('div', {\n staticClass: 'v-slider__ticks-container',\n class: {\n 'v-slider__ticks-container--always-show': this.ticks === 'always' || this.tickLabels.length > 0,\n },\n }, ticks)\n },\n genThumbContainer (\n value: number,\n valueWidth: number,\n isActive: boolean,\n isFocused: boolean,\n onFocus: Function,\n onBlur: Function,\n ref = 'thumb'\n ): VNode {\n const children = [this.genThumb()]\n\n const thumbLabelContent = this.genThumbLabelContent(value)\n this.showThumbLabel && children.push(this.genThumbLabel(thumbLabelContent))\n\n return this.$createElement('div', this.setTextColor(this.computedThumbColor, {\n ref,\n key: ref,\n staticClass: 'v-slider__thumb-container',\n class: {\n 'v-slider__thumb-container--active': isActive,\n 'v-slider__thumb-container--focused': isFocused,\n 'v-slider__thumb-container--show-label': this.showThumbLabel,\n },\n style: this.getThumbContainerStyles(valueWidth),\n attrs: {\n role: 'slider',\n tabindex: this.isDisabled ? -1 : this.$attrs.tabindex ? this.$attrs.tabindex : 0,\n 'aria-label': this.$attrs['aria-label'] || this.label,\n 'aria-valuemin': this.min,\n 'aria-valuemax': this.max,\n 'aria-valuenow': this.internalValue,\n 'aria-readonly': String(this.isReadonly),\n 'aria-orientation': this.vertical ? 'vertical' : 'horizontal',\n },\n on: {\n focus: onFocus,\n blur: onBlur,\n keydown: this.onKeyDown,\n },\n }), children)\n },\n genThumbLabelContent (value: number | string): ScopedSlotChildren {\n return this.$scopedSlots['thumb-label']\n ? this.$scopedSlots['thumb-label']!({ value })\n : [this.$createElement('span', [String(value)])]\n },\n genThumbLabel (content: ScopedSlotChildren): VNode {\n const size = convertToUnit(this.thumbSize)\n\n const transform = this.vertical\n ? `translateY(20%) translateY(${(Number(this.thumbSize) / 3) - 1}px) translateX(55%) rotate(135deg)`\n : `translateY(-20%) translateY(-12px) translateX(-50%) rotate(45deg)`\n\n return this.$createElement(VScaleTransition, {\n props: { origin: 'bottom center' },\n }, [\n this.$createElement('div', {\n staticClass: 'v-slider__thumb-label-container',\n directives: [{\n name: 'show',\n value: this.isFocused || this.isActive || this.thumbLabel === 'always',\n }],\n }, [\n this.$createElement('div', this.setBackgroundColor(this.computedThumbColor, {\n staticClass: 'v-slider__thumb-label',\n style: {\n height: size,\n width: size,\n transform,\n },\n }), [this.$createElement('div', content)]),\n ]),\n ])\n },\n genThumb (): VNode {\n return this.$createElement('div', this.setBackgroundColor(this.computedThumbColor, {\n staticClass: 'v-slider__thumb',\n }))\n },\n getThumbContainerStyles (width: number): object {\n const direction = this.vertical ? 'top' : 'left'\n let value = this.$vuetify.rtl ? 100 - width : width\n value = this.vertical ? 100 - value : value\n\n return {\n transition: this.trackTransition,\n [direction]: `${value}%`,\n }\n },\n onSliderMouseDown (e: MouseEvent | TouchEvent) {\n e.preventDefault()\n\n this.oldValue = this.internalValue\n this.isActive = true\n\n if ((e.target as Element)?.matches('.v-slider__thumb-container, .v-slider__thumb-container *')) {\n this.thumbPressed = true\n const domRect = (e.target as Element).getBoundingClientRect()\n const touch = 'touches' in e ? e.touches[0] : e\n this.startOffset = this.vertical\n ? touch.clientY - (domRect.top + domRect.height / 2)\n : touch.clientX - (domRect.left + domRect.width / 2)\n } else {\n this.startOffset = 0\n window.clearTimeout(this.mouseTimeout)\n this.mouseTimeout = window.setTimeout(() => {\n this.thumbPressed = true\n }, 300)\n }\n\n const mouseUpOptions = passiveSupported ? { passive: true, capture: true } : true\n const mouseMoveOptions = passiveSupported ? { passive: true } : false\n\n const isTouchEvent = 'touches' in e\n\n this.onMouseMove(e)\n this.app.addEventListener(isTouchEvent ? 'touchmove' : 'mousemove', this.onMouseMove, mouseMoveOptions)\n addOnceEventListener(this.app, isTouchEvent ? 'touchend' : 'mouseup', this.onSliderMouseUp, mouseUpOptions)\n\n this.$emit('start', this.internalValue)\n },\n onSliderMouseUp (e: Event) {\n e.stopPropagation()\n window.clearTimeout(this.mouseTimeout)\n this.thumbPressed = false\n const mouseMoveOptions = passiveSupported ? { passive: true } : false\n this.app.removeEventListener('touchmove', this.onMouseMove, mouseMoveOptions)\n this.app.removeEventListener('mousemove', this.onMouseMove, mouseMoveOptions)\n\n this.$emit('mouseup', e)\n this.$emit('end', this.internalValue)\n if (!deepEqual(this.oldValue, this.internalValue)) {\n this.$emit('change', this.internalValue)\n this.noClick = true\n }\n\n this.isActive = false\n },\n onMouseMove (e: MouseEvent | TouchEvent) {\n if (e.type === 'mousemove') {\n this.thumbPressed = true\n }\n this.internalValue = this.parseMouseMove(e)\n },\n onKeyDown (e: KeyboardEvent) {\n if (!this.isInteractive) return\n\n const value = this.parseKeyDown(e, this.internalValue)\n\n if (\n value == null ||\n value < this.minValue ||\n value > this.maxValue\n ) return\n\n this.internalValue = value\n this.$emit('change', value)\n },\n onSliderClick (e: MouseEvent) {\n if (this.noClick) {\n this.noClick = false\n return\n }\n const thumb = this.$refs.thumb as HTMLElement\n thumb.focus()\n\n this.onMouseMove(e)\n this.$emit('change', this.internalValue)\n },\n onBlur (e: Event) {\n this.isFocused = false\n\n this.$emit('blur', e)\n },\n onFocus (e: Event) {\n this.isFocused = true\n\n this.$emit('focus', e)\n },\n parseMouseMove (e: MouseEvent | TouchEvent) {\n const start = this.vertical ? 'top' : 'left'\n const length = this.vertical ? 'height' : 'width'\n const click = this.vertical ? 'clientY' : 'clientX'\n\n const {\n [start]: trackStart,\n [length]: trackLength,\n } = this.$refs.track.getBoundingClientRect()\n const clickOffset = 'touches' in e ? e.touches[0][click] : e[click]\n\n // It is possible for left to be NaN, force to number\n let clickPos = Math.min(Math.max((clickOffset - trackStart - this.startOffset) / trackLength, 0), 1) || 0\n\n if (this.vertical) clickPos = 1 - clickPos\n if (this.$vuetify.rtl) clickPos = 1 - clickPos\n\n return parseFloat(this.min) + clickPos * (this.maxValue - this.minValue)\n },\n parseKeyDown (e: KeyboardEvent, value: number) {\n if (!this.isInteractive) return\n\n const { pageup, pagedown, end, home, left, right, down, up } = keyCodes\n\n if (![pageup, pagedown, end, home, left, right, down, up].includes(e.keyCode)) return\n\n e.preventDefault()\n const step = this.stepNumeric || 1\n const steps = (this.maxValue - this.minValue) / step\n if ([left, right, down, up].includes(e.keyCode)) {\n const increase = this.$vuetify.rtl ? [left, up] : [right, up]\n const direction = increase.includes(e.keyCode) ? 1 : -1\n const multiplier = e.shiftKey ? 3 : (e.ctrlKey ? 2 : 1)\n\n value = value + (direction * step * multiplier)\n } else if (e.keyCode === home) {\n value = this.minValue\n } else if (e.keyCode === end) {\n value = this.maxValue\n } else {\n const direction = e.keyCode === pagedown ? 1 : -1\n value = value - (direction * step * (steps > 100 ? steps / 10 : 10))\n }\n\n return value\n },\n roundValue (value: number): number {\n if (!this.stepNumeric) return value\n // Format input value using the same number\n // of decimals places as in the step prop\n const trimmedStep = this.step.toString().trim()\n const decimals = trimmedStep.indexOf('.') > -1\n ? (trimmedStep.length - trimmedStep.indexOf('.') - 1)\n : 0\n const offset = this.minValue % this.stepNumeric\n\n const newValue = Math.round((value - offset) / this.stepNumeric) * this.stepNumeric + offset\n\n return parseFloat(Math.min(newValue, this.maxValue).toFixed(decimals))\n },\n },\n})\n","// Utilities\nimport {\n HSVA,\n HSVAtoRGBA,\n HSVAtoHex,\n RGBA,\n Hex,\n RGBAtoHSVA,\n HexToHSVA,\n HSLA,\n HSVAtoHSLA,\n RGBAtoHex,\n HSLAtoHSVA,\n parseHex,\n Hexa,\n} from '../../../util/colorUtils'\n\nexport interface VColorPickerColor {\n alpha: number\n hex: Hex\n hexa: Hexa\n hsla: HSLA\n hsva: HSVA\n hue: number\n rgba: RGBA\n}\n\nexport function fromHSVA (hsva: HSVA): VColorPickerColor {\n hsva = { ...hsva }\n const hexa = HSVAtoHex(hsva)\n const hsla = HSVAtoHSLA(hsva)\n const rgba = HSVAtoRGBA(hsva)\n return {\n alpha: hsva.a,\n hex: hexa.substr(0, 7),\n hexa,\n hsla,\n hsva,\n hue: hsva.h,\n rgba,\n }\n}\n\nexport function fromHSLA (hsla: HSLA): VColorPickerColor {\n const hsva = HSLAtoHSVA(hsla)\n const hexa = HSVAtoHex(hsva)\n const rgba = HSVAtoRGBA(hsva)\n return {\n alpha: hsva.a,\n hex: hexa.substr(0, 7),\n hexa,\n hsla,\n hsva,\n hue: hsva.h,\n rgba,\n }\n}\n\nexport function fromRGBA (rgba: RGBA): VColorPickerColor {\n const hsva = RGBAtoHSVA(rgba)\n const hexa = RGBAtoHex(rgba)\n const hsla = HSVAtoHSLA(hsva)\n return {\n alpha: hsva.a,\n hex: hexa.substr(0, 7),\n hexa,\n hsla,\n hsva,\n hue: hsva.h,\n rgba,\n }\n}\n\nexport function fromHexa (hexa: Hexa): VColorPickerColor {\n const hsva = HexToHSVA(hexa)\n const hsla = HSVAtoHSLA(hsva)\n const rgba = HSVAtoRGBA(hsva)\n return {\n alpha: hsva.a,\n hex: hexa.substr(0, 7),\n hexa,\n hsla,\n hsva,\n hue: hsva.h,\n rgba,\n }\n}\n\nexport function fromHex (hex: Hex): VColorPickerColor {\n return fromHexa(parseHex(hex))\n}\n\nfunction has (obj: object, key: string[]) {\n return key.every(k => obj.hasOwnProperty(k))\n}\n\nexport function parseColor (color: any, oldColor: VColorPickerColor | null) {\n if (!color) return fromRGBA({ r: 255, g: 0, b: 0, a: 1 })\n\n if (typeof color === 'string') {\n if (color === 'transparent') return fromHexa('#00000000')\n\n const hex = parseHex(color)\n\n if (oldColor && hex === oldColor.hexa) return oldColor\n else return fromHexa(hex)\n }\n\n if (typeof color === 'object') {\n if (color.hasOwnProperty('alpha')) return color\n\n const a = color.hasOwnProperty('a') ? parseFloat(color.a) : 1\n\n if (has(color, ['r', 'g', 'b'])) {\n if (oldColor && color === oldColor.rgba) return oldColor\n else return fromRGBA({ ...color, a })\n } else if (has(color, ['h', 's', 'l'])) {\n if (oldColor && color === oldColor.hsla) return oldColor\n else return fromHSLA({ ...color, a })\n } else if (has(color, ['h', 's', 'v'])) {\n if (oldColor && color === oldColor.hsva) return oldColor\n else return fromHSVA({ ...color, a })\n }\n }\n\n return fromRGBA({ r: 255, g: 0, b: 0, a: 1 })\n}\n\nfunction stripAlpha (color: any, stripAlpha: boolean) {\n if (stripAlpha) {\n const { a, ...rest } = color\n\n return rest\n }\n\n return color\n}\n\nexport function extractColor (color: VColorPickerColor, input: any) {\n if (input == null) return color\n\n if (typeof input === 'string') {\n return input.length === 7 ? color.hex : color.hexa\n }\n\n if (typeof input === 'object') {\n const shouldStrip = typeof input.a === 'number' && input.a === 0 ? !!input.a : !input.a\n if (has(input, ['r', 'g', 'b'])) return stripAlpha(color.rgba, shouldStrip)\n else if (has(input, ['h', 's', 'l'])) return stripAlpha(color.hsla, shouldStrip)\n else if (has(input, ['h', 's', 'v'])) return stripAlpha(color.hsva, shouldStrip)\n }\n\n return color\n}\n\nexport function hasAlpha (color: any) {\n if (!color) return false\n\n if (typeof color === 'string') {\n return color.length > 7\n }\n\n if (typeof color === 'object') {\n return has(color, ['a']) || has(color, ['alpha'])\n }\n\n return false\n}\n","// Styles\nimport './VColorPickerPreview.sass'\n\n// Components\nimport VSlider from '../VSlider/VSlider'\n\n// Utilities\nimport { RGBtoCSS, RGBAtoCSS } from '../../util/colorUtils'\n\n// Types\nimport Vue, { VNode, VNodeData, PropType } from 'vue'\nimport { VColorPickerColor, fromHSVA } from './util'\n\nexport default Vue.extend({\n name: 'v-color-picker-preview',\n\n props: {\n color: Object as PropType,\n disabled: Boolean,\n hideAlpha: Boolean,\n },\n\n methods: {\n genAlpha (): VNode {\n return this.genTrack({\n staticClass: 'v-color-picker__alpha',\n props: {\n thumbColor: 'grey lighten-2',\n hideDetails: true,\n value: this.color.alpha,\n step: 0,\n min: 0,\n max: 1,\n },\n style: {\n backgroundImage: this.disabled\n ? undefined\n : `linear-gradient(to ${this.$vuetify.rtl ? 'left' : 'right'}, transparent, ${RGBtoCSS(this.color.rgba)})`,\n },\n on: {\n input: (val: number) => this.color.alpha !== val && this.$emit('update:color', fromHSVA({ ...this.color.hsva, a: val })),\n },\n })\n },\n genSliders (): VNode {\n return this.$createElement('div', {\n staticClass: 'v-color-picker__sliders',\n }, [\n this.genHue(),\n !this.hideAlpha && this.genAlpha(),\n ])\n },\n genDot (): VNode {\n return this.$createElement('div', {\n staticClass: 'v-color-picker__dot',\n }, [\n this.$createElement('div', {\n style: {\n background: RGBAtoCSS(this.color.rgba),\n },\n }),\n ])\n },\n genHue (): VNode {\n return this.genTrack({\n staticClass: 'v-color-picker__hue',\n props: {\n thumbColor: 'grey lighten-2',\n hideDetails: true,\n value: this.color.hue,\n step: 0,\n min: 0,\n max: 360,\n },\n on: {\n input: (val: number) => this.color.hue !== val && this.$emit('update:color', fromHSVA({ ...this.color.hsva, h: val })),\n },\n })\n },\n genTrack (options: VNodeData): VNode {\n return this.$createElement(VSlider, {\n class: 'v-color-picker__track',\n ...options,\n props: {\n disabled: this.disabled,\n ...options.props,\n },\n })\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: 'v-color-picker__preview',\n class: {\n 'v-color-picker__preview--hide-alpha': this.hideAlpha,\n },\n }, [\n this.genDot(),\n this.genSliders(),\n ])\n },\n})\n","// Styles\nimport './VColorPickerCanvas.sass'\n\n// Helpers\nimport { clamp, convertToUnit } from '../../util/helpers'\nimport { fromHSVA, VColorPickerColor, fromRGBA } from './util'\n\n// Types\nimport Vue, { VNode, PropType } from 'vue'\n\nexport default Vue.extend({\n name: 'v-color-picker-canvas',\n\n props: {\n color: {\n type: Object as PropType,\n default: () => fromRGBA({ r: 255, g: 0, b: 0, a: 1 }),\n },\n disabled: Boolean,\n dotSize: {\n type: [Number, String],\n default: 10,\n },\n height: {\n type: [Number, String],\n default: 150,\n },\n width: {\n type: [Number, String],\n default: 300,\n },\n },\n\n data () {\n return {\n boundingRect: {\n width: 0,\n height: 0,\n left: 0,\n top: 0,\n } as ClientRect,\n }\n },\n\n computed: {\n dot (): { x: number, y: number} {\n if (!this.color) return { x: 0, y: 0 }\n\n return {\n x: this.color.hsva.s * parseInt(this.width, 10),\n y: (1 - this.color.hsva.v) * parseInt(this.height, 10),\n }\n },\n },\n\n watch: {\n 'color.hue': 'updateCanvas',\n },\n\n mounted () {\n this.updateCanvas()\n },\n\n methods: {\n emitColor (x: number, y: number) {\n const { left, top, width, height } = this.boundingRect\n\n this.$emit('update:color', fromHSVA({\n h: this.color.hue,\n s: clamp(x - left, 0, width) / width,\n v: 1 - clamp(y - top, 0, height) / height,\n a: this.color.alpha,\n }))\n },\n updateCanvas () {\n if (!this.color) return\n\n const canvas = this.$refs.canvas as HTMLCanvasElement\n const ctx = canvas.getContext('2d')\n\n if (!ctx) return\n\n const saturationGradient = ctx.createLinearGradient(0, 0, canvas.width, 0)\n saturationGradient.addColorStop(0, 'hsla(0, 0%, 100%, 1)') // white\n saturationGradient.addColorStop(1, `hsla(${this.color.hue}, 100%, 50%, 1)`)\n ctx.fillStyle = saturationGradient\n ctx.fillRect(0, 0, canvas.width, canvas.height)\n\n const valueGradient = ctx.createLinearGradient(0, 0, 0, canvas.height)\n valueGradient.addColorStop(0, 'hsla(0, 0%, 100%, 0)') // transparent\n valueGradient.addColorStop(1, 'hsla(0, 0%, 0%, 1)') // black\n ctx.fillStyle = valueGradient\n ctx.fillRect(0, 0, canvas.width, canvas.height)\n },\n handleClick (e: MouseEvent) {\n if (this.disabled) return\n\n this.boundingRect = this.$el.getBoundingClientRect()\n this.emitColor(e.clientX, e.clientY)\n },\n handleMouseDown (e: MouseEvent) {\n // To prevent selection while moving cursor\n e.preventDefault()\n\n if (this.disabled) return\n\n this.boundingRect = this.$el.getBoundingClientRect()\n\n window.addEventListener('mousemove', this.handleMouseMove)\n window.addEventListener('mouseup', this.handleMouseUp)\n },\n handleMouseMove (e: MouseEvent) {\n if (this.disabled) return\n\n this.emitColor(e.clientX, e.clientY)\n },\n handleMouseUp () {\n window.removeEventListener('mousemove', this.handleMouseMove)\n window.removeEventListener('mouseup', this.handleMouseUp)\n },\n genCanvas (): VNode {\n return this.$createElement('canvas', {\n ref: 'canvas',\n attrs: {\n width: this.width,\n height: this.height,\n },\n })\n },\n genDot (): VNode {\n const radius = parseInt(this.dotSize, 10) / 2\n const x = convertToUnit(this.dot.x - radius)\n const y = convertToUnit(this.dot.y - radius)\n\n return this.$createElement('div', {\n staticClass: 'v-color-picker__canvas-dot',\n class: {\n 'v-color-picker__canvas-dot--disabled': this.disabled,\n },\n style: {\n width: convertToUnit(this.dotSize),\n height: convertToUnit(this.dotSize),\n transform: `translate(${x}, ${y})`,\n },\n })\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: 'v-color-picker__canvas',\n style: {\n width: convertToUnit(this.width),\n height: convertToUnit(this.height),\n },\n on: {\n click: this.handleClick,\n mousedown: this.handleMouseDown,\n },\n }, [\n this.genCanvas(),\n this.genDot(),\n ])\n },\n})\n","// Styles\nimport './VColorPickerEdit.sass'\n\n// Components\nimport VBtn from '../VBtn'\nimport VIcon from '../VIcon'\n\n// Helpers\nimport { parseHex } from '../../util/colorUtils'\n\n// Types\nimport Vue, { VNode, PropType } from 'vue'\nimport { VColorPickerColor, fromRGBA, fromHexa, fromHSLA } from './util'\n\ntype Input = [string, number, string]\n\nexport type Mode = {\n inputs?: Input[]\n from: Function\n}\n\nexport const modes = {\n rgba: {\n inputs: [\n ['r', 255, 'int'],\n ['g', 255, 'int'],\n ['b', 255, 'int'],\n ['a', 1, 'float'],\n ],\n from: fromRGBA,\n },\n hsla: {\n inputs: [\n ['h', 360, 'int'],\n ['s', 1, 'float'],\n ['l', 1, 'float'],\n ['a', 1, 'float'],\n ],\n from: fromHSLA,\n },\n hexa: {\n from: fromHexa,\n },\n} as { [key: string]: Mode }\n\nexport default Vue.extend({\n name: 'v-color-picker-edit',\n\n props: {\n color: Object as PropType,\n disabled: Boolean,\n hideAlpha: Boolean,\n hideModeSwitch: Boolean,\n mode: {\n type: String,\n default: 'rgba',\n validator: (v: string) => Object.keys(modes).includes(v),\n },\n },\n\n data () {\n return {\n modes,\n internalMode: this.mode,\n }\n },\n\n computed: {\n currentMode (): Mode {\n return this.modes[this.internalMode]\n },\n },\n\n watch: {\n mode (mode) {\n this.internalMode = mode\n },\n },\n\n created () {\n this.internalMode = this.mode\n },\n\n methods: {\n getValue (v: any, type: string) {\n if (type === 'float') return Math.round(v * 100) / 100\n else if (type === 'int') return Math.round(v)\n else return 0\n },\n parseValue (v: string, type: string) {\n if (type === 'float') return parseFloat(v)\n else if (type === 'int') return parseInt(v, 10) || 0\n else return 0\n },\n changeMode () {\n const modes = Object.keys(this.modes)\n const index = modes.indexOf(this.internalMode)\n const newMode = modes[(index + 1) % modes.length]\n this.internalMode = newMode\n this.$emit('update:mode', newMode)\n },\n genInput (target: string, attrs: any, value: any, on: any): VNode {\n return this.$createElement('div', {\n staticClass: 'v-color-picker__input',\n }, [\n this.$createElement('input', {\n key: target,\n attrs,\n domProps: {\n value,\n },\n on,\n }),\n this.$createElement('span', target.toUpperCase()),\n ])\n },\n genInputs (): VNode[] | VNode {\n if (this.internalMode === 'hexa') {\n const hex = this.color.hexa\n const value = this.hideAlpha && hex.endsWith('FF') ? hex.substr(0, 7) : hex\n return this.genInput(\n 'hex',\n {\n maxlength: this.hideAlpha ? 7 : 9,\n disabled: this.disabled,\n },\n value,\n {\n change: (e: Event) => {\n const el = e.target as HTMLInputElement\n this.$emit('update:color', this.currentMode.from(parseHex(el.value)))\n },\n }\n )\n } else {\n const inputs = this.hideAlpha ? this.currentMode.inputs!.slice(0, -1) : this.currentMode.inputs!\n return inputs.map(([target, max, type]) => {\n const value = this.color[this.internalMode as keyof VColorPickerColor] as any\n return this.genInput(\n target,\n {\n type: 'number',\n min: 0,\n max,\n step: type === 'float' ? '0.01' : type === 'int' ? '1' : undefined,\n disabled: this.disabled,\n },\n this.getValue(value[target], type),\n {\n input: (e: Event) => {\n const el = e.target as HTMLInputElement\n const newVal = this.parseValue(el.value || '0', type)\n\n this.$emit('update:color', this.currentMode.from(\n Object.assign({}, value, { [target]: newVal }),\n this.color.alpha\n ))\n },\n }\n )\n })\n }\n },\n genSwitch (): VNode {\n return this.$createElement(VBtn, {\n props: {\n small: true,\n icon: true,\n disabled: this.disabled,\n },\n on: {\n click: this.changeMode,\n },\n }, [\n this.$createElement(VIcon, '$unfold'),\n ])\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: 'v-color-picker__edit',\n }, [\n this.genInputs(),\n !this.hideModeSwitch && this.genSwitch(),\n ])\n },\n})\n","const red = Object.freeze({\n base: '#f44336',\n lighten5: '#ffebee',\n lighten4: '#ffcdd2',\n lighten3: '#ef9a9a',\n lighten2: '#e57373',\n lighten1: '#ef5350',\n darken1: '#e53935',\n darken2: '#d32f2f',\n darken3: '#c62828',\n darken4: '#b71c1c',\n accent1: '#ff8a80',\n accent2: '#ff5252',\n accent3: '#ff1744',\n accent4: '#d50000',\n})\n\nconst pink = Object.freeze({\n base: '#e91e63',\n lighten5: '#fce4ec',\n lighten4: '#f8bbd0',\n lighten3: '#f48fb1',\n lighten2: '#f06292',\n lighten1: '#ec407a',\n darken1: '#d81b60',\n darken2: '#c2185b',\n darken3: '#ad1457',\n darken4: '#880e4f',\n accent1: '#ff80ab',\n accent2: '#ff4081',\n accent3: '#f50057',\n accent4: '#c51162',\n})\n\nconst purple = Object.freeze({\n base: '#9c27b0',\n lighten5: '#f3e5f5',\n lighten4: '#e1bee7',\n lighten3: '#ce93d8',\n lighten2: '#ba68c8',\n lighten1: '#ab47bc',\n darken1: '#8e24aa',\n darken2: '#7b1fa2',\n darken3: '#6a1b9a',\n darken4: '#4a148c',\n accent1: '#ea80fc',\n accent2: '#e040fb',\n accent3: '#d500f9',\n accent4: '#aa00ff',\n})\n\nconst deepPurple = Object.freeze({\n base: '#673ab7',\n lighten5: '#ede7f6',\n lighten4: '#d1c4e9',\n lighten3: '#b39ddb',\n lighten2: '#9575cd',\n lighten1: '#7e57c2',\n darken1: '#5e35b1',\n darken2: '#512da8',\n darken3: '#4527a0',\n darken4: '#311b92',\n accent1: '#b388ff',\n accent2: '#7c4dff',\n accent3: '#651fff',\n accent4: '#6200ea',\n})\n\nconst indigo = Object.freeze({\n base: '#3f51b5',\n lighten5: '#e8eaf6',\n lighten4: '#c5cae9',\n lighten3: '#9fa8da',\n lighten2: '#7986cb',\n lighten1: '#5c6bc0',\n darken1: '#3949ab',\n darken2: '#303f9f',\n darken3: '#283593',\n darken4: '#1a237e',\n accent1: '#8c9eff',\n accent2: '#536dfe',\n accent3: '#3d5afe',\n accent4: '#304ffe',\n})\n\nconst blue = Object.freeze({\n base: '#2196f3',\n lighten5: '#e3f2fd',\n lighten4: '#bbdefb',\n lighten3: '#90caf9',\n lighten2: '#64b5f6',\n lighten1: '#42a5f5',\n darken1: '#1e88e5',\n darken2: '#1976d2',\n darken3: '#1565c0',\n darken4: '#0d47a1',\n accent1: '#82b1ff',\n accent2: '#448aff',\n accent3: '#2979ff',\n accent4: '#2962ff',\n})\n\nconst lightBlue = Object.freeze({\n base: '#03a9f4',\n lighten5: '#e1f5fe',\n lighten4: '#b3e5fc',\n lighten3: '#81d4fa',\n lighten2: '#4fc3f7',\n lighten1: '#29b6f6',\n darken1: '#039be5',\n darken2: '#0288d1',\n darken3: '#0277bd',\n darken4: '#01579b',\n accent1: '#80d8ff',\n accent2: '#40c4ff',\n accent3: '#00b0ff',\n accent4: '#0091ea',\n})\n\nconst cyan = Object.freeze({\n base: '#00bcd4',\n lighten5: '#e0f7fa',\n lighten4: '#b2ebf2',\n lighten3: '#80deea',\n lighten2: '#4dd0e1',\n lighten1: '#26c6da',\n darken1: '#00acc1',\n darken2: '#0097a7',\n darken3: '#00838f',\n darken4: '#006064',\n accent1: '#84ffff',\n accent2: '#18ffff',\n accent3: '#00e5ff',\n accent4: '#00b8d4',\n})\n\nconst teal = Object.freeze({\n base: '#009688',\n lighten5: '#e0f2f1',\n lighten4: '#b2dfdb',\n lighten3: '#80cbc4',\n lighten2: '#4db6ac',\n lighten1: '#26a69a',\n darken1: '#00897b',\n darken2: '#00796b',\n darken3: '#00695c',\n darken4: '#004d40',\n accent1: '#a7ffeb',\n accent2: '#64ffda',\n accent3: '#1de9b6',\n accent4: '#00bfa5',\n})\n\nconst green = Object.freeze({\n base: '#4caf50',\n lighten5: '#e8f5e9',\n lighten4: '#c8e6c9',\n lighten3: '#a5d6a7',\n lighten2: '#81c784',\n lighten1: '#66bb6a',\n darken1: '#43a047',\n darken2: '#388e3c',\n darken3: '#2e7d32',\n darken4: '#1b5e20',\n accent1: '#b9f6ca',\n accent2: '#69f0ae',\n accent3: '#00e676',\n accent4: '#00c853',\n})\n\nconst lightGreen = Object.freeze({\n base: '#8bc34a',\n lighten5: '#f1f8e9',\n lighten4: '#dcedc8',\n lighten3: '#c5e1a5',\n lighten2: '#aed581',\n lighten1: '#9ccc65',\n darken1: '#7cb342',\n darken2: '#689f38',\n darken3: '#558b2f',\n darken4: '#33691e',\n accent1: '#ccff90',\n accent2: '#b2ff59',\n accent3: '#76ff03',\n accent4: '#64dd17',\n})\n\nconst lime = Object.freeze({\n base: '#cddc39',\n lighten5: '#f9fbe7',\n lighten4: '#f0f4c3',\n lighten3: '#e6ee9c',\n lighten2: '#dce775',\n lighten1: '#d4e157',\n darken1: '#c0ca33',\n darken2: '#afb42b',\n darken3: '#9e9d24',\n darken4: '#827717',\n accent1: '#f4ff81',\n accent2: '#eeff41',\n accent3: '#c6ff00',\n accent4: '#aeea00',\n})\n\nconst yellow = Object.freeze({\n base: '#ffeb3b',\n lighten5: '#fffde7',\n lighten4: '#fff9c4',\n lighten3: '#fff59d',\n lighten2: '#fff176',\n lighten1: '#ffee58',\n darken1: '#fdd835',\n darken2: '#fbc02d',\n darken3: '#f9a825',\n darken4: '#f57f17',\n accent1: '#ffff8d',\n accent2: '#ffff00',\n accent3: '#ffea00',\n accent4: '#ffd600',\n})\n\nconst amber = Object.freeze({\n base: '#ffc107',\n lighten5: '#fff8e1',\n lighten4: '#ffecb3',\n lighten3: '#ffe082',\n lighten2: '#ffd54f',\n lighten1: '#ffca28',\n darken1: '#ffb300',\n darken2: '#ffa000',\n darken3: '#ff8f00',\n darken4: '#ff6f00',\n accent1: '#ffe57f',\n accent2: '#ffd740',\n accent3: '#ffc400',\n accent4: '#ffab00',\n})\n\nconst orange = Object.freeze({\n base: '#ff9800',\n lighten5: '#fff3e0',\n lighten4: '#ffe0b2',\n lighten3: '#ffcc80',\n lighten2: '#ffb74d',\n lighten1: '#ffa726',\n darken1: '#fb8c00',\n darken2: '#f57c00',\n darken3: '#ef6c00',\n darken4: '#e65100',\n accent1: '#ffd180',\n accent2: '#ffab40',\n accent3: '#ff9100',\n accent4: '#ff6d00',\n})\n\nconst deepOrange = Object.freeze({\n base: '#ff5722',\n lighten5: '#fbe9e7',\n lighten4: '#ffccbc',\n lighten3: '#ffab91',\n lighten2: '#ff8a65',\n lighten1: '#ff7043',\n darken1: '#f4511e',\n darken2: '#e64a19',\n darken3: '#d84315',\n darken4: '#bf360c',\n accent1: '#ff9e80',\n accent2: '#ff6e40',\n accent3: '#ff3d00',\n accent4: '#dd2c00',\n})\n\nconst brown = Object.freeze({\n base: '#795548',\n lighten5: '#efebe9',\n lighten4: '#d7ccc8',\n lighten3: '#bcaaa4',\n lighten2: '#a1887f',\n lighten1: '#8d6e63',\n darken1: '#6d4c41',\n darken2: '#5d4037',\n darken3: '#4e342e',\n darken4: '#3e2723',\n})\n\nconst blueGrey = Object.freeze({\n base: '#607d8b',\n lighten5: '#eceff1',\n lighten4: '#cfd8dc',\n lighten3: '#b0bec5',\n lighten2: '#90a4ae',\n lighten1: '#78909c',\n darken1: '#546e7a',\n darken2: '#455a64',\n darken3: '#37474f',\n darken4: '#263238',\n})\n\nconst grey = Object.freeze({\n base: '#9e9e9e',\n lighten5: '#fafafa',\n lighten4: '#f5f5f5',\n lighten3: '#eeeeee',\n lighten2: '#e0e0e0',\n lighten1: '#bdbdbd',\n darken1: '#757575',\n darken2: '#616161',\n darken3: '#424242',\n darken4: '#212121',\n})\n\nconst shades = Object.freeze({\n black: '#000000',\n white: '#ffffff',\n transparent: 'transparent',\n})\n\nexport default Object.freeze({\n red,\n pink,\n purple,\n deepPurple,\n indigo,\n blue,\n lightBlue,\n cyan,\n teal,\n green,\n lightGreen,\n lime,\n yellow,\n amber,\n orange,\n deepOrange,\n brown,\n blueGrey,\n grey,\n shades,\n})\n","// Styles\nimport './VColorPickerSwatches.sass'\n\n// Components\nimport VIcon from '../VIcon'\n\n// Helpers\nimport colors from '../../util/colors'\nimport { VColorPickerColor, fromHex, parseColor } from './util'\nimport { convertToUnit, deepEqual } from '../../util/helpers'\nimport mixins from '../../util/mixins'\nimport Themeable from '../../mixins/themeable'\n\n// Types\nimport { VNode, PropType } from 'vue'\nimport { contrastRatio } from '../../util/colorUtils'\n\nfunction parseDefaultColors (colors: Record>) {\n return Object.keys(colors).map(key => {\n const color = colors[key]\n return color.base ? [\n color.base,\n color.darken4,\n color.darken3,\n color.darken2,\n color.darken1,\n color.lighten1,\n color.lighten2,\n color.lighten3,\n color.lighten4,\n color.lighten5,\n ] : [\n color.black,\n color.white,\n color.transparent,\n ]\n })\n}\n\nconst white = fromHex('#FFFFFF').rgba\nconst black = fromHex('#000000').rgba\n\nexport default mixins(Themeable).extend({\n name: 'v-color-picker-swatches',\n\n props: {\n swatches: {\n type: Array as PropType,\n default: () => parseDefaultColors(colors),\n },\n disabled: Boolean,\n color: Object as PropType,\n maxWidth: [Number, String],\n maxHeight: [Number, String],\n },\n\n methods: {\n genColor (color: string) {\n const content = this.$createElement('div', {\n style: {\n background: color,\n },\n }, [\n deepEqual(this.color, parseColor(color, null)) && this.$createElement(VIcon, {\n props: {\n small: true,\n dark: contrastRatio(this.color.rgba, white) > 2 && this.color.alpha > 0.5,\n light: contrastRatio(this.color.rgba, black) > 2 && this.color.alpha > 0.5,\n },\n }, '$success'),\n ])\n\n return this.$createElement('div', {\n staticClass: 'v-color-picker__color',\n on: {\n // TODO: Less hacky way of catching transparent\n click: () => this.disabled || this.$emit('update:color', fromHex(color === 'transparent' ? '#00000000' : color)),\n },\n }, [content])\n },\n genSwatches () {\n return this.swatches.map(swatch => {\n const colors = swatch.map(this.genColor)\n\n return this.$createElement('div', {\n staticClass: 'v-color-picker__swatch',\n }, colors)\n })\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: 'v-color-picker__swatches',\n style: {\n maxWidth: convertToUnit(this.maxWidth),\n maxHeight: convertToUnit(this.maxHeight),\n },\n }, [\n this.$createElement('div', this.genSwatches()),\n ])\n },\n})\n","// Styles\nimport './VColorPicker.sass'\n\n// Components\nimport VSheet from '../VSheet/VSheet'\nimport VColorPickerPreview from './VColorPickerPreview'\nimport VColorPickerCanvas from './VColorPickerCanvas'\nimport VColorPickerEdit, { Mode, modes } from './VColorPickerEdit'\nimport VColorPickerSwatches from './VColorPickerSwatches'\n\n// Helpers\nimport { VColorPickerColor, parseColor, fromRGBA, extractColor, hasAlpha } from './util'\nimport mixins from '../../util/mixins'\nimport { deepEqual } from '../../util/helpers'\n\n// Mixins\nimport Elevatable from '../../mixins/elevatable'\nimport Themeable from '../../mixins/themeable'\n\n// Types\nimport { VNode, PropType } from 'vue'\n\nexport default mixins(Elevatable, Themeable).extend({\n name: 'v-color-picker',\n\n props: {\n canvasHeight: {\n type: [String, Number],\n default: 150,\n },\n disabled: Boolean,\n dotSize: {\n type: [Number, String],\n default: 10,\n },\n flat: Boolean,\n hideCanvas: Boolean,\n hideSliders: Boolean,\n hideInputs: Boolean,\n hideModeSwitch: Boolean,\n mode: {\n type: String,\n default: 'rgba',\n validator: (v: string) => Object.keys(modes).includes(v),\n },\n showSwatches: Boolean,\n swatches: Array as PropType,\n swatchesMaxHeight: {\n type: [Number, String],\n default: 150,\n },\n value: {\n type: [Object, String],\n },\n width: {\n type: [Number, String],\n default: 300,\n },\n },\n\n data: () => ({\n internalValue: fromRGBA({ r: 255, g: 0, b: 0, a: 1 }),\n }),\n\n computed: {\n hideAlpha (): boolean {\n if (!this.value) return false\n\n return !hasAlpha(this.value)\n },\n },\n\n watch: {\n value: {\n handler (color: any) {\n this.updateColor(parseColor(color, this.internalValue))\n },\n immediate: true,\n },\n },\n\n methods: {\n updateColor (color: VColorPickerColor) {\n this.internalValue = color\n const value = extractColor(this.internalValue, this.value)\n\n if (!deepEqual(value, this.value)) {\n this.$emit('input', value)\n this.$emit('update:color', this.internalValue)\n }\n },\n genCanvas (): VNode {\n return this.$createElement(VColorPickerCanvas, {\n props: {\n color: this.internalValue,\n disabled: this.disabled,\n dotSize: this.dotSize,\n width: this.width,\n height: this.canvasHeight,\n },\n on: {\n 'update:color': this.updateColor,\n },\n })\n },\n genControls (): VNode {\n return this.$createElement('div', {\n staticClass: 'v-color-picker__controls',\n }, [\n !this.hideSliders && this.genPreview(),\n !this.hideInputs && this.genEdit(),\n ])\n },\n genEdit (): VNode {\n return this.$createElement(VColorPickerEdit, {\n props: {\n color: this.internalValue,\n disabled: this.disabled,\n hideAlpha: this.hideAlpha,\n hideModeSwitch: this.hideModeSwitch,\n mode: this.mode,\n },\n on: {\n 'update:color': this.updateColor,\n 'update:mode': (v: Mode) => this.$emit('update:mode', v),\n },\n })\n },\n genPreview (): VNode {\n return this.$createElement(VColorPickerPreview, {\n props: {\n color: this.internalValue,\n disabled: this.disabled,\n hideAlpha: this.hideAlpha,\n },\n on: {\n 'update:color': this.updateColor,\n },\n })\n },\n genSwatches (): VNode {\n return this.$createElement(VColorPickerSwatches, {\n props: {\n dark: this.dark,\n light: this.light,\n disabled: this.disabled,\n swatches: this.swatches,\n color: this.internalValue,\n maxHeight: this.swatchesMaxHeight,\n },\n on: {\n 'update:color': this.updateColor,\n },\n })\n },\n },\n\n render (h): VNode {\n return h(VSheet, {\n staticClass: 'v-color-picker',\n class: {\n 'v-color-picker--flat': this.flat,\n ...this.themeClasses,\n ...this.elevationClasses,\n },\n props: {\n maxWidth: this.width,\n },\n }, [\n !this.hideCanvas && this.genCanvas(),\n (!this.hideSliders || !this.hideInputs) && this.genControls(),\n this.showSwatches && this.genSwatches(),\n ])\n },\n})\n","// Styles\nimport './VFileInput.sass'\n\n// Extensions\nimport VTextField from '../VTextField'\n\n// Components\nimport { VChip } from '../VChip'\n\n// Types\nimport { PropValidator } from 'vue/types/options'\n\n// Utilities\nimport { deepEqual, humanReadableFileSize, wrapInArray } from '../../util/helpers'\nimport { consoleError } from '../../util/console'\nimport { mergeStyles } from '../../util/mergeData'\n\nexport default VTextField.extend({\n name: 'v-file-input',\n\n model: {\n prop: 'value',\n event: 'change',\n },\n\n props: {\n chips: Boolean,\n clearable: {\n type: Boolean,\n default: true,\n },\n counterSizeString: {\n type: String,\n default: '$vuetify.fileInput.counterSize',\n },\n counterString: {\n type: String,\n default: '$vuetify.fileInput.counter',\n },\n hideInput: Boolean,\n multiple: Boolean,\n placeholder: String,\n prependIcon: {\n type: String,\n default: '$file',\n },\n readonly: {\n type: Boolean,\n default: false,\n },\n showSize: {\n type: [Boolean, Number],\n default: false,\n validator: (v: boolean | number) => {\n return (\n typeof v === 'boolean' ||\n [1000, 1024].includes(v)\n )\n },\n } as PropValidator,\n smallChips: Boolean,\n truncateLength: {\n type: [Number, String],\n default: 22,\n },\n type: {\n type: String,\n default: 'file',\n },\n value: {\n default: undefined,\n validator: val => {\n return wrapInArray(val).every(v => v != null && typeof v === 'object')\n },\n } as PropValidator,\n },\n\n computed: {\n classes (): object {\n return {\n ...VTextField.options.computed.classes.call(this),\n 'v-file-input': true,\n }\n },\n computedCounterValue (): string {\n const fileCount = (this.multiple && this.lazyValue)\n ? this.lazyValue.length\n : (this.lazyValue instanceof File) ? 1 : 0\n\n if (!this.showSize) return this.$vuetify.lang.t(this.counterString, fileCount)\n\n const bytes = this.internalArrayValue.reduce((bytes: number, { size = 0 }: File) => {\n return bytes + size\n }, 0)\n\n return this.$vuetify.lang.t(\n this.counterSizeString,\n fileCount,\n humanReadableFileSize(bytes, this.base === 1024)\n )\n },\n internalArrayValue (): File[] {\n return wrapInArray(this.internalValue)\n },\n internalValue: {\n get (): File[] {\n return this.lazyValue\n },\n set (val: File | File[]) {\n this.lazyValue = val\n this.$emit('change', this.lazyValue)\n },\n },\n isDirty (): boolean {\n return this.internalArrayValue.length > 0\n },\n isLabelActive (): boolean {\n return this.isDirty\n },\n text (): string[] {\n if (!this.isDirty && (this.persistentPlaceholder || this.isFocused || !this.hasLabel)) return [this.placeholder]\n\n return this.internalArrayValue.map((file: File) => {\n const {\n name = '',\n size = 0,\n } = file\n\n const truncatedText = this.truncateText(name)\n\n return !this.showSize\n ? truncatedText\n : `${truncatedText} (${humanReadableFileSize(size, this.base === 1024)})`\n })\n },\n base (): 1000 | 1024 | undefined {\n return typeof this.showSize !== 'boolean' ? this.showSize : undefined\n },\n hasChips (): boolean {\n return this.chips || this.smallChips\n },\n },\n\n watch: {\n readonly: {\n handler (v) {\n if (v === true) consoleError('readonly is not supported on ', this)\n },\n immediate: true,\n },\n value (v) {\n const value = this.multiple ? v : v ? [v] : []\n if (!deepEqual(value, this.$refs.input.files)) {\n // When the input value is changed programatically, clear the\n // internal input's value so that the `onInput` handler\n // can be triggered again if the user re-selects the exact\n // same file(s). Ideally, `input.files` should be\n // manipulated directly but that property is readonly.\n this.$refs.input.value = ''\n }\n },\n },\n\n methods: {\n clearableCallback () {\n this.internalValue = this.multiple ? [] : null\n this.$refs.input.value = ''\n },\n genChips () {\n if (!this.isDirty) return []\n\n return this.text.map((text, index) => this.$createElement(VChip, {\n props: { small: this.smallChips },\n on: {\n 'click:close': () => {\n const internalValue = this.internalValue\n internalValue.splice(index, 1)\n this.internalValue = internalValue // Trigger the watcher\n },\n },\n }, [text]))\n },\n genControl () {\n const render = VTextField.options.methods.genControl.call(this)\n\n if (this.hideInput) {\n render.data!.style = mergeStyles(\n render.data!.style,\n { display: 'none' }\n )\n }\n\n return render\n },\n genInput () {\n const input = VTextField.options.methods.genInput.call(this)\n\n input.data!.attrs!.multiple = this.multiple\n\n // We should not be setting value\n // programmatically on the input\n // when it is using type=\"file\"\n delete input.data!.domProps!.value\n\n // This solves an issue in Safari where\n // nothing happens when adding a file\n // due to the input event not firing\n // https://github.com/vuetifyjs/vuetify/issues/7941\n delete input.data!.on!.input\n input.data!.on!.change = this.onInput\n\n return [this.genSelections(), input]\n },\n genPrependSlot () {\n if (!this.prependIcon) return null\n\n const icon = this.genIcon('prepend', () => {\n this.$refs.input.click()\n })\n\n return this.genSlot('prepend', 'outer', [icon])\n },\n genSelectionText (): string[] {\n const length = this.text.length\n\n if (length < 2) return this.text\n if (this.showSize && !this.counter) return [this.computedCounterValue]\n return [this.$vuetify.lang.t(this.counterString, length)]\n },\n genSelections () {\n const children = []\n\n if (this.isDirty && this.$scopedSlots.selection) {\n this.internalArrayValue.forEach((file: File, index: number) => {\n if (!this.$scopedSlots.selection) return\n\n children.push(\n this.$scopedSlots.selection({\n text: this.text[index],\n file,\n index,\n })\n )\n })\n } else {\n children.push(this.hasChips && this.isDirty ? this.genChips() : this.genSelectionText())\n }\n\n return this.$createElement('div', {\n staticClass: 'v-file-input__text',\n class: {\n 'v-file-input__text--placeholder': this.placeholder && !this.isDirty,\n 'v-file-input__text--chips': this.hasChips && !this.$scopedSlots.selection,\n },\n }, children)\n },\n genTextFieldSlot () {\n const node = VTextField.options.methods.genTextFieldSlot.call(this)\n\n node.data!.on = {\n ...(node.data!.on || {}),\n click: (e: MouseEvent) => {\n // Clicking the label already delegates to input element, so we shouldn't click it twice\n if (e.target && (e.target as HTMLElement).nodeName === 'LABEL') return\n\n this.$refs.input.click()\n },\n }\n\n return node\n },\n onInput (e: Event) {\n const files = [...(e.target as HTMLInputElement).files || []]\n\n this.internalValue = this.multiple ? files : files[0]\n\n // Set initialValue here otherwise isFocused\n // watcher in VTextField will emit a change\n // event whenever the component is blurred\n this.initialValue = this.internalValue\n },\n onKeyDown (e: KeyboardEvent) {\n this.$emit('keydown', e)\n },\n truncateText (str: string) {\n if (str.length < Number(this.truncateLength)) return str\n const charsKeepOneSide = Math.floor((Number(this.truncateLength) - 1) / 2)\n return `${str.slice(0, charsKeepOneSide)}…${str.slice(str.length - charsKeepOneSide)}`\n },\n },\n})\n","import { render, staticRenderFns } from \"./ShopCheckoutPageSettings.vue?vue&type=template&id=69867c4f&scoped=true&\"\nimport script from \"./ShopCheckoutPageSettings.vue?vue&type=script&lang=js&\"\nexport * from \"./ShopCheckoutPageSettings.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ShopCheckoutPageSettings.vue?vue&type=style&index=0&id=69867c4f&prod&lang=scss&scoped=true&\"\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 \"69867c4f\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardSubtitle } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VColorPicker } from 'vuetify/lib/components/VColorPicker';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VFileInput } from 'vuetify/lib/components/VFileInput';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardSubtitle,VCardText,VCardTitle,VCol,VColorPicker,VDialog,VDivider,VFileInput,VImg,VRow,VSpacer,VSwitch,VTooltip})\n","\n\n\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/@vue/cli-plugin-babel/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!./Shop.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/@vue/cli-plugin-babel/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!./Shop.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Shop.vue?vue&type=template&id=8f33c596&\"\nimport script from \"./Shop.vue?vue&type=script&lang=js&\"\nexport * from \"./Shop.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VTab } from 'vuetify/lib/components/VTabs';\nimport { VTabItem } from 'vuetify/lib/components/VTabs';\nimport { VTabs } from 'vuetify/lib/components/VTabs';\nimport { VTabsItems } from 'vuetify/lib/components/VTabs';\ninstallComponents(component, {VCard,VIcon,VTab,VTabItem,VTabs,VTabsItems})\n","import './VTooltip.sass'\n\n// Mixins\nimport Activatable from '../../mixins/activatable'\nimport Colorable from '../../mixins/colorable'\nimport Delayable from '../../mixins/delayable'\nimport Dependent from '../../mixins/dependent'\nimport Menuable from '../../mixins/menuable'\n\n// Helpers\nimport { convertToUnit, keyCodes, getSlotType } from '../../util/helpers'\nimport { consoleError } from '../../util/console'\n\n// Types\nimport { VNode } from 'vue'\nimport mixins from '../../util/mixins'\n\n/* @vue/component */\nexport default mixins(Colorable, Delayable, Dependent, Menuable).extend({\n name: 'v-tooltip',\n\n props: {\n closeDelay: {\n type: [Number, String],\n default: 0,\n },\n disabled: Boolean,\n openDelay: {\n type: [Number, String],\n default: 0,\n },\n openOnHover: {\n type: Boolean,\n default: true,\n },\n openOnFocus: {\n type: Boolean,\n default: true,\n },\n tag: {\n type: String,\n default: 'span',\n },\n transition: String,\n },\n\n data: () => ({\n calculatedMinWidth: 0,\n closeDependents: false,\n }),\n\n computed: {\n calculatedLeft (): string {\n const { activator, content } = this.dimensions\n const unknown = !this.bottom && !this.left && !this.top && !this.right\n const activatorLeft = this.attach !== false ? activator.offsetLeft : activator.left\n let left = 0\n\n if (this.top || this.bottom || unknown) {\n left = (\n activatorLeft +\n (activator.width / 2) -\n (content.width / 2)\n )\n } else if (this.left || this.right) {\n left = (\n activatorLeft +\n (this.right ? activator.width : -content.width) +\n (this.right ? 10 : -10)\n )\n }\n\n if (this.nudgeLeft) left -= parseInt(this.nudgeLeft)\n if (this.nudgeRight) left += parseInt(this.nudgeRight)\n\n return `${this.calcXOverflow(left, this.dimensions.content.width)}px`\n },\n calculatedTop (): string {\n const { activator, content } = this.dimensions\n const activatorTop = this.attach !== false ? activator.offsetTop : activator.top\n let top = 0\n\n if (this.top || this.bottom) {\n top = (\n activatorTop +\n (this.bottom ? activator.height : -content.height) +\n (this.bottom ? 10 : -10)\n )\n } else if (this.left || this.right) {\n top = (\n activatorTop +\n (activator.height / 2) -\n (content.height / 2)\n )\n }\n\n if (this.nudgeTop) top -= parseInt(this.nudgeTop)\n if (this.nudgeBottom) top += parseInt(this.nudgeBottom)\n if (this.attach === false) top += this.pageYOffset\n\n return `${this.calcYOverflow(top)}px`\n },\n classes (): object {\n return {\n 'v-tooltip--top': this.top,\n 'v-tooltip--right': this.right,\n 'v-tooltip--bottom': this.bottom,\n 'v-tooltip--left': this.left,\n 'v-tooltip--attached':\n this.attach === '' ||\n this.attach === true ||\n this.attach === 'attach',\n }\n },\n computedTransition (): string {\n if (this.transition) return this.transition\n\n return this.isActive ? 'scale-transition' : 'fade-transition'\n },\n offsetY (): boolean {\n return this.top || this.bottom\n },\n offsetX (): boolean {\n return this.left || this.right\n },\n styles (): object {\n return {\n left: this.calculatedLeft,\n maxWidth: convertToUnit(this.maxWidth),\n minWidth: convertToUnit(this.minWidth),\n top: this.calculatedTop,\n zIndex: this.zIndex || this.activeZIndex,\n }\n },\n },\n\n beforeMount () {\n this.$nextTick(() => {\n this.value && this.callActivate()\n })\n },\n\n mounted () {\n if (getSlotType(this, 'activator', true) === 'v-slot') {\n consoleError(`v-tooltip's activator slot must be bound, try '