@moontra/moonui-pro 2.30.11 → 2.31.1
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/index.d.ts +3 -10
- package/dist/index.global.js +112 -112
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +353 -107
- package/package.json +1 -2
package/dist/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { twMerge } from 'tailwind-merge';
|
|
|
4
4
|
import * as t from 'react';
|
|
5
5
|
import t__default, { useState, useMemo, useCallback, useRef, useEffect, forwardRef, createContext, useContext, useLayoutEffect, useDebugValue, Component } from 'react';
|
|
6
6
|
import * as AccordionPrimitive2 from '@radix-ui/react-accordion';
|
|
7
|
-
import { Loader2, Play, ExternalLink, ChevronDown, Info, AlertCircle, AlertTriangle, Check, X, MoreHorizontal, Minus, Clock, ChevronUp, Search, Mic, MicOff, Settings, RefreshCw, Zap, ChevronRight, Crown, Circle, ChevronLeft, Plus,
|
|
7
|
+
import { Loader2, Play, ExternalLink, ChevronDown, Info, AlertCircle, AlertTriangle, Check, X, MoreHorizontal, Minus, Clock, ChevronUp, Search, Mic, MicOff, Settings, RefreshCw, Zap, ChevronRight, Crown, Circle, Lock, ChevronLeft, Plus, Sparkles, ZoomOut, ZoomIn, Pause, VolumeX, Volume2, Download, Maximize2, Filter, Image as Image$1, Video, RotateCw, Minimize2, BarChart3, Menu, Bell, CheckCheck, CheckCircle, Palette, User, Settings2, LogOut, Edit3, LayoutGrid, Upload, Share2, Save, Phone, Globe, Eye, CheckCircle2, RotateCcw, Copy, Share, Trash2, CreditCard, XCircle, HelpCircle, Bold as Bold$1, Italic as Italic$1, Underline as Underline$1, Strikethrough, AlignLeft, AlignCenter, AlignRight, AlignJustify, List, ListOrdered, Quote, Code as Code$1, Link as Link$1, Undo, Redo, Edit, GripVertical, Type, Heading1, Heading2, Heading3, CheckSquare, Highlighter, Link2, Table as Table$1, Wand2, Maximize, FileText, Briefcase, MessageSquare, Heart, GraduationCap, Languages, Lightbulb, MoreVertical, TrendingUp, Activity, BellOff, Target, ArrowUpRight, ArrowDownRight, CalendarIcon, MapPin, Navigation, ArrowUp, ArrowDown, ArrowUpDown, Calendar as Calendar$1, DollarSign, Users, Map as Map$1, Music, Archive, File, FileSpreadsheet, FileJson, FileDown, ChevronsLeft, ChevronsRight, Star, Shield, Award, Gem, Flame, TrendingDown, Repeat, Move, EyeOff, Timer, Square, Cpu, GitBranch, ArrowRight, Trash, MessageCircle, Paperclip, Printer, Grip, Unlock, Github, Server, Monitor, MemoryStick, HardDrive, Network, Columns, PlusCircle, Pin, Sun, Moon, Home, Send, Tag, Flag, Trophy, ShoppingBag, Wifi, WifiOff, Thermometer, GitFork, Package, PoundSterling, Euro, Database, ShoppingCart } from 'lucide-react';
|
|
8
8
|
import { cva } from 'class-variance-authority';
|
|
9
9
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
10
10
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
@@ -50,7 +50,14 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
50
50
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
51
51
|
var __getProtoOf = Object.getPrototypeOf;
|
|
52
52
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
53
|
-
var
|
|
53
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
54
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
55
|
+
}) : x)(function(x) {
|
|
56
|
+
if (typeof require !== "undefined")
|
|
57
|
+
return require.apply(this, arguments);
|
|
58
|
+
throw new Error('Dynamic require of "' + x + '" is not supported');
|
|
59
|
+
});
|
|
60
|
+
var __commonJS = (cb, mod) => function __require2() {
|
|
54
61
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
55
62
|
};
|
|
56
63
|
var __copyProps = (to, from2, except, desc) => {
|
|
@@ -4721,6 +4728,138 @@ var useCollapsibleAnalytics = () => {
|
|
|
4721
4728
|
}, []);
|
|
4722
4729
|
return { analytics, trackOpen, trackClose };
|
|
4723
4730
|
};
|
|
4731
|
+
var CACHE_KEY = "moonui_license_cache";
|
|
4732
|
+
var CACHE_DURATION = 24 * 60 * 60 * 1e3;
|
|
4733
|
+
var OFFLINE_GRACE_PERIOD = 7 * 24 * 60 * 60 * 1e3;
|
|
4734
|
+
function useSubscription() {
|
|
4735
|
+
const [isLoading, setIsLoading] = useState(true);
|
|
4736
|
+
const [hasProAccess, setHasProAccess] = useState(false);
|
|
4737
|
+
const [isAuthenticated, setIsAuthenticated] = useState(false);
|
|
4738
|
+
useEffect(() => {
|
|
4739
|
+
const checkLicense = async () => {
|
|
4740
|
+
try {
|
|
4741
|
+
const cached = localStorage.getItem(CACHE_KEY);
|
|
4742
|
+
if (cached) {
|
|
4743
|
+
const cacheData = JSON.parse(cached);
|
|
4744
|
+
const now = Date.now();
|
|
4745
|
+
if (now - cacheData.timestamp < CACHE_DURATION) {
|
|
4746
|
+
setHasProAccess(cacheData.valid && cacheData.hasLifetimeAccess);
|
|
4747
|
+
setIsAuthenticated(cacheData.valid);
|
|
4748
|
+
setIsLoading(false);
|
|
4749
|
+
return;
|
|
4750
|
+
}
|
|
4751
|
+
if (now - cacheData.timestamp < OFFLINE_GRACE_PERIOD) {
|
|
4752
|
+
validateLicense().catch(() => {
|
|
4753
|
+
setHasProAccess(cacheData.valid && cacheData.hasLifetimeAccess);
|
|
4754
|
+
setIsAuthenticated(cacheData.valid);
|
|
4755
|
+
});
|
|
4756
|
+
setIsLoading(false);
|
|
4757
|
+
return;
|
|
4758
|
+
}
|
|
4759
|
+
}
|
|
4760
|
+
await validateLicense();
|
|
4761
|
+
} catch (error) {
|
|
4762
|
+
console.error("License check error:", error);
|
|
4763
|
+
setHasProAccess(false);
|
|
4764
|
+
setIsAuthenticated(false);
|
|
4765
|
+
} finally {
|
|
4766
|
+
setIsLoading(false);
|
|
4767
|
+
}
|
|
4768
|
+
};
|
|
4769
|
+
checkLicense();
|
|
4770
|
+
}, []);
|
|
4771
|
+
const getAuthToken = async () => {
|
|
4772
|
+
{
|
|
4773
|
+
if (typeof window !== "undefined") {
|
|
4774
|
+
const browserToken = localStorage.getItem("moonui_auth_token");
|
|
4775
|
+
if (browserToken)
|
|
4776
|
+
return browserToken;
|
|
4777
|
+
}
|
|
4778
|
+
if (typeof window === "undefined") {
|
|
4779
|
+
try {
|
|
4780
|
+
const fs = __require("fs");
|
|
4781
|
+
const path = __require("path");
|
|
4782
|
+
const os2 = __require("os");
|
|
4783
|
+
const authPath = path.join(os2.homedir(), ".moonui", "auth.encrypted");
|
|
4784
|
+
if (fs.existsSync(authPath)) {
|
|
4785
|
+
return "cli-authenticated";
|
|
4786
|
+
}
|
|
4787
|
+
} catch (error) {
|
|
4788
|
+
console.debug("CLI auth check failed:", error);
|
|
4789
|
+
}
|
|
4790
|
+
}
|
|
4791
|
+
}
|
|
4792
|
+
return process.env.NEXT_PUBLIC_MOONUI_AUTH_TOKEN || process.env.MOONUI_LICENSE_KEY || null;
|
|
4793
|
+
};
|
|
4794
|
+
const validateLicense = async () => {
|
|
4795
|
+
const token = await getAuthToken();
|
|
4796
|
+
if (!token) {
|
|
4797
|
+
setHasProAccess(false);
|
|
4798
|
+
setIsAuthenticated(false);
|
|
4799
|
+
return;
|
|
4800
|
+
}
|
|
4801
|
+
if (token === "cli-authenticated") {
|
|
4802
|
+
setHasProAccess(true);
|
|
4803
|
+
setIsAuthenticated(true);
|
|
4804
|
+
if (typeof window !== "undefined") {
|
|
4805
|
+
const cacheData = {
|
|
4806
|
+
valid: true,
|
|
4807
|
+
hasLifetimeAccess: true,
|
|
4808
|
+
timestamp: Date.now()
|
|
4809
|
+
};
|
|
4810
|
+
localStorage.setItem(CACHE_KEY, JSON.stringify(cacheData));
|
|
4811
|
+
}
|
|
4812
|
+
return;
|
|
4813
|
+
}
|
|
4814
|
+
try {
|
|
4815
|
+
const response = await fetch("https://moonui.dev/api/auth/validate", {
|
|
4816
|
+
headers: {
|
|
4817
|
+
"Authorization": `Bearer ${token}`
|
|
4818
|
+
}
|
|
4819
|
+
});
|
|
4820
|
+
if (response.ok) {
|
|
4821
|
+
const data = await response.json();
|
|
4822
|
+
const cacheData = {
|
|
4823
|
+
valid: data.valid,
|
|
4824
|
+
hasLifetimeAccess: data.user?.hasLifetimeAccess || false,
|
|
4825
|
+
timestamp: Date.now(),
|
|
4826
|
+
cacheUntil: data.cacheUntil ? new Date(data.cacheUntil).getTime() : void 0
|
|
4827
|
+
};
|
|
4828
|
+
localStorage.setItem(CACHE_KEY, JSON.stringify(cacheData));
|
|
4829
|
+
setHasProAccess(data.valid && (data.user?.hasLifetimeAccess || data.user?.features?.includes("pro_components")));
|
|
4830
|
+
setIsAuthenticated(data.valid);
|
|
4831
|
+
} else {
|
|
4832
|
+
localStorage.removeItem(CACHE_KEY);
|
|
4833
|
+
setHasProAccess(false);
|
|
4834
|
+
setIsAuthenticated(false);
|
|
4835
|
+
}
|
|
4836
|
+
} catch (error) {
|
|
4837
|
+
const cached = localStorage.getItem(CACHE_KEY);
|
|
4838
|
+
if (cached) {
|
|
4839
|
+
const cacheData = JSON.parse(cached);
|
|
4840
|
+
const now = Date.now();
|
|
4841
|
+
if (now - cacheData.timestamp < OFFLINE_GRACE_PERIOD) {
|
|
4842
|
+
setHasProAccess(cacheData.valid && cacheData.hasLifetimeAccess);
|
|
4843
|
+
setIsAuthenticated(cacheData.valid);
|
|
4844
|
+
return;
|
|
4845
|
+
}
|
|
4846
|
+
}
|
|
4847
|
+
setHasProAccess(false);
|
|
4848
|
+
setIsAuthenticated(false);
|
|
4849
|
+
}
|
|
4850
|
+
};
|
|
4851
|
+
return {
|
|
4852
|
+
isLoading,
|
|
4853
|
+
isAuthenticated,
|
|
4854
|
+
isAdmin: false,
|
|
4855
|
+
hasProAccess,
|
|
4856
|
+
subscriptionPlan: hasProAccess ? "lifetime" : "free",
|
|
4857
|
+
subscription: {
|
|
4858
|
+
status: hasProAccess ? "active" : "inactive",
|
|
4859
|
+
plan: hasProAccess ? "lifetime" : "free"
|
|
4860
|
+
}
|
|
4861
|
+
};
|
|
4862
|
+
}
|
|
4724
4863
|
var defaultColors = [
|
|
4725
4864
|
"#000000",
|
|
4726
4865
|
"#374151",
|
|
@@ -4748,6 +4887,7 @@ var MoonUIColorPickerPro = ({
|
|
|
4748
4887
|
size: size4 = "default",
|
|
4749
4888
|
presets = defaultColors
|
|
4750
4889
|
}) => {
|
|
4890
|
+
const { hasProAccess, isLoading } = useSubscription();
|
|
4751
4891
|
const [currentColor, setCurrentColor] = useState(value);
|
|
4752
4892
|
const handleColorChange = (color) => {
|
|
4753
4893
|
setCurrentColor(color);
|
|
@@ -4758,6 +4898,21 @@ var MoonUIColorPickerPro = ({
|
|
|
4758
4898
|
default: "w-8 h-8",
|
|
4759
4899
|
lg: "w-10 h-10"
|
|
4760
4900
|
};
|
|
4901
|
+
if (!isLoading && !hasProAccess) {
|
|
4902
|
+
return /* @__PURE__ */ jsxs("div", { className: "rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-700 p-8 text-center", children: [
|
|
4903
|
+
/* @__PURE__ */ jsx(Lock, { className: "mx-auto h-12 w-12 text-gray-400 dark:text-gray-600 mb-4" }),
|
|
4904
|
+
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold mb-2", children: "Pro Component" }),
|
|
4905
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400 mb-4", children: "Please login with CLI: moonui login" }),
|
|
4906
|
+
/* @__PURE__ */ jsx(
|
|
4907
|
+
"a",
|
|
4908
|
+
{
|
|
4909
|
+
href: "https://moonui.dev/pricing",
|
|
4910
|
+
className: "text-primary hover:underline text-sm font-medium",
|
|
4911
|
+
children: "Get Pro Access \u2192"
|
|
4912
|
+
}
|
|
4913
|
+
)
|
|
4914
|
+
] });
|
|
4915
|
+
}
|
|
4761
4916
|
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-2", className), children: [
|
|
4762
4917
|
showInput && /* @__PURE__ */ jsxs("div", { className: "flex gap-2 items-center", children: [
|
|
4763
4918
|
/* @__PURE__ */ jsx(
|
|
@@ -8102,6 +8257,7 @@ var MoonUITabsPro = t.forwardRef(({
|
|
|
8102
8257
|
onValueChange,
|
|
8103
8258
|
...props
|
|
8104
8259
|
}, ref) => {
|
|
8260
|
+
const { hasProAccess, isLoading } = useSubscription();
|
|
8105
8261
|
const [items, setItems] = t.useState(initialItems);
|
|
8106
8262
|
const [localValue, setLocalValue] = t.useState(() => {
|
|
8107
8263
|
if (persistKey && typeof window !== "undefined") {
|
|
@@ -8206,6 +8362,21 @@ var MoonUITabsPro = t.forwardRef(({
|
|
|
8206
8362
|
scrollRef.current.scrollBy({ left: 200, behavior: "smooth" });
|
|
8207
8363
|
}
|
|
8208
8364
|
};
|
|
8365
|
+
if (!isLoading && !hasProAccess) {
|
|
8366
|
+
return /* @__PURE__ */ jsxs("div", { className: "rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-700 p-8 text-center", children: [
|
|
8367
|
+
/* @__PURE__ */ jsx(Lock, { className: "mx-auto h-12 w-12 text-gray-400 dark:text-gray-600 mb-4" }),
|
|
8368
|
+
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold mb-2", children: "Pro Component" }),
|
|
8369
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400 mb-4", children: "Please login with CLI: moonui login" }),
|
|
8370
|
+
/* @__PURE__ */ jsx(
|
|
8371
|
+
"a",
|
|
8372
|
+
{
|
|
8373
|
+
href: "https://moonui.dev/pricing",
|
|
8374
|
+
className: "text-primary hover:underline text-sm font-medium",
|
|
8375
|
+
children: "Get Pro Access \u2192"
|
|
8376
|
+
}
|
|
8377
|
+
)
|
|
8378
|
+
] });
|
|
8379
|
+
}
|
|
8209
8380
|
return /* @__PURE__ */ jsxs("div", { className: cn(
|
|
8210
8381
|
"relative w-full",
|
|
8211
8382
|
variant === "gradient" && "bg-gradient-to-r from-primary/10 to-secondary/10 rounded-lg p-1",
|
|
@@ -12644,102 +12815,6 @@ var NavigationMenuIndicator2 = t.forwardRef(({ className, ...props }, ref) => /*
|
|
|
12644
12815
|
}
|
|
12645
12816
|
));
|
|
12646
12817
|
NavigationMenuIndicator2.displayName = Indicator3.displayName;
|
|
12647
|
-
var CACHE_KEY = "moonui_license_cache";
|
|
12648
|
-
var CACHE_DURATION = 24 * 60 * 60 * 1e3;
|
|
12649
|
-
var OFFLINE_GRACE_PERIOD = 7 * 24 * 60 * 60 * 1e3;
|
|
12650
|
-
function useSubscription() {
|
|
12651
|
-
const [isLoading, setIsLoading] = useState(true);
|
|
12652
|
-
const [hasProAccess, setHasProAccess] = useState(true);
|
|
12653
|
-
const [isAuthenticated, setIsAuthenticated] = useState(true);
|
|
12654
|
-
useEffect(() => {
|
|
12655
|
-
const checkLicense = async () => {
|
|
12656
|
-
try {
|
|
12657
|
-
const cached = localStorage.getItem(CACHE_KEY);
|
|
12658
|
-
if (cached) {
|
|
12659
|
-
const cacheData = JSON.parse(cached);
|
|
12660
|
-
const now = Date.now();
|
|
12661
|
-
if (now - cacheData.timestamp < CACHE_DURATION) {
|
|
12662
|
-
setHasProAccess(cacheData.valid && cacheData.hasLifetimeAccess);
|
|
12663
|
-
setIsAuthenticated(cacheData.valid);
|
|
12664
|
-
setIsLoading(false);
|
|
12665
|
-
return;
|
|
12666
|
-
}
|
|
12667
|
-
if (now - cacheData.timestamp < OFFLINE_GRACE_PERIOD) {
|
|
12668
|
-
validateLicense().catch(() => {
|
|
12669
|
-
setHasProAccess(cacheData.valid && cacheData.hasLifetimeAccess);
|
|
12670
|
-
setIsAuthenticated(cacheData.valid);
|
|
12671
|
-
});
|
|
12672
|
-
setIsLoading(false);
|
|
12673
|
-
return;
|
|
12674
|
-
}
|
|
12675
|
-
}
|
|
12676
|
-
await validateLicense();
|
|
12677
|
-
} catch (error) {
|
|
12678
|
-
console.error("License check error:", error);
|
|
12679
|
-
setHasProAccess(true);
|
|
12680
|
-
setIsAuthenticated(true);
|
|
12681
|
-
} finally {
|
|
12682
|
-
setIsLoading(false);
|
|
12683
|
-
}
|
|
12684
|
-
};
|
|
12685
|
-
checkLicense();
|
|
12686
|
-
}, []);
|
|
12687
|
-
const validateLicense = async () => {
|
|
12688
|
-
const token = process.env.NEXT_PUBLIC_MOONUI_AUTH_TOKEN || localStorage.getItem("moonui_auth_token");
|
|
12689
|
-
if (!token) {
|
|
12690
|
-
setHasProAccess(true);
|
|
12691
|
-
setIsAuthenticated(true);
|
|
12692
|
-
return;
|
|
12693
|
-
}
|
|
12694
|
-
try {
|
|
12695
|
-
const response = await fetch("https://moonui.dev/api/auth/validate", {
|
|
12696
|
-
headers: {
|
|
12697
|
-
"Authorization": `Bearer ${token}`
|
|
12698
|
-
}
|
|
12699
|
-
});
|
|
12700
|
-
if (response.ok) {
|
|
12701
|
-
const data = await response.json();
|
|
12702
|
-
const cacheData = {
|
|
12703
|
-
valid: data.valid,
|
|
12704
|
-
hasLifetimeAccess: data.user?.hasLifetimeAccess || false,
|
|
12705
|
-
timestamp: Date.now(),
|
|
12706
|
-
cacheUntil: data.cacheUntil ? new Date(data.cacheUntil).getTime() : void 0
|
|
12707
|
-
};
|
|
12708
|
-
localStorage.setItem(CACHE_KEY, JSON.stringify(cacheData));
|
|
12709
|
-
setHasProAccess(data.valid && (data.user?.hasLifetimeAccess || data.user?.features?.includes("pro_components")));
|
|
12710
|
-
setIsAuthenticated(data.valid);
|
|
12711
|
-
} else {
|
|
12712
|
-
localStorage.removeItem(CACHE_KEY);
|
|
12713
|
-
setHasProAccess(false);
|
|
12714
|
-
setIsAuthenticated(false);
|
|
12715
|
-
}
|
|
12716
|
-
} catch (error) {
|
|
12717
|
-
const cached = localStorage.getItem(CACHE_KEY);
|
|
12718
|
-
if (cached) {
|
|
12719
|
-
const cacheData = JSON.parse(cached);
|
|
12720
|
-
const now = Date.now();
|
|
12721
|
-
if (now - cacheData.timestamp < OFFLINE_GRACE_PERIOD) {
|
|
12722
|
-
setHasProAccess(cacheData.valid && cacheData.hasLifetimeAccess);
|
|
12723
|
-
setIsAuthenticated(cacheData.valid);
|
|
12724
|
-
return;
|
|
12725
|
-
}
|
|
12726
|
-
}
|
|
12727
|
-
setHasProAccess(false);
|
|
12728
|
-
setIsAuthenticated(false);
|
|
12729
|
-
}
|
|
12730
|
-
};
|
|
12731
|
-
return {
|
|
12732
|
-
isLoading,
|
|
12733
|
-
isAuthenticated,
|
|
12734
|
-
isAdmin: false,
|
|
12735
|
-
hasProAccess,
|
|
12736
|
-
subscriptionPlan: hasProAccess ? "lifetime" : "free",
|
|
12737
|
-
subscription: {
|
|
12738
|
-
status: hasProAccess ? "active" : "inactive",
|
|
12739
|
-
plan: hasProAccess ? "lifetime" : "free"
|
|
12740
|
-
}
|
|
12741
|
-
};
|
|
12742
|
-
}
|
|
12743
12818
|
var gestureDrawerVariants = cva(
|
|
12744
12819
|
"fixed bg-background shadow-2xl overflow-hidden",
|
|
12745
12820
|
{
|
|
@@ -13150,6 +13225,7 @@ function useLightbox() {
|
|
|
13150
13225
|
return context;
|
|
13151
13226
|
}
|
|
13152
13227
|
function LightboxProvider({ children, items = [], defaultIndex = 0 }) {
|
|
13228
|
+
const { hasProAccess, isLoading } = useSubscription();
|
|
13153
13229
|
const [currentIndex, setCurrentIndex] = t.useState(defaultIndex);
|
|
13154
13230
|
const [isOpen, setIsOpen] = t.useState(false);
|
|
13155
13231
|
const [zoom, setZoom] = t.useState(1);
|
|
@@ -13165,6 +13241,21 @@ function LightboxProvider({ children, items = [], defaultIndex = 0 }) {
|
|
|
13165
13241
|
}),
|
|
13166
13242
|
[items, currentIndex, isOpen, zoom]
|
|
13167
13243
|
);
|
|
13244
|
+
if (!isLoading && !hasProAccess) {
|
|
13245
|
+
return /* @__PURE__ */ jsxs("div", { className: "rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-700 p-8 text-center", children: [
|
|
13246
|
+
/* @__PURE__ */ jsx(Lock, { className: "mx-auto h-12 w-12 text-gray-400 dark:text-gray-600 mb-4" }),
|
|
13247
|
+
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold mb-2", children: "Pro Component" }),
|
|
13248
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400 mb-4", children: "Please login with CLI: moonui login" }),
|
|
13249
|
+
/* @__PURE__ */ jsx(
|
|
13250
|
+
"a",
|
|
13251
|
+
{
|
|
13252
|
+
href: "https://moonui.dev/pricing",
|
|
13253
|
+
className: "text-primary hover:underline text-sm font-medium",
|
|
13254
|
+
children: "Get Pro Access \u2192"
|
|
13255
|
+
}
|
|
13256
|
+
)
|
|
13257
|
+
] });
|
|
13258
|
+
}
|
|
13168
13259
|
return /* @__PURE__ */ jsx(LightboxContext.Provider, { value, children });
|
|
13169
13260
|
}
|
|
13170
13261
|
var LightboxTrigger = t.forwardRef(
|
|
@@ -13661,6 +13752,7 @@ var MoonUIMediaGalleryPro = t.forwardRef(({
|
|
|
13661
13752
|
lightboxProps,
|
|
13662
13753
|
...props
|
|
13663
13754
|
}, ref) => {
|
|
13755
|
+
const { hasProAccess, isLoading } = useSubscription();
|
|
13664
13756
|
const [activeCategory, setActiveCategory] = t.useState(defaultCategory);
|
|
13665
13757
|
const [activeSort, setActiveSort] = t.useState(defaultSort);
|
|
13666
13758
|
const [showFilters, setShowFilters] = t.useState(false);
|
|
@@ -13820,6 +13912,21 @@ var MoonUIMediaGalleryPro = t.forwardRef(({
|
|
|
13820
13912
|
return itemContent;
|
|
13821
13913
|
};
|
|
13822
13914
|
const renderSkeleton = () => /* @__PURE__ */ jsx("div", { className: cn(galleryItemVariants({ variant, aspectRatio })), children: /* @__PURE__ */ jsx("div", { className: "w-full h-full bg-muted animate-pulse" }) });
|
|
13915
|
+
if (!isLoading && !hasProAccess) {
|
|
13916
|
+
return /* @__PURE__ */ jsxs("div", { className: "rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-700 p-8 text-center", children: [
|
|
13917
|
+
/* @__PURE__ */ jsx(Lock, { className: "mx-auto h-12 w-12 text-gray-400 dark:text-gray-600 mb-4" }),
|
|
13918
|
+
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold mb-2", children: "Pro Component" }),
|
|
13919
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400 mb-4", children: "Please login with CLI: moonui login" }),
|
|
13920
|
+
/* @__PURE__ */ jsx(
|
|
13921
|
+
"a",
|
|
13922
|
+
{
|
|
13923
|
+
href: "https://moonui.dev/pricing",
|
|
13924
|
+
className: "text-primary hover:underline text-sm font-medium",
|
|
13925
|
+
children: "Get Pro Access \u2192"
|
|
13926
|
+
}
|
|
13927
|
+
)
|
|
13928
|
+
] });
|
|
13929
|
+
}
|
|
13823
13930
|
const galleryContent = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
13824
13931
|
(enableFiltering || enableSorting) && /* @__PURE__ */ jsxs("div", { className: "mb-6", children: [
|
|
13825
13932
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between mb-4", children: [
|
|
@@ -13990,6 +14097,7 @@ function DraggableList({
|
|
|
13990
14097
|
dragPreviewStyle = "clone",
|
|
13991
14098
|
hapticFeedback = true
|
|
13992
14099
|
}) {
|
|
14100
|
+
const { hasProAccess, isLoading } = useSubscription();
|
|
13993
14101
|
const [draggedIndex, setDraggedIndex] = useState(null);
|
|
13994
14102
|
const [dropPosition, setDropPosition] = useState(null);
|
|
13995
14103
|
const [isDragging, setIsDragging] = useState(false);
|
|
@@ -14186,6 +14294,21 @@ function DraggableList({
|
|
|
14186
14294
|
}
|
|
14187
14295
|
return null;
|
|
14188
14296
|
};
|
|
14297
|
+
if (!isLoading && !hasProAccess) {
|
|
14298
|
+
return /* @__PURE__ */ jsxs("div", { className: "rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-700 p-8 text-center", children: [
|
|
14299
|
+
/* @__PURE__ */ jsx(Lock, { className: "mx-auto h-12 w-12 text-gray-400 dark:text-gray-600 mb-4" }),
|
|
14300
|
+
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold mb-2", children: "Pro Component" }),
|
|
14301
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400 mb-4", children: "Please login with CLI: moonui login" }),
|
|
14302
|
+
/* @__PURE__ */ jsx(
|
|
14303
|
+
"a",
|
|
14304
|
+
{
|
|
14305
|
+
href: "https://moonui.dev/pricing",
|
|
14306
|
+
className: "text-primary hover:underline text-sm font-medium",
|
|
14307
|
+
children: "Get Pro Access \u2192"
|
|
14308
|
+
}
|
|
14309
|
+
)
|
|
14310
|
+
] });
|
|
14311
|
+
}
|
|
14189
14312
|
return /* @__PURE__ */ jsxs(
|
|
14190
14313
|
"div",
|
|
14191
14314
|
{
|
|
@@ -19484,6 +19607,7 @@ function Kanban(props) {
|
|
|
19484
19607
|
}
|
|
19485
19608
|
return /* @__PURE__ */ jsx(KanbanInternal, { ...props });
|
|
19486
19609
|
}
|
|
19610
|
+
var MoonUIKanbanPro = Kanban;
|
|
19487
19611
|
|
|
19488
19612
|
// ../../node_modules/orderedmap/dist/index.js
|
|
19489
19613
|
function OrderedMap(content) {
|
|
@@ -61385,8 +61509,6 @@ function SelectableVirtualList(props) {
|
|
|
61385
61509
|
}
|
|
61386
61510
|
return /* @__PURE__ */ jsx(SelectableVirtualListInternal, { ...props });
|
|
61387
61511
|
}
|
|
61388
|
-
var MoonUIVirtualListPro = VirtualList;
|
|
61389
|
-
var MoonUISelectableVirtualListPro = SelectableVirtualList;
|
|
61390
61512
|
var SwipeableCardInternal = t__default.forwardRef(
|
|
61391
61513
|
({
|
|
61392
61514
|
children,
|
|
@@ -61485,7 +61607,6 @@ var SwipeableCard = t__default.forwardRef(
|
|
|
61485
61607
|
}
|
|
61486
61608
|
);
|
|
61487
61609
|
SwipeableCard.displayName = "SwipeableCard";
|
|
61488
|
-
var MoonUISwipeableCardPro = SwipeableCard;
|
|
61489
61610
|
var timelineVariants = cva("w-full", {
|
|
61490
61611
|
variants: {
|
|
61491
61612
|
theme: {
|
|
@@ -62306,7 +62427,6 @@ function Timeline(props) {
|
|
|
62306
62427
|
}
|
|
62307
62428
|
return /* @__PURE__ */ jsx(TimelineInternal, { ...props });
|
|
62308
62429
|
}
|
|
62309
|
-
var MoonUITimelinePro = Timeline;
|
|
62310
62430
|
var COLOR_THEMES = {
|
|
62311
62431
|
default: [
|
|
62312
62432
|
"#3b82f6",
|
|
@@ -66882,7 +67002,6 @@ var Dashboard = t__default.memo(function Dashboard2(props) {
|
|
|
66882
67002
|
}
|
|
66883
67003
|
return /* @__PURE__ */ jsx(DashboardInternal, { ...props });
|
|
66884
67004
|
});
|
|
66885
|
-
var MoonUIDashboardPro = Dashboard;
|
|
66886
67005
|
function validatePhoneNumber(number) {
|
|
66887
67006
|
if (!number)
|
|
66888
67007
|
return false;
|
|
@@ -72645,6 +72764,7 @@ var FileUploadItem = ({
|
|
|
72645
72764
|
);
|
|
72646
72765
|
};
|
|
72647
72766
|
MoonUIFileUploadPro.displayName = "MoonUIFileUploadPro";
|
|
72767
|
+
var file_upload_default = MoonUIFileUploadPro;
|
|
72648
72768
|
function DataTableColumnToggle({ table, trigger }) {
|
|
72649
72769
|
const [search, setSearch] = t__default.useState("");
|
|
72650
72770
|
const columns = table.getAllColumns().filter(
|
|
@@ -74811,7 +74931,6 @@ var TableRow2 = ({
|
|
|
74811
74931
|
};
|
|
74812
74932
|
TableRow2.displayName = "TableRow";
|
|
74813
74933
|
var MoonUIDataTable = DataTable;
|
|
74814
|
-
var MoonUIDataTablePro = DataTable;
|
|
74815
74934
|
|
|
74816
74935
|
// src/styles/nprogress.css
|
|
74817
74936
|
styleInject("#nprogress {\n pointer-events: none;\n}\n#nprogress .bar {\n background: linear-gradient(90deg, #8b5cf6 0%, #d946ef 50%, #8b5cf6 100%);\n background-size: 200% 100%;\n animation: gradient-shift 2s ease infinite;\n position: fixed;\n z-index: 9999;\n top: 0;\n left: 0;\n width: 100%;\n height: 3px;\n box-shadow: 0 0 10px rgba(139, 92, 246, 0.5), 0 0 5px rgba(217, 70, 239, 0.5);\n}\n#nprogress .peg {\n display: block;\n position: absolute;\n right: 0px;\n width: 100px;\n height: 100%;\n box-shadow: 0 0 15px rgba(139, 92, 246, 0.7), 0 0 8px rgba(217, 70, 239, 0.7);\n opacity: 1.0;\n transform: rotate(3deg) translate(0px, -4px);\n}\n#nprogress .spinner {\n display: none;\n}\n@keyframes gradient-shift {\n 0% {\n background-position: 0% 50%;\n }\n 50% {\n background-position: 100% 50%;\n }\n 100% {\n background-position: 0% 50%;\n }\n}\n.dark #nprogress .bar {\n background: linear-gradient(90deg, #a78bfa 0%, #e879f9 50%, #a78bfa 100%);\n box-shadow: 0 0 15px rgba(167, 139, 250, 0.6), 0 0 8px rgba(232, 121, 249, 0.6);\n}\n.dark #nprogress .peg {\n box-shadow: 0 0 20px rgba(167, 139, 250, 0.8), 0 0 10px rgba(232, 121, 249, 0.8);\n}\n");
|
|
@@ -75444,7 +75563,6 @@ function Sidebar(props) {
|
|
|
75444
75563
|
}
|
|
75445
75564
|
return /* @__PURE__ */ jsx(SidebarInternal, { ...props });
|
|
75446
75565
|
}
|
|
75447
|
-
var MoonUISidebarPro = Sidebar;
|
|
75448
75566
|
function NavbarInternal({
|
|
75449
75567
|
sections = [],
|
|
75450
75568
|
branding,
|
|
@@ -76319,7 +76437,6 @@ function Navbar(props) {
|
|
|
76319
76437
|
}
|
|
76320
76438
|
return /* @__PURE__ */ jsx(NavbarInternal, { ...props });
|
|
76321
76439
|
}
|
|
76322
|
-
var MoonUINavbarPro = Navbar;
|
|
76323
76440
|
var FormWizardContext = createContext(null);
|
|
76324
76441
|
var useFormWizard = () => {
|
|
76325
76442
|
const context = useContext(FormWizardContext);
|
|
@@ -85532,6 +85649,7 @@ var MoonUIAvatarPro2 = t.forwardRef(({
|
|
|
85532
85649
|
error = false,
|
|
85533
85650
|
...props
|
|
85534
85651
|
}, ref) => {
|
|
85652
|
+
useSubscription();
|
|
85535
85653
|
const animationClasses = {
|
|
85536
85654
|
pulse: "animate-pulse",
|
|
85537
85655
|
bounce: "animate-bounce",
|
|
@@ -85629,6 +85747,7 @@ var MoonUIAvatarPro2 = t.forwardRef(({
|
|
|
85629
85747
|
});
|
|
85630
85748
|
MoonUIAvatarPro2.displayName = "MoonUIAvatarPro";
|
|
85631
85749
|
var MoonUIAvatarGroupPro2 = t.forwardRef(({ children, max: max2 = 4, size: size4 = "md", spacing = "normal", className }, ref) => {
|
|
85750
|
+
const { hasProAccess, isLoading: isCheckingAuth } = useSubscription();
|
|
85632
85751
|
const childrenArray = t.Children.toArray(children);
|
|
85633
85752
|
const visibleChildren = childrenArray.slice(0, max2);
|
|
85634
85753
|
const remainingCount = childrenArray.length - max2;
|
|
@@ -85637,6 +85756,21 @@ var MoonUIAvatarGroupPro2 = t.forwardRef(({ children, max: max2 = 4, size: size4
|
|
|
85637
85756
|
normal: "-space-x-2",
|
|
85638
85757
|
loose: "-space-x-1"
|
|
85639
85758
|
};
|
|
85759
|
+
if (!isCheckingAuth && !hasProAccess) {
|
|
85760
|
+
return /* @__PURE__ */ jsxs("div", { className: "rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-700 p-8 text-center", children: [
|
|
85761
|
+
/* @__PURE__ */ jsx(Lock, { className: "mx-auto h-12 w-12 text-gray-400 dark:text-gray-600 mb-4" }),
|
|
85762
|
+
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold mb-2", children: "Pro Component" }),
|
|
85763
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400 mb-4", children: "Please login with CLI: moonui login" }),
|
|
85764
|
+
/* @__PURE__ */ jsx(
|
|
85765
|
+
"a",
|
|
85766
|
+
{
|
|
85767
|
+
href: "https://moonui.dev/pricing",
|
|
85768
|
+
className: "text-primary hover:underline text-sm font-medium",
|
|
85769
|
+
children: "Get Pro Access \u2192"
|
|
85770
|
+
}
|
|
85771
|
+
)
|
|
85772
|
+
] });
|
|
85773
|
+
}
|
|
85640
85774
|
return /* @__PURE__ */ jsxs(
|
|
85641
85775
|
"div",
|
|
85642
85776
|
{
|
|
@@ -85673,6 +85807,7 @@ var MoonUIAvatarGroupPro2 = t.forwardRef(({ children, max: max2 = 4, size: size4
|
|
|
85673
85807
|
});
|
|
85674
85808
|
MoonUIAvatarGroupPro2.displayName = "MoonUIAvatarGroupPro";
|
|
85675
85809
|
var MoonUIAsyncAvatarPro = t.forwardRef(({ userId, fetchUser, ...props }, ref) => {
|
|
85810
|
+
const { hasProAccess, isLoading: isCheckingAuth } = useSubscription();
|
|
85676
85811
|
const [userData, setUserData] = t.useState(null);
|
|
85677
85812
|
const [isLoading, setIsLoading] = t.useState(false);
|
|
85678
85813
|
const [hasError, setHasError] = t.useState(false);
|
|
@@ -85683,6 +85818,21 @@ var MoonUIAsyncAvatarPro = t.forwardRef(({ userId, fetchUser, ...props }, ref) =
|
|
|
85683
85818
|
fetchUser(userId).then(setUserData).catch(() => setHasError(true)).finally(() => setIsLoading(false));
|
|
85684
85819
|
}
|
|
85685
85820
|
}, [userId, fetchUser]);
|
|
85821
|
+
if (!isCheckingAuth && !hasProAccess) {
|
|
85822
|
+
return /* @__PURE__ */ jsxs("div", { className: "rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-700 p-8 text-center", children: [
|
|
85823
|
+
/* @__PURE__ */ jsx(Lock, { className: "mx-auto h-12 w-12 text-gray-400 dark:text-gray-600 mb-4" }),
|
|
85824
|
+
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold mb-2", children: "Pro Component" }),
|
|
85825
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400 mb-4", children: "Please login with CLI: moonui login" }),
|
|
85826
|
+
/* @__PURE__ */ jsx(
|
|
85827
|
+
"a",
|
|
85828
|
+
{
|
|
85829
|
+
href: "https://moonui.dev/pricing",
|
|
85830
|
+
className: "text-primary hover:underline text-sm font-medium",
|
|
85831
|
+
children: "Get Pro Access \u2192"
|
|
85832
|
+
}
|
|
85833
|
+
)
|
|
85834
|
+
] });
|
|
85835
|
+
}
|
|
85686
85836
|
return /* @__PURE__ */ jsx(
|
|
85687
85837
|
MoonUIAvatarPro2,
|
|
85688
85838
|
{
|
|
@@ -85865,6 +86015,7 @@ function KPIWidget({
|
|
|
85865
86015
|
onKPIClick,
|
|
85866
86016
|
...widgetProps
|
|
85867
86017
|
}) {
|
|
86018
|
+
const { hasProAccess, isLoading } = useSubscription();
|
|
85868
86019
|
const kpis = Array.isArray(data) ? data : [data];
|
|
85869
86020
|
const formatValue = (value, unit) => {
|
|
85870
86021
|
if (typeof value === "string")
|
|
@@ -86027,6 +86178,21 @@ function KPIWidget({
|
|
|
86027
86178
|
index2
|
|
86028
86179
|
);
|
|
86029
86180
|
};
|
|
86181
|
+
if (!isLoading && !hasProAccess) {
|
|
86182
|
+
return /* @__PURE__ */ jsxs("div", { className: "rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-700 p-8 text-center", children: [
|
|
86183
|
+
/* @__PURE__ */ jsx(Lock, { className: "mx-auto h-12 w-12 text-gray-400 dark:text-gray-600 mb-4" }),
|
|
86184
|
+
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold mb-2", children: "Pro Component" }),
|
|
86185
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400 mb-4", children: "Please login with CLI: moonui login" }),
|
|
86186
|
+
/* @__PURE__ */ jsx(
|
|
86187
|
+
"a",
|
|
86188
|
+
{
|
|
86189
|
+
href: "https://moonui.dev/pricing",
|
|
86190
|
+
className: "text-primary hover:underline text-sm font-medium",
|
|
86191
|
+
children: "Get Pro Access \u2192"
|
|
86192
|
+
}
|
|
86193
|
+
)
|
|
86194
|
+
] });
|
|
86195
|
+
}
|
|
86030
86196
|
return /* @__PURE__ */ jsx(
|
|
86031
86197
|
WidgetBase,
|
|
86032
86198
|
{
|
|
@@ -86058,6 +86224,7 @@ function ChartWidget2({
|
|
|
86058
86224
|
onDataPointClick,
|
|
86059
86225
|
...widgetProps
|
|
86060
86226
|
}) {
|
|
86227
|
+
const { hasProAccess, isLoading } = useSubscription();
|
|
86061
86228
|
const [hoveredIndex, setHoveredIndex] = t__default.useState(null);
|
|
86062
86229
|
const defaultColors2 = [
|
|
86063
86230
|
"#3b82f6",
|
|
@@ -86423,6 +86590,21 @@ function ChartWidget2({
|
|
|
86423
86590
|
return renderBarChart();
|
|
86424
86591
|
}
|
|
86425
86592
|
};
|
|
86593
|
+
if (!isLoading && !hasProAccess) {
|
|
86594
|
+
return /* @__PURE__ */ jsxs("div", { className: "rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-700 p-8 text-center", children: [
|
|
86595
|
+
/* @__PURE__ */ jsx(Lock, { className: "mx-auto h-12 w-12 text-gray-400 dark:text-gray-600 mb-4" }),
|
|
86596
|
+
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold mb-2", children: "Pro Component" }),
|
|
86597
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400 mb-4", children: "Please login with CLI: moonui login" }),
|
|
86598
|
+
/* @__PURE__ */ jsx(
|
|
86599
|
+
"a",
|
|
86600
|
+
{
|
|
86601
|
+
href: "https://moonui.dev/pricing",
|
|
86602
|
+
className: "text-primary hover:underline text-sm font-medium",
|
|
86603
|
+
children: "Get Pro Access \u2192"
|
|
86604
|
+
}
|
|
86605
|
+
)
|
|
86606
|
+
] });
|
|
86607
|
+
}
|
|
86426
86608
|
return /* @__PURE__ */ jsx(
|
|
86427
86609
|
WidgetBase,
|
|
86428
86610
|
{
|
|
@@ -86475,6 +86657,7 @@ function GaugeWidget({
|
|
|
86475
86657
|
onGaugeClick,
|
|
86476
86658
|
...widgetProps
|
|
86477
86659
|
}) {
|
|
86660
|
+
const { hasProAccess, isLoading } = useSubscription();
|
|
86478
86661
|
const gauges = Array.isArray(data) ? data : [data];
|
|
86479
86662
|
const sizeConfig = {
|
|
86480
86663
|
sm: { width: 120, height: 120, fontSize: "text-lg", strokeWidth: 8 },
|
|
@@ -86731,6 +86914,21 @@ function GaugeWidget({
|
|
|
86731
86914
|
return renderRadialGauge(gauge, index2);
|
|
86732
86915
|
}
|
|
86733
86916
|
};
|
|
86917
|
+
if (!isLoading && !hasProAccess) {
|
|
86918
|
+
return /* @__PURE__ */ jsxs("div", { className: "rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-700 p-8 text-center", children: [
|
|
86919
|
+
/* @__PURE__ */ jsx(Lock, { className: "mx-auto h-12 w-12 text-gray-400 dark:text-gray-600 mb-4" }),
|
|
86920
|
+
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold mb-2", children: "Pro Component" }),
|
|
86921
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400 mb-4", children: "Please login with CLI: moonui login" }),
|
|
86922
|
+
/* @__PURE__ */ jsx(
|
|
86923
|
+
"a",
|
|
86924
|
+
{
|
|
86925
|
+
href: "https://moonui.dev/pricing",
|
|
86926
|
+
className: "text-primary hover:underline text-sm font-medium",
|
|
86927
|
+
children: "Get Pro Access \u2192"
|
|
86928
|
+
}
|
|
86929
|
+
)
|
|
86930
|
+
] });
|
|
86931
|
+
}
|
|
86734
86932
|
return /* @__PURE__ */ jsx(
|
|
86735
86933
|
WidgetBase,
|
|
86736
86934
|
{
|
|
@@ -86763,6 +86961,7 @@ function FunnelWidget({
|
|
|
86763
86961
|
onStageClick,
|
|
86764
86962
|
...widgetProps
|
|
86765
86963
|
}) {
|
|
86964
|
+
const { hasProAccess, isLoading } = useSubscription();
|
|
86766
86965
|
const [hoveredStage, setHoveredStage] = t__default.useState(null);
|
|
86767
86966
|
const formatNumber2 = (value) => {
|
|
86768
86967
|
if (value % 1 !== 0) {
|
|
@@ -87061,6 +87260,21 @@ function FunnelWidget({
|
|
|
87061
87260
|
return renderVerticalFunnel();
|
|
87062
87261
|
}
|
|
87063
87262
|
};
|
|
87263
|
+
if (!isLoading && !hasProAccess) {
|
|
87264
|
+
return /* @__PURE__ */ jsxs("div", { className: "rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-700 p-8 text-center", children: [
|
|
87265
|
+
/* @__PURE__ */ jsx(Lock, { className: "mx-auto h-12 w-12 text-gray-400 dark:text-gray-600 mb-4" }),
|
|
87266
|
+
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold mb-2", children: "Pro Component" }),
|
|
87267
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400 mb-4", children: "Please login with CLI: moonui login" }),
|
|
87268
|
+
/* @__PURE__ */ jsx(
|
|
87269
|
+
"a",
|
|
87270
|
+
{
|
|
87271
|
+
href: "https://moonui.dev/pricing",
|
|
87272
|
+
className: "text-primary hover:underline text-sm font-medium",
|
|
87273
|
+
children: "Get Pro Access \u2192"
|
|
87274
|
+
}
|
|
87275
|
+
)
|
|
87276
|
+
] });
|
|
87277
|
+
}
|
|
87064
87278
|
return /* @__PURE__ */ jsx(
|
|
87065
87279
|
WidgetBase,
|
|
87066
87280
|
{
|
|
@@ -87111,6 +87325,7 @@ function RevenueWidget({
|
|
|
87111
87325
|
onMetricClick,
|
|
87112
87326
|
...widgetProps
|
|
87113
87327
|
}) {
|
|
87328
|
+
const { hasProAccess, isLoading } = useSubscription();
|
|
87114
87329
|
const [selectedTab, setSelectedTab] = t__default.useState("overview");
|
|
87115
87330
|
const formatNumber2 = (value) => {
|
|
87116
87331
|
if (value % 1 !== 0) {
|
|
@@ -87520,6 +87735,21 @@ function RevenueWidget({
|
|
|
87520
87735
|
] });
|
|
87521
87736
|
}
|
|
87522
87737
|
};
|
|
87738
|
+
if (!isLoading && !hasProAccess) {
|
|
87739
|
+
return /* @__PURE__ */ jsxs("div", { className: "rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-700 p-8 text-center", children: [
|
|
87740
|
+
/* @__PURE__ */ jsx(Lock, { className: "mx-auto h-12 w-12 text-gray-400 dark:text-gray-600 mb-4" }),
|
|
87741
|
+
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold mb-2", children: "Pro Component" }),
|
|
87742
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400 mb-4", children: "Please login with CLI: moonui login" }),
|
|
87743
|
+
/* @__PURE__ */ jsx(
|
|
87744
|
+
"a",
|
|
87745
|
+
{
|
|
87746
|
+
href: "https://moonui.dev/pricing",
|
|
87747
|
+
className: "text-primary hover:underline text-sm font-medium",
|
|
87748
|
+
children: "Get Pro Access \u2192"
|
|
87749
|
+
}
|
|
87750
|
+
)
|
|
87751
|
+
] });
|
|
87752
|
+
}
|
|
87523
87753
|
return /* @__PURE__ */ jsx(
|
|
87524
87754
|
WidgetBase,
|
|
87525
87755
|
{
|
|
@@ -87546,6 +87776,7 @@ function ServerMonitorWidget({
|
|
|
87546
87776
|
onAlertClick,
|
|
87547
87777
|
...widgetProps
|
|
87548
87778
|
}) {
|
|
87779
|
+
const { hasProAccess, isLoading } = useSubscription();
|
|
87549
87780
|
const servers = Array.isArray(data) ? data : [data];
|
|
87550
87781
|
const [selectedTab, setSelectedTab] = t__default.useState("overview");
|
|
87551
87782
|
const [liveData, setLiveData] = t__default.useState(servers);
|
|
@@ -87899,6 +88130,21 @@ function ServerMonitorWidget({
|
|
|
87899
88130
|
return /* @__PURE__ */ jsx("div", { className: "space-y-4", children: liveData.map((server) => /* @__PURE__ */ jsx("div", { children: renderServerCard(server) }, server.id)) });
|
|
87900
88131
|
}
|
|
87901
88132
|
};
|
|
88133
|
+
if (!isLoading && !hasProAccess) {
|
|
88134
|
+
return /* @__PURE__ */ jsxs("div", { className: "rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-700 p-8 text-center", children: [
|
|
88135
|
+
/* @__PURE__ */ jsx(Lock, { className: "mx-auto h-12 w-12 text-gray-400 dark:text-gray-600 mb-4" }),
|
|
88136
|
+
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold mb-2", children: "Pro Component" }),
|
|
88137
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400 mb-4", children: "Please login with CLI: moonui login" }),
|
|
88138
|
+
/* @__PURE__ */ jsx(
|
|
88139
|
+
"a",
|
|
88140
|
+
{
|
|
88141
|
+
href: "https://moonui.dev/pricing",
|
|
88142
|
+
className: "text-primary hover:underline text-sm font-medium",
|
|
88143
|
+
children: "Get Pro Access \u2192"
|
|
88144
|
+
}
|
|
88145
|
+
)
|
|
88146
|
+
] });
|
|
88147
|
+
}
|
|
87902
88148
|
return /* @__PURE__ */ jsx(
|
|
87903
88149
|
WidgetBase,
|
|
87904
88150
|
{
|
|
@@ -87941,4 +88187,4 @@ function ServerMonitorWidget({
|
|
|
87941
88187
|
*)
|
|
87942
88188
|
*/
|
|
87943
88189
|
|
|
87944
|
-
export { MoonUIAccordionPro as Accordion, MoonUIAccordionContentPro as AccordionContent, MoonUIAccordionItemPro as AccordionItem, MoonUIAccordionTriggerPro as AccordionTrigger, Calendar3 as AdvancedCalendar, AdvancedChart, AdvancedForms, MoonUIAlertPro as Alert, MoonUIAlertDescriptionPro as AlertDescription, MoonUIAlertTitlePro as AlertTitle, MoonUIAspectRatioPro as AspectRatio, MoonUIAvatarPro as Avatar, MoonUIAvatarFallbackPro as AvatarFallback, MoonUIAvatarImagePro as AvatarImage, MoonUIBadgePro as Badge, MoonUIBreadcrumbPro as Breadcrumb, MoonUIBreadcrumbEllipsisPro as BreadcrumbEllipsis, MoonUIBreadcrumbItemPro as BreadcrumbItem, MoonUIBreadcrumbLinkPro as BreadcrumbLink, MoonUIBreadcrumbListPro as BreadcrumbList, MoonUIBreadcrumbPagePro as BreadcrumbPage, MoonUIBreadcrumbSeparatorPro as BreadcrumbSeparator, MoonUIButtonPro as Button, Calendar, Calendar3 as CalendarPro, MoonUICardPro as Card, MoonUICardContentPro as CardContent, MoonUICardDescriptionPro as CardDescription, MoonUICardFooterPro as CardFooter, MoonUICardHeaderPro as CardHeader, MoonUICardTitlePro as CardTitle, ChartWidget2 as ChartWidget, MoonUICheckboxPro as Checkbox, ClaudeProvider, MoonUICollapsiblePro as Collapsible, MoonUICollapsibleContentPro as CollapsibleContent, MoonUICollapsibleTriggerPro as CollapsibleTrigger, MoonUIColorPickerPro as ColorPicker, MoonUICommandPro as Command, MoonUICommandDialogPro as CommandDialog, MoonUICommandEmptyPro as CommandEmpty, MoonUICommandGroupPro as CommandGroup, MoonUICommandInputPro as CommandInput, MoonUICommandItemPro as CommandItem, MoonUICommandListPro as CommandList, MoonUICommandSeparatorPro as CommandSeparator, MoonUICommandShortcutPro as CommandShortcut, Dashboard, DataTable, MoonUIDialogPro as Dialog, MoonUIDialogClosePro as DialogClose, MoonUIDialogContentPro as DialogContent, MoonUIDialogDescriptionPro as DialogDescription, MoonUIDialogFooterPro as DialogFooter, MoonUIDialogHeaderPro as DialogHeader, MoonUIDialogTitlePro as DialogTitle, MoonUIDialogTriggerPro as DialogTrigger, DraggableList, MoonUIDropdownMenuPro as DropdownMenu, MoonUIDropdownMenuCheckboxItemPro as DropdownMenuCheckboxItem, MoonUIDropdownMenuContentPro as DropdownMenuContent, MoonUIDropdownMenuGroupPro as DropdownMenuGroup, MoonUIDropdownMenuItemPro as DropdownMenuItem, MoonUIDropdownMenuLabelPro as DropdownMenuLabel, MoonUIDropdownMenuPortalPro as DropdownMenuPortal, MoonUIDropdownMenuRadioGroupPro as DropdownMenuRadioGroup, MoonUIDropdownMenuRadioItemPro as DropdownMenuRadioItem, MoonUIDropdownMenuSeparatorPro as DropdownMenuSeparator, MoonUIDropdownMenuShortcutPro as DropdownMenuShortcut, MoonUIDropdownMenuSubPro as DropdownMenuSub, MoonUIDropdownMenuSubContentPro as DropdownMenuSubContent, MoonUIDropdownMenuSubTriggerPro as DropdownMenuSubTrigger, MoonUIDropdownMenuTriggerPro as DropdownMenuTrigger, ErrorBoundary, FloatingActionButton, FormWizard, FormWizardNavigation, FormWizardProgress, FormWizardStep, FunnelWidget, MoonUIGalleryItemPro as GalleryItem, GaugeWidget, GeminiProvider, GestureDrawer, GitHubStars, HealthCheck, HoverCard2 as HoverCard, HoverCard3D, HoverCardContent2 as HoverCardContent, HoverCardTrigger2 as HoverCardTrigger, MoonUIInputPro as Input, KPIWidget, Kanban, LANGUAGE_COLORS, MoonUILabelPro as Label, LazyComponent, LazyImage, LazyList, LightboxContent, LightboxProvider, LightboxTrigger, MagneticButton, MoonUIMediaGalleryPro as MediaGallery, MemoryAnalytics, MemoryEfficientData, MoonUIAccordionContentPro, MoonUIAccordionItemPro, MoonUIAccordionPro, MoonUIAccordionTriggerPro, MoonUIAdvancedChartPro, MoonUIAlertDescriptionPro, MoonUIAlertPro, MoonUIAlertTitlePro, MoonUIAnimatedButtonPro, MoonUIAspectRatioPro, MoonUIAsyncAvatarPro, MoonUIAvatarFallbackPro, MoonUIAvatarGroupPro2 as MoonUIAvatarGroupPro, MoonUIAvatarImagePro, MoonUIAvatarPro2 as MoonUIAvatarPro, MoonUIBadgePro, MoonUIBreadcrumbEllipsisPro, MoonUIBreadcrumbItemPro, MoonUIBreadcrumbLinkPro, MoonUIBreadcrumbListPro, MoonUIBreadcrumbPagePro, MoonUIBreadcrumbPro, MoonUIBreadcrumbSeparatorPro, MoonUIButtonPro, MoonUICardContentPro, MoonUICardDescriptionPro, MoonUICardFooterPro, MoonUICardHeaderPro, MoonUICardPro, MoonUICardTitlePro, ChartWidget2 as MoonUIChartWidget, MoonUICheckboxPro, MoonUICollapsibleContentPro, MoonUICollapsiblePro, MoonUICollapsibleTriggerPro, MoonUIColorPickerPro, MoonUICommandDialogPro, MoonUICommandEmptyPro, MoonUICommandGroupPro, MoonUICommandInputPro, MoonUICommandItemPro, MoonUICommandListPro, MoonUICommandPro, MoonUICommandSeparatorPro, MoonUICommandShortcutPro, MoonUICreditCardInputPro, MoonUIDashboardPro, MoonUIDataTable, MoonUIDataTablePro, MoonUIDialogClosePro, MoonUIDialogContentPro, MoonUIDialogDescriptionPro, MoonUIDialogFooterPro, MoonUIDialogHeaderPro, MoonUIDialogPro, MoonUIDialogTitlePro, MoonUIDialogTriggerPro, DraggableList as MoonUIDraggableListPro, MoonUIDropdownMenuCheckboxItemPro, MoonUIDropdownMenuContentPro, MoonUIDropdownMenuGroupPro, MoonUIDropdownMenuItemPro, MoonUIDropdownMenuLabelPro, MoonUIDropdownMenuPortalPro, MoonUIDropdownMenuPro, MoonUIDropdownMenuRadioGroupPro, MoonUIDropdownMenuRadioItemPro, MoonUIDropdownMenuSeparatorPro, MoonUIDropdownMenuShortcutPro, MoonUIDropdownMenuSubContentPro, MoonUIDropdownMenuSubPro, MoonUIDropdownMenuSubTriggerPro, MoonUIDropdownMenuTriggerPro, MoonUIFileUploadPro, MoonUIFormWizardPro, FunnelWidget as MoonUIFunnelWidget, MoonUIGalleryItemPro, GaugeWidget as MoonUIGaugeWidget, MoonUIGestureDrawerPro, MoonUIInputPro, KPIWidget as MoonUIKPIWidget, MoonUILabelPro, LightboxContent as MoonUILightboxContentPro, SimpleLightbox as MoonUILightboxPro, LightboxProvider as MoonUILightboxProviderPro, LightboxTrigger as MoonUILightboxTriggerPro, MoonUIMediaGalleryPro, MoonUIMemoryEfficientDataPro, MoonUINavbarPro, MoonUIPaginationContentPro, MoonUIPaginationEllipsisPro, MoonUIPaginationItemPro, MoonUIPaginationLinkPro, MoonUIPaginationNextPro, MoonUIPaginationPreviousPro, MoonUIPaginationPro, MoonUIPhoneNumberInputPro, MoonUIPhoneNumberInputSimple, MoonUIPopoverContentPro, MoonUIPopoverPro, MoonUIPopoverTriggerPro, MoonUIProgressPro, MoonUIQuizFormPro2 as MoonUIQuizFormPro, MoonUIRadioGroupContextPro, MoonUIRadioGroupItemPro, MoonUIRadioGroupPro, MoonUIRadioItemWithLabelPro, MoonUIRadioLabelPro, RevenueWidget as MoonUIRevenueWidget, RichTextEditor as MoonUIRichTextEditorPro, MoonUISelectContentPro, MoonUISelectGroupPro, MoonUISelectItemPro, MoonUISelectLabelPro, MoonUISelectPro, MoonUISelectSeparatorPro, MoonUISelectTriggerPro, MoonUISelectValuePro, MoonUISelectableVirtualListPro, MoonUISeparatorPro, ServerMonitorWidget as MoonUIServerMonitorWidget, MoonUISidebarPro, MoonUISkeletonPro, MoonUISliderPro, MoonUISwipeableCardPro, MoonUISwitchPro, MoonUITableBodyPro, MoonUITableCaptionPro, MoonUITableCellPro, MoonUITableFooterPro, MoonUITableHeadPro, MoonUITableHeaderPro, MoonUITablePro, MoonUITableRowPro, MoonUITabsContentPro, MoonUITabsPro as MoonUITabsEnhanced, MoonUITabsListPro, MoonUITabsPro, MoonUITabsTriggerPro, MoonUITextareaPro, MoonUITimelinePro, MoonUIToastPro, MoonUITogglePro, MoonUITooltipContentPro, MoonUITooltipPro, MoonUITooltipProviderPro, MoonUITooltipTriggerPro, MoonUIVirtualListPro, WidgetBase as MoonUIWidgetBase, MoonUIalertVariantsPro, MoonUIaspectRatioVariantsPro, MoonUIbreadcrumbVariantsPro, collapsibleContentVariants as MoonUIcollapsibleContentVariantsPro, collapsibleTriggerVariants as MoonUIcollapsibleTriggerVariantsPro, MoonUIradioGroupItemVariantsPro, MoonUItableVariantsPro, MoonUItoggleVariantsPro, Navbar, NavigationMenu2 as NavigationMenu, NavigationMenuContent2 as NavigationMenuContent, NavigationMenuIndicator2 as NavigationMenuIndicator, NavigationMenuItem2 as NavigationMenuItem, NavigationMenuLink2 as NavigationMenuLink, NavigationMenuList2 as NavigationMenuList, NavigationMenuTrigger2 as NavigationMenuTrigger, NavigationMenuViewport2 as NavigationMenuViewport, OpenAIProvider, OptimizedImage, MoonUIPaginationPro as Pagination, MoonUIPaginationContentPro as PaginationContent, MoonUIPaginationEllipsisPro as PaginationEllipsis, MoonUIPaginationItemPro as PaginationItem, MoonUIPaginationLinkPro as PaginationLink, MoonUIPaginationNextPro as PaginationNext, MoonUIPaginationPreviousPro as PaginationPrevious, PerformanceDebugger, PerformanceMonitor, PhoneNumberInput, PinchZoom, MoonUIPopoverPro as Popover, MoonUIPopoverContentPro as PopoverContent, MoonUIPopoverTriggerPro as PopoverTrigger, MoonUIProgressPro as Progress, QuizForm, MoonUIRadioGroupPro as RadioGroup, MoonUIRadioGroupContextPro as RadioGroupContext, MoonUIRadioGroupItemPro as RadioGroupItem, MoonUIRadioItemWithLabelPro as RadioItemWithLabel, MoonUIRadioLabelPro as RadioLabel, RealTimePerformanceMonitor, RevenueWidget, RichTextEditor, ScrollArea, ScrollBar, MoonUISelectPro as Select, MoonUISelectContentPro as SelectContent, MoonUISelectGroupPro as SelectGroup, MoonUISelectItemPro as SelectItem, MoonUISelectLabelPro as SelectLabel, MoonUISelectSeparatorPro as SelectSeparator, MoonUISelectTriggerPro as SelectTrigger, MoonUISelectValuePro as SelectValue, SelectableVirtualList, MoonUISeparatorPro as Separator, ServerMonitorWidget, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SimpleLightbox, MoonUISkeletonPro as Skeleton, MoonUISliderPro as Slider, SpotlightCard, SwipeableCard, MoonUISwitchPro as Switch, MoonUITablePro as Table, MoonUITableBodyPro as TableBody, MoonUITableCaptionPro as TableCaption, MoonUITableCellPro as TableCell, MoonUITableFooterPro as TableFooter, MoonUITableHeadPro as TableHead, MoonUITableHeaderPro as TableHeader, MoonUITableRowPro as TableRow, Tabs, TabsContent, TabsList, TabsTrigger, MoonUITextareaPro as Textarea, Timeline, MoonUIToastPro as Toast, MoonUITogglePro as Toggle, MoonUITooltipPro as Tooltip, MoonUITooltipContentPro as TooltipContent, MoonUITooltipProviderPro as TooltipProvider, MoonUITooltipTriggerPro as TooltipTrigger, VirtualList, WidgetBase, MoonUIalertVariantsPro as alertVariants, MoonUIaspectRatioVariantsPro as aspectRatioVariants, moonUIBadgeVariantsPro as badgeVariants, MoonUIbreadcrumbVariantsPro as breadcrumbVariants, moonUIButtonProVariants as buttonVariants, cn, collapsibleContentVariants, collapsibleTriggerVariants, commandVariantsPro, createAIProvider, galleryItemVariants, galleryVariants, getExpandableColumn, hoverCard3DVariants, moonUIAnimatedButtonProVariants, badgeVariants2 as moonUIAvatarBadgeVariants, avatarVariants2 as moonUIAvatarProVariants, statusVariants as moonUIAvatarStatusVariants, moonUIBadgeVariantsPro, moonUIButtonProVariants, gestureDrawerVariants as moonUIGestureDrawerProVariants, moonUISeparatorVariantsPro, navigationMenuTriggerStyle, countries as phoneCountries, MoonUIradioGroupItemVariantsPro as radioGroupItemVariants, moonUISeparatorVariantsPro as separatorVariants, MoonUItableVariantsPro as tableVariants, MoonUItoggleVariantsPro as toggleVariants, useAccordionAnalytics, useCollapsibleAnalytics, useExpandableRows, useFormWizard, useStreamingData, useVirtualList };
|
|
88190
|
+
export { MoonUIAccordionPro as Accordion, MoonUIAccordionContentPro as AccordionContent, MoonUIAccordionItemPro as AccordionItem, MoonUIAccordionTriggerPro as AccordionTrigger, Calendar3 as AdvancedCalendar, AdvancedChart, AdvancedForms, MoonUIAlertPro as Alert, MoonUIAlertDescriptionPro as AlertDescription, MoonUIAlertTitlePro as AlertTitle, MoonUIAspectRatioPro as AspectRatio, MoonUIAvatarPro as Avatar, MoonUIAvatarFallbackPro as AvatarFallback, MoonUIAvatarImagePro as AvatarImage, MoonUIBadgePro as Badge, MoonUIBreadcrumbPro as Breadcrumb, MoonUIBreadcrumbEllipsisPro as BreadcrumbEllipsis, MoonUIBreadcrumbItemPro as BreadcrumbItem, MoonUIBreadcrumbLinkPro as BreadcrumbLink, MoonUIBreadcrumbListPro as BreadcrumbList, MoonUIBreadcrumbPagePro as BreadcrumbPage, MoonUIBreadcrumbSeparatorPro as BreadcrumbSeparator, MoonUIButtonPro as Button, Calendar, Calendar3 as CalendarPro, MoonUICardPro as Card, MoonUICardContentPro as CardContent, MoonUICardDescriptionPro as CardDescription, MoonUICardFooterPro as CardFooter, MoonUICardHeaderPro as CardHeader, MoonUICardTitlePro as CardTitle, ChartWidget2 as ChartWidget, MoonUICheckboxPro as Checkbox, ClaudeProvider, MoonUICollapsiblePro as Collapsible, MoonUICollapsibleContentPro as CollapsibleContent, MoonUICollapsibleTriggerPro as CollapsibleTrigger, MoonUIColorPickerPro as ColorPicker, MoonUICommandPro as Command, MoonUICommandDialogPro as CommandDialog, MoonUICommandEmptyPro as CommandEmpty, MoonUICommandGroupPro as CommandGroup, MoonUICommandInputPro as CommandInput, MoonUICommandItemPro as CommandItem, MoonUICommandListPro as CommandList, MoonUICommandSeparatorPro as CommandSeparator, MoonUICommandShortcutPro as CommandShortcut, Dashboard, DataTable, MoonUIDialogPro as Dialog, MoonUIDialogClosePro as DialogClose, MoonUIDialogContentPro as DialogContent, MoonUIDialogDescriptionPro as DialogDescription, MoonUIDialogFooterPro as DialogFooter, MoonUIDialogHeaderPro as DialogHeader, MoonUIDialogTitlePro as DialogTitle, MoonUIDialogTriggerPro as DialogTrigger, DraggableList, MoonUIDropdownMenuPro as DropdownMenu, MoonUIDropdownMenuCheckboxItemPro as DropdownMenuCheckboxItem, MoonUIDropdownMenuContentPro as DropdownMenuContent, MoonUIDropdownMenuGroupPro as DropdownMenuGroup, MoonUIDropdownMenuItemPro as DropdownMenuItem, MoonUIDropdownMenuLabelPro as DropdownMenuLabel, MoonUIDropdownMenuPortalPro as DropdownMenuPortal, MoonUIDropdownMenuRadioGroupPro as DropdownMenuRadioGroup, MoonUIDropdownMenuRadioItemPro as DropdownMenuRadioItem, MoonUIDropdownMenuSeparatorPro as DropdownMenuSeparator, MoonUIDropdownMenuShortcutPro as DropdownMenuShortcut, MoonUIDropdownMenuSubPro as DropdownMenuSub, MoonUIDropdownMenuSubContentPro as DropdownMenuSubContent, MoonUIDropdownMenuSubTriggerPro as DropdownMenuSubTrigger, MoonUIDropdownMenuTriggerPro as DropdownMenuTrigger, ErrorBoundary, FloatingActionButton, FormWizard, FormWizardNavigation, FormWizardProgress, FormWizardStep, FunnelWidget, MoonUIGalleryItemPro as GalleryItem, GaugeWidget, GeminiProvider, GestureDrawer, GitHubStars, HealthCheck, HoverCard2 as HoverCard, HoverCard3D, HoverCardContent2 as HoverCardContent, HoverCardTrigger2 as HoverCardTrigger, MoonUIInputPro as Input, KPIWidget, Kanban, LANGUAGE_COLORS, MoonUILabelPro as Label, LazyComponent, LazyImage, LazyList, LightboxContent, LightboxProvider, LightboxTrigger, MagneticButton, MoonUIMediaGalleryPro as MediaGallery, MemoryAnalytics, MemoryEfficientData, MoonUIAccordionContentPro, MoonUIAccordionItemPro, MoonUIAccordionPro, MoonUIAccordionTriggerPro, MoonUIAdvancedChartPro, MoonUIAlertDescriptionPro, MoonUIAlertPro, MoonUIAlertTitlePro, MoonUIAnimatedButtonPro, MoonUIAspectRatioPro, MoonUIAsyncAvatarPro, MoonUIAvatarFallbackPro, MoonUIAvatarGroupPro2 as MoonUIAvatarGroupPro, MoonUIAvatarImagePro, MoonUIAvatarPro2 as MoonUIAvatarPro, MoonUIBadgePro, MoonUIBreadcrumbEllipsisPro, MoonUIBreadcrumbItemPro, MoonUIBreadcrumbLinkPro, MoonUIBreadcrumbListPro, MoonUIBreadcrumbPagePro, MoonUIBreadcrumbPro, MoonUIBreadcrumbSeparatorPro, MoonUIButtonPro, Calendar3 as MoonUICalendarPro, MoonUICardContentPro, MoonUICardDescriptionPro, MoonUICardFooterPro, MoonUICardHeaderPro, MoonUICardPro, MoonUICardTitlePro, ChartWidget2 as MoonUIChartWidget, MoonUICheckboxPro, MoonUICollapsibleContentPro, MoonUICollapsiblePro, MoonUICollapsibleTriggerPro, MoonUIColorPickerPro, MoonUICommandDialogPro, MoonUICommandEmptyPro, MoonUICommandGroupPro, MoonUICommandInputPro, MoonUICommandItemPro, MoonUICommandListPro, MoonUICommandPro, MoonUICommandSeparatorPro, MoonUICommandShortcutPro, MoonUICreditCardInputPro, Dashboard as MoonUIDashboardPro, MoonUIDataTable, DataTable as MoonUIDataTablePro, MoonUIDialogClosePro, MoonUIDialogContentPro, MoonUIDialogDescriptionPro, MoonUIDialogFooterPro, MoonUIDialogHeaderPro, MoonUIDialogPro, MoonUIDialogTitlePro, MoonUIDialogTriggerPro, DraggableList as MoonUIDraggableListPro, MoonUIDropdownMenuCheckboxItemPro, MoonUIDropdownMenuContentPro, MoonUIDropdownMenuGroupPro, MoonUIDropdownMenuItemPro, MoonUIDropdownMenuLabelPro, MoonUIDropdownMenuPortalPro, MoonUIDropdownMenuPro, MoonUIDropdownMenuRadioGroupPro, MoonUIDropdownMenuRadioItemPro, MoonUIDropdownMenuSeparatorPro, MoonUIDropdownMenuShortcutPro, MoonUIDropdownMenuSubContentPro, MoonUIDropdownMenuSubPro, MoonUIDropdownMenuSubTriggerPro, MoonUIDropdownMenuTriggerPro, file_upload_default as MoonUIFileUploadPro, MoonUIFormWizardPro, FunnelWidget as MoonUIFunnelWidget, MoonUIGalleryItemPro, GaugeWidget as MoonUIGaugeWidget, MoonUIGestureDrawerPro, MoonUIInputPro, KPIWidget as MoonUIKPIWidget, MoonUIKanbanPro, MoonUILabelPro, LightboxContent as MoonUILightboxContentPro, SimpleLightbox as MoonUILightboxPro, LightboxProvider as MoonUILightboxProviderPro, LightboxTrigger as MoonUILightboxTriggerPro, MoonUIMediaGalleryPro, MoonUIMemoryEfficientDataPro, Navbar as MoonUINavbarPro, MoonUIPaginationContentPro, MoonUIPaginationEllipsisPro, MoonUIPaginationItemPro, MoonUIPaginationLinkPro, MoonUIPaginationNextPro, MoonUIPaginationPreviousPro, MoonUIPaginationPro, PhoneNumberInput as MoonUIPhoneNumberInputPro, MoonUIPhoneNumberInputSimple, MoonUIPopoverContentPro, MoonUIPopoverPro, MoonUIPopoverTriggerPro, MoonUIProgressPro, MoonUIQuizFormPro2 as MoonUIQuizFormPro, MoonUIRadioGroupContextPro, MoonUIRadioGroupItemPro, MoonUIRadioGroupPro, MoonUIRadioItemWithLabelPro, MoonUIRadioLabelPro, RevenueWidget as MoonUIRevenueWidget, RichTextEditor as MoonUIRichTextEditorPro, MoonUISelectContentPro, MoonUISelectGroupPro, MoonUISelectItemPro, MoonUISelectLabelPro, MoonUISelectPro, MoonUISelectSeparatorPro, MoonUISelectTriggerPro, MoonUISelectValuePro, SelectableVirtualList as MoonUISelectableVirtualListPro, MoonUISeparatorPro, ServerMonitorWidget as MoonUIServerMonitorWidget, Sidebar as MoonUISidebarPro, MoonUISkeletonPro, MoonUISliderPro, SwipeableCard as MoonUISwipeableCardPro, MoonUISwitchPro, MoonUITableBodyPro, MoonUITableCaptionPro, MoonUITableCellPro, MoonUITableFooterPro, MoonUITableHeadPro, MoonUITableHeaderPro, MoonUITablePro, MoonUITableRowPro, MoonUITabsContentPro, MoonUITabsPro as MoonUITabsEnhanced, MoonUITabsListPro, MoonUITabsPro, MoonUITabsTriggerPro, MoonUITextareaPro, Timeline as MoonUITimelinePro, MoonUIToastPro, MoonUITogglePro, MoonUITooltipContentPro, MoonUITooltipPro, MoonUITooltipProviderPro, MoonUITooltipTriggerPro, VirtualList as MoonUIVirtualListPro, WidgetBase as MoonUIWidgetBase, MoonUIalertVariantsPro, MoonUIaspectRatioVariantsPro, MoonUIbreadcrumbVariantsPro, collapsibleContentVariants as MoonUIcollapsibleContentVariantsPro, collapsibleTriggerVariants as MoonUIcollapsibleTriggerVariantsPro, MoonUIradioGroupItemVariantsPro, MoonUItableVariantsPro, MoonUItoggleVariantsPro, Navbar, NavigationMenu2 as NavigationMenu, NavigationMenuContent2 as NavigationMenuContent, NavigationMenuIndicator2 as NavigationMenuIndicator, NavigationMenuItem2 as NavigationMenuItem, NavigationMenuLink2 as NavigationMenuLink, NavigationMenuList2 as NavigationMenuList, NavigationMenuTrigger2 as NavigationMenuTrigger, NavigationMenuViewport2 as NavigationMenuViewport, OpenAIProvider, OptimizedImage, MoonUIPaginationPro as Pagination, MoonUIPaginationContentPro as PaginationContent, MoonUIPaginationEllipsisPro as PaginationEllipsis, MoonUIPaginationItemPro as PaginationItem, MoonUIPaginationLinkPro as PaginationLink, MoonUIPaginationNextPro as PaginationNext, MoonUIPaginationPreviousPro as PaginationPrevious, PerformanceDebugger, PerformanceMonitor, PhoneNumberInput, PinchZoom, MoonUIPopoverPro as Popover, MoonUIPopoverContentPro as PopoverContent, MoonUIPopoverTriggerPro as PopoverTrigger, MoonUIProgressPro as Progress, QuizForm, MoonUIRadioGroupPro as RadioGroup, MoonUIRadioGroupContextPro as RadioGroupContext, MoonUIRadioGroupItemPro as RadioGroupItem, MoonUIRadioItemWithLabelPro as RadioItemWithLabel, MoonUIRadioLabelPro as RadioLabel, RealTimePerformanceMonitor, RevenueWidget, RichTextEditor, ScrollArea, ScrollBar, MoonUISelectPro as Select, MoonUISelectContentPro as SelectContent, MoonUISelectGroupPro as SelectGroup, MoonUISelectItemPro as SelectItem, MoonUISelectLabelPro as SelectLabel, MoonUISelectSeparatorPro as SelectSeparator, MoonUISelectTriggerPro as SelectTrigger, MoonUISelectValuePro as SelectValue, SelectableVirtualList, MoonUISeparatorPro as Separator, ServerMonitorWidget, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SimpleLightbox, MoonUISkeletonPro as Skeleton, MoonUISliderPro as Slider, SpotlightCard, SwipeableCard, MoonUISwitchPro as Switch, MoonUITablePro as Table, MoonUITableBodyPro as TableBody, MoonUITableCaptionPro as TableCaption, MoonUITableCellPro as TableCell, MoonUITableFooterPro as TableFooter, MoonUITableHeadPro as TableHead, MoonUITableHeaderPro as TableHeader, MoonUITableRowPro as TableRow, Tabs, TabsContent, TabsList, TabsTrigger, MoonUITextareaPro as Textarea, Timeline, MoonUIToastPro as Toast, MoonUITogglePro as Toggle, MoonUITooltipPro as Tooltip, MoonUITooltipContentPro as TooltipContent, MoonUITooltipProviderPro as TooltipProvider, MoonUITooltipTriggerPro as TooltipTrigger, VirtualList, WidgetBase, MoonUIalertVariantsPro as alertVariants, MoonUIaspectRatioVariantsPro as aspectRatioVariants, moonUIBadgeVariantsPro as badgeVariants, MoonUIbreadcrumbVariantsPro as breadcrumbVariants, moonUIButtonProVariants as buttonVariants, cn, collapsibleContentVariants, collapsibleTriggerVariants, commandVariantsPro, createAIProvider, galleryItemVariants, galleryVariants, getExpandableColumn, hoverCard3DVariants, moonUIAnimatedButtonProVariants, badgeVariants2 as moonUIAvatarBadgeVariants, avatarVariants2 as moonUIAvatarProVariants, statusVariants as moonUIAvatarStatusVariants, moonUIBadgeVariantsPro, moonUIButtonProVariants, gestureDrawerVariants as moonUIGestureDrawerProVariants, moonUISeparatorVariantsPro, navigationMenuTriggerStyle, countries as phoneCountries, MoonUIradioGroupItemVariantsPro as radioGroupItemVariants, moonUISeparatorVariantsPro as separatorVariants, MoonUItableVariantsPro as tableVariants, MoonUItoggleVariantsPro as toggleVariants, useAccordionAnalytics, useCollapsibleAnalytics, useExpandableRows, useFormWizard, useStreamingData, useVirtualList };
|