@oneclick.dev/cms-core-modules 0.0.105 → 0.0.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Acquisition-DypEyPSO.js +1 -0
- package/dist/Acquisition-TCNX-th6.mjs +308 -0
- package/dist/AgendaOpeningHoursCard-BIhm0vpV.js +1 -0
- package/dist/AgendaOpeningHoursCard-BKUdJxRI.mjs +133 -0
- package/dist/AppointmentDetailsCard-C5rQ5jsW.js +1 -0
- package/dist/AppointmentDetailsCard-NRHeNP2L.mjs +111 -0
- package/dist/AppointmentEditor-BcF8CiD-.mjs +150 -0
- package/dist/AppointmentEditor-BlhFtoCm.js +1 -0
- package/dist/AppointmentListTable-B-ReBVtV.js +1 -0
- package/dist/AppointmentListTable-DHmy-iid.mjs +129 -0
- package/dist/Audience-Cq1Gu-Vo.mjs +394 -0
- package/dist/Audience-h5PfXPz4.js +1 -0
- package/dist/Components-BehelN4r.js +1 -0
- package/dist/Components-CR6zukUU.mjs +468 -0
- package/dist/Content-C5Iye3t0.mjs +257 -0
- package/dist/Content-eOfBx52Y.js +1 -0
- package/dist/ContentEditor-BgL4qEeg.mjs +26835 -0
- package/dist/ContentEditor-Tlu3w0Hu.js +462 -0
- package/dist/CountryBreakdownCard-CWVyB8be.mjs +151 -0
- package/dist/CountryBreakdownCard-Db-pMiNe.js +1 -0
- package/dist/Create-B1it8S4m.js +1 -0
- package/dist/Create-DbYi0FAI.mjs +907 -0
- package/dist/DateFormatter-DLrDYkby.mjs +630 -0
- package/dist/DateFormatter-Dni0Oq8r.js +1 -0
- package/dist/Detail-D-eahJGO.mjs +21 -0
- package/dist/Detail-D0kdPPIm.mjs +2757 -0
- package/dist/Detail-DAafePYi.mjs +485 -0
- package/dist/Detail-DYpv4fYg.js +1 -0
- package/dist/Detail-Dc_ui4LM.js +1 -0
- package/dist/Detail-DccUekl_.js +1 -0
- package/dist/Detail-Dhz0V0Vf.js +1 -0
- package/dist/Detail-DjnGY0F8.mjs +282 -0
- package/dist/Detail-DplAitHg.mjs +447 -0
- package/dist/Detail-SugyeSxb.js +1 -0
- package/dist/DeviceBreakdownCard-CzxZT6To.js +1 -0
- package/dist/DeviceBreakdownCard-eEwPjzKl.mjs +115 -0
- package/dist/EditLayout-Bnz9q_jd.js +1 -0
- package/dist/EditLayout-J_DGXb8v.mjs +99 -0
- package/dist/Entries-CgpWg6fE.js +1 -0
- package/dist/Entries-CkGTXcAq.mjs +575 -0
- package/dist/Find-Bz0TNJzk.mjs +164 -0
- package/dist/Find-D-ItTXaZ.js +1 -0
- package/dist/GlobalStyling-CSQPF7o_.mjs +1162 -0
- package/dist/GlobalStyling-DabldMZh.js +15 -0
- package/dist/NewReservationDialog-BhIiY2B9.js +1 -0
- package/dist/NewReservationDialog-CN49aGcM.mjs +1002 -0
- package/dist/OrderDetailDialog-BJ01DZFe.js +1 -0
- package/dist/OrderDetailDialog-CoVQ_rzs.mjs +215 -0
- package/dist/Overview-9FMgn5hT.mjs +492 -0
- package/dist/Overview-BOOwMQ-c.mjs +636 -0
- package/dist/Overview-Biz3h60w.js +1 -0
- package/dist/Overview-C2K2ofdS.js +1 -0
- package/dist/Overview-CFHOXP9N.mjs +123 -0
- package/dist/Overview-CTJe7J5_.js +1 -0
- package/dist/Overview-Cvj2i9eW.js +1 -0
- package/dist/Overview-D2I1F8Dm.mjs +21 -0
- package/dist/Overview-DFOc9emt.mjs +345 -0
- package/dist/Overview-Dmhfb94Y.js +1 -0
- package/dist/Overview-PPzv7weG.mjs +450 -0
- package/dist/Overview-qFKcXHVF.js +1 -0
- package/dist/Overview-xkmYYTae.mjs +133 -0
- package/dist/Overview-yPsLvR2c.js +1 -0
- package/dist/PeakHoursCard-CtgEP-ez.mjs +157 -0
- package/dist/PeakHoursCard-DPeoMyhu.js +1 -0
- package/dist/ProductDetailsCard-B0WhmzO-.mjs +98 -0
- package/dist/ProductDetailsCard-C1ROuH6l.js +1 -0
- package/dist/RealtimeCard-DQno-Okz.js +1 -0
- package/dist/RealtimeCard-dR-g1iDo.mjs +92 -0
- package/dist/ReservationDetailDialog-Cdo6h0RD.mjs +2163 -0
- package/dist/ReservationDetailDialog-DZTFD2xI.js +349 -0
- package/dist/SearchTermsCard-BXJSXz_k.js +1 -0
- package/dist/SearchTermsCard-DsaxLKwP.mjs +146 -0
- package/dist/SendPush-Bssi-OZD.mjs +150 -0
- package/dist/SendPush-BuaYboRH.js +1 -0
- package/dist/SeoHealth-CP-kL0us.js +1 -0
- package/dist/SeoHealth-Cxp_Gb3Y.mjs +459 -0
- package/dist/TableView-7iwBkQ_k.mjs +4757 -0
- package/dist/TableView-BB_oIYYZ.js +4 -0
- package/dist/TemplateList-CNcM_Kgq.mjs +56 -0
- package/dist/TemplateList-VuPcBUJO.js +1 -0
- package/dist/TopPagesCard-CvDECn3_.mjs +117 -0
- package/dist/TopPagesCard-DNdATXJE.js +1 -0
- package/dist/TrafficSourcesCard-BLpBr7u0.mjs +151 -0
- package/dist/TrafficSourcesCard-_3gRUCw3.js +1 -0
- package/dist/View-DSnUHI7h.mjs +30 -0
- package/dist/View-Dbcfpdqh.js +1 -0
- package/dist/VisitorStatsCard-CFEnXSjF.mjs +185 -0
- package/dist/VisitorStatsCard-C_jhQxDW.js +1 -0
- package/dist/_plugin-vue_export-helper-5u7tqpWC.js +1 -0
- package/dist/_plugin-vue_export-helper-BJQSo0im.mjs +8 -0
- package/dist/agenda-CzMRcQTA.mjs +989 -0
- package/dist/agenda-D4zWRYSQ.js +1 -0
- package/dist/appointments-9syR5TZE.js +1 -0
- package/dist/appointments-BBmOJMhM.mjs +23 -0
- package/dist/array-BH1uH7XT.js +1 -0
- package/dist/array-DnDL9cFz.mjs +98 -0
- package/dist/availability-CAXB7Yd6.js +1 -0
- package/dist/availability-Dp7eF-ZK.mjs +215 -0
- package/dist/booking-data-Bysf6e5x.mjs +724 -0
- package/dist/booking-data-C6SGjC2X.js +1 -0
- package/dist/chunk-DQi1bQcV.js +1 -0
- package/dist/cms-core-modules.css +2 -1
- package/dist/contentManager-D7JxXCwE.js +1 -0
- package/dist/contentManager-tfy0x1LD.mjs +22 -0
- package/dist/context-AQKfnJ4t.mjs +3809 -0
- package/dist/context-ubyMq9Xe.js +54 -0
- package/dist/core-Dhgr4ctC.mjs +202 -0
- package/dist/core-_HKfBlaZ.js +1 -0
- package/dist/countries-MXLT3mVe.mjs +4 -0
- package/dist/countries-OCd5qPxG.js +1 -0
- package/dist/create-BfNc2C7N.js +1 -0
- package/dist/create-C7JlIlIh.mjs +95 -0
- package/dist/custom-BwN9-6Mb.js +1 -0
- package/dist/custom-INNwaWla.mjs +13 -0
- package/dist/dist-BCVg7FKM.js +1 -0
- package/dist/dist-DIhK9VWh.mjs +3045 -0
- package/dist/edit-BiI2VG60.js +35 -0
- package/dist/edit-DD3iFBEh.mjs +1097 -0
- package/dist/exceptions-DICMaDcH.mjs +462 -0
- package/dist/exceptions-DpWqMNuG.js +1 -0
- package/dist/google-Bcc4XZnV.mjs +4 -0
- package/dist/google-DTSRmJ51.js +1 -0
- package/dist/googleAnalytics-BSaqRR_L.js +1 -0
- package/dist/googleAnalytics-Cg-iWblZ.mjs +47 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.mjs +1095 -806
- package/dist/interpolation-B8OzkMyi.mjs +131 -0
- package/dist/interpolation-DpAqtGOW.js +1 -0
- package/dist/lib-4wSi00Vr.js +1 -0
- package/dist/lib-BZgXUui5.mjs +198 -0
- package/dist/line-DJdnFNI7.js +75 -0
- package/dist/line-tYLnEDGV.mjs +1500 -0
- package/dist/mailTemplates-BNk8fhVS.mjs +23 -0
- package/dist/mailTemplates-DswHzyQe.js +1 -0
- package/dist/orders-CIc0JlKX.mjs +512 -0
- package/dist/orders-DwPSi_pD.js +1 -0
- package/dist/payment-BsNWFaDm.js +1 -0
- package/dist/payment-Ced5_dpa.mjs +718 -0
- package/dist/productCollections-Cuvw_8zC.js +1 -0
- package/dist/productCollections-D0AxRlzr.mjs +23 -0
- package/dist/products-DUD-ZMkR.mjs +22 -0
- package/dist/products-DvX9B-Ul.js +1 -0
- package/dist/promoCodes-BCWqN6w4.mjs +23 -0
- package/dist/promoCodes-CEZ4LYot.js +1 -0
- package/dist/push-notifications-BGp4XWo9.js +1 -0
- package/dist/push-notifications-C7W7KuzR.mjs +23 -0
- package/dist/regular-BCFrS6lK.mjs +908 -0
- package/dist/regular-DBqPgT8C.js +1 -0
- package/dist/resources-DwsMmWgm.mjs +669 -0
- package/dist/resources-Dz81GkHe.js +1 -0
- package/dist/server-handlers.cjs.js +1 -1
- package/dist/server-handlers.mjs +1049 -996
- package/dist/shippingOptions-C3NEJff1.mjs +23 -0
- package/dist/shippingOptions-Cy040ZW1.js +1 -0
- package/dist/single-container-BJmmqq65.mjs +468 -0
- package/dist/single-container-Xoo0Xzxv.js +58 -0
- package/dist/src/appointments/composables/useHorizontalScroll.d.ts +20 -0
- package/dist/src/appointments/index.d.ts +9 -12
- package/dist/src/appointments/metadata.d.ts +1 -1
- package/dist/src/appointments/routes.d.ts +3 -6
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/LockBlocks.d.ts +15 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/TrailingNodeInContainers.d.ts +4 -1
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/index.d.ts +12 -132
- package/dist/src/contentManager/index.d.ts +5 -14
- package/dist/src/contentManager/metadata.d.ts +1 -1
- package/dist/src/contentManager/routes.d.ts +3 -12
- package/dist/src/custom/index.d.ts +2 -2
- package/dist/src/custom/routes.d.ts +1 -1
- package/dist/src/googleAnalytics/index.d.ts +10 -10
- package/dist/src/googleAnalytics/routes.d.ts +1 -1
- package/dist/src/lib/interpolation.d.ts +6 -0
- package/dist/src/mailTemplates/index.d.ts +3 -3
- package/dist/src/mailTemplates/metadata.d.ts +1 -1
- package/dist/src/mailTemplates/routes.d.ts +1 -1
- package/dist/src/productCollections/index.d.ts +3 -3
- package/dist/src/productCollections/metadata.d.ts +1 -1
- package/dist/src/productCollections/routes.d.ts +1 -1
- package/dist/src/products/index.d.ts +4 -4
- package/dist/src/products/metadata.d.ts +1 -1
- package/dist/src/products/routes.d.ts +1 -1
- package/dist/src/promoCodes/index.d.ts +3 -3
- package/dist/src/promoCodes/metadata.d.ts +1 -1
- package/dist/src/promoCodes/routes.d.ts +1 -1
- package/dist/src/push-notifications/index.d.ts +3 -3
- package/dist/src/push-notifications/metadata.d.ts +1 -1
- package/dist/src/push-notifications/routes.d.ts +1 -1
- package/dist/src/shippingOptions/index.d.ts +3 -3
- package/dist/src/shippingOptions/metadata.d.ts +1 -1
- package/dist/src/shippingOptions/routes.d.ts +1 -1
- package/dist/src/table/flow-builder-extensions/row-item.d.ts +3 -17
- package/dist/src/table/index.d.ts +2 -2
- package/dist/src/table/routes.d.ts +1 -1
- package/dist/src/types/index.d.ts +6 -0
- package/dist/src/vue-shim.d.ts +7 -0
- package/dist/table-DWw0fs3S.js +1 -0
- package/dist/table-LXt5DQOL.mjs +23 -0
- package/dist/utils-CVIHqQsU.js +3 -0
- package/dist/utils-h3owcMtS.mjs +37 -0
- package/dist/vee-validate-zod-BmXMJo8W.js +1 -0
- package/dist/vee-validate-zod-D9dZzbWZ.mjs +4985 -0
- package/dist/xy-container-CuQSwrtB.mjs +3180 -0
- package/dist/xy-container-_6YpscZh.js +158 -0
- package/package.json +55 -55
- package/dist/Acquisition-Br1Pfny3.js +0 -1
- package/dist/Acquisition-CPlZzUBo.mjs +0 -400
- package/dist/AgendaOpeningHoursCard-B7ROIPWw.js +0 -1
- package/dist/AgendaOpeningHoursCard-Cp4wxUeK.mjs +0 -172
- package/dist/AppointmentDetailsCard-33WpATpV.mjs +0 -161
- package/dist/AppointmentDetailsCard-DpLM5IrB.js +0 -1
- package/dist/AppointmentEditor-BeOtYV6u.mjs +0 -196
- package/dist/AppointmentEditor-CaTfbkIf.js +0 -1
- package/dist/AppointmentListTable-DZJNmTMb.mjs +0 -177
- package/dist/AppointmentListTable-Dieu9US_.js +0 -1
- package/dist/Audience-BfkrmBuQ.js +0 -1
- package/dist/Audience-DTblSAiL.mjs +0 -489
- package/dist/Components-C83O-xlF.mjs +0 -623
- package/dist/Components-DXbx0RLV.js +0 -1
- package/dist/Content-BHr_rPVY.js +0 -1
- package/dist/Content-CYOZKvWK.mjs +0 -358
- package/dist/ContentEditor-B1nfKG_5.mjs +0 -30676
- package/dist/ContentEditor-DdFU8piH.js +0 -462
- package/dist/CountryBreakdownCard-D7BK3nRD.js +0 -1
- package/dist/CountryBreakdownCard-DVxNz2DJ.mjs +0 -196
- package/dist/Create-BRBh0xjM.mjs +0 -1247
- package/dist/Create-qPeQxkdl.js +0 -1
- package/dist/DateFormatter-Bw-87W31.mjs +0 -734
- package/dist/DateFormatter-CYAD4GBN.js +0 -1
- package/dist/Detail-Byk781b4.mjs +0 -26
- package/dist/Detail-C1Blq61w.mjs +0 -585
- package/dist/Detail-C857g62L.js +0 -1
- package/dist/Detail-C8wQiDcv.js +0 -1
- package/dist/Detail-CPqug27l.js +0 -1
- package/dist/Detail-CjuhjPby.js +0 -1
- package/dist/Detail-CtItxMX4.mjs +0 -649
- package/dist/Detail-CujdFApD.mjs +0 -379
- package/dist/Detail-Dnpnmy4-.mjs +0 -3477
- package/dist/Detail-mvSGbnFU.js +0 -1
- package/dist/DeviceBreakdownCard-DRhQ9ufG.js +0 -1
- package/dist/DeviceBreakdownCard-W1frLe0L.mjs +0 -159
- package/dist/EditLayout.vue_vue_type_script_setup_true_lang-DWMqQvHl.mjs +0 -76
- package/dist/EditLayout.vue_vue_type_script_setup_true_lang-kpjbVSXg.js +0 -1
- package/dist/Entries-BaS6H6ak.js +0 -1
- package/dist/Entries-C8UJkrVC.mjs +0 -728
- package/dist/Find-B24ZEhYM.mjs +0 -229
- package/dist/Find-D4Qa45qC.js +0 -1
- package/dist/GlobalStyling-C9VthHWK.mjs +0 -1588
- package/dist/GlobalStyling-CnSlXkZc.js +0 -25
- package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-9Q7TMm4u.mjs +0 -401
- package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-DiNzGl-q.js +0 -1
- package/dist/Overview-3HWhsqaz.mjs +0 -860
- package/dist/Overview-BCpJNiEB.mjs +0 -190
- package/dist/Overview-BDlBCUI_.js +0 -1
- package/dist/Overview-BYMrsZjM.mjs +0 -332
- package/dist/Overview-BbvfH1u-.js +0 -1
- package/dist/Overview-BrCwozey.js +0 -1
- package/dist/Overview-CIa1E-HH.mjs +0 -178
- package/dist/Overview-CpHhuiaV.js +0 -1
- package/dist/Overview-DAxCu9XC.js +0 -1
- package/dist/Overview-D_T3K6aq.mjs +0 -632
- package/dist/Overview-Su8ZUbMs.mjs +0 -26
- package/dist/Overview-T-lsy3UZ.js +0 -1
- package/dist/Overview-kaMhsIUq.mjs +0 -567
- package/dist/Overview-t0pG5xjA.js +0 -1
- package/dist/PeakHoursCard-9-EZFZLR.mjs +0 -182
- package/dist/PeakHoursCard-BR5zmta4.js +0 -1
- package/dist/ProductDetailsCard-6nHikw4V.mjs +0 -121
- package/dist/ProductDetailsCard-Bn7qrgmc.js +0 -1
- package/dist/RealtimeCard--APfRNc8.js +0 -1
- package/dist/RealtimeCard-fvQlJcM7.mjs +0 -126
- package/dist/ReservationDetailDialog.vue_vue_type_script_setup_true_lang-Cz_22Oce.mjs +0 -2927
- package/dist/ReservationDetailDialog.vue_vue_type_script_setup_true_lang-DPPNc-Z5.js +0 -349
- package/dist/SearchTermsCard-BsB-63aH.js +0 -1
- package/dist/SearchTermsCard-BzVrHKqQ.mjs +0 -201
- package/dist/SendPush-COns44j7.js +0 -1
- package/dist/SendPush-CPIOjVX4.mjs +0 -184
- package/dist/SeoHealth-09sEOu3G.js +0 -1
- package/dist/SeoHealth-BzcWd_w7.mjs +0 -615
- package/dist/TableView-CPAw3h8g.js +0 -4
- package/dist/TableView-DXmEF6pY.mjs +0 -6143
- package/dist/TemplateList.vue_vue_type_script_setup_true_lang-B_AtWnHa.js +0 -1
- package/dist/TemplateList.vue_vue_type_script_setup_true_lang-Cmovy7kk.mjs +0 -40
- package/dist/TopPagesCard-BDeA997A.js +0 -1
- package/dist/TopPagesCard-CTozhOr_.mjs +0 -159
- package/dist/TrafficSourcesCard-BxtCKsqx.mjs +0 -197
- package/dist/TrafficSourcesCard-C3ziDTUL.js +0 -1
- package/dist/View-CsudjxCE.mjs +0 -30
- package/dist/View-Dw_wA6kK.js +0 -1
- package/dist/VisitorStatsCard-BmByE_Hi.js +0 -1
- package/dist/VisitorStatsCard-CXizEbVK.mjs +0 -174
- package/dist/_plugin-vue_export-helper-BHFhmbuH.js +0 -1
- package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +0 -9
- package/dist/agenda-BNG05SAq.js +0 -1
- package/dist/agenda-D1RxMxBS.mjs +0 -1152
- package/dist/array-CbATeQbk.js +0 -1
- package/dist/array-CvmZXzxF.mjs +0 -108
- package/dist/availability-CMrRa5y2.mjs +0 -269
- package/dist/availability-Cf2YfMwM.js +0 -1
- package/dist/booking-data-DgJd0BcM.mjs +0 -889
- package/dist/booking-data-Di5GmH_8.js +0 -1
- package/dist/countries-BTPvmrsb.mjs +0 -4
- package/dist/countries-CgZ081No.js +0 -1
- package/dist/exceptions-CI0B4xVj.js +0 -1
- package/dist/exceptions-vo8SA5SE.mjs +0 -646
- package/dist/google-CvtuJwgk.mjs +0 -4
- package/dist/google-D4N3gb01.js +0 -1
- package/dist/index-4tjmIans.js +0 -1
- package/dist/index-9HVlmvK3.js +0 -1
- package/dist/index-BWDwEd8D.mjs +0 -24
- package/dist/index-BfBBm9uY.mjs +0 -24
- package/dist/index-Bkq58CeQ.mjs +0 -22
- package/dist/index-BtujSJeg.js +0 -35
- package/dist/index-BuzLn4Km.js +0 -54
- package/dist/index-C4YUVWzJ.js +0 -75
- package/dist/index-CJQQBRLY.js +0 -1
- package/dist/index-CMk3uhUt.mjs +0 -3837
- package/dist/index-CQkOH2_3.mjs +0 -24
- package/dist/index-CSxYBeVA.js +0 -1
- package/dist/index-CU-tbS5W.mjs +0 -24
- package/dist/index-CZn2nDLv.mjs +0 -34
- package/dist/index-CkiNvRzs.js +0 -1
- package/dist/index-Co4ON2Di.js +0 -1
- package/dist/index-Cpnn_Pxd.mjs +0 -24
- package/dist/index-CrgzoTyR.mjs +0 -110
- package/dist/index-CsVeM3PA.mjs +0 -24
- package/dist/index-CwqrAU-H.js +0 -1
- package/dist/index-CxETuRsG.js +0 -1
- package/dist/index-Cz-baGax.js +0 -1
- package/dist/index-D3L8WAJI.js +0 -58
- package/dist/index-DFQGVHTs.js +0 -1
- package/dist/index-DPd3waTN.js +0 -1
- package/dist/index-DQYBP8Js.js +0 -158
- package/dist/index-DRqJOqUR.mjs +0 -3484
- package/dist/index-DjDCYQ_6.mjs +0 -441
- package/dist/index-DjWuIBxh.js +0 -1
- package/dist/index-Dnn2SCSl.js +0 -1
- package/dist/index-Dpl9sU6a.mjs +0 -12
- package/dist/index-DrXxXB2F.mjs +0 -138
- package/dist/index-MYWjg0zi.mjs +0 -176
- package/dist/index-R2oUDsjx.js +0 -1
- package/dist/index-RLz1QPrf.mjs +0 -203
- package/dist/index-UtjLbLw-.js +0 -1
- package/dist/index-_2lRVt_k.mjs +0 -2942
- package/dist/index-cOnxXTbF.mjs +0 -24
- package/dist/index-dOdMm1pV.mjs +0 -1105
- package/dist/index-hlylYYgy.mjs +0 -24
- package/dist/index-ijdf0d9-.js +0 -1
- package/dist/index-p5Uqu8c2.mjs +0 -1438
- package/dist/interpolation-DEDSLETn.mjs +0 -128
- package/dist/interpolation-DERg6Lwt.js +0 -1
- package/dist/orders-CzzcFQha.mjs +0 -559
- package/dist/orders-ETtbA4aQ.js +0 -1
- package/dist/payment-C3ohkehF.mjs +0 -1080
- package/dist/payment-Dfr-Ro-a.js +0 -1
- package/dist/regular-1LXNPviB.js +0 -1
- package/dist/regular-_05oq5Tx.mjs +0 -1101
- package/dist/resources-CxeFd57z.js +0 -1
- package/dist/resources-WI_4SO6T.mjs +0 -811
- package/dist/src/appointments/chat-components/AgendaOpeningHoursCard.vue.d.ts +0 -15
- package/dist/src/appointments/chat-components/AppointmentDetailsCard.vue.d.ts +0 -14
- package/dist/src/appointments/chat-components/AppointmentEditor.vue.d.ts +0 -14
- package/dist/src/appointments/chat-components/AppointmentListTable.vue.d.ts +0 -14
- package/dist/src/appointments/components/create/StepNavigation.vue.d.ts +0 -32
- package/dist/src/appointments/components/create/regular/Step1.vue.d.ts +0 -2
- package/dist/src/appointments/components/create/regular/Step2.vue.d.ts +0 -2
- package/dist/src/appointments/components/create/regular/Step3.vue.d.ts +0 -2
- package/dist/src/appointments/components/create/regular/Step4.vue.d.ts +0 -2
- package/dist/src/appointments/components/edit/CustomerInformationFieldEditorDialog.vue.d.ts +0 -24
- package/dist/src/appointments/components/edit/EditLayout.vue.d.ts +0 -17
- package/dist/src/appointments/components/edit/Event24hSidebar.vue.d.ts +0 -2
- package/dist/src/appointments/components/edit/EventDialog/ApproveReservationDialog.vue.d.ts +0 -8
- package/dist/src/appointments/components/edit/EventDialog/BookingsList.vue.d.ts +0 -127
- package/dist/src/appointments/components/edit/EventDialog/CancelReservationDialog.vue.d.ts +0 -8
- package/dist/src/appointments/components/edit/EventDialog/EventDialog.vue.d.ts +0 -11
- package/dist/src/appointments/components/edit/EventDialog/RejectReservationDialog.vue.d.ts +0 -8
- package/dist/src/appointments/components/edit/EventDialog/ReservationDetailDialog.vue.d.ts +0 -82
- package/dist/src/appointments/components/edit/EventDialog/TimelineChart.vue.d.ts +0 -24
- package/dist/src/appointments/components/edit/EventDialog/TransferReservationDialog.vue.d.ts +0 -4
- package/dist/src/appointments/components/edit/EventTimeIndicator.vue.d.ts +0 -12
- package/dist/src/appointments/components/edit/EventTimeline.vue.d.ts +0 -48
- package/dist/src/appointments/components/edit/EventView.vue.d.ts +0 -9
- package/dist/src/appointments/components/edit/ExceptionDialog.vue.d.ts +0 -29
- package/dist/src/appointments/components/edit/MetadataSchemaEditorDialog.vue.d.ts +0 -12
- package/dist/src/appointments/components/edit/NewReservationDialog/NewReservationDialog.vue.d.ts +0 -2
- package/dist/src/appointments/components/edit/OrderMetadataDisplay.vue.d.ts +0 -21
- package/dist/src/appointments/components/edit/PaymentAddons/Addon.vue.d.ts +0 -22
- package/dist/src/appointments/components/edit/PaymentAddons/AddonList.vue.d.ts +0 -5
- package/dist/src/appointments/components/edit/PaymentAddons/index.vue.d.ts +0 -15
- package/dist/src/appointments/components/edit/ResourceEditorDialog.vue.d.ts +0 -13
- package/dist/src/appointments/components/edit/dashboard/BookingsList.vue.d.ts +0 -110
- package/dist/src/appointments/components/edit/dashboard/Timeline.vue.d.ts +0 -34
- package/dist/src/appointments/components/edit/dashboard/timeline/ResourceSelector.vue.d.ts +0 -50
- package/dist/src/appointments/index.vue.d.ts +0 -22
- package/dist/src/appointments/pages/Overview.vue.d.ts +0 -4
- package/dist/src/appointments/pages/create/index.vue.d.ts +0 -2
- package/dist/src/appointments/pages/create/regular.vue.d.ts +0 -6
- package/dist/src/appointments/pages/edit/agenda.vue.d.ts +0 -4
- package/dist/src/appointments/pages/edit/availability.vue.d.ts +0 -2
- package/dist/src/appointments/pages/edit/booking-data.vue.d.ts +0 -65
- package/dist/src/appointments/pages/edit/index.vue.d.ts +0 -2
- package/dist/src/appointments/pages/edit/orders.vue.d.ts +0 -98
- package/dist/src/appointments/pages/edit/payment.vue.d.ts +0 -2
- package/dist/src/appointments/pages/edit/resources.vue.d.ts +0 -28
- package/dist/src/contentManager/components/components/ComponentDialog.vue.d.ts +0 -12
- package/dist/src/contentManager/components/components/ComponentGridItem.vue.d.ts +0 -16
- package/dist/src/contentManager/components/content-editor/ApiDocs.vue.d.ts +0 -2
- package/dist/src/contentManager/components/content-editor/ContentLayout.vue.d.ts +0 -49
- package/dist/src/contentManager/components/content-editor/ContentSettings.vue.d.ts +0 -24
- package/dist/src/contentManager/components/content-editor/ContentStructuredContentSections.vue.d.ts +0 -4
- package/dist/src/contentManager/components/content-editor/Header.vue.d.ts +0 -64
- package/dist/src/contentManager/components/content-editor/LivePreviewWrapper.vue.d.ts +0 -53
- package/dist/src/contentManager/components/content-editor/Locales.vue.d.ts +0 -44
- package/dist/src/contentManager/components/content-editor/NewSectionDialog.vue.d.ts +0 -21
- package/dist/src/contentManager/components/content-editor/PageSettings.vue.d.ts +0 -2
- package/dist/src/contentManager/components/content-editor/SEO.vue.d.ts +0 -14
- package/dist/src/contentManager/components/content-editor/SidebarSectionWrapper.vue.d.ts +0 -39
- package/dist/src/contentManager/components/content-editor/Status.vue.d.ts +0 -2
- package/dist/src/contentManager/components/content-editor/Versions.vue.d.ts +0 -63
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Button.vue.d.ts +0 -94
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Card.vue.d.ts +0 -92
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Column.vue.d.ts +0 -92
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Container.vue.d.ts +0 -92
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Divider.vue.d.ts +0 -92
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/EmptySpace.vue.d.ts +0 -94
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Heading.vue.d.ts +0 -92
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Image.vue.d.ts +0 -92
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Map.vue.d.ts +0 -92
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Paragraph.vue.d.ts +0 -92
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Row.vue.d.ts +0 -115
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Stack.vue.d.ts +0 -115
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Video.vue.d.ts +0 -92
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/extension-details/DetailsNodeView.vue.d.ts +0 -92
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/helpers/NodeLabel.vue.d.ts +0 -108
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/helpers/ResizeHandlers.vue.d.ts +0 -20
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/helpers/TopMarginDragger.vue.d.ts +0 -104
- package/dist/src/contentManager/components/content-editor/tiptap-menus/BubbleMenuClassBuilder.vue.d.ts +0 -19
- package/dist/src/contentManager/components/content-editor/tiptap-menus/BubbleMenuLinkBuilder.vue.d.ts +0 -19
- package/dist/src/contentManager/components/content-editor/tiptap-menus/BubbleMenuToggleButton.vue.d.ts +0 -29
- package/dist/src/contentManager/components/content-editor/tiptap-menus/DefaultBubbleMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/ElementEditorMenu.vue.d.ts +0 -19
- package/dist/src/contentManager/components/content-editor/tiptap-menus/EmojiMenu.vue.d.ts +0 -8
- package/dist/src/contentManager/components/content-editor/tiptap-menus/NewNodeView.vue.d.ts +0 -47
- package/dist/src/contentManager/components/content-editor/tiptap-menus/SlashMenu.vue.d.ts +0 -6
- package/dist/src/contentManager/components/content-editor/tiptap-menus/SlashMenuButton.vue.d.ts +0 -17
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/ButtonMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/CardMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/ColumnMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/DividerMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/EmptySpaceMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/HeadingMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/ImageMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/MapMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/RowMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/StackMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/TextMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/VideoMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/overview/CollectionDialog.vue.d.ts +0 -30
- package/dist/src/contentManager/components/overview/CollectionsGridView.vue.d.ts +0 -18
- package/dist/src/contentManager/components/overview/ContentEntryContextMenu.vue.d.ts +0 -27
- package/dist/src/contentManager/components/overview/FilterPopover.vue.d.ts +0 -2
- package/dist/src/contentManager/components/overview/ListView.vue.d.ts +0 -12
- package/dist/src/contentManager/components/styling/ButtonStyleDialog.vue.d.ts +0 -24
- package/dist/src/contentManager/components/styling/CardStyleDialog.vue.d.ts +0 -24
- package/dist/src/contentManager/components/styling/SectionStyleDialog.vue.d.ts +0 -24
- package/dist/src/contentManager/index.vue.d.ts +0 -22
- package/dist/src/contentManager/pages/Components.vue.d.ts +0 -27
- package/dist/src/contentManager/pages/ContentEditor.vue.d.ts +0 -14
- package/dist/src/contentManager/pages/Entries.vue.d.ts +0 -16
- package/dist/src/contentManager/pages/GlobalStyling.vue.d.ts +0 -117
- package/dist/src/contentManager/pages/Overview.vue.d.ts +0 -57
- package/dist/src/custom/index.vue.d.ts +0 -2
- package/dist/src/custom/pages/View.vue.d.ts +0 -2
- package/dist/src/googleAnalytics/chat-components/CountryBreakdownCard.vue.d.ts +0 -14
- package/dist/src/googleAnalytics/chat-components/DeviceBreakdownCard.vue.d.ts +0 -14
- package/dist/src/googleAnalytics/chat-components/PeakHoursCard.vue.d.ts +0 -14
- package/dist/src/googleAnalytics/chat-components/RealtimeCard.vue.d.ts +0 -14
- package/dist/src/googleAnalytics/chat-components/SearchTermsCard.vue.d.ts +0 -14
- package/dist/src/googleAnalytics/chat-components/TopPagesCard.vue.d.ts +0 -14
- package/dist/src/googleAnalytics/chat-components/TrafficSourcesCard.vue.d.ts +0 -14
- package/dist/src/googleAnalytics/chat-components/VisitorStatsCard.vue.d.ts +0 -14
- package/dist/src/googleAnalytics/components/seo-health/SeoClicksChart.vue.d.ts +0 -5
- package/dist/src/googleAnalytics/components/seo-health/SeoImpressionsChart.vue.d.ts +0 -5
- package/dist/src/googleAnalytics/components/seo-health/SeoKeywordsTab.vue.d.ts +0 -5
- package/dist/src/googleAnalytics/components/seo-health/SeoKpiCards.vue.d.ts +0 -10
- package/dist/src/googleAnalytics/components/seo-health/SeoMappingTab.vue.d.ts +0 -5
- package/dist/src/googleAnalytics/components/seo-health/SeoPagesTab.vue.d.ts +0 -5
- package/dist/src/googleAnalytics/components/seo-health/SeoRankingDistribution.vue.d.ts +0 -5
- package/dist/src/googleAnalytics/index.vue.d.ts +0 -2
- package/dist/src/googleAnalytics/pages/Acquisition.vue.d.ts +0 -2
- package/dist/src/googleAnalytics/pages/Audience.vue.d.ts +0 -2
- package/dist/src/googleAnalytics/pages/Content.vue.d.ts +0 -2
- package/dist/src/googleAnalytics/pages/Overview.vue.d.ts +0 -2
- package/dist/src/googleAnalytics/pages/SeoHealth.vue.d.ts +0 -2
- package/dist/src/mailTemplates/components/TemplateList.vue.d.ts +0 -2
- package/dist/src/mailTemplates/index.vue.d.ts +0 -22
- package/dist/src/mailTemplates/pages/Detail.vue.d.ts +0 -14
- package/dist/src/mailTemplates/pages/Overview.vue.d.ts +0 -14
- package/dist/src/productCollections/components/detail/Main.vue.d.ts +0 -2
- package/dist/src/productCollections/components/detail/SEO.vue.d.ts +0 -2
- package/dist/src/productCollections/components/detail/Status.vue.d.ts +0 -2
- package/dist/src/productCollections/components/overview/ListView.vue.d.ts +0 -12
- package/dist/src/productCollections/index.vue.d.ts +0 -22
- package/dist/src/productCollections/pages/Detail.vue.d.ts +0 -14
- package/dist/src/productCollections/pages/Overview.vue.d.ts +0 -16
- package/dist/src/products/chat-components/ProductDetailsCard.vue.d.ts +0 -14
- package/dist/src/products/components/detail/Collections.vue.d.ts +0 -14
- package/dist/src/products/components/detail/Inventory.vue.d.ts +0 -2
- package/dist/src/products/components/detail/Main.vue.d.ts +0 -2
- package/dist/src/products/components/detail/NewSection.vue.d.ts +0 -2
- package/dist/src/products/components/detail/Price.vue.d.ts +0 -2
- package/dist/src/products/components/detail/SEO.vue.d.ts +0 -2
- package/dist/src/products/components/detail/Shipping.vue.d.ts +0 -2
- package/dist/src/products/components/detail/Status.vue.d.ts +0 -2
- package/dist/src/products/components/detail/price/UnitPriceDialog.vue.d.ts +0 -17
- package/dist/src/products/components/detail/variants/Option.vue.d.ts +0 -33
- package/dist/src/products/components/detail/variants/VariantList.vue.d.ts +0 -38
- package/dist/src/products/components/overview/FilterPopover.vue.d.ts +0 -2
- package/dist/src/products/components/overview/GridView.vue.d.ts +0 -12
- package/dist/src/products/components/overview/ListView.vue.d.ts +0 -12
- package/dist/src/products/components/overview/ProductContextMenu.vue.d.ts +0 -27
- package/dist/src/products/index.vue.d.ts +0 -22
- package/dist/src/products/pages/Detail.vue.d.ts +0 -14
- package/dist/src/products/pages/Overview.vue.d.ts +0 -16
- package/dist/src/promoCodes/components/create/DateRange.vue.d.ts +0 -2
- package/dist/src/promoCodes/components/create/MultiCodes.vue.d.ts +0 -2
- package/dist/src/promoCodes/components/create/Note.vue.d.ts +0 -2
- package/dist/src/promoCodes/components/create/SingleCode.vue.d.ts +0 -2
- package/dist/src/promoCodes/components/create/TypeAndValue/TypeDetailDialog.vue.d.ts +0 -6
- package/dist/src/promoCodes/components/create/TypeAndValue/TypeManageDialog.vue.d.ts +0 -18
- package/dist/src/promoCodes/components/create/TypeAndValue/index.vue.d.ts +0 -2
- package/dist/src/promoCodes/index.vue.d.ts +0 -22
- package/dist/src/promoCodes/pages/Create.vue.d.ts +0 -16
- package/dist/src/promoCodes/pages/Detail.vue.d.ts +0 -14
- package/dist/src/promoCodes/pages/Find.vue.d.ts +0 -16
- package/dist/src/push-notifications/components/PreviewAndroid.vue.d.ts +0 -28
- package/dist/src/push-notifications/components/PreviewIPhone.vue.d.ts +0 -28
- package/dist/src/push-notifications/components/PushPreview.vue.d.ts +0 -28
- package/dist/src/push-notifications/index.vue.d.ts +0 -22
- package/dist/src/push-notifications/pages/SendPush.vue.d.ts +0 -14
- package/dist/src/shared/BrandLogo.vue.d.ts +0 -12
- package/dist/src/shared/DrawerToggle.vue.d.ts +0 -60
- package/dist/src/shared/VerticalToggle.vue.d.ts +0 -60
- package/dist/src/shippingOptions/components/detail/Condition.vue.d.ts +0 -2
- package/dist/src/shippingOptions/components/detail/Countries.vue.d.ts +0 -2
- package/dist/src/shippingOptions/components/detail/Example.vue.d.ts +0 -2
- package/dist/src/shippingOptions/components/detail/Main.vue.d.ts +0 -2
- package/dist/src/shippingOptions/components/overview/ListView.vue.d.ts +0 -12
- package/dist/src/shippingOptions/index.vue.d.ts +0 -22
- package/dist/src/shippingOptions/pages/Detail.vue.d.ts +0 -14
- package/dist/src/shippingOptions/pages/Overview.vue.d.ts +0 -16
- package/dist/src/table/components/DataTable.vue.d.ts +0 -18
- package/dist/src/table/components/DataTableAction.vue.d.ts +0 -14
- package/dist/src/table/components/DataTableMobileRowActionDrawer.vue.d.ts +0 -4
- package/dist/src/table/components/DataTablePagination.vue.d.ts +0 -6
- package/dist/src/table/components/actions/ActionDialog.vue.d.ts +0 -19
- package/dist/src/table/components/actions/CtaActionDialog.vue.d.ts +0 -4
- package/dist/src/table/components/columns/ColumnDropdown.vue.d.ts +0 -2
- package/dist/src/table/components/columns/ColumnEditorDialog.vue.d.ts +0 -34
- package/dist/src/table/components/columns/DialogTableColumnItem.vue.d.ts +0 -12
- package/dist/src/table/components/date-range-filter/DateRangeFilter.vue.d.ts +0 -2
- package/dist/src/table/components/date-range-filter/DateRangeSettingsDialog.vue.d.ts +0 -27
- package/dist/src/table/components/filters/FilterDialog.vue.d.ts +0 -12
- package/dist/src/table/components/filters/Filters.vue.d.ts +0 -27
- package/dist/src/table/components/search/Search.vue.d.ts +0 -2
- package/dist/src/table/components/sort/SortMode.vue.d.ts +0 -2
- package/dist/src/table/components/sort/SortModeSettingsDialog.vue.d.ts +0 -18
- package/dist/src/table/components/stats/StatDialog.vue.d.ts +0 -12
- package/dist/src/table/components/stats/Stats.vue.d.ts +0 -27
- package/dist/src/table/flow-builder-extensions/TableRowEditor.vue.d.ts +0 -16
- package/dist/src/table/index.vue.d.ts +0 -22
- package/dist/src/table/pages/TableView.vue.d.ts +0 -54
- package/dist/utils-CanmrIWO.mjs +0 -47
- package/dist/utils-Yd6F5mea.js +0 -3
- package/dist/vee-validate-zod-ByykgYKJ.js +0 -1
- package/dist/vee-validate-zod-CcOwoF6y.mjs +0 -4402
|
@@ -0,0 +1,459 @@
|
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./xy-container-CuQSwrtB.mjs";
|
|
2
|
+
import { n as i, t as a } from "./line-tYLnEDGV.mjs";
|
|
3
|
+
import { useModule as o, useModuleBreadcrumbs as s, useModuleRoute as c } from "@oneclick.dev/cms-kit";
|
|
4
|
+
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as g, defineComponent as _, normalizeClass as v, normalizeStyle as y, onMounted as b, openBlock as x, ref as S, renderList as C, resolveComponent as w, toDisplayString as T, unref as E, watch as ee, withCtx as D } from "vue";
|
|
5
|
+
import { AlertTriangle as O, ArrowUpRight as te, Eye as k, FileText as A, Hash as j, Loader2 as M, MousePointerClick as N, RefreshCw as P, Search as F, TrendingUp as I } from "@lucide/vue";
|
|
6
|
+
import { ChartTooltipContent as L, componentToString as R } from "@oneclick.dev/cms-kit/charts";
|
|
7
|
+
//#region src/googleAnalytics/components/seo-health/utils.ts
|
|
8
|
+
function z(e) {
|
|
9
|
+
return e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).toFixed(1)}K` : Math.round(e).toString();
|
|
10
|
+
}
|
|
11
|
+
function B(e) {
|
|
12
|
+
return `${(e * 100).toFixed(1)}%`;
|
|
13
|
+
}
|
|
14
|
+
function V(e) {
|
|
15
|
+
return e.toFixed(1);
|
|
16
|
+
}
|
|
17
|
+
function H(e) {
|
|
18
|
+
return e <= 3 ? "text-emerald-600 dark:text-emerald-400" : e <= 10 ? "text-blue-600 dark:text-blue-400" : e <= 20 ? "text-amber-600 dark:text-amber-400" : "text-red-600 dark:text-red-400";
|
|
19
|
+
}
|
|
20
|
+
function U(e) {
|
|
21
|
+
return e <= 3 ? "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400" : e <= 10 ? "bg-blue-500/10 text-blue-600 dark:text-blue-400" : e <= 20 ? "bg-amber-500/10 text-amber-600 dark:text-amber-400" : "bg-red-500/10 text-red-600 dark:text-red-400";
|
|
22
|
+
}
|
|
23
|
+
function W(e) {
|
|
24
|
+
try {
|
|
25
|
+
return new URL(e).pathname;
|
|
26
|
+
} catch {
|
|
27
|
+
return e;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/googleAnalytics/components/seo-health/SeoKpiCards.vue?vue&type=script&setup=true&lang.ts
|
|
32
|
+
var G = { class: "grid grid-cols-2 @3xl:grid-cols-4 gap-4" }, K = { class: "flex items-center flex-wrap gap-2 text-xs text-muted-foreground" }, q = { class: "text-2xl font-bold tabular-nums" }, J = { class: "flex items-center flex-wrap gap-2 text-xs text-muted-foreground" }, Y = { class: "text-2xl font-bold tabular-nums" }, X = { class: "flex items-center flex-wrap gap-2 text-xs text-muted-foreground" }, Z = { class: "text-2xl font-bold tabular-nums" }, Q = { class: "flex items-center flex-wrap gap-2 text-xs text-muted-foreground" }, ne = /* @__PURE__ */ _({
|
|
33
|
+
__name: "SeoKpiCards",
|
|
34
|
+
props: { totals: {} },
|
|
35
|
+
setup(e) {
|
|
36
|
+
return (t, n) => {
|
|
37
|
+
let r = w("Card");
|
|
38
|
+
return x(), p("div", G, [
|
|
39
|
+
g(r, { class: "p-4 space-y-1" }, {
|
|
40
|
+
default: D(() => [m("div", K, [g(E(N), { class: "size-3.5 shrink-0" }), n[0] ||= h(" Total Clicks ", -1)]), m("p", q, T(E(z)(e.totals.clicks)), 1)]),
|
|
41
|
+
_: 1
|
|
42
|
+
}),
|
|
43
|
+
g(r, { class: "p-4 space-y-1" }, {
|
|
44
|
+
default: D(() => [m("div", J, [g(E(k), { class: "size-3.5 shrink-0" }), n[1] ||= h(" Total Impressions ", -1)]), m("p", Y, T(E(z)(e.totals.impressions)), 1)]),
|
|
45
|
+
_: 1
|
|
46
|
+
}),
|
|
47
|
+
g(r, { class: "p-4 space-y-1" }, {
|
|
48
|
+
default: D(() => [m("div", X, [g(E(I), { class: "size-3.5 shrink-0" }), n[2] ||= h(" Average CTR ", -1)]), m("p", Z, T(E(B)(e.totals.ctr)), 1)]),
|
|
49
|
+
_: 1
|
|
50
|
+
}),
|
|
51
|
+
g(r, { class: "p-4 space-y-1" }, {
|
|
52
|
+
default: D(() => [m("div", Q, [g(E(j), { class: "size-3.5 shrink-0" }), n[3] ||= h(" Avg Position ", -1)]), m("p", { class: v(["text-2xl font-bold tabular-nums", E(H)(e.totals.avgPosition)]) }, T(E(V)(e.totals.avgPosition)), 3)]),
|
|
53
|
+
_: 1
|
|
54
|
+
})
|
|
55
|
+
]);
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
}), re = { class: "flex items-center gap-4" }, ie = { class: "flex items-center gap-2" }, ae = { class: "text-xs" }, oe = { class: "flex items-center gap-2" }, se = { class: "text-xs" }, ce = { class: "flex items-center gap-2" }, le = { class: "text-xs" }, ue = { class: "flex items-center gap-2" }, de = { class: "text-xs" }, fe = {
|
|
59
|
+
key: 0,
|
|
60
|
+
class: "flex h-3 rounded-full overflow-hidden mt-3"
|
|
61
|
+
}, pe = /* @__PURE__ */ _({
|
|
62
|
+
__name: "SeoRankingDistribution",
|
|
63
|
+
props: { keywords: {} },
|
|
64
|
+
setup(e) {
|
|
65
|
+
let t = e, n = u(() => t.keywords.filter((e) => e.position <= 3).length), r = u(() => t.keywords.filter((e) => e.position <= 10).length), i = u(() => t.keywords.filter((e) => e.position <= 20).length);
|
|
66
|
+
return (t, a) => {
|
|
67
|
+
let o = w("Card");
|
|
68
|
+
return x(), d(o, { class: "p-4" }, {
|
|
69
|
+
default: D(() => [
|
|
70
|
+
a[8] ||= m("h3", { class: "text-sm font-medium mb-3" }, "Keyword Ranking Distribution", -1),
|
|
71
|
+
m("div", re, [
|
|
72
|
+
m("div", ie, [a[1] ||= m("span", { class: "inline-block w-3 h-3 rounded-full bg-emerald-500" }, null, -1), m("span", ae, [a[0] ||= h("Top 3: ", -1), m("strong", null, T(n.value), 1)])]),
|
|
73
|
+
m("div", oe, [a[3] ||= m("span", { class: "inline-block w-3 h-3 rounded-full bg-blue-500" }, null, -1), m("span", se, [a[2] ||= h("Top 10: ", -1), m("strong", null, T(r.value), 1)])]),
|
|
74
|
+
m("div", ce, [a[5] ||= m("span", { class: "inline-block w-3 h-3 rounded-full bg-amber-500" }, null, -1), m("span", le, [a[4] ||= h("Top 20: ", -1), m("strong", null, T(i.value), 1)])]),
|
|
75
|
+
m("div", ue, [a[7] ||= m("span", { class: "inline-block w-3 h-3 rounded-full bg-red-500" }, null, -1), m("span", de, [a[6] ||= h("20+: ", -1), m("strong", null, T(e.keywords.length - i.value), 1)])])
|
|
76
|
+
]),
|
|
77
|
+
e.keywords.length > 0 ? (x(), p("div", fe, [
|
|
78
|
+
m("div", {
|
|
79
|
+
class: "bg-emerald-500 transition-all",
|
|
80
|
+
style: y({ width: `${n.value / e.keywords.length * 100}%` })
|
|
81
|
+
}, null, 4),
|
|
82
|
+
m("div", {
|
|
83
|
+
class: "bg-blue-500 transition-all",
|
|
84
|
+
style: y({ width: `${(r.value - n.value) / e.keywords.length * 100}%` })
|
|
85
|
+
}, null, 4),
|
|
86
|
+
m("div", {
|
|
87
|
+
class: "bg-amber-500 transition-all",
|
|
88
|
+
style: y({ width: `${(i.value - r.value) / e.keywords.length * 100}%` })
|
|
89
|
+
}, null, 4),
|
|
90
|
+
m("div", {
|
|
91
|
+
class: "bg-red-500 transition-all",
|
|
92
|
+
style: y({ width: `${(e.keywords.length - i.value) / e.keywords.length * 100}%` })
|
|
93
|
+
}, null, 4)
|
|
94
|
+
])) : f("", !0)
|
|
95
|
+
]),
|
|
96
|
+
_: 1
|
|
97
|
+
});
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
}), me = {
|
|
101
|
+
key: 0,
|
|
102
|
+
class: "h-48"
|
|
103
|
+
}, he = {
|
|
104
|
+
key: 1,
|
|
105
|
+
class: "text-xs text-muted-foreground text-center py-10"
|
|
106
|
+
}, ge = /* @__PURE__ */ _({
|
|
107
|
+
__name: "SeoClicksChart",
|
|
108
|
+
props: { trends: {} },
|
|
109
|
+
setup(o) {
|
|
110
|
+
let s = o, c = (e, t) => t, l = (e) => e.clicks || 0, u = (e) => {
|
|
111
|
+
let t = s.trends[Math.round(e)];
|
|
112
|
+
if (!t) return "";
|
|
113
|
+
let n = new Date(t.date);
|
|
114
|
+
return `${n.getDate()}/${n.getMonth() + 1}`;
|
|
115
|
+
}, f = (e) => {
|
|
116
|
+
let t = s.trends[Math.round(Number(e))];
|
|
117
|
+
return t ? new Date(t.date).toLocaleDateString(void 0, {
|
|
118
|
+
weekday: "short",
|
|
119
|
+
month: "short",
|
|
120
|
+
day: "numeric"
|
|
121
|
+
}) : "";
|
|
122
|
+
};
|
|
123
|
+
return (s, h) => {
|
|
124
|
+
let _ = w("Card");
|
|
125
|
+
return x(), d(_, { class: "p-4" }, {
|
|
126
|
+
default: D(() => [h[0] ||= m("h3", { class: "text-sm font-medium mb-3" }, "Clicks Over Time", -1), o.trends.length > 1 ? (x(), p("div", me, [g(E(r), {
|
|
127
|
+
data: o.trends,
|
|
128
|
+
height: 180
|
|
129
|
+
}, {
|
|
130
|
+
default: D(() => [
|
|
131
|
+
g(E(i), {
|
|
132
|
+
x: c,
|
|
133
|
+
y: l,
|
|
134
|
+
color: "#3b82f6",
|
|
135
|
+
opacity: .1,
|
|
136
|
+
curveType: "monotoneX"
|
|
137
|
+
}),
|
|
138
|
+
g(E(a), {
|
|
139
|
+
x: c,
|
|
140
|
+
y: l,
|
|
141
|
+
color: "#3b82f6",
|
|
142
|
+
curveType: "monotoneX"
|
|
143
|
+
}),
|
|
144
|
+
g(E(e), {
|
|
145
|
+
type: "x",
|
|
146
|
+
tickFormat: u,
|
|
147
|
+
numTicks: 5,
|
|
148
|
+
gridLine: !1
|
|
149
|
+
}),
|
|
150
|
+
g(E(e), {
|
|
151
|
+
type: "y",
|
|
152
|
+
gridLine: !0,
|
|
153
|
+
numTicks: 4
|
|
154
|
+
}),
|
|
155
|
+
g(E(n), { template: (e) => E(R)(E(L), {
|
|
156
|
+
namePayload: [{
|
|
157
|
+
name: "Clicks",
|
|
158
|
+
value: e.clicks,
|
|
159
|
+
color: "#3b82f6"
|
|
160
|
+
}],
|
|
161
|
+
labelFormatter: f
|
|
162
|
+
}) }, null, 8, ["template"]),
|
|
163
|
+
g(E(t))
|
|
164
|
+
]),
|
|
165
|
+
_: 1
|
|
166
|
+
}, 8, ["data"])])) : (x(), p("p", he, "Not enough data for chart"))]),
|
|
167
|
+
_: 1
|
|
168
|
+
});
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
}), _e = {
|
|
172
|
+
key: 0,
|
|
173
|
+
class: "h-48"
|
|
174
|
+
}, ve = {
|
|
175
|
+
key: 1,
|
|
176
|
+
class: "text-xs text-muted-foreground text-center py-10"
|
|
177
|
+
}, ye = /* @__PURE__ */ _({
|
|
178
|
+
__name: "SeoImpressionsChart",
|
|
179
|
+
props: { trends: {} },
|
|
180
|
+
setup(o) {
|
|
181
|
+
let s = o, c = (e, t) => t, l = (e) => e.impressions || 0, u = (e) => {
|
|
182
|
+
let t = s.trends[Math.round(e)];
|
|
183
|
+
if (!t) return "";
|
|
184
|
+
let n = new Date(t.date);
|
|
185
|
+
return `${n.getDate()}/${n.getMonth() + 1}`;
|
|
186
|
+
}, f = (e) => {
|
|
187
|
+
let t = s.trends[Math.round(Number(e))];
|
|
188
|
+
return t ? new Date(t.date).toLocaleDateString(void 0, {
|
|
189
|
+
weekday: "short",
|
|
190
|
+
month: "short",
|
|
191
|
+
day: "numeric"
|
|
192
|
+
}) : "";
|
|
193
|
+
};
|
|
194
|
+
return (s, h) => {
|
|
195
|
+
let _ = w("Card");
|
|
196
|
+
return x(), d(_, { class: "p-4" }, {
|
|
197
|
+
default: D(() => [h[0] ||= m("h3", { class: "text-sm font-medium mb-3" }, "Impressions Over Time", -1), o.trends.length > 1 ? (x(), p("div", _e, [g(E(r), {
|
|
198
|
+
data: o.trends,
|
|
199
|
+
height: 180
|
|
200
|
+
}, {
|
|
201
|
+
default: D(() => [
|
|
202
|
+
g(E(i), {
|
|
203
|
+
x: c,
|
|
204
|
+
y: l,
|
|
205
|
+
color: "#8b5cf6",
|
|
206
|
+
opacity: .1,
|
|
207
|
+
curveType: "monotoneX"
|
|
208
|
+
}),
|
|
209
|
+
g(E(a), {
|
|
210
|
+
x: c,
|
|
211
|
+
y: l,
|
|
212
|
+
color: "#8b5cf6",
|
|
213
|
+
curveType: "monotoneX"
|
|
214
|
+
}),
|
|
215
|
+
g(E(e), {
|
|
216
|
+
type: "x",
|
|
217
|
+
tickFormat: u,
|
|
218
|
+
numTicks: 5,
|
|
219
|
+
gridLine: !1
|
|
220
|
+
}),
|
|
221
|
+
g(E(e), {
|
|
222
|
+
type: "y",
|
|
223
|
+
gridLine: !0,
|
|
224
|
+
numTicks: 4
|
|
225
|
+
}),
|
|
226
|
+
g(E(n), { template: (e) => E(R)(E(L), {
|
|
227
|
+
namePayload: [{
|
|
228
|
+
name: "Impressions",
|
|
229
|
+
value: e.impressions,
|
|
230
|
+
color: "#8b5cf6"
|
|
231
|
+
}],
|
|
232
|
+
labelFormatter: f
|
|
233
|
+
}) }, null, 8, ["template"]),
|
|
234
|
+
g(E(t))
|
|
235
|
+
]),
|
|
236
|
+
_: 1
|
|
237
|
+
}, 8, ["data"])])) : (x(), p("p", ve, "Not enough data for chart"))]),
|
|
238
|
+
_: 1
|
|
239
|
+
});
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
}), be = { class: "divide-y" }, xe = {
|
|
243
|
+
key: 0,
|
|
244
|
+
class: "p-8 text-center text-sm text-muted-foreground"
|
|
245
|
+
}, Se = { class: "flex items-start @sm:items-center gap-3" }, Ce = { class: "text-xs font-medium text-muted-foreground w-6 text-right shrink-0 mt-0.5 @sm:mt-0" }, we = { class: "flex-1 min-w-0" }, Te = { class: "flex flex-col @sm:flex-row @sm:items-center gap-2 @sm:gap-3" }, Ee = { class: "flex-1 min-w-0" }, De = { class: "text-sm font-medium truncate" }, Oe = { class: "h-1.5 rounded-full bg-muted overflow-hidden mt-1.5 max-w-xs" }, ke = { class: "flex items-center gap-3 @sm:gap-4 text-xs text-muted-foreground @sm:shrink-0 flex-wrap" }, Ae = { class: "flex items-center gap-1" }, je = { class: "flex items-center gap-1" }, Me = /* @__PURE__ */ _({
|
|
246
|
+
__name: "SeoKeywordsTab",
|
|
247
|
+
props: { keywords: {} },
|
|
248
|
+
setup(e) {
|
|
249
|
+
let t = e, n = u(() => Math.max(...t.keywords.map((e) => e.clicks), 1));
|
|
250
|
+
return (t, r) => (x(), p("div", be, [e.keywords.length === 0 ? (x(), p("div", xe, " No keyword data found for this period. ")) : f("", !0), (x(!0), p(l, null, C(e.keywords, (e, t) => (x(), p("div", {
|
|
251
|
+
key: t,
|
|
252
|
+
class: "px-4 py-3 hover:bg-muted/30 transition-colors"
|
|
253
|
+
}, [m("div", Se, [m("span", Ce, T(t + 1) + ".", 1), m("div", we, [m("div", Te, [m("div", Ee, [m("p", De, T(e.query), 1), m("div", Oe, [m("div", {
|
|
254
|
+
class: "h-full rounded-full bg-blue-500/70",
|
|
255
|
+
style: y({ width: `${e.clicks / n.value * 100}%` })
|
|
256
|
+
}, null, 4)])]), m("div", ke, [
|
|
257
|
+
m("span", Ae, [g(E(N), { class: "size-3" }), h(" " + T(E(z)(e.clicks)), 1)]),
|
|
258
|
+
m("span", je, [g(E(k), { class: "size-3" }), h(" " + T(E(z)(e.impressions)), 1)]),
|
|
259
|
+
m("span", null, T(E(B)(e.ctr)), 1),
|
|
260
|
+
m("span", { class: v(["inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium", E(U)(e.position)]) }, " #" + T(E(V)(e.position)), 3)
|
|
261
|
+
])])])])]))), 128))]));
|
|
262
|
+
}
|
|
263
|
+
}), Ne = { class: "divide-y" }, Pe = {
|
|
264
|
+
key: 0,
|
|
265
|
+
class: "p-8 text-center text-sm text-muted-foreground"
|
|
266
|
+
}, Fe = { class: "flex items-start @sm:items-center gap-3" }, Ie = { class: "text-xs font-medium text-muted-foreground w-6 text-right shrink-0 mt-0.5 @sm:mt-0" }, Le = { class: "flex-1 min-w-0" }, Re = { class: "flex flex-col @sm:flex-row @sm:items-center gap-2 @sm:gap-3" }, ze = { class: "flex-1 min-w-0" }, Be = ["title"], Ve = { class: "h-1.5 rounded-full bg-muted overflow-hidden mt-1.5 max-w-xs" }, He = { class: "flex items-center gap-3 @sm:gap-4 text-xs text-muted-foreground @sm:shrink-0 flex-wrap" }, Ue = { class: "flex items-center gap-1" }, We = { class: "flex items-center gap-1" }, Ge = /* @__PURE__ */ _({
|
|
267
|
+
__name: "SeoPagesTab",
|
|
268
|
+
props: { pages: {} },
|
|
269
|
+
setup(e) {
|
|
270
|
+
let t = e, n = u(() => Math.max(...t.pages.map((e) => e.clicks), 1));
|
|
271
|
+
return (t, r) => (x(), p("div", Ne, [e.pages.length === 0 ? (x(), p("div", Pe, " No page data found for this period. ")) : f("", !0), (x(!0), p(l, null, C(e.pages, (e, t) => (x(), p("div", {
|
|
272
|
+
key: t,
|
|
273
|
+
class: "px-4 py-3 hover:bg-muted/30 transition-colors"
|
|
274
|
+
}, [m("div", Fe, [m("span", Ie, T(t + 1) + ".", 1), m("div", Le, [m("div", Re, [m("div", ze, [m("p", {
|
|
275
|
+
class: "text-sm font-medium truncate",
|
|
276
|
+
title: e.page
|
|
277
|
+
}, T(E(W)(e.page)), 9, Be), m("div", Ve, [m("div", {
|
|
278
|
+
class: "h-full rounded-full bg-violet-500/70",
|
|
279
|
+
style: y({ width: `${e.clicks / n.value * 100}%` })
|
|
280
|
+
}, null, 4)])]), m("div", He, [
|
|
281
|
+
m("span", Ue, [g(E(N), { class: "size-3" }), h(" " + T(E(z)(e.clicks)), 1)]),
|
|
282
|
+
m("span", We, [g(E(k), { class: "size-3" }), h(" " + T(E(z)(e.impressions)), 1)]),
|
|
283
|
+
m("span", null, T(E(B)(e.ctr)), 1),
|
|
284
|
+
m("span", { class: v(["inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium", E(U)(e.position)]) }, " #" + T(E(V)(e.position)), 3)
|
|
285
|
+
])])])])]))), 128))]));
|
|
286
|
+
}
|
|
287
|
+
}), Ke = { class: "divide-y" }, qe = {
|
|
288
|
+
key: 0,
|
|
289
|
+
class: "p-8 text-center text-sm text-muted-foreground"
|
|
290
|
+
}, Je = { class: "flex items-start gap-3" }, Ye = { class: "text-xs font-medium text-muted-foreground w-6 text-right shrink-0 mt-0.5" }, Xe = { class: "flex-1 min-w-0" }, Ze = { class: "flex flex-col @sm:flex-row @sm:items-center gap-2 @sm:gap-3" }, Qe = { class: "flex-1 min-w-0 space-y-0.5" }, $e = { class: "text-sm font-medium" }, et = ["title"], tt = { class: "flex items-center gap-3 @sm:gap-4 text-xs text-muted-foreground @sm:shrink-0 flex-wrap" }, $ = { class: "flex items-center gap-1" }, nt = /* @__PURE__ */ _({
|
|
291
|
+
__name: "SeoMappingTab",
|
|
292
|
+
props: { queryPages: {} },
|
|
293
|
+
setup(e) {
|
|
294
|
+
return (t, n) => (x(), p("div", Ke, [e.queryPages.length === 0 ? (x(), p("div", qe, " No query-page data found for this period. ")) : f("", !0), (x(!0), p(l, null, C(e.queryPages, (e, t) => (x(), p("div", {
|
|
295
|
+
key: t,
|
|
296
|
+
class: "px-4 py-3 hover:bg-muted/30 transition-colors"
|
|
297
|
+
}, [m("div", Je, [m("span", Ye, T(t + 1) + ".", 1), m("div", Xe, [m("div", Ze, [m("div", Qe, [m("p", $e, T(e.query), 1), m("p", {
|
|
298
|
+
class: "text-xs text-muted-foreground truncate",
|
|
299
|
+
title: e.page
|
|
300
|
+
}, "→ " + T(E(W)(e.page)), 9, et)]), m("div", tt, [m("span", $, [g(E(N), { class: "size-3" }), h(" " + T(E(z)(e.clicks)), 1)]), m("span", { class: v(["inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium", E(U)(e.position)]) }, " #" + T(E(V)(e.position)), 3)])])])])]))), 128))]));
|
|
301
|
+
}
|
|
302
|
+
}), rt = { class: "flex flex-col gap-6 w-full max-w-7xl mx-auto py-8" }, it = { class: "flex justify-between gap-4 flex-col @lg:flex-row @lg:items-center" }, at = {
|
|
303
|
+
key: 0,
|
|
304
|
+
class: "flex items-center gap-2"
|
|
305
|
+
}, ot = { class: "flex items-center border rounded-lg overflow-hidden" }, st = ["onClick"], ct = { class: "text-sm text-destructive font-medium" }, lt = {
|
|
306
|
+
key: 3,
|
|
307
|
+
class: "flex items-center justify-center py-20"
|
|
308
|
+
}, ut = { class: "grid grid-cols-1 @3xl:grid-cols-2 gap-4" }, dt = { class: "border-b" }, ft = { class: "flex" }, pt = /* @__PURE__ */ _({
|
|
309
|
+
__name: "SeoHealth",
|
|
310
|
+
setup(e) {
|
|
311
|
+
let { config: t } = o(), { moduleId: n } = c();
|
|
312
|
+
s(() => [{ label: "SEO Health" }]);
|
|
313
|
+
let r = S(!0), i = S(null), a = S("30"), _ = S([]), y = S({
|
|
314
|
+
clicks: 0,
|
|
315
|
+
impressions: 0,
|
|
316
|
+
ctr: 0,
|
|
317
|
+
avgPosition: 0
|
|
318
|
+
}), k = S([]), j = S([]), N = S([]), I = u(() => !!(t.serviceAccount && t.propertyId && t.siteUrl)), L = u(() => !!t.siteUrl);
|
|
319
|
+
function R(e) {
|
|
320
|
+
return `/api/v1/modules/${n}${e}`;
|
|
321
|
+
}
|
|
322
|
+
let z = [
|
|
323
|
+
{
|
|
324
|
+
label: "7d",
|
|
325
|
+
value: "7"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
label: "14d",
|
|
329
|
+
value: "14"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
label: "30d",
|
|
333
|
+
value: "30"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
label: "90d",
|
|
337
|
+
value: "90"
|
|
338
|
+
}
|
|
339
|
+
];
|
|
340
|
+
async function B() {
|
|
341
|
+
if (!I.value) return;
|
|
342
|
+
r.value = !0, i.value = null;
|
|
343
|
+
let e = `${a.value}daysAgo`;
|
|
344
|
+
try {
|
|
345
|
+
let [t, n, r, i] = await Promise.all([
|
|
346
|
+
$fetch(R(`/seo/trends?startDate=${e}&endDate=today`)),
|
|
347
|
+
$fetch(R(`/seo/keywords?startDate=${e}&endDate=today&limit=50`)),
|
|
348
|
+
$fetch(R(`/seo/pages?startDate=${e}&endDate=today&limit=30`)),
|
|
349
|
+
$fetch(R(`/seo/query-pages?startDate=${e}&endDate=today`))
|
|
350
|
+
]);
|
|
351
|
+
_.value = t.rows || [], y.value = t.totals || {
|
|
352
|
+
clicks: 0,
|
|
353
|
+
impressions: 0,
|
|
354
|
+
ctr: 0,
|
|
355
|
+
avgPosition: 0
|
|
356
|
+
}, k.value = n.rows || [], j.value = r.rows || [], N.value = i.rows || [];
|
|
357
|
+
} catch (e) {
|
|
358
|
+
i.value = e?.data?.statusMessage || e?.message || "Failed to load SEO data";
|
|
359
|
+
} finally {
|
|
360
|
+
r.value = !1;
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
ee(a, () => B()), b(() => {
|
|
364
|
+
I.value ? B() : r.value = !1;
|
|
365
|
+
});
|
|
366
|
+
let V = S("keywords");
|
|
367
|
+
return (e, t) => {
|
|
368
|
+
let n = w("Button"), o = w("Card");
|
|
369
|
+
return x(), p("div", rt, [m("div", it, [t[3] ||= m("div", null, [m("h1", { class: "text-2xl font-semibold" }, "SEO Health"), m("p", { class: "text-muted-foreground text-sm mt-1" }, "Search Console performance & keyword rankings")], -1), I.value ? (x(), p("div", at, [m("div", ot, [(x(), p(l, null, C(z, (e) => m("button", {
|
|
370
|
+
key: e.value,
|
|
371
|
+
class: v(["px-3 py-1.5 text-xs font-medium transition-colors", a.value === e.value ? "bg-primary text-primary-foreground" : "text-muted-foreground hover:text-foreground hover:bg-muted"]),
|
|
372
|
+
onClick: (t) => a.value = e.value
|
|
373
|
+
}, T(e.label), 11, st)), 64))]), g(n, {
|
|
374
|
+
variant: "outline",
|
|
375
|
+
size: "icon",
|
|
376
|
+
onClick: B,
|
|
377
|
+
disabled: r.value
|
|
378
|
+
}, {
|
|
379
|
+
default: D(() => [g(E(P), { class: v(["size-4", { "animate-spin": r.value }]) }, null, 8, ["class"])]),
|
|
380
|
+
_: 1
|
|
381
|
+
}, 8, ["disabled"])])) : f("", !0)]), L.value ? I.value ? i.value ? (x(), d(o, {
|
|
382
|
+
key: 2,
|
|
383
|
+
class: "p-6 border-destructive/50 bg-destructive/5"
|
|
384
|
+
}, {
|
|
385
|
+
default: D(() => [m("p", ct, T(i.value), 1), g(n, {
|
|
386
|
+
variant: "outline",
|
|
387
|
+
size: "sm",
|
|
388
|
+
class: "mt-3",
|
|
389
|
+
onClick: B
|
|
390
|
+
}, {
|
|
391
|
+
default: D(() => [...t[7] ||= [h("Retry", -1)]]),
|
|
392
|
+
_: 1
|
|
393
|
+
})]),
|
|
394
|
+
_: 1
|
|
395
|
+
})) : r.value ? (x(), p("div", lt, [g(E(M), { class: "size-8 animate-spin text-muted-foreground" })])) : (x(), p(l, { key: 4 }, [
|
|
396
|
+
g(ne, { totals: y.value }, null, 8, ["totals"]),
|
|
397
|
+
g(pe, { keywords: k.value }, null, 8, ["keywords"]),
|
|
398
|
+
m("div", ut, [g(ge, { trends: _.value }, null, 8, ["trends"]), g(ye, { trends: _.value }, null, 8, ["trends"])]),
|
|
399
|
+
g(o, { class: "overflow-hidden" }, {
|
|
400
|
+
default: D(() => [
|
|
401
|
+
m("div", dt, [m("div", ft, [
|
|
402
|
+
m("button", {
|
|
403
|
+
class: v(["px-4 py-2.5 text-sm font-medium transition-colors border-b-2", V.value === "keywords" ? "border-primary text-primary" : "border-transparent text-muted-foreground hover:text-foreground"]),
|
|
404
|
+
onClick: t[0] ||= (e) => V.value = "keywords"
|
|
405
|
+
}, [g(E(F), { class: "size-3.5 inline mr-1.5" }), t[8] ||= h(" Keywords ", -1)], 2),
|
|
406
|
+
m("button", {
|
|
407
|
+
class: v(["px-4 py-2.5 text-sm font-medium transition-colors border-b-2", V.value === "pages" ? "border-primary text-primary" : "border-transparent text-muted-foreground hover:text-foreground"]),
|
|
408
|
+
onClick: t[1] ||= (e) => V.value = "pages"
|
|
409
|
+
}, [g(E(A), { class: "size-3.5 inline mr-1.5" }), t[9] ||= h(" Pages ", -1)], 2),
|
|
410
|
+
m("button", {
|
|
411
|
+
class: v(["px-4 py-2.5 text-sm font-medium transition-colors border-b-2", V.value === "mapping" ? "border-primary text-primary" : "border-transparent text-muted-foreground hover:text-foreground"]),
|
|
412
|
+
onClick: t[2] ||= (e) => V.value = "mapping"
|
|
413
|
+
}, [g(E(te), { class: "size-3.5 inline mr-1.5" }), t[10] ||= h(" Keyword → Page ", -1)], 2)
|
|
414
|
+
])]),
|
|
415
|
+
V.value === "keywords" ? (x(), d(Me, {
|
|
416
|
+
key: 0,
|
|
417
|
+
keywords: k.value
|
|
418
|
+
}, null, 8, ["keywords"])) : f("", !0),
|
|
419
|
+
V.value === "pages" ? (x(), d(Ge, {
|
|
420
|
+
key: 1,
|
|
421
|
+
pages: j.value
|
|
422
|
+
}, null, 8, ["pages"])) : f("", !0),
|
|
423
|
+
V.value === "mapping" ? (x(), d(nt, {
|
|
424
|
+
key: 2,
|
|
425
|
+
queryPages: N.value
|
|
426
|
+
}, null, 8, ["queryPages"])) : f("", !0)
|
|
427
|
+
]),
|
|
428
|
+
_: 1
|
|
429
|
+
})
|
|
430
|
+
], 64)) : (x(), d(o, {
|
|
431
|
+
key: 1,
|
|
432
|
+
class: "p-8 text-center"
|
|
433
|
+
}, {
|
|
434
|
+
default: D(() => [...t[6] ||= [m("p", { class: "text-lg font-medium" }, "Setup required", -1), m("p", { class: "text-sm text-muted-foreground mt-1" }, "Configure your service account, property ID, and site URL in module settings.", -1)]]),
|
|
435
|
+
_: 1
|
|
436
|
+
})) : (x(), d(o, {
|
|
437
|
+
key: 0,
|
|
438
|
+
class: "p-8 text-center space-y-3"
|
|
439
|
+
}, {
|
|
440
|
+
default: D(() => [
|
|
441
|
+
g(E(O), { class: "size-10 text-amber-500 mx-auto" }),
|
|
442
|
+
t[4] ||= m("p", { class: "text-lg font-medium" }, "Search Console not configured", -1),
|
|
443
|
+
t[5] ||= m("p", { class: "text-sm text-muted-foreground max-w-md mx-auto" }, [
|
|
444
|
+
h(" Add your "),
|
|
445
|
+
m("strong", null, "Search Console Site URL"),
|
|
446
|
+
h(" in the module settings to enable SEO data. Use the exact format from Google Search Console (e.g. "),
|
|
447
|
+
m("code", null, "https://example.com"),
|
|
448
|
+
h(" or "),
|
|
449
|
+
m("code", null, "sc-domain:example.com"),
|
|
450
|
+
h("). ")
|
|
451
|
+
], -1)
|
|
452
|
+
]),
|
|
453
|
+
_: 1
|
|
454
|
+
}))]);
|
|
455
|
+
};
|
|
456
|
+
}
|
|
457
|
+
});
|
|
458
|
+
//#endregion
|
|
459
|
+
export { pt as default };
|