@oneclick.dev/cms-core-modules 0.0.109 → 0.0.111
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-DgzDQH51.js +1 -0
- package/dist/Acquisition-FV3QpaUX.mjs +400 -0
- package/dist/AgendaOpeningHoursCard-B7ROIPWw.js +1 -0
- package/dist/AgendaOpeningHoursCard-Cp4wxUeK.mjs +172 -0
- package/dist/AppointmentDetailsCard-33WpATpV.mjs +161 -0
- package/dist/AppointmentDetailsCard-DpLM5IrB.js +1 -0
- package/dist/AppointmentEditor-BeOtYV6u.mjs +196 -0
- package/dist/AppointmentEditor-CaTfbkIf.js +1 -0
- package/dist/AppointmentListTable-DZJNmTMb.mjs +177 -0
- package/dist/AppointmentListTable-Dieu9US_.js +1 -0
- package/dist/Audience-BSgNvcVb.js +1 -0
- package/dist/Audience-ka0b7YPE.mjs +489 -0
- package/dist/Components-C83O-xlF.mjs +623 -0
- package/dist/Components-DXbx0RLV.js +1 -0
- package/dist/Content-BHr_rPVY.js +1 -0
- package/dist/Content-CYOZKvWK.mjs +358 -0
- package/dist/ContentEditor-pZPfo0qN.mjs +30802 -0
- package/dist/ContentEditor-tYkh4vRV.js +462 -0
- package/dist/CountryBreakdownCard-D7BK3nRD.js +1 -0
- package/dist/CountryBreakdownCard-DVxNz2DJ.mjs +196 -0
- package/dist/Create--MOBOTA-.js +1 -0
- package/dist/Create-BXNLRQag.mjs +1251 -0
- package/dist/DateFormatter-CSAbE3BC.js +1 -0
- package/dist/DateFormatter-qbhRYxI_.mjs +738 -0
- package/dist/Detail-BCOcP2ql.mjs +585 -0
- package/dist/Detail-Btzwo0Y3.mjs +3477 -0
- package/dist/Detail-Byk781b4.mjs +26 -0
- package/dist/Detail-C8wQiDcv.js +1 -0
- package/dist/Detail-CPqug27l.js +1 -0
- package/dist/Detail-ChD5XurA.mjs +379 -0
- package/dist/Detail-CjuhjPby.js +1 -0
- package/dist/Detail-DnX7tsqN.mjs +649 -0
- package/dist/Detail-RISEJJab.js +1 -0
- package/dist/Detail-mvSGbnFU.js +1 -0
- package/dist/DeviceBreakdownCard-DRhQ9ufG.js +1 -0
- package/dist/DeviceBreakdownCard-W1frLe0L.mjs +159 -0
- package/dist/EditLayout.vue_vue_type_script_setup_true_lang-DWMqQvHl.mjs +76 -0
- package/dist/EditLayout.vue_vue_type_script_setup_true_lang-kpjbVSXg.js +1 -0
- package/dist/Entries-BdhUyJR5.mjs +728 -0
- package/dist/Entries-CEXM_SkO.js +1 -0
- package/dist/Find-D4Qa45qC.js +1 -0
- package/dist/Find-zN_dKz4p.mjs +229 -0
- package/dist/GlobalStyling-C9VthHWK.mjs +1588 -0
- package/dist/GlobalStyling-CnSlXkZc.js +25 -0
- package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-Baqy-rTT.js +1 -0
- package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-Dx4Bpa2m.mjs +1263 -0
- package/dist/OrderDetailDialog.vue_vue_type_script_setup_true_lang-COrK1j0S.js +1 -0
- package/dist/OrderDetailDialog.vue_vue_type_script_setup_true_lang-Vb3q8EVv.mjs +330 -0
- package/dist/Overview-98nkJUWN.mjs +481 -0
- package/dist/Overview-BCpJNiEB.mjs +190 -0
- package/dist/Overview-BDlBCUI_.js +1 -0
- package/dist/Overview-BR_y8x3W.mjs +860 -0
- package/dist/Overview-BbvfH1u-.js +1 -0
- package/dist/Overview-Bn1Xx3_j.js +1 -0
- package/dist/Overview-CIa1E-HH.mjs +178 -0
- package/dist/Overview-CX-n6W7d.js +1 -0
- package/dist/Overview-DAxCu9XC.js +1 -0
- package/dist/Overview-Dl8cMlsr.js +1 -0
- package/dist/Overview-MpgkLB6m.mjs +567 -0
- package/dist/Overview-Su8ZUbMs.mjs +26 -0
- package/dist/Overview-T-lsy3UZ.js +1 -0
- package/dist/Overview-lWAyyenp.mjs +632 -0
- package/dist/PeakHoursCard-9-EZFZLR.mjs +182 -0
- package/dist/PeakHoursCard-BR5zmta4.js +1 -0
- package/dist/ProductDetailsCard-6nHikw4V.mjs +121 -0
- package/dist/ProductDetailsCard-Bn7qrgmc.js +1 -0
- package/dist/RealtimeCard--APfRNc8.js +1 -0
- package/dist/RealtimeCard-fvQlJcM7.mjs +126 -0
- package/dist/ReservationDetailDialog.vue_vue_type_script_setup_true_lang-CuwREvXD.js +349 -0
- package/dist/ReservationDetailDialog.vue_vue_type_script_setup_true_lang-GYNZ_yhD.mjs +3077 -0
- package/dist/SearchTermsCard-BsB-63aH.js +1 -0
- package/dist/SearchTermsCard-BzVrHKqQ.mjs +201 -0
- package/dist/SendPush-COns44j7.js +1 -0
- package/dist/SendPush-CPIOjVX4.mjs +184 -0
- package/dist/SeoHealth-C5npw7mE.js +1 -0
- package/dist/SeoHealth-bVQj_Xgm.mjs +615 -0
- package/dist/TableView-Bf1fdJrD.mjs +6159 -0
- package/dist/TableView-DNcXyIMu.js +4 -0
- package/dist/TemplateList.vue_vue_type_script_setup_true_lang-B_AtWnHa.js +1 -0
- package/dist/TemplateList.vue_vue_type_script_setup_true_lang-Cmovy7kk.mjs +40 -0
- package/dist/TopPagesCard-BDeA997A.js +1 -0
- package/dist/TopPagesCard-CTozhOr_.mjs +159 -0
- package/dist/TrafficSourcesCard-BxtCKsqx.mjs +197 -0
- package/dist/TrafficSourcesCard-C3ziDTUL.js +1 -0
- package/dist/View-CsudjxCE.mjs +30 -0
- package/dist/View-Dw_wA6kK.js +1 -0
- package/dist/VisitorStatsCard-BmByE_Hi.js +1 -0
- package/dist/VisitorStatsCard-CXizEbVK.mjs +174 -0
- package/dist/_plugin-vue_export-helper-BHFhmbuH.js +1 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/dist/agenda-BaJu3-1c.js +1 -0
- package/dist/agenda-BwVY_8oM.mjs +1165 -0
- package/dist/availability-CMrRa5y2.mjs +269 -0
- package/dist/availability-Cf2YfMwM.js +1 -0
- package/dist/booking-data-DgJd0BcM.mjs +889 -0
- package/dist/booking-data-Di5GmH_8.js +1 -0
- package/dist/cms-core-modules.css +1 -2
- package/dist/countries-BTPvmrsb.mjs +4 -0
- package/dist/countries-CgZ081No.js +1 -0
- package/dist/exceptions-B6P9UiCj.js +1 -0
- package/dist/exceptions-De9-FvdP.mjs +646 -0
- package/dist/google-CvtuJwgk.mjs +4 -0
- package/dist/google-D4N3gb01.js +1 -0
- package/dist/index-4tjmIans.js +1 -0
- package/dist/index-9HVlmvK3.js +1 -0
- package/dist/index-B8GvmAwh.mjs +1403 -0
- package/dist/index-BIF2RB7k.mjs +2836 -0
- package/dist/index-BWDwEd8D.mjs +24 -0
- package/dist/index-BfBBm9uY.mjs +24 -0
- package/dist/index-Bkq58CeQ.mjs +22 -0
- package/dist/index-ByRsp77L.js +70 -0
- package/dist/index-CFzn2Lus.mjs +172 -0
- package/dist/index-CJQQBRLY.js +1 -0
- package/dist/index-CQkOH2_3.mjs +24 -0
- package/dist/index-CSxYBeVA.js +1 -0
- package/dist/index-CU-tbS5W.mjs +24 -0
- package/dist/index-CZn2nDLv.mjs +34 -0
- package/dist/index-CkVwMqpn.mjs +3857 -0
- package/dist/index-CkiNvRzs.js +1 -0
- package/dist/index-Co4ON2Di.js +1 -0
- package/dist/index-Cpnn_Pxd.mjs +24 -0
- package/dist/index-CsVeM3PA.mjs +24 -0
- package/dist/index-CwqrAU-H.js +1 -0
- package/dist/index-CxETuRsG.js +1 -0
- package/dist/index-Cz-baGax.js +1 -0
- package/dist/index-DFQGVHTs.js +1 -0
- package/dist/index-DL6orwdK.js +35 -0
- package/dist/index-DPd3waTN.js +1 -0
- package/dist/index-DRqJOqUR.mjs +3484 -0
- package/dist/index-DUlYrnXH.js +58 -0
- package/dist/index-DZV720u-.mjs +439 -0
- package/dist/index-D_nfGegA.js +184 -0
- package/dist/index-DjWuIBxh.js +1 -0
- package/dist/index-Dnn2SCSl.js +1 -0
- package/dist/index-Dpl9sU6a.mjs +12 -0
- package/dist/index-DrXxXB2F.mjs +138 -0
- package/dist/index-DtSvAFLL.js +54 -0
- package/dist/index-L54VBzwJ.mjs +109 -0
- package/dist/index-R2oUDsjx.js +1 -0
- package/dist/index-RLz1QPrf.mjs +203 -0
- package/dist/index-UtjLbLw-.js +1 -0
- package/dist/index-cOnxXTbF.mjs +24 -0
- package/dist/index-hH3e-IYz.mjs +1187 -0
- package/dist/index-hlylYYgy.mjs +24 -0
- package/dist/index-ijdf0d9-.js +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.mjs +806 -1095
- package/dist/interpolation-CHn59tIC.js +1 -0
- package/dist/interpolation-w7IRDJwK.mjs +180 -0
- package/dist/math-BJ-oX_IM.mjs +80 -0
- package/dist/math-emotyaF6.js +1 -0
- package/dist/orders-C65SlpJy.mjs +618 -0
- package/dist/orders-XVzWAgG1.js +1 -0
- package/dist/payment-C3ohkehF.mjs +1080 -0
- package/dist/payment-Dfr-Ro-a.js +1 -0
- package/dist/regular-1LXNPviB.js +1 -0
- package/dist/regular-_05oq5Tx.mjs +1101 -0
- package/dist/resources-CxeFd57z.js +1 -0
- package/dist/resources-DwYxn2Vi.mjs +811 -0
- package/dist/server-handlers.cjs.js +1 -1
- package/dist/server-handlers.mjs +996 -1049
- package/dist/src/appointments/chat-components/AgendaOpeningHoursCard.vue.d.ts +15 -0
- package/dist/src/appointments/chat-components/AppointmentDetailsCard.vue.d.ts +14 -0
- package/dist/src/appointments/chat-components/AppointmentEditor.vue.d.ts +14 -0
- package/dist/src/appointments/chat-components/AppointmentListTable.vue.d.ts +14 -0
- package/dist/src/appointments/components/create/StepNavigation.vue.d.ts +32 -0
- package/dist/src/appointments/components/create/regular/Step1.vue.d.ts +2 -0
- package/dist/src/appointments/components/create/regular/Step2.vue.d.ts +2 -0
- package/dist/src/appointments/components/create/regular/Step3.vue.d.ts +2 -0
- package/dist/src/appointments/components/create/regular/Step4.vue.d.ts +2 -0
- package/dist/src/appointments/components/edit/CustomerInformationFieldEditorDialog.vue.d.ts +24 -0
- package/dist/src/appointments/components/edit/EditLayout.vue.d.ts +17 -0
- package/dist/src/appointments/components/edit/Event24hSidebar.vue.d.ts +2 -0
- package/dist/src/appointments/components/edit/EventDialog/ApproveReservationDialog.vue.d.ts +8 -0
- package/dist/src/appointments/components/edit/EventDialog/BookingsList.vue.d.ts +136 -0
- package/dist/src/appointments/components/edit/EventDialog/CancelReservationDialog.vue.d.ts +8 -0
- package/dist/src/appointments/components/edit/EventDialog/EventDialog.vue.d.ts +11 -0
- package/dist/src/appointments/components/edit/EventDialog/OrderDetailDialog.vue.d.ts +55 -0
- package/dist/src/appointments/components/edit/EventDialog/RejectReservationDialog.vue.d.ts +8 -0
- package/dist/src/appointments/components/edit/EventDialog/ReservationDetailDialog.vue.d.ts +87 -0
- package/dist/src/appointments/components/edit/EventDialog/TimelineChart.vue.d.ts +24 -0
- package/dist/src/appointments/components/edit/EventDialog/TransferReservationDialog.vue.d.ts +4 -0
- package/dist/src/appointments/components/edit/EventTimeIndicator.vue.d.ts +12 -0
- package/dist/src/appointments/components/edit/EventTimeline.vue.d.ts +48 -0
- package/dist/src/appointments/components/edit/EventView.vue.d.ts +9 -0
- package/dist/src/appointments/components/edit/ExceptionDialog.vue.d.ts +29 -0
- package/dist/src/appointments/components/edit/MetadataSchemaEditorDialog.vue.d.ts +12 -0
- package/dist/src/appointments/components/edit/NewReservationDialog/CustomerInformation.vue.d.ts +10 -0
- package/dist/src/appointments/components/edit/NewReservationDialog/NewReservationDialog.vue.d.ts +26 -0
- package/dist/src/appointments/components/edit/NewReservationDialog/QuickReservationAdder.vue.d.ts +26 -0
- package/dist/src/appointments/components/edit/NewReservationDialog/ReservationLines.vue.d.ts +31 -0
- package/dist/src/appointments/components/edit/OrderMetadataDisplay.vue.d.ts +21 -0
- package/dist/src/appointments/components/edit/PaymentAddons/Addon.vue.d.ts +22 -0
- package/dist/src/appointments/components/edit/PaymentAddons/AddonList.vue.d.ts +5 -0
- package/dist/src/appointments/components/edit/PaymentAddons/index.vue.d.ts +15 -0
- package/dist/src/appointments/components/edit/ResourceEditorDialog.vue.d.ts +13 -0
- package/dist/src/appointments/components/edit/dashboard/Timeline.vue.d.ts +36 -0
- package/dist/src/appointments/components/edit/dashboard/timeline/ResourceSelector.vue.d.ts +50 -0
- package/dist/src/appointments/index.d.ts +12 -9
- package/dist/src/appointments/index.vue.d.ts +22 -0
- package/dist/src/appointments/metadata.d.ts +1 -1
- package/dist/src/appointments/pages/Overview.vue.d.ts +4 -0
- package/dist/src/appointments/pages/create/index.vue.d.ts +2 -0
- package/dist/src/appointments/pages/create/regular.vue.d.ts +6 -0
- package/dist/src/appointments/pages/edit/agenda.vue.d.ts +4 -0
- package/dist/src/appointments/pages/edit/availability.vue.d.ts +2 -0
- package/dist/src/appointments/pages/edit/booking-data.vue.d.ts +65 -0
- package/dist/src/appointments/pages/edit/index.vue.d.ts +2 -0
- package/dist/src/appointments/pages/edit/payment.vue.d.ts +2 -0
- package/dist/src/appointments/pages/edit/resources.vue.d.ts +28 -0
- package/dist/src/appointments/routes.d.ts +6 -3
- package/dist/src/contentManager/components/components/ComponentDialog.vue.d.ts +12 -0
- package/dist/src/contentManager/components/components/ComponentGridItem.vue.d.ts +16 -0
- package/dist/src/contentManager/components/content-editor/ApiDocs.vue.d.ts +2 -0
- package/dist/src/contentManager/components/content-editor/ContentLayout.vue.d.ts +49 -0
- package/dist/src/contentManager/components/content-editor/ContentSettings.vue.d.ts +24 -0
- package/dist/src/contentManager/components/content-editor/ContentStructuredContentSections.vue.d.ts +4 -0
- package/dist/src/contentManager/components/content-editor/Header.vue.d.ts +64 -0
- package/dist/src/contentManager/components/content-editor/LivePreviewWrapper.vue.d.ts +53 -0
- package/dist/src/contentManager/components/content-editor/Locales.vue.d.ts +44 -0
- package/dist/src/contentManager/components/content-editor/NewSectionDialog.vue.d.ts +21 -0
- package/dist/src/contentManager/components/content-editor/PageSettings.vue.d.ts +2 -0
- package/dist/src/contentManager/components/content-editor/SEO.vue.d.ts +14 -0
- package/dist/src/contentManager/components/content-editor/SidebarSectionWrapper.vue.d.ts +39 -0
- package/dist/src/contentManager/components/content-editor/Status.vue.d.ts +2 -0
- package/dist/src/contentManager/components/content-editor/Versions.vue.d.ts +63 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Button.vue.d.ts +94 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Card.vue.d.ts +92 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Column.vue.d.ts +92 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Container.vue.d.ts +92 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Divider.vue.d.ts +92 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/EmptySpace.vue.d.ts +94 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Heading.vue.d.ts +92 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Image.vue.d.ts +92 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/LockBlocks.d.ts +0 -15
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Map.vue.d.ts +92 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Paragraph.vue.d.ts +92 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Row.vue.d.ts +115 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/ScopedSelectAll.d.ts +1 -2
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Stack.vue.d.ts +115 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/TrailingNodeInContainers.d.ts +1 -4
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Video.vue.d.ts +92 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/extension-details/DetailsNodeView.vue.d.ts +92 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/helpers/NodeLabel.vue.d.ts +108 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/helpers/ResizeHandlers.vue.d.ts +20 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/helpers/TopMarginDragger.vue.d.ts +104 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/helpers/useFocus.d.ts +1 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/BubbleMenuClassBuilder.vue.d.ts +19 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/BubbleMenuLinkBuilder.vue.d.ts +19 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/BubbleMenuToggleButton.vue.d.ts +29 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/DefaultBubbleMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/ElementEditorMenu.vue.d.ts +19 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/EmojiMenu.vue.d.ts +8 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/NewNodeView.vue.d.ts +47 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/SlashMenu.vue.d.ts +6 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/SlashMenuButton.vue.d.ts +17 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/ButtonMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/CardMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/ColumnMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/DividerMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/EmptySpaceMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/HeadingMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/ImageMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/MapMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/RowMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/StackMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/TextMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/VideoMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/index.d.ts +132 -12
- package/dist/src/contentManager/components/overview/CollectionDialog.vue.d.ts +30 -0
- package/dist/src/contentManager/components/overview/CollectionsGridView.vue.d.ts +18 -0
- package/dist/src/contentManager/components/overview/ContentEntryContextMenu.vue.d.ts +27 -0
- package/dist/src/contentManager/components/overview/FilterPopover.vue.d.ts +2 -0
- package/dist/src/contentManager/components/overview/ListView.vue.d.ts +12 -0
- package/dist/src/contentManager/components/styling/ButtonStyleDialog.vue.d.ts +24 -0
- package/dist/src/contentManager/components/styling/CardStyleDialog.vue.d.ts +24 -0
- package/dist/src/contentManager/components/styling/SectionStyleDialog.vue.d.ts +24 -0
- package/dist/src/contentManager/index.d.ts +14 -5
- package/dist/src/contentManager/index.vue.d.ts +22 -0
- package/dist/src/contentManager/metadata.d.ts +1 -1
- package/dist/src/contentManager/pages/Components.vue.d.ts +27 -0
- package/dist/src/contentManager/pages/ContentEditor.vue.d.ts +14 -0
- package/dist/src/contentManager/pages/Entries.vue.d.ts +16 -0
- package/dist/src/contentManager/pages/GlobalStyling.vue.d.ts +117 -0
- package/dist/src/contentManager/pages/Overview.vue.d.ts +57 -0
- package/dist/src/contentManager/routes.d.ts +12 -3
- package/dist/src/custom/index.d.ts +2 -2
- package/dist/src/custom/index.vue.d.ts +2 -0
- package/dist/src/custom/pages/View.vue.d.ts +2 -0
- package/dist/src/custom/routes.d.ts +1 -1
- package/dist/src/googleAnalytics/chat-components/CountryBreakdownCard.vue.d.ts +14 -0
- package/dist/src/googleAnalytics/chat-components/DeviceBreakdownCard.vue.d.ts +14 -0
- package/dist/src/googleAnalytics/chat-components/PeakHoursCard.vue.d.ts +14 -0
- package/dist/src/googleAnalytics/chat-components/RealtimeCard.vue.d.ts +14 -0
- package/dist/src/googleAnalytics/chat-components/SearchTermsCard.vue.d.ts +14 -0
- package/dist/src/googleAnalytics/chat-components/TopPagesCard.vue.d.ts +14 -0
- package/dist/src/googleAnalytics/chat-components/TrafficSourcesCard.vue.d.ts +14 -0
- package/dist/src/googleAnalytics/chat-components/VisitorStatsCard.vue.d.ts +14 -0
- package/dist/src/googleAnalytics/components/seo-health/SeoClicksChart.vue.d.ts +5 -0
- package/dist/src/googleAnalytics/components/seo-health/SeoImpressionsChart.vue.d.ts +5 -0
- package/dist/src/googleAnalytics/components/seo-health/SeoKeywordsTab.vue.d.ts +5 -0
- package/dist/src/googleAnalytics/components/seo-health/SeoKpiCards.vue.d.ts +10 -0
- package/dist/src/googleAnalytics/components/seo-health/SeoMappingTab.vue.d.ts +5 -0
- package/dist/src/googleAnalytics/components/seo-health/SeoPagesTab.vue.d.ts +5 -0
- package/dist/src/googleAnalytics/components/seo-health/SeoRankingDistribution.vue.d.ts +5 -0
- package/dist/src/googleAnalytics/index.d.ts +10 -10
- package/dist/src/googleAnalytics/index.vue.d.ts +2 -0
- package/dist/src/googleAnalytics/pages/Acquisition.vue.d.ts +2 -0
- package/dist/src/googleAnalytics/pages/Audience.vue.d.ts +2 -0
- package/dist/src/googleAnalytics/pages/Content.vue.d.ts +2 -0
- package/dist/src/googleAnalytics/pages/Overview.vue.d.ts +2 -0
- package/dist/src/googleAnalytics/pages/SeoHealth.vue.d.ts +2 -0
- package/dist/src/googleAnalytics/routes.d.ts +1 -1
- package/dist/src/mailTemplates/components/TemplateList.vue.d.ts +2 -0
- package/dist/src/mailTemplates/index.d.ts +3 -3
- package/dist/src/mailTemplates/index.vue.d.ts +22 -0
- package/dist/src/mailTemplates/metadata.d.ts +1 -1
- package/dist/src/mailTemplates/pages/Detail.vue.d.ts +14 -0
- package/dist/src/mailTemplates/pages/Overview.vue.d.ts +14 -0
- package/dist/src/mailTemplates/routes.d.ts +1 -1
- package/dist/src/productCollections/components/detail/Main.vue.d.ts +2 -0
- package/dist/src/productCollections/components/detail/SEO.vue.d.ts +2 -0
- package/dist/src/productCollections/components/detail/Status.vue.d.ts +2 -0
- package/dist/src/productCollections/components/overview/ListView.vue.d.ts +12 -0
- package/dist/src/productCollections/index.d.ts +3 -3
- package/dist/src/productCollections/index.vue.d.ts +22 -0
- package/dist/src/productCollections/metadata.d.ts +1 -1
- package/dist/src/productCollections/pages/Detail.vue.d.ts +14 -0
- package/dist/src/productCollections/pages/Overview.vue.d.ts +16 -0
- package/dist/src/productCollections/routes.d.ts +1 -1
- package/dist/src/products/chat-components/ProductDetailsCard.vue.d.ts +14 -0
- package/dist/src/products/components/detail/Collections.vue.d.ts +14 -0
- package/dist/src/products/components/detail/Inventory.vue.d.ts +2 -0
- package/dist/src/products/components/detail/Main.vue.d.ts +2 -0
- package/dist/src/products/components/detail/NewSection.vue.d.ts +2 -0
- package/dist/src/products/components/detail/Price.vue.d.ts +2 -0
- package/dist/src/products/components/detail/SEO.vue.d.ts +2 -0
- package/dist/src/products/components/detail/Shipping.vue.d.ts +2 -0
- package/dist/src/products/components/detail/Status.vue.d.ts +2 -0
- package/dist/src/products/components/detail/price/UnitPriceDialog.vue.d.ts +17 -0
- package/dist/src/products/components/detail/variants/Option.vue.d.ts +33 -0
- package/dist/src/products/components/detail/variants/VariantList.vue.d.ts +38 -0
- package/dist/src/products/components/overview/FilterPopover.vue.d.ts +2 -0
- package/dist/src/products/components/overview/GridView.vue.d.ts +12 -0
- package/dist/src/products/components/overview/ListView.vue.d.ts +12 -0
- package/dist/src/products/components/overview/ProductContextMenu.vue.d.ts +27 -0
- package/dist/src/products/index.d.ts +4 -4
- package/dist/src/products/index.vue.d.ts +22 -0
- package/dist/src/products/metadata.d.ts +1 -1
- package/dist/src/products/pages/Detail.vue.d.ts +14 -0
- package/dist/src/products/pages/Overview.vue.d.ts +16 -0
- package/dist/src/products/routes.d.ts +1 -1
- package/dist/src/promoCodes/components/create/DateRange.vue.d.ts +2 -0
- package/dist/src/promoCodes/components/create/MultiCodes.vue.d.ts +2 -0
- package/dist/src/promoCodes/components/create/Note.vue.d.ts +2 -0
- package/dist/src/promoCodes/components/create/SingleCode.vue.d.ts +2 -0
- package/dist/src/promoCodes/components/create/TypeAndValue/TypeDetailDialog.vue.d.ts +6 -0
- package/dist/src/promoCodes/components/create/TypeAndValue/TypeManageDialog.vue.d.ts +18 -0
- package/dist/src/promoCodes/components/create/TypeAndValue/index.vue.d.ts +2 -0
- package/dist/src/promoCodes/index.d.ts +3 -3
- package/dist/src/promoCodes/index.vue.d.ts +22 -0
- package/dist/src/promoCodes/metadata.d.ts +1 -1
- package/dist/src/promoCodes/pages/Create.vue.d.ts +16 -0
- package/dist/src/promoCodes/pages/Detail.vue.d.ts +14 -0
- package/dist/src/promoCodes/pages/Find.vue.d.ts +16 -0
- package/dist/src/promoCodes/routes.d.ts +1 -1
- package/dist/src/push-notifications/components/PreviewAndroid.vue.d.ts +28 -0
- package/dist/src/push-notifications/components/PreviewIPhone.vue.d.ts +28 -0
- package/dist/src/push-notifications/components/PushPreview.vue.d.ts +28 -0
- package/dist/src/push-notifications/index.d.ts +3 -3
- package/dist/src/push-notifications/index.vue.d.ts +22 -0
- package/dist/src/push-notifications/metadata.d.ts +1 -1
- package/dist/src/push-notifications/pages/SendPush.vue.d.ts +14 -0
- package/dist/src/push-notifications/routes.d.ts +1 -1
- package/dist/src/shared/BrandLogo.vue.d.ts +12 -0
- package/dist/src/shared/DrawerToggle.vue.d.ts +60 -0
- package/dist/src/shared/VerticalToggle.vue.d.ts +60 -0
- package/dist/src/shippingOptions/components/detail/Condition.vue.d.ts +2 -0
- package/dist/src/shippingOptions/components/detail/Countries.vue.d.ts +2 -0
- package/dist/src/shippingOptions/components/detail/Example.vue.d.ts +2 -0
- package/dist/src/shippingOptions/components/detail/Main.vue.d.ts +2 -0
- package/dist/src/shippingOptions/components/overview/ListView.vue.d.ts +12 -0
- package/dist/src/shippingOptions/index.d.ts +3 -3
- package/dist/src/shippingOptions/index.vue.d.ts +22 -0
- package/dist/src/shippingOptions/metadata.d.ts +1 -1
- package/dist/src/shippingOptions/pages/Detail.vue.d.ts +14 -0
- package/dist/src/shippingOptions/pages/Overview.vue.d.ts +16 -0
- package/dist/src/shippingOptions/routes.d.ts +1 -1
- package/dist/src/table/components/DataTable.vue.d.ts +18 -0
- package/dist/src/table/components/DataTableAction.vue.d.ts +14 -0
- package/dist/src/table/components/DataTableMobileRowActionDrawer.vue.d.ts +4 -0
- package/dist/src/table/components/DataTablePagination.vue.d.ts +6 -0
- package/dist/src/table/components/actions/ActionDialog.vue.d.ts +19 -0
- package/dist/src/table/components/actions/CtaActionDialog.vue.d.ts +4 -0
- package/dist/src/table/components/columns/ColumnDropdown.vue.d.ts +2 -0
- package/dist/src/table/components/columns/ColumnEditorDialog.vue.d.ts +34 -0
- package/dist/src/table/components/columns/DialogTableColumnItem.vue.d.ts +12 -0
- package/dist/src/table/components/date-range-filter/DateRangeFilter.vue.d.ts +2 -0
- package/dist/src/table/components/date-range-filter/DateRangeSettingsDialog.vue.d.ts +27 -0
- package/dist/src/table/components/filters/FilterDialog.vue.d.ts +12 -0
- package/dist/src/table/components/filters/Filters.vue.d.ts +27 -0
- package/dist/src/table/components/search/Search.vue.d.ts +2 -0
- package/dist/src/table/components/sort/SortMode.vue.d.ts +2 -0
- package/dist/src/table/components/sort/SortModeSettingsDialog.vue.d.ts +18 -0
- package/dist/src/table/components/stats/StatDialog.vue.d.ts +12 -0
- package/dist/src/table/components/stats/Stats.vue.d.ts +27 -0
- package/dist/src/table/flow-builder-extensions/TableRowEditor.vue.d.ts +16 -0
- package/dist/src/table/flow-builder-extensions/row-item.d.ts +17 -3
- package/dist/src/table/index.d.ts +2 -2
- package/dist/src/table/index.vue.d.ts +22 -0
- package/dist/src/table/pages/TableView.vue.d.ts +54 -0
- package/dist/src/table/routes.d.ts +1 -1
- package/dist/src/types/index.d.ts +0 -6
- package/dist/utils-CanmrIWO.mjs +47 -0
- package/dist/utils-Yd6F5mea.js +3 -0
- package/dist/vee-validate-zod-ByykgYKJ.js +1 -0
- package/dist/vee-validate-zod-DNjTLCgh.mjs +4402 -0
- package/package.json +56 -55
- package/dist/Acquisition-DypEyPSO.js +0 -1
- package/dist/Acquisition-TCNX-th6.mjs +0 -308
- package/dist/AgendaOpeningHoursCard-BIhm0vpV.js +0 -1
- package/dist/AgendaOpeningHoursCard-BKUdJxRI.mjs +0 -133
- package/dist/AppointmentDetailsCard-C5rQ5jsW.js +0 -1
- package/dist/AppointmentDetailsCard-NRHeNP2L.mjs +0 -111
- package/dist/AppointmentEditor-BcF8CiD-.mjs +0 -150
- package/dist/AppointmentEditor-BlhFtoCm.js +0 -1
- package/dist/AppointmentListTable-B-ReBVtV.js +0 -1
- package/dist/AppointmentListTable-DHmy-iid.mjs +0 -129
- package/dist/Audience-CfWHjjg8.mjs +0 -394
- package/dist/Audience-Cj4TyauW.js +0 -1
- package/dist/Components-BehelN4r.js +0 -1
- package/dist/Components-CR6zukUU.mjs +0 -468
- package/dist/Content-C5Iye3t0.mjs +0 -257
- package/dist/Content-eOfBx52Y.js +0 -1
- package/dist/ContentEditor-BgL4qEeg.mjs +0 -26835
- package/dist/ContentEditor-Tlu3w0Hu.js +0 -462
- package/dist/CountryBreakdownCard-CWVyB8be.mjs +0 -151
- package/dist/CountryBreakdownCard-Db-pMiNe.js +0 -1
- package/dist/Create-B1it8S4m.js +0 -1
- package/dist/Create-DbYi0FAI.mjs +0 -907
- package/dist/DateFormatter-DLrDYkby.mjs +0 -630
- package/dist/DateFormatter-Dni0Oq8r.js +0 -1
- package/dist/Detail-D-eahJGO.mjs +0 -21
- package/dist/Detail-D0kdPPIm.mjs +0 -2757
- package/dist/Detail-DAafePYi.mjs +0 -485
- package/dist/Detail-DYpv4fYg.js +0 -1
- package/dist/Detail-Dc_ui4LM.js +0 -1
- package/dist/Detail-DccUekl_.js +0 -1
- package/dist/Detail-Dhz0V0Vf.js +0 -1
- package/dist/Detail-DjnGY0F8.mjs +0 -282
- package/dist/Detail-DplAitHg.mjs +0 -447
- package/dist/Detail-SugyeSxb.js +0 -1
- package/dist/DeviceBreakdownCard-CzxZT6To.js +0 -1
- package/dist/DeviceBreakdownCard-eEwPjzKl.mjs +0 -115
- package/dist/EditLayout-Bnz9q_jd.js +0 -1
- package/dist/EditLayout-J_DGXb8v.mjs +0 -99
- package/dist/Entries-CgpWg6fE.js +0 -1
- package/dist/Entries-CkGTXcAq.mjs +0 -575
- package/dist/Find-Bz0TNJzk.mjs +0 -164
- package/dist/Find-D-ItTXaZ.js +0 -1
- package/dist/GlobalStyling-CSQPF7o_.mjs +0 -1162
- package/dist/GlobalStyling-DabldMZh.js +0 -15
- package/dist/NewReservationDialog-BhIiY2B9.js +0 -1
- package/dist/NewReservationDialog-CN49aGcM.mjs +0 -1002
- package/dist/OrderDetailDialog-BJ01DZFe.js +0 -1
- package/dist/OrderDetailDialog-CoVQ_rzs.mjs +0 -215
- package/dist/Overview-9FMgn5hT.mjs +0 -492
- package/dist/Overview-BOOwMQ-c.mjs +0 -636
- package/dist/Overview-Biz3h60w.js +0 -1
- package/dist/Overview-C2K2ofdS.js +0 -1
- package/dist/Overview-CFHOXP9N.mjs +0 -123
- package/dist/Overview-CTJe7J5_.js +0 -1
- package/dist/Overview-Cvj2i9eW.js +0 -1
- package/dist/Overview-D2I1F8Dm.mjs +0 -21
- package/dist/Overview-DFOc9emt.mjs +0 -345
- package/dist/Overview-Dmhfb94Y.js +0 -1
- package/dist/Overview-PPzv7weG.mjs +0 -450
- package/dist/Overview-qFKcXHVF.js +0 -1
- package/dist/Overview-xkmYYTae.mjs +0 -133
- package/dist/Overview-yPsLvR2c.js +0 -1
- package/dist/PeakHoursCard-CtgEP-ez.mjs +0 -157
- package/dist/PeakHoursCard-DPeoMyhu.js +0 -1
- package/dist/ProductDetailsCard-B0WhmzO-.mjs +0 -98
- package/dist/ProductDetailsCard-C1ROuH6l.js +0 -1
- package/dist/RealtimeCard-DQno-Okz.js +0 -1
- package/dist/RealtimeCard-dR-g1iDo.mjs +0 -92
- package/dist/ReservationDetailDialog-Cdo6h0RD.mjs +0 -2163
- package/dist/ReservationDetailDialog-DZTFD2xI.js +0 -349
- package/dist/SearchTermsCard-BXJSXz_k.js +0 -1
- package/dist/SearchTermsCard-DsaxLKwP.mjs +0 -146
- package/dist/SendPush-Bssi-OZD.mjs +0 -150
- package/dist/SendPush-BuaYboRH.js +0 -1
- package/dist/SeoHealth-CP-kL0us.js +0 -1
- package/dist/SeoHealth-Cxp_Gb3Y.mjs +0 -459
- package/dist/TableView-7iwBkQ_k.mjs +0 -4757
- package/dist/TableView-BB_oIYYZ.js +0 -4
- package/dist/TemplateList-CNcM_Kgq.mjs +0 -56
- package/dist/TemplateList-VuPcBUJO.js +0 -1
- package/dist/TopPagesCard-CvDECn3_.mjs +0 -117
- package/dist/TopPagesCard-DNdATXJE.js +0 -1
- package/dist/TrafficSourcesCard-BLpBr7u0.mjs +0 -151
- package/dist/TrafficSourcesCard-_3gRUCw3.js +0 -1
- package/dist/View-DSnUHI7h.mjs +0 -30
- package/dist/View-Dbcfpdqh.js +0 -1
- package/dist/VisitorStatsCard-CFEnXSjF.mjs +0 -185
- package/dist/VisitorStatsCard-C_jhQxDW.js +0 -1
- package/dist/_plugin-vue_export-helper-5u7tqpWC.js +0 -1
- package/dist/_plugin-vue_export-helper-BJQSo0im.mjs +0 -8
- package/dist/agenda-CzMRcQTA.mjs +0 -989
- package/dist/agenda-D4zWRYSQ.js +0 -1
- package/dist/appointments-9syR5TZE.js +0 -1
- package/dist/appointments-BBmOJMhM.mjs +0 -23
- package/dist/array-BH1uH7XT.js +0 -1
- package/dist/array-DnDL9cFz.mjs +0 -98
- package/dist/availability-CAXB7Yd6.js +0 -1
- package/dist/availability-Dp7eF-ZK.mjs +0 -215
- package/dist/booking-data-Bysf6e5x.mjs +0 -724
- package/dist/booking-data-C6SGjC2X.js +0 -1
- package/dist/chunk-DQi1bQcV.js +0 -1
- package/dist/contentManager-D7JxXCwE.js +0 -1
- package/dist/contentManager-tfy0x1LD.mjs +0 -22
- package/dist/context-AQKfnJ4t.mjs +0 -3809
- package/dist/context-ubyMq9Xe.js +0 -54
- package/dist/core-Dhgr4ctC.mjs +0 -202
- package/dist/core-_HKfBlaZ.js +0 -1
- package/dist/countries-MXLT3mVe.mjs +0 -4
- package/dist/countries-OCd5qPxG.js +0 -1
- package/dist/create-BfNc2C7N.js +0 -1
- package/dist/create-C7JlIlIh.mjs +0 -95
- package/dist/custom-BwN9-6Mb.js +0 -1
- package/dist/custom-INNwaWla.mjs +0 -13
- package/dist/dist-BCVg7FKM.js +0 -1
- package/dist/dist-DIhK9VWh.mjs +0 -3045
- package/dist/edit-BiI2VG60.js +0 -35
- package/dist/edit-DD3iFBEh.mjs +0 -1097
- package/dist/exceptions-DICMaDcH.mjs +0 -462
- package/dist/exceptions-DpWqMNuG.js +0 -1
- package/dist/google-Bcc4XZnV.mjs +0 -4
- package/dist/google-DTSRmJ51.js +0 -1
- package/dist/googleAnalytics-BSaqRR_L.js +0 -1
- package/dist/googleAnalytics-Cg-iWblZ.mjs +0 -47
- package/dist/interpolation-B8OzkMyi.mjs +0 -131
- package/dist/interpolation-DpAqtGOW.js +0 -1
- package/dist/lib-4wSi00Vr.js +0 -1
- package/dist/lib-BZgXUui5.mjs +0 -198
- package/dist/line-DJdnFNI7.js +0 -75
- package/dist/line-tYLnEDGV.mjs +0 -1500
- package/dist/mailTemplates-BNk8fhVS.mjs +0 -23
- package/dist/mailTemplates-DswHzyQe.js +0 -1
- package/dist/orders-CIc0JlKX.mjs +0 -512
- package/dist/orders-DwPSi_pD.js +0 -1
- package/dist/payment-BsNWFaDm.js +0 -1
- package/dist/payment-Ced5_dpa.mjs +0 -718
- package/dist/productCollections-Cuvw_8zC.js +0 -1
- package/dist/productCollections-D0AxRlzr.mjs +0 -23
- package/dist/products-DUD-ZMkR.mjs +0 -22
- package/dist/products-DvX9B-Ul.js +0 -1
- package/dist/promoCodes-BCWqN6w4.mjs +0 -23
- package/dist/promoCodes-CEZ4LYot.js +0 -1
- package/dist/push-notifications-BGp4XWo9.js +0 -1
- package/dist/push-notifications-C7W7KuzR.mjs +0 -23
- package/dist/regular-BCFrS6lK.mjs +0 -908
- package/dist/regular-DBqPgT8C.js +0 -1
- package/dist/resources-DwsMmWgm.mjs +0 -669
- package/dist/resources-Dz81GkHe.js +0 -1
- package/dist/shippingOptions-C3NEJff1.mjs +0 -23
- package/dist/shippingOptions-Cy040ZW1.js +0 -1
- package/dist/single-container-BJmmqq65.mjs +0 -468
- package/dist/single-container-Xoo0Xzxv.js +0 -58
- package/dist/src/vue-shim.d.ts +0 -7
- package/dist/table-DWw0fs3S.js +0 -1
- package/dist/table-LXt5DQOL.mjs +0 -23
- package/dist/utils-CVIHqQsU.js +0 -3
- package/dist/utils-h3owcMtS.mjs +0 -37
- package/dist/vee-validate-zod-BmXMJo8W.js +0 -1
- package/dist/vee-validate-zod-D9dZzbWZ.mjs +0 -4985
- package/dist/xy-container-CuQSwrtB.mjs +0 -3180
- package/dist/xy-container-_6YpscZh.js +0 -158
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import { Fragment as e, computed as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createTextVNode as a, createVNode as o, defineComponent as s, normalizeClass as c, normalizeStyle as l, onMounted as u, openBlock as d, ref as f, renderList as p, resolveComponent as m, toDisplayString as h, unref as g, withCtx as ee } from "vue";
|
|
2
|
-
import { ExternalLink as te, Globe as _, Loader2 as ne, MousePointerClick as re, Users as v } from "@lucide/vue";
|
|
3
|
-
//#region src/googleAnalytics/chat-components/TrafficSourcesCard.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var y = { class: "w-full" }, b = {
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "flex items-center gap-2 py-3"
|
|
7
|
-
}, x = {
|
|
8
|
-
key: 1,
|
|
9
|
-
class: "text-xs text-destructive py-2"
|
|
10
|
-
}, S = {
|
|
11
|
-
key: 2,
|
|
12
|
-
class: "rounded-xl border bg-background p-4 text-center"
|
|
13
|
-
}, ie = {
|
|
14
|
-
key: 3,
|
|
15
|
-
class: "rounded-xl border bg-background overflow-hidden"
|
|
16
|
-
}, ae = { class: "px-3 py-2 border-b bg-muted/40 flex items-center justify-between" }, oe = { class: "flex items-center gap-2" }, se = { class: "text-[10px] text-muted-foreground" }, C = {
|
|
17
|
-
key: 0,
|
|
18
|
-
class: "px-3 pt-3 pb-2"
|
|
19
|
-
}, w = { class: "h-3 rounded-full bg-muted overflow-hidden flex" }, T = ["title"], E = { class: "flex flex-wrap gap-x-3 gap-y-1 mt-2" }, D = { class: "text-[10px] text-muted-foreground" }, O = { class: "text-[10px] font-medium" }, k = {
|
|
20
|
-
key: 1,
|
|
21
|
-
class: "border-t"
|
|
22
|
-
}, A = { class: "divide-y" }, j = { class: "text-xs font-medium truncate flex-1" }, M = { class: "flex items-center gap-3 text-[10px] text-muted-foreground shrink-0" }, N = { class: "flex items-center gap-1" }, P = { class: "flex items-center gap-1" }, F = { class: "px-3 py-2 border-t bg-muted/20 flex items-center justify-between" }, I = {
|
|
23
|
-
key: 0,
|
|
24
|
-
class: "text-[10px] text-muted-foreground"
|
|
25
|
-
}, L = /* @__PURE__ */ s({
|
|
26
|
-
__name: "TrafficSourcesCard",
|
|
27
|
-
props: {
|
|
28
|
-
toolName: {},
|
|
29
|
-
instanceId: {},
|
|
30
|
-
instanceName: {},
|
|
31
|
-
moduleType: {},
|
|
32
|
-
resolvedArgs: {},
|
|
33
|
-
status: {}
|
|
34
|
-
},
|
|
35
|
-
emits: ["submit"],
|
|
36
|
-
setup(s, { emit: L }) {
|
|
37
|
-
let { $useRoute: ce, $useModuleApi: R } = useNuxtApp(), z = s, B = L, V = ce(), H = t(() => V.params.slug), U = R(z.instanceId), W = f(!0), G = f(null), K = f([]), q = f([]), J = f(null);
|
|
38
|
-
function le() {
|
|
39
|
-
let e = z.resolvedArgs?._cachedData;
|
|
40
|
-
return e ? (q.value = (e.topChannels || []).map((e) => ({
|
|
41
|
-
sessionDefaultChannelGroup: e.channel,
|
|
42
|
-
sessions: e.sessions,
|
|
43
|
-
totalUsers: e.users,
|
|
44
|
-
newUsers: e.newUsers,
|
|
45
|
-
engagementRate: parseFloat(e.engagementRate) / 100
|
|
46
|
-
})), K.value = (e.topSources || []).map((e) => ({
|
|
47
|
-
sessionSource: e.source,
|
|
48
|
-
sessions: e.sessions,
|
|
49
|
-
totalUsers: e.users
|
|
50
|
-
})), J.value = z.resolvedArgs._fetchedAt || null, W.value = !1, !0) : !1;
|
|
51
|
-
}
|
|
52
|
-
async function ue() {
|
|
53
|
-
let { startDate: e, endDate: t } = z.resolvedArgs || {};
|
|
54
|
-
W.value = !0, G.value = null;
|
|
55
|
-
try {
|
|
56
|
-
let n = new URLSearchParams();
|
|
57
|
-
e && n.set("startDate", e), t && n.set("endDate", t);
|
|
58
|
-
let [r, i] = await Promise.all([U.get(`/top-sources?${n.toString()}`), U.get(`/acquisition/channels?${n.toString()}`)]);
|
|
59
|
-
K.value = r.rows || [], q.value = i.rows || [], J.value = (/* @__PURE__ */ new Date()).toISOString(), Y({
|
|
60
|
-
topChannels: q.value.map((e) => ({
|
|
61
|
-
channel: e.sessionDefaultChannelGroup,
|
|
62
|
-
sessions: e.sessions,
|
|
63
|
-
users: e.totalUsers,
|
|
64
|
-
newUsers: e.newUsers,
|
|
65
|
-
engagementRate: `${(e.engagementRate * 100).toFixed(1)}%`
|
|
66
|
-
})),
|
|
67
|
-
topSources: K.value.map((e) => ({
|
|
68
|
-
source: e.sessionSource,
|
|
69
|
-
sessions: e.sessions,
|
|
70
|
-
users: e.totalUsers
|
|
71
|
-
}))
|
|
72
|
-
});
|
|
73
|
-
} catch (e) {
|
|
74
|
-
G.value = e?.data?.statusMessage || e?.message || "Failed to load traffic sources", Y(`Error loading traffic sources: ${G.value}`);
|
|
75
|
-
} finally {
|
|
76
|
-
W.value = !1;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
u(() => {
|
|
80
|
-
z.status === "completed" && le() || ue();
|
|
81
|
-
});
|
|
82
|
-
function Y(e) {
|
|
83
|
-
z.status !== "completed" && B("submit", e);
|
|
84
|
-
}
|
|
85
|
-
let X = (e) => e == null ? "0" : Math.round(e).toLocaleString(), de = (e) => e ? new Date(e).toLocaleString(void 0, {
|
|
86
|
-
month: "short",
|
|
87
|
-
day: "numeric",
|
|
88
|
-
hour: "2-digit",
|
|
89
|
-
minute: "2-digit"
|
|
90
|
-
}) : "", Z = t(() => q.value.reduce((e, t) => e + (t.sessions || 0), 0)), Q = [
|
|
91
|
-
"bg-primary/70",
|
|
92
|
-
"bg-blue-500/70",
|
|
93
|
-
"bg-emerald-500/70",
|
|
94
|
-
"bg-amber-500/70",
|
|
95
|
-
"bg-purple-500/70",
|
|
96
|
-
"bg-pink-500/70",
|
|
97
|
-
"bg-cyan-500/70",
|
|
98
|
-
"bg-orange-500/70",
|
|
99
|
-
"bg-indigo-500/70",
|
|
100
|
-
"bg-rose-500/70"
|
|
101
|
-
], $ = [
|
|
102
|
-
"bg-primary",
|
|
103
|
-
"bg-blue-500",
|
|
104
|
-
"bg-emerald-500",
|
|
105
|
-
"bg-amber-500",
|
|
106
|
-
"bg-purple-500",
|
|
107
|
-
"bg-pink-500",
|
|
108
|
-
"bg-cyan-500",
|
|
109
|
-
"bg-orange-500",
|
|
110
|
-
"bg-indigo-500",
|
|
111
|
-
"bg-rose-500"
|
|
112
|
-
], fe = t(() => {
|
|
113
|
-
let { startDate: e, endDate: t } = z.resolvedArgs || {};
|
|
114
|
-
if (!e && !t) return "Last 30 days";
|
|
115
|
-
let n = e || "30daysAgo", r = n.match(/^(\d+)daysAgo$/);
|
|
116
|
-
return r ? `Last ${r[1]} days` : `${n} → ${t || "today"}`;
|
|
117
|
-
});
|
|
118
|
-
return (t, u) => {
|
|
119
|
-
let f = m("NuxtLink");
|
|
120
|
-
return d(), r("div", y, [g(W) ? (d(), r("div", b, [o(g(ne), { class: "size-4 animate-spin text-muted-foreground" }), u[0] ||= i("span", { class: "text-xs text-muted-foreground" }, "Loading traffic sources…", -1)])) : g(G) ? (d(), r("div", x, h(g(G)), 1)) : g(q).length === 0 && g(K).length === 0 ? (d(), r("div", S, [o(g(_), { class: "size-8 text-muted-foreground mx-auto mb-2" }), u[1] ||= i("p", { class: "text-sm text-muted-foreground" }, "No traffic source data found for this period.", -1)])) : (d(), r("div", ie, [
|
|
121
|
-
i("div", ae, [i("div", oe, [o(g(_), { class: "size-3.5 text-primary" }), u[2] ||= i("span", { class: "text-xs font-medium" }, "Traffic Sources", -1)]), i("span", se, h(g(fe)), 1)]),
|
|
122
|
-
g(q).length > 0 ? (d(), r("div", C, [i("div", w, [(d(!0), r(e, null, p(g(q), (e, t) => (d(), r("div", {
|
|
123
|
-
key: e.sessionDefaultChannelGroup,
|
|
124
|
-
class: c(["h-full first:rounded-l-full last:rounded-r-full", Q[t % Q.length]]),
|
|
125
|
-
style: l({ width: `${g(Z) > 0 ? (e.sessions || 0) / g(Z) * 100 : 0}%` }),
|
|
126
|
-
title: `${e.sessionDefaultChannelGroup}: ${X(e.sessions)} sessions`
|
|
127
|
-
}, null, 14, T))), 128))]), i("div", E, [(d(!0), r(e, null, p(g(q).slice(0, 6), (e, t) => (d(), r("div", {
|
|
128
|
-
key: e.sessionDefaultChannelGroup,
|
|
129
|
-
class: "flex items-center gap-1.5"
|
|
130
|
-
}, [
|
|
131
|
-
i("span", { class: c(["size-2 rounded-full shrink-0", $[t % $.length]]) }, null, 2),
|
|
132
|
-
i("span", D, h(e.sessionDefaultChannelGroup), 1),
|
|
133
|
-
i("span", O, h(X(e.sessions)), 1)
|
|
134
|
-
]))), 128))])])) : n("", !0),
|
|
135
|
-
g(K).length > 0 ? (d(), r("div", k, [u[3] ||= i("div", { class: "px-3 py-1.5 bg-muted/20" }, [i("span", { class: "text-[10px] font-medium text-muted-foreground uppercase tracking-wide" }, "Top Sources")], -1), i("div", A, [(d(!0), r(e, null, p(g(K), (e) => (d(), r("div", {
|
|
136
|
-
key: e.sessionSource,
|
|
137
|
-
class: "px-3 py-2 flex items-center justify-between hover:bg-muted/30 transition-colors"
|
|
138
|
-
}, [i("span", j, h(e.sessionSource), 1), i("div", M, [i("span", N, [o(g(re), { class: "size-2.5" }), a(" " + h(X(e.sessions)), 1)]), i("span", P, [o(g(v), { class: "size-2.5" }), a(" " + h(X(e.totalUsers)), 1)])])]))), 128))])])) : n("", !0),
|
|
139
|
-
i("div", F, [g(J) ? (d(), r("span", I, " Fetched " + h(de(g(J))), 1)) : n("", !0), o(f, {
|
|
140
|
-
to: `/projects/${g(H)}/modules/${s.instanceId}`,
|
|
141
|
-
class: "inline-flex items-center gap-1.5 text-xs text-primary hover:underline"
|
|
142
|
-
}, {
|
|
143
|
-
default: ee(() => [o(g(te), { class: "size-3" }), u[4] ||= a(" View full report ", -1)]),
|
|
144
|
-
_: 1
|
|
145
|
-
}, 8, ["to"])])
|
|
146
|
-
]))]);
|
|
147
|
-
};
|
|
148
|
-
}
|
|
149
|
-
});
|
|
150
|
-
//#endregion
|
|
151
|
-
export { L as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-DQi1bQcV.js`);let e=require(`vue`),t=require(`@lucide/vue`);var n={class:`w-full`},r={key:0,class:`flex items-center gap-2 py-3`},i={key:1,class:`text-xs text-destructive py-2`},a={key:2,class:`rounded-xl border bg-background p-4 text-center`},o={key:3,class:`rounded-xl border bg-background overflow-hidden`},s={class:`px-3 py-2 border-b bg-muted/40 flex items-center justify-between`},c={class:`flex items-center gap-2`},l={class:`text-[10px] text-muted-foreground`},u={key:0,class:`px-3 pt-3 pb-2`},d={class:`h-3 rounded-full bg-muted overflow-hidden flex`},f=[`title`],p={class:`flex flex-wrap gap-x-3 gap-y-1 mt-2`},m={class:`text-[10px] text-muted-foreground`},h={class:`text-[10px] font-medium`},g={key:1,class:`border-t`},_={class:`divide-y`},v={class:`text-xs font-medium truncate flex-1`},y={class:`flex items-center gap-3 text-[10px] text-muted-foreground shrink-0`},b={class:`flex items-center gap-1`},x={class:`flex items-center gap-1`},S={class:`px-3 py-2 border-t bg-muted/20 flex items-center justify-between`},C={key:0,class:`text-[10px] text-muted-foreground`},w=(0,e.defineComponent)({__name:`TrafficSourcesCard`,props:{toolName:{},instanceId:{},instanceName:{},moduleType:{},resolvedArgs:{},status:{}},emits:[`submit`],setup(w,{emit:T}){let{$useRoute:E,$useModuleApi:D}=useNuxtApp(),O=w,k=T,A=E(),j=(0,e.computed)(()=>A.params.slug),M=D(O.instanceId),N=(0,e.ref)(!0),P=(0,e.ref)(null),F=(0,e.ref)([]),I=(0,e.ref)([]),L=(0,e.ref)(null);function R(){let e=O.resolvedArgs?._cachedData;return e?(I.value=(e.topChannels||[]).map(e=>({sessionDefaultChannelGroup:e.channel,sessions:e.sessions,totalUsers:e.users,newUsers:e.newUsers,engagementRate:parseFloat(e.engagementRate)/100})),F.value=(e.topSources||[]).map(e=>({sessionSource:e.source,sessions:e.sessions,totalUsers:e.users})),L.value=O.resolvedArgs._fetchedAt||null,N.value=!1,!0):!1}async function z(){let{startDate:e,endDate:t}=O.resolvedArgs||{};N.value=!0,P.value=null;try{let n=new URLSearchParams;e&&n.set(`startDate`,e),t&&n.set(`endDate`,t);let[r,i]=await Promise.all([M.get(`/top-sources?${n.toString()}`),M.get(`/acquisition/channels?${n.toString()}`)]);F.value=r.rows||[],I.value=i.rows||[],L.value=new Date().toISOString(),B({topChannels:I.value.map(e=>({channel:e.sessionDefaultChannelGroup,sessions:e.sessions,users:e.totalUsers,newUsers:e.newUsers,engagementRate:`${(e.engagementRate*100).toFixed(1)}%`})),topSources:F.value.map(e=>({source:e.sessionSource,sessions:e.sessions,users:e.totalUsers}))})}catch(e){P.value=e?.data?.statusMessage||e?.message||`Failed to load traffic sources`,B(`Error loading traffic sources: ${P.value}`)}finally{N.value=!1}}(0,e.onMounted)(()=>{O.status===`completed`&&R()||z()});function B(e){O.status!==`completed`&&k(`submit`,e)}let V=e=>e==null?`0`:Math.round(e).toLocaleString(),H=e=>e?new Date(e).toLocaleString(void 0,{month:`short`,day:`numeric`,hour:`2-digit`,minute:`2-digit`}):``,U=(0,e.computed)(()=>I.value.reduce((e,t)=>e+(t.sessions||0),0)),W=[`bg-primary/70`,`bg-blue-500/70`,`bg-emerald-500/70`,`bg-amber-500/70`,`bg-purple-500/70`,`bg-pink-500/70`,`bg-cyan-500/70`,`bg-orange-500/70`,`bg-indigo-500/70`,`bg-rose-500/70`],G=[`bg-primary`,`bg-blue-500`,`bg-emerald-500`,`bg-amber-500`,`bg-purple-500`,`bg-pink-500`,`bg-cyan-500`,`bg-orange-500`,`bg-indigo-500`,`bg-rose-500`],K=(0,e.computed)(()=>{let{startDate:e,endDate:t}=O.resolvedArgs||{};if(!e&&!t)return`Last 30 days`;let n=e||`30daysAgo`,r=n.match(/^(\d+)daysAgo$/);return r?`Last ${r[1]} days`:`${n} → ${t||`today`}`});return(T,E)=>{let D=(0,e.resolveComponent)(`NuxtLink`);return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,n,[(0,e.unref)(N)?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,r,[(0,e.createVNode)((0,e.unref)(t.Loader2),{class:`size-4 animate-spin text-muted-foreground`}),E[0]||=(0,e.createElementVNode)(`span`,{class:`text-xs text-muted-foreground`},`Loading traffic sources…`,-1)])):(0,e.unref)(P)?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,i,(0,e.toDisplayString)((0,e.unref)(P)),1)):(0,e.unref)(I).length===0&&(0,e.unref)(F).length===0?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,a,[(0,e.createVNode)((0,e.unref)(t.Globe),{class:`size-8 text-muted-foreground mx-auto mb-2`}),E[1]||=(0,e.createElementVNode)(`p`,{class:`text-sm text-muted-foreground`},`No traffic source data found for this period.`,-1)])):((0,e.openBlock)(),(0,e.createElementBlock)(`div`,o,[(0,e.createElementVNode)(`div`,s,[(0,e.createElementVNode)(`div`,c,[(0,e.createVNode)((0,e.unref)(t.Globe),{class:`size-3.5 text-primary`}),E[2]||=(0,e.createElementVNode)(`span`,{class:`text-xs font-medium`},`Traffic Sources`,-1)]),(0,e.createElementVNode)(`span`,l,(0,e.toDisplayString)((0,e.unref)(K)),1)]),(0,e.unref)(I).length>0?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,u,[(0,e.createElementVNode)(`div`,d,[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)((0,e.unref)(I),(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{key:t.sessionDefaultChannelGroup,class:(0,e.normalizeClass)([`h-full first:rounded-l-full last:rounded-r-full`,W[n%W.length]]),style:(0,e.normalizeStyle)({width:`${(0,e.unref)(U)>0?(t.sessions||0)/(0,e.unref)(U)*100:0}%`}),title:`${t.sessionDefaultChannelGroup}: ${V(t.sessions)} sessions`},null,14,f))),128))]),(0,e.createElementVNode)(`div`,p,[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)((0,e.unref)(I).slice(0,6),(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{key:t.sessionDefaultChannelGroup,class:`flex items-center gap-1.5`},[(0,e.createElementVNode)(`span`,{class:(0,e.normalizeClass)([`size-2 rounded-full shrink-0`,G[n%G.length]])},null,2),(0,e.createElementVNode)(`span`,m,(0,e.toDisplayString)(t.sessionDefaultChannelGroup),1),(0,e.createElementVNode)(`span`,h,(0,e.toDisplayString)(V(t.sessions)),1)]))),128))])])):(0,e.createCommentVNode)(``,!0),(0,e.unref)(F).length>0?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,g,[E[3]||=(0,e.createElementVNode)(`div`,{class:`px-3 py-1.5 bg-muted/20`},[(0,e.createElementVNode)(`span`,{class:`text-[10px] font-medium text-muted-foreground uppercase tracking-wide`},`Top Sources`)],-1),(0,e.createElementVNode)(`div`,_,[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)((0,e.unref)(F),n=>((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{key:n.sessionSource,class:`px-3 py-2 flex items-center justify-between hover:bg-muted/30 transition-colors`},[(0,e.createElementVNode)(`span`,v,(0,e.toDisplayString)(n.sessionSource),1),(0,e.createElementVNode)(`div`,y,[(0,e.createElementVNode)(`span`,b,[(0,e.createVNode)((0,e.unref)(t.MousePointerClick),{class:`size-2.5`}),(0,e.createTextVNode)(` `+(0,e.toDisplayString)(V(n.sessions)),1)]),(0,e.createElementVNode)(`span`,x,[(0,e.createVNode)((0,e.unref)(t.Users),{class:`size-2.5`}),(0,e.createTextVNode)(` `+(0,e.toDisplayString)(V(n.totalUsers)),1)])])]))),128))])])):(0,e.createCommentVNode)(``,!0),(0,e.createElementVNode)(`div`,S,[(0,e.unref)(L)?((0,e.openBlock)(),(0,e.createElementBlock)(`span`,C,` Fetched `+(0,e.toDisplayString)(H((0,e.unref)(L))),1)):(0,e.createCommentVNode)(``,!0),(0,e.createVNode)(D,{to:`/projects/${(0,e.unref)(j)}/modules/${w.instanceId}`,class:`inline-flex items-center gap-1.5 text-xs text-primary hover:underline`},{default:(0,e.withCtx)(()=>[(0,e.createVNode)((0,e.unref)(t.ExternalLink),{class:`size-3`}),E[4]||=(0,e.createTextVNode)(` View full report `,-1)]),_:1},8,[`to`])])]))])}}});exports.default=w;
|
package/dist/View-DSnUHI7h.mjs
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { useModule as e, useOverlayParams as t, useRoute as n } from "@oneclick.dev/cms-kit";
|
|
2
|
-
import { computed as r, createElementBlock as i, createVNode as a, defineComponent as o, normalizeClass as s, openBlock as c, resolveComponent as l, unref as u } from "vue";
|
|
3
|
-
//#endregion
|
|
4
|
-
//#region src/custom/pages/View.vue
|
|
5
|
-
var d = /* @__PURE__ */ o({
|
|
6
|
-
__name: "View",
|
|
7
|
-
setup(o) {
|
|
8
|
-
let d = n(), f = t(), { config: p } = e(), m = document.documentElement.dataset.moduleOverlayMode === "true", h = (e, t) => {
|
|
9
|
-
e?.finishAllFlows && document.documentElement.dataset.moduleOverlayMode === "true" && window.parent.postMessage({ type: "module-overlay:close" }, "*");
|
|
10
|
-
}, g = r(() => {
|
|
11
|
-
let e = {
|
|
12
|
-
...d.query,
|
|
13
|
-
...f.value
|
|
14
|
-
};
|
|
15
|
-
return Object.entries(e).reduce((e, [t, n]) => (e[t] = n, e), {});
|
|
16
|
-
});
|
|
17
|
-
return (e, t) => {
|
|
18
|
-
let n = l("FormDisplayer");
|
|
19
|
-
return c(), i("div", { class: s(["flex-1 overflow-hidden mt-4", m ? "-mx-2" : "rounded-lg border shadow bg-[#fcfcfc] dark:bg-muted/20"]) }, [a(n, {
|
|
20
|
-
settings: u(p).formLayout,
|
|
21
|
-
onFinish: h,
|
|
22
|
-
variables: [],
|
|
23
|
-
inputValues: g.value,
|
|
24
|
-
style: { background: "transparent" }
|
|
25
|
-
}, null, 8, ["settings", "inputValues"])], 2);
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
//#endregion
|
|
30
|
-
export { d as default };
|
package/dist/View-Dbcfpdqh.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-DQi1bQcV.js`);let e=require(`@oneclick.dev/cms-kit`),t=require(`vue`);var n=(0,t.defineComponent)({__name:`View`,setup(n){let r=(0,e.useRoute)(),i=(0,e.useOverlayParams)(),{config:a}=(0,e.useModule)(),o=document.documentElement.dataset.moduleOverlayMode===`true`,s=(e,t)=>{e?.finishAllFlows&&document.documentElement.dataset.moduleOverlayMode===`true`&&window.parent.postMessage({type:`module-overlay:close`},`*`)},c=(0,t.computed)(()=>{let e={...r.query,...i.value};return Object.entries(e).reduce((e,[t,n])=>(e[t]=n,e),{})});return(e,n)=>{let r=(0,t.resolveComponent)(`FormDisplayer`);return(0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:(0,t.normalizeClass)([`flex-1 overflow-hidden mt-4`,o?`-mx-2`:`rounded-lg border shadow bg-[#fcfcfc] dark:bg-muted/20`])},[(0,t.createVNode)(r,{settings:(0,t.unref)(a).formLayout,onFinish:s,variables:[],inputValues:c.value,style:{background:`transparent`}},null,8,[`settings`,`inputValues`])],2)}}});exports.default=n;
|
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as ee, createVNode as o, defineComponent as s, normalizeClass as c, onMounted as l, openBlock as u, ref as d, renderList as te, resolveComponent as f, resolveDynamicComponent as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
|
|
2
|
-
import { ArrowDownRight as _, ArrowUpRight as v, BarChart3 as y, ExternalLink as b, Eye as x, Loader2 as ne, Minus as re, MousePointerClick as ie, Timer as S, Users as C } from "@lucide/vue";
|
|
3
|
-
//#region src/googleAnalytics/chat-components/VisitorStatsCard.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var ae = { class: "w-full" }, oe = {
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "flex items-center gap-2 py-3"
|
|
7
|
-
}, se = {
|
|
8
|
-
key: 1,
|
|
9
|
-
class: "text-xs text-destructive py-2"
|
|
10
|
-
}, ce = {
|
|
11
|
-
key: 2,
|
|
12
|
-
class: "rounded-xl border bg-background overflow-hidden"
|
|
13
|
-
}, le = { class: "px-3 py-2 border-b bg-muted/40 flex items-center justify-between" }, w = { class: "flex items-center gap-2" }, T = { class: "text-[10px] text-muted-foreground" }, E = { class: "grid grid-cols-2 sm:grid-cols-4 divide-x divide-y" }, D = { class: "flex items-center gap-1.5" }, O = { class: "text-[10px] text-muted-foreground uppercase tracking-wide" }, k = { class: "text-sm font-semibold" }, A = {
|
|
14
|
-
key: 0,
|
|
15
|
-
class: "flex items-center gap-0.5"
|
|
16
|
-
}, j = { class: "px-3 py-2 border-t bg-muted/20 flex items-center justify-between" }, M = {
|
|
17
|
-
key: 0,
|
|
18
|
-
class: "text-[10px] text-muted-foreground"
|
|
19
|
-
}, N = /* @__PURE__ */ s({
|
|
20
|
-
__name: "VisitorStatsCard",
|
|
21
|
-
props: {
|
|
22
|
-
toolName: {},
|
|
23
|
-
instanceId: {},
|
|
24
|
-
instanceName: {},
|
|
25
|
-
moduleType: {},
|
|
26
|
-
resolvedArgs: {},
|
|
27
|
-
status: {}
|
|
28
|
-
},
|
|
29
|
-
emits: ["submit"],
|
|
30
|
-
setup(s, { emit: N }) {
|
|
31
|
-
let { $useRoute: P, $useModuleApi: F } = useNuxtApp(), I = s, L = N, R = P(), z = t(() => R.params.slug), ue = F(I.instanceId), B = d(!0), V = d(null), H = d({}), U = d({}), W = d(null);
|
|
32
|
-
function de() {
|
|
33
|
-
let e = I.resolvedArgs?._cachedData;
|
|
34
|
-
return e ? (H.value = {
|
|
35
|
-
totalUsers: e.totalUsers || 0,
|
|
36
|
-
sessions: e.sessions || 0,
|
|
37
|
-
screenPageViews: e.pageViews || 0,
|
|
38
|
-
newUsers: e.newUsers || 0,
|
|
39
|
-
bounceRate: G(e.bounceRate),
|
|
40
|
-
averageSessionDuration: fe(e.avgSessionDuration),
|
|
41
|
-
engagementRate: G(e.engagementRate),
|
|
42
|
-
screenPageViewsPerSession: parseFloat(e.pagesPerSession) || 0
|
|
43
|
-
}, U.value = Object.fromEntries(Object.entries(e.changes || {}).map(([e, t]) => [e, pe(t)])), W.value = I.resolvedArgs._fetchedAt || null, B.value = !1, !0) : !1;
|
|
44
|
-
}
|
|
45
|
-
function G(e) {
|
|
46
|
-
return e ? parseFloat(e) / 100 : 0;
|
|
47
|
-
}
|
|
48
|
-
function fe(e) {
|
|
49
|
-
if (!e) return 0;
|
|
50
|
-
let t = e.match(/(\d+)m/), n = e.match(/(\d+)s/);
|
|
51
|
-
return (t ? parseInt(t[1]) * 60 : 0) + (n ? parseInt(n[1]) : 0);
|
|
52
|
-
}
|
|
53
|
-
function pe(e) {
|
|
54
|
-
return !e || e === "N/A" ? null : parseFloat(e.replace("+", ""));
|
|
55
|
-
}
|
|
56
|
-
async function K() {
|
|
57
|
-
let { startDate: e, endDate: t } = I.resolvedArgs || {};
|
|
58
|
-
B.value = !0, V.value = null;
|
|
59
|
-
try {
|
|
60
|
-
let n = new URLSearchParams();
|
|
61
|
-
e && n.set("startDate", e), t && n.set("endDate", t);
|
|
62
|
-
let r = await ue.get(`/report?${n.toString()}`);
|
|
63
|
-
H.value = r.totals || {}, U.value = r.changes || {}, W.value = (/* @__PURE__ */ new Date()).toISOString(), q({
|
|
64
|
-
period: J.value,
|
|
65
|
-
totalUsers: Math.round(H.value.totalUsers || 0),
|
|
66
|
-
sessions: Math.round(H.value.sessions || 0),
|
|
67
|
-
pageViews: Math.round(H.value.screenPageViews || 0),
|
|
68
|
-
newUsers: Math.round(H.value.newUsers || 0),
|
|
69
|
-
bounceRate: `${(H.value.bounceRate * 100).toFixed(1)}%`,
|
|
70
|
-
avgSessionDuration: Y(H.value.averageSessionDuration),
|
|
71
|
-
engagementRate: `${(H.value.engagementRate * 100).toFixed(1)}%`,
|
|
72
|
-
pagesPerSession: (H.value.screenPageViewsPerSession || 0).toFixed(1),
|
|
73
|
-
changes: Object.fromEntries(Object.entries(U.value).map(([e, t]) => [e, t === null ? "N/A" : `${t > 0 ? "+" : ""}${t.toFixed(1)}%`]))
|
|
74
|
-
});
|
|
75
|
-
} catch (e) {
|
|
76
|
-
V.value = e?.data?.statusMessage || e?.message || "Failed to load visitor stats", q(`Error loading visitor stats: ${V.value}`);
|
|
77
|
-
} finally {
|
|
78
|
-
B.value = !1;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
l(() => {
|
|
82
|
-
I.status === "completed" && de() || K();
|
|
83
|
-
});
|
|
84
|
-
function q(e) {
|
|
85
|
-
I.status !== "completed" && L("submit", e);
|
|
86
|
-
}
|
|
87
|
-
let J = t(() => {
|
|
88
|
-
let { startDate: e, endDate: t } = I.resolvedArgs || {};
|
|
89
|
-
if (!e && !t) return "Last 30 days";
|
|
90
|
-
let n = e || "30daysAgo", r = n.match(/^(\d+)daysAgo$/);
|
|
91
|
-
return n === "yesterday" && (!t || t === "yesterday") ? "Yesterday" : r ? `Last ${r[1]} days` : `${n} → ${t || "today"}`;
|
|
92
|
-
}), Y = (e) => {
|
|
93
|
-
if (!e) return "0s";
|
|
94
|
-
let t = Math.floor(e / 60), n = Math.round(e % 60);
|
|
95
|
-
return t > 0 ? `${t}m ${n}s` : `${n}s`;
|
|
96
|
-
}, X = (e) => e == null ? "0" : Math.round(e).toLocaleString(), Z = (e) => e == null ? "0%" : `${(e * 100).toFixed(1)}%`, me = (e) => e ? new Date(e).toLocaleString(void 0, {
|
|
97
|
-
month: "short",
|
|
98
|
-
day: "numeric",
|
|
99
|
-
hour: "2-digit",
|
|
100
|
-
minute: "2-digit"
|
|
101
|
-
}) : "", Q = (e, t = !1) => e == null ? "text-muted-foreground" : (t ? e < 0 : e > 0) ? "text-emerald-600 dark:text-emerald-400" : (t ? e > 0 : e < 0) ? "text-red-600 dark:text-red-400" : "text-muted-foreground", $ = (e) => e == null ? null : `${e > 0 ? "+" : ""}${e.toFixed(1)}%`, he = t(() => [
|
|
102
|
-
{
|
|
103
|
-
label: "Users",
|
|
104
|
-
value: X(H.value.totalUsers),
|
|
105
|
-
change: U.value.totalUsers,
|
|
106
|
-
icon: C
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
label: "Sessions",
|
|
110
|
-
value: X(H.value.sessions),
|
|
111
|
-
change: U.value.sessions,
|
|
112
|
-
icon: ie
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
label: "Page Views",
|
|
116
|
-
value: X(H.value.screenPageViews),
|
|
117
|
-
change: U.value.screenPageViews,
|
|
118
|
-
icon: x
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
label: "New Users",
|
|
122
|
-
value: X(H.value.newUsers),
|
|
123
|
-
change: U.value.newUsers,
|
|
124
|
-
icon: C
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
label: "Bounce Rate",
|
|
128
|
-
value: Z(H.value.bounceRate),
|
|
129
|
-
change: U.value.bounceRate,
|
|
130
|
-
inverted: !0,
|
|
131
|
-
icon: _
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
label: "Engagement",
|
|
135
|
-
value: Z(H.value.engagementRate),
|
|
136
|
-
change: U.value.engagementRate,
|
|
137
|
-
icon: S
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
label: "Avg Duration",
|
|
141
|
-
value: Y(H.value.averageSessionDuration),
|
|
142
|
-
change: U.value.averageSessionDuration,
|
|
143
|
-
icon: S
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
label: "Pages/Session",
|
|
147
|
-
value: (H.value.screenPageViewsPerSession || 0).toFixed(1),
|
|
148
|
-
change: U.value.screenPageViewsPerSession,
|
|
149
|
-
icon: x
|
|
150
|
-
}
|
|
151
|
-
]);
|
|
152
|
-
return (t, l) => {
|
|
153
|
-
let d = f("NuxtLink");
|
|
154
|
-
return u(), i("div", ae, [h(B) ? (u(), i("div", oe, [o(h(ne), { class: "size-4 animate-spin text-muted-foreground" }), l[0] ||= a("span", { class: "text-xs text-muted-foreground" }, "Loading visitor statistics…", -1)])) : h(V) ? (u(), i("div", se, m(h(V)), 1)) : (u(), i("div", ce, [
|
|
155
|
-
a("div", le, [a("div", w, [o(h(y), { class: "size-3.5 text-primary" }), l[1] ||= a("span", { class: "text-xs font-medium" }, "Visitor Statistics", -1)]), a("span", T, m(h(J)), 1)]),
|
|
156
|
-
a("div", E, [(u(!0), i(e, null, te(h(he), (e) => (u(), i("div", {
|
|
157
|
-
key: e.label,
|
|
158
|
-
class: "px-3 py-3 space-y-1"
|
|
159
|
-
}, [
|
|
160
|
-
a("div", D, [(u(), n(p(e.icon), { class: "size-3 text-muted-foreground" })), a("span", O, m(e.label), 1)]),
|
|
161
|
-
a("p", k, m(e.value), 1),
|
|
162
|
-
$(e.change) ? (u(), i("div", A, [(e.change ?? 0) > 0 ? (u(), n(h(v), {
|
|
163
|
-
key: 0,
|
|
164
|
-
class: c(["size-2.5", Q(e.change, e.inverted)])
|
|
165
|
-
}, null, 8, ["class"])) : (e.change ?? 0) < 0 ? (u(), n(h(_), {
|
|
166
|
-
key: 1,
|
|
167
|
-
class: c(["size-2.5", Q(e.change, e.inverted)])
|
|
168
|
-
}, null, 8, ["class"])) : (u(), n(h(re), {
|
|
169
|
-
key: 2,
|
|
170
|
-
class: "size-2.5 text-muted-foreground"
|
|
171
|
-
})), a("span", { class: c(["text-[10px] font-medium", Q(e.change, e.inverted)]) }, m($(e.change)), 3)])) : r("", !0)
|
|
172
|
-
]))), 128))]),
|
|
173
|
-
a("div", j, [h(W) ? (u(), i("span", M, " Fetched " + m(me(h(W))), 1)) : r("", !0), o(d, {
|
|
174
|
-
to: `/projects/${h(z)}/modules/${s.instanceId}`,
|
|
175
|
-
class: "inline-flex items-center gap-1.5 text-xs text-primary hover:underline"
|
|
176
|
-
}, {
|
|
177
|
-
default: g(() => [o(h(b), { class: "size-3" }), l[2] ||= ee(" View full report ", -1)]),
|
|
178
|
-
_: 1
|
|
179
|
-
}, 8, ["to"])])
|
|
180
|
-
]))]);
|
|
181
|
-
};
|
|
182
|
-
}
|
|
183
|
-
});
|
|
184
|
-
//#endregion
|
|
185
|
-
export { N as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-DQi1bQcV.js`);let e=require(`vue`),t=require(`@lucide/vue`);var n={class:`w-full`},r={key:0,class:`flex items-center gap-2 py-3`},i={key:1,class:`text-xs text-destructive py-2`},a={key:2,class:`rounded-xl border bg-background overflow-hidden`},o={class:`px-3 py-2 border-b bg-muted/40 flex items-center justify-between`},s={class:`flex items-center gap-2`},c={class:`text-[10px] text-muted-foreground`},l={class:`grid grid-cols-2 sm:grid-cols-4 divide-x divide-y`},u={class:`flex items-center gap-1.5`},d={class:`text-[10px] text-muted-foreground uppercase tracking-wide`},f={class:`text-sm font-semibold`},p={key:0,class:`flex items-center gap-0.5`},m={class:`px-3 py-2 border-t bg-muted/20 flex items-center justify-between`},h={key:0,class:`text-[10px] text-muted-foreground`},g=(0,e.defineComponent)({__name:`VisitorStatsCard`,props:{toolName:{},instanceId:{},instanceName:{},moduleType:{},resolvedArgs:{},status:{}},emits:[`submit`],setup(g,{emit:_}){let{$useRoute:v,$useModuleApi:y}=useNuxtApp(),b=g,x=_,S=v(),C=(0,e.computed)(()=>S.params.slug),w=y(b.instanceId),T=(0,e.ref)(!0),E=(0,e.ref)(null),D=(0,e.ref)({}),O=(0,e.ref)({}),k=(0,e.ref)(null);function A(){let e=b.resolvedArgs?._cachedData;return e?(D.value={totalUsers:e.totalUsers||0,sessions:e.sessions||0,screenPageViews:e.pageViews||0,newUsers:e.newUsers||0,bounceRate:j(e.bounceRate),averageSessionDuration:M(e.avgSessionDuration),engagementRate:j(e.engagementRate),screenPageViewsPerSession:parseFloat(e.pagesPerSession)||0},O.value=Object.fromEntries(Object.entries(e.changes||{}).map(([e,t])=>[e,N(t)])),k.value=b.resolvedArgs._fetchedAt||null,T.value=!1,!0):!1}function j(e){return e?parseFloat(e)/100:0}function M(e){if(!e)return 0;let t=e.match(/(\d+)m/),n=e.match(/(\d+)s/);return(t?parseInt(t[1])*60:0)+(n?parseInt(n[1]):0)}function N(e){return!e||e===`N/A`?null:parseFloat(e.replace(`+`,``))}async function P(){let{startDate:e,endDate:t}=b.resolvedArgs||{};T.value=!0,E.value=null;try{let n=new URLSearchParams;e&&n.set(`startDate`,e),t&&n.set(`endDate`,t);let r=await w.get(`/report?${n.toString()}`);D.value=r.totals||{},O.value=r.changes||{},k.value=new Date().toISOString(),F({period:I.value,totalUsers:Math.round(D.value.totalUsers||0),sessions:Math.round(D.value.sessions||0),pageViews:Math.round(D.value.screenPageViews||0),newUsers:Math.round(D.value.newUsers||0),bounceRate:`${(D.value.bounceRate*100).toFixed(1)}%`,avgSessionDuration:L(D.value.averageSessionDuration),engagementRate:`${(D.value.engagementRate*100).toFixed(1)}%`,pagesPerSession:(D.value.screenPageViewsPerSession||0).toFixed(1),changes:Object.fromEntries(Object.entries(O.value).map(([e,t])=>[e,t===null?`N/A`:`${t>0?`+`:``}${t.toFixed(1)}%`]))})}catch(e){E.value=e?.data?.statusMessage||e?.message||`Failed to load visitor stats`,F(`Error loading visitor stats: ${E.value}`)}finally{T.value=!1}}(0,e.onMounted)(()=>{b.status===`completed`&&A()||P()});function F(e){b.status!==`completed`&&x(`submit`,e)}let I=(0,e.computed)(()=>{let{startDate:e,endDate:t}=b.resolvedArgs||{};if(!e&&!t)return`Last 30 days`;let n=e||`30daysAgo`,r=n.match(/^(\d+)daysAgo$/);return n===`yesterday`&&(!t||t===`yesterday`)?`Yesterday`:r?`Last ${r[1]} days`:`${n} → ${t||`today`}`}),L=e=>{if(!e)return`0s`;let t=Math.floor(e/60),n=Math.round(e%60);return t>0?`${t}m ${n}s`:`${n}s`},R=e=>e==null?`0`:Math.round(e).toLocaleString(),z=e=>e==null?`0%`:`${(e*100).toFixed(1)}%`,B=e=>e?new Date(e).toLocaleString(void 0,{month:`short`,day:`numeric`,hour:`2-digit`,minute:`2-digit`}):``,V=(e,t=!1)=>e==null?`text-muted-foreground`:(t?e<0:e>0)?`text-emerald-600 dark:text-emerald-400`:(t?e>0:e<0)?`text-red-600 dark:text-red-400`:`text-muted-foreground`,H=e=>e==null?null:`${e>0?`+`:``}${e.toFixed(1)}%`,U=(0,e.computed)(()=>[{label:`Users`,value:R(D.value.totalUsers),change:O.value.totalUsers,icon:t.Users},{label:`Sessions`,value:R(D.value.sessions),change:O.value.sessions,icon:t.MousePointerClick},{label:`Page Views`,value:R(D.value.screenPageViews),change:O.value.screenPageViews,icon:t.Eye},{label:`New Users`,value:R(D.value.newUsers),change:O.value.newUsers,icon:t.Users},{label:`Bounce Rate`,value:z(D.value.bounceRate),change:O.value.bounceRate,inverted:!0,icon:t.ArrowDownRight},{label:`Engagement`,value:z(D.value.engagementRate),change:O.value.engagementRate,icon:t.Timer},{label:`Avg Duration`,value:L(D.value.averageSessionDuration),change:O.value.averageSessionDuration,icon:t.Timer},{label:`Pages/Session`,value:(D.value.screenPageViewsPerSession||0).toFixed(1),change:O.value.screenPageViewsPerSession,icon:t.Eye}]);return(_,v)=>{let y=(0,e.resolveComponent)(`NuxtLink`);return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,n,[(0,e.unref)(T)?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,r,[(0,e.createVNode)((0,e.unref)(t.Loader2),{class:`size-4 animate-spin text-muted-foreground`}),v[0]||=(0,e.createElementVNode)(`span`,{class:`text-xs text-muted-foreground`},`Loading visitor statistics…`,-1)])):(0,e.unref)(E)?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,i,(0,e.toDisplayString)((0,e.unref)(E)),1)):((0,e.openBlock)(),(0,e.createElementBlock)(`div`,a,[(0,e.createElementVNode)(`div`,o,[(0,e.createElementVNode)(`div`,s,[(0,e.createVNode)((0,e.unref)(t.BarChart3),{class:`size-3.5 text-primary`}),v[1]||=(0,e.createElementVNode)(`span`,{class:`text-xs font-medium`},`Visitor Statistics`,-1)]),(0,e.createElementVNode)(`span`,c,(0,e.toDisplayString)((0,e.unref)(I)),1)]),(0,e.createElementVNode)(`div`,l,[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)((0,e.unref)(U),n=>((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{key:n.label,class:`px-3 py-3 space-y-1`},[(0,e.createElementVNode)(`div`,u,[((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)(n.icon),{class:`size-3 text-muted-foreground`})),(0,e.createElementVNode)(`span`,d,(0,e.toDisplayString)(n.label),1)]),(0,e.createElementVNode)(`p`,f,(0,e.toDisplayString)(n.value),1),H(n.change)?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,p,[(n.change??0)>0?((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(t.ArrowUpRight),{key:0,class:(0,e.normalizeClass)([`size-2.5`,V(n.change,n.inverted)])},null,8,[`class`])):(n.change??0)<0?((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(t.ArrowDownRight),{key:1,class:(0,e.normalizeClass)([`size-2.5`,V(n.change,n.inverted)])},null,8,[`class`])):((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(t.Minus),{key:2,class:`size-2.5 text-muted-foreground`})),(0,e.createElementVNode)(`span`,{class:(0,e.normalizeClass)([`text-[10px] font-medium`,V(n.change,n.inverted)])},(0,e.toDisplayString)(H(n.change)),3)])):(0,e.createCommentVNode)(``,!0)]))),128))]),(0,e.createElementVNode)(`div`,m,[(0,e.unref)(k)?((0,e.openBlock)(),(0,e.createElementBlock)(`span`,h,` Fetched `+(0,e.toDisplayString)(B((0,e.unref)(k))),1)):(0,e.createCommentVNode)(``,!0),(0,e.createVNode)(y,{to:`/projects/${(0,e.unref)(C)}/modules/${g.instanceId}`,class:`inline-flex items-center gap-1.5 text-xs text-primary hover:underline`},{default:(0,e.withCtx)(()=>[(0,e.createVNode)((0,e.unref)(t.ExternalLink),{class:`size-3`}),v[2]||=(0,e.createTextVNode)(` View full report `,-1)]),_:1},8,[`to`])])]))])}}});exports.default=g;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n};Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return e}});
|