PageSourceSearch

https://mynaturesdelight.com/wp-content/plugins/saveto-wishlist-li…/pages/components/Analytics.C_Tiw2Z_.js

js mynaturesdelight.com collected 2026-10-08 22:15:29 UTC 4,915 bytes, 1 lines download raw bytes

1import{d as y,r as a,R as e,F as b,J as d,o as p,c as x,e as _,u,b as s,a as C,h as B,a2 as O,M as V,Q as I,m as n,E as r}from"../../../common/index.CcCOGZoz.js";import{H as k}from"../../partials/index.B-zo-Vzf.js";import M from"./UpgradeModal.Bkjc-1CI.js";import{C as T,a as U}from"../../../common/chart-line.ryr5aUwz.js";import{F as P}from"../../../common/folder.Bu6LTPA-.js";import{S}from"../../../common/shopping-cart.CzzLfmf5.js";import{U as A}from"../../../common/users.CgB0tHb8.js";import"../../../common/createLucideIcon.BrWD07WM.js";import"../../../common/key.BWmR6xUC.js";import"../../../common/_plugin-vue_export-helper.DlAUqK2U.js";import"../../../common/form.bWehAenY.js";import"../../../common/keyboard.4sW_uif3.js";import"../../../common/open-closed.sd1FXrzh.js";import"../../../common/use-resolve-button-type.CViCabRv.js";import"../../../common/crown.BjqMJBdL.js";import"../../../common/x.DhjzTFt_.js";import"../../../common/sparkles.DFe9P93j.js";import"../../../common/trending-up.JHlt9XGU.js";import"../../../common/transition.BhLyFBSf.js";import"../../../common/micro-task.CxIZtCgj.js";const z={class:"stwlite-tw-max-w-7xl stwlite-tw-mx-auto"},D={class:"stwlite-tw-bg-amber-50 stwlite-tw-border-l-4 stwlite-tw-border-amber-400 stwlite-tw-p-4 stwlite-tw-mt-4 stwlite-tw-rounded-md"},E={class:"stwlite-tw-flex stwlite-tw-items-center"},F={class:"stwlite-tw-ml-3"},H={class:"stwlite-tw-text-sm stwlite-tw-text-amber-800"},N={class:"stwlite-tw-max-w-7xl stwlite-tw-mx-auto stwlite-tw-px-4 sm:stwlite-tw-px-6 lg:stwlite-tw-px-8 stwlite-tw-py-8 stwlite-tw-space-y-12"},ce=y({__name:"Analytics",setup(R){const i=a(null),l=a(!1),c=a(!0),g={title:e("analytics_title",wp.i18n.__("Wishlist Analytics","saveto-wishlist-lite-for-woocommerce")),description:e("analytics_description",wp.i18n.__("Comprehensive insights into your customer's wishlist activity.","saveto-wishlist-lite-for-woocommerce"))},h=e("analytics_demo_notice",wp.i18n.__("This is a temporary demo view for the Analytics page and will be removed once PRO is installed.","saveto-wishlist-lite-for-woocommerce")),w=a(null),v=a([{value:"product_insights",label:e("product_insights",wp.i18n.__("Product Insights","saveto-wishlist-lite-for-woocommerce")),description:e("product_insights_description",wp.i18n.__("Analyze product performance and trends","saveto-wishlist-lite-for-woocommerce")),icon:T},{value:"category_brand_insights",label:e("category_brand_insights",wp.i18n.__("Category & Brand Insights","saveto-wishlist-lite-for-woocommerce")),description:e("category_brand_insights_description",wp.i18n.__("Discover top categories and brands","saveto-wishlist-lite-for-woocommerce")),icon:P},{value:"engagement_insights",label:e("engagement_insights",wp.i18n.__("Engagement Insights","saveto-wishlist-lite-for-woocommerce")),description:e("engagement_insights_description",wp.i18n.__("Track customer engagement metrics","saveto-wishlist-lite-for-woocommerce")),icon:S},{value:"timebased_trends",label:e("timebased_trends",wp.i18n.__("Time-based Trends","saveto-wishlist-lite-for-woocommerce")),description:e("timebased_trends_description",wp.i18n.__("View trends over time","saveto-wishlist-lite-for-woocommerce")),icon:U},{value:"customer_behavior",label:e("customer_behavior",wp.i18n.__("Customer Behavior","saveto-wishlist-lite-for-woocommerce")),description:e("customer_behavior_description",wp.i18n.__("Understand customer patterns","saveto-wishlist-lite-for-woocommerce")),icon:A}]),m=t=>{d("analytics")!==t&&I("analytics",t),w.value=t,c.value||(l.value=!0),t==="product_insights"?i.value=n(r("components/analytics/ProductInsights.vue")):t==="category_brand_insights"?i.value=n(r("components/analytics/CategoryBrandInsights.vue")):t==="engagement_insights"?i.value=n(r("components/analytics/EngagementInsights.vue")):t==="timebased_trends"?i.value=n(r("components/analytics/TimebasedTrends.vue")):t==="customer_behavior"&&(i.value=n(r("components/analytics/CustomerBehavior.vue"))),c.value&&(c.value=!1)},f=()=>{l.value=!1};return b(()=>{const t=d("analytics");m(t||"product_insights")}),(t,o)=>(p(),x(V,null,[_(u(k),{infoData:g,showSelect:!0,selectedOption:w.value,selectOptions:v.value,onSelectChange:m},null,8,["selectedOption","selectOptions"]),s("div",z,[s("div",D,[s("div",E,[o[1]||(o[1]=s("div",{class:"stwlite-tw-flex-shrink-0"},[s("svg",{class:"stwlite-tw-h-5 stwlite-tw-w-5 stwlite-tw-text-amber-400",viewBox:"0 0 20 20",fill:"currentColor"},[s("path",{"fill-rule":"evenodd",d:"M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z","clip-rule":"evenodd"})])],-1)),s("div",F,[s("p",H,C(u(h)),1)])])])]),s("div",N,[(p(),B(O(i.value),{onUpgradeClick:o[0]||(o[0]=L=>l.value=!0)},null,32))]),_(M,{isOpen:l.value,onClose:f},null,8,["isOpen"])],64))}});
1export{ce as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.