{"version":3,"sources":["webpack:///./src/views/v2/Tab2.vue?09a2","webpack:///./src/views/v2/Tab2.vue?9531","webpack:///./src/views/v2/Tab2.vue"],"names":["_hoisted_1","key","_hoisted_2","_hoisted_3","src","_hoisted_4","_hoisted_5","_createElementVNode","class","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","render","_ctx","_cache","$props","$setup","$data","$options","_component_router_view","_resolveComponent","_component_ion_back_button","_component_ion_buttons","_component_ion_menu_button","_component_ald_logo","_component_ion_title","_component_ion_toolbar","_component_ion_searchbar","_component_ion_header","_component_ion_skeleton_text","_component_ion_label","_component_ion_list_header","_component_ion_avatar","_component_ion_item","_component_ion_thumbnail","_component_ion_list","_component_ion_infinite_scroll_content","_component_ion_infinite_scroll","_component_ion_content","_component_ion_page","_openBlock","_createBlock","default","_withCtx","routerKey","_createVNode","color","slot","_","placeholder","onIonChange","$event","onSearch","onIonClear","onClear","isLoading","_createElementBlock","animated","style","_createCommentVNode","_Fragment","_renderList","stateTab","items","d","id","detail","onClick","gotoDetail","imageUrl","_toDisplayString","fullname","birthDate","_createTextVNode","Date","toLocaleDateString","dieDate","currentPosition","cemeteryName","onIonInfinite","loadData","threshold","disabled","isInfiniteScrollDisabled","defineComponent","name","components","IonHeader","IonToolbar","IonTitle","IonContent","IonPage","IonList","IonItem","IonText","IonGrid","IonRow","IonCol","IonItemGroup","IonItemDivider","IonLabel","IonButtons","IonMenuButton","IonBackButton","aldLogo","IonSearchbar","IonSkeletonText","IonListHeader","IonAvatar","IonThumbnail","IonInfiniteScrollContent","IonInfiniteScroll","methods","setup","store","useStore","router","useRouter","route","useRoute","ref","stateFilter","computed","state","filter","mieiDefunti","path","console","log","text","lang","isAuth","auth","user","isAnonymous","pushNextPage","async","dispatch","value","ev","target","complete","otherItemsAvailable","input","event","PresentAlertError","title","msg","buttons","alert","alertController","create","cssClass","header","subHeader","message","present","role","onDidDismiss","onMounted","_lang$value$Detail$Ca","_lang$value","_lang$value$Detail$Lo","_lang$value2","_lang$value$Detail$Wa","_lang$value3","_lang$value$Detail$Wa2","_lang$value4","Detail","CancelButton","handler","LoginButton","push","WarnAnonimoTitle","WarnAnonimoText","dId","resultsCount","searchResultsCount","results","__exports__"],"mappings":"yIAEA,MAAMA,EAAa,CAAEC,IAAK,GACpBC,EAAa,CAAC,OACdC,EAAa,CACjBF,IAAK,EACLG,IAAK,2BAEDC,EAAa,CAAEJ,IAAK,GACpBK,EAA0BC,eAAoB,OAAQ,CAAEC,MAAO,kBAAoB,OAAQ,GAC3FC,EAAa,CAAER,IAAK,GACpBS,EAAa,CAAET,IAAK,GACpBU,EAA0BJ,eAAoB,OAAQ,CAAEC,MAAO,kBAAoB,OAAQ,GAC3FI,EAAa,CAAEJ,MAAO,cACtBK,EAAc,CAClBZ,IAAK,EACLO,MAAO,kBAGH,SAAUM,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,MAAMC,EAAyBC,eAAkB,eAC3CC,EAA6BD,eAAkB,mBAC/CE,EAAyBF,eAAkB,eAC3CG,EAA6BH,eAAkB,mBAC/CI,EAAsBJ,eAAkB,YACxCK,EAAuBL,eAAkB,aACzCM,EAAyBN,eAAkB,eAC3CO,EAA2BP,eAAkB,iBAC7CQ,EAAwBR,eAAkB,cAC1CS,EAA+BT,eAAkB,qBACjDU,EAAuBV,eAAkB,aACzCW,EAA6BX,eAAkB,mBAC/CY,EAAwBZ,eAAkB,cAC1Ca,EAAsBb,eAAkB,YACxCc,EAA2Bd,eAAkB,iBAC7Ce,EAAsBf,eAAkB,YACxCgB,EAAyChB,eAAkB,+BAC3DiB,EAAiCjB,eAAkB,uBACnDkB,EAAyBlB,eAAkB,eAC3CmB,EAAsBnB,eAAkB,YAE9C,OAAQoB,iBAAcC,eAAaF,EAAqB,KAAM,CAC5DG,QAASC,eAAS,IAAM,EACrBH,iBAAcC,eAAatB,EAAwB,CAAEpB,IAAKc,EAAK+B,aAChEC,eAAajB,EAAuB,CAAEtB,MAAO,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A,EAAYC,OAAOM,uBAAe,IAAAR,IAChC,8DACFlB,MAUR,MAAMhF,EAAc2G,IAClB,MAAMzD,EAAQ,qBAAuByD,EACrC3D,EAAOwD,KAAKtD,IAId,MAAO,CACL0D,aAActD,eAAS,IAAMR,EAAMS,MAAMsD,oBACzCC,QAASxD,eAAS,IAAMR,EAAMS,MAAMuD,SACpCzD,cACAL,SACAF,QACA3D,YACA4B,2BACArB,WACAM,aACAY,WACA5B,WACAE,UACA4E,OACAC,SACAvF,gB,qBC3LN,MAAMuI,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASvK,KAErD","file":"js/chunk-2d0afaaa.7ecb4f6b.js","sourcesContent":["import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = {\n key: 1,\n src: \"/assets/icon/avatar.png\"\n}\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"graffitti-text\" }, \"N. \", -1)\nconst _hoisted_6 = { key: 1 }\nconst _hoisted_7 = { key: 2 }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"graffitti-text\" }, \"M. \", -1)\nconst _hoisted_9 = { class: \"upper-text\" }\nconst _hoisted_10 = {\n key: 0,\n class: \"graffitti-text\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_view = _resolveComponent(\"router-view\")!\n const _component_ion_back_button = _resolveComponent(\"ion-back-button\")!\n const _component_ion_buttons = _resolveComponent(\"ion-buttons\")!\n const _component_ion_menu_button = _resolveComponent(\"ion-menu-button\")!\n const _component_ald_logo = _resolveComponent(\"ald-logo\")!\n const _component_ion_title = _resolveComponent(\"ion-title\")!\n const _component_ion_toolbar = _resolveComponent(\"ion-toolbar\")!\n const _component_ion_searchbar = _resolveComponent(\"ion-searchbar\")!\n const _component_ion_header = _resolveComponent(\"ion-header\")!\n const _component_ion_skeleton_text = _resolveComponent(\"ion-skeleton-text\")!\n const _component_ion_label = _resolveComponent(\"ion-label\")!\n const _component_ion_list_header = _resolveComponent(\"ion-list-header\")!\n const _component_ion_avatar = _resolveComponent(\"ion-avatar\")!\n const _component_ion_item = _resolveComponent(\"ion-item\")!\n const _component_ion_thumbnail = _resolveComponent(\"ion-thumbnail\")!\n const _component_ion_list = _resolveComponent(\"ion-list\")!\n const _component_ion_infinite_scroll_content = _resolveComponent(\"ion-infinite-scroll-content\")!\n const _component_ion_infinite_scroll = _resolveComponent(\"ion-infinite-scroll\")!\n const _component_ion_content = _resolveComponent(\"ion-content\")!\n const _component_ion_page = _resolveComponent(\"ion-page\")!\n\n return (_openBlock(), _createBlock(_component_ion_page, null, {\n default: _withCtx(() => [\n (_openBlock(), _createBlock(_component_router_view, { key: _ctx.routerKey })),\n _createVNode(_component_ion_header, { class: \"ion-no-border\" }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_toolbar, { color: \"primary\" }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_buttons, { slot: \"start\" }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_back_button)\n ]),\n _: 1\n }),\n _createVNode(_component_ion_buttons, { slot: \"end\" }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_menu_button)\n ]),\n _: 1\n }),\n _createVNode(_component_ion_title, null, {\n default: _withCtx(() => [\n _createVNode(_component_ald_logo)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_ion_toolbar, { color: \"primary\" }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_searchbar, {\n placeholder: \"Cognome e/o Nome del defunto\",\n onIonChange: _cache[0] || (_cache[0] = ($event: any) => (_ctx.onSearch($event))),\n onIonClear: _cache[1] || (_cache[1] = ($event: any) => (_ctx.onClear($event)))\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_ion_content, { class: \"map-backgorund\" }, {\n default: _withCtx(() => [\n (_ctx.isLoading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_ion_list, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_list_header, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_label, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_skeleton_text, {\n animated: \"\",\n style: {\"width\":\"20%\"}\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_ion_item, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_avatar, { slot: \"start\" }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_skeleton_text, { animated: \"\" })\n ]),\n _: 1\n }),\n _createVNode(_component_ion_label, null, {\n default: _withCtx(() => [\n _createElementVNode(\"h3\", null, [\n _createVNode(_component_ion_skeleton_text, {\n animated: \"\",\n style: {\"width\":\"50%\"}\n })\n ]),\n _createElementVNode(\"p\", null, [\n _createVNode(_component_ion_skeleton_text, {\n animated: \"\",\n style: {\"width\":\"80%\"}\n })\n ]),\n _createElementVNode(\"p\", null, [\n _createVNode(_component_ion_skeleton_text, {\n animated: \"\",\n style: {\"width\":\"60%\"}\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_ion_item, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_thumbnail, { slot: \"start\" }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_skeleton_text, { animated: \"\" })\n ]),\n _: 1\n }),\n _createVNode(_component_ion_label, null, {\n default: _withCtx(() => [\n _createElementVNode(\"h3\", null, [\n _createVNode(_component_ion_skeleton_text, {\n animated: \"\",\n style: {\"width\":\"50%\"}\n })\n ]),\n _createElementVNode(\"p\", null, [\n _createVNode(_component_ion_skeleton_text, {\n animated: \"\",\n style: {\"width\":\"80%\"}\n })\n ]),\n _createElementVNode(\"p\", null, [\n _createVNode(_component_ion_skeleton_text, {\n animated: \"\",\n style: {\"width\":\"60%\"}\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_ion_item, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_skeleton_text, {\n animated: \"\",\n style: {\"width\":\"27px\",\"height\":\"27px\"},\n slot: \"start\"\n }),\n _createVNode(_component_ion_label, null, {\n default: _withCtx(() => [\n _createElementVNode(\"h3\", null, [\n _createVNode(_component_ion_skeleton_text, {\n animated: \"\",\n style: {\"width\":\"50%\"}\n })\n ]),\n _createElementVNode(\"p\", null, [\n _createVNode(_component_ion_skeleton_text, {\n animated: \"\",\n style: {\"width\":\"80%\"}\n })\n ]),\n _createElementVNode(\"p\", null, [\n _createVNode(_component_ion_skeleton_text, {\n animated: \"\",\n style: {\"width\":\"60%\"}\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.isLoading)\n ? (_openBlock(), _createBlock(_component_ion_list, { key: 1 }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.stateTab.items, (d) => {\n return (_openBlock(), _createBlock(_component_ion_item, {\n key: d.id,\n detail: \"true\",\n onClick: ($event: any) => (_ctx.gotoDetail(d.id))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_avatar, { slot: \"start\" }, {\n default: _withCtx(() => [\n (d.imageUrl)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: d.imageUrl\n }, null, 8, _hoisted_2))\n : (_openBlock(), _createElementBlock(\"img\", _hoisted_3))\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_ion_label, null, {\n default: _withCtx(() => [\n _createElementVNode(\"h3\", null, _toDisplayString(d.fullname), 1),\n _createElementVNode(\"p\", null, [\n (d.birthDate)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_4, [\n _hoisted_5,\n _createTextVNode(_toDisplayString(new Date(d.birthDate).toLocaleDateString('it-IT')), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (d.birthDate && d.dieDate)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, \" - \"))\n : _createCommentVNode(\"\", true),\n (d.dieDate)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_7, [\n _hoisted_8,\n _createTextVNode(_toDisplayString(new Date(d.dieDate).toLocaleDateString('it-IT')), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"p\", _hoisted_9, [\n (d.currentPosition && d.currentPosition.cemeteryName)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_10, _toDisplayString(d.currentPosition.cemeteryName), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1032, [\"onClick\"]))\n }), 128))\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_ion_infinite_scroll, {\n onIonInfinite: _cache[2] || (_cache[2] = ($event: any) => (_ctx.loadData($event))),\n threshold: \"100px\",\n id: \"infinite-scroll\",\n disabled: _ctx.isInfiniteScrollDisabled\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_infinite_scroll_content, {\n \"loading-spinner\": \"bubbles\",\n \"loading-text\": \"Caricamento altri risultati...\"\n })\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n}","\r\nimport {\r\n IonPage,\r\n IonHeader,\r\n IonToolbar,\r\n IonTitle,\r\n IonContent,\r\n IonList,\r\n IonItem,\r\n IonText,\r\n IonGrid,\r\n IonRow,\r\n IonCol,\r\n IonItemGroup,\r\n IonItemDivider,\r\n IonLabel,\r\n IonButtons,\r\n IonMenuButton,\r\n IonBackButton,\r\n InfiniteScrollCustomEvent,\r\n IonSearchbar,\r\n IonSkeletonText,\r\n IonListHeader,\r\n IonAvatar,\r\n IonThumbnail, \r\n IonInfiniteScrollContent,\r\n IonInfiniteScroll,\r\n alertController\r\n} from \"@ionic/vue\";\r\nimport { computed, defineComponent, onMounted, ref } from \"vue\";\r\nimport aldLogo from \"@/components/aldilapp/shared/ald-logo.vue\";\r\nimport { useStore } from \"vuex\";\r\nimport { key } from \"../../store\";\r\nimport { useRouter, useRoute } from \"vue-router\";\r\nimport { DataService } from \"@/services/data.service\";\r\nimport { SearchFilterDTO, PagedSearchFilterDTO, SearchResultItemDTO, PagingSettingDTO, PagedResultDTO } from \"../../models\";\r\nexport default defineComponent({\r\n name: \"Tab2\",\r\n components: {\r\n IonHeader,\r\n IonToolbar,\r\n IonTitle,\r\n IonContent,\r\n IonPage,\r\n IonList,\r\n IonItem,\r\n IonText,\r\n IonGrid,\r\n IonRow,\r\n IonCol,\r\n IonItemGroup,\r\n IonItemDivider,\r\n IonLabel,\r\n IonButtons,\r\n IonMenuButton,\r\n IonBackButton,\r\n aldLogo,\r\n IonSearchbar,\r\n IonSkeletonText,\r\n IonListHeader,\r\n IonAvatar,\r\n IonThumbnail, \r\n IonInfiniteScrollContent,\r\n IonInfiniteScroll,\r\n },\r\n methods: {\r\n \r\n },\r\n setup() {\r\n const store = useStore(key);\r\n const router = useRouter();\r\n const route = useRoute();\r\n const isLoading = ref(false);\r\n const stateFilter = computed(() => store.state.filter);\r\n const stateTab = computed(() => store.state.mieiDefunti);\r\n const routerKey = route.path;\r\n console.log('routerKey',routerKey);\r\n const pagedFilter = ref(null);\r\n //const items = ref([]);\r\n const text = ref(\"\");\r\n const isInfiniteScrollDisabled = ref(false);\r\n const toggleInfiniteScroll = () => {\r\n isInfiniteScrollDisabled.value = !isInfiniteScrollDisabled.value;\r\n }\r\n\r\n const lang = computed(() => store.state.lang);\r\n const isAuth = computed(() => {\r\n return (\r\n store.state.auth &&\r\n store.state.auth.user &&\r\n !store.state.auth.user.isAnonymous\r\n );\r\n });\r\n \r\n const pushNextPage = async () => \r\n {\r\n await store.dispatch('loadMieiDefuntiNextPage', text.value);\r\n };\r\n\r\n const loadData = async (ev: InfiniteScrollCustomEvent) => {\r\n await pushNextPage();\r\n ev.target.complete();\r\n\r\n // App logic to determine if all data is loaded and disable the infinite scroll\r\n if (!stateTab.value.otherItemsAvailable) {\r\n ev.target.disabled = true;\r\n } \r\n };\r\n\r\n const onSearch = async (event: any ) => {\r\n const input = event.detail.value;\r\n console.log('Input filtro nome:',input);\r\n text.value = input;\r\n await pushNextPage();\r\n };\r\n\r\n const onClear = async (event: any) => {\r\n console.log('Clear button pressed!');\r\n text.value = \"\";\r\n await pushNextPage();\r\n }\r\n\r\n const PresentAlertError = async (\r\n title: string,\r\n msg: string,\r\n buttons: Array\r\n ) => {\r\n const alert = await alertController.create({\r\n cssClass: \"my-alert-class\",\r\n header: title,\r\n subHeader: \"\",\r\n message: msg,\r\n buttons,\r\n });\r\n await alert.present();\r\n const { role } = await alert.onDidDismiss();\r\n console.log(\"onDidDismiss resolved with role\", role);\r\n };\r\n\r\n onMounted(async () => {\r\n console.log(\"Mounted: \", route.path);\r\n if (!isAuth.value) {\r\n const buttons: Array = [\r\n {\r\n text: lang.value?.Detail.CancelButton ?? \"Annulla\",\r\n role: \"cancel\",\r\n handler: () => {\r\n console.log(\"Cancel clicked\");\r\n },\r\n },\r\n {\r\n text: lang.value?.Detail.LoginButton ?? \"Accedi\",\r\n handler: () => {\r\n router.push(\"/login\");\r\n },\r\n },\r\n ];\r\n PresentAlertError(\r\n lang.value?.Detail.WarnAnonimoTitle ?? \"ATTENZIONE!\",\r\n lang.value?.Detail.WarnAnonimoText ??\r\n \"Questa funzione รจ abilitata solo per gli utenti registrati.\",\r\n buttons\r\n );\r\n } \r\n else{\r\n isLoading.value = true;\r\n await pushNextPage();\r\n isLoading.value = false;\r\n }\r\n });\r\n\r\n const gotoDetail = (dId: number) => {\r\n const route = \"/tabs/tab2/detail/\" + dId;\r\n router.push(route, );\r\n };\r\n\r\n\r\n return {\r\n resultsCount: computed(() => store.state.searchResultsCount),\r\n results: computed(() => store.state.results),\r\n stateFilter,\r\n router,\r\n store,\r\n isLoading,\r\n isInfiniteScrollDisabled,\r\n stateTab,\r\n gotoDetail,\r\n loadData,\r\n onSearch,\r\n onClear,\r\n lang,\r\n isAuth,\r\n routerKey\r\n };\r\n },\r\n});\r\n","import { render } from \"./Tab2.vue?vue&type=template&id=1585d3f3&ts=true\"\nimport script from \"./Tab2.vue?vue&type=script&lang=ts\"\nexport * from \"./Tab2.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"C:\\\\Projects\\\\Aldilapp\\\\ionic-capacitor-v3\\\\ionic\\\\aldilapp\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"sourceRoot":""}