{"version":3,"sources":["webpack:///./src/components/Form/ShadowControl.vue","webpack:///./src/components/Form/ShadowControl.vue?2b0e","webpack:///./src/components/AppTabs/AppTabsHead.vue?07a7","webpack:///./src/components/AppTabs/AppTabsHead.vue","webpack:///./src/components/AppTabs/AppTabsHead.vue?5c40","webpack:///./src/components/Table/ts/AppToolbarTable.vue?8b97","webpack:///./src/components/ui/Modal/Dialog/TabsDialog.vue?98d7","webpack:///./src/components/ui/Modal/Dialog/TabsDialog.vue","webpack:///./src/components/ui/Modal/Dialog/TabsDialog.vue?3673","webpack:///./src/components/ui/DragAndDrop.vue","webpack:///./src/utills/files/toExtention.js","webpack:///./src/constants/fileTypes.js","webpack:///./src/utills/files/isImage.js","webpack:///./src/components/ui/DragAndDrop.vue?ff1a","webpack:///./src/hooks/layout/useBaseAppLayout.ts","webpack:///./src/components/ui/Buttons/BtnContent.vue?5dfa","webpack:///./src/components/ui/FileUploader.vue?facb","webpack:///./src/components/ui/AvatarUpload.vue?e836","webpack:///./src/components/Locations/SelectLocationsDialog.vue?ee93","webpack:///./src/components/Layout/PageMainHeading.vue?5ff1","webpack:///./src/components/Locations/CreateLocationModal.vue?ba83","webpack:///./src/components/Form/ShadowControl.vue?2767","webpack:///./src/components/ui/AvatarUpload.vue?9b3c","webpack:///./src/components/Table/ts/AppTableController.vue?f33a","webpack:///./src/components/Table/ts/AppToolbarTable.vue?47fc","webpack:///./src/components/Table/ts/AppToolbarTable.vue","webpack:///./src/components/Table/ts/AppToolbarTable.vue?d26e","webpack:///./src/components/Layout/PageMainHeading.vue","webpack:///./src/components/Layout/PageMainHeading.vue?d7de","webpack:///./src/components/Settings/SettingsItem.vue?2765","webpack:///./src/components/Settings/SettingsItem.vue","webpack:///./src/components/Settings/SettingsItem.vue?378b","webpack:///./src/components/Locations/DeleteLocationConfirm.vue?de29","webpack:///./src/components/ui/AvatarUpload.vue?06db","webpack:///./src/components/ui/FileUploader.vue?5b3c","webpack:///./src/components/ui/FileUploader.vue","webpack:///./src/components/ui/FileUploader.vue?63a5","webpack:///./src/components/ui/AvatarUpload.vue","webpack:///./src/components/ui/AvatarUpload.vue?d7b0","webpack:///./src/components/AppTabs/AppTabsBody.vue","webpack:///./src/components/AppTabs/AppTabsBody.vue?2274","webpack:///./src/components/ui/DragAndDrop.vue?06a3","webpack:///./src/components/Table/ts/AppTableController.vue?3634","webpack:///./src/components/Form/AppInputsValidationProvider.vue?2d88","webpack:///./src/validator/errorMessages.ts","webpack:///./src/validator/combineValidators.ts","webpack:///./src/validator/ValidatorResponse.ts","webpack:///./src/validator/validators/email.ts","webpack:///./src/validator/validators/equalTo.ts","webpack:///./src/validator/utilles/isNotEmptyString.ts","webpack:///./src/validator/validators/password.ts","webpack:///./src/validator/validators/name.ts","webpack:///./src/validator/validators/phone.ts","webpack:///./src/validator/validators/required.ts","webpack:///./src/validator/validators/notEmptyString.ts","webpack:///./src/validator/validators/number.ts","webpack:///./src/validator/validators/price.ts","webpack:///./src/validator/Validator.ts","webpack:///./src/components/Form/AppInputsValidationProvider.vue","webpack:///./src/components/Form/AppInputsValidationProvider.vue?cdec","webpack:///./src/components/Form/AppCheckbox.vue","webpack:///./src/components/Form/AppCheckbox.vue?4e8c","webpack:///./src/views/Locations.vue?1725","webpack:///./src/hooks/locations/new/modules/locations.tabs.ts","webpack:///./src/hooks/locations/new/modules/location.type.ts","webpack:///./src/api/services/locations/locationTypes.ts","webpack:///./src/hooks/locations/new/modules/locations.root.ts","webpack:///./src/hooks/locations/new/modules/locations.get.ts","webpack:///./src/api/services/packages/esim/location-packages/types.ts","webpack:///./src/hooks/locations/new/modules/locations.table.ts","webpack:///./src/hooks/locations/new/modules/location.update.ts","webpack:///./src/hooks/locations/new/useLocations.ts","webpack:///./src/components/Locations/DeleteLocationConfirm.vue","webpack:///./src/components/Locations/DeleteLocationConfirm.vue?8de0","webpack:///./src/components/Locations/SelectedNestedLocations.vue?c062","webpack:///./src/components/ui/Country/CountrySwitch.vue","webpack:///./src/components/ui/Country/CountrySwitch.vue?ad14","webpack:///./src/components/Locations/SelectedNestedLocations.vue","webpack:///./src/components/Locations/SelectedNestedLocations.vue?9228","webpack:///./src/components/Locations/SelectLocationsDialog.vue?43c5","webpack:///./src/components/Locations/SelectLocationsDialog.vue","webpack:///./src/components/Locations/SelectLocationsDialog.vue?abec","webpack:///./src/components/Locations/CreateLocationModal.vue","webpack:///./src/components/Locations/CreateLocationModal.vue?b8d7","webpack:///./src/views/Locations.vue","webpack:///./src/views/Locations.vue?b885","webpack:///./src/utills/files/fileRender.js","webpack:///./src/components/Form/AppSwitch.vue?39e9","webpack:///./src/components/Table/ts/AppTableController.vue?6fa3","webpack:///./src/components/ui/EmptyBlock.vue?d590","webpack:///./src/components/ui/EmptyBlock.vue","webpack:///./src/components/ui/EmptyBlock.vue?ef71","webpack:///./src/components/Table/ts/AppTableController.vue","webpack:///./src/components/Table/ts/AppTableController.vue?c280","webpack:///./src/assets/img/uploader-drop.svg","webpack:///./src/utills/dateConverter.ts","webpack:///./src/components/Table/ts/AppToolbarTable.vue?499f","webpack:///./src/components/Locations/CreateLocationModal.vue?e0d4","webpack:///./src/components/Locations/SelectLocationsDialog.vue?c29a","webpack:///./src/assets/icons/avatar-placeholder.svg","webpack:///./src/components/ui/FileUploader.vue?18e9","webpack:///./src/components/Form/AppCheckbox.vue?8e8f","webpack:///./src/components/ui/Country/CountrySwitch.vue?5664","webpack:///./src/components/AppTabs/AppTabsHead.vue?44d9","webpack:///./src/components/ui/Buttons/BtnContent.vue","webpack:///./src/components/ui/Buttons/BtnContent.vue?a08b","webpack:///./src/components/Form/AppSwitch.vue?48cc","webpack:///./src/components/Table/HeadToolBar.vue?3cf5","webpack:///./src/components/Table/HeadToolBar.vue?47cf","webpack:///./src/components/Table/HeadToolBar.vue","webpack:///./src/components/Table/HeadToolBar.vue?bae5","webpack:///./src/components/ui/Country/CountrySwitch.vue?f70e","webpack:///./src/components/Form/AppSwitch.vue","webpack:///./src/components/Form/AppSwitch.vue?418c","webpack:///./src/components/ui/EmptyBlock.vue?be14","webpack:///./src/components/AppTabs/AppTabsBody.vue?8fb0","webpack:///./src/components/Table/HeadToolBar.vue?ff2f","webpack:///./src/components/Layout/PageMainHeading.vue?7c1a","webpack:///./src/assets/img/uploader-default.svg","webpack:///./src/components/Locations/DeleteLocationConfirm.vue?8239"],"names":["class","_createElementBlock","_hoisted_1","$props","icon","_createBlock","_component_FormControlWithIcon","_mergeProps","key","_ctx","$attrs","id","onChange","$options","changeHandler","_component_FormControl","name","changeTimout","components","FormControl","FormControlWithIcon","props","String","type","required","inputTimeout","Boolean","default","emits","change","methods","evt","this","clearTimeout","setTimeout","$emit","__exports__","render","ref","_hoisted_2","_hoisted_3","_hoisted_4","_cache","$setup","$data","_component_SortButton","_resolveComponent","_openBlock","style","_normalizeStyle","margin","_createVNode","_Transition","_withCtx","_createElementVNode","_normalizeClass","active","showPrevButton","onClick","$event","scrollToHandler","_","showNextButton","_Fragment","_renderList","tabs","tab","idx","modelValue","selectTabHandler","_toDisplayString","defineComponent","SortButton","Number","Array","setup","emit","scrollItems","scrollController","scrollContent","scrollControllerWidth","scrollContentWidth","scrollCount","scrollTimeout","watch","value","count","scroll","top","left","behavior","immediate","scrollable","computed","resizeHandler","link","contentRect","width","controllerResizeObserver","ResizeObserver","contentResizeObserver","setScrollItem","item","includes","nextTick","push","onScrollHandler","scrollLeft","direction","onMounted","observe","getBoundingClientRect","addEventListener","onBeforeUnmount","disconnect","removeEventListener","module","exports","_component_AppTabsHead","_component_AppTabsBody","_component_Dialog","opened","onHide","hide","selectedTabIdx","tabsHead","_createCommentVNode","_renderSlot","$slots","AppTabsBody","AppTabsHead","Dialog","inheritAttrs","data","map","title","src","_imports_0","alt","_imports_1","for","dragged","error","rendered","renderedPreview","onDrop","args","dropHandler","onDragover","dragOverHandler","onDragleave","dragLeaveHandler","dragZoneClickHandler","renderedImage","areaIcon","_withModifiers","_component_svg_icon","capture","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","acceptedString","_hoisted_12","multiple","maxCount","accept","fileTypes","filesHandler","target","files","uploadStatus","_hoisted_14","uploadSuccess","intProgress","_hoisted_15","_hoisted_16","_hoisted_17","uploadError","_hoisted_18","mode","toExtension","filename","split","pop","table","imageFormats","isImage","file","indexOf","SvgIcon","accepted","showSupportedFormats","placeholder","loading","progress","fileChanged","dragLeaveTimeout","loadingInterval","parseInt","toString","isTable","find","format","toLocaleLowerCase","f","join","acceptedFormats","deep","handler","validate","fileList","length","errorHandler","validFormat","from","every","msg","fileImage","forEach","fileRender","isValid","isArray","renderHandler","$refs","fileLabel","click","preventDefault","dataTransfer","filesList","i","items","kind","getAsFile","mapFilterOptions","options","selectedIdx","option","selected","useBaseAppLayout","initialSearchQuery","filterOptions","initialSelectedFilterOptionIdx","onFiltersChange","onChangeSearchQuery","searchQuery","filter","reactive","Function","watchable","selectedFilterOption","searchHandler","onFilterSelect","_hoisted_5","_component_PageMainHeading","_component_HeadToolBar","_component_BtnContent","_component_AppButton","_component_AppPreloader","_component_AppTable","showHeadToolbar","tableTitle","tabsList","selectedTab","onChangeTab","changeTab","hideButton","size","addItem","label","_createTextVNode","appLoading","tableHeadTable","tableBody","totalRows","currentPage","perPage","spaceBetween","withFooter","onChangeViewConfiguration","changeViewConfiguration","onSort","changeSorting","onEditItem","editItem","onDeleteItem","removeItem","tableStatuses","verified","unverified","blocked","AppPreloader","AppButton","HeadToolBar","PageMainHeading","AppTable","BtnContent","paginationCaptureKey","tableHeadTabs","parentSelectedTab","Object","sort","openForm","viewConfiguration","page","mapGetters","withMoreMenu","_this$tableBody$","actions","currentTab","el","_this$selectedTab","updatedBodyRows","row","status","withAction","paginationTotal","Math","ceil","paginationCapture","useSelect","_this$parentSelectedT","newViewConfiguration","changeCurrentPageHandler","changePerPageHandler","keyName","findTab","colorScheme","disabled","undefined","description","_component_AppSwitch","AppSwitch","validator","sch","_component_FileUploader","onFileChanged","hidden","uploadHandler","previewUrl","require","evtTarget","FileUploader","File","d","TAB_DURATION","HEIGHT_DURATION","animate","prevSelectedIdx","rootEl","activeTabHeight","resizeObserver","activeTabContent","tabDuration","rootElDuration","loaded","processTimeout","currentTabHeight","heightAlreadySet","height","setRootElHeight","current","prev","unobserve","box","prevIdx","_this$rootEl","overflow","mounted","$nextTick","created","beforeUnmount","unmounted","duration","onComplete","_this$rootEl2","gsap","to","delay","beforeAppear","set","autoAlpha","xPercent","beforeEnter","_this$rootEl3","_this$rootEl4","enter","done","_this$rootEl5","easing","_this$rootEl6","leave","_this$$slots$default","_this$$slots","_tabs$","call","root","children","h","_root$","Transition","css","appear","onAppear","onBeforeEnter","onEnter","onLeave","validationTypesEnum","inputTypesEnum","combineValidators","validators","reduce","acc","email","password","unknown","phone","price","minLength","equal","base","number","inputError","empty","nameIsEmpty","nameIsTooShort","validationErrors","getValidationError","inputType","errorType","_validationErrors$inp","ValidatorResponse","constructor","message","_defineProperty","emailType","reg","RegExp","test","equalTo","toEqualValue","valid","isNotEmptyString","str","trim","regexp","passwordType","nameType","errorMessage","phoneRegex","phoneType","notEmptyString","isNumber","startsWith","ValidationResult","touched","Field","inputNode","equalToId","dataset","node","rule","equalToNode","document","getElementById","equalValue","bindedOnChange","bind","focusoutHandler","event","touch","emptyResult","destroy","Validator","fields","shakeTree","field","input","attachInput","removeInput","provide","inputErrors","destroyed","destroyedHandler","changeErrorState","slots","inputs","hasError","some","err","needShake","validationResult","prevInputs","destroyValidators","exist","setSlots","_slot","$slot","querySelectorAll","removeAll","currentInputs","currentInputsIds","destroyedInputs","localChecked","_component_SvgIcon","inheritProps","model","isDelay","checkHandler","checked","clickHandler","stopPropagation","_component_CreateLocationModal","_component_DeleteLocationConfirm","_component_ShadowControl","_component_SelectDropdown","_component_AppToolbarTable","_component_AppTableController","modalLoading","modalActionLoading","updateModalOpened","locationTypeSingle","location","localSelectedList","countries","subregions","endUpdating","onSetModalLoading","setModalLoading","onSave","saveUpadtes","onToggleSelectedLocations","toggleSelectedLocation","deleteModalOpened","deleteLocation","deleteDiscard","onCancel","onSubmit","deleteConfirm","list","pageTitle","tableHead","rows","totalLocations","changeTabHandler","startEditing","onOpenForm","startAddLocation","onRemoveItem","startLocationDelete","locationsTabs","packageLocationsArray","index","toLowerCase","locationType","ctx","store","currentLocation","packageLocationTypes","currentLocationName","locationTypeToSingle","locations","getters","getLocations","locationStatuses","selectedLocationListTypes","selectedLocationsTypes","LocationImageTypes","TranslateLocationImageTypes","all","locationsRoot","selectedFilterValue","layoutRefs","useGetLocations","requestOptions","async","requestLocations","_requestOptions$value","_requestOptions$value2","_requestOptions$value3","dispatch","query","extended","success","tableLocationStatuses","initialSortConfiguration","byName","order","sortOrders","asc","keyNameInModel","byCreated","turnOff","useLocationsTable","_ctx$viewConfiguratio","useBaseTable","initialSortOptions","initialViewConfiguration","locationsList","generateRows","createdAt","cells","country","rightAlign","dateConverter","Date","badge","rounded","badgeSizes","md","badgeTypes","danger","inactive","userActions","onViewConfigurationChanged","onViewConfigChanged","listTypes","initialLocation","smallImage","bigImage","isoCode","popular","initialSavedLocations","image","updateLocation","baseLoading","baseLocationsLoading","savedLocation","selectedList","changeList","notExtendedCountries","notExtendedSubregions","selecetdListChangeHandler","_newCountry$selected","_newSubregion$selecte","_newSubregion$selecte2","_newCountry$selected2","newCountry","newSubregion","changeListChangeHandler","removedFromChangeList","l","action","isExist","fullLocation","_data$selected","isEnabledByServer","payload","res","api","editLocation","createLocation","finally","getSelectedLocations","Promise","listType","locationId","then","catch","_ctx$requestLocations","images","_changeList$value$","changedLocations","locationChildType","locationParentType","setLocation","updatedLocation","_data$selected2","inChangesList","console","log","enabledByServer","_ctx$requestLocations2","useLocations","opt","useStore","tableRefs","updateLocationRefs","use-header","canDelete","locationIcon","locationName","innerHTML","submit","cancel","cantDeleteText","canDeleteText","_component_CountrySwitch","showLocationsSelection","localSelectedCounties","onSwitch","switchLocalCountry","_component_SettingsItem","_component_Country","image-path","Country","SettingsItem","CountrySwitch","selectedCounties","showCountriesSelect","showSubregionsSelection","inserted","onBack","back","letter","switchLocation","saveHandler","selectedLocations","baseList","save","initialData","entries","_this$changeList$find","_this$selectedLocatio","inChangeListAction","inChangeListStatus","__location","alreadyChangedLocation","_hoisted_13","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_defineComponent","__name","windowLoading","actionLoading","singleLocationType","selectedLocationsLists","baseLocations","toggleSelectedLocations","__props","titleValid","selectListType","baseLoactionsList","currentLocationsLists","_Object$values$find","values","localOpened","modalTitle","buttonText","locationsSelectOpened","changeValidationStatus","setImage","uploadLocationImage","url","submitHandler","toggleSelectLocations","open","saveSelectedLocationsList","SelectLocationsDialog","_unref","TabsDialog","AppInputsValidationProvider","onChangeErrorState","AppInput","AppCheckbox","SelectedNestedLocations","onShowCountriesSelect","onShowSubregionsSelect","onTurnOff","AvatarUpload","DragAndDrop","CreateLocationModal","DeleteLocationConfirm","AppToolbarTable","SelectDropdown","ShadowControl","AppTableController","$location","currentSort","resolve","reject","reader","FileReader","onload","result","readAsDataURL","_component_FullscreenLoader","_component_EmptyBlock","tableLoad","useLoader","tableLoading","showTable","emptyIcon","emptyText","fullscreen","_createSlots","emptyButtonText","fn","iconColor","button","EmptyBlock","FullscreenLoader","emptyKey","emptyButtonClick","loadTimeout","getTableLoad","date","isNaN","getTime","moment","parentSelectedTabId","initialSelectedTab"],"mappings":"sIACOA,MAAM,kB,oKAAXC,gCAgBM,MAhBNC,EAgBM,CAdIC,EAAAC,M,yBADRC,yBAMEC,EANFC,wBAME,CAAAC,IAAA,GAJQC,EAAAC,OAAM,CACbC,GAAIR,EAAAQ,GACJP,KAAMD,EAAAC,KACNQ,SAAQC,EAAAC,gB,6DAGXT,yBAMEU,EANFR,wBAME,CAAAC,IAAA,GAJQC,EAAAC,OAAM,CACbC,GAAIR,EAAAQ,GACLK,KAAK,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yB,0CAA0C,qBAAuB,2DAA2D,gCAAkC,2DAA2D,UAAY,OAAO,YAAc,OAAO,WAAa,SAAS,WAAa,OAAO,YAAc,SAAS,WAAa,UAAU,WAAa,QAAQ,WAAa,QAAQ,iBAAmB,2C,qBCAjsBD,EAAOC,QAAU,CAAC,QAAU,UAAU,UAAY,OAAO,WAAa,OAAO,aAAe,UAAU,aAAe,UAAU,aAAe,UAAU,kBAAoB,UAAU,YAAc,UAAU,iBAAmB,UAAU,oBAAsB,iBAAiB,uBAAyB,0CAA0C,qBAAuB,2DAA2D,gCAAkC,2DAA2D,UAAY,OAAO,YAAc,OAAO,WAAa,SAAS,WAAa,OAAO,YAAc,SAAS,WAAa,UAAU,WAAa,QAAQ,WAAa,QAAQ,iBAAmB,2C,qBCDjsBD,EAAOC,QAAU,IAA0B,qC,yDCA3C","file":"js/locations.ef94e0bd.js","sourcesContent":["\r\n\r\n\r\n\r\n\r\n","import { render } from \"./ShadowControl.vue?vue&type=template&id=23b89d0f&scoped=true\"\nimport script from \"./ShadowControl.vue?vue&type=script&lang=js\"\nexport * from \"./ShadowControl.vue?vue&type=script&lang=js\"\n\nimport \"./ShadowControl.vue?vue&type=style&index=0&id=23b89d0f&scoped=true&lang=scss\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-23b89d0f\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, Transition as _Transition, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-de6405be\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n ref: \"scrollController\",\n class: \"app-tabs__head app-tabs__head__scroll_controller\"\n}\nconst _hoisted_2 = {\n ref: \"scrollContent\",\n class: \"app-tabs__head__scroll_content d-flex\"\n}\nconst _hoisted_3 = [\"onClick\"]\nconst _hoisted_4 = { class: \"app-tabs__head__button__content\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_SortButton = _resolveComponent(\"SortButton\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"app-tabs__head_wrapper\",\n style: _normalizeStyle({\r\n 'margin-left': _ctx.margin ? '20px' : '0'\r\n })\n }, [\n _createVNode(_Transition, { name: \"x-left\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"scroll-controller-control scroll-controller-control--left\", {\r\n active: _ctx.showPrevButton\r\n }]),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.scrollToHandler('backward')))\n }, [\n _createVNode(_component_SortButton, {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.scrollToHandler('backward')))\n })\n ], 2)\n ]),\n _: 1\n }),\n _createVNode(_Transition, { name: \"x-right\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"scroll-controller-control\", {\r\n active: _ctx.showNextButton\r\n }]),\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.scrollToHandler('forward')))\n }, [\n _createVNode(_component_SortButton, {\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.scrollToHandler('forward')))\n })\n ], 2)\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.tabs, (tab, idx) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: idx,\n class: _normalizeClass([\"app-tabs__head__button\", { active: _ctx.modelValue === idx }]),\n onClick: ($event: any) => (_ctx.selectTabHandler(idx))\n }, [\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(tab), 1)\n ], 10, _hoisted_3))\n }), 128))\n ], 512)\n ], 512)\n ], 4))\n}","\r\nimport {\r\n defineComponent,\r\n nextTick,\r\n onBeforeUnmount,\r\n onMounted,\r\n PropType,\r\n ref,\r\n Ref,\r\n watch\r\n} from \"vue\";\r\nimport { computed } from \"@vue/reactivity\";\r\nimport SortButton from \"../ui/SortButton.vue\";\r\n\r\nexport default defineComponent({\r\n name: \"AppTabsHead\",\r\n components: { SortButton },\r\n props: {\r\n modelValue: {\r\n type: Number,\r\n default: 0\r\n },\r\n tabs: {\r\n type: Array as PropType,\r\n required: true\r\n },\r\n margin: {\r\n type: Boolean,\r\n default: false\r\n }\r\n },\r\n emits: [\"update:modelValue\"],\r\n setup(props, { emit }) {\r\n const scrollItems: Ref = ref([]);\r\n const scrollController: Ref = ref(null);\r\n const scrollContent: Ref = ref(null);\r\n const scrollControllerWidth = ref(0);\r\n const scrollContentWidth = ref(0);\r\n\r\n const scrollCount = ref(0);\r\n const scrollTimeout = ref(setTimeout(() => {}));\r\n\r\n watch(\r\n () => scrollCount.value,\r\n count => {\r\n if (scrollController.value) {\r\n scrollController.value.scroll({\r\n top: 0,\r\n left: count,\r\n behavior: \"smooth\"\r\n });\r\n }\r\n },\r\n { immediate: true }\r\n );\r\n\r\n const scrollable = computed(\r\n () => scrollControllerWidth.value < scrollContentWidth.value\r\n );\r\n const showPrevButton = computed(() => {\r\n return scrollCount.value > 10;\r\n });\r\n\r\n const showNextButton = computed(() => {\r\n return (\r\n scrollable &&\r\n scrollCount.value <\r\n scrollContentWidth.value - scrollControllerWidth.value - 15\r\n );\r\n });\r\n\r\n function resizeHandler(link: Ref) {\r\n return ([{ contentRect }]: ResizeObserverEntry[]) => {\r\n link.value = contentRect.width;\r\n };\r\n }\r\n\r\n const controllerResizeObserver = new ResizeObserver(\r\n resizeHandler(scrollControllerWidth)\r\n );\r\n\r\n const contentResizeObserver = new ResizeObserver(\r\n resizeHandler(scrollContentWidth)\r\n );\r\n\r\n onMounted(() => {\r\n nextTick(() => {\r\n if (scrollController.value) {\r\n controllerResizeObserver.observe(scrollController.value);\r\n scrollControllerWidth.value = scrollController.value.getBoundingClientRect().width;\r\n scrollController.value.addEventListener(\"scroll\", onScrollHandler);\r\n }\r\n\r\n if (scrollContent.value) {\r\n contentResizeObserver.observe(scrollContent.value);\r\n scrollContentWidth.value = scrollContent.value.getBoundingClientRect().width;\r\n }\r\n });\r\n });\r\n\r\n onBeforeUnmount(() => {\r\n contentResizeObserver.disconnect();\r\n contentResizeObserver.disconnect();\r\n scrollController.value &&\r\n scrollController.value.removeEventListener(\"scroll\", onScrollHandler);\r\n });\r\n\r\n function setScrollItem(item: HTMLElement) {\r\n if (!item || scrollItems.value.includes(item)) return;\r\n nextTick(() => {\r\n scrollItems.value.push(item);\r\n });\r\n }\r\n\r\n function onScrollHandler() {\r\n clearTimeout(scrollTimeout.value);\r\n\r\n scrollTimeout.value = setTimeout(() => {\r\n if (scrollController.value) {\r\n scrollCount.value = scrollController.value.scrollLeft;\r\n }\r\n }, 100);\r\n }\r\n\r\n function scrollToHandler(direction: \"forward\" | \"backward\") {\r\n if (direction === \"forward\") {\r\n scrollCount.value = scrollCount.value + 300;\r\n return;\r\n }\r\n\r\n scrollCount.value = scrollCount.value - 300;\r\n }\r\n\r\n return {\r\n setScrollItem,\r\n showPrevButton,\r\n showNextButton,\r\n scrollToHandler,\r\n scrollContentWidth,\r\n scrollControllerWidth,\r\n scrollController,\r\n scrollContent,\r\n scrollCount,\r\n selectTabHandler(idx: number) {\r\n emit(\"update:modelValue\", idx);\r\n }\r\n };\r\n }\r\n});\r\n","import { render } from \"./AppTabsHead.vue?vue&type=template&id=de6405be&scoped=true&ts=true\"\nimport script from \"./AppTabsHead.vue?vue&type=script&lang=ts\"\nexport * from \"./AppTabsHead.vue?vue&type=script&lang=ts\"\n\nimport \"./AppTabsHead.vue?vue&type=style&index=0&id=de6405be&scoped=true&lang=scss\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-de6405be\"]])\n\nexport default __exports__","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bgColor\":\"#f5f6fa\",\"fontColor\":\"#333\",\"lightColor\":\"#fff\",\"primaryColor\":\"#3a85db\",\"successColor\":\"#3a85db\",\"warningColor\":\"#f2994a\",\"warningLightColor\":\"#fef5ed\",\"dangerColor\":\"#ff8181\",\"dangerLightColor\":\"#fdefef\",\"darkBackgroundColor\":\"rgba(0,0,0,.1)\",\"activeMenuItemGradient\":\"linear-gradient(0deg, #F3F4F8, #F3F4F8)\",\"gradientPrimaryLight\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"gradientPrimaryLightTransparent\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"colIndent\":\"1rem\",\"tableColXxs\":\"4rem\",\"tableColXs\":\"5.2rem\",\"tableColSm\":\"7rem\",\"tableColSmL\":\"9.5rem\",\"tableColMd\":\"11.5rem\",\"tableColLg\":\"18rem\",\"tableColXg\":\"25rem\",\"buttonSizesArray\":\"icon,xs,sm,smL,md-fluid,md,lg,xl,fluid\"};","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, withCtx as _withCtx, mergeProps as _mergeProps } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_AppTabsHead = _resolveComponent(\"AppTabsHead\")!\n const _component_AppTabsBody = _resolveComponent(\"AppTabsBody\")!\n const _component_Dialog = _resolveComponent(\"Dialog\")!\n\n return (_openBlock(), _createBlock(_component_Dialog, _mergeProps(_ctx.$attrs, {\n key: 1,\n opened: _ctx.opened,\n onHide: _ctx.hide\n }), {\n \"modal-tabs\": _withCtx(() => [\n (_ctx.opened)\n ? (_openBlock(), _createBlock(_component_AppTabsHead, {\n key: 2,\n modelValue: _ctx.selectedTabIdx,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.selectedTabIdx) = $event)),\n tabs: _ctx.tabsHead\n }, null, 8, [\"modelValue\", \"tabs\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.opened)\n ? (_openBlock(), _createBlock(_component_AppTabsBody, {\n key: 3,\n \"selected-tab-idx\": _ctx.modelValue\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 8, [\"selected-tab-idx\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 3\n }, 16, [\"opened\", \"onHide\"]))\n}","\r\nimport { defineComponent, PropType } from \"vue\";\r\nimport Dialog from \"@/components/ui/Modal/Dialog/Dialog.vue\";\r\nimport AppTabsHead from \"@/components/AppTabs/AppTabsHead.vue\";\r\nimport AppTabsBody from \"@/components/AppTabs/AppTabsBody.vue\";\r\nimport { ITab } from \"@/store/interfaces/common\";\r\n\r\nexport default defineComponent({\r\n name: \"TabsDialog\",\r\n components: { AppTabsBody, AppTabsHead, Dialog },\r\n inheritAttrs: false,\r\n\r\n props: {\r\n opened: { type: Boolean, default: false },\r\n tabs: {\r\n type: Array as PropType,\r\n required: true\r\n },\r\n\r\n modelValue: {\r\n type: Number,\r\n default: 0\r\n }\r\n },\r\n emits: [\"hide\", \"update:modelValue\"],\r\n data() {\r\n return {\r\n selectedTabIdx: this.modelValue\r\n };\r\n },\r\n\r\n computed: {\r\n tabsHead() {\r\n return this.tabs.map(({ title }: ITab) => title);\r\n }\r\n },\r\n\r\n watch: {\r\n selectedTabIdx(idx) {\r\n if (idx === this.modelValue) return;\r\n this.$emit(\"update:modelValue\", idx);\r\n },\r\n\r\n modelValue(idx) {\r\n if (idx === this.selectedTabIdx) return;\r\n this.selectedTabIdx = idx;\r\n }\r\n },\r\n\r\n methods: {\r\n hide() {\r\n this.$emit(\"hide\");\r\n }\r\n }\r\n});\r\n","import { render } from \"./TabsDialog.vue?vue&type=template&id=7ddf6885&ts=true\"\nimport script from \"./TabsDialog.vue?vue&type=script&lang=ts\"\nexport * from \"./TabsDialog.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n\r\n\r\n","export function toExtension(filename) {\r\n return filename.split(\".\").pop();\r\n}\r\n","export const fileTypes = {\r\n table:\r\n \".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel\"\r\n};\r\n","import { toExtension } from \"@/utills/files/toExtention\";\r\n\r\nconst imageFormats = [\"jpg\", \"jpeg\", \"png\", \"gif\"];\r\n\r\nexport function isImage(file) {\r\n return imageFormats.indexOf(toExtension(file.name)) !== -1;\r\n}\r\n","import { render } from \"./DragAndDrop.vue?vue&type=template&id=e0f57002&scoped=true\"\nimport script from \"./DragAndDrop.vue?vue&type=script&lang=js\"\nexport * from \"./DragAndDrop.vue?vue&type=script&lang=js\"\n\nimport \"./DragAndDrop.vue?vue&type=style&index=0&id=e0f57002&scoped=true&lang=scss\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e0f57002\"]])\n\nexport default __exports__","import { ComputedRef, reactive, ref, Ref, watch } from \"vue\";\r\nimport { computed } from \"@vue/reactivity\";\r\n\r\nexport type pageFilter = {\r\n name: string;\r\n id: string;\r\n selected: boolean;\r\n};\r\n\r\nexport type useBaseAppLayoutOptions = {\r\n initialSearchQuery?: string;\r\n filterOptions?: string[];\r\n initialSelectedFilterOptionIdx?: number;\r\n onFiltersChange?: () => void;\r\n onChangeSearchQuery?: () => void;\r\n};\r\n\r\nexport interface IUseBaseAppLayout {\r\n filter: pageFilter[];\r\n selectedFilterOption: ComputedRef;\r\n searchQuery: Ref;\r\n\r\n searchHandler: (evt: Event) => void;\r\n onFilterSelect: (id: string) => void | Promise;\r\n}\r\n\r\nfunction mapFilterOptions(\r\n options: string[],\r\n selectedIdx: number | undefined = 0\r\n): pageFilter[] {\r\n return options.map(\r\n (option: string, idx: number): pageFilter => ({\r\n name: option,\r\n id: option,\r\n selected: idx === selectedIdx\r\n })\r\n );\r\n}\r\n\r\nexport function useBaseAppLayout(\r\n options: useBaseAppLayoutOptions\r\n): IUseBaseAppLayout {\r\n const {\r\n initialSearchQuery = \"\",\r\n filterOptions,\r\n initialSelectedFilterOptionIdx,\r\n onFiltersChange,\r\n onChangeSearchQuery\r\n } = options;\r\n\r\n const searchQuery: Ref = ref(initialSearchQuery);\r\n let filter: pageFilter[] | null = null;\r\n\r\n if (filterOptions) {\r\n filter = reactive(\r\n mapFilterOptions(filterOptions, initialSelectedFilterOptionIdx)\r\n );\r\n }\r\n\r\n if (onFiltersChange instanceof Function) {\r\n const watchable = [searchQuery, filter];\r\n\r\n watchable.forEach((ref: any, idx: number) => {\r\n watch(ref, () => {\r\n if (idx === 0 && onChangeSearchQuery) {\r\n onChangeSearchQuery();\r\n }\r\n\r\n onFiltersChange();\r\n });\r\n });\r\n }\r\n\r\n return {\r\n filter: filter || [],\r\n searchQuery,\r\n selectedFilterOption: computed(() => {\r\n if (!filter) {\r\n return null;\r\n }\r\n\r\n return filter.find(({ selected }) => !!selected) || null;\r\n }),\r\n\r\n searchHandler: ({ target }: Event) => {\r\n if (target) {\r\n searchQuery.value = (target as HTMLInputElement).value;\r\n }\r\n },\r\n\r\n onFilterSelect: (id: string): void => {\r\n if (filter) {\r\n filter.forEach((option: pageFilter) => {\r\n option.selected = option.id === id;\r\n });\r\n }\r\n }\r\n };\r\n}\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./BtnContent.vue?vue&type=style&index=0&id=bbe45568&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./FileUploader.vue?vue&type=style&index=0&id=a15c207c&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./AvatarUpload.vue?vue&type=style&index=0&id=e52f561e&lang=scss\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bgColor\":\"#f5f6fa\",\"fontColor\":\"#333\",\"lightColor\":\"#fff\",\"primaryColor\":\"#3a85db\",\"successColor\":\"#3a85db\",\"warningColor\":\"#f2994a\",\"warningLightColor\":\"#fef5ed\",\"dangerColor\":\"#ff8181\",\"dangerLightColor\":\"#fdefef\",\"darkBackgroundColor\":\"rgba(0,0,0,.1)\",\"activeMenuItemGradient\":\"linear-gradient(0deg, #F3F4F8, #F3F4F8)\",\"gradientPrimaryLight\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"gradientPrimaryLightTransparent\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"colIndent\":\"1rem\",\"tableColXxs\":\"4rem\",\"tableColXs\":\"5.2rem\",\"tableColSm\":\"7rem\",\"tableColSmL\":\"9.5rem\",\"tableColMd\":\"11.5rem\",\"tableColLg\":\"18rem\",\"tableColXg\":\"25rem\",\"buttonSizesArray\":\"icon,xs,sm,smL,md-fluid,md,lg,xl,fluid\"};","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./PageMainHeading.vue?vue&type=style&index=0&id=5043c7c0&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./CreateLocationModal.vue?vue&type=style&index=0&id=04be0144&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ShadowControl.vue?vue&type=style&index=0&id=23b89d0f&scoped=true&lang=scss\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bgColor\":\"#f5f6fa\",\"fontColor\":\"#333\",\"lightColor\":\"#fff\",\"primaryColor\":\"#3a85db\",\"successColor\":\"#3a85db\",\"warningColor\":\"#f2994a\",\"warningLightColor\":\"#fef5ed\",\"dangerColor\":\"#ff8181\",\"dangerLightColor\":\"#fdefef\",\"darkBackgroundColor\":\"rgba(0,0,0,.1)\",\"activeMenuItemGradient\":\"linear-gradient(0deg, #F3F4F8, #F3F4F8)\",\"gradientPrimaryLight\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"gradientPrimaryLightTransparent\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"colIndent\":\"1rem\",\"tableColXxs\":\"4rem\",\"tableColXs\":\"5.2rem\",\"tableColSm\":\"7rem\",\"tableColSmL\":\"9.5rem\",\"tableColMd\":\"11.5rem\",\"tableColLg\":\"18rem\",\"tableColXg\":\"25rem\",\"buttonSizesArray\":\"icon,xs,sm,smL,md-fluid,md,lg,xl,fluid\"};","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./AppTableController.vue?vue&type=style&index=0&id=69e77f2f&lang=scss\"","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createElementBlock as _createElementBlock, Transition as _Transition } from \"vue\"\n\nconst _hoisted_1 = { class: \"container locations-page\" }\nconst _hoisted_2 = { class: \"account-wrapper pb-5\" }\nconst _hoisted_3 = { class: \"table-tabs-wrapper\" }\nconst _hoisted_4 = { class: \"w-100\" }\nconst _hoisted_5 = { class: \"w-100\" }\nconst _hoisted_6 = { class: \"table-tabs-heading d-flex align-items-center justify-content-between\" }\nconst _hoisted_7 = { class: \"selected-tab-title\" }\nconst _hoisted_8 = {\n key: 0,\n class: \"app-toolbar-table__loader\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_PageMainHeading = _resolveComponent(\"PageMainHeading\")!\n const _component_HeadToolBar = _resolveComponent(\"HeadToolBar\")!\n const _component_BtnContent = _resolveComponent(\"BtnContent\")!\n const _component_AppButton = _resolveComponent(\"AppButton\")!\n const _component_AppPreloader = _resolveComponent(\"AppPreloader\")!\n const _component_AppTable = _resolveComponent(\"AppTable\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.showHeadToolbar)\n ? (_openBlock(), _createBlock(_component_PageMainHeading, {\n key: 0,\n title: _ctx.tableTitle\n }, null, 8, [\"title\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_HeadToolBar, {\n tabs: _ctx.tabsList,\n \"initial-selected-tab\": _ctx.selectedTabIdx,\n \"parent-selected-tab-id\": _ctx.selectedTab.id,\n onChangeTab: _ctx.changeTab\n }, null, 8, [\"tabs\", \"initial-selected-tab\", \"parent-selected-tab-id\", \"onChangeTab\"]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"h2\", _hoisted_7, _toDisplayString(_ctx.selectedTab.title), 1),\n (!_ctx.hideButton)\n ? (_openBlock(), _createBlock(_component_AppButton, {\n key: 0,\n type: \"secondary\",\n size: \"lg\",\n onClick: _ctx.addItem\n }, {\n default: _withCtx(() => [\n _createVNode(_component_BtnContent, {\n icon: \"plus\",\n label: \"Add new\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Add \" + _toDisplayString(_ctx.tableTitle), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(_Transition, { name: \"fade\" }, {\n default: _withCtx(() => [\n (_ctx.appLoading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createVNode(_component_AppPreloader)\n ]))\n : (_openBlock(), _createBlock(_component_AppTable, {\n key: 1,\n \"pagination-capture-key\": _ctx.tableTitle,\n \"table-head\": _ctx.tableHeadTable,\n \"table-body\": _ctx.tableBody,\n \"total-rows\": _ctx.totalRows,\n \"current-page\": _ctx.currentPage,\n \"per-page\": _ctx.perPage,\n \"hide-button\": _ctx.hideButton,\n \"space-between\": _ctx.spaceBetween,\n \"with-footer\": _ctx.withFooter,\n onChangeViewConfiguration: _ctx.changeViewConfiguration,\n onSort: _ctx.changeSorting,\n onEditItem: _ctx.editItem,\n onDeleteItem: _ctx.removeItem\n }, null, 8, [\"pagination-capture-key\", \"table-head\", \"table-body\", \"total-rows\", \"current-page\", \"per-page\", \"hide-button\", \"space-between\", \"with-footer\", \"onChangeViewConfiguration\", \"onSort\", \"onEditItem\", \"onDeleteItem\"]))\n ]),\n _: 1\n })\n ])\n ])\n ])\n ])\n ])\n ])\n ]))\n}","\r\nimport { defineComponent, PropType } from \"vue\";\r\nimport { IObjectKeys } from \"@/interfaces/IObjectKeys\";\r\nimport {\r\n ITableBodyRow,\r\n ITableHeadCell\r\n} from \"@/components/Table/ts/interfaces/TableStructure\";\r\nimport { ITableViewConfiguration } from \"@/components/Table/ts/interfaces/common\";\r\nimport HeadToolBar from \"@/components/Table/HeadToolBar.vue\";\r\nimport AppButton from \"@/components/ui/Buttons/AppButton.vue\";\r\nimport PageMainHeading from \"@/components/Layout/PageMainHeading.vue\";\r\nimport { ITab } from \"@/store/interfaces/common\";\r\nimport AppTable from \"@/components/Table/ts/AppTable.vue\";\r\nimport BtnContent from \"@/components/ui/Buttons/BtnContent.vue\";\r\nimport { mapGetters } from \"vuex\";\r\nimport AppPreloader from \"@/components/ui/AppPreloader.vue\";\r\n\r\nconst tableStatuses: IObjectKeys = {\r\n verified: \"base\",\r\n unverified: \"warn\",\r\n blocked: \"error\"\r\n};\r\n\r\nexport type tableHeadCellsList = ITableHeadCell[];\r\nexport type tableBodyList = ITableBodyRow[];\r\n\r\ntype appTableData = {\r\n viewConfiguration: ITableViewConfiguration;\r\n selectedTab: ITab;\r\n selectedTabIdx: number;\r\n};\r\n\r\nexport default defineComponent({\r\n name: \"AppToolbarTable\",\r\n components: {\r\n AppPreloader,\r\n AppButton,\r\n HeadToolBar,\r\n PageMainHeading,\r\n AppTable,\r\n BtnContent\r\n },\r\n\r\n props: {\r\n paginationCaptureKey: {\r\n type: String,\r\n default: \"\"\r\n },\r\n\r\n showHeadToolbar: {\r\n type: Boolean,\r\n default: true\r\n },\r\n\r\n spaceBetween: { type: Boolean, default: true },\r\n totalRows: { type: Number as PropType, default: 0 },\r\n perPage: { type: Number, default: 10 },\r\n currentPage: { type: Number, default: 1 },\r\n\r\n hideButton: {\r\n type: Boolean,\r\n default: false\r\n },\r\n\r\n tableHeadTabs: {\r\n type: Array as PropType,\r\n required: true\r\n },\r\n\r\n tableHeadTable: {\r\n type: Array as PropType,\r\n required: true\r\n },\r\n tableBody: {\r\n type: Array as PropType,\r\n required: true\r\n },\r\n\r\n tableTitle: { type: String, default: \"\" },\r\n parentSelectedTab: {\r\n type: Object as PropType,\r\n default: null\r\n },\r\n withFooter: {\r\n type: Boolean,\r\n default: true\r\n }\r\n },\r\n\r\n emits: {\r\n changeViewConfiguration: null,\r\n sort: null,\r\n changeTab: null,\r\n openForm: null,\r\n removeItem: null,\r\n editItem: null\r\n },\r\n\r\n data() {\r\n return {\r\n selectedTab: this.parentSelectedTab\r\n ? this.parentSelectedTab\r\n : this.tableHeadTabs[0],\r\n\r\n viewConfiguration: {\r\n perPage: this.perPage,\r\n page: this.currentPage\r\n },\r\n\r\n selectedTabIdx: 0\r\n } as appTableData;\r\n },\r\n\r\n computed: {\r\n ...mapGetters([\"appLoading\"]),\r\n withMoreMenu(): boolean {\r\n return !!this.tableBody[0]?.actions;\r\n },\r\n currentTab() {\r\n return (\r\n this.tableHeadTabs.find(el => el.id === this.selectedTab?.id) ||\r\n this.tableHeadTabs[0]\r\n );\r\n },\r\n\r\n updatedBodyRows(): tableBodyList {\r\n return this.tableBody.map(row => {\r\n const status = row.status || \"base\";\r\n\r\n return {\r\n ...row,\r\n withAction: !!row.onClick,\r\n status: tableStatuses[status] || \"base\"\r\n };\r\n });\r\n },\r\n\r\n paginationTotal(): number {\r\n if (this.totalRows === 0) {\r\n return 0;\r\n }\r\n\r\n return Math.ceil(this.totalRows / this.perPage);\r\n },\r\n\r\n paginationCapture(): string {\r\n if (!this.paginationCaptureKey) {\r\n return \"\";\r\n }\r\n\r\n const { totalRows = 0 } = this;\r\n const { perPage, page } = this.viewConfiguration;\r\n let count = totalRows > perPage ? perPage * page : this.totalRows;\r\n\r\n if (count > totalRows) {\r\n count = totalRows;\r\n }\r\n\r\n return `${count} of ${this.totalRows} ${this.paginationCaptureKey}`;\r\n },\r\n\r\n useSelect(): boolean {\r\n return true;\r\n },\r\n\r\n tabsList() {\r\n return this.tableHeadTabs.map(tab => tab.title);\r\n }\r\n },\r\n\r\n watch: {\r\n selectedTab: {\r\n handler(data: ITab) {\r\n if (data?.id !== this.parentSelectedTab?.id) {\r\n this.$emit(\"changeTab\", data);\r\n }\r\n },\r\n\r\n deep: true\r\n },\r\n\r\n parentSelectedTab: {\r\n deep: true,\r\n immediate: true,\r\n handler(tab: ITab) {\r\n if (!this.selectedTab || !tab) {\r\n return;\r\n }\r\n\r\n if (tab.id !== this.selectedTab.id) {\r\n this.selectedTab = tab;\r\n }\r\n }\r\n }\r\n },\r\n\r\n methods: {\r\n changeViewConfiguration(newViewConfiguration: ITableViewConfiguration) {\r\n this.$emit(\"changeViewConfiguration\", newViewConfiguration);\r\n },\r\n changeCurrentPageHandler(page: number): void {\r\n this.viewConfiguration.page = page;\r\n },\r\n\r\n changePerPageHandler(perPage: number): void {\r\n this.viewConfiguration.perPage = perPage;\r\n },\r\n\r\n changeSorting(keyName: string): void {\r\n this.$emit(\"sort\", keyName);\r\n },\r\n addItem() {\r\n this.$emit(\"openForm\");\r\n },\r\n changeTab(idx: number) {\r\n this.selectedTabIdx = idx;\r\n\r\n const findTab: ITab | undefined = this.tableHeadTabs[idx];\r\n\r\n if (findTab) {\r\n this.selectedTab = findTab;\r\n }\r\n },\r\n editItem(id: number) {\r\n this.$emit(\"editItem\", id);\r\n },\r\n removeItem(id: number) {\r\n this.$emit(\"removeItem\", id);\r\n }\r\n }\r\n});\r\n","import { render } from \"./AppToolbarTable.vue?vue&type=template&id=5540c12a&ts=true\"\nimport script from \"./AppToolbarTable.vue?vue&type=script&lang=ts\"\nexport * from \"./AppToolbarTable.vue?vue&type=script&lang=ts\"\n\nimport \"./AppToolbarTable.vue?vue&type=style&index=0&id=5540c12a&lang=scss\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n\r\n\r\n","import { render } from \"./PageMainHeading.vue?vue&type=template&id=5043c7c0\"\nimport script from \"./PageMainHeading.vue?vue&type=script&lang=js\"\nexport * from \"./PageMainHeading.vue?vue&type=script&lang=js\"\n\nimport \"./PageMainHeading.vue?vue&type=style&index=0&id=5043c7c0&lang=scss\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./SettingsItem.vue?vue&type=style&index=0&id=02b99096&scoped=true&lang=scss\"","\r\n\r\n\r\n\r\n\r\n","import { render } from \"./SettingsItem.vue?vue&type=template&id=02b99096&scoped=true\"\nimport script from \"./SettingsItem.vue?vue&type=script&lang=js\"\nexport * from \"./SettingsItem.vue?vue&type=script&lang=js\"\n\nimport \"./SettingsItem.vue?vue&type=style&index=0&id=02b99096&scoped=true&lang=scss\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-02b99096\"]])\n\nexport default __exports__","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bgColor\":\"#f5f6fa\",\"fontColor\":\"#333\",\"lightColor\":\"#fff\",\"primaryColor\":\"#3a85db\",\"successColor\":\"#3a85db\",\"warningColor\":\"#f2994a\",\"warningLightColor\":\"#fef5ed\",\"dangerColor\":\"#ff8181\",\"dangerLightColor\":\"#fdefef\",\"darkBackgroundColor\":\"rgba(0,0,0,.1)\",\"activeMenuItemGradient\":\"linear-gradient(0deg, #F3F4F8, #F3F4F8)\",\"gradientPrimaryLight\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"gradientPrimaryLightTransparent\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"colIndent\":\"1rem\",\"tableColXxs\":\"4rem\",\"tableColXs\":\"5.2rem\",\"tableColSm\":\"7rem\",\"tableColSmL\":\"9.5rem\",\"tableColMd\":\"11.5rem\",\"tableColLg\":\"18rem\",\"tableColXg\":\"25rem\",\"buttonSizesArray\":\"icon,xs,sm,smL,md-fluid,md,lg,xl,fluid\"};","import { resolveComponent as _resolveComponent, mergeProps as _mergeProps, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"avatar-upload\" }\nconst _hoisted_2 = { class: \"avatar-upload-uploader\" }\nconst _hoisted_3 = { class: \"avatar-upload-text\" }\nconst _hoisted_4 = { class: \"light-text\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_FileUploader = _resolveComponent(\"FileUploader\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"d-flex\", {\r\n 'flex-column': _ctx.direction === 'column',\r\n 'align-items-center': _ctx.direction === 'column',\r\n 'text-center': _ctx.direction === 'column'\r\n }])\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_FileUploader, _mergeProps({\n id: \"avatar\",\n placeholder: _ctx.placeholder,\n accept: \".jpg, .jpeg, .png\"\n }, _ctx.$attrs, {\n onFileChanged: _cache[0] || (_cache[0] = file => _ctx.$emit('fileChanged', file))\n }), null, 16, [\"placeholder\"])\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"p\", _hoisted_4, _toDisplayString(_ctx.title), 1),\n _createElementVNode(\"p\", null, \"Size: \" + _toDisplayString(_ctx.size) + \" pixels\", 1),\n _createElementVNode(\"p\", null, \"Format: \" + _toDisplayString(_ctx.format), 1)\n ])\n ], 2)\n ]))\n}","import { mergeProps as _mergeProps, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createVNode as _createVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"filer-uploader\" }\nconst _hoisted_2 = [\"id\"]\nconst _hoisted_3 = [\"for\"]\nconst _hoisted_4 = {\n key: 0,\n class: \"app-uploader-preview\"\n}\nconst _hoisted_5 = [\"src\"]\nconst _hoisted_6 = {\n key: 1,\n class: \"app-uploader-placeholder\"\n}\nconst _hoisted_7 = [\"src\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_svg_icon = _resolveComponent(\"svg-icon\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"input\", _mergeProps({\n id: _ctx.id,\n type: \"file\",\n class: \"app-uploader\"\n }, _ctx.$attrs, {\n hidden: \"\",\n onChange: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.uploadHandler && _ctx.uploadHandler(...args)))\n }), null, 16, _hoisted_2),\n _createElementVNode(\"label\", {\n for: _ctx.id,\n class: \"upload-trigger\"\n }, [\n (_ctx.renderedPreview)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_4, [\n _createElementVNode(\"img\", {\n src: _ctx.renderedPreview,\n alt: \"alt\"\n }, null, 8, _hoisted_5)\n ]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_6, [\n (_ctx.placeholder)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: _ctx.placeholder,\n alt: \"\"\n }, null, 8, _hoisted_7))\n : _createCommentVNode(\"\", true)\n ])),\n _createVNode(_component_svg_icon, {\n icon: \"camera\",\n class: \"camera\"\n })\n ], 8, _hoisted_3)\n ]))\n}","\r\nimport SvgIcon from \"@/components/ui/SvgIcon.vue\";\r\nimport { fileRender } from \"@/utills/files/fileRender\";\r\nimport { defineComponent } from \"vue\";\r\nexport default defineComponent({\r\n name: \"FileUploader\",\r\n components: { SvgIcon },\r\n emits: {\r\n fileChanged: null\r\n },\r\n\r\n props: {\r\n id: { type: String, required: true },\r\n previewUrl: { type: String, default: null },\r\n placeholder: {\r\n type: String,\r\n required: false,\r\n default: require(\"@/assets/icons/avatar-placeholder.svg\")\r\n }\r\n },\r\n\r\n data() {\r\n return {\r\n renderedPreview: this.previewUrl,\r\n file: null\r\n } as {\r\n renderedPreview: string;\r\n file: File | null;\r\n };\r\n },\r\n\r\n watch: {\r\n file(file: File | null) {\r\n this.$emit(\"fileChanged\", file);\r\n }\r\n },\r\n\r\n methods: {\r\n async uploadHandler({ target }: Event): Promise {\r\n const evtTarget: HTMLInputElement | null = target as HTMLInputElement;\r\n\r\n if (evtTarget) {\r\n const files: FileList | null = evtTarget.files;\r\n\r\n if (files) {\r\n const file: File = files[0];\r\n\r\n if (file) {\r\n this.file = file;\r\n this.renderedPreview = await fileRender(file);\r\n\r\n return;\r\n }\r\n }\r\n }\r\n\r\n this.file = null;\r\n }\r\n }\r\n});\r\n","import { render } from \"./FileUploader.vue?vue&type=template&id=a15c207c&ts=true\"\nimport script from \"./FileUploader.vue?vue&type=script&lang=ts\"\nexport * from \"./FileUploader.vue?vue&type=script&lang=ts\"\n\nimport \"./FileUploader.vue?vue&type=style&index=0&id=a15c207c&lang=scss\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\nimport FileUploader from \"@/components/ui/FileUploader.vue\";\r\nimport { defineComponent } from \"vue\";\r\nexport default defineComponent({\r\n name: \"AvatarUpload\",\r\n components: { FileUploader },\r\n props: {\r\n title: {\r\n type: String,\r\n default: \"We recommend to upload image with the following presets:\"\r\n },\r\n size: { type: String, default: \"160x160\" },\r\n format: { type: String, default: \"PNG\" },\r\n placeholder: {\r\n type: [String, File],\r\n required: false,\r\n default: \"\"\r\n },\r\n direction: {\r\n type: String,\r\n validator: (d: string) => [\"row\", \"column\"].indexOf(d) !== -1,\r\n default: \"row\"\r\n }\r\n },\r\n emits: { fileChanged: null }\r\n});\r\n","import { render } from \"./AvatarUpload.vue?vue&type=template&id=e52f561e&ts=true\"\nimport script from \"./AvatarUpload.vue?vue&type=script&lang=ts\"\nexport * from \"./AvatarUpload.vue?vue&type=script&lang=ts\"\n\nimport \"./AvatarUpload.vue?vue&type=style&index=0&id=e52f561e&lang=scss\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\nimport { defineComponent, h, Transition, VNode } from \"vue\";\r\nimport gsap from \"gsap\";\r\n\r\nconst TAB_DURATION = 0.55;\r\nconst HEIGHT_DURATION = 0.4;\r\n\r\nexport default defineComponent({\r\n name: \"AppTabsBody\",\r\n props: {\r\n selectedTabIdx: { type: Number, default: 0 },\r\n animate: { type: Boolean, default: true }\r\n },\r\n\r\n data(): {\r\n prevSelectedIdx: number;\r\n activeTabHeight: number;\r\n tabDuration: number;\r\n rootElDuration: number;\r\n loaded: boolean;\r\n rootEl: VNode | null;\r\n resizeObserver: ResizeObserver | null;\r\n activeTabContent: Element | null;\r\n processTimeout: ReturnType | null;\r\n currentTabHeight: number;\r\n heightAlreadySet: boolean;\r\n } {\r\n return {\r\n prevSelectedIdx: -1,\r\n rootEl: null,\r\n activeTabHeight: 0,\r\n resizeObserver: null,\r\n activeTabContent: null,\r\n tabDuration: this.animate ? TAB_DURATION : 0,\r\n rootElDuration: this.animate ? HEIGHT_DURATION : 0,\r\n loaded: false,\r\n processTimeout: null,\r\n currentTabHeight: 0,\r\n heightAlreadySet: false\r\n };\r\n },\r\n\r\n watch: {\r\n currentTabHeight: {\r\n handler(height) {\r\n this.setRootElHeight(height, this.rootElDuration);\r\n }\r\n },\r\n\r\n activeTabContent: {\r\n handler(current, prev) {\r\n // Observe / unobserve active tab height\r\n if (this.resizeObserver) {\r\n if (prev) {\r\n this.resizeObserver.unobserve(prev);\r\n }\r\n\r\n this.resizeObserver.observe(current, {\r\n box: \"border-box\"\r\n });\r\n }\r\n }\r\n },\r\n\r\n selectedTabIdx: {\r\n immediate: true,\r\n handler(idx, prevIdx) {\r\n if (this.rootEl?.el) {\r\n this.rootEl.el.style.overflow = \"hidden\";\r\n }\r\n\r\n if (prevIdx !== undefined) {\r\n this.prevSelectedIdx = prevIdx;\r\n }\r\n }\r\n },\r\n\r\n animate(animate: boolean) {\r\n this.tabDuration = animate ? TAB_DURATION : 0;\r\n this.rootElDuration = animate ? HEIGHT_DURATION : 0;\r\n }\r\n },\r\n\r\n mounted() {\r\n this.$nextTick(() => {\r\n setTimeout(() => {\r\n if (this.activeTabContent) {\r\n const { height } = this.activeTabContent.getBoundingClientRect();\r\n this.currentTabHeight = height;\r\n }\r\n }, 200);\r\n });\r\n },\r\n created() {\r\n // Create active tab resize observer\r\n this.resizeObserver = new ResizeObserver(([{ target }]) => {\r\n if (target) {\r\n this.heightAlreadySet = true;\r\n this.currentTabHeight = target.getBoundingClientRect().height;\r\n }\r\n });\r\n },\r\n\r\n beforeUnmount() {\r\n this.heightAlreadySet = false;\r\n\r\n // Kill active tab resize observer\r\n if (this.resizeObserver) {\r\n this.resizeObserver.disconnect();\r\n }\r\n\r\n this.resizeObserver = null;\r\n },\r\n\r\n unmounted() {\r\n this.currentTabHeight = 0;\r\n },\r\n\r\n methods: {\r\n setRootElHeight(\r\n height: number,\r\n duration?: number,\r\n onComplete: () => void = () => {}\r\n ) {\r\n this.heightAlreadySet = true;\r\n if (!this.rootEl?.el) return;\r\n\r\n gsap.to(this.rootEl.el, {\r\n height,\r\n delay: 0,\r\n duration: duration ?? this.rootElDuration,\r\n onComplete\r\n });\r\n },\r\n\r\n beforeAppear(el: Element) {\r\n this.activeTabContent = el;\r\n gsap.set(el, { autoAlpha: 1, xPercent: 0 });\r\n },\r\n\r\n beforeEnter(el: Element) {\r\n if (this.rootEl?.el) {\r\n this.rootEl.el.style.overflow = \"\";\r\n }\r\n\r\n this.activeTabContent = el;\r\n\r\n // Animate active tab enter\r\n gsap.set(el, {\r\n autoAlpha: 0,\r\n xPercent: this.prevSelectedIdx > this.selectedTabIdx ? -100 : 100\r\n });\r\n\r\n if (this.rootEl?.el) {\r\n const { height } = el.getBoundingClientRect();\r\n this.currentTabHeight = height;\r\n }\r\n },\r\n\r\n enter(el: Element, done: () => void) {\r\n this.$nextTick(() => {\r\n if (this.rootEl?.el) this.rootEl.el.style.overflow = \"hidden\";\r\n gsap.to(el, {\r\n autoAlpha: 1,\r\n xPercent: 0,\r\n easing: \"expo.inOut\",\r\n duration: this.tabDuration,\r\n onComplete: () => {\r\n this.processTimeout = setTimeout(() => {\r\n if (this.rootEl?.el) {\r\n this.rootEl.el.style.overflow = \"visible\";\r\n }\r\n }, this.tabDuration);\r\n\r\n done();\r\n }\r\n });\r\n });\r\n },\r\n\r\n leave(el: Element, done: () => void) {\r\n this.$nextTick(() => {\r\n gsap.to(el, {\r\n autoAlpha: 0,\r\n duration: this.tabDuration,\r\n easing: \"expo.outIn\",\r\n xPercent: this.prevSelectedIdx > this.selectedTabIdx ? 100 : -100,\r\n onComplete: done\r\n });\r\n });\r\n }\r\n },\r\n\r\n render() {\r\n const tabs: any = this.$slots.default?.() || [];\r\n const root = tabs?.[0]?.children;\r\n\r\n if (!Array.isArray(root)) {\r\n return h(\"\");\r\n }\r\n\r\n let target = \"\";\r\n\r\n if (root.length === 1) {\r\n target = root?.[0]?.children[this.selectedTabIdx];\r\n } else if (root.length > 0) {\r\n target = root[this.selectedTabIdx];\r\n }\r\n\r\n const rootEl = h(\r\n \"div\",\r\n {\r\n class: \"app-tabs__body__wrapper\"\r\n },\r\n h(\r\n \"div\",\r\n {\r\n class: \"app-tabs__body__controller\"\r\n },\r\n h(\r\n Transition,\r\n {\r\n css: false,\r\n appear: true,\r\n onAppear: this.beforeAppear,\r\n onBeforeEnter: this.beforeEnter,\r\n onEnter: this.enter,\r\n onLeave: this.leave\r\n },\r\n target\r\n )\r\n )\r\n );\r\n\r\n this.rootEl = rootEl;\r\n return rootEl;\r\n }\r\n});\r\n","import script from \"./AppTabsBody.vue?vue&type=script&lang=tsx\"\nexport * from \"./AppTabsBody.vue?vue&type=script&lang=tsx\"\n\nimport \"./AppTabsBody.vue?vue&type=style&index=0&id=00d3df36&scoped=true&lang=scss\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-00d3df36\"]])\n\nexport default __exports__","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./DragAndDrop.vue?vue&type=style&index=0&id=e0f57002&scoped=true&lang=scss\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bgColor\":\"#f5f6fa\",\"fontColor\":\"#333\",\"lightColor\":\"#fff\",\"primaryColor\":\"#3a85db\",\"successColor\":\"#3a85db\",\"warningColor\":\"#f2994a\",\"warningLightColor\":\"#fef5ed\",\"dangerColor\":\"#ff8181\",\"dangerLightColor\":\"#fdefef\",\"darkBackgroundColor\":\"rgba(0,0,0,.1)\",\"activeMenuItemGradient\":\"linear-gradient(0deg, #F3F4F8, #F3F4F8)\",\"gradientPrimaryLight\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"gradientPrimaryLightTransparent\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"colIndent\":\"1rem\",\"tableColXxs\":\"4rem\",\"tableColXs\":\"5.2rem\",\"tableColSm\":\"7rem\",\"tableColSmL\":\"9.5rem\",\"tableColMd\":\"11.5rem\",\"tableColLg\":\"18rem\",\"tableColXg\":\"25rem\",\"buttonSizesArray\":\"icon,xs,sm,smL,md-fluid,md,lg,xl,fluid\"};","import { renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { ref: \"_slot\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"default\")\n ], 512))\n}","export enum validationTypesEnum {\r\n required = \"required\",\r\n minLength = \"minLength\",\r\n equal = \"equal\",\r\n base = \"base\",\r\n price = \"price\",\r\n number = \"number\"\r\n}\r\n\r\nexport enum inputTypesEnum {\r\n email = \"email\",\r\n password = \"password\",\r\n name = \"name\",\r\n unknown = \"unknown\",\r\n phone = \"phone\",\r\n price = \"price\",\r\n number = \"number\"\r\n}\r\n\r\nconst { email, password, name, unknown, phone, price } = inputTypesEnum;\r\nconst { required, minLength, equal, base, number } = validationTypesEnum;\r\n\r\ntype IValidationError = {\r\n [key: string]: string | undefined;\r\n};\r\n\r\nexport interface ValidatorInputType {\r\n [key: string]: IValidationError | undefined;\r\n}\r\n\r\nexport const inputError: IValidationError = {\r\n empty: \"This field cannot be empty\",\r\n base: \"The field is filled incorrectly\",\r\n nameIsEmpty: \"Name cannot be empty\",\r\n nameIsTooShort: \"Field must have at least 3 symbols\",\r\n price: \"Price must be greater than 0\",\r\n number: \"Only numbers are supported\"\r\n};\r\n\r\nexport const validationErrors: ValidatorInputType = {\r\n [email]: {\r\n [required]: \"Email cannot be empty\",\r\n [base]: \"Email is not valid\"\r\n },\r\n\r\n [price]: {\r\n [base]: inputError.price,\r\n [number]: \"Amount must be a number\"\r\n },\r\n\r\n [password]: {\r\n [required]: \"Password cannot be empty\",\r\n [minLength]: \"Password must be at least 8 symbols\",\r\n [equal]: \"Passwords do not match\",\r\n [base]: \"Password must have at least 1 uppercase symbol and 1 number\"\r\n },\r\n\r\n [name]: {\r\n [required]: \"Name cannot be empty\",\r\n [minLength]: \"Field must have at least 3 symbols\",\r\n [base]: \"Name is incorrect\"\r\n },\r\n\r\n [unknown]: {\r\n [required]: \"Field cannot be empty\",\r\n [minLength]: \"Field is too short\",\r\n [base]: \"The field is filled incorrectly\"\r\n },\r\n\r\n [phone]: {\r\n [required]: \"Phone cannot be empty\",\r\n [base]: \"Incorrect phone\"\r\n }\r\n};\r\n\r\nexport function getValidationError(\r\n inputType: string,\r\n errorType: string\r\n): string {\r\n const type: IValidationError | undefined =\r\n validationErrors[inputType] ?? validationErrors[unknown];\r\n\r\n if (type) {\r\n return type[errorType] || type[base] || \"\";\r\n }\r\n\r\n return \"\";\r\n}\r\n\r\nexport function getInputError(type: string) {\r\n if (inputError[type]) {\r\n return inputError[type];\r\n }\r\n\r\n return inputError.base;\r\n}\r\n","import { IValidatorResponse } from \"@/validator/interfaces/IValidatorResponse\";\r\n\r\nexport type IValidator = {\r\n name: string;\r\n validator: (value: string, toEqualValue?: string) => IValidatorResponse;\r\n};\r\n\r\nexport interface IAppValidators {\r\n email: (value: string) => IValidatorResponse;\r\n equal: (value: string, toEqualValue?: string) => IValidatorResponse;\r\n password: (value: string) => IValidatorResponse;\r\n name: (value: string) => IValidatorResponse;\r\n phone: (value: string) => IValidatorResponse;\r\n required: (value: string) => IValidatorResponse;\r\n}\r\n\r\nexport function combineValidators(validators: IValidator[]): IAppValidators {\r\n return validators.reduce(\r\n (acc, { name, validator }: IValidator): object => {\r\n return { ...acc, [name]: validator };\r\n },\r\n {}\r\n );\r\n}\r\n","import { IValidatorResponse } from \"@/validator/interfaces/IValidatorResponse\";\r\n\r\nexport class ValidatorResponse implements IValidatorResponse {\r\n public status: boolean;\r\n public message: string;\r\n\r\n constructor(status: boolean, message: string) {\r\n this.status = status;\r\n this.message = message;\r\n }\r\n}\r\n","import { IValidatorResponse } from \"@/validator/interfaces/IValidatorResponse\";\r\nimport {\r\n getValidationError,\r\n inputTypesEnum,\r\n validationTypesEnum\r\n} from \"@/validator/errorMessages\";\r\nimport { ValidatorResponse } from \"@/validator/ValidatorResponse\";\r\n\r\nconst { email: emailType } = inputTypesEnum;\r\nconst { required, base } = validationTypesEnum;\r\n\r\nconst reg = new RegExp(\r\n /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/\r\n);\r\n\r\nexport function email(value: string): IValidatorResponse {\r\n if (!value.length) {\r\n return new ValidatorResponse(\r\n false,\r\n getValidationError(emailType, required)\r\n );\r\n }\r\n\r\n const isValid = reg.test(value);\r\n\r\n return new ValidatorResponse(\r\n isValid,\r\n isValid ? \"\" : getValidationError(emailType, base)\r\n );\r\n}\r\n","import {\r\n getValidationError,\r\n inputTypesEnum,\r\n validationTypesEnum\r\n} from \"@/validator/errorMessages\";\r\nimport { IValidatorResponse } from \"@/validator/interfaces/IValidatorResponse\";\r\nimport { ValidatorResponse } from \"@/validator/ValidatorResponse\";\r\nconst { password } = inputTypesEnum;\r\nconst { equal } = validationTypesEnum;\r\n\r\nexport function equalTo(\r\n value: string,\r\n toEqualValue?: string\r\n): IValidatorResponse {\r\n const valid: boolean = value === toEqualValue;\r\n return new ValidatorResponse(\r\n valid,\r\n valid ? \"\" : getValidationError(password, equal)\r\n );\r\n}\r\n","export function isNotEmptyString(str: string): boolean {\r\n return str.trim().length > 0;\r\n}\r\n","import {\r\n getValidationError,\r\n inputTypesEnum,\r\n validationTypesEnum\r\n} from \"@/validator/errorMessages\";\r\nimport { isNotEmptyString } from \"@/validator/utilles/isNotEmptyString\";\r\nimport { ValidatorResponse } from \"@/validator/ValidatorResponse\";\r\n\r\nconst regexp = new RegExp(/^(?=.*\\d)(?=.*[a-z])(?=.*[A-Z])[0-9a-zA-Z\\W]{8,}$/);\r\nconst { password: passwordType } = inputTypesEnum;\r\nconst { required, minLength, base } = validationTypesEnum;\r\n\r\nexport function password(value: string) {\r\n let status = false;\r\n let message = \"\";\r\n\r\n if (!isNotEmptyString(value)) {\r\n message = getValidationError(passwordType, required);\r\n } else if (value.trim().length < 8) {\r\n message = getValidationError(passwordType, minLength);\r\n } else if (!regexp.test(value)) {\r\n message = getValidationError(passwordType, base);\r\n } else {\r\n status = true;\r\n }\r\n\r\n return new ValidatorResponse(status, message);\r\n}\r\n","import {\r\n getValidationError,\r\n inputTypesEnum,\r\n validationTypesEnum\r\n} from \"@/validator/errorMessages\";\r\nimport { isNotEmptyString } from \"@/validator/utilles/isNotEmptyString\";\r\nimport { ValidatorResponse } from \"@/validator/ValidatorResponse\";\r\nimport { IValidatorResponse } from \"@/validator/interfaces/IValidatorResponse\";\r\n\r\nconst { name: nameType } = inputTypesEnum;\r\nconst { required, minLength, base } = validationTypesEnum;\r\n\r\nexport function name(value: string): IValidatorResponse {\r\n let errorMessage = \"\";\r\n let status = false;\r\n\r\n if (!isNotEmptyString(value)) {\r\n errorMessage = getValidationError(nameType, required);\r\n } else if (value.trim().length < 2) {\r\n errorMessage = getValidationError(nameType, minLength);\r\n } else {\r\n status = true;\r\n }\r\n\r\n return new ValidatorResponse(status, errorMessage);\r\n}\r\n","import {\r\n getValidationError,\r\n inputTypesEnum,\r\n validationTypesEnum\r\n} from \"@/validator/errorMessages\";\r\nimport { IValidatorResponse } from \"@/validator/interfaces/IValidatorResponse\";\r\nimport { ValidatorResponse } from \"@/validator/ValidatorResponse\";\r\n\r\n// const phoneRegex = new RegExp(\r\n// /^(?:(?:\\(?(?:00|\\+)([1-4]\\d\\d|[1-9]\\d?)\\)?)?[-. \\\\/]?)?((?:\\(?\\d{1,}\\)?[-. \\\\/]?){0,})(?:[-. \\\\/]?(?:#|ext\\.?|extension|x)[-. \\\\/]?(\\d+))?$/gim\r\n// );\r\n\r\nconst phoneRegex = /^\\+[0-9\\-().\\s]{7,15}$/;\r\nconst { phone: phoneType } = inputTypesEnum;\r\nconst { base } = validationTypesEnum;\r\n\r\nexport function phone(value: string): IValidatorResponse {\r\n const isValid = phoneRegex.test(value) && value.trim().length > 6;\r\n\r\n return new ValidatorResponse(\r\n isValid,\r\n isValid ? \"\" : getValidationError(phoneType, base)\r\n );\r\n}\r\n","import { getValidationError, validationTypesEnum } from \"../errorMessages\";\r\nimport { IValidatorResponse } from \"../interfaces/IValidatorResponse\";\r\nimport { ValidatorResponse } from \"../ValidatorResponse\";\r\n\r\nexport function required(value: string): IValidatorResponse {\r\n const status = !!value.trim().length;\r\n\r\n return new ValidatorResponse(\r\n status,\r\n getValidationError(\"**\", validationTypesEnum.required)\r\n );\r\n}\r\n","import { ValidatorResponse } from \"@/validator/ValidatorResponse\";\r\nimport { IValidatorResponse } from \"@/validator/interfaces/IValidatorResponse\";\r\nimport {\r\n getValidationError,\r\n validationTypesEnum\r\n} from \"@/validator/errorMessages\";\r\n\r\nexport function notEmptyString(value: string): IValidatorResponse {\r\n return new ValidatorResponse(\r\n value.length > 0,\r\n getValidationError(\"**\", validationTypesEnum.required)\r\n );\r\n}\r\n","import { IValidatorResponse } from \"@/validator/interfaces/IValidatorResponse\";\r\nimport { ValidatorResponse } from \"@/validator/ValidatorResponse\";\r\nimport {\r\n getValidationError,\r\n validationTypesEnum\r\n} from \"@/validator/errorMessages\";\r\n\r\nexport function number(value: string): IValidatorResponse {\r\n let status = parseInt(value) >= 0;\r\n\r\n if (status) {\r\n status = /[0-9]/.test(value);\r\n }\r\n\r\n return new ValidatorResponse(\r\n status,\r\n getValidationError(\"**\", validationTypesEnum.number)\r\n );\r\n}\r\n","import { IValidatorResponse } from \"@/validator/interfaces/IValidatorResponse\";\r\nimport { ValidatorResponse } from \"@/validator/ValidatorResponse\";\r\nimport {\r\n getValidationError,\r\n validationTypesEnum\r\n} from \"@/validator/errorMessages\";\r\nimport { number } from \"@/validator/validators/number\";\r\n\r\nexport function price(value: string): IValidatorResponse {\r\n const { status: isNumber } = number(value);\r\n\r\n let status = isNumber ? parseInt(value) > 0 : false;\r\n const message = !isNumber\r\n ? getValidationError(\"price\", validationTypesEnum.number)\r\n : null;\r\n\r\n if (status) {\r\n if (value.startsWith(\"0\") && !value.includes(\".\")) {\r\n status = false;\r\n }\r\n }\r\n\r\n return new ValidatorResponse(\r\n status,\r\n message || getValidationError(\"price\", validationTypesEnum.price)\r\n );\r\n}\r\n","import {\r\n combineValidators,\r\n IAppValidators\r\n} from \"@/validator/combineValidators\";\r\nimport {\r\n IField,\r\n IValidationResult,\r\n FormValidator,\r\n ValidatorInput\r\n} from \"@/validator/interfaces/common\";\r\nimport { email } from \"@/validator/validators/email\";\r\nimport { equalTo } from \"@/validator/validators/equalTo\";\r\nimport { password } from \"@/validator/validators/password\";\r\nimport { name } from \"@/validator/validators/name\";\r\nimport { phone } from \"@/validator/validators/phone\";\r\nimport { required } from \"@/validator/validators/required\";\r\nimport { IValidatorResponse } from \"./interfaces/IValidatorResponse\";\r\nimport { notEmptyString } from \"@/validator/validators/notEmptyString\";\r\nimport { number } from \"@/validator/validators/number\";\r\nimport { price } from \"@/validator/validators/price\";\r\n\r\nconst validators: IAppValidators = combineValidators([\r\n { name: \"email\", validator: email },\r\n { name: \"equal\", validator: equalTo },\r\n { name: \"password\", validator: password },\r\n { name: \"name\", validator: name },\r\n { name: \"phone\", validator: phone },\r\n { name: \"required\", validator: required },\r\n { name: \"notEmptyString\", validator: notEmptyString },\r\n { name: \"number\", validator: number },\r\n { name: \"price\", validator: price }\r\n]);\r\n\r\nclass ValidationResult implements IValidationResult {\r\n public error: boolean;\r\n public touched: boolean;\r\n public errorMessage: string;\r\n\r\n constructor(valid: boolean, touched: boolean, errorMessage: string) {\r\n this.error = valid;\r\n this.touched = touched;\r\n this.errorMessage = errorMessage;\r\n }\r\n}\r\n\r\nclass Field implements IField {\r\n public node: HTMLInputElement;\r\n public rule: string;\r\n public value: string;\r\n public errorMessage: string;\r\n public id: string;\r\n public touched: boolean;\r\n public error: boolean;\r\n public equalToNode: HTMLElement | null;\r\n public required: boolean;\r\n public onChange: (valid?: IValidationResult) => void;\r\n public bindedOnChange: (evt: any) => any;\r\n public equalValue: string;\r\n\r\n constructor(\r\n inputNode: HTMLInputElement,\r\n onChange: (valid?: IValidationResult) => void = () => {}\r\n ) {\r\n const equalToId = inputNode.dataset.equalTo || \"\";\r\n this.node = inputNode;\r\n this.rule = inputNode.dataset.rule || \"\";\r\n this.value = inputNode.value;\r\n this.errorMessage = \"\";\r\n this.id = inputNode.id;\r\n this.touched = !!inputNode.value.length;\r\n this.error = false;\r\n this.required = inputNode.dataset.required === \"true\";\r\n\r\n this.equalToNode = document.getElementById(equalToId);\r\n this.equalValue = \"\";\r\n this.bindedOnChange = this.changeHandler.bind(this);\r\n this.node.addEventListener(\"input\", this.bindedOnChange);\r\n this.node.addEventListener(\"focusout\", () => {\r\n this.focusoutHandler();\r\n });\r\n\r\n if (this.equalToNode) {\r\n this.equalToNode.addEventListener(\"input\", evt => {\r\n this.equalValue = (evt.target as HTMLInputElement).value;\r\n this.validate();\r\n });\r\n }\r\n\r\n this.onChange = onChange;\r\n\r\n this.onChange(this.validate());\r\n }\r\n\r\n changeHandler(event: InputEvent) {\r\n const target: EventTarget | null = event.target;\r\n\r\n if (target === null) {\r\n return;\r\n }\r\n\r\n this.value = (target).value || \"\";\r\n const valid = this.validate();\r\n this.onChange(valid);\r\n }\r\n\r\n private focusoutHandler(): void {\r\n this.touch();\r\n const valid = this.validate();\r\n this.onChange(valid);\r\n }\r\n\r\n get valid(): IValidationResult {\r\n return new ValidationResult(this.error, this.touched, this.errorMessage);\r\n }\r\n\r\n touch() {\r\n this.touched = true;\r\n this.onChange(this.validate());\r\n }\r\n\r\n private validate(): IValidationResult {\r\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\r\n // @ts-ignore\r\n const validator = validators[this.rule];\r\n const emptyResult: IValidatorResponse = validators.required(this.value);\r\n\r\n if (!emptyResult.status) {\r\n if (!this.required) {\r\n this.error = false;\r\n this.errorMessage = \"\";\r\n return this.valid;\r\n }\r\n\r\n this.error = !emptyResult.status;\r\n this.errorMessage = emptyResult.message;\r\n\r\n return this.valid;\r\n }\r\n\r\n if (this.equalToNode) {\r\n if (this.equalValue === this.value) {\r\n this.error = false;\r\n this.errorMessage = \"\";\r\n return this.valid;\r\n } else {\r\n const { status, message } = validators.equal(\r\n this.value,\r\n this.equalValue\r\n );\r\n this.error = !status;\r\n this.errorMessage = message;\r\n if (!status) {\r\n return this.valid;\r\n }\r\n }\r\n }\r\n\r\n if (validator) {\r\n const { status, message } = validator(this.value);\r\n\r\n this.error = !status;\r\n this.errorMessage = message;\r\n }\r\n\r\n return this.valid;\r\n }\r\n\r\n public destroy() {\r\n this.node.removeEventListener(\"focusout\", this.focusoutHandler);\r\n this.node.removeEventListener(\"input\", this.bindedOnChange);\r\n }\r\n}\r\n\r\ntype attachInputsType = (\r\n input: HTMLInputElement,\r\n onChange: (valid?: IValidationResult) => void\r\n) => void;\r\n\r\nexport class Validator implements FormValidator {\r\n protected fields: ValidatorInput[];\r\n\r\n constructor() {\r\n this.fields = [];\r\n }\r\n\r\n shakeTree() {\r\n this.fields.forEach(field => {\r\n field.input.touch();\r\n });\r\n }\r\n\r\n attachInput(\r\n input: HTMLInputElement,\r\n onChange: (valid?: IValidationResult) => void\r\n ): void {\r\n const id = input.id;\r\n\r\n this.fields.push({\r\n id,\r\n input: new Field(input, onChange)\r\n });\r\n }\r\n\r\n removeInput(id: string): void {\r\n const { input: field } = this.fields.find(field => field.id === id) || {};\r\n this.fields = this.fields.filter(field => field.id !== id);\r\n\r\n if (field) {\r\n field.destroy();\r\n }\r\n }\r\n}\r\n\r\nexport const validator = new Validator();\r\n","\r\nimport { defineComponent, computed } from \"vue\";\r\nimport { validator } from \"@/validator/Validator\";\r\nimport { IValidationResult } from \"@/validator/interfaces/common\";\r\nimport { IInputError } from \"@/components/Form/interfaces/validation/IInputError\";\r\n\r\ntype providerInput = {\r\n id: string;\r\n input: HTMLInputElement;\r\n validationResult: IInputError | undefined;\r\n};\r\n\r\ntype ProviderData = {\r\n validator: any;\r\n inputErrors: IInputError[];\r\n // eslint-disable-next-line no-undef\r\n slots: NodeListOf | [];\r\n inputs: providerInput[];\r\n};\r\n\r\ntype providerRefs = {\r\n _slot: HTMLElement;\r\n};\r\n\r\nexport default defineComponent({\r\n name: \"AppInputsValidationProvider\",\r\n\r\n provide() {\r\n return {\r\n inputErrors: computed(() => this.inputErrors),\r\n destroyed: this.destroyedHandler\r\n };\r\n },\r\n\r\n props: { shakeTree: { type: Boolean, default: false } },\r\n emits: {\r\n changeErrorState: null\r\n },\r\n\r\n data() {\r\n return {\r\n validator: null,\r\n inputErrors: [],\r\n slots: [],\r\n inputs: []\r\n } as ProviderData;\r\n },\r\n\r\n computed: {\r\n hasError(): boolean {\r\n return this.inputErrors.some(({ error }) => error);\r\n }\r\n },\r\n\r\n watch: {\r\n hasError: {\r\n handler(err: boolean): void {\r\n this.$emit(\"changeErrorState\", err);\r\n },\r\n\r\n immediate: true\r\n },\r\n\r\n shakeTree(needShake) {\r\n if (needShake) {\r\n validator.shakeTree();\r\n }\r\n },\r\n\r\n slots: {\r\n handler(slots) {\r\n if (!slots.length) {\r\n return [];\r\n }\r\n\r\n const inputs: HTMLInputElement[] = Array.from(slots);\r\n\r\n this.inputs = inputs.map(\r\n (input: HTMLInputElement): providerInput => {\r\n const id: string = input.id;\r\n\r\n return {\r\n id,\r\n input,\r\n validationResult: this.inputErrors.find(field => field.id === id)\r\n };\r\n }\r\n );\r\n },\r\n immediate: true\r\n },\r\n inputs: {\r\n handler(\r\n inputs: providerInput[],\r\n prevInputs: providerInput[] | undefined\r\n ) {\r\n if (prevInputs) {\r\n this.destroyValidators(prevInputs);\r\n }\r\n\r\n // update current inputs\r\n\r\n if (inputs.length) {\r\n inputs.forEach(({ input, id }) => {\r\n validator.attachInput(input, (valid?: IValidationResult): void => {\r\n if (valid) {\r\n const { error, touched, errorMessage } = valid;\r\n\r\n const exist: IInputError | undefined = this.inputErrors.find(\r\n (input: IInputError) => {\r\n return input.id === id;\r\n }\r\n );\r\n\r\n if (exist) {\r\n exist.error = error;\r\n exist.touched = touched;\r\n exist.errorMessage = errorMessage;\r\n } else {\r\n this.inputErrors.push({ id, error, touched, errorMessage });\r\n }\r\n }\r\n });\r\n });\r\n }\r\n },\r\n immediate: true\r\n }\r\n },\r\n\r\n mounted() {\r\n this.setSlots();\r\n },\r\n\r\n beforeUnmount() {\r\n this.slots = [];\r\n this.inputErrors = [];\r\n this.destroyedHandler();\r\n },\r\n\r\n methods: {\r\n setSlots(): void {\r\n if (!this.$refs._slot) {\r\n this.slots = [];\r\n\r\n return;\r\n }\r\n\r\n const $slot = (this.$refs as providerRefs)._slot;\r\n this.slots = $slot.querySelectorAll(\"input\") || [];\r\n },\r\n\r\n destroyedHandler(): void {\r\n this.setSlots();\r\n\r\n this.$nextTick(() => {\r\n this.destroyValidators(this.inputs, true);\r\n });\r\n },\r\n\r\n destroyValidators(inputs: providerInput[], removeAll = false) {\r\n const currentInputs = removeAll ? [] : this.inputs;\r\n const currentInputsIds: string[] = currentInputs.map(\r\n ({ id }: providerInput) => id\r\n );\r\n\r\n const destroyedInputs: providerInput[] = inputs.filter(\r\n ({ id }: providerInput) => {\r\n return !currentInputsIds.includes(id);\r\n }\r\n );\r\n\r\n destroyedInputs.forEach(({ id }: providerInput) => {\r\n validator.removeInput(id);\r\n\r\n this.inputErrors = this.inputErrors.filter(\r\n (input: IInputError) => input.id !== id\r\n );\r\n });\r\n }\r\n }\r\n});\r\n","import { render } from \"./AppInputsValidationProvider.vue?vue&type=template&id=241b4088&ts=true\"\nimport script from \"./AppInputsValidationProvider.vue?vue&type=script&lang=ts\"\nexport * from \"./AppInputsValidationProvider.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n\r\n\r\n","import { render } from \"./AppCheckbox.vue?vue&type=template&id=07b72113&scoped=true\"\nimport script from \"./AppCheckbox.vue?vue&type=script&lang=js\"\nexport * from \"./AppCheckbox.vue?vue&type=script&lang=js\"\n\nimport \"./AppCheckbox.vue?vue&type=style&index=0&id=07b72113&scoped=true&lang=scss\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-07b72113\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, Transition as _Transition, withCtx as _withCtx, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"container\" }\nconst _hoisted_2 = { class: \"d-flex justify-content-end page-heading-toolbar\" }\nconst _hoisted_3 = { class: \"page-heading-toolbar--col\" }\nconst _hoisted_4 = { class: \"page-heading-toolbar--col\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_CreateLocationModal = _resolveComponent(\"CreateLocationModal\")!\n const _component_DeleteLocationConfirm = _resolveComponent(\"DeleteLocationConfirm\")!\n const _component_ShadowControl = _resolveComponent(\"ShadowControl\")!\n const _component_SelectDropdown = _resolveComponent(\"SelectDropdown\")!\n const _component_PageMainHeading = _resolveComponent(\"PageMainHeading\")!\n const _component_AppToolbarTable = _resolveComponent(\"AppToolbarTable\")!\n const _component_AppTableController = _resolveComponent(\"AppTableController\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_CreateLocationModal, {\n key: \"1\",\n \"window-loading\": _ctx.modalLoading,\n \"action-loading\": _ctx.modalActionLoading,\n opened: _ctx.updateModalOpened,\n \"location-type\": _ctx.parentSelectedTab,\n \"single-location-type\": _ctx.locationTypeSingle,\n location: _ctx.location,\n \"selected-locations-lists\": _ctx.localSelectedList,\n \"base-locations\": { countries: _ctx.countries, subregions: _ctx.subregions },\n onHide: _ctx.endUpdating,\n onSetModalLoading: _ctx.setModalLoading,\n onSave: _ctx.saveUpadtes,\n onToggleSelectedLocations: _ctx.toggleSelectedLocation\n }, null, 8, [\"window-loading\", \"action-loading\", \"opened\", \"location-type\", \"single-location-type\", \"location\", \"selected-locations-lists\", \"base-locations\", \"onHide\", \"onSetModalLoading\", \"onSave\", \"onToggleSelectedLocations\"]),\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_DeleteLocationConfirm, {\n opened: _ctx.deleteModalOpened,\n \"location-icon\": _ctx.deleteLocation.icon,\n \"location-name\": _ctx.deleteLocation.name,\n loading: _ctx.modalActionLoading,\n onHide: _ctx.deleteDiscard,\n onCancel: _ctx.deleteDiscard,\n onSubmit: _cache[0] || (_cache[0] = ($event: any) => (_ctx.deleteConfirm(_ctx.deleteLocation.id)))\n }, null, 8, [\"opened\", \"location-icon\", \"location-name\", \"loading\", \"onHide\", \"onCancel\"]),\n _createVNode(_component_PageMainHeading, { title: \"Locations\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_ShadowControl, {\n id: \"locations-search\",\n class: \"search-control\",\n icon: \"search\",\n placeholder: \"Search...\",\n name: \"locations-search\",\n \"input-timeout\": true,\n onChange: _ctx.searchHandler\n }, null, 8, [\"onChange\"])\n ]),\n _createVNode(_Transition, { name: \"fade\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_SelectDropdown, {\n \"on-select\": _ctx.onFilterSelect,\n list: _ctx.filter\n }, null, 8, [\"on-select\", \"list\"])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _createVNode(_component_AppTableController, {\n \"show-table\": true,\n \"search-query\": _ctx.searchQuery,\n \"empty-button-text\": \"Add new\",\n \"empty-key\": \"Locations\",\n \"use-loader\": false,\n \"empty-icon\": \"locations\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_AppToolbarTable, {\n \"pagination-capture-key\": _ctx.pageTitle,\n \"table-title\": _ctx.pageTitle,\n \"table-head-table\": _ctx.tableHead,\n \"table-body\": _ctx.rows || [],\n \"total-rows\": _ctx.totalLocations,\n \"table-head-tabs\": _ctx.tabs.tabs,\n \"show-head-toolbar\": false,\n \"parent-selected-tab\": _ctx.tabs.selectedTab.value,\n \"space-between\": false,\n \"current-page\": _ctx.viewConfiguration.page,\n \"per-page\": _ctx.viewConfiguration.perPage,\n onChangeTab: _ctx.changeTabHandler,\n onChangeViewConfiguration: _ctx.changeViewConfiguration,\n onSort: _ctx.changeSorting,\n onEditItem: _cache[1] || (_cache[1] = id => _ctx.startEditing(id)),\n onOpenForm: _ctx.startAddLocation,\n onRemoveItem: _ctx.startLocationDelete\n }, null, 8, [\"pagination-capture-key\", \"table-title\", \"table-head-table\", \"table-body\", \"total-rows\", \"table-head-tabs\", \"parent-selected-tab\", \"current-page\", \"per-page\", \"onChangeTab\", \"onChangeViewConfiguration\", \"onSort\", \"onOpenForm\", \"onRemoveItem\"])\n ]),\n _: 1\n }, 8, [\"search-query\"])\n ], 64))\n}","import { ITab } from \"@/store/interfaces/common\";\r\nimport { packageLocationsArray } from \"@/hooks/esim/location-packages/types/locationPackage.types\";\r\nimport { ref, Ref } from \"vue\";\r\n\r\nexport interface ILocationsTabs {\r\n tabs: ITab[];\r\n selectedTab: Ref;\r\n}\r\n\r\nexport function locationsTabs(): ILocationsTabs {\r\n const tabs: ITab[] = [...packageLocationsArray].map((tab: string, index) => {\r\n return {\r\n id: index + 1,\r\n title: tab,\r\n value: tab.toLowerCase()\r\n };\r\n });\r\n\r\n const selectedTab: Ref = ref({ ...tabs[0] });\r\n\r\n return { tabs, selectedTab };\r\n}\r\n","import { computed, ComputedRef } from \"vue\";\r\nimport { TLocationKeys } from \"@/store/locations\";\r\nimport {\r\n locationTypeToSingle,\r\n packageLocationTypes,\r\n TPackageLocationSingle\r\n} from \"@/hooks/esim/location-packages/types/locationPackage.types\";\r\nimport { ILocationsCtx } from \"@/hooks/locations/new/useLocations\";\r\n\r\nexport function locationType(ctx: ILocationsCtx) {\r\n const { store } = ctx;\r\n const { tabs, selectedTab } = ctx.tabs;\r\n\r\n const currentLocation: ComputedRef = computed(\r\n () =>\r\n (selectedTab.value.value as TLocationKeys) ||\r\n tabs[0] ||\r\n packageLocationTypes.countries\r\n );\r\n\r\n const currentLocationName: ComputedRef = computed(\r\n () => {\r\n return locationTypeToSingle[\r\n currentLocation.value\r\n ] as TPackageLocationSingle;\r\n }\r\n );\r\n\r\n const locations = computed(() => {\r\n return store.getters.getLocations(selectedTab.value.value);\r\n });\r\n\r\n return { currentLocation, currentLocationName, locations };\r\n}\r\n","import {\r\n ILocationCountry,\r\n ILocationsStateLists,\r\n TLocationKeys\r\n} from \"@/store/locations\";\r\nimport { IApiResponse } from \"@/api/interfaces/IApi\";\r\nimport { ISubregion } from \"@/api/services/packages/esim/location-packages/types\";\r\nimport {\r\n TPackageLocation,\r\n TPackageLocationSingleWithoutCountry\r\n} from \"@/hooks/esim/location-packages/types/locationPackage.types\";\r\nimport { switchedLocation } from \"@/components/Locations/interfaces\";\r\n\r\nexport enum locationStatuses {\r\n active = \"active\",\r\n disabled = \"disabled\",\r\n all = \"all\"\r\n}\r\n\r\nexport type TLocationStatus = typeof locationStatuses[keyof typeof locationStatuses];\r\n\r\nexport interface IFetchLocationsDto {\r\n page?: number;\r\n perPage?: number;\r\n extended: boolean;\r\n status?: keyof locationStatuses;\r\n name?: string;\r\n}\r\n\r\nexport interface IFetchLocationsResponse\r\n extends IApiResponse {\r\n data: ILocationsStateLists[T];\r\n total: number;\r\n}\r\n\r\nexport interface IDeleteLocationDto {\r\n id: number;\r\n locationType: T;\r\n}\r\n\r\nexport interface IFetchNestedLocationsData {\r\n selected: ILocationCountry[] | ISubregion[];\r\n}\r\n\r\nexport interface IFetchNestedLocationsResponse extends IApiResponse {\r\n data: IFetchNestedLocationsData;\r\n}\r\n\r\n// Selected locations\r\n\r\nexport enum selectedLocationListTypes {\r\n country = \"country\",\r\n subregion = \"subregion\"\r\n}\r\n\r\nexport enum selectedLocationsTypes {\r\n region = \"region\",\r\n subregion = \"subregion\"\r\n}\r\n\r\nexport type selectedLocationListType = keyof typeof selectedLocationListTypes;\r\nexport type selectedLocationType = keyof typeof selectedLocationsTypes;\r\n\r\nexport interface IFetchSelectedLocationsListType {\r\n country: ILocationCountry[];\r\n subregion: ISubregion[];\r\n}\r\n\r\nexport interface IFetchNestedLocationsDto<\r\n T extends TPackageLocationSingleWithoutCountry\r\n> {\r\n locationId: number;\r\n locationType: T;\r\n listType: \"country\" | \"subregion\";\r\n}\r\n\r\nexport interface IUpdateSelectedLocationsDto {\r\n locationChildType: \"countries\" | \"subregions\";\r\n locationParentType: \"region\" | \"subregion\";\r\n changeList: switchedLocation[];\r\n}\r\n\r\nexport interface ICreateLocationDto {\r\n active: boolean;\r\n name: string;\r\n isoCode?: string;\r\n popular?: boolean;\r\n changedLocations?: IUpdateSelectedLocationsDto;\r\n images: {\r\n icon?: string;\r\n smallImage?: string;\r\n bigImage?: string;\r\n };\r\n}\r\n\r\nexport enum LocationImageTypes {\r\n icon = \"icon\",\r\n smallImage = \"smallImage\",\r\n bigImage = \"bigImage\"\r\n}\r\n\r\nexport enum TranslateLocationImageTypes {\r\n icon = \"icon\",\r\n image1 = \"smallImage\",\r\n image2 = \"bigImage\"\r\n}\r\n\r\nexport type TLocationImageType = keyof typeof LocationImageTypes;\r\n\r\nexport interface IUploadLocationImageDto {\r\n type: TLocationImageType;\r\n image: File;\r\n}\r\n","import { useBaseAppLayout } from \"@/hooks/layout/useBaseAppLayout\";\r\nimport {\r\n locationStatuses,\r\n TLocationStatus\r\n} from \"@/api/services/locations/locationTypes\";\r\nimport { Ref, ref, watch } from \"vue\";\r\nexport interface ILocationTableOptions {\r\n initialSearchQuery: string;\r\n}\r\n\r\nconst filterOptions = [\r\n locationStatuses.all,\r\n locationStatuses.active,\r\n locationStatuses.disabled\r\n];\r\n\r\nexport function locationsRoot({ initialSearchQuery }: ILocationTableOptions) {\r\n const selectedFilterValue: Ref = ref(filterOptions[0]);\r\n\r\n const layoutRefs = useBaseAppLayout({\r\n initialSearchQuery,\r\n filterOptions: filterOptions\r\n });\r\n\r\n watch(\r\n () => layoutRefs.selectedFilterOption.value,\r\n option => {\r\n if (option) {\r\n selectedFilterValue.value = option.name as TLocationStatus;\r\n }\r\n },\r\n { deep: true, immediate: true }\r\n );\r\n\r\n return {\r\n filterOptions,\r\n selectedFilterValue,\r\n ...layoutRefs\r\n };\r\n}\r\n","import { ITableViewConfiguration } from \"@/components/Table/ts/interfaces/common\";\r\nimport { computed, watch } from \"vue\";\r\nimport { ILocationsCtx } from \"@/hooks/locations/new/useLocations\";\r\nimport { TLocationKeys } from \"@/store/locations\";\r\n\r\nconst viewConfiguration: ITableViewConfiguration = {\r\n page: 1,\r\n perPage: 10\r\n};\r\n\r\nexport function useGetLocations(\r\n ctx: ILocationsCtx\r\n) {\r\n const { store, tabs, searchQuery, selectedFilterValue } = ctx;\r\n\r\n const requestOptions = computed(() => {\r\n return {\r\n viewConfiguration: ctx.viewConfiguration,\r\n locationType: tabs.selectedTab,\r\n name: searchQuery,\r\n status: selectedFilterValue || \"\"\r\n };\r\n });\r\n\r\n async function requestLocations() {\r\n await store.dispatch(\"setAppLoading\", true);\r\n\r\n if (!requestOptions.value.locationType?.value.title) return;\r\n\r\n const query: {\r\n page: number;\r\n perPage: number;\r\n extended: boolean;\r\n name?: string;\r\n status?: string;\r\n } = {\r\n ...requestOptions.value.viewConfiguration?.value,\r\n extended: true\r\n };\r\n\r\n const name = requestOptions.value.name;\r\n const status = requestOptions.value.status;\r\n\r\n if (status.value && status.value !== \"all\") {\r\n query.status = status.value;\r\n }\r\n\r\n if (name.value.length) {\r\n query.name = name.value;\r\n }\r\n\r\n const { success, message } = await store.dispatch(\"fetchLocationsList\", {\r\n locationType: requestOptions.value.locationType?.value.title || \"\",\r\n query\r\n });\r\n\r\n await store.dispatch(\"setAppLoading\", false);\r\n\r\n if (!success && message) {\r\n await store.dispatch(\"showErrorNotification\", message);\r\n }\r\n }\r\n\r\n watch(\r\n [() => requestOptions, () => ctx.viewConfiguration.value],\r\n requestLocations,\r\n {\r\n deep: true,\r\n immediate: true\r\n }\r\n );\r\n // requestLocations();\r\n return {\r\n requestLocations,\r\n viewConfiguration\r\n };\r\n}\r\n","import {\r\n ILocationViewConfig,\r\n TPackageLocation\r\n} from \"@/hooks/esim/location-packages/types/locationPackage.types\";\r\nimport { TLocationName } from \"@/hooks/esim/location-packages/modules/locationKeys\";\r\nimport { IEsimDirectoryDefault } from \"@/api/interfaces/esim-directory/common\";\r\nimport { ICarrierRate } from \"@/store/carriers\";\r\nimport { ITableViewConfiguration } from \"@/components/Table/ts/interfaces/common\";\r\nimport { IProviderType } from \"@/hooks/esim/location-packages/types/useLocationPackageListType\";\r\n\r\nexport interface fetchLocationPackagesDto {\r\n locationType: TPackageLocation;\r\n params: ILocationViewConfig;\r\n}\r\n\r\nexport interface fetchLocationPackagesRatesDto {\r\n locationType: TPackageLocation;\r\n}\r\n\r\nexport interface IOperator {\r\n id: number;\r\n name: string;\r\n image: string;\r\n rate: number;\r\n}\r\n\r\nexport enum tableLocationStatuses {\r\n active = \"active\",\r\n inactive = \"inactive\"\r\n}\r\n\r\nexport interface IBaseLocation {\r\n id: number;\r\n active: boolean;\r\n name: string;\r\n icon: string;\r\n smallImage: string | null;\r\n bigImage: string | null;\r\n createdAt: string;\r\n updatedAt: string;\r\n isoCode?: string;\r\n popular?: boolean;\r\n}\r\n\r\nexport interface IPlanShort {\r\n active: boolean;\r\n description: string;\r\n icon1: string;\r\n icon2: string;\r\n id: number;\r\n name: string;\r\n planType?: string;\r\n}\r\n\r\nexport interface IPurchaseType {\r\n active: boolean;\r\n id: number;\r\n key: string;\r\n title: string;\r\n}\r\n\r\nexport interface IBundle {\r\n id: number;\r\n i_product: number;\r\n name: string;\r\n}\r\n\r\nexport interface IValidity {\r\n active: boolean;\r\n id: number;\r\n period: number;\r\n title: string;\r\n}\r\n\r\nexport interface IDataType {\r\n active: boolean;\r\n id: number;\r\n key: string;\r\n title: string;\r\n packages?: IPackage[];\r\n}\r\n\r\nexport interface IBasePackage {\r\n id: number;\r\n title: string;\r\n bundleId: number;\r\n defaultPrice: number;\r\n discount: boolean;\r\n discountAmount: number;\r\n priceWithDiscount: number;\r\n commission: number;\r\n trafficAmount: IEsimDirectoryDefault;\r\n traffic: IEsimDirectoryDefault;\r\n}\r\n\r\nexport interface IPackage extends IBasePackage {\r\n plan?: IPlanShort;\r\n purchaseType?: IPurchaseType;\r\n validity?: IValidity;\r\n dataType?: IDataType;\r\n providerType: IProviderType;\r\n}\r\n\r\nexport interface IPlan extends IPlanShort {\r\n id: number;\r\n name: string;\r\n planType: string;\r\n description: string;\r\n active: boolean;\r\n icon?: string;\r\n icon1: string;\r\n packages: IPackage[];\r\n}\r\n\r\nexport interface IZone {\r\n id: number;\r\n title: string;\r\n key: string;\r\n}\r\n\r\nexport interface INetworkGeneration {\r\n id: number;\r\n title: string;\r\n key: string;\r\n active: boolean;\r\n}\r\n\r\nexport interface INetworkGenerationItem {\r\n id: number;\r\n active: boolean;\r\n networkGeneration: INetworkGeneration;\r\n}\r\n\r\nexport interface IOperator {\r\n id: number;\r\n name: string;\r\n image: string;\r\n countryId: number;\r\n countryName?: string;\r\n netGens: INetworkGenerationItem[];\r\n rates: ICarrierRate[];\r\n}\r\n\r\nexport interface IPlanOperator {\r\n id: number;\r\n active: boolean;\r\n operator: IOperator;\r\n}\r\n\r\nexport interface ILocationPlan {\r\n active: boolean;\r\n id: number;\r\n plan: IPlan;\r\n zone?: IZone;\r\n discount: boolean;\r\n discountAmount: number;\r\n planOperators?: IPlanOperator[];\r\n}\r\n\r\nexport interface IPackageCountry extends IBaseLocation {\r\n isoCode: string;\r\n popular: boolean;\r\n secondaryBigImage: string | null;\r\n}\r\n\r\nexport interface ISubregionShort extends IBaseLocation {\r\n regionId: number;\r\n countries: IPackageCountry[];\r\n subregionPlans?: ILocationPlan[];\r\n}\r\n\r\nexport interface ISubregion extends ISubregionShort, IBaseLocation {\r\n packages: IBasePackage[];\r\n}\r\n\r\nexport interface ILocationPackage {\r\n active: boolean;\r\n bigImage: string;\r\n smallImage: string;\r\n countryCount?: number;\r\n createdAt: string;\r\n updatedAt: string;\r\n isoCode?: string;\r\n\r\n secondaryBigImage?: string;\r\n popular?: boolean;\r\n icon: string;\r\n id: number;\r\n name: string;\r\n operatorsCount?: number;\r\n orderId?: number;\r\n regionPlans?: ILocationPlan[];\r\n countryPlans?: ILocationPlan[];\r\n subregionPlans?: ILocationPlan[];\r\n\r\n countries?: IPackageCountry[];\r\n subregions?: ISubregionShort[];\r\n\r\n updatedBy: {\r\n fullName: string;\r\n accessImage: string;\r\n } | null;\r\n}\r\n\r\nexport interface IUpdateLocationPackageDto {\r\n // exist on edit:\r\n id?: number;\r\n\r\n // one of:\r\n country?: number;\r\n region?: number;\r\n subregion?: number;\r\n\r\n // one of:\r\n discountAmount?: number;\r\n\r\n // required:\r\n title: string;\r\n defaultPrice: number;\r\n // discount: boolean;\r\n discount?: boolean;\r\n priceWithDiscount: number;\r\n validity?: number;\r\n purchaseType?: number;\r\n dataType?: number;\r\n plan: number;\r\n commission?: number;\r\n traffic?: IEsimDirectoryDefault;\r\n providerTypeId: number;\r\n bundleId: number;\r\n}\r\n\r\nexport interface IRemoveLocationPackageDto {\r\n packageId: number;\r\n locationType: TLocationName;\r\n}\r\n\r\nexport interface IBundlesProviders {\r\n id: number;\r\n name: string;\r\n multitelBundles?: IBundle[];\r\n esimGoBundles?: IBundle[];\r\n}\r\n\r\nexport interface IEsimGoBundle {\r\n id: number;\r\n name: string;\r\n description: string;\r\n dataAmount: number;\r\n duration: string;\r\n autostart: boolean;\r\n price: number;\r\n}\r\n\r\nexport interface fetchEsimBundlesDto extends ITableViewConfiguration {\r\n id: number;\r\n}","import { tableLocationStatuses } from \"@/api/services/packages/esim/location-packages/types\";\r\nimport { ITableBodyRow } from \"@/components/Table/ts/interfaces/TableStructure\";\r\nimport { badgeSizes, badgeTypes } from \"@/components/ui/AppBadge/interfaces\";\r\nimport { sortOrders } from \"@/enums/main/sortOrders\";\r\nimport { useBaseTable } from \"@/hooks/tables/useTable\";\r\nimport { ILocationsStateLists, TLocationKeys } from \"@/store/locations\";\r\nimport { dateConverter } from \"@/utills/dateConverter\";\r\nimport { ILocationsCtx } from \"../useLocations\";\r\n\r\nconst initialSortConfiguration = {\r\n byName: {\r\n order: sortOrders.asc,\r\n keyName: \"Title\",\r\n keyNameInModel: \"name\"\r\n },\r\n\r\n byCreated: {\r\n order: sortOrders.turnOff,\r\n keyName: \"Created date\",\r\n keyNameInModel: \"createdAt\"\r\n }\r\n};\r\n\r\nexport function useLocationsTable(\r\n ctx: ILocationsCtx\r\n): useBaseTable {\r\n return useBaseTable({\r\n initialSortOptions: initialSortConfiguration,\r\n initialViewConfiguration: ctx.viewConfiguration?.value || {\r\n page: 1,\r\n perPage: 1\r\n },\r\n model: ctx.locationsList,\r\n generateRows: (\r\n model: ILocationsStateLists[T]\r\n ): ITableBodyRow[] => {\r\n return model.map(\r\n ({ id, icon, name, createdAt, active }): ITableBodyRow => {\r\n return {\r\n id,\r\n cells: [\r\n {\r\n country: { name, icon }\r\n },\r\n\r\n {\r\n rightAlign: true,\r\n label: dateConverter(new Date(createdAt))\r\n },\r\n\r\n {\r\n rightAlign: true,\r\n badge: {\r\n rounded: false,\r\n size: badgeSizes.md,\r\n type: active ? badgeTypes.success : badgeTypes.danger,\r\n label: active\r\n ? tableLocationStatuses.active\r\n : tableLocationStatuses.inactive\r\n }\r\n },\r\n\r\n {\r\n userActions: true\r\n }\r\n ]\r\n };\r\n }\r\n );\r\n },\r\n\r\n onViewConfigurationChanged: ctx.onViewConfigChanged\r\n });\r\n}\r\n","import { computed, Ref, ref, watch } from \"vue\";\r\nimport {\r\n ICreateLocationDto,\r\n selectedLocationListType\r\n} from \"@/api/services/locations/locationTypes\";\r\nimport {\r\n IBaseLocation,\r\n ISubregion\r\n} from \"@/api/services/packages/esim/location-packages/types\";\r\n\r\nimport { ILocationCountry, TLocationKeys } from \"@/store/locations\";\r\nimport { ILocationsCtx } from \"../useLocations\";\r\nimport { switchedLocation } from \"@/components/Locations/interfaces\";\r\nimport { api } from \"@/api/Api\";\r\nimport { TPackageLocation } from \"@/hooks/esim/location-packages/types/locationPackage.types\";\r\n\r\nconst listTypes: selectedLocationListType[] = [\"country\", \"subregion\"];\r\n\r\nexport interface ILocationSelected {\r\n countries: ILocationCountry[];\r\n subregions: ISubregion[];\r\n}\r\n\r\nexport type editLocationData = {\r\n id: number;\r\n title: string;\r\n icon: string;\r\n smallImage: string;\r\n bigImage: string;\r\n active: boolean;\r\n isoCode?: string;\r\n popular?: boolean;\r\n};\r\n\r\nconst initialLocation: editLocationData = {\r\n title: \"\",\r\n icon: \"\",\r\n smallImage: \"\",\r\n bigImage: \"\",\r\n active: false,\r\n isoCode: \"\",\r\n popular: false,\r\n id: -1\r\n};\r\n\r\nexport type selectedlocations = {\r\n countries: IBaseLocation[];\r\n subregions: IBaseLocation[];\r\n};\r\n\r\nexport type locationImageVariants = \"icon\" | \"smallImage\" | \"bigImage\";\r\n\r\nconst initialSavedLocations: selectedlocations = {\r\n countries: [],\r\n subregions: []\r\n};\r\n\r\nconst isImage = (image: any): boolean => image && typeof image === \"string\";\r\n\r\nexport function updateLocation(ctx: ILocationsCtx) {\r\n const baseLoading = ref(false);\r\n const baseLocationsLoading = ref(false);\r\n const modalActionLoading = ref(false);\r\n\r\n const location = ref({ ...initialLocation });\r\n const savedLocation: Ref = ref(null);\r\n\r\n const selectedList: Ref = ref({\r\n ...initialSavedLocations\r\n });\r\n\r\n const localSelectedList: Ref = ref({\r\n ...initialSavedLocations\r\n });\r\n\r\n const changeList: Ref = ref([]);\r\n const updateModalOpened = ref(false);\r\n\r\n const countries = computed(\r\n () => ctx.store.getters.notExtendedCountries as IBaseLocation[]\r\n );\r\n const subregions = computed(\r\n () => ctx.store.getters.notExtendedSubregions as IBaseLocation[]\r\n );\r\n\r\n ctx.store.dispatch(\"fetchNotExtendedLocations\").finally(() => {\r\n baseLocationsLoading.value = false;\r\n });\r\n\r\n watch(() => changeList.value, changeListChangeHandler, { deep: true });\r\n watch(() => selectedList.value, selecetdListChangeHandler, { deep: true });\r\n\r\n function selecetdListChangeHandler({\r\n countries,\r\n subregions\r\n }: selectedlocations) {\r\n localSelectedList.value = {\r\n countries: [],\r\n subregions: []\r\n };\r\n const newCountry: any = countries;\r\n const newSubregion: any = subregions;\r\n if (newCountry.selected?.length) {\r\n localSelectedList.value.countries = [...newCountry.selected];\r\n }\r\n if (newSubregion.selected?.length) {\r\n localSelectedList.value.subregions = [...newSubregion.selected];\r\n }\r\n if (!newSubregion.selected?.length && !newCountry.selected?.length) {\r\n localSelectedList.value.subregions = [];\r\n localSelectedList.value.countries = [];\r\n }\r\n }\r\n\r\n function changeListChangeHandler(\r\n locations: switchedLocation[],\r\n prev?: switchedLocation[]\r\n ) {\r\n const removedFromChangeList = prev\r\n ? prev.filter(({ id }) => !locations.some(l => l.id === id))\r\n : [];\r\n\r\n locations.forEach(({ id, action, type = \"countries\" }) => {\r\n if (action === \"enable\") {\r\n const isExist = localSelectedList.value[type].find(l => l.id === id);\r\n\r\n if (!isExist) {\r\n const list = type === \"countries\" ? countries : subregions;\r\n const fullLocation: IBaseLocation | null =\r\n list.value.find(item => item.id === id) || null;\r\n\r\n if (fullLocation) {\r\n localSelectedList.value[type].push(fullLocation);\r\n }\r\n }\r\n } else if (action === \"disable\") {\r\n localSelectedList.value[type] = localSelectedList.value[type].filter(\r\n l => l.id !== id\r\n );\r\n }\r\n });\r\n\r\n removedFromChangeList.forEach(({ id, action, type = \"countries\" }) => {\r\n const data: any = selectedList.value[type];\r\n const isEnabledByServer = data.selected?.find((l: any) => l.id === id);\r\n\r\n if (action === \"enable\") {\r\n if (!isEnabledByServer) {\r\n localSelectedList.value[type] = localSelectedList.value[type].filter(\r\n l => l.id !== id\r\n );\r\n }\r\n } else {\r\n const isExist = localSelectedList.value[type].find(l => l.id === id);\r\n\r\n if (isEnabledByServer && !isExist) {\r\n const list = type === \"countries\" ? countries : subregions;\r\n const fullLocation: IBaseLocation | null =\r\n list.value.find(item => item.id === id) || null;\r\n\r\n if (fullLocation) {\r\n localSelectedList.value[type].push(fullLocation);\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n async function updateLocation(id: number, payload: ICreateLocationDto) {\r\n modalActionLoading.value = true;\r\n\r\n const res = await api.editLocation(\r\n payload,\r\n ctx.locationTypeSingle.value,\r\n id\r\n );\r\n\r\n modalActionLoading.value = false;\r\n return res;\r\n }\r\n\r\n async function createLocation(payload: ICreateLocationDto) {\r\n modalActionLoading.value = true;\r\n\r\n const res = await api.createLocation(payload, ctx.locationTypeSingle.value);\r\n\r\n modalActionLoading.value = false;\r\n return res;\r\n }\r\n\r\n return {\r\n location,\r\n selectedList,\r\n countries,\r\n subregions,\r\n updateModalOpened,\r\n modalActionLoading,\r\n localSelectedList,\r\n changeList,\r\n modalLoading: computed(\r\n () => baseLoading.value || baseLocationsLoading.value\r\n ),\r\n\r\n setModalLoading: (loading: boolean) => (baseLoading.value = loading),\r\n\r\n getSelectedLocations(\r\n id: number\r\n ): Promise<{\r\n success: boolean;\r\n countries: ILocationCountry[];\r\n subregions: ISubregion[];\r\n }> {\r\n baseLoading.value = true;\r\n\r\n return Promise.all(\r\n listTypes.map(listType => {\r\n return ctx.store.dispatch(\"fetchSelectedLocations\", {\r\n listType,\r\n locationType: ctx.locationTypeSingle.value,\r\n locationId: id\r\n });\r\n })\r\n )\r\n .then(([{ data: countries = [] }, { data: subregions = [] }]) => {\r\n return { success: true, countries, subregions };\r\n })\r\n .catch(() => ({ success: false, countries: [], subregions: [] }))\r\n .finally(() => (baseLoading.value = false));\r\n },\r\n\r\n startAddLocation() {\r\n location.value = { ...initialLocation };\r\n selectedList.value = { countries: [], subregions: [] };\r\n updateModalOpened.value = true;\r\n },\r\n\r\n async startEditing(id: number) {\r\n // fetch already selected selected locations for region / subregion\r\n if (ctx.locationTypeSingle.value !== \"country\") {\r\n const {\r\n countries,\r\n subregions,\r\n success\r\n } = await this.getSelectedLocations(id);\r\n\r\n if (success) {\r\n selectedList.value = {\r\n countries,\r\n subregions\r\n };\r\n }\r\n }\r\n\r\n updateModalOpened.value = true;\r\n\r\n const currentLocation = ctx.locationsList.value\r\n .map(l => l)\r\n .find(location => location.id === id);\r\n\r\n if (currentLocation) {\r\n savedLocation.value = currentLocation;\r\n }\r\n\r\n if (currentLocation) {\r\n const {\r\n name,\r\n active,\r\n id,\r\n icon,\r\n smallImage,\r\n bigImage,\r\n popular,\r\n isoCode\r\n } = currentLocation;\r\n\r\n location.value = {\r\n title: name,\r\n active,\r\n id,\r\n icon,\r\n smallImage: smallImage ?? \"\",\r\n bigImage: bigImage ?? \"\",\r\n popular,\r\n isoCode\r\n };\r\n }\r\n },\r\n\r\n createLocation,\r\n updateLocation,\r\n\r\n async saveUpadtes(\r\n action: \"create\" | \"edit\",\r\n data: {\r\n name: string;\r\n active: boolean;\r\n isoCode?: string;\r\n popular?: boolean;\r\n icon?: string;\r\n smallImage?: string;\r\n bigImage?: string;\r\n },\r\n id?: number | null\r\n ) {\r\n const {\r\n name,\r\n active,\r\n icon,\r\n smallImage,\r\n bigImage,\r\n isoCode,\r\n popular\r\n } = data;\r\n\r\n const payload: ICreateLocationDto = {\r\n name,\r\n active,\r\n images: {}\r\n };\r\n\r\n if (ctx.locationTypeSingle.value !== \"country\") {\r\n payload.changedLocations = {\r\n changeList: changeList.value.map(({ action, id }) => ({\r\n action,\r\n id\r\n })),\r\n\r\n locationChildType: changeList.value[0]?.type || \"countries\",\r\n locationParentType: ctx.locationTypeSingle.value\r\n };\r\n } else {\r\n payload.isoCode = isoCode;\r\n payload.popular = popular;\r\n }\r\n\r\n isImage(icon) && (payload.images.icon = icon as string);\r\n isImage(smallImage) && (payload.images.smallImage = smallImage as string);\r\n isImage(bigImage) && (payload.images.bigImage = bigImage as string);\r\n\r\n const res =\r\n action === \"create\"\r\n ? await createLocation(payload)\r\n : id && (await updateLocation(id, payload));\r\n\r\n updateModalOpened.value = false;\r\n await ctx.requestLocations?.();\r\n\r\n return res;\r\n },\r\n\r\n endUpdating() {\r\n updateModalOpened.value = false;\r\n location.value = { ...initialLocation };\r\n selectedList.value = { countries: [], subregions: [] };\r\n changeList.value = [];\r\n savedLocation.value = null;\r\n },\r\n\r\n setLocation(updatedLocation: editLocationData) {\r\n location.value = updatedLocation;\r\n },\r\n\r\n toggleSelectedLocation(location: switchedLocation) {\r\n const { action, id, type = \"countries\" } = location;\r\n const inChangesList = changeList.value.find(item => item.id === id);\r\n console.log({ selectedList: selectedList.value });\r\n const data: any = selectedList.value[type];\r\n console.log(data);\r\n const enabledByServer = data.selected?.find(\r\n (item: any) => item.id === id\r\n );\r\n\r\n if (action === \"disable\") {\r\n if (enabledByServer) {\r\n if (inChangesList) {\r\n inChangesList.action = \"disable\";\r\n } else {\r\n changeList.value.push(location);\r\n }\r\n } else {\r\n changeList.value = changeList.value.filter(item => item.id !== id);\r\n }\r\n } else if (action === \"enable\") {\r\n if (enabledByServer) {\r\n changeList.value = changeList.value.filter(item => item.id !== id);\r\n } else if (inChangesList) {\r\n inChangesList.action = \"enable\";\r\n } else {\r\n changeList.value.push(location);\r\n }\r\n }\r\n },\r\n\r\n async deleteLocation(id: number, locationType: TPackageLocation) {\r\n modalActionLoading.value = true;\r\n const res = await api.deleteLocation({ id, locationType });\r\n modalActionLoading.value = false;\r\n ctx.requestLocations?.();\r\n return res;\r\n }\r\n };\r\n}\r\n","import { Store, useStore } from \"vuex\";\r\nimport {\r\n ILocationsTabs,\r\n locationsTabs\r\n} from \"@/hooks/locations/new/modules/locations.tabs\";\r\nimport { locationType } from \"@/hooks/locations/new/modules/location.type\";\r\nimport { locationsRoot } from \"@/hooks/locations/new/modules/locations.root\";\r\nimport { computed, ComputedRef, ref, Ref, watch } from \"vue\";\r\nimport { TLocationStatus } from \"@/api/services/locations/locationTypes\";\r\nimport { useGetLocations } from \"./modules/locations.get\";\r\nimport { ITableViewConfiguration } from \"@/components/Table/ts/interfaces/common\";\r\nimport { ILocationsStateLists, TLocationKeys } from \"@/store/locations\";\r\nimport {\r\n locationTypeToSingle,\r\n packageLocationTypes,\r\n TPackageLocation,\r\n TPackageLocationSingle\r\n} from \"@/hooks/esim/location-packages/types/locationPackage.types\";\r\nimport { useLocationsTable } from \"./modules/locations.table\";\r\nimport { updateLocation } from \"./modules/location.update\";\r\nimport { ITab } from \"@/store/interfaces/common\";\r\n\r\nexport interface ILocationsCtx<\r\n T extends TLocationKeys = packageLocationTypes.countries\r\n> {\r\n tabs: ILocationsTabs;\r\n store: Store;\r\n filterOptions: string[];\r\n searchQuery: Ref;\r\n selectedFilterValue: Ref;\r\n requestLocations?: () => void;\r\n viewConfiguration: Ref;\r\n locationsList: ComputedRef;\r\n onViewConfigChanged: (viewConfiguration: ITableViewConfiguration) => void;\r\n locationTypeSingle: ComputedRef;\r\n}\r\n\r\nexport interface ILocationsOptions {\r\n initialSearchQuery?: string;\r\n}\r\n\r\nexport function useLocations(opt: ILocationsOptions) {\r\n const { initialSearchQuery = \"\" } = opt;\r\n\r\n const tabs = locationsTabs();\r\n const store = useStore();\r\n const ctx: ILocationsCtx = {\r\n tabs,\r\n store,\r\n locationTypeSingle: computed(() => {\r\n return locationTypeToSingle[\r\n tabs.selectedTab.value.title as keyof typeof packageLocationTypes\r\n ] as TPackageLocationSingle;\r\n }),\r\n filterOptions: [],\r\n searchQuery: ref(initialSearchQuery),\r\n selectedFilterValue: ref(null),\r\n onViewConfigChanged: () => {\r\n console.log(\"Change\");\r\n },\r\n\r\n viewConfiguration: ref({ page: 1, perPage: 10 }),\r\n locationsList: computed(() => {\r\n return store.getters.getLocations(tabs.selectedTab.value.title);\r\n }) as ComputedRef\r\n };\r\n\r\n const root = locationsRoot({\r\n initialSearchQuery: initialSearchQuery\r\n });\r\n\r\n ctx.filterOptions = root.filterOptions;\r\n ctx.searchQuery = root.searchQuery;\r\n ctx.selectedFilterValue = root.selectedFilterValue;\r\n\r\n const locations = locationType(ctx);\r\n const { requestLocations, viewConfiguration } = useGetLocations(ctx);\r\n\r\n ctx.requestLocations = requestLocations;\r\n\r\n ctx.onViewConfigChanged = ({ page, perPage }: ITableViewConfiguration) => {\r\n viewConfiguration.page = page;\r\n viewConfiguration.perPage = perPage;\r\n\r\n ctx.viewConfiguration.value.page = page;\r\n ctx.viewConfiguration.value.perPage;\r\n };\r\n\r\n const tableRefs = useLocationsTable(ctx);\r\n const updateLocationRefs = updateLocation(ctx);\r\n\r\n watch(\r\n () => ctx.tabs.selectedTab.value,\r\n () => {\r\n tableRefs?.changeViewConfiguration({\r\n page: 1,\r\n perPage: viewConfiguration.perPage\r\n });\r\n },\r\n { deep: true }\r\n );\r\n\r\n return {\r\n ...ctx,\r\n ...locations,\r\n ...root,\r\n ...tableRefs,\r\n ...updateLocationRefs,\r\n totalLocations: computed(() => store.getters.totalLocations),\r\n changeTabHandler(tab: ITab) {\r\n ctx.tabs.selectedTab.value = { ...tab };\r\n },\r\n\r\n locationType: computed(\r\n () => tabs.selectedTab.value.title as TPackageLocation\r\n )\r\n };\r\n}\r\n","\r\n\r\n\r\n\r\n","import { render } from \"./DeleteLocationConfirm.vue?vue&type=template&id=427cebde\"\nimport script from \"./DeleteLocationConfirm.vue?vue&type=script&lang=js\"\nexport * from \"./DeleteLocationConfirm.vue?vue&type=script&lang=js\"\n\nimport \"./DeleteLocationConfirm.vue?vue&type=style&index=0&id=427cebde&lang=scss\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"row align-items-center\" }\nconst _hoisted_2 = { class: \"col-7\" }\nconst _hoisted_3 = { class: \"subtitle\" }\nconst _hoisted_4 = { class: \"col-5\" }\nconst _hoisted_5 = { class: \"mt-3\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"mb-3\"\n}\nconst _hoisted_7 = { class: \"countries-list\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_AppButton = _resolveComponent(\"AppButton\")!\n const _component_CountrySwitch = _resolveComponent(\"CountrySwitch\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h3\", _hoisted_3, _toDisplayString(_ctx.locationType) + \" Countries\", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_AppButton, {\n type: \"primary-transparent\",\n size: \"md\",\n class: \"ms-auto add-country-button\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.showLocationsSelection('country')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" + Add Country \")\n ]),\n _: 1\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n (_ctx.localSelectedCounties.length < 2)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_6, \" Please, add at least 2 countries to this \" + _toDisplayString(_ctx.locationType) + \". \", 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"ul\", _hoisted_7, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.localSelectedCounties, ({ id, name, icon }) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: id,\n class: \"countries-list-item\"\n }, [\n _createVNode(_component_CountrySwitch, {\n id: id,\n name: name,\n checked: true,\n icon: icon,\n onSwitch: _ctx.switchLocalCountry\n }, null, 8, [\"id\", \"name\", \"icon\", \"onSwitch\"])\n ]))\n }), 128))\n ])\n ])\n ])\n ]))\n}","\r\n\r\n\r\n\r\n\r\n","import { render } from \"./CountrySwitch.vue?vue&type=template&id=5b8c7788\"\nimport script from \"./CountrySwitch.vue?vue&type=script&lang=js\"\nexport * from \"./CountrySwitch.vue?vue&type=script&lang=js\"\n\nimport \"./CountrySwitch.vue?vue&type=style&index=0&id=5b8c7788&lang=scss\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\nimport { defineComponent, PropType } from \"vue\";\r\nimport { ILocationCountry } from \"@/store/locations\";\r\nimport {\r\n IBaseLocation,\r\n ISubregion\r\n} from \"@/api/services/packages/esim/location-packages/types\";\r\nimport { selectedLocationListType } from \"@/api/services/locations/locationTypes\";\r\nimport AppButton from \"@/components/ui/Buttons/AppButton.vue\";\r\nimport CountrySwitch from \"@/components/ui/Country/CountrySwitch.vue\";\r\nimport {\r\n switchedLocation,\r\n switchLocationDto\r\n} from \"@/components/Locations/interfaces\";\r\nimport { TPackageLocationSingle } from \"@/hooks/esim/location-packages/types/locationPackage.types\";\r\n\r\nexport default defineComponent({\r\n name: \"SelectedNestedLocations\",\r\n components: { CountrySwitch, AppButton },\r\n\r\n props: {\r\n disabled: { type: Boolean, default: false },\r\n\r\n locationType: {\r\n type: String as PropType,\r\n required: true\r\n },\r\n\r\n selectedCounties: {\r\n type: Array as PropType,\r\n default: () => []\r\n }\r\n },\r\n emits: {\r\n turnOff: null,\r\n showCountriesSelect: null\r\n },\r\n\r\n data() {\r\n return {\r\n localSelectedCounties: this.selectedCounties\r\n };\r\n },\r\n\r\n computed: {\r\n showSubregionsSelection() {\r\n return this.locationType === \"region\";\r\n }\r\n },\r\n\r\n watch: {\r\n selectedCounties: {\r\n deep: true,\r\n immediate: true,\r\n handler(countries: ILocationCountry[]) {\r\n this.localSelectedCounties = countries;\r\n }\r\n }\r\n },\r\n\r\n methods: {\r\n switchLocalCountry(country: switchLocationDto) {\r\n const data: switchedLocation = {\r\n id: country.id,\r\n type: \"countries\",\r\n action: \"disable\"\r\n };\r\n\r\n this.localSelectedCounties = this.localSelectedCounties.filter(\r\n ({ id }) => {\r\n return id !== country.id;\r\n }\r\n );\r\n\r\n this.$emit(\"turnOff\", data);\r\n },\r\n\r\n showLocationsSelection(type: selectedLocationListType) {\r\n if (type === \"country\") {\r\n this.$emit(\"showCountriesSelect\");\r\n return;\r\n }\r\n }\r\n }\r\n});\r\n","import { render } from \"./SelectedNestedLocations.vue?vue&type=template&id=5eaa075c&ts=true\"\nimport script from \"./SelectedNestedLocations.vue?vue&type=script&lang=ts\"\nexport * from \"./SelectedNestedLocations.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"select-country-dialog\" }\nconst _hoisted_2 = { class: \"select-country-dialog--body\" }\nconst _hoisted_3 = { class: \"country-categories\" }\nconst _hoisted_4 = { class: \"mb-3\" }\nconst _hoisted_5 = { class: \"countries-list\" }\nconst _hoisted_6 = { class: \"select-country-dialog--footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_CountrySwitch = _resolveComponent(\"CountrySwitch\")!\n const _component_AppButton = _resolveComponent(\"AppButton\")!\n const _component_Dialog = _resolveComponent(\"Dialog\")!\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n opened: _ctx.opened,\n inserted: true,\n title: _ctx.title,\n class: \"select-country-dialog--modal\",\n onHide: _ctx.hide,\n onBack: _ctx.back\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"ul\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.locations, ({ letter, locationsList }) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: letter,\n class: \"country-categories-item mt-4\"\n }, [\n _createElementVNode(\"h2\", _hoisted_4, _toDisplayString(letter), 1),\n _createElementVNode(\"ul\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(locationsList, ({ id, name, checked, icon }) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: id,\n class: \"countries-list-item\"\n }, [\n _createVNode(_component_CountrySwitch, {\n id: id,\n name: name,\n checked: checked,\n icon: icon,\n onSwitch: _ctx.switchLocation\n }, null, 8, [\"id\", \"name\", \"checked\", \"icon\", \"onSwitch\"])\n ]))\n }), 128))\n ])\n ]))\n }), 128))\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_AppButton, {\n type: \"secondary\",\n size: \"xl\",\n onClick: _ctx.saveHandler\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Save \")\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ])\n ]),\n _: 1\n }, 8, [\"opened\", \"title\", \"onHide\", \"onBack\"]))\n}","\r\nimport { defineComponent, PropType } from \"vue\";\r\nimport Dialog from \"@/components/ui/Modal/Dialog/Dialog.vue\";\r\nimport { IBaseLocation } from \"@/api/services/packages/esim/location-packages/types\";\r\nimport CountrySwitch from \"@/components/ui/Country/CountrySwitch.vue\";\r\nimport AppButton from \"@/components/ui/Buttons/AppButton.vue\";\r\nimport {\r\n switchedLocation,\r\n switchLocationDto\r\n} from \"@/components/Locations/interfaces\";\r\nimport { TPackageLocationSingle } from \"@/hooks/esim/location-packages/types/locationPackage.types\";\r\n\r\nexport default defineComponent({\r\n name: \"SelectLocationsDialog\",\r\n components: { AppButton, CountrySwitch, Dialog },\r\n props: {\r\n opened: { type: Boolean, default: false },\r\n listType: {\r\n type: String as PropType<\"countries\" | \"subregions\">,\r\n required: true\r\n },\r\n\r\n locationType: {\r\n type: String as PropType,\r\n required: true\r\n },\r\n\r\n selectedLocations: {\r\n type: Array as PropType,\r\n required: true\r\n },\r\n\r\n baseList: {\r\n type: Array as PropType,\r\n required: true\r\n }\r\n },\r\n\r\n emits: { hide: null, back: null, save: null },\r\n\r\n data(): {\r\n changeList: switchedLocation[];\r\n } {\r\n return { changeList: [] };\r\n },\r\n\r\n computed: {\r\n title() {\r\n const { listType, locationType } = this;\r\n return `Select ${listType} to add it to a ${locationType}`;\r\n },\r\n\r\n locations() {\r\n type TLocation = {\r\n id: number;\r\n name: string;\r\n icon?: string;\r\n checked: boolean;\r\n };\r\n\r\n type locationsObject = {\r\n [key: string]: TLocation[];\r\n };\r\n\r\n const initialData: locationsObject = {};\r\n\r\n return Object.entries(\r\n this.baseList\r\n .map(l => l)\r\n .reduce((acc: locationsObject, location) => {\r\n const letter: string = location.name[0];\r\n\r\n const inChangeListAction = this.changeList.find(\r\n ({ id }) => id === location.id\r\n )?.action;\r\n\r\n const inChangeListStatus = inChangeListAction === \"enable\";\r\n\r\n const __location: TLocation = {\r\n id: location.id,\r\n name: location.name,\r\n icon: location.icon,\r\n checked: inChangeListAction\r\n ? inChangeListStatus\r\n : !!this.selectedLocations?.find(({ id }) => id === location.id)\r\n };\r\n\r\n if (!acc[letter]) {\r\n acc[letter] = [__location];\r\n return acc;\r\n }\r\n\r\n acc[letter] = [...acc[letter], __location];\r\n return acc;\r\n }, initialData)\r\n ).map(([letter, locations]) => {\r\n return {\r\n letter,\r\n locationsList: locations\r\n };\r\n });\r\n }\r\n },\r\n\r\n methods: {\r\n hide() {\r\n this.$emit(\"hide\");\r\n this.changeList = [];\r\n },\r\n\r\n back() {\r\n this.$emit(\"back\");\r\n },\r\n\r\n saveHandler() {\r\n this.$emit(\"save\", this.changeList);\r\n this.changeList = [];\r\n this.$emit(\"back\");\r\n },\r\n\r\n switchLocation({ id, checked }: switchLocationDto) {\r\n const alreadyChangedLocation = this.changeList.find(location => {\r\n return location.id === id;\r\n });\r\n\r\n const action = checked ? \"enable\" : \"disable\";\r\n\r\n if (alreadyChangedLocation) {\r\n alreadyChangedLocation.action = action;\r\n return;\r\n }\r\n\r\n this.changeList.push({ action, id, type: this.listType });\r\n }\r\n }\r\n});\r\n","import { render } from \"./SelectLocationsDialog.vue?vue&type=template&id=69842df7&ts=true\"\nimport script from \"./SelectLocationsDialog.vue?vue&type=script&lang=ts\"\nexport * from \"./SelectLocationsDialog.vue?vue&type=script&lang=ts\"\n\nimport \"./SelectLocationsDialog.vue?vue&type=style&index=0&id=69842df7&lang=scss\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createBlock as _createBlock, createElementVNode as _createElementVNode, withModifiers as _withModifiers, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { key: 13 }\nconst _hoisted_2 = {\n key: 0,\n class: \"mt-3\"\n}\nconst _hoisted_3 = { class: \"mt-3 pt-1 d-flex\" }\nconst _hoisted_4 = {\n for: \"location-active\",\n class: \"d-flex align-items-center cursor-pointer\"\n}\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"d-block ms-2\" }, \"Active\", -1)\nconst _hoisted_6 = {\n key: 0,\n for: \"country-popular\",\n class: \"d-flex align-items-center cursor-pointer ms-4\"\n}\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"d-block ms-2\" }, \"Popular\", -1)\nconst _hoisted_8 = {\n key: 1,\n class: \"mt-4\"\n}\nconst _hoisted_9 = { class: \"mt-5\" }\nconst _hoisted_10 = { id: \"icon\" }\nconst _hoisted_11 = { class: \"w-100 d-flex flex-column justify-content-center\" }\nconst _hoisted_12 = { class: \"py-5 d-flex justify-content-center align-items-center\" }\nconst _hoisted_13 = { id: \"image1\" }\nconst _hoisted_14 = { class: \"w-100\" }\nconst _hoisted_15 = { class: \"py-5 d-flex justify-content-center align-items-center\" }\nconst _hoisted_16 = { class: \"w-100\" }\nconst _hoisted_17 = { class: \"create-location-dropzone create-location-dropzone--160\" }\nconst _hoisted_18 = { class: \"drag-and-drop-wrapper\" }\nconst _hoisted_19 = { class: \"w-100 mt-4 d-flex flex-column align-items-center\" }\nconst _hoisted_20 = { class: \"upload-text text-center w-100\" }\nconst _hoisted_21 = { class: \"light-text\" }\nconst _hoisted_22 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"font-15 w-100 mt-3\" }, \" Recommended size: 150x150 pixels \", -1)\nconst _hoisted_23 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"font-15 w-100\" }, \" Format: PNG \", -1)\nconst _hoisted_24 = { id: \"image2\" }\nconst _hoisted_25 = { class: \"w-100\" }\nconst _hoisted_26 = { class: \"py-5 d-flex justify-content-center align-items-center\" }\nconst _hoisted_27 = { class: \"w-100\" }\nconst _hoisted_28 = { class: \"create-location-dropzone create-location-dropzone--545 ratio-60\" }\nconst _hoisted_29 = { class: \"drag-and-drop-wrapper\" }\nconst _hoisted_30 = { class: \"w-100 mt-4 d-flex flex-column align-items-center\" }\nconst _hoisted_31 = { class: \"upload-text text-center w-100\" }\nconst _hoisted_32 = { class: \"light-text\" }\nconst _hoisted_33 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"font-15 w-100 mt-3\" }, \" Recommended size: 150x150 pixels \", -1)\nconst _hoisted_34 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"font-15 w-100\" }, \" Format: PNG \", -1)\n\nimport {\r\n TPackageLocation,\r\n TPackageLocationSingle\r\n} from \"@/hooks/esim/location-packages/types/locationPackage.types\";\r\nimport SelectedNestedLocations from \"@/components/Locations/SelectedNestedLocations.vue\";\r\nimport {\r\n editLocationData,\r\n locationImageVariants,\r\n selectedlocations\r\n} from \"@/hooks/locations/new/modules/location.update\";\r\nimport { IBaseLocation } from \"@/api/services/packages/esim/location-packages/types\";\r\nimport DragAndDrop from \"@/components/ui/DragAndDrop.vue\";\r\nimport { computed, nextTick, Ref, ref, watch } from \"vue\";\r\nimport AppCheckbox from \"@/components/Form/AppCheckbox.vue\";\r\nimport TabsDialog from \"@/components/ui/Modal/Dialog/TabsDialog.vue\";\r\nimport { api } from \"@/api/Api\";\r\nimport { switchedLocation } from \"./interfaces\";\r\nimport AppInputsValidationProvider from \"../Form/AppInputsValidationProvider.vue\";\r\nimport AppInput from \"../Form/AppInput.vue\";\r\nimport AppButton from \"../ui/Buttons/AppButton.vue\";\r\nimport AvatarUpload from \"@/components/ui/AvatarUpload.vue\";\r\nimport SelectLocationsDialog from \"./SelectLocationsDialog.vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CreateLocationModal',\n props: {\n windowLoading: { type: Boolean },\n actionLoading: { type: Boolean },\n opened: { type: Boolean },\n locationType: null,\n singleLocationType: null,\n location: null,\n selectedLocationsLists: null,\n baseLocations: null\n },\n emits: {\r\n hide: null,\r\n toggleSelectedLocations: null,\r\n setLocation: null,\r\n save: null,\r\n setModalLoading: null\r\n},\n setup(__props: any, { emit }) {\n\nconst props = __props as {\r\n windowLoading: boolean;\r\n actionLoading: boolean;\r\n opened: boolean;\r\n locationType: TPackageLocation;\r\n singleLocationType: TPackageLocationSingle;\r\n location: editLocationData;\r\n selectedLocationsLists: selectedlocations;\r\n baseLocations: { countries: IBaseLocation[]; subregions: IBaseLocation[] };\r\n};\n\r\n\r\nconst currentLocation = ref({ ...props.location });\r\n\r\nwatch(\r\n () => props.location,\r\n () => {\r\n currentLocation.value = { ...props.location };\r\n },\r\n { deep: true, immediate: true }\r\n);\r\n\r\n\r\n\r\n// Validation\r\nconst titleValid = ref(!!props.location.title);\r\nconst valid = computed(() => !!titleValid.value);\r\nconst shakeTree = ref(false);\r\n\r\n// Summary\r\nconst action = computed(() => (props.location.title ? \"edit\" : \"create\"));\r\nconst selectListType: Ref<\"countries\" | \"subregions\"> = ref(\"countries\");\r\n\r\nconst baseLoactionsList = computed(() => {\r\n if (!selectListType.value) return [];\r\n return props.baseLocations[selectListType.value];\r\n});\r\n\r\nconst currentLocationsLists = computed(() => {\r\n return (\r\n Object.values(props.selectedLocationsLists).find(list => list.length) ?? []\r\n );\r\n});\r\n\r\n// UI\r\nconst localOpened = ref(props.opened);\r\nwatch(\r\n () => props.opened,\r\n opened => {\r\n localOpened.value = opened;\r\n },\r\n { immediate: true }\r\n);\r\n\r\nconst tabs = [\"Details\", \"Icon\", \"Image 1\", \"Image 2\"].map((tab, idx) => ({\r\n title: tab,\r\n id: idx\r\n}));\r\n\r\nconst selectedTab = ref(0);\r\n\r\nconst modalTitle = computed(() => {\r\n return props.location.title || `New ${props.singleLocationType}`;\r\n});\r\n\r\nconst buttonText = computed(() => {\r\n const type = action.value === \"create\" ? \"New\" : \"Edit\";\r\n return `${type} ${props.singleLocationType}`;\r\n});\r\n\r\nconst locationsSelectOpened = ref(false);\r\n\r\n// Actions\r\nconst hide = () => emit(\"hide\");\r\n\r\nfunction changeValidationStatus(error: boolean) {\r\n titleValid.value = !error;\r\n}\r\n\r\nasync function setImage(type: locationImageVariants, image: File) {\r\n if (!image) {\r\n currentLocation.value[type] = \"\";\r\n return;\r\n }\r\n\r\n emit(\"setModalLoading\", true);\r\n\r\n const { data } = await api.uploadLocationImage({\r\n type,\r\n image\r\n });\r\n\r\n data && (currentLocation.value[type] = data.url);\r\n emit(\"setModalLoading\", false);\r\n}\r\n\r\nasync function submitHandler() {\r\n emit(\"setLocation\", currentLocation.value);\r\n emit(\r\n \"save\",\r\n action.value,\r\n {\r\n name: currentLocation.value.title,\r\n active: currentLocation.value.active,\r\n popular: currentLocation.value.popular,\r\n isoCode: currentLocation.value.isoCode,\r\n icon: currentLocation.value.icon,\r\n smallImage: currentLocation.value.smallImage || \"\",\r\n bigImage: currentLocation.value.bigImage || \"\"\r\n },\r\n props.location.id\r\n );\r\n}\r\n\r\nfunction toggleSelectedLocation(location: switchedLocation) {\r\n emit(\"toggleSelectedLocations\", location);\r\n}\r\n\r\nfunction toggleSelectLocations(\r\n type: \"countries\" | \"subregions\",\r\n open?: boolean\r\n) {\r\n if (open) {\r\n localOpened.value = !open;\r\n selectListType.value = type;\r\n nextTick(() => {\r\n locationsSelectOpened.value = locationsSelectOpened.value = open ?? false;\r\n });\r\n } else {\r\n locationsSelectOpened.value = locationsSelectOpened.value = open ?? false;\r\n selectListType.value = type;\r\n\r\n nextTick(() => {\r\n localOpened.value = !open;\r\n });\r\n }\r\n}\r\n\r\nfunction saveSelectedLocationsList(locations: switchedLocation[]) {\r\n locations.forEach(location => {\r\n toggleSelectedLocation(location);\r\n });\r\n}\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(SelectLocationsDialog, {\n opened: locationsSelectOpened.value,\n \"base-list\": _unref(baseLoactionsList),\n \"list-type\": selectListType.value,\n \"location-type\": __props.singleLocationType,\n \"selected-locations\": _unref(currentLocationsLists),\n onSave: saveSelectedLocationsList,\n onHide: _cache[0] || (_cache[0] = ($event: any) => (toggleSelectLocations('countries', false))),\n onBack: _cache[1] || (_cache[1] = ($event: any) => (toggleSelectLocations('countries', false)))\n }, null, 8, [\"opened\", \"base-list\", \"list-type\", \"location-type\", \"selected-locations\"]),\n (_openBlock(), _createBlock(TabsDialog, {\n key: 1,\n modelValue: selectedTab.value,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((selectedTab).value = $event)),\n tabs: _unref(tabs),\n opened: localOpened.value,\n \"modal-loading\": __props.windowLoading,\n title: _unref(modalTitle),\n class: \"create-location-modal\",\n onHide: hide\n }, {\n default: _withCtx(() => [\n (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (__props.opened)\n ? (_openBlock(), _createElementBlock(\"form\", {\n key: 0,\n class: \"mt-5\",\n onSubmit: _cache[6] || (_cache[6] = _withModifiers(() => {}, [\"prevent\"]))\n }, [\n (_openBlock(), _createBlock(AppInputsValidationProvider, {\n key: 13,\n \"shake-tree\": shakeTree.value,\n onChangeErrorState: changeValidationStatus\n }, {\n default: _withCtx(() => [\n _createVNode(AppInput, {\n id: \"location-title\",\n modelValue: currentLocation.value.title,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((currentLocation.value.title) = $event)),\n \"input-type\": \"material\",\n label: \"Title\",\n \"validation-type\": \"name\"\n }, null, 8, [\"modelValue\"]),\n (__props.locationType === 'countries')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createVNode(AppInput, {\n id: \"iso\",\n modelValue: currentLocation.value.isoCode,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((currentLocation.value.isoCode) = $event)),\n label: \"ISO\",\n \"input-type\": \"material\",\n \"validation-type\": \"notEmptyString\"\n }, null, 8, [\"modelValue\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"shake-tree\"])),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"label\", _hoisted_4, [\n _createVNode(AppCheckbox, {\n id: \"location-active\",\n modelValue: currentLocation.value.active,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((currentLocation.value.active) = $event))\n }, null, 8, [\"modelValue\"]),\n _hoisted_5\n ]),\n (__props.locationType === 'regions')\n ? (_openBlock(), _createElementBlock(\"label\", _hoisted_6, [\n _createVNode(AppCheckbox, {\n id: \"country-popular\",\n modelValue: currentLocation.value.popular,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((currentLocation.value.popular) = $event))\n }, null, 8, [\"modelValue\"]),\n _hoisted_7\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ], 32))\n : _createCommentVNode(\"\", true),\n (__props.singleLocationType !== 'country')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createVNode(SelectedNestedLocations, {\n \"location-type\": __props.singleLocationType,\n \"selected-counties\": __props.selectedLocationsLists.countries,\n \"selected-subregions\": __props.selectedLocationsLists.subregions,\n onShowCountriesSelect: _cache[7] || (_cache[7] = ($event: any) => (toggleSelectLocations('countries', true))),\n onShowSubregionsSelect: _cache[8] || (_cache[8] = ($event: any) => (toggleSelectLocations('subregions', true))),\n onTurnOff: toggleSelectedLocation\n }, null, 8, [\"location-type\", \"selected-counties\", \"selected-subregions\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(AppButton, {\n type: \"secondary\",\n disabled: !_unref(valid),\n loading: __props.actionLoading,\n size: \"xl\",\n onClick: submitHandler\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref(buttonText)), 1)\n ]),\n _: 1\n }, 8, [\"disabled\", \"loading\"])\n ])\n ])),\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(AvatarUpload, {\n size: \"60x60\",\n format: \"PNG\",\n title: `Please, upload ${__props.singleLocationType} Icon.`,\n direction: \"column\",\n placeholder: __props.location.icon,\n onFileChanged: _cache[9] || (_cache[9] = \r\n file => {\r\n setImage('icon', file);\r\n }\r\n )\n }, null, 8, [\"title\", \"placeholder\"])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"div\", _hoisted_18, [\n _createVNode(DragAndDrop, {\n key: \"image1\",\n \"area-icon\": \"camera\",\n accepted: ['png'],\n placeholder: __props.location.smallImage,\n onFileChanged: _cache[10] || (_cache[10] = \r\n (file) => {\r\n setImage('smallImage', file);\r\n }\r\n )\n }, null, 8, [\"placeholder\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _createElementVNode(\"div\", _hoisted_20, [\n _createElementVNode(\"p\", _hoisted_21, \" Please, upload \" + _toDisplayString(__props.singleLocationType) + \" Image \", 1),\n _hoisted_22,\n _hoisted_23\n ])\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_24, [\n _createElementVNode(\"div\", _hoisted_25, [\n _createElementVNode(\"div\", _hoisted_26, [\n _createElementVNode(\"div\", _hoisted_27, [\n _createElementVNode(\"div\", _hoisted_28, [\n _createElementVNode(\"div\", _hoisted_29, [\n _createVNode(DragAndDrop, {\n key: \"image2\",\n \"area-icon\": \"camera\",\n accepted: ['png'],\n placeholder: __props.location.bigImage,\n onFileChanged: _cache[11] || (_cache[11] = \r\n (file) => {\r\n setImage('bigImage', file);\r\n }\r\n )\n }, null, 8, [\"placeholder\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_30, [\n _createElementVNode(\"div\", _hoisted_31, [\n _createElementVNode(\"p\", _hoisted_32, \" Please, upload \" + _toDisplayString(__props.singleLocationType) + \" Image \", 1),\n _hoisted_33,\n _hoisted_34\n ])\n ])\n ])\n ])\n ])\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\", \"tabs\", \"opened\", \"modal-loading\", \"title\"]))\n ], 64))\n}\n}\n\n})","import script from \"./CreateLocationModal.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./CreateLocationModal.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./CreateLocationModal.vue?vue&type=style&index=0&id=04be0144&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\nimport { computed, defineComponent, ref } from \"vue\";\r\nimport { useLocations } from \"@/hooks/locations/new/useLocations\";\r\nimport { ITableHeadCell } from \"@/components/Table/ts/interfaces/TableStructure\";\r\n\r\nimport AppTableController from \"@/components/Table/ts/AppTableController.vue\";\r\nimport PageMainHeading from \"@/components/Layout/PageMainHeading.vue\";\r\nimport ShadowControl from \"@/components/Form/ShadowControl.vue\";\r\n\r\nimport SelectDropdown from \"@/components/ui/Dropdown/SelectDropdown.vue\";\r\nimport AppToolbarTable from \"@/components/Table/ts/AppToolbarTable.vue\";\r\nimport DeleteLocationConfirm from \"@/components/Locations/DeleteLocationConfirm.vue\";\r\nimport CreateLocationModal from \"@/components/Locations/CreateLocationModal.vue\";\r\nimport { TPackageLocation } from \"@/hooks/esim/location-packages/types/locationPackage.types\";\r\n\r\nexport default defineComponent({\r\n name: \"Locations\",\r\n components: {\r\n CreateLocationModal,\r\n DeleteLocationConfirm,\r\n AppToolbarTable,\r\n SelectDropdown,\r\n ShadowControl,\r\n PageMainHeading,\r\n AppTableController\r\n },\r\n\r\n setup() {\r\n const location = useLocations({\r\n initialSearchQuery: \"\"\r\n });\r\n\r\n const parentSelectedTab = computed(\r\n () => location.tabs.selectedTab.value.title as TPackageLocation\r\n );\r\n\r\n const deleteModalOpened = ref(false);\r\n const deleteLocation = ref({ icon: \"\", name: \"\", id: -1 });\r\n\r\n function startLocationDelete(id: number) {\r\n const $location = location.locationsList.value\r\n .map(l => l)\r\n .find(location => location.id === id);\r\n\r\n if ($location) {\r\n deleteModalOpened.value = true;\r\n\r\n deleteLocation.value = {\r\n icon: $location.icon,\r\n name: $location.name,\r\n id\r\n };\r\n }\r\n }\r\n\r\n async function deleteConfirm(id: number) {\r\n await location.deleteLocation(id, parentSelectedTab.value);\r\n deleteModalOpened.value = false;\r\n deleteLocation.value = {\r\n icon: \"\",\r\n name: \"\",\r\n id: -1\r\n };\r\n }\r\n\r\n function deleteDiscard() {\r\n deleteModalOpened.value = false;\r\n deleteLocation.value = { icon: \"\", name: \"\", id: -1 };\r\n }\r\n\r\n return {\r\n ...location,\r\n startLocationDelete,\r\n deleteLocation,\r\n deleteModalOpened,\r\n viewConfiguration: location.viewConfiguration || { page: 1, perPage: 1 },\r\n parentSelectedTab,\r\n deleteConfirm,\r\n deleteDiscard,\r\n pageTitle: computed(() => {\r\n return location.tabs.selectedTab.value.title;\r\n })\r\n };\r\n },\r\n\r\n computed: {\r\n tableHead(): ITableHeadCell[] {\r\n const { byName, byCreated } = this.currentSort || {};\r\n\r\n return [\r\n {\r\n size: \"fluid\",\r\n label: \"Title\",\r\n id: \"location-title\",\r\n sort: {\r\n keyName: byName.keyName,\r\n order: byName.order\r\n }\r\n },\r\n\r\n {\r\n size: \"lg\",\r\n label: \"Date created\",\r\n id: \"data-created\",\r\n rightAlign: true,\r\n sort: {\r\n keyName: byCreated.keyName,\r\n order: byCreated.order\r\n }\r\n },\r\n\r\n {\r\n size: \"md\",\r\n label: \"Status\",\r\n id: \"location-status\",\r\n rightAlign: true\r\n },\r\n\r\n {\r\n size: \"smL\",\r\n label: \"Actions\",\r\n id: \"location-actions\",\r\n rightAlign: true\r\n }\r\n ];\r\n }\r\n }\r\n});\r\n","import { render } from \"./Locations.vue?vue&type=template&id=94f58bac&ts=true\"\nimport script from \"./Locations.vue?vue&type=script&lang=ts\"\nexport * from \"./Locations.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export const fileRender = file => {\r\n return new Promise((resolve, reject) => {\r\n if (!file) {\r\n reject(\"File dont provided\");\r\n }\r\n\r\n const reader = new FileReader();\r\n\r\n reader.onload = ({ target }) => {\r\n if (!target) {\r\n reject(\"Something wrong\");\r\n }\r\n\r\n resolve(target.result);\r\n };\r\n\r\n reader.readAsDataURL(file);\r\n });\r\n};\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bgColor\":\"#f5f6fa\",\"fontColor\":\"#333\",\"lightColor\":\"#fff\",\"primaryColor\":\"#3a85db\",\"successColor\":\"#3a85db\",\"warningColor\":\"#f2994a\",\"warningLightColor\":\"#fef5ed\",\"dangerColor\":\"#ff8181\",\"dangerLightColor\":\"#fdefef\",\"darkBackgroundColor\":\"rgba(0,0,0,.1)\",\"activeMenuItemGradient\":\"linear-gradient(0deg, #F3F4F8, #F3F4F8)\",\"gradientPrimaryLight\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"gradientPrimaryLightTransparent\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"colIndent\":\"1rem\",\"tableColXxs\":\"4rem\",\"tableColXs\":\"5.2rem\",\"tableColSm\":\"7rem\",\"tableColSmL\":\"9.5rem\",\"tableColMd\":\"11.5rem\",\"tableColLg\":\"18rem\",\"tableColXg\":\"25rem\",\"buttonSizesArray\":\"icon,xs,sm,smL,md-fluid,md,lg,xl,fluid\"};","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, withCtx as _withCtx, createSlots as _createSlots, createBlock as _createBlock, Transition as _Transition, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"container loader-container\"\n}\nconst _hoisted_2 = { style: {\"overflow\":\"hidden\"} }\nconst _hoisted_3 = { key: 1 }\nconst _hoisted_4 = { key: 0 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_FullscreenLoader = _resolveComponent(\"FullscreenLoader\")!\n const _component_BtnContent = _resolveComponent(\"BtnContent\")!\n const _component_AppButton = _resolveComponent(\"AppButton\")!\n const _component_EmptyBlock = _resolveComponent(\"EmptyBlock\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"app-table-controller\", { 'min-height-1': _ctx.tableLoad }])\n }, [\n _createVNode(_Transition, {\n name: \"fade\",\n mode: \"out-in\"\n }, {\n default: _withCtx(() => [\n (_ctx.useLoader && (_ctx.tableLoading || _ctx.appLoading))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_FullscreenLoader)\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n (_ctx.showTable)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _renderSlot(_ctx.$slots, \"default\")\n ]))\n : (_openBlock(), _createBlock(_component_EmptyBlock, {\n key: 1,\n icon: _ctx.emptyIcon,\n description: _ctx.emptyText,\n \"icon-color\": \"dark\",\n fullscreen: true\n }, _createSlots({ _: 2 }, [\n (_ctx.emptyButtonText)\n ? {\n name: \"button\",\n fn: _withCtx(() => [\n _createVNode(_component_AppButton, {\n type: \"secondary\",\n size: \"lg\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('emptyButtonClick')))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_BtnContent, {\n icon: \"plus\",\n label: _ctx.emptyButtonText\n }, null, 8, [\"label\"])\n ]),\n _: 1\n })\n ]),\n key: \"0\"\n }\n : undefined\n ]), 1032, [\"icon\", \"description\"]))\n ]))\n ]),\n _: 3\n })\n ], 2))\n}","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderSlot as _renderSlot, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-28469b4f\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"empty-block-description\" }\nconst _hoisted_2 = {\n key: 1,\n class: \"empty-block--button-wrapper mt-4\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_svg_icon = _resolveComponent(\"svg-icon\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"empty-block d-flex justify-content-center flex-column align-items-center\", {\r\n [`color-${_ctx.iconColor}`]: true,\r\n fullscreen: _ctx.fullscreen\r\n }])\n }, [\n (_ctx.icon)\n ? (_openBlock(), _createBlock(_component_svg_icon, {\n key: 0,\n icon: _ctx.icon,\n class: \"mb-3\"\n }, null, 8, [\"icon\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"p\", _hoisted_1, _toDisplayString(_ctx.description), 1),\n (_ctx.$slots.button)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"button\", {}, undefined, true)\n ]))\n : _createCommentVNode(\"\", true)\n ], 2))\n}","\r\nimport { defineComponent, PropType } from \"vue\";\r\nimport SvgIcon from \"@/components/ui/SvgIcon.vue\";\r\nexport default defineComponent({\r\n name: \"EmptyBlock\",\r\n components: { SvgIcon },\r\n props: {\r\n icon: { type: String, required: false },\r\n description: { type: String, required: true },\r\n fullscreen: { type: Boolean, default: false },\r\n iconColor: {\r\n type: String as PropType<\"grey\" | \"dark\">,\r\n default: \"grey\"\r\n }\r\n }\r\n});\r\n","import { render } from \"./EmptyBlock.vue?vue&type=template&id=28469b4f&scoped=true&ts=true\"\nimport script from \"./EmptyBlock.vue?vue&type=script&lang=ts\"\nexport * from \"./EmptyBlock.vue?vue&type=script&lang=ts\"\n\nimport \"./EmptyBlock.vue?vue&type=style&index=0&id=28469b4f&scoped=true&lang=scss\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-28469b4f\"]])\n\nexport default __exports__","\r\nimport { mapGetters } from \"vuex\";\r\nimport { defineComponent } from \"vue\";\r\nimport FullscreenLoader from \"@/components/ui/FullscreenLoader.vue\";\r\nimport EmptyBlock from \"@/components/ui/EmptyBlock.vue\";\r\nimport AppButton from \"@/components/ui/Buttons/AppButton.vue\";\r\nimport BtnContent from \"@/components/ui/Buttons/BtnContent.vue\";\r\n\r\nexport default defineComponent({\r\n name: \"AppTableController\",\r\n components: { BtnContent, AppButton, EmptyBlock, FullscreenLoader },\r\n props: {\r\n tableLoading: {\r\n type: Boolean,\r\n default: false\r\n },\r\n\r\n useLoader: {\r\n type: Boolean,\r\n default: true\r\n },\r\n\r\n showTable: {\r\n type: Boolean,\r\n default: true\r\n },\r\n\r\n searchQuery: {\r\n type: String,\r\n default: \"\"\r\n },\r\n\r\n emptyKey: {\r\n type: String,\r\n required: true\r\n },\r\n\r\n emptyButtonText: { type: String, default: \"\" },\r\n\r\n emptyIcon: {\r\n type: String,\r\n default: \"\"\r\n }\r\n },\r\n emits: {\r\n emptyButtonClick: null\r\n },\r\n\r\n data() {\r\n return {\r\n tableLoad: false,\r\n loadTimeout: null as ReturnType | null\r\n };\r\n },\r\n\r\n watch: {\r\n getTableLoad: {\r\n handler(data) {\r\n this.loadTimeout && clearTimeout(this.loadTimeout);\r\n this.loadTimeout = setTimeout(\r\n () => {\r\n this.tableLoad = data;\r\n },\r\n data ? 0 : 500\r\n );\r\n },\r\n immediate: true\r\n }\r\n },\r\n\r\n computed: {\r\n ...mapGetters([\"appLoading\"]),\r\n emptyText(): string {\r\n if (!this.searchQuery) {\r\n return `There are no ${this.emptyKey} created yet!`;\r\n }\r\n\r\n return `No ${this.emptyKey} found by request \"${this.searchQuery}\"`;\r\n },\r\n getTableLoad() {\r\n return !this.showTable || this.tableLoading || this.appLoading;\r\n }\r\n }\r\n});\r\n","import { render } from \"./AppTableController.vue?vue&type=template&id=69e77f2f&ts=true\"\nimport script from \"./AppTableController.vue?vue&type=script&lang=ts\"\nexport * from \"./AppTableController.vue?vue&type=script&lang=ts\"\n\nimport \"./AppTableController.vue?vue&type=style&index=0&id=69e77f2f&lang=scss\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","module.exports = __webpack_public_path__ + \"img/uploader-drop.8398c673.svg\";","import moment from \"moment\";\r\n\r\nexport function dateConverter(date: Date): string {\r\n if (isNaN(date.getTime())) {\r\n return \"\";\r\n }\r\n\r\n return moment(date).format(\"D MMM YYYY [at] HH[:]mm a\");\r\n}\r\n\r\nexport function getFullDate(date: Date): string {\r\n if (isNaN(date.getTime())) {\r\n return \"\";\r\n }\r\n\r\n return moment(date).format(`DD/MM/yy - HH[:]mm[:]ss`);\r\n}\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./AppToolbarTable.vue?vue&type=style&index=0&id=5540c12a&lang=scss\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bgColor\":\"#f5f6fa\",\"fontColor\":\"#333\",\"lightColor\":\"#fff\",\"primaryColor\":\"#3a85db\",\"successColor\":\"#3a85db\",\"warningColor\":\"#f2994a\",\"warningLightColor\":\"#fef5ed\",\"dangerColor\":\"#ff8181\",\"dangerLightColor\":\"#fdefef\",\"darkBackgroundColor\":\"rgba(0,0,0,.1)\",\"activeMenuItemGradient\":\"linear-gradient(0deg, #F3F4F8, #F3F4F8)\",\"gradientPrimaryLight\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"gradientPrimaryLightTransparent\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"colIndent\":\"1rem\",\"tableColXxs\":\"4rem\",\"tableColXs\":\"5.2rem\",\"tableColSm\":\"7rem\",\"tableColSmL\":\"9.5rem\",\"tableColMd\":\"11.5rem\",\"tableColLg\":\"18rem\",\"tableColXg\":\"25rem\",\"buttonSizesArray\":\"icon,xs,sm,smL,md-fluid,md,lg,xl,fluid\"};","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./SelectLocationsDialog.vue?vue&type=style&index=0&id=69842df7&lang=scss\"","module.exports = __webpack_public_path__ + \"img/avatar-placeholder.a1fc07ae.svg\";","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bgColor\":\"#f5f6fa\",\"fontColor\":\"#333\",\"lightColor\":\"#fff\",\"primaryColor\":\"#3a85db\",\"successColor\":\"#3a85db\",\"warningColor\":\"#f2994a\",\"warningLightColor\":\"#fef5ed\",\"dangerColor\":\"#ff8181\",\"dangerLightColor\":\"#fdefef\",\"darkBackgroundColor\":\"rgba(0,0,0,.1)\",\"activeMenuItemGradient\":\"linear-gradient(0deg, #F3F4F8, #F3F4F8)\",\"gradientPrimaryLight\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"gradientPrimaryLightTransparent\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"colIndent\":\"1rem\",\"tableColXxs\":\"4rem\",\"tableColXs\":\"5.2rem\",\"tableColSm\":\"7rem\",\"tableColSmL\":\"9.5rem\",\"tableColMd\":\"11.5rem\",\"tableColLg\":\"18rem\",\"tableColXg\":\"25rem\",\"buttonSizesArray\":\"icon,xs,sm,smL,md-fluid,md,lg,xl,fluid\"};","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./AppCheckbox.vue?vue&type=style&index=0&id=07b72113&scoped=true&lang=scss\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bgColor\":\"#f5f6fa\",\"fontColor\":\"#333\",\"lightColor\":\"#fff\",\"primaryColor\":\"#3a85db\",\"successColor\":\"#3a85db\",\"warningColor\":\"#f2994a\",\"warningLightColor\":\"#fef5ed\",\"dangerColor\":\"#ff8181\",\"dangerLightColor\":\"#fdefef\",\"darkBackgroundColor\":\"rgba(0,0,0,.1)\",\"activeMenuItemGradient\":\"linear-gradient(0deg, #F3F4F8, #F3F4F8)\",\"gradientPrimaryLight\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"gradientPrimaryLightTransparent\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"colIndent\":\"1rem\",\"tableColXxs\":\"4rem\",\"tableColXs\":\"5.2rem\",\"tableColSm\":\"7rem\",\"tableColSmL\":\"9.5rem\",\"tableColMd\":\"11.5rem\",\"tableColLg\":\"18rem\",\"tableColXg\":\"25rem\",\"buttonSizesArray\":\"icon,xs,sm,smL,md-fluid,md,lg,xl,fluid\"};","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./AppTabsHead.vue?vue&type=style&index=0&id=de6405be&scoped=true&lang=scss\"","\r\n\r\n\r\n\r\n\r\n","import { render } from \"./BtnContent.vue?vue&type=template&id=bbe45568&scoped=true\"\nimport script from \"./BtnContent.vue?vue&type=script&lang=js\"\nexport * from \"./BtnContent.vue?vue&type=script&lang=js\"\n\nimport \"./BtnContent.vue?vue&type=style&index=0&id=bbe45568&scoped=true&lang=scss\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-bbe45568\"]])\n\nexport default __exports__","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./AppSwitch.vue?vue&type=style&index=0&id=335c83b0&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./HeadToolBar.vue?vue&type=style&index=0&id=3454f31a&lang=scss\"","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"table-tabs-wrapper--head\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_AppTabsHead = _resolveComponent(\"AppTabsHead\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_AppTabsHead, {\n modelValue: _ctx.selectedTabIdx,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.selectedTabIdx) = $event)),\n tabs: _ctx.tabs\n }, null, 8, [\"modelValue\", \"tabs\"])\n ]))\n}","\r\nimport { defineComponent, PropType } from \"vue\";\r\nimport AppTabsHead from \"@/components/AppTabs/AppTabsHead.vue\";\r\n\r\nexport default defineComponent({\r\n name: \"TableToolBar\",\r\n components: { AppTabsHead },\r\n props: {\r\n tabs: { type: Array as PropType, default: () => [] },\r\n parentSelectedTabId: { type: Number, default: 1 },\r\n initialSelectedTab: { type: Number, default: 0 }\r\n },\r\n emits: [\"changeTab\"],\r\n data() {\r\n return {\r\n selectedTabIdx: this.initialSelectedTab\r\n };\r\n },\r\n\r\n watch: {\r\n selectedTabIdx(idx: number) {\r\n this.$emit(\"changeTab\", idx);\r\n },\r\n\r\n initialSelectedTab(idx: number) {\r\n if (idx !== this.selectedTabIdx) {\r\n this.selectedTabIdx = idx;\r\n }\r\n }\r\n }\r\n});\r\n","import { render } from \"./HeadToolBar.vue?vue&type=template&id=3454f31a&ts=true\"\nimport script from \"./HeadToolBar.vue?vue&type=script&lang=ts\"\nexport * from \"./HeadToolBar.vue?vue&type=script&lang=ts\"\n\nimport \"./HeadToolBar.vue?vue&type=style&index=0&id=3454f31a&lang=scss\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./CountrySwitch.vue?vue&type=style&index=0&id=5b8c7788&lang=scss\"","\r\n\r\n\r\n\r\n\r\n","import { render } from \"./AppSwitch.vue?vue&type=template&id=335c83b0\"\nimport script from \"./AppSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./AppSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./AppSwitch.vue?vue&type=style&index=0&id=335c83b0&lang=scss\"\n\nimport exportComponent from \"C:\\\\Bohdan\\\\Esims\\\\turkiyesim-admin\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./EmptyBlock.vue?vue&type=style&index=0&id=28469b4f&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./AppTabsBody.vue?vue&type=style&index=0&id=00d3df36&scoped=true&lang=scss\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bgColor\":\"#f5f6fa\",\"fontColor\":\"#333\",\"lightColor\":\"#fff\",\"primaryColor\":\"#3a85db\",\"successColor\":\"#3a85db\",\"warningColor\":\"#f2994a\",\"warningLightColor\":\"#fef5ed\",\"dangerColor\":\"#ff8181\",\"dangerLightColor\":\"#fdefef\",\"darkBackgroundColor\":\"rgba(0,0,0,.1)\",\"activeMenuItemGradient\":\"linear-gradient(0deg, #F3F4F8, #F3F4F8)\",\"gradientPrimaryLight\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"gradientPrimaryLightTransparent\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"colIndent\":\"1rem\",\"tableColXxs\":\"4rem\",\"tableColXs\":\"5.2rem\",\"tableColSm\":\"7rem\",\"tableColSmL\":\"9.5rem\",\"tableColMd\":\"11.5rem\",\"tableColLg\":\"18rem\",\"tableColXg\":\"25rem\",\"buttonSizesArray\":\"icon,xs,sm,smL,md-fluid,md,lg,xl,fluid\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bgColor\":\"#f5f6fa\",\"fontColor\":\"#333\",\"lightColor\":\"#fff\",\"primaryColor\":\"#3a85db\",\"successColor\":\"#3a85db\",\"warningColor\":\"#f2994a\",\"warningLightColor\":\"#fef5ed\",\"dangerColor\":\"#ff8181\",\"dangerLightColor\":\"#fdefef\",\"darkBackgroundColor\":\"rgba(0,0,0,.1)\",\"activeMenuItemGradient\":\"linear-gradient(0deg, #F3F4F8, #F3F4F8)\",\"gradientPrimaryLight\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"gradientPrimaryLightTransparent\":\"linear-gradient(90.25deg, #DFE9F7 1.96%, #F5F6FA 99.73%)\",\"colIndent\":\"1rem\",\"tableColXxs\":\"4rem\",\"tableColXs\":\"5.2rem\",\"tableColSm\":\"7rem\",\"tableColSmL\":\"9.5rem\",\"tableColMd\":\"11.5rem\",\"tableColLg\":\"18rem\",\"tableColXg\":\"25rem\",\"buttonSizesArray\":\"icon,xs,sm,smL,md-fluid,md,lg,xl,fluid\"};","module.exports = __webpack_public_path__ + \"img/uploader-default.317a9099.svg\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./DeleteLocationConfirm.vue?vue&type=style&index=0&id=427cebde&lang=scss\""],"sourceRoot":""}