PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.4.1
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.4.1
1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 1.3.20 1.3.19 trunk All 48 releases
fluent-cart / assets / chunks / Empty.js

Empty.js in FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler 1.4.1, at assets/chunks/Empty.js

2 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import{_ as l}from"./DynamicIcon.js?ver=1.4.1";import{e as a,m as i,b as o,c as s,f as _,w as y,t as c,r,o as t,d as f}from"./vue.esm-bundler.js?ver=1.4.1";import{_ as h}from"./_plugin-vue_export-helper.js?ver=1.4.1";const k={name:"PageHeading",components:{DynamicIcon:l},props:{title:{type:String},icon:{type:String},to:{type:Object}}},g={class:"page-heading-wrap"},p={key:1,class:"page-title"},x={key:2,class:"actions"};function $(e,d,n,w,b,q){const m=r("DynamicIcon"),u=r("router-link");return t(),a("div",g,[e.$slots.title?i(e.$slots,"title",{key:0}):(t(),a("h1",p,[n.to?(t(),s(u,{key:0,to:n.to},{default:y(()=>[n.icon?(t(),s(m,{key:0,name:n.icon},null,8,["name"])):o("",!0)]),_:1},8,["to"])):o("",!0),_(" "+c(n.title),1)])),e.$slots.action?(t(),a("div",x,[i(e.$slots,"action")])):o("",!0)])}const P=h(k,[["render",$]]),S={class:"fct-empty-text"},D={class:"flex items-center justify-center mb-4"},v={key:0},B={key:1},V={__name:"Empty",props:{icon:{type:String,required:!0},text:{type:String,required:!1,default:null},hasDark:{type:Boolean,default:!1},title:{type:String,required:!1,default:null}},setup(e){return(d,n)=>(t(),a("div",S,[f("div",D,[e.icon?(t(),s(l,{key:0,name:e.icon,"has-dark":e.hasDark,class:"w-[100px]"},null,8,["name","has-dark"])):o("",!0)]),e.title?(t(),a("h3",v,c(e.title),1)):o("",!0),e.text?(t(),a("p",B,c(e.text),1)):o("",!0)]))}};export{P,V as _};
2