@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
|
@@ -1,567 +0,0 @@
|
|
|
1
|
-
import { defineComponent as _e, ref as f, computed as te, watch as he, onMounted as ye, resolveComponent as h, openBlock as n, createElementBlock as i, createElementVNode as s, toDisplayString as u, unref as r, Fragment as w, renderList as D, normalizeClass as L, createVNode as t, withCtx as l, createCommentVNode as T, createBlock as P, createTextVNode as y, resolveDynamicComponent as W, normalizeStyle as se } from "vue";
|
|
2
|
-
import { useModule as be, useModuleRoute as we, useModuleBreadcrumbs as Ce } from "@oneclick.dev/cms-kit";
|
|
3
|
-
import "./index-CMk3uhUt.mjs";
|
|
4
|
-
import { componentToString as oe, ChartTooltipContent as ae } from "@oneclick.dev/cms-kit/charts";
|
|
5
|
-
import { MousePointerClick as ke, Users as $e, Eye as De, Clock as Te, Zap as Pe, TrendingDown as le, TrendingUp as ne, UserPlus as Se, Activity as Ue, RefreshCw as Ve, Loader2 as Re, ArrowUpRight as Me, Globe as Fe, Minus as Ae, Smartphone as ze, Tablet as Ne, Monitor as Be } from "lucide-vue-next";
|
|
6
|
-
import { S as re, C as j, A as ie, z as ue } from "./index-_2lRVt_k.mjs";
|
|
7
|
-
import { C as ce, a as H } from "./index-p5Uqu8c2.mjs";
|
|
8
|
-
const Le = { class: "flex flex-col gap-4 w-full max-w-7xl mx-auto py-8" }, je = { class: "flex justify-between gap-4 flex-col @lg:flex-row @lg:items-center" }, Ge = { class: "text-muted-foreground text-sm mt-1" }, Ie = {
|
|
9
|
-
key: 0,
|
|
10
|
-
class: "flex items-center gap-2"
|
|
11
|
-
}, Xe = { class: "flex items-center border rounded-lg overflow-hidden" }, Ee = ["onClick"], Oe = { class: "text-sm text-destructive font-medium" }, We = {
|
|
12
|
-
key: 2,
|
|
13
|
-
class: "flex items-center justify-center py-20"
|
|
14
|
-
}, He = { class: "flex items-start justify-between" }, qe = { class: "flex items-center gap-2" }, Ke = { class: "text-sm font-medium" }, Ze = { class: "grid grid-cols-2 @md:grid-cols-3 @xl:grid-cols-4 gap-4" }, Je = { class: "flex items-center gap-1.5 text-muted-foreground mb-2" }, Qe = { class: "text-xs font-medium uppercase tracking-wide" }, Ye = { class: "text-2xl font-semibold tabular-nums" }, et = {
|
|
15
|
-
key: 0,
|
|
16
|
-
class: "flex items-center gap-1 mt-1"
|
|
17
|
-
}, tt = { class: "flex flex-col @xl:grid @xl:grid-cols-2 gap-4 max-w-full" }, st = { class: "flex flex-col @lg:grid @lg:grid-cols-2 gap-4" }, ot = { class: "divide-y" }, at = { class: "flex items-center gap-3 min-w-0" }, lt = { class: "text-muted-foreground w-5 text-right shrink-0" }, nt = { class: "truncate font-mono text-xs" }, rt = { class: "flex items-center gap-4 shrink-0 tabular-nums" }, it = { class: "text-muted-foreground text-xs w-16 text-right" }, ut = { class: "text-muted-foreground text-xs w-16 text-right" }, ct = {
|
|
18
|
-
key: 0,
|
|
19
|
-
class: "px-6 py-8 text-center text-muted-foreground text-sm"
|
|
20
|
-
}, dt = { class: "divide-y" }, ft = { class: "flex items-center gap-3 min-w-0" }, mt = { class: "text-muted-foreground w-5 text-right shrink-0" }, vt = { class: "truncate" }, pt = { class: "flex items-center gap-4 shrink-0 tabular-nums" }, gt = { class: "text-muted-foreground text-xs w-20 text-right" }, xt = {
|
|
21
|
-
key: 0,
|
|
22
|
-
class: "px-6 py-8 text-center text-muted-foreground text-sm"
|
|
23
|
-
}, _t = { class: "grid @lg:grid-cols-2 gap-4" }, ht = { class: "space-y-3" }, yt = { class: "text-sm capitalize flex-1" }, bt = { class: "flex-1 h-2 bg-muted rounded-full overflow-hidden" }, wt = { class: "text-xs tabular-nums text-muted-foreground w-16 text-right" }, Ct = {
|
|
24
|
-
key: 0,
|
|
25
|
-
class: "py-4 text-center text-muted-foreground text-sm"
|
|
26
|
-
}, kt = { class: "space-y-3" }, $t = { class: "text-sm flex-1" }, Dt = { class: "flex-1 h-2 bg-muted rounded-full overflow-hidden" }, Tt = { class: "text-xs tabular-nums text-muted-foreground w-16 text-right" }, Pt = {
|
|
27
|
-
key: 0,
|
|
28
|
-
class: "py-4 text-center text-muted-foreground text-sm"
|
|
29
|
-
}, Nt = /* @__PURE__ */ _e({
|
|
30
|
-
__name: "Overview",
|
|
31
|
-
setup(St) {
|
|
32
|
-
const { config: G } = be(), { moduleId: de } = we();
|
|
33
|
-
Ce(() => [{ label: "Overview" }]);
|
|
34
|
-
const C = f(!0), V = f(null), R = f("30"), S = f([]), m = f({}), fe = f({}), v = f({}), q = f(0), I = f([]), X = f([]), M = f([]), F = f([]), A = te(() => !!(G.serviceAccount && G.propertyId));
|
|
35
|
-
function k(a) {
|
|
36
|
-
return `/api/v1/modules/${de}${a}`;
|
|
37
|
-
}
|
|
38
|
-
const me = [
|
|
39
|
-
{ label: "7 days", value: "7" },
|
|
40
|
-
{ label: "14 days", value: "14" },
|
|
41
|
-
{ label: "30 days", value: "30" },
|
|
42
|
-
{ label: "90 days", value: "90" }
|
|
43
|
-
], x = {
|
|
44
|
-
sessions: "#3b82f6",
|
|
45
|
-
users: "#8b5cf6",
|
|
46
|
-
pageViews: "#10b981"
|
|
47
|
-
}, E = {
|
|
48
|
-
sessions: { label: "Sessions", color: x.sessions },
|
|
49
|
-
totalUsers: { label: "Users", color: x.users }
|
|
50
|
-
}, O = {
|
|
51
|
-
screenPageViews: { label: "Page Views", color: x.pageViews }
|
|
52
|
-
}, U = (a, e) => e, K = (a) => a.sessions || 0, ve = (a) => a.totalUsers || 0, Z = (a) => a.screenPageViews || 0, J = (a) => {
|
|
53
|
-
const e = S.value[Math.round(a)];
|
|
54
|
-
if (!e) return "";
|
|
55
|
-
const d = new Date(e.date);
|
|
56
|
-
return `${d.getDate()}/${d.getMonth() + 1}`;
|
|
57
|
-
}, Q = (a) => {
|
|
58
|
-
const e = S.value[Math.round(Number(a))];
|
|
59
|
-
return e ? new Date(e.date).toLocaleDateString(void 0, { weekday: "short", month: "short", day: "numeric" }) : "";
|
|
60
|
-
}, pe = te(() => [
|
|
61
|
-
{
|
|
62
|
-
label: "Sessions",
|
|
63
|
-
value: p(m.value.sessions || 0),
|
|
64
|
-
icon: ke,
|
|
65
|
-
change: v.value.sessions
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
label: "Users",
|
|
69
|
-
value: p(m.value.totalUsers || 0),
|
|
70
|
-
icon: $e,
|
|
71
|
-
change: v.value.totalUsers
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
label: "Page Views",
|
|
75
|
-
value: p(m.value.screenPageViews || 0),
|
|
76
|
-
icon: De,
|
|
77
|
-
change: v.value.screenPageViews
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
label: "Avg. Duration",
|
|
81
|
-
value: ge(m.value.averageSessionDuration || 0),
|
|
82
|
-
icon: Te,
|
|
83
|
-
change: v.value.averageSessionDuration
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
label: "Engagement",
|
|
87
|
-
value: `${((m.value.engagementRate || 0) * 100).toFixed(1)}%`,
|
|
88
|
-
icon: Pe,
|
|
89
|
-
change: v.value.engagementRate,
|
|
90
|
-
positive: !0
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
label: "Bounce Rate",
|
|
94
|
-
value: `${((m.value.bounceRate || 0) * 100).toFixed(1)}%`,
|
|
95
|
-
icon: (m.value.bounceRate || 0) > 0.5 ? le : ne,
|
|
96
|
-
change: v.value.bounceRate,
|
|
97
|
-
positive: !1
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
label: "New Users",
|
|
101
|
-
value: p(m.value.newUsers || 0),
|
|
102
|
-
icon: Se,
|
|
103
|
-
change: v.value.newUsers
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
label: "Pages / Session",
|
|
107
|
-
value: (m.value.screenPageViewsPerSession || 0).toFixed(1),
|
|
108
|
-
icon: Ue,
|
|
109
|
-
change: v.value.screenPageViewsPerSession
|
|
110
|
-
}
|
|
111
|
-
]);
|
|
112
|
-
function p(a) {
|
|
113
|
-
return a >= 1e6 ? `${(a / 1e6).toFixed(1)}M` : a >= 1e3 ? `${(a / 1e3).toFixed(1)}K` : Math.round(a).toString();
|
|
114
|
-
}
|
|
115
|
-
function ge(a) {
|
|
116
|
-
const e = Math.floor(a / 60), d = Math.round(a % 60);
|
|
117
|
-
return e > 0 ? `${e}m ${d}s` : `${d}s`;
|
|
118
|
-
}
|
|
119
|
-
function z(a, e = !0) {
|
|
120
|
-
if (a == null)
|
|
121
|
-
return { text: "—", cls: "text-muted-foreground", icon: Ae };
|
|
122
|
-
const c = `${Math.abs(a).toFixed(1)}%`, b = a > 0;
|
|
123
|
-
return {
|
|
124
|
-
text: c,
|
|
125
|
-
cls: (e ? b : !b) ? "text-emerald-600 dark:text-emerald-400" : "text-red-500 dark:text-red-400",
|
|
126
|
-
icon: b ? ne : le
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
function xe(a) {
|
|
130
|
-
const e = a.toLowerCase();
|
|
131
|
-
return e === "mobile" ? ze : e === "tablet" ? Ne : Be;
|
|
132
|
-
}
|
|
133
|
-
async function N() {
|
|
134
|
-
if (!A.value) return;
|
|
135
|
-
C.value = !0, V.value = null;
|
|
136
|
-
const a = `${R.value}daysAgo`;
|
|
137
|
-
try {
|
|
138
|
-
const [e, d, c, b, g, _] = await Promise.all([
|
|
139
|
-
$fetch(k(`/report?startDate=${a}&endDate=today`)),
|
|
140
|
-
$fetch(k("/realtime")).catch(() => ({ activeUsers: 0 })),
|
|
141
|
-
$fetch(k(`/top-pages?startDate=${a}&endDate=today&limit=10`)),
|
|
142
|
-
$fetch(k(`/top-sources?startDate=${a}&endDate=today`)),
|
|
143
|
-
$fetch(k(`/devices?startDate=${a}&endDate=today`)),
|
|
144
|
-
$fetch(k(`/countries?startDate=${a}&endDate=today`))
|
|
145
|
-
]);
|
|
146
|
-
S.value = e.rows || [], m.value = e.totals || {}, fe.value = e.previousTotals || {}, v.value = e.changes || {}, q.value = d.activeUsers || 0, I.value = c.rows || [], X.value = b.rows || [], M.value = g.rows || [], F.value = _.rows || [];
|
|
147
|
-
} catch (e) {
|
|
148
|
-
console.error("Failed to fetch analytics data:", e), V.value = e?.data?.statusMessage || e?.message || "Failed to load analytics data";
|
|
149
|
-
} finally {
|
|
150
|
-
C.value = !1;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
return he(R, () => N()), ye(() => {
|
|
154
|
-
A.value ? N() : C.value = !1;
|
|
155
|
-
}), (a, e) => {
|
|
156
|
-
const d = h("Button"), c = h("Card"), b = h("Badge"), g = h("CardTitle"), _ = h("CardHeader"), Y = h("ChartLegendContent"), ee = h("ChartContainer"), $ = h("CardContent");
|
|
157
|
-
return n(), i("div", Le, [
|
|
158
|
-
s("div", je, [
|
|
159
|
-
s("div", null, [
|
|
160
|
-
e[0] || (e[0] = s("h1", { class: "text-2xl font-semibold" }, "Analytics Overview", -1)),
|
|
161
|
-
s("p", Ge, "Property " + u(r(G).propertyId || "—"), 1)
|
|
162
|
-
]),
|
|
163
|
-
A.value ? (n(), i("div", Ie, [
|
|
164
|
-
s("div", Xe, [
|
|
165
|
-
(n(), i(w, null, D(me, (o) => s("button", {
|
|
166
|
-
key: o.value,
|
|
167
|
-
class: L(["px-3 py-1.5 text-xs font-medium transition-colors", R.value === o.value ? "bg-primary text-primary-foreground" : "text-muted-foreground hover:text-foreground hover:bg-muted"]),
|
|
168
|
-
onClick: (B) => R.value = o.value
|
|
169
|
-
}, u(o.label), 11, Ee)), 64))
|
|
170
|
-
]),
|
|
171
|
-
t(d, {
|
|
172
|
-
variant: "outline",
|
|
173
|
-
size: "icon",
|
|
174
|
-
onClick: N,
|
|
175
|
-
disabled: C.value
|
|
176
|
-
}, {
|
|
177
|
-
default: l(() => [
|
|
178
|
-
t(r(Ve), {
|
|
179
|
-
class: L(["size-4", { "animate-spin": C.value }])
|
|
180
|
-
}, null, 8, ["class"])
|
|
181
|
-
]),
|
|
182
|
-
_: 1
|
|
183
|
-
}, 8, ["disabled"])
|
|
184
|
-
])) : T("", !0)
|
|
185
|
-
]),
|
|
186
|
-
A.value ? V.value ? (n(), P(c, {
|
|
187
|
-
key: 1,
|
|
188
|
-
class: "p-6 border-destructive/50 bg-destructive/5"
|
|
189
|
-
}, {
|
|
190
|
-
default: l(() => [
|
|
191
|
-
s("p", Oe, u(V.value), 1),
|
|
192
|
-
t(d, {
|
|
193
|
-
variant: "outline",
|
|
194
|
-
size: "sm",
|
|
195
|
-
class: "mt-3",
|
|
196
|
-
onClick: N
|
|
197
|
-
}, {
|
|
198
|
-
default: l(() => [...e[2] || (e[2] = [
|
|
199
|
-
y("Retry", -1)
|
|
200
|
-
])]),
|
|
201
|
-
_: 1
|
|
202
|
-
})
|
|
203
|
-
]),
|
|
204
|
-
_: 1
|
|
205
|
-
})) : C.value ? (n(), i("div", We, [
|
|
206
|
-
t(r(Re), { class: "size-8 animate-spin text-muted-foreground" })
|
|
207
|
-
])) : (n(), i(w, { key: 3 }, [
|
|
208
|
-
t(c, { class: "p-4" }, {
|
|
209
|
-
default: l(() => [
|
|
210
|
-
s("div", He, [
|
|
211
|
-
s("div", qe, [
|
|
212
|
-
e[3] || (e[3] = s("span", { class: "relative flex h-2.5 w-2.5" }, [
|
|
213
|
-
s("span", { class: "animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75" }),
|
|
214
|
-
s("span", { class: "relative inline-flex rounded-full h-2.5 w-2.5 bg-green-500" })
|
|
215
|
-
], -1)),
|
|
216
|
-
s("span", Ke, u(q.value) + " visitors", 1),
|
|
217
|
-
e[4] || (e[4] = s("span", { class: "text-xs text-muted-foreground translate-y-0.25" }, "in the last 30 minutes", -1))
|
|
218
|
-
]),
|
|
219
|
-
t(b, {
|
|
220
|
-
variant: "outline",
|
|
221
|
-
class: "text-xs"
|
|
222
|
-
}, {
|
|
223
|
-
default: l(() => [...e[5] || (e[5] = [
|
|
224
|
-
y("Live", -1)
|
|
225
|
-
])]),
|
|
226
|
-
_: 1
|
|
227
|
-
})
|
|
228
|
-
])
|
|
229
|
-
]),
|
|
230
|
-
_: 1
|
|
231
|
-
}),
|
|
232
|
-
s("div", Ze, [
|
|
233
|
-
(n(!0), i(w, null, D(pe.value, (o) => (n(), P(c, {
|
|
234
|
-
key: o.label,
|
|
235
|
-
class: "p-4"
|
|
236
|
-
}, {
|
|
237
|
-
default: l(() => [
|
|
238
|
-
s("div", Je, [
|
|
239
|
-
(n(), P(W(o.icon), { class: "size-3.5" })),
|
|
240
|
-
s("span", Qe, u(o.label), 1)
|
|
241
|
-
]),
|
|
242
|
-
s("p", Ye, u(o.value), 1),
|
|
243
|
-
o.change !== void 0 ? (n(), i("div", et, [
|
|
244
|
-
(n(), P(W(z(o.change, o.positive !== !1).icon), {
|
|
245
|
-
class: L(["size-3", z(o.change, o.positive !== !1).cls])
|
|
246
|
-
}, null, 8, ["class"])),
|
|
247
|
-
s("span", {
|
|
248
|
-
class: L(["text-xs font-medium", z(o.change, o.positive !== !1).cls])
|
|
249
|
-
}, u(z(o.change, o.positive !== !1).text), 3),
|
|
250
|
-
e[6] || (e[6] = s("span", { class: "text-xs text-muted-foreground" }, "vs prev.", -1))
|
|
251
|
-
])) : T("", !0)
|
|
252
|
-
]),
|
|
253
|
-
_: 2
|
|
254
|
-
}, 1024))), 128))
|
|
255
|
-
]),
|
|
256
|
-
s("div", tt, [
|
|
257
|
-
t(c, null, {
|
|
258
|
-
default: l(() => [
|
|
259
|
-
t(_, { class: "pb-2" }, {
|
|
260
|
-
default: l(() => [
|
|
261
|
-
t(g, { class: "text-base" }, {
|
|
262
|
-
default: l(() => [...e[7] || (e[7] = [
|
|
263
|
-
y("Sessions & Users", -1)
|
|
264
|
-
])]),
|
|
265
|
-
_: 1
|
|
266
|
-
})
|
|
267
|
-
]),
|
|
268
|
-
_: 1
|
|
269
|
-
}),
|
|
270
|
-
t($, null, {
|
|
271
|
-
default: l(() => [
|
|
272
|
-
t(ee, {
|
|
273
|
-
config: E,
|
|
274
|
-
class: "h-[240px] w-full"
|
|
275
|
-
}, {
|
|
276
|
-
default: l(() => [
|
|
277
|
-
t(r(re), {
|
|
278
|
-
data: S.value,
|
|
279
|
-
margin: { top: 8, right: 8, bottom: 24, left: 40 }
|
|
280
|
-
}, {
|
|
281
|
-
default: l(() => [
|
|
282
|
-
t(r(ce), {
|
|
283
|
-
x: U,
|
|
284
|
-
y: K,
|
|
285
|
-
color: x.sessions,
|
|
286
|
-
opacity: 0.1,
|
|
287
|
-
curveType: "monotoneX"
|
|
288
|
-
}, null, 8, ["color"]),
|
|
289
|
-
t(r(H), {
|
|
290
|
-
x: U,
|
|
291
|
-
y: K,
|
|
292
|
-
color: x.sessions,
|
|
293
|
-
lineWidth: 2,
|
|
294
|
-
curveType: "monotoneX"
|
|
295
|
-
}, null, 8, ["color"]),
|
|
296
|
-
t(r(H), {
|
|
297
|
-
x: U,
|
|
298
|
-
y: ve,
|
|
299
|
-
color: x.users,
|
|
300
|
-
lineWidth: 2,
|
|
301
|
-
curveType: "monotoneX"
|
|
302
|
-
}, null, 8, ["color"]),
|
|
303
|
-
t(r(j), {
|
|
304
|
-
type: "x",
|
|
305
|
-
tickFormat: J,
|
|
306
|
-
numTicks: 6
|
|
307
|
-
}),
|
|
308
|
-
t(r(j), {
|
|
309
|
-
type: "y",
|
|
310
|
-
numTicks: 4
|
|
311
|
-
}),
|
|
312
|
-
t(r(ie), {
|
|
313
|
-
template: r(oe)(E, r(ae), { labelFormatter: Q })
|
|
314
|
-
}, null, 8, ["template"]),
|
|
315
|
-
t(r(ue))
|
|
316
|
-
]),
|
|
317
|
-
_: 1
|
|
318
|
-
}, 8, ["data"]),
|
|
319
|
-
t(Y, { config: E })
|
|
320
|
-
]),
|
|
321
|
-
_: 1
|
|
322
|
-
})
|
|
323
|
-
]),
|
|
324
|
-
_: 1
|
|
325
|
-
})
|
|
326
|
-
]),
|
|
327
|
-
_: 1
|
|
328
|
-
}),
|
|
329
|
-
t(c, null, {
|
|
330
|
-
default: l(() => [
|
|
331
|
-
t(_, { class: "pb-2" }, {
|
|
332
|
-
default: l(() => [
|
|
333
|
-
t(g, { class: "text-base" }, {
|
|
334
|
-
default: l(() => [...e[8] || (e[8] = [
|
|
335
|
-
y("Page Views", -1)
|
|
336
|
-
])]),
|
|
337
|
-
_: 1
|
|
338
|
-
})
|
|
339
|
-
]),
|
|
340
|
-
_: 1
|
|
341
|
-
}),
|
|
342
|
-
t($, null, {
|
|
343
|
-
default: l(() => [
|
|
344
|
-
t(ee, {
|
|
345
|
-
config: O,
|
|
346
|
-
class: "h-[240px] w-full"
|
|
347
|
-
}, {
|
|
348
|
-
default: l(() => [
|
|
349
|
-
t(r(re), {
|
|
350
|
-
data: S.value,
|
|
351
|
-
margin: { top: 8, right: 8, bottom: 24, left: 40 }
|
|
352
|
-
}, {
|
|
353
|
-
default: l(() => [
|
|
354
|
-
t(r(ce), {
|
|
355
|
-
x: U,
|
|
356
|
-
y: Z,
|
|
357
|
-
color: x.pageViews,
|
|
358
|
-
opacity: 0.15,
|
|
359
|
-
curveType: "monotoneX"
|
|
360
|
-
}, null, 8, ["color"]),
|
|
361
|
-
t(r(H), {
|
|
362
|
-
x: U,
|
|
363
|
-
y: Z,
|
|
364
|
-
color: x.pageViews,
|
|
365
|
-
lineWidth: 2,
|
|
366
|
-
curveType: "monotoneX"
|
|
367
|
-
}, null, 8, ["color"]),
|
|
368
|
-
t(r(j), {
|
|
369
|
-
type: "x",
|
|
370
|
-
tickFormat: J,
|
|
371
|
-
numTicks: 6
|
|
372
|
-
}),
|
|
373
|
-
t(r(j), {
|
|
374
|
-
type: "y",
|
|
375
|
-
numTicks: 4
|
|
376
|
-
}),
|
|
377
|
-
t(r(ie), {
|
|
378
|
-
template: r(oe)(O, r(ae), { labelFormatter: Q })
|
|
379
|
-
}, null, 8, ["template"]),
|
|
380
|
-
t(r(ue))
|
|
381
|
-
]),
|
|
382
|
-
_: 1
|
|
383
|
-
}, 8, ["data"]),
|
|
384
|
-
t(Y, { config: O })
|
|
385
|
-
]),
|
|
386
|
-
_: 1
|
|
387
|
-
})
|
|
388
|
-
]),
|
|
389
|
-
_: 1
|
|
390
|
-
})
|
|
391
|
-
]),
|
|
392
|
-
_: 1
|
|
393
|
-
})
|
|
394
|
-
]),
|
|
395
|
-
s("div", st, [
|
|
396
|
-
t(c, null, {
|
|
397
|
-
default: l(() => [
|
|
398
|
-
t(_, { class: "pb-2" }, {
|
|
399
|
-
default: l(() => [
|
|
400
|
-
t(g, { class: "text-base" }, {
|
|
401
|
-
default: l(() => [...e[9] || (e[9] = [
|
|
402
|
-
y("Top Pages", -1)
|
|
403
|
-
])]),
|
|
404
|
-
_: 1
|
|
405
|
-
})
|
|
406
|
-
]),
|
|
407
|
-
_: 1
|
|
408
|
-
}),
|
|
409
|
-
t($, { class: "p-0" }, {
|
|
410
|
-
default: l(() => [
|
|
411
|
-
s("div", ot, [
|
|
412
|
-
(n(!0), i(w, null, D(I.value, (o, B) => (n(), i("div", {
|
|
413
|
-
key: o.pagePath,
|
|
414
|
-
class: "flex items-center justify-between px-6 py-3 text-sm"
|
|
415
|
-
}, [
|
|
416
|
-
s("div", at, [
|
|
417
|
-
s("span", lt, u(B + 1), 1),
|
|
418
|
-
s("span", nt, u(o.pagePath), 1)
|
|
419
|
-
]),
|
|
420
|
-
s("div", rt, [
|
|
421
|
-
s("span", it, u(p(o.screenPageViews)) + " views", 1),
|
|
422
|
-
s("span", ut, u(p(o.totalUsers)) + " users", 1)
|
|
423
|
-
])
|
|
424
|
-
]))), 128)),
|
|
425
|
-
I.value.length ? T("", !0) : (n(), i("div", ct, "No data available"))
|
|
426
|
-
])
|
|
427
|
-
]),
|
|
428
|
-
_: 1
|
|
429
|
-
})
|
|
430
|
-
]),
|
|
431
|
-
_: 1
|
|
432
|
-
}),
|
|
433
|
-
t(c, null, {
|
|
434
|
-
default: l(() => [
|
|
435
|
-
t(_, { class: "pb-2" }, {
|
|
436
|
-
default: l(() => [
|
|
437
|
-
t(g, { class: "text-base" }, {
|
|
438
|
-
default: l(() => [...e[10] || (e[10] = [
|
|
439
|
-
y("Traffic Sources", -1)
|
|
440
|
-
])]),
|
|
441
|
-
_: 1
|
|
442
|
-
})
|
|
443
|
-
]),
|
|
444
|
-
_: 1
|
|
445
|
-
}),
|
|
446
|
-
t($, { class: "p-0" }, {
|
|
447
|
-
default: l(() => [
|
|
448
|
-
s("div", dt, [
|
|
449
|
-
(n(!0), i(w, null, D(X.value, (o, B) => (n(), i("div", {
|
|
450
|
-
key: o.sessionSource,
|
|
451
|
-
class: "flex items-center justify-between px-6 py-3 text-sm"
|
|
452
|
-
}, [
|
|
453
|
-
s("div", ft, [
|
|
454
|
-
s("span", mt, u(B + 1), 1),
|
|
455
|
-
t(r(Me), { class: "size-3.5 text-muted-foreground shrink-0" }),
|
|
456
|
-
s("span", vt, u(o.sessionSource || "(direct)"), 1)
|
|
457
|
-
]),
|
|
458
|
-
s("div", pt, [
|
|
459
|
-
s("span", gt, u(p(o.sessions)) + " sessions", 1)
|
|
460
|
-
])
|
|
461
|
-
]))), 128)),
|
|
462
|
-
X.value.length ? T("", !0) : (n(), i("div", xt, "No data available"))
|
|
463
|
-
])
|
|
464
|
-
]),
|
|
465
|
-
_: 1
|
|
466
|
-
})
|
|
467
|
-
]),
|
|
468
|
-
_: 1
|
|
469
|
-
})
|
|
470
|
-
]),
|
|
471
|
-
s("div", _t, [
|
|
472
|
-
t(c, null, {
|
|
473
|
-
default: l(() => [
|
|
474
|
-
t(_, { class: "pb-2" }, {
|
|
475
|
-
default: l(() => [
|
|
476
|
-
t(g, { class: "text-base" }, {
|
|
477
|
-
default: l(() => [...e[11] || (e[11] = [
|
|
478
|
-
y("Devices", -1)
|
|
479
|
-
])]),
|
|
480
|
-
_: 1
|
|
481
|
-
})
|
|
482
|
-
]),
|
|
483
|
-
_: 1
|
|
484
|
-
}),
|
|
485
|
-
t($, null, {
|
|
486
|
-
default: l(() => [
|
|
487
|
-
s("div", ht, [
|
|
488
|
-
(n(!0), i(w, null, D(M.value, (o) => (n(), i("div", {
|
|
489
|
-
key: o.deviceCategory,
|
|
490
|
-
class: "flex items-center gap-3"
|
|
491
|
-
}, [
|
|
492
|
-
(n(), P(W(xe(o.deviceCategory)), { class: "size-4 text-muted-foreground shrink-0" })),
|
|
493
|
-
s("span", yt, u(o.deviceCategory), 1),
|
|
494
|
-
s("div", bt, [
|
|
495
|
-
s("div", {
|
|
496
|
-
class: "h-full bg-primary rounded-full transition-all",
|
|
497
|
-
style: se({ width: `${o.sessions / (M.value[0]?.sessions || 1) * 100}%` })
|
|
498
|
-
}, null, 4)
|
|
499
|
-
]),
|
|
500
|
-
s("span", wt, u(p(o.sessions)), 1)
|
|
501
|
-
]))), 128)),
|
|
502
|
-
M.value.length ? T("", !0) : (n(), i("div", Ct, "No data available"))
|
|
503
|
-
])
|
|
504
|
-
]),
|
|
505
|
-
_: 1
|
|
506
|
-
})
|
|
507
|
-
]),
|
|
508
|
-
_: 1
|
|
509
|
-
}),
|
|
510
|
-
t(c, null, {
|
|
511
|
-
default: l(() => [
|
|
512
|
-
t(_, { class: "pb-2" }, {
|
|
513
|
-
default: l(() => [
|
|
514
|
-
t(g, { class: "text-base" }, {
|
|
515
|
-
default: l(() => [...e[12] || (e[12] = [
|
|
516
|
-
y("Top Countries", -1)
|
|
517
|
-
])]),
|
|
518
|
-
_: 1
|
|
519
|
-
})
|
|
520
|
-
]),
|
|
521
|
-
_: 1
|
|
522
|
-
}),
|
|
523
|
-
t($, null, {
|
|
524
|
-
default: l(() => [
|
|
525
|
-
s("div", kt, [
|
|
526
|
-
(n(!0), i(w, null, D(F.value, (o) => (n(), i("div", {
|
|
527
|
-
key: o.country,
|
|
528
|
-
class: "flex items-center gap-3"
|
|
529
|
-
}, [
|
|
530
|
-
t(r(Fe), { class: "size-4 text-muted-foreground shrink-0" }),
|
|
531
|
-
s("span", $t, u(o.country), 1),
|
|
532
|
-
s("div", Dt, [
|
|
533
|
-
s("div", {
|
|
534
|
-
class: "h-full bg-primary rounded-full transition-all",
|
|
535
|
-
style: se({ width: `${o.sessions / (F.value[0]?.sessions || 1) * 100}%` })
|
|
536
|
-
}, null, 4)
|
|
537
|
-
]),
|
|
538
|
-
s("span", Tt, u(p(o.sessions)), 1)
|
|
539
|
-
]))), 128)),
|
|
540
|
-
F.value.length ? T("", !0) : (n(), i("div", Pt, "No data available"))
|
|
541
|
-
])
|
|
542
|
-
]),
|
|
543
|
-
_: 1
|
|
544
|
-
})
|
|
545
|
-
]),
|
|
546
|
-
_: 1
|
|
547
|
-
})
|
|
548
|
-
])
|
|
549
|
-
], 64)) : (n(), P(c, {
|
|
550
|
-
key: 0,
|
|
551
|
-
class: "p-8 text-center"
|
|
552
|
-
}, {
|
|
553
|
-
default: l(() => [...e[1] || (e[1] = [
|
|
554
|
-
s("div", { class: "mx-auto max-w-md space-y-3" }, [
|
|
555
|
-
s("p", { class: "text-lg font-medium" }, "Setup required"),
|
|
556
|
-
s("p", { class: "text-sm text-muted-foreground" }, "Connect a Google Service Account and enter your GA4 Property ID in the module settings to start seeing analytics.")
|
|
557
|
-
], -1)
|
|
558
|
-
])]),
|
|
559
|
-
_: 1
|
|
560
|
-
}))
|
|
561
|
-
]);
|
|
562
|
-
};
|
|
563
|
-
}
|
|
564
|
-
});
|
|
565
|
-
export {
|
|
566
|
-
Nt as default
|
|
567
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),v=require("@oneclick.dev/cms-kit"),s=require("lucide-vue-next"),G={class:"container mx-auto p-8"},R={key:0},H={class:"flex gap-2"},P={key:2},q={class:"flex justify-between items-center gap-4 mb-4"},F={key:0,class:"flex items-center gap-2"},J={class:"mr-2"},L=["onClick"],U={class:"flex justify-between items-center mb-2"},Y=["onClick"],K={class:"text-lg font-medium"},X={class:"text-sm text-muted-foreground"},Q={key:0},W={key:1},Z={key:0,class:"flex justify-end mt-8"},ee=e.defineComponent({__name:"Overview",setup(te){const{config:u}=v.useModule(),k=v.useFirebaseIntegration(u.project),{navigateTo:p}=v.useModuleRoute(),{confirm:b}=v.useConfirmation(),{hasPermission:c}=v.useModulePermissions();v.useModuleBreadcrumbs(()=>[]);const g=e.ref(null),d=e.ref(!1),a=e.ref([]),V=e.ref("importAgendasInput"),A=n=>{d.value=!0,a.value=[n]},N=async()=>{g.value=await k.find(u.agendaCollection)},M=async n=>{if(!c("create-agendas"))return;const t=await k.get(u.agendaCollection,n);if(!t){alert("Agenda not found");return}const l=prompt("Enter name for duplicated agenda",t.serviceName+" (Copy)");if(!l)return;const r={...t,serviceName:l};delete r.id,await k.add(u.agendaCollection,r),await N()},T=async n=>{!c("delete-agendas")||!await b("Are you sure you want to delete this agenda? This action cannot be undone.")||(await k.remove(u.agendaCollection,n),await N())},$=async()=>{let n=g.value.filter(r=>a.value.includes(r.id));n=n.map(r=>{const{id:m,...f}=r;return f});const t="data:text/json;charset=utf-8,"+encodeURIComponent(JSON.stringify(n,null,2)),l=document.createElement("a");l.setAttribute("href",t),l.setAttribute("download","agendas_export.json"),document.body.appendChild(l),l.click(),l.remove(),d.value=!1,a.value=[]},D=async n=>{const t=n.target;if(!t.files||t.files.length===0)return;const r=await t.files[0].text();let m;try{m=JSON.parse(r)}catch{alert("Invalid JSON file");return}if(!Array.isArray(m)){alert("Invalid agendas format");return}for(const f of m)await k.add(u.agendaCollection,f);t.value="",await N()},I=n=>{d.value||(c("edit-agendas")?p(`/edit/${n}`):p(`/edit/${n}/agenda`))};return N(),(n,t)=>{const l=e.resolveComponent("Spinner"),r=e.resolveComponent("EmptyMedia"),m=e.resolveComponent("EmptyTitle"),f=e.resolveComponent("EmptyDescription"),S=e.resolveComponent("EmptyHeader"),i=e.resolveComponent("Button"),j=e.resolveComponent("EmptyContent"),O=e.resolveComponent("Empty"),_=e.resolveComponent("DropdownMenuTrigger"),x=e.resolveComponent("DropdownMenuItem"),w=e.resolveComponent("DropdownMenuGroup"),y=e.resolveComponent("DropdownMenuContent"),B=e.resolveComponent("DropdownMenu"),E=e.resolveComponent("ButtonGroup"),h=e.resolveComponent("Checkbox");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",G,[g.value===null?(e.openBlock(),e.createElementBlock("div",R,[e.createVNode(l,{class:"mx-auto"})])):g.value.length===0?(e.openBlock(),e.createBlock(O,{key:1},{default:e.withCtx(()=>[e.createVNode(S,null,{default:e.withCtx(()=>[e.createVNode(r,{variant:"icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(s.CalendarX),{class:"size-4-6"})]),_:1}),e.createVNode(m,null,{default:e.withCtx(()=>[...t[4]||(t[4]=[e.createTextVNode("No Agendas Yet",-1)])]),_:1}),e.createVNode(f,null,{default:e.withCtx(()=>[...t[5]||(t[5]=[e.createTextVNode(" You haven't created any agenda yet. Get started by creating your first agenda. ",-1)])]),_:1})]),_:1}),e.createVNode(j,null,{default:e.withCtx(()=>[e.createElementVNode("div",H,[e.createVNode(i,{onClick:t[0]||(t[0]=o=>e.unref(p)("/create"))},{default:e.withCtx(()=>[...t[6]||(t[6]=[e.createTextVNode("Create Agenda",-1)])]),_:1})])]),_:1})]),_:1})):(e.openBlock(),e.createElementBlock("div",P,[e.createElementVNode("div",q,[t[9]||(t[9]=e.createElementVNode("h2",{class:"text-2xl font-bold"},"Agendas",-1)),d.value?(e.openBlock(),e.createElementBlock("div",F,[e.createElementVNode("span",J,e.toDisplayString(a.value.length)+" selected",1),e.createVNode(i,{variant:"outline",onClick:t[1]||(t[1]=o=>{d.value=!1,a.value=[]})},{default:e.withCtx(()=>[...t[7]||(t[7]=[e.createTextVNode(" Cancel ",-1)])]),_:1}),e.createVNode(i,{onClick:$,disabled:a.value.length===0},{default:e.withCtx(()=>[...t[8]||(t[8]=[e.createTextVNode(" Export ",-1)])]),_:1},8,["disabled"])])):e.createCommentVNode("",!0)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,o=>(e.openBlock(),e.createElementBlock("button",{key:o.id,class:e.normalizeClass(["block w-full mb-4 p-4 border rounded-md bg-background",{"cursor-pointer hover:bg-accent focus-visible:outline-0 focus:ring-2 ring-ring/50":d.value}]),onClick:C=>d.value?a.value.includes(o.id)?a.value=a.value.filter(z=>z!==o.id):a.value.push(o.id):null},[e.createElementVNode("div",U,[e.createElementVNode("div",{class:"flex flex-col items-start",onClick:C=>I(o.id)},[e.createElementVNode("h3",K,e.toDisplayString(o.serviceName),1),e.createElementVNode("p",X,[o.type==="regular"?(e.openBlock(),e.createElementBlock("span",Q,"Regular Agenda")):e.createCommentVNode("",!0)])],8,Y),d.value?(e.openBlock(),e.createElementBlock("div",W,[a.value.includes(o.id)?(e.openBlock(),e.createBlock(h,{key:0,tabindex:"-1",defaultValue:!0})):(e.openBlock(),e.createBlock(h,{key:1,tabindex:"-1",defaultValue:!1}))])):(e.openBlock(),e.createBlock(E,{key:0},{default:e.withCtx(()=>[e.unref(c)("edit-agendas")?(e.openBlock(),e.createBlock(i,{key:0,variant:"outline",onClick:C=>e.unref(p)(`/edit/${o.id}`)},{default:e.withCtx(()=>[...t[10]||(t[10]=[e.createTextVNode(" Edit Agenda ",-1)])]),_:1},8,["onClick"])):(e.openBlock(),e.createBlock(i,{key:1,variant:"outline",onClick:C=>e.unref(p)(`/edit/${o.id}/agenda`)},{default:e.withCtx(()=>[...t[11]||(t[11]=[e.createTextVNode(" View Agenda ",-1)])]),_:1},8,["onClick"])),e.createVNode(B,null,{default:e.withCtx(()=>[e.createVNode(_,{"as-child":""},{default:e.withCtx(()=>[e.createVNode(i,{variant:"outline",size:"icon","aria-label":"More Options"},{default:e.withCtx(()=>[e.createVNode(e.unref(s.MoreHorizontalIcon))]),_:1})]),_:1}),e.createVNode(y,{align:"end",class:"w-52"},{default:e.withCtx(()=>[e.createVNode(w,null,{default:e.withCtx(()=>[e.unref(c)("create-agendas")?(e.openBlock(),e.createBlock(x,{key:0,onClick:C=>M(o.id)},{default:e.withCtx(()=>[e.createVNode(e.unref(s.Copy)),t[12]||(t[12]=e.createTextVNode(" Duplicate Agenda ",-1))]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.createVNode(x,null,{default:e.withCtx(()=>[e.createVNode(e.unref(s.ChevronsLeftRightEllipsis)),t[13]||(t[13]=e.createTextVNode(" API Set-up ",-1))]),_:1}),e.createVNode(x,{onClick:C=>A(o.id)},{default:e.withCtx(()=>[e.createVNode(e.unref(s.Upload)),t[14]||(t[14]=e.createTextVNode(" Export Agenda ",-1))]),_:1},8,["onClick"]),e.unref(c)("delete-agendas")?(e.openBlock(),e.createBlock(x,{key:1,variant:"destructive",onClick:C=>T(o.id)},{default:e.withCtx(()=>[e.createVNode(e.unref(s.Trash2Icon)),t[15]||(t[15]=e.createTextVNode(" Remove Agenda ",-1))]),_:1},8,["onClick"])):e.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024))])],10,L))),128)),e.unref(c)("create-agendas")?(e.openBlock(),e.createElementBlock("div",Z,[e.createVNode(E,null,{default:e.withCtx(()=>[e.createVNode(i,{onClick:t[2]||(t[2]=o=>e.unref(p)("/create")),class:"border-r"},{default:e.withCtx(()=>[...t[16]||(t[16]=[e.createTextVNode("New Agenda",-1)])]),_:1}),e.createVNode(B,null,{default:e.withCtx(()=>[e.createVNode(_,{"as-child":""},{default:e.withCtx(()=>[e.createVNode(i,{size:"icon","aria-label":"More Options"},{default:e.withCtx(()=>[e.createVNode(e.unref(s.MoreHorizontalIcon))]),_:1})]),_:1}),e.createVNode(y,{align:"end",class:"w-52"},{default:e.withCtx(()=>[e.createVNode(w,null,{default:e.withCtx(()=>[e.createVNode(x,{onClick:t[3]||(t[3]=o=>V.value.click())},{default:e.withCtx(()=>[e.createVNode(e.unref(s.ImportIcon)),t[17]||(t[17]=e.createTextVNode(" Import Agendas... ",-1))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})])):e.createCommentVNode("",!0)]))]),e.createElementVNode("input",{type:"file",ref_key:"importAgendasInput",ref:V,class:"hidden",accept:".json,application/json",onChange:D},null,544)],64)}}});exports.default=ee;
|