@moontra/moonui-pro 2.32.7 → 2.32.8
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 +44 -7
- package/dist/index.global.js +116 -116
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +413 -166
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { clsx } from 'clsx';
|
|
3
|
-
import { twMerge } from 'tailwind-merge';
|
|
4
2
|
import * as t from 'react';
|
|
5
3
|
import t__default, { useState, useMemo, useCallback, useRef, useEffect, forwardRef, createContext, useContext, useLayoutEffect, useDebugValue, Component } from 'react';
|
|
4
|
+
import { clsx } from 'clsx';
|
|
5
|
+
import { twMerge } from 'tailwind-merge';
|
|
6
6
|
import * as AccordionPrimitive2 from '@radix-ui/react-accordion';
|
|
7
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, Lock, 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';
|
|
@@ -50,9 +50,16 @@ 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 __esm = (fn, res) => function __init() {
|
|
54
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
55
|
+
};
|
|
53
56
|
var __commonJS = (cb, mod) => function __require() {
|
|
54
57
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
55
58
|
};
|
|
59
|
+
var __export = (target, all) => {
|
|
60
|
+
for (var name in all)
|
|
61
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
62
|
+
};
|
|
56
63
|
var __copyProps = (to, from2, except, desc) => {
|
|
57
64
|
if (from2 && typeof from2 === "object" || typeof from2 === "function") {
|
|
58
65
|
for (let key of __getOwnPropNames(from2))
|
|
@@ -70,6 +77,230 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
70
77
|
mod
|
|
71
78
|
));
|
|
72
79
|
|
|
80
|
+
// src/hooks/use-subscription.ts
|
|
81
|
+
var use_subscription_exports = {};
|
|
82
|
+
__export(use_subscription_exports, {
|
|
83
|
+
clearCache: () => clearCache,
|
|
84
|
+
forceRefresh: () => forceRefresh,
|
|
85
|
+
useSubscription: () => useSubscription
|
|
86
|
+
});
|
|
87
|
+
function notifySubscribers() {
|
|
88
|
+
subscribers.forEach((callback) => callback());
|
|
89
|
+
}
|
|
90
|
+
function updateGlobalState(newState) {
|
|
91
|
+
globalAuthState = { ...globalAuthState, ...newState };
|
|
92
|
+
notifySubscribers();
|
|
93
|
+
}
|
|
94
|
+
async function getAuthToken() {
|
|
95
|
+
if (typeof window !== "undefined") {
|
|
96
|
+
const browserToken = localStorage.getItem("moonui_auth_token");
|
|
97
|
+
if (browserToken) {
|
|
98
|
+
return browserToken;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
return process.env.NEXT_PUBLIC_MOONUI_AUTH_TOKEN || process.env.NEXT_PUBLIC_MOONUI_LICENSE_KEY || null;
|
|
102
|
+
}
|
|
103
|
+
async function validateLicense() {
|
|
104
|
+
const token = await getAuthToken();
|
|
105
|
+
if (!token) {
|
|
106
|
+
if (typeof window !== "undefined") {
|
|
107
|
+
localStorage.removeItem(CACHE_KEY);
|
|
108
|
+
}
|
|
109
|
+
updateGlobalState({
|
|
110
|
+
hasProAccess: false,
|
|
111
|
+
isAuthenticated: false,
|
|
112
|
+
isLoading: false
|
|
113
|
+
});
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
try {
|
|
117
|
+
const response = await fetch("https://moonui.dev/api/auth/validate", {
|
|
118
|
+
headers: {
|
|
119
|
+
"Authorization": `Bearer ${token}`
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
if (response.ok) {
|
|
123
|
+
const data = await response.json();
|
|
124
|
+
const cacheData = {
|
|
125
|
+
valid: data.valid,
|
|
126
|
+
hasLifetimeAccess: data.user?.hasLifetimeAccess || false,
|
|
127
|
+
timestamp: Date.now(),
|
|
128
|
+
cacheUntil: data.cacheUntil ? new Date(data.cacheUntil).getTime() : void 0
|
|
129
|
+
};
|
|
130
|
+
if (typeof window !== "undefined") {
|
|
131
|
+
localStorage.setItem(CACHE_KEY, JSON.stringify(cacheData));
|
|
132
|
+
}
|
|
133
|
+
const hasProAccess = data.valid && (data.user?.hasLifetimeAccess || data.user?.features?.includes("pro_components"));
|
|
134
|
+
updateGlobalState({
|
|
135
|
+
hasProAccess,
|
|
136
|
+
isAuthenticated: data.valid,
|
|
137
|
+
subscriptionPlan: hasProAccess ? "lifetime" : "free",
|
|
138
|
+
subscription: {
|
|
139
|
+
status: hasProAccess ? "active" : "inactive",
|
|
140
|
+
plan: hasProAccess ? "lifetime" : "free"
|
|
141
|
+
},
|
|
142
|
+
isLoading: false
|
|
143
|
+
});
|
|
144
|
+
} else {
|
|
145
|
+
if (typeof window !== "undefined") {
|
|
146
|
+
localStorage.removeItem(CACHE_KEY);
|
|
147
|
+
}
|
|
148
|
+
updateGlobalState({
|
|
149
|
+
hasProAccess: false,
|
|
150
|
+
isAuthenticated: false,
|
|
151
|
+
isLoading: false
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
} catch (error) {
|
|
155
|
+
if (typeof window !== "undefined") {
|
|
156
|
+
const cached = localStorage.getItem(CACHE_KEY);
|
|
157
|
+
if (cached) {
|
|
158
|
+
const cacheData = JSON.parse(cached);
|
|
159
|
+
const now = Date.now();
|
|
160
|
+
if (now - cacheData.timestamp < OFFLINE_GRACE_PERIOD) {
|
|
161
|
+
updateGlobalState({
|
|
162
|
+
hasProAccess: cacheData.valid && cacheData.hasLifetimeAccess,
|
|
163
|
+
isAuthenticated: cacheData.valid,
|
|
164
|
+
subscriptionPlan: cacheData.valid && cacheData.hasLifetimeAccess ? "lifetime" : "free",
|
|
165
|
+
subscription: {
|
|
166
|
+
status: cacheData.valid && cacheData.hasLifetimeAccess ? "active" : "inactive",
|
|
167
|
+
plan: cacheData.valid && cacheData.hasLifetimeAccess ? "lifetime" : "free"
|
|
168
|
+
},
|
|
169
|
+
isLoading: false
|
|
170
|
+
});
|
|
171
|
+
return;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
updateGlobalState({
|
|
176
|
+
hasProAccess: false,
|
|
177
|
+
isAuthenticated: false,
|
|
178
|
+
isLoading: false
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
async function initializeAuth() {
|
|
183
|
+
if (isInitialized)
|
|
184
|
+
return;
|
|
185
|
+
isInitialized = true;
|
|
186
|
+
if (typeof window !== "undefined") {
|
|
187
|
+
const cached = localStorage.getItem(CACHE_KEY);
|
|
188
|
+
if (cached) {
|
|
189
|
+
const cacheData = JSON.parse(cached);
|
|
190
|
+
const now = Date.now();
|
|
191
|
+
if (now - cacheData.timestamp < CACHE_DURATION) {
|
|
192
|
+
updateGlobalState({
|
|
193
|
+
hasProAccess: cacheData.valid && cacheData.hasLifetimeAccess,
|
|
194
|
+
isAuthenticated: cacheData.valid,
|
|
195
|
+
subscriptionPlan: cacheData.valid && cacheData.hasLifetimeAccess ? "lifetime" : "free",
|
|
196
|
+
subscription: {
|
|
197
|
+
status: cacheData.valid && cacheData.hasLifetimeAccess ? "active" : "inactive",
|
|
198
|
+
plan: cacheData.valid && cacheData.hasLifetimeAccess ? "lifetime" : "free"
|
|
199
|
+
},
|
|
200
|
+
isLoading: false
|
|
201
|
+
});
|
|
202
|
+
return;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
await validateLicense();
|
|
207
|
+
}
|
|
208
|
+
async function forceRefresh() {
|
|
209
|
+
if (typeof window !== "undefined") {
|
|
210
|
+
localStorage.removeItem(CACHE_KEY);
|
|
211
|
+
console.log("[MoonUI Pro] Cache cleared, forcing refresh...");
|
|
212
|
+
}
|
|
213
|
+
isInitialized = false;
|
|
214
|
+
updateGlobalState({
|
|
215
|
+
isLoading: true,
|
|
216
|
+
hasProAccess: false,
|
|
217
|
+
isAuthenticated: false
|
|
218
|
+
});
|
|
219
|
+
await initializeAuth();
|
|
220
|
+
}
|
|
221
|
+
function clearCache() {
|
|
222
|
+
if (typeof window !== "undefined") {
|
|
223
|
+
localStorage.removeItem(CACHE_KEY);
|
|
224
|
+
localStorage.removeItem("moonui_auth_token");
|
|
225
|
+
console.log("[MoonUI Pro] Auth cache cleared");
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
function useSubscription() {
|
|
229
|
+
const [, forceUpdate] = useState({});
|
|
230
|
+
useEffect(() => {
|
|
231
|
+
initializeAuth();
|
|
232
|
+
const callback = () => forceUpdate({});
|
|
233
|
+
subscribers.push(callback);
|
|
234
|
+
const handleFocus = async () => {
|
|
235
|
+
if (typeof window !== "undefined") {
|
|
236
|
+
const cached = localStorage.getItem(CACHE_KEY);
|
|
237
|
+
if (cached) {
|
|
238
|
+
const cacheData = JSON.parse(cached);
|
|
239
|
+
const now = Date.now();
|
|
240
|
+
if (now - cacheData.timestamp > CACHE_DURATION) {
|
|
241
|
+
console.log("[MoonUI Pro] Cache expired on focus, revalidating...");
|
|
242
|
+
await validateLicense();
|
|
243
|
+
}
|
|
244
|
+
} else {
|
|
245
|
+
console.log("[MoonUI Pro] No cache on focus, validating...");
|
|
246
|
+
await validateLicense();
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
};
|
|
250
|
+
const handleStorageChange = async (e) => {
|
|
251
|
+
if (e.key === "moonui_auth_token" || e.key === CACHE_KEY) {
|
|
252
|
+
console.log("[MoonUI Pro] Auth storage changed, revalidating...");
|
|
253
|
+
if (!e.newValue) {
|
|
254
|
+
updateGlobalState({
|
|
255
|
+
hasProAccess: false,
|
|
256
|
+
isAuthenticated: false,
|
|
257
|
+
isLoading: false
|
|
258
|
+
});
|
|
259
|
+
} else {
|
|
260
|
+
await forceRefresh();
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
};
|
|
264
|
+
window.addEventListener("focus", handleFocus);
|
|
265
|
+
window.addEventListener("storage", handleStorageChange);
|
|
266
|
+
return () => {
|
|
267
|
+
const index2 = subscribers.indexOf(callback);
|
|
268
|
+
if (index2 > -1) {
|
|
269
|
+
subscribers.splice(index2, 1);
|
|
270
|
+
}
|
|
271
|
+
window.removeEventListener("focus", handleFocus);
|
|
272
|
+
window.removeEventListener("storage", handleStorageChange);
|
|
273
|
+
};
|
|
274
|
+
}, []);
|
|
275
|
+
return {
|
|
276
|
+
...globalAuthState,
|
|
277
|
+
checkAccess: validateLicense,
|
|
278
|
+
forceRefresh,
|
|
279
|
+
clearCache
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
var globalAuthState, isInitialized, subscribers, CACHE_KEY, CACHE_DURATION, OFFLINE_GRACE_PERIOD;
|
|
283
|
+
var init_use_subscription = __esm({
|
|
284
|
+
"src/hooks/use-subscription.ts"() {
|
|
285
|
+
globalAuthState = {
|
|
286
|
+
isLoading: true,
|
|
287
|
+
hasProAccess: false,
|
|
288
|
+
isAuthenticated: false,
|
|
289
|
+
subscriptionPlan: "free",
|
|
290
|
+
subscription: {
|
|
291
|
+
status: "inactive",
|
|
292
|
+
plan: "free"
|
|
293
|
+
},
|
|
294
|
+
isAdmin: false
|
|
295
|
+
};
|
|
296
|
+
isInitialized = false;
|
|
297
|
+
subscribers = [];
|
|
298
|
+
CACHE_KEY = "moonui_license_cache";
|
|
299
|
+
CACHE_DURATION = 5 * 60 * 1e3 ;
|
|
300
|
+
OFFLINE_GRACE_PERIOD = 10 * 60 * 1e3 ;
|
|
301
|
+
}
|
|
302
|
+
});
|
|
303
|
+
|
|
73
304
|
// ../../node_modules/fast-deep-equal/es6/react.js
|
|
74
305
|
var require_react = __commonJS({
|
|
75
306
|
"../../node_modules/fast-deep-equal/es6/react.js"(exports, module) {
|
|
@@ -2051,160 +2282,109 @@ function createAIProvider(provider, config) {
|
|
|
2051
2282
|
throw new Error(`Unsupported AI provider: ${provider}`);
|
|
2052
2283
|
}
|
|
2053
2284
|
}
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
var subscribers = [];
|
|
2067
|
-
var CACHE_KEY = "moonui_license_cache";
|
|
2068
|
-
var CACHE_DURATION = 5 * 60 * 1e3 ;
|
|
2069
|
-
var OFFLINE_GRACE_PERIOD = 10 * 60 * 1e3 ;
|
|
2070
|
-
function notifySubscribers() {
|
|
2071
|
-
subscribers.forEach((callback) => callback());
|
|
2072
|
-
}
|
|
2073
|
-
function updateGlobalState(newState) {
|
|
2074
|
-
globalAuthState = { ...globalAuthState, ...newState };
|
|
2075
|
-
notifySubscribers();
|
|
2076
|
-
}
|
|
2077
|
-
async function getAuthToken() {
|
|
2078
|
-
if (typeof window !== "undefined") {
|
|
2079
|
-
const browserToken = localStorage.getItem("moonui_auth_token");
|
|
2080
|
-
if (browserToken) {
|
|
2081
|
-
return browserToken;
|
|
2082
|
-
}
|
|
2083
|
-
}
|
|
2084
|
-
return process.env.NEXT_PUBLIC_MOONUI_AUTH_TOKEN || process.env.NEXT_PUBLIC_MOONUI_LICENSE_KEY || null;
|
|
2285
|
+
|
|
2286
|
+
// src/index.ts
|
|
2287
|
+
init_use_subscription();
|
|
2288
|
+
|
|
2289
|
+
// src/utils/cache-helper.ts
|
|
2290
|
+
var forceRefresh2;
|
|
2291
|
+
var clearCache2;
|
|
2292
|
+
if (typeof window !== "undefined") {
|
|
2293
|
+
Promise.resolve().then(() => (init_use_subscription(), use_subscription_exports)).then((module) => {
|
|
2294
|
+
forceRefresh2 = module.forceRefresh;
|
|
2295
|
+
clearCache2 = module.clearCache;
|
|
2296
|
+
});
|
|
2085
2297
|
}
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2298
|
+
var MoonUICache = {
|
|
2299
|
+
/**
|
|
2300
|
+
* Clear all MoonUI Pro authentication cache
|
|
2301
|
+
*/
|
|
2302
|
+
clear: () => {
|
|
2303
|
+
clearCache2();
|
|
2304
|
+
console.log("\u2705 MoonUI Pro cache cleared");
|
|
2305
|
+
},
|
|
2306
|
+
/**
|
|
2307
|
+
* Force refresh authentication (clear cache and revalidate)
|
|
2308
|
+
*/
|
|
2309
|
+
refresh: async () => {
|
|
2310
|
+
console.log("\u{1F504} Refreshing MoonUI Pro authentication...");
|
|
2311
|
+
await forceRefresh2();
|
|
2312
|
+
console.log("\u2705 Authentication refreshed");
|
|
2313
|
+
},
|
|
2314
|
+
/**
|
|
2315
|
+
* Clear cache and force refresh in one step
|
|
2316
|
+
*/
|
|
2317
|
+
clearAndRefresh: async () => {
|
|
2318
|
+
console.log("\u{1F9F9} Clearing cache and refreshing...");
|
|
2319
|
+
clearCache2();
|
|
2320
|
+
await forceRefresh2();
|
|
2321
|
+
console.log("\u2705 Cache cleared and authentication refreshed");
|
|
2322
|
+
},
|
|
2323
|
+
/**
|
|
2324
|
+
* Check current cache status
|
|
2325
|
+
*/
|
|
2326
|
+
status: () => {
|
|
2327
|
+
const cache2 = localStorage.getItem("moonui_license_cache");
|
|
2328
|
+
const token = localStorage.getItem("moonui_auth_token");
|
|
2329
|
+
if (!cache2 && !token) {
|
|
2330
|
+
console.log("\u274C No authentication cache or token found");
|
|
2331
|
+
return null;
|
|
2091
2332
|
}
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
}
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
const cacheData = {
|
|
2108
|
-
valid: data.valid,
|
|
2109
|
-
hasLifetimeAccess: data.user?.hasLifetimeAccess || false,
|
|
2110
|
-
timestamp: Date.now(),
|
|
2111
|
-
cacheUntil: data.cacheUntil ? new Date(data.cacheUntil).getTime() : void 0
|
|
2112
|
-
};
|
|
2113
|
-
if (typeof window !== "undefined") {
|
|
2114
|
-
localStorage.setItem(CACHE_KEY, JSON.stringify(cacheData));
|
|
2115
|
-
}
|
|
2116
|
-
const hasProAccess = data.valid && (data.user?.hasLifetimeAccess || data.user?.features?.includes("pro_components"));
|
|
2117
|
-
updateGlobalState({
|
|
2118
|
-
hasProAccess,
|
|
2119
|
-
isAuthenticated: data.valid,
|
|
2120
|
-
subscriptionPlan: hasProAccess ? "lifetime" : "free",
|
|
2121
|
-
subscription: {
|
|
2122
|
-
status: hasProAccess ? "active" : "inactive",
|
|
2123
|
-
plan: hasProAccess ? "lifetime" : "free"
|
|
2124
|
-
},
|
|
2125
|
-
isLoading: false
|
|
2126
|
-
});
|
|
2127
|
-
} else {
|
|
2128
|
-
if (typeof window !== "undefined") {
|
|
2129
|
-
localStorage.removeItem(CACHE_KEY);
|
|
2130
|
-
}
|
|
2131
|
-
updateGlobalState({
|
|
2132
|
-
hasProAccess: false,
|
|
2133
|
-
isAuthenticated: false,
|
|
2134
|
-
isLoading: false
|
|
2135
|
-
});
|
|
2333
|
+
if (cache2) {
|
|
2334
|
+
const cacheData = JSON.parse(cache2);
|
|
2335
|
+
const now = Date.now();
|
|
2336
|
+
const age = now - cacheData.timestamp;
|
|
2337
|
+
const ageMinutes = Math.floor(age / 6e4);
|
|
2338
|
+
console.log("\u{1F4CA} Cache Status:");
|
|
2339
|
+
console.log(` Valid: ${cacheData.valid ? "\u2705" : "\u274C"}`);
|
|
2340
|
+
console.log(` Has Lifetime Access: ${cacheData.hasLifetimeAccess ? "\u2705" : "\u274C"}`);
|
|
2341
|
+
console.log(` Cache Age: ${ageMinutes} minutes`);
|
|
2342
|
+
console.log(` Timestamp: ${new Date(cacheData.timestamp).toLocaleString()}`);
|
|
2343
|
+
return cacheData;
|
|
2344
|
+
}
|
|
2345
|
+
if (token) {
|
|
2346
|
+
console.log("\u{1F511} Auth token found but no cache");
|
|
2347
|
+
return { token };
|
|
2136
2348
|
}
|
|
2137
|
-
}
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2349
|
+
},
|
|
2350
|
+
/**
|
|
2351
|
+
* Debug info - shows all relevant localStorage keys
|
|
2352
|
+
*/
|
|
2353
|
+
debug: () => {
|
|
2354
|
+
console.log("\u{1F50D} MoonUI Pro Debug Info:");
|
|
2355
|
+
console.log("----------------------------");
|
|
2356
|
+
const keys2 = [
|
|
2357
|
+
"moonui_license_cache",
|
|
2358
|
+
"moonui_auth_token",
|
|
2359
|
+
"moonui-sidebar-state"
|
|
2360
|
+
];
|
|
2361
|
+
keys2.forEach((key) => {
|
|
2362
|
+
const value = localStorage.getItem(key);
|
|
2363
|
+
if (value) {
|
|
2364
|
+
console.log(`\u{1F4E6} ${key}:`);
|
|
2365
|
+
try {
|
|
2366
|
+
const parsed = JSON.parse(value);
|
|
2367
|
+
console.log(parsed);
|
|
2368
|
+
} catch {
|
|
2369
|
+
console.log(value);
|
|
2155
2370
|
}
|
|
2371
|
+
} else {
|
|
2372
|
+
console.log(`\u274C ${key}: Not found`);
|
|
2156
2373
|
}
|
|
2157
|
-
}
|
|
2158
|
-
updateGlobalState({
|
|
2159
|
-
hasProAccess: false,
|
|
2160
|
-
isAuthenticated: false,
|
|
2161
|
-
isLoading: false
|
|
2162
2374
|
});
|
|
2163
2375
|
}
|
|
2164
|
-
}
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
const
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
updateGlobalState({
|
|
2176
|
-
hasProAccess: cacheData.valid && cacheData.hasLifetimeAccess,
|
|
2177
|
-
isAuthenticated: cacheData.valid,
|
|
2178
|
-
subscriptionPlan: cacheData.valid && cacheData.hasLifetimeAccess ? "lifetime" : "free",
|
|
2179
|
-
subscription: {
|
|
2180
|
-
status: cacheData.valid && cacheData.hasLifetimeAccess ? "active" : "inactive",
|
|
2181
|
-
plan: cacheData.valid && cacheData.hasLifetimeAccess ? "lifetime" : "free"
|
|
2182
|
-
},
|
|
2183
|
-
isLoading: false
|
|
2184
|
-
});
|
|
2185
|
-
return;
|
|
2186
|
-
}
|
|
2187
|
-
}
|
|
2376
|
+
};
|
|
2377
|
+
if (typeof window !== "undefined") {
|
|
2378
|
+
window.MoonUICache = MoonUICache;
|
|
2379
|
+
const urlParams = new URLSearchParams(window.location.search);
|
|
2380
|
+
if (urlParams.has("clear-cache")) {
|
|
2381
|
+
console.log("\u{1F504} Auto-clearing cache due to URL parameter...");
|
|
2382
|
+
MoonUICache.clearAndRefresh().then(() => {
|
|
2383
|
+
urlParams.delete("clear-cache");
|
|
2384
|
+
const newUrl = window.location.pathname + (urlParams.toString() ? "?" + urlParams.toString() : "");
|
|
2385
|
+
window.history.replaceState({}, "", newUrl);
|
|
2386
|
+
});
|
|
2188
2387
|
}
|
|
2189
|
-
await validateLicense();
|
|
2190
|
-
}
|
|
2191
|
-
function useSubscription() {
|
|
2192
|
-
const [, forceUpdate] = useState({});
|
|
2193
|
-
useEffect(() => {
|
|
2194
|
-
initializeAuth();
|
|
2195
|
-
const callback = () => forceUpdate({});
|
|
2196
|
-
subscribers.push(callback);
|
|
2197
|
-
return () => {
|
|
2198
|
-
const index2 = subscribers.indexOf(callback);
|
|
2199
|
-
if (index2 > -1) {
|
|
2200
|
-
subscribers.splice(index2, 1);
|
|
2201
|
-
}
|
|
2202
|
-
};
|
|
2203
|
-
}, []);
|
|
2204
|
-
return {
|
|
2205
|
-
...globalAuthState,
|
|
2206
|
-
checkAccess: validateLicense
|
|
2207
|
-
};
|
|
2208
2388
|
}
|
|
2209
2389
|
var accordionItemVariants = cva(
|
|
2210
2390
|
"group relative overflow-visible transition-all duration-300 ease-out",
|
|
@@ -4876,6 +5056,7 @@ var useCollapsibleAnalytics = () => {
|
|
|
4876
5056
|
}, []);
|
|
4877
5057
|
return { analytics, trackOpen, trackClose };
|
|
4878
5058
|
};
|
|
5059
|
+
init_use_subscription();
|
|
4879
5060
|
function ProLockScreen({
|
|
4880
5061
|
componentName = "Pro Component",
|
|
4881
5062
|
className,
|
|
@@ -8280,6 +8461,7 @@ var TabsContent = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
8280
8461
|
}
|
|
8281
8462
|
));
|
|
8282
8463
|
TabsContent.displayName = TabsPrimitive2.Content.displayName;
|
|
8464
|
+
init_use_subscription();
|
|
8283
8465
|
var contentVariants = {
|
|
8284
8466
|
fade: {
|
|
8285
8467
|
initial: { opacity: 0 },
|
|
@@ -12888,6 +13070,7 @@ var NavigationMenuIndicator2 = t.forwardRef(({ className, ...props }, ref) => /*
|
|
|
12888
13070
|
}
|
|
12889
13071
|
));
|
|
12890
13072
|
NavigationMenuIndicator2.displayName = Indicator3.displayName;
|
|
13073
|
+
init_use_subscription();
|
|
12891
13074
|
var gestureDrawerVariants = cva(
|
|
12892
13075
|
"fixed bg-background shadow-2xl overflow-hidden",
|
|
12893
13076
|
{
|
|
@@ -13273,6 +13456,9 @@ var MoonUIGestureDrawerPro = t__default.forwardRef((props, ref) => {
|
|
|
13273
13456
|
});
|
|
13274
13457
|
MoonUIGestureDrawerPro.displayName = "MoonUIGestureDrawerPro";
|
|
13275
13458
|
var GestureDrawer = MoonUIGestureDrawerPro;
|
|
13459
|
+
|
|
13460
|
+
// src/components/ui/lightbox.tsx
|
|
13461
|
+
init_use_subscription();
|
|
13276
13462
|
var lightboxVariants = cva(
|
|
13277
13463
|
"fixed inset-0 z-50 flex items-center justify-center",
|
|
13278
13464
|
{
|
|
@@ -13734,6 +13920,9 @@ function SimpleLightbox({
|
|
|
13734
13920
|
/* @__PURE__ */ jsx(LightboxContent, { ...props })
|
|
13735
13921
|
] });
|
|
13736
13922
|
}
|
|
13923
|
+
|
|
13924
|
+
// src/components/ui/media-gallery.tsx
|
|
13925
|
+
init_use_subscription();
|
|
13737
13926
|
var galleryVariants = cva(
|
|
13738
13927
|
"w-full",
|
|
13739
13928
|
{
|
|
@@ -14137,6 +14326,7 @@ var MoonUIGalleryItemPro = t.forwardRef(({
|
|
|
14137
14326
|
);
|
|
14138
14327
|
});
|
|
14139
14328
|
MoonUIGalleryItemPro.displayName = "MoonUIGalleryItemPro";
|
|
14329
|
+
init_use_subscription();
|
|
14140
14330
|
function DraggableList({
|
|
14141
14331
|
items,
|
|
14142
14332
|
onReorder,
|
|
@@ -14471,6 +14661,7 @@ function DraggableList({
|
|
|
14471
14661
|
}
|
|
14472
14662
|
);
|
|
14473
14663
|
}
|
|
14664
|
+
init_use_subscription();
|
|
14474
14665
|
var moonUIAnimatedButtonProVariants = cva(
|
|
14475
14666
|
"relative inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-all duration-200 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 overflow-hidden min-w-fit",
|
|
14476
14667
|
{
|
|
@@ -14760,6 +14951,7 @@ var MoonUIAnimatedButtonPro = t__default.forwardRef(
|
|
|
14760
14951
|
}
|
|
14761
14952
|
);
|
|
14762
14953
|
MoonUIAnimatedButtonPro.displayName = "MoonUIAnimatedButtonPro";
|
|
14954
|
+
init_use_subscription();
|
|
14763
14955
|
var ErrorBoundaryInternal = class extends Component {
|
|
14764
14956
|
constructor(props) {
|
|
14765
14957
|
super(props);
|
|
@@ -14891,6 +15083,7 @@ function ErrorBoundaryWrapper(props) {
|
|
|
14891
15083
|
return /* @__PURE__ */ jsx(ErrorBoundaryInternal, { ...props });
|
|
14892
15084
|
}
|
|
14893
15085
|
var ErrorBoundary = ErrorBoundaryWrapper;
|
|
15086
|
+
init_use_subscription();
|
|
14894
15087
|
var FloatingActionButtonInternal = t__default.forwardRef(
|
|
14895
15088
|
({
|
|
14896
15089
|
actions = [],
|
|
@@ -15042,6 +15235,7 @@ var FloatingActionButton = t__default.forwardRef(
|
|
|
15042
15235
|
}
|
|
15043
15236
|
);
|
|
15044
15237
|
FloatingActionButton.displayName = "FloatingActionButton";
|
|
15238
|
+
init_use_subscription();
|
|
15045
15239
|
var hoverCard3DVariants = cva(
|
|
15046
15240
|
"relative rounded-lg border bg-card text-card-foreground shadow-sm transition-all duration-200 isolate",
|
|
15047
15241
|
{
|
|
@@ -15378,6 +15572,7 @@ var HoverCard3D = t__default.forwardRef(
|
|
|
15378
15572
|
}
|
|
15379
15573
|
);
|
|
15380
15574
|
HoverCard3D.displayName = "HoverCard3D";
|
|
15575
|
+
init_use_subscription();
|
|
15381
15576
|
var magneticButtonVariants = cva(
|
|
15382
15577
|
"relative inline-flex items-center justify-center whitespace-nowrap text-sm font-medium transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
|
15383
15578
|
{
|
|
@@ -15545,6 +15740,7 @@ var MagneticButton = t__default.forwardRef(
|
|
|
15545
15740
|
}
|
|
15546
15741
|
);
|
|
15547
15742
|
MagneticButton.displayName = "MagneticButton";
|
|
15743
|
+
init_use_subscription();
|
|
15548
15744
|
var PinchZoomInternal = t__default.forwardRef(
|
|
15549
15745
|
({
|
|
15550
15746
|
children,
|
|
@@ -15979,6 +16175,7 @@ var PinchZoom = t__default.forwardRef(
|
|
|
15979
16175
|
}
|
|
15980
16176
|
);
|
|
15981
16177
|
PinchZoom.displayName = "PinchZoom";
|
|
16178
|
+
init_use_subscription();
|
|
15982
16179
|
var SpotlightCardInternal = t__default.forwardRef(
|
|
15983
16180
|
({
|
|
15984
16181
|
children,
|
|
@@ -16128,6 +16325,7 @@ var SpotlightCard = t__default.forwardRef(
|
|
|
16128
16325
|
}
|
|
16129
16326
|
);
|
|
16130
16327
|
SpotlightCard.displayName = "SpotlightCard";
|
|
16328
|
+
init_use_subscription();
|
|
16131
16329
|
var EVENT_TYPES = [
|
|
16132
16330
|
{ value: "meeting", label: "Meeting", color: "#3b82f6" },
|
|
16133
16331
|
{ value: "task", label: "Task", color: "#10b981" },
|
|
@@ -17362,6 +17560,7 @@ function Calendar3(props) {
|
|
|
17362
17560
|
}
|
|
17363
17561
|
return /* @__PURE__ */ jsx(CalendarInternal, { ...props });
|
|
17364
17562
|
}
|
|
17563
|
+
init_use_subscription();
|
|
17365
17564
|
var PRIORITY_OPTIONS = [
|
|
17366
17565
|
{ value: "low", label: "Low", icon: Flag, color: "text-green-600" },
|
|
17367
17566
|
{ value: "medium", label: "Medium", icon: Flag, color: "text-yellow-600" },
|
|
@@ -31641,7 +31840,7 @@ function sinkListItem(itemType) {
|
|
|
31641
31840
|
|
|
31642
31841
|
// ../../node_modules/@tiptap/core/dist/index.js
|
|
31643
31842
|
var __defProp2 = Object.defineProperty;
|
|
31644
|
-
var
|
|
31843
|
+
var __export2 = (target, all) => {
|
|
31645
31844
|
for (var name in all)
|
|
31646
31845
|
__defProp2(target, name, { get: all[name], enumerable: true });
|
|
31647
31846
|
};
|
|
@@ -33660,7 +33859,7 @@ ExtensionManager.resolve = resolveExtensions;
|
|
|
33660
33859
|
ExtensionManager.sort = sortExtensions;
|
|
33661
33860
|
ExtensionManager.flatten = flattenExtensions;
|
|
33662
33861
|
var extensions_exports = {};
|
|
33663
|
-
|
|
33862
|
+
__export2(extensions_exports, {
|
|
33664
33863
|
ClipboardTextSerializer: () => ClipboardTextSerializer,
|
|
33665
33864
|
Commands: () => Commands,
|
|
33666
33865
|
Delete: () => Delete,
|
|
@@ -33725,7 +33924,7 @@ var ClipboardTextSerializer = Extension.create({
|
|
|
33725
33924
|
}
|
|
33726
33925
|
});
|
|
33727
33926
|
var commands_exports = {};
|
|
33728
|
-
|
|
33927
|
+
__export2(commands_exports, {
|
|
33729
33928
|
blur: () => blur,
|
|
33730
33929
|
clearContent: () => clearContent,
|
|
33731
33930
|
clearNodes: () => clearNodes,
|
|
@@ -38964,7 +39163,7 @@ var index_default2 = Link3;
|
|
|
38964
39163
|
|
|
38965
39164
|
// ../../node_modules/@tiptap/extension-list/dist/index.js
|
|
38966
39165
|
var __defProp3 = Object.defineProperty;
|
|
38967
|
-
var
|
|
39166
|
+
var __export3 = (target, all) => {
|
|
38968
39167
|
for (var name in all)
|
|
38969
39168
|
__defProp3(target, name, { get: all[name], enumerable: true });
|
|
38970
39169
|
};
|
|
@@ -39056,7 +39255,7 @@ var ListItem = Node3.create({
|
|
|
39056
39255
|
}
|
|
39057
39256
|
});
|
|
39058
39257
|
var listHelpers_exports = {};
|
|
39059
|
-
|
|
39258
|
+
__export3(listHelpers_exports, {
|
|
39060
39259
|
findListItemPos: () => findListItemPos,
|
|
39061
39260
|
getNextListDepth: () => getNextListDepth,
|
|
39062
39261
|
handleBackspace: () => handleBackspace,
|
|
@@ -58321,6 +58520,9 @@ var SlashCommandsExtension = Extension.create({
|
|
|
58321
58520
|
}
|
|
58322
58521
|
});
|
|
58323
58522
|
|
|
58523
|
+
// src/components/rich-text-editor/index.tsx
|
|
58524
|
+
init_use_subscription();
|
|
58525
|
+
|
|
58324
58526
|
// #style-inject:#style-inject
|
|
58325
58527
|
function styleInject(css2, { insertAt } = {}) {
|
|
58326
58528
|
if (!css2 || typeof document === "undefined")
|
|
@@ -60300,6 +60502,9 @@ function RichTextEditor({
|
|
|
60300
60502
|
] }) })
|
|
60301
60503
|
] });
|
|
60302
60504
|
}
|
|
60505
|
+
|
|
60506
|
+
// src/components/memory-efficient-data/index.tsx
|
|
60507
|
+
init_use_subscription();
|
|
60303
60508
|
var MemoryCache = class {
|
|
60304
60509
|
constructor(maxSize, strategy = "lru") {
|
|
60305
60510
|
this.cache = /* @__PURE__ */ new Map();
|
|
@@ -61020,6 +61225,7 @@ function MemoryEfficientData(props) {
|
|
|
61020
61225
|
return /* @__PURE__ */ jsx(MemoryEfficientDataInternal, { ...props });
|
|
61021
61226
|
}
|
|
61022
61227
|
var MoonUIMemoryEfficientDataPro = MemoryEfficientData;
|
|
61228
|
+
init_use_subscription();
|
|
61023
61229
|
function VirtualListInternal({
|
|
61024
61230
|
items,
|
|
61025
61231
|
height,
|
|
@@ -61556,6 +61762,7 @@ function SelectableVirtualList(props) {
|
|
|
61556
61762
|
}
|
|
61557
61763
|
return /* @__PURE__ */ jsx(SelectableVirtualListInternal, { ...props });
|
|
61558
61764
|
}
|
|
61765
|
+
init_use_subscription();
|
|
61559
61766
|
var SwipeableCardInternal = t__default.forwardRef(
|
|
61560
61767
|
({
|
|
61561
61768
|
children,
|
|
@@ -61654,6 +61861,7 @@ var SwipeableCard = t__default.forwardRef(
|
|
|
61654
61861
|
}
|
|
61655
61862
|
);
|
|
61656
61863
|
SwipeableCard.displayName = "SwipeableCard";
|
|
61864
|
+
init_use_subscription();
|
|
61657
61865
|
var timelineVariants = cva("w-full", {
|
|
61658
61866
|
variants: {
|
|
61659
61867
|
theme: {
|
|
@@ -62474,6 +62682,9 @@ function Timeline(props) {
|
|
|
62474
62682
|
}
|
|
62475
62683
|
return /* @__PURE__ */ jsx(TimelineInternal, { ...props });
|
|
62476
62684
|
}
|
|
62685
|
+
|
|
62686
|
+
// src/components/advanced-chart/index.tsx
|
|
62687
|
+
init_use_subscription();
|
|
62477
62688
|
var COLOR_THEMES = {
|
|
62478
62689
|
default: [
|
|
62479
62690
|
"#3b82f6",
|
|
@@ -63566,6 +63777,7 @@ function AdvancedChart(props) {
|
|
|
63566
63777
|
return /* @__PURE__ */ jsx(AdvancedChartInternal, { ...props });
|
|
63567
63778
|
}
|
|
63568
63779
|
var MoonUIAdvancedChartPro = AdvancedChart;
|
|
63780
|
+
init_use_subscription();
|
|
63569
63781
|
function MetricCard({
|
|
63570
63782
|
data,
|
|
63571
63783
|
onClick,
|
|
@@ -67042,6 +67254,8 @@ var Dashboard = t__default.memo(function Dashboard2(props) {
|
|
|
67042
67254
|
}
|
|
67043
67255
|
return /* @__PURE__ */ jsx(DashboardInternal, { ...props });
|
|
67044
67256
|
});
|
|
67257
|
+
init_use_subscription();
|
|
67258
|
+
init_use_subscription();
|
|
67045
67259
|
function validatePhoneNumber(number) {
|
|
67046
67260
|
if (!number)
|
|
67047
67261
|
return false;
|
|
@@ -67888,6 +68102,7 @@ var AdvancedForms = ({ className, ...props }) => {
|
|
|
67888
68102
|
}
|
|
67889
68103
|
return /* @__PURE__ */ jsx(AdvancedFormsInternal, { className, ...props });
|
|
67890
68104
|
};
|
|
68105
|
+
init_use_subscription();
|
|
67891
68106
|
|
|
67892
68107
|
// src/components/github-stars/github-api.ts
|
|
67893
68108
|
var cache = /* @__PURE__ */ new Map();
|
|
@@ -68121,7 +68336,7 @@ function formatDate2(dateString) {
|
|
|
68121
68336
|
day: "numeric"
|
|
68122
68337
|
});
|
|
68123
68338
|
}
|
|
68124
|
-
function
|
|
68339
|
+
function clearCache3(pattern) {
|
|
68125
68340
|
if (pattern) {
|
|
68126
68341
|
for (const key of cache.keys()) {
|
|
68127
68342
|
if (key.includes(pattern)) {
|
|
@@ -68441,7 +68656,7 @@ function useGitHubData({
|
|
|
68441
68656
|
console.warn("Cannot refresh: maximum error count reached");
|
|
68442
68657
|
return Promise.resolve();
|
|
68443
68658
|
}
|
|
68444
|
-
|
|
68659
|
+
clearCache3();
|
|
68445
68660
|
return fetchData();
|
|
68446
68661
|
}, [fetchData, isDocsMode2]);
|
|
68447
68662
|
return {
|
|
@@ -69291,6 +69506,7 @@ var GitHubStars = ({ className, ...props }) => {
|
|
|
69291
69506
|
}
|
|
69292
69507
|
return /* @__PURE__ */ jsx(GitHubStarsInternal, { className, ...props });
|
|
69293
69508
|
};
|
|
69509
|
+
init_use_subscription();
|
|
69294
69510
|
var HealthCheckInternal = ({
|
|
69295
69511
|
endpoints,
|
|
69296
69512
|
interval = 3e4,
|
|
@@ -69584,6 +69800,7 @@ var HealthCheck = ({ className, ...props }) => {
|
|
|
69584
69800
|
}
|
|
69585
69801
|
return /* @__PURE__ */ jsx(HealthCheckInternal, { className, ...props });
|
|
69586
69802
|
};
|
|
69803
|
+
init_use_subscription();
|
|
69587
69804
|
var LazyComponentInternal = ({
|
|
69588
69805
|
children,
|
|
69589
69806
|
fallback,
|
|
@@ -70192,6 +70409,7 @@ var LazyComponent = ({ className, ...props }) => {
|
|
|
70192
70409
|
}
|
|
70193
70410
|
return /* @__PURE__ */ jsx(LazyComponentInternal, { className, ...props });
|
|
70194
70411
|
};
|
|
70412
|
+
init_use_subscription();
|
|
70195
70413
|
var OptimizedImageInternal = ({
|
|
70196
70414
|
src,
|
|
70197
70415
|
alt,
|
|
@@ -70533,6 +70751,7 @@ var OptimizedImage = ({ className, ...props }) => {
|
|
|
70533
70751
|
}
|
|
70534
70752
|
return /* @__PURE__ */ jsx(OptimizedImageInternal, { className, ...props });
|
|
70535
70753
|
};
|
|
70754
|
+
init_use_subscription();
|
|
70536
70755
|
var PerformanceDebuggerInternal = ({
|
|
70537
70756
|
autoCapture = true,
|
|
70538
70757
|
captureInterval = 5e3,
|
|
@@ -70977,6 +71196,7 @@ var PerformanceDebugger = ({ className, ...props }) => {
|
|
|
70977
71196
|
}
|
|
70978
71197
|
return /* @__PURE__ */ jsx(PerformanceDebuggerInternal, { className, ...props });
|
|
70979
71198
|
};
|
|
71199
|
+
init_use_subscription();
|
|
70980
71200
|
var PerformanceMonitorInternal = ({
|
|
70981
71201
|
autoRefresh = true,
|
|
70982
71202
|
refreshInterval = 5e3,
|
|
@@ -71581,6 +71801,7 @@ var PerformanceMonitor = ({ className, ...props }) => {
|
|
|
71581
71801
|
}
|
|
71582
71802
|
return /* @__PURE__ */ jsx(PerformanceMonitorInternal, { className, ...props });
|
|
71583
71803
|
};
|
|
71804
|
+
init_use_subscription();
|
|
71584
71805
|
|
|
71585
71806
|
// src/use-toast.ts
|
|
71586
71807
|
function toast2(options) {
|
|
@@ -72805,6 +73026,7 @@ var FileUploadItem = ({
|
|
|
72805
73026
|
};
|
|
72806
73027
|
MoonUIFileUploadPro.displayName = "MoonUIFileUploadPro";
|
|
72807
73028
|
var file_upload_default = MoonUIFileUploadPro;
|
|
73029
|
+
init_use_subscription();
|
|
72808
73030
|
function DataTableColumnToggle({ table, trigger }) {
|
|
72809
73031
|
const [search, setSearch] = t__default.useState("");
|
|
72810
73032
|
const columns = table.getAllColumns().filter(
|
|
@@ -74967,6 +75189,7 @@ var TableRow2 = ({
|
|
|
74967
75189
|
};
|
|
74968
75190
|
TableRow2.displayName = "TableRow";
|
|
74969
75191
|
var MoonUIDataTable = DataTable;
|
|
75192
|
+
init_use_subscription();
|
|
74970
75193
|
|
|
74971
75194
|
// src/styles/nprogress.css
|
|
74972
75195
|
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");
|
|
@@ -75248,9 +75471,11 @@ function SidebarInternal({
|
|
|
75248
75471
|
{
|
|
75249
75472
|
side: "right",
|
|
75250
75473
|
align: "start",
|
|
75251
|
-
sideOffset:
|
|
75474
|
+
sideOffset: 15,
|
|
75475
|
+
collisionPadding: 10,
|
|
75476
|
+
avoidCollisions: true,
|
|
75252
75477
|
className: cn(
|
|
75253
|
-
"p-2",
|
|
75478
|
+
"p-2 max-w-[250px]",
|
|
75254
75479
|
glassmorphism && "bg-background/95 backdrop-blur-sm"
|
|
75255
75480
|
),
|
|
75256
75481
|
children: /* @__PURE__ */ jsx("div", { className: "space-y-0.5", children: childItem.items?.map((grandChild) => {
|
|
@@ -75336,14 +75561,14 @@ function SidebarInternal({
|
|
|
75336
75561
|
isActive2 && "bg-primary/10 text-primary font-medium",
|
|
75337
75562
|
item.disabled && "opacity-50 cursor-not-allowed",
|
|
75338
75563
|
depth > 0 && "ml-6 text-xs",
|
|
75339
|
-
collapsed && depth === 0 && "justify-center px-2",
|
|
75564
|
+
collapsed && depth === 0 && "justify-center px-2 w-12 h-10",
|
|
75340
75565
|
customStyles?.hover
|
|
75341
75566
|
),
|
|
75342
75567
|
disabled: item.disabled,
|
|
75343
75568
|
children: [
|
|
75344
75569
|
item.icon && /* @__PURE__ */ jsx("span", { className: cn(
|
|
75345
75570
|
"flex-shrink-0",
|
|
75346
|
-
collapsed && depth === 0 && "
|
|
75571
|
+
collapsed && depth === 0 && "w-full flex justify-center"
|
|
75347
75572
|
), children: item.icon }),
|
|
75348
75573
|
(!collapsed || depth > 0) && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
75349
75574
|
/* @__PURE__ */ jsx("span", { className: "flex-1 text-left truncate", children: item.title }),
|
|
@@ -75377,9 +75602,11 @@ function SidebarInternal({
|
|
|
75377
75602
|
{
|
|
75378
75603
|
side: "right",
|
|
75379
75604
|
align: "start",
|
|
75380
|
-
sideOffset:
|
|
75605
|
+
sideOffset: 15,
|
|
75606
|
+
collisionPadding: 10,
|
|
75607
|
+
avoidCollisions: true,
|
|
75381
75608
|
className: cn(
|
|
75382
|
-
"p-0 w-auto",
|
|
75609
|
+
"p-0 w-auto max-w-[300px]",
|
|
75383
75610
|
glassmorphism && "bg-background/95 backdrop-blur-sm",
|
|
75384
75611
|
"animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95"
|
|
75385
75612
|
),
|
|
@@ -75402,18 +75629,22 @@ function SidebarInternal({
|
|
|
75402
75629
|
/* @__PURE__ */ jsx(MoonUITooltipTriggerPro, { asChild: true, children: itemContent }),
|
|
75403
75630
|
/* @__PURE__ */ jsx(MoonUITooltipContentPro, { side: "right", children: /* @__PURE__ */ jsx("p", { children: item.tooltip }) })
|
|
75404
75631
|
] }) }) : itemContent,
|
|
75405
|
-
hasChildren && !collapsed && filteredChildren && /* @__PURE__ */ jsx(AnimatePresence, { children: isExpanded && /* @__PURE__ */ jsx(
|
|
75632
|
+
hasChildren && !collapsed && filteredChildren && /* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", children: isExpanded && /* @__PURE__ */ jsx(
|
|
75406
75633
|
motion.div,
|
|
75407
75634
|
{
|
|
75408
75635
|
initial: { height: 0, opacity: 0 },
|
|
75409
75636
|
animate: { height: "auto", opacity: 1 },
|
|
75410
75637
|
exit: { height: 0, opacity: 0 },
|
|
75411
|
-
transition: {
|
|
75638
|
+
transition: {
|
|
75639
|
+
duration: 0.25,
|
|
75640
|
+
ease: [0.4, 0, 0.2, 1]
|
|
75641
|
+
},
|
|
75412
75642
|
className: "overflow-hidden",
|
|
75413
75643
|
children: /* @__PURE__ */ jsx("div", { className: "pt-1 space-y-1", children: filteredChildren.map(
|
|
75414
75644
|
(child) => renderItem(child, depth + 1)
|
|
75415
75645
|
) })
|
|
75416
|
-
}
|
|
75646
|
+
},
|
|
75647
|
+
`${item.id}-children`
|
|
75417
75648
|
) })
|
|
75418
75649
|
] }, item.id);
|
|
75419
75650
|
}, [activePath, pinnedItems, expandedSections, collapsed, customStyles, handleItemClick, toggleSection, isMobile, glassmorphism, renderCollapsedHoverContent, fullWidthItems]);
|
|
@@ -75452,7 +75683,7 @@ function SidebarInternal({
|
|
|
75452
75683
|
] });
|
|
75453
75684
|
});
|
|
75454
75685
|
const SidebarMenuContent = t__default.memo(() => {
|
|
75455
|
-
return /* @__PURE__ */ jsx(
|
|
75686
|
+
return /* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto overscroll-contain", style: { scrollbarWidth: "thin" }, children: /* @__PURE__ */ jsxs("div", { className: "p-4 space-y-6", children: [
|
|
75456
75687
|
pinnedItems.length > 0 && (!collapsed || isMobile) && /* @__PURE__ */ jsxs("div", { children: [
|
|
75457
75688
|
/* @__PURE__ */ jsx("h4", { className: "text-xs font-medium text-muted-foreground mb-2", children: "Pinned" }),
|
|
75458
75689
|
/* @__PURE__ */ jsx("div", { className: "space-y-1", children: sections.flatMap(
|
|
@@ -75467,6 +75698,7 @@ function SidebarInternal({
|
|
|
75467
75698
|
] }, section.id))
|
|
75468
75699
|
] }) });
|
|
75469
75700
|
});
|
|
75701
|
+
SidebarMenuContent.displayName = "SidebarMenuContent";
|
|
75470
75702
|
const SidebarFooter = t__default.memo(() => {
|
|
75471
75703
|
return footer ? /* @__PURE__ */ jsxs("div", { className: "border-t p-4", children: [
|
|
75472
75704
|
/* @__PURE__ */ jsx("div", { className: "space-y-1", children: footer.items.map((item) => renderItem(item)) }),
|
|
@@ -75496,12 +75728,14 @@ function SidebarInternal({
|
|
|
75496
75728
|
] })
|
|
75497
75729
|
] }) : null;
|
|
75498
75730
|
});
|
|
75731
|
+
SidebarFooter.displayName = "SidebarFooter";
|
|
75499
75732
|
const SidebarContent = t__default.memo(() => {
|
|
75500
75733
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
75501
75734
|
/* @__PURE__ */ jsx(SidebarMenuContent, {}),
|
|
75502
75735
|
/* @__PURE__ */ jsx(SidebarFooter, {})
|
|
75503
75736
|
] });
|
|
75504
75737
|
});
|
|
75738
|
+
SidebarContent.displayName = "SidebarContent";
|
|
75505
75739
|
const sidebarClasses = cn(
|
|
75506
75740
|
"moonui-pro flex h-full flex-col bg-background border-r",
|
|
75507
75741
|
glassmorphism && "bg-background/80 backdrop-blur-xl border-white/10",
|
|
@@ -75596,6 +75830,7 @@ function Sidebar(props) {
|
|
|
75596
75830
|
}
|
|
75597
75831
|
return /* @__PURE__ */ jsx(SidebarInternal, { ...props });
|
|
75598
75832
|
}
|
|
75833
|
+
init_use_subscription();
|
|
75599
75834
|
function NavbarInternal({
|
|
75600
75835
|
sections = [],
|
|
75601
75836
|
branding,
|
|
@@ -76466,6 +76701,7 @@ function Navbar(props) {
|
|
|
76466
76701
|
}
|
|
76467
76702
|
return /* @__PURE__ */ jsx(NavbarInternal, { ...props });
|
|
76468
76703
|
}
|
|
76704
|
+
init_use_subscription();
|
|
76469
76705
|
var FormWizardContext = createContext(null);
|
|
76470
76706
|
var useFormWizard = () => {
|
|
76471
76707
|
const context = useContext(FormWizardContext);
|
|
@@ -77216,6 +77452,7 @@ var MoonUIFormWizardPro = t__default.forwardRef(
|
|
|
77216
77452
|
);
|
|
77217
77453
|
MoonUIFormWizardPro.displayName = "MoonUIFormWizardPro";
|
|
77218
77454
|
var FormWizard = MoonUIFormWizardPro;
|
|
77455
|
+
init_use_subscription();
|
|
77219
77456
|
function shuffleArray(array) {
|
|
77220
77457
|
const shuffled = [...array];
|
|
77221
77458
|
for (let i = shuffled.length - 1; i > 0; i--) {
|
|
@@ -77891,6 +78128,7 @@ var MoonUICreditCardInputPro = t__default.forwardRef(({
|
|
|
77891
78128
|
] });
|
|
77892
78129
|
});
|
|
77893
78130
|
MoonUICreditCardInputPro.displayName = "MoonUICreditCardInputPro";
|
|
78131
|
+
init_use_subscription();
|
|
77894
78132
|
var quizFormVariants = cva(
|
|
77895
78133
|
"relative w-full rounded-lg border bg-card text-card-foreground shadow-sm",
|
|
77896
78134
|
{
|
|
@@ -85543,6 +85781,9 @@ var ToastDescription = t.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
85543
85781
|
}
|
|
85544
85782
|
));
|
|
85545
85783
|
ToastDescription.displayName = ToastPrimitives.Description.displayName;
|
|
85784
|
+
|
|
85785
|
+
// src/components/avatar-pro/index.tsx
|
|
85786
|
+
init_use_subscription();
|
|
85546
85787
|
var avatarVariants2 = cva(
|
|
85547
85788
|
"relative inline-flex shrink-0 overflow-hidden font-semibold transition-all",
|
|
85548
85789
|
{
|
|
@@ -86017,6 +86258,7 @@ function WidgetBase({
|
|
|
86017
86258
|
}
|
|
86018
86259
|
return content;
|
|
86019
86260
|
}
|
|
86261
|
+
init_use_subscription();
|
|
86020
86262
|
function KPIWidget({
|
|
86021
86263
|
data,
|
|
86022
86264
|
title,
|
|
@@ -86218,6 +86460,7 @@ function KPIWidget({
|
|
|
86218
86460
|
}
|
|
86219
86461
|
);
|
|
86220
86462
|
}
|
|
86463
|
+
init_use_subscription();
|
|
86221
86464
|
function ChartWidget2({
|
|
86222
86465
|
data,
|
|
86223
86466
|
title,
|
|
@@ -86644,6 +86887,7 @@ function ChartWidget2({
|
|
|
86644
86887
|
}
|
|
86645
86888
|
);
|
|
86646
86889
|
}
|
|
86890
|
+
init_use_subscription();
|
|
86647
86891
|
function GaugeWidget({
|
|
86648
86892
|
data,
|
|
86649
86893
|
title,
|
|
@@ -86943,6 +87187,7 @@ function GaugeWidget({
|
|
|
86943
87187
|
}
|
|
86944
87188
|
);
|
|
86945
87189
|
}
|
|
87190
|
+
init_use_subscription();
|
|
86946
87191
|
function FunnelWidget({
|
|
86947
87192
|
data,
|
|
86948
87193
|
title,
|
|
@@ -87302,6 +87547,7 @@ function FunnelWidget({
|
|
|
87302
87547
|
}
|
|
87303
87548
|
);
|
|
87304
87549
|
}
|
|
87550
|
+
init_use_subscription();
|
|
87305
87551
|
function RevenueWidget({
|
|
87306
87552
|
data,
|
|
87307
87553
|
title,
|
|
@@ -87746,6 +87992,7 @@ function RevenueWidget({
|
|
|
87746
87992
|
}
|
|
87747
87993
|
);
|
|
87748
87994
|
}
|
|
87995
|
+
init_use_subscription();
|
|
87749
87996
|
function ServerMonitorWidget({
|
|
87750
87997
|
data,
|
|
87751
87998
|
title,
|
|
@@ -88168,4 +88415,4 @@ function ServerMonitorWidget({
|
|
|
88168
88415
|
*)
|
|
88169
88416
|
*/
|
|
88170
88417
|
|
|
88171
|
-
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, useSubscription, useVirtualList };
|
|
88418
|
+
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, MoonUICache, 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, clearCache, cn, collapsibleContentVariants, collapsibleTriggerVariants, commandVariantsPro, createAIProvider, forceRefresh, 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, useSubscription, useVirtualList };
|