@moontra/moonui-pro 2.32.6 → 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 +45 -8
- package/dist/index.global.js +116 -116
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +413 -179
- 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,174 +2282,110 @@ 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 = 1 * 60 * 1e3 ;
|
|
2069
|
-
var OFFLINE_GRACE_PERIOD = 5 * 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
|
-
|
|
2091
|
-
|
|
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;
|
|
2092
2332
|
}
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
}
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
const cacheData = {
|
|
2109
|
-
valid: data.valid,
|
|
2110
|
-
hasLifetimeAccess: data.user?.hasLifetimeAccess || false,
|
|
2111
|
-
timestamp: Date.now(),
|
|
2112
|
-
cacheUntil: data.cacheUntil ? new Date(data.cacheUntil).getTime() : void 0
|
|
2113
|
-
};
|
|
2114
|
-
if (typeof window !== "undefined") {
|
|
2115
|
-
localStorage.setItem(CACHE_KEY, JSON.stringify(cacheData));
|
|
2116
|
-
}
|
|
2117
|
-
const hasProAccess = data.valid && (data.user?.hasLifetimeAccess || data.user?.features?.includes("pro_components"));
|
|
2118
|
-
updateGlobalState({
|
|
2119
|
-
hasProAccess,
|
|
2120
|
-
isAuthenticated: data.valid,
|
|
2121
|
-
subscriptionPlan: hasProAccess ? "lifetime" : "free",
|
|
2122
|
-
subscription: {
|
|
2123
|
-
status: hasProAccess ? "active" : "inactive",
|
|
2124
|
-
plan: hasProAccess ? "lifetime" : "free"
|
|
2125
|
-
},
|
|
2126
|
-
isLoading: false
|
|
2127
|
-
});
|
|
2128
|
-
} else {
|
|
2129
|
-
if (typeof window !== "undefined") {
|
|
2130
|
-
localStorage.removeItem(CACHE_KEY);
|
|
2131
|
-
}
|
|
2132
|
-
updateGlobalState({
|
|
2133
|
-
hasProAccess: false,
|
|
2134
|
-
isAuthenticated: false,
|
|
2135
|
-
isLoading: false
|
|
2136
|
-
});
|
|
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 };
|
|
2137
2348
|
}
|
|
2138
|
-
}
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
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);
|
|
2158
2370
|
}
|
|
2371
|
+
} else {
|
|
2372
|
+
console.log(`\u274C ${key}: Not found`);
|
|
2159
2373
|
}
|
|
2160
|
-
}
|
|
2161
|
-
console.log("[MoonUI Pro] Denying access due to network error (production security)");
|
|
2162
|
-
updateGlobalState({
|
|
2163
|
-
hasProAccess: false,
|
|
2164
|
-
isAuthenticated: false,
|
|
2165
|
-
isLoading: false
|
|
2166
2374
|
});
|
|
2167
2375
|
}
|
|
2168
|
-
}
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
const
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
updateGlobalState({
|
|
2180
|
-
hasProAccess: cacheData.valid && cacheData.hasLifetimeAccess,
|
|
2181
|
-
isAuthenticated: cacheData.valid,
|
|
2182
|
-
subscriptionPlan: cacheData.valid && cacheData.hasLifetimeAccess ? "lifetime" : "free",
|
|
2183
|
-
subscription: {
|
|
2184
|
-
status: cacheData.valid && cacheData.hasLifetimeAccess ? "active" : "inactive",
|
|
2185
|
-
plan: cacheData.valid && cacheData.hasLifetimeAccess ? "lifetime" : "free"
|
|
2186
|
-
},
|
|
2187
|
-
isLoading: false
|
|
2188
|
-
});
|
|
2189
|
-
return;
|
|
2190
|
-
}
|
|
2191
|
-
}
|
|
2192
|
-
}
|
|
2193
|
-
await validateLicense();
|
|
2194
|
-
{
|
|
2195
|
-
setInterval(() => {
|
|
2196
|
-
console.log("[MoonUI Pro] Running periodic auth check...");
|
|
2197
|
-
if (typeof window !== "undefined") {
|
|
2198
|
-
localStorage.removeItem(CACHE_KEY);
|
|
2199
|
-
}
|
|
2200
|
-
validateLicense().catch(console.error);
|
|
2201
|
-
}, 10 * 1e3);
|
|
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
|
+
});
|
|
2202
2387
|
}
|
|
2203
2388
|
}
|
|
2204
|
-
function useSubscription() {
|
|
2205
|
-
const [, forceUpdate] = useState({});
|
|
2206
|
-
useEffect(() => {
|
|
2207
|
-
initializeAuth();
|
|
2208
|
-
const callback = () => forceUpdate({});
|
|
2209
|
-
subscribers.push(callback);
|
|
2210
|
-
return () => {
|
|
2211
|
-
const index2 = subscribers.indexOf(callback);
|
|
2212
|
-
if (index2 > -1) {
|
|
2213
|
-
subscribers.splice(index2, 1);
|
|
2214
|
-
}
|
|
2215
|
-
};
|
|
2216
|
-
}, []);
|
|
2217
|
-
return {
|
|
2218
|
-
...globalAuthState,
|
|
2219
|
-
checkAccess: validateLicense
|
|
2220
|
-
};
|
|
2221
|
-
}
|
|
2222
2389
|
var accordionItemVariants = cva(
|
|
2223
2390
|
"group relative overflow-visible transition-all duration-300 ease-out",
|
|
2224
2391
|
{
|
|
@@ -4889,6 +5056,7 @@ var useCollapsibleAnalytics = () => {
|
|
|
4889
5056
|
}, []);
|
|
4890
5057
|
return { analytics, trackOpen, trackClose };
|
|
4891
5058
|
};
|
|
5059
|
+
init_use_subscription();
|
|
4892
5060
|
function ProLockScreen({
|
|
4893
5061
|
componentName = "Pro Component",
|
|
4894
5062
|
className,
|
|
@@ -8293,6 +8461,7 @@ var TabsContent = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
8293
8461
|
}
|
|
8294
8462
|
));
|
|
8295
8463
|
TabsContent.displayName = TabsPrimitive2.Content.displayName;
|
|
8464
|
+
init_use_subscription();
|
|
8296
8465
|
var contentVariants = {
|
|
8297
8466
|
fade: {
|
|
8298
8467
|
initial: { opacity: 0 },
|
|
@@ -12901,6 +13070,7 @@ var NavigationMenuIndicator2 = t.forwardRef(({ className, ...props }, ref) => /*
|
|
|
12901
13070
|
}
|
|
12902
13071
|
));
|
|
12903
13072
|
NavigationMenuIndicator2.displayName = Indicator3.displayName;
|
|
13073
|
+
init_use_subscription();
|
|
12904
13074
|
var gestureDrawerVariants = cva(
|
|
12905
13075
|
"fixed bg-background shadow-2xl overflow-hidden",
|
|
12906
13076
|
{
|
|
@@ -13286,6 +13456,9 @@ var MoonUIGestureDrawerPro = t__default.forwardRef((props, ref) => {
|
|
|
13286
13456
|
});
|
|
13287
13457
|
MoonUIGestureDrawerPro.displayName = "MoonUIGestureDrawerPro";
|
|
13288
13458
|
var GestureDrawer = MoonUIGestureDrawerPro;
|
|
13459
|
+
|
|
13460
|
+
// src/components/ui/lightbox.tsx
|
|
13461
|
+
init_use_subscription();
|
|
13289
13462
|
var lightboxVariants = cva(
|
|
13290
13463
|
"fixed inset-0 z-50 flex items-center justify-center",
|
|
13291
13464
|
{
|
|
@@ -13747,6 +13920,9 @@ function SimpleLightbox({
|
|
|
13747
13920
|
/* @__PURE__ */ jsx(LightboxContent, { ...props })
|
|
13748
13921
|
] });
|
|
13749
13922
|
}
|
|
13923
|
+
|
|
13924
|
+
// src/components/ui/media-gallery.tsx
|
|
13925
|
+
init_use_subscription();
|
|
13750
13926
|
var galleryVariants = cva(
|
|
13751
13927
|
"w-full",
|
|
13752
13928
|
{
|
|
@@ -14150,6 +14326,7 @@ var MoonUIGalleryItemPro = t.forwardRef(({
|
|
|
14150
14326
|
);
|
|
14151
14327
|
});
|
|
14152
14328
|
MoonUIGalleryItemPro.displayName = "MoonUIGalleryItemPro";
|
|
14329
|
+
init_use_subscription();
|
|
14153
14330
|
function DraggableList({
|
|
14154
14331
|
items,
|
|
14155
14332
|
onReorder,
|
|
@@ -14484,6 +14661,7 @@ function DraggableList({
|
|
|
14484
14661
|
}
|
|
14485
14662
|
);
|
|
14486
14663
|
}
|
|
14664
|
+
init_use_subscription();
|
|
14487
14665
|
var moonUIAnimatedButtonProVariants = cva(
|
|
14488
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",
|
|
14489
14667
|
{
|
|
@@ -14773,6 +14951,7 @@ var MoonUIAnimatedButtonPro = t__default.forwardRef(
|
|
|
14773
14951
|
}
|
|
14774
14952
|
);
|
|
14775
14953
|
MoonUIAnimatedButtonPro.displayName = "MoonUIAnimatedButtonPro";
|
|
14954
|
+
init_use_subscription();
|
|
14776
14955
|
var ErrorBoundaryInternal = class extends Component {
|
|
14777
14956
|
constructor(props) {
|
|
14778
14957
|
super(props);
|
|
@@ -14904,6 +15083,7 @@ function ErrorBoundaryWrapper(props) {
|
|
|
14904
15083
|
return /* @__PURE__ */ jsx(ErrorBoundaryInternal, { ...props });
|
|
14905
15084
|
}
|
|
14906
15085
|
var ErrorBoundary = ErrorBoundaryWrapper;
|
|
15086
|
+
init_use_subscription();
|
|
14907
15087
|
var FloatingActionButtonInternal = t__default.forwardRef(
|
|
14908
15088
|
({
|
|
14909
15089
|
actions = [],
|
|
@@ -15055,6 +15235,7 @@ var FloatingActionButton = t__default.forwardRef(
|
|
|
15055
15235
|
}
|
|
15056
15236
|
);
|
|
15057
15237
|
FloatingActionButton.displayName = "FloatingActionButton";
|
|
15238
|
+
init_use_subscription();
|
|
15058
15239
|
var hoverCard3DVariants = cva(
|
|
15059
15240
|
"relative rounded-lg border bg-card text-card-foreground shadow-sm transition-all duration-200 isolate",
|
|
15060
15241
|
{
|
|
@@ -15391,6 +15572,7 @@ var HoverCard3D = t__default.forwardRef(
|
|
|
15391
15572
|
}
|
|
15392
15573
|
);
|
|
15393
15574
|
HoverCard3D.displayName = "HoverCard3D";
|
|
15575
|
+
init_use_subscription();
|
|
15394
15576
|
var magneticButtonVariants = cva(
|
|
15395
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",
|
|
15396
15578
|
{
|
|
@@ -15558,6 +15740,7 @@ var MagneticButton = t__default.forwardRef(
|
|
|
15558
15740
|
}
|
|
15559
15741
|
);
|
|
15560
15742
|
MagneticButton.displayName = "MagneticButton";
|
|
15743
|
+
init_use_subscription();
|
|
15561
15744
|
var PinchZoomInternal = t__default.forwardRef(
|
|
15562
15745
|
({
|
|
15563
15746
|
children,
|
|
@@ -15992,6 +16175,7 @@ var PinchZoom = t__default.forwardRef(
|
|
|
15992
16175
|
}
|
|
15993
16176
|
);
|
|
15994
16177
|
PinchZoom.displayName = "PinchZoom";
|
|
16178
|
+
init_use_subscription();
|
|
15995
16179
|
var SpotlightCardInternal = t__default.forwardRef(
|
|
15996
16180
|
({
|
|
15997
16181
|
children,
|
|
@@ -16141,6 +16325,7 @@ var SpotlightCard = t__default.forwardRef(
|
|
|
16141
16325
|
}
|
|
16142
16326
|
);
|
|
16143
16327
|
SpotlightCard.displayName = "SpotlightCard";
|
|
16328
|
+
init_use_subscription();
|
|
16144
16329
|
var EVENT_TYPES = [
|
|
16145
16330
|
{ value: "meeting", label: "Meeting", color: "#3b82f6" },
|
|
16146
16331
|
{ value: "task", label: "Task", color: "#10b981" },
|
|
@@ -17375,6 +17560,7 @@ function Calendar3(props) {
|
|
|
17375
17560
|
}
|
|
17376
17561
|
return /* @__PURE__ */ jsx(CalendarInternal, { ...props });
|
|
17377
17562
|
}
|
|
17563
|
+
init_use_subscription();
|
|
17378
17564
|
var PRIORITY_OPTIONS = [
|
|
17379
17565
|
{ value: "low", label: "Low", icon: Flag, color: "text-green-600" },
|
|
17380
17566
|
{ value: "medium", label: "Medium", icon: Flag, color: "text-yellow-600" },
|
|
@@ -31654,7 +31840,7 @@ function sinkListItem(itemType) {
|
|
|
31654
31840
|
|
|
31655
31841
|
// ../../node_modules/@tiptap/core/dist/index.js
|
|
31656
31842
|
var __defProp2 = Object.defineProperty;
|
|
31657
|
-
var
|
|
31843
|
+
var __export2 = (target, all) => {
|
|
31658
31844
|
for (var name in all)
|
|
31659
31845
|
__defProp2(target, name, { get: all[name], enumerable: true });
|
|
31660
31846
|
};
|
|
@@ -33673,7 +33859,7 @@ ExtensionManager.resolve = resolveExtensions;
|
|
|
33673
33859
|
ExtensionManager.sort = sortExtensions;
|
|
33674
33860
|
ExtensionManager.flatten = flattenExtensions;
|
|
33675
33861
|
var extensions_exports = {};
|
|
33676
|
-
|
|
33862
|
+
__export2(extensions_exports, {
|
|
33677
33863
|
ClipboardTextSerializer: () => ClipboardTextSerializer,
|
|
33678
33864
|
Commands: () => Commands,
|
|
33679
33865
|
Delete: () => Delete,
|
|
@@ -33738,7 +33924,7 @@ var ClipboardTextSerializer = Extension.create({
|
|
|
33738
33924
|
}
|
|
33739
33925
|
});
|
|
33740
33926
|
var commands_exports = {};
|
|
33741
|
-
|
|
33927
|
+
__export2(commands_exports, {
|
|
33742
33928
|
blur: () => blur,
|
|
33743
33929
|
clearContent: () => clearContent,
|
|
33744
33930
|
clearNodes: () => clearNodes,
|
|
@@ -38977,7 +39163,7 @@ var index_default2 = Link3;
|
|
|
38977
39163
|
|
|
38978
39164
|
// ../../node_modules/@tiptap/extension-list/dist/index.js
|
|
38979
39165
|
var __defProp3 = Object.defineProperty;
|
|
38980
|
-
var
|
|
39166
|
+
var __export3 = (target, all) => {
|
|
38981
39167
|
for (var name in all)
|
|
38982
39168
|
__defProp3(target, name, { get: all[name], enumerable: true });
|
|
38983
39169
|
};
|
|
@@ -39069,7 +39255,7 @@ var ListItem = Node3.create({
|
|
|
39069
39255
|
}
|
|
39070
39256
|
});
|
|
39071
39257
|
var listHelpers_exports = {};
|
|
39072
|
-
|
|
39258
|
+
__export3(listHelpers_exports, {
|
|
39073
39259
|
findListItemPos: () => findListItemPos,
|
|
39074
39260
|
getNextListDepth: () => getNextListDepth,
|
|
39075
39261
|
handleBackspace: () => handleBackspace,
|
|
@@ -58334,6 +58520,9 @@ var SlashCommandsExtension = Extension.create({
|
|
|
58334
58520
|
}
|
|
58335
58521
|
});
|
|
58336
58522
|
|
|
58523
|
+
// src/components/rich-text-editor/index.tsx
|
|
58524
|
+
init_use_subscription();
|
|
58525
|
+
|
|
58337
58526
|
// #style-inject:#style-inject
|
|
58338
58527
|
function styleInject(css2, { insertAt } = {}) {
|
|
58339
58528
|
if (!css2 || typeof document === "undefined")
|
|
@@ -60313,6 +60502,9 @@ function RichTextEditor({
|
|
|
60313
60502
|
] }) })
|
|
60314
60503
|
] });
|
|
60315
60504
|
}
|
|
60505
|
+
|
|
60506
|
+
// src/components/memory-efficient-data/index.tsx
|
|
60507
|
+
init_use_subscription();
|
|
60316
60508
|
var MemoryCache = class {
|
|
60317
60509
|
constructor(maxSize, strategy = "lru") {
|
|
60318
60510
|
this.cache = /* @__PURE__ */ new Map();
|
|
@@ -61033,6 +61225,7 @@ function MemoryEfficientData(props) {
|
|
|
61033
61225
|
return /* @__PURE__ */ jsx(MemoryEfficientDataInternal, { ...props });
|
|
61034
61226
|
}
|
|
61035
61227
|
var MoonUIMemoryEfficientDataPro = MemoryEfficientData;
|
|
61228
|
+
init_use_subscription();
|
|
61036
61229
|
function VirtualListInternal({
|
|
61037
61230
|
items,
|
|
61038
61231
|
height,
|
|
@@ -61569,6 +61762,7 @@ function SelectableVirtualList(props) {
|
|
|
61569
61762
|
}
|
|
61570
61763
|
return /* @__PURE__ */ jsx(SelectableVirtualListInternal, { ...props });
|
|
61571
61764
|
}
|
|
61765
|
+
init_use_subscription();
|
|
61572
61766
|
var SwipeableCardInternal = t__default.forwardRef(
|
|
61573
61767
|
({
|
|
61574
61768
|
children,
|
|
@@ -61667,6 +61861,7 @@ var SwipeableCard = t__default.forwardRef(
|
|
|
61667
61861
|
}
|
|
61668
61862
|
);
|
|
61669
61863
|
SwipeableCard.displayName = "SwipeableCard";
|
|
61864
|
+
init_use_subscription();
|
|
61670
61865
|
var timelineVariants = cva("w-full", {
|
|
61671
61866
|
variants: {
|
|
61672
61867
|
theme: {
|
|
@@ -62487,6 +62682,9 @@ function Timeline(props) {
|
|
|
62487
62682
|
}
|
|
62488
62683
|
return /* @__PURE__ */ jsx(TimelineInternal, { ...props });
|
|
62489
62684
|
}
|
|
62685
|
+
|
|
62686
|
+
// src/components/advanced-chart/index.tsx
|
|
62687
|
+
init_use_subscription();
|
|
62490
62688
|
var COLOR_THEMES = {
|
|
62491
62689
|
default: [
|
|
62492
62690
|
"#3b82f6",
|
|
@@ -63579,6 +63777,7 @@ function AdvancedChart(props) {
|
|
|
63579
63777
|
return /* @__PURE__ */ jsx(AdvancedChartInternal, { ...props });
|
|
63580
63778
|
}
|
|
63581
63779
|
var MoonUIAdvancedChartPro = AdvancedChart;
|
|
63780
|
+
init_use_subscription();
|
|
63582
63781
|
function MetricCard({
|
|
63583
63782
|
data,
|
|
63584
63783
|
onClick,
|
|
@@ -67055,6 +67254,8 @@ var Dashboard = t__default.memo(function Dashboard2(props) {
|
|
|
67055
67254
|
}
|
|
67056
67255
|
return /* @__PURE__ */ jsx(DashboardInternal, { ...props });
|
|
67057
67256
|
});
|
|
67257
|
+
init_use_subscription();
|
|
67258
|
+
init_use_subscription();
|
|
67058
67259
|
function validatePhoneNumber(number) {
|
|
67059
67260
|
if (!number)
|
|
67060
67261
|
return false;
|
|
@@ -67901,6 +68102,7 @@ var AdvancedForms = ({ className, ...props }) => {
|
|
|
67901
68102
|
}
|
|
67902
68103
|
return /* @__PURE__ */ jsx(AdvancedFormsInternal, { className, ...props });
|
|
67903
68104
|
};
|
|
68105
|
+
init_use_subscription();
|
|
67904
68106
|
|
|
67905
68107
|
// src/components/github-stars/github-api.ts
|
|
67906
68108
|
var cache = /* @__PURE__ */ new Map();
|
|
@@ -68134,7 +68336,7 @@ function formatDate2(dateString) {
|
|
|
68134
68336
|
day: "numeric"
|
|
68135
68337
|
});
|
|
68136
68338
|
}
|
|
68137
|
-
function
|
|
68339
|
+
function clearCache3(pattern) {
|
|
68138
68340
|
if (pattern) {
|
|
68139
68341
|
for (const key of cache.keys()) {
|
|
68140
68342
|
if (key.includes(pattern)) {
|
|
@@ -68454,7 +68656,7 @@ function useGitHubData({
|
|
|
68454
68656
|
console.warn("Cannot refresh: maximum error count reached");
|
|
68455
68657
|
return Promise.resolve();
|
|
68456
68658
|
}
|
|
68457
|
-
|
|
68659
|
+
clearCache3();
|
|
68458
68660
|
return fetchData();
|
|
68459
68661
|
}, [fetchData, isDocsMode2]);
|
|
68460
68662
|
return {
|
|
@@ -69304,6 +69506,7 @@ var GitHubStars = ({ className, ...props }) => {
|
|
|
69304
69506
|
}
|
|
69305
69507
|
return /* @__PURE__ */ jsx(GitHubStarsInternal, { className, ...props });
|
|
69306
69508
|
};
|
|
69509
|
+
init_use_subscription();
|
|
69307
69510
|
var HealthCheckInternal = ({
|
|
69308
69511
|
endpoints,
|
|
69309
69512
|
interval = 3e4,
|
|
@@ -69597,6 +69800,7 @@ var HealthCheck = ({ className, ...props }) => {
|
|
|
69597
69800
|
}
|
|
69598
69801
|
return /* @__PURE__ */ jsx(HealthCheckInternal, { className, ...props });
|
|
69599
69802
|
};
|
|
69803
|
+
init_use_subscription();
|
|
69600
69804
|
var LazyComponentInternal = ({
|
|
69601
69805
|
children,
|
|
69602
69806
|
fallback,
|
|
@@ -70205,6 +70409,7 @@ var LazyComponent = ({ className, ...props }) => {
|
|
|
70205
70409
|
}
|
|
70206
70410
|
return /* @__PURE__ */ jsx(LazyComponentInternal, { className, ...props });
|
|
70207
70411
|
};
|
|
70412
|
+
init_use_subscription();
|
|
70208
70413
|
var OptimizedImageInternal = ({
|
|
70209
70414
|
src,
|
|
70210
70415
|
alt,
|
|
@@ -70546,6 +70751,7 @@ var OptimizedImage = ({ className, ...props }) => {
|
|
|
70546
70751
|
}
|
|
70547
70752
|
return /* @__PURE__ */ jsx(OptimizedImageInternal, { className, ...props });
|
|
70548
70753
|
};
|
|
70754
|
+
init_use_subscription();
|
|
70549
70755
|
var PerformanceDebuggerInternal = ({
|
|
70550
70756
|
autoCapture = true,
|
|
70551
70757
|
captureInterval = 5e3,
|
|
@@ -70990,6 +71196,7 @@ var PerformanceDebugger = ({ className, ...props }) => {
|
|
|
70990
71196
|
}
|
|
70991
71197
|
return /* @__PURE__ */ jsx(PerformanceDebuggerInternal, { className, ...props });
|
|
70992
71198
|
};
|
|
71199
|
+
init_use_subscription();
|
|
70993
71200
|
var PerformanceMonitorInternal = ({
|
|
70994
71201
|
autoRefresh = true,
|
|
70995
71202
|
refreshInterval = 5e3,
|
|
@@ -71594,6 +71801,7 @@ var PerformanceMonitor = ({ className, ...props }) => {
|
|
|
71594
71801
|
}
|
|
71595
71802
|
return /* @__PURE__ */ jsx(PerformanceMonitorInternal, { className, ...props });
|
|
71596
71803
|
};
|
|
71804
|
+
init_use_subscription();
|
|
71597
71805
|
|
|
71598
71806
|
// src/use-toast.ts
|
|
71599
71807
|
function toast2(options) {
|
|
@@ -72818,6 +73026,7 @@ var FileUploadItem = ({
|
|
|
72818
73026
|
};
|
|
72819
73027
|
MoonUIFileUploadPro.displayName = "MoonUIFileUploadPro";
|
|
72820
73028
|
var file_upload_default = MoonUIFileUploadPro;
|
|
73029
|
+
init_use_subscription();
|
|
72821
73030
|
function DataTableColumnToggle({ table, trigger }) {
|
|
72822
73031
|
const [search, setSearch] = t__default.useState("");
|
|
72823
73032
|
const columns = table.getAllColumns().filter(
|
|
@@ -74980,6 +75189,7 @@ var TableRow2 = ({
|
|
|
74980
75189
|
};
|
|
74981
75190
|
TableRow2.displayName = "TableRow";
|
|
74982
75191
|
var MoonUIDataTable = DataTable;
|
|
75192
|
+
init_use_subscription();
|
|
74983
75193
|
|
|
74984
75194
|
// src/styles/nprogress.css
|
|
74985
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");
|
|
@@ -75261,9 +75471,11 @@ function SidebarInternal({
|
|
|
75261
75471
|
{
|
|
75262
75472
|
side: "right",
|
|
75263
75473
|
align: "start",
|
|
75264
|
-
sideOffset:
|
|
75474
|
+
sideOffset: 15,
|
|
75475
|
+
collisionPadding: 10,
|
|
75476
|
+
avoidCollisions: true,
|
|
75265
75477
|
className: cn(
|
|
75266
|
-
"p-2",
|
|
75478
|
+
"p-2 max-w-[250px]",
|
|
75267
75479
|
glassmorphism && "bg-background/95 backdrop-blur-sm"
|
|
75268
75480
|
),
|
|
75269
75481
|
children: /* @__PURE__ */ jsx("div", { className: "space-y-0.5", children: childItem.items?.map((grandChild) => {
|
|
@@ -75349,14 +75561,14 @@ function SidebarInternal({
|
|
|
75349
75561
|
isActive2 && "bg-primary/10 text-primary font-medium",
|
|
75350
75562
|
item.disabled && "opacity-50 cursor-not-allowed",
|
|
75351
75563
|
depth > 0 && "ml-6 text-xs",
|
|
75352
|
-
collapsed && depth === 0 && "justify-center px-2",
|
|
75564
|
+
collapsed && depth === 0 && "justify-center px-2 w-12 h-10",
|
|
75353
75565
|
customStyles?.hover
|
|
75354
75566
|
),
|
|
75355
75567
|
disabled: item.disabled,
|
|
75356
75568
|
children: [
|
|
75357
75569
|
item.icon && /* @__PURE__ */ jsx("span", { className: cn(
|
|
75358
75570
|
"flex-shrink-0",
|
|
75359
|
-
collapsed && depth === 0 && "
|
|
75571
|
+
collapsed && depth === 0 && "w-full flex justify-center"
|
|
75360
75572
|
), children: item.icon }),
|
|
75361
75573
|
(!collapsed || depth > 0) && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
75362
75574
|
/* @__PURE__ */ jsx("span", { className: "flex-1 text-left truncate", children: item.title }),
|
|
@@ -75390,9 +75602,11 @@ function SidebarInternal({
|
|
|
75390
75602
|
{
|
|
75391
75603
|
side: "right",
|
|
75392
75604
|
align: "start",
|
|
75393
|
-
sideOffset:
|
|
75605
|
+
sideOffset: 15,
|
|
75606
|
+
collisionPadding: 10,
|
|
75607
|
+
avoidCollisions: true,
|
|
75394
75608
|
className: cn(
|
|
75395
|
-
"p-0 w-auto",
|
|
75609
|
+
"p-0 w-auto max-w-[300px]",
|
|
75396
75610
|
glassmorphism && "bg-background/95 backdrop-blur-sm",
|
|
75397
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"
|
|
75398
75612
|
),
|
|
@@ -75415,18 +75629,22 @@ function SidebarInternal({
|
|
|
75415
75629
|
/* @__PURE__ */ jsx(MoonUITooltipTriggerPro, { asChild: true, children: itemContent }),
|
|
75416
75630
|
/* @__PURE__ */ jsx(MoonUITooltipContentPro, { side: "right", children: /* @__PURE__ */ jsx("p", { children: item.tooltip }) })
|
|
75417
75631
|
] }) }) : itemContent,
|
|
75418
|
-
hasChildren && !collapsed && filteredChildren && /* @__PURE__ */ jsx(AnimatePresence, { children: isExpanded && /* @__PURE__ */ jsx(
|
|
75632
|
+
hasChildren && !collapsed && filteredChildren && /* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", children: isExpanded && /* @__PURE__ */ jsx(
|
|
75419
75633
|
motion.div,
|
|
75420
75634
|
{
|
|
75421
75635
|
initial: { height: 0, opacity: 0 },
|
|
75422
75636
|
animate: { height: "auto", opacity: 1 },
|
|
75423
75637
|
exit: { height: 0, opacity: 0 },
|
|
75424
|
-
transition: {
|
|
75638
|
+
transition: {
|
|
75639
|
+
duration: 0.25,
|
|
75640
|
+
ease: [0.4, 0, 0.2, 1]
|
|
75641
|
+
},
|
|
75425
75642
|
className: "overflow-hidden",
|
|
75426
75643
|
children: /* @__PURE__ */ jsx("div", { className: "pt-1 space-y-1", children: filteredChildren.map(
|
|
75427
75644
|
(child) => renderItem(child, depth + 1)
|
|
75428
75645
|
) })
|
|
75429
|
-
}
|
|
75646
|
+
},
|
|
75647
|
+
`${item.id}-children`
|
|
75430
75648
|
) })
|
|
75431
75649
|
] }, item.id);
|
|
75432
75650
|
}, [activePath, pinnedItems, expandedSections, collapsed, customStyles, handleItemClick, toggleSection, isMobile, glassmorphism, renderCollapsedHoverContent, fullWidthItems]);
|
|
@@ -75465,7 +75683,7 @@ function SidebarInternal({
|
|
|
75465
75683
|
] });
|
|
75466
75684
|
});
|
|
75467
75685
|
const SidebarMenuContent = t__default.memo(() => {
|
|
75468
|
-
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: [
|
|
75469
75687
|
pinnedItems.length > 0 && (!collapsed || isMobile) && /* @__PURE__ */ jsxs("div", { children: [
|
|
75470
75688
|
/* @__PURE__ */ jsx("h4", { className: "text-xs font-medium text-muted-foreground mb-2", children: "Pinned" }),
|
|
75471
75689
|
/* @__PURE__ */ jsx("div", { className: "space-y-1", children: sections.flatMap(
|
|
@@ -75480,6 +75698,7 @@ function SidebarInternal({
|
|
|
75480
75698
|
] }, section.id))
|
|
75481
75699
|
] }) });
|
|
75482
75700
|
});
|
|
75701
|
+
SidebarMenuContent.displayName = "SidebarMenuContent";
|
|
75483
75702
|
const SidebarFooter = t__default.memo(() => {
|
|
75484
75703
|
return footer ? /* @__PURE__ */ jsxs("div", { className: "border-t p-4", children: [
|
|
75485
75704
|
/* @__PURE__ */ jsx("div", { className: "space-y-1", children: footer.items.map((item) => renderItem(item)) }),
|
|
@@ -75509,12 +75728,14 @@ function SidebarInternal({
|
|
|
75509
75728
|
] })
|
|
75510
75729
|
] }) : null;
|
|
75511
75730
|
});
|
|
75731
|
+
SidebarFooter.displayName = "SidebarFooter";
|
|
75512
75732
|
const SidebarContent = t__default.memo(() => {
|
|
75513
75733
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
75514
75734
|
/* @__PURE__ */ jsx(SidebarMenuContent, {}),
|
|
75515
75735
|
/* @__PURE__ */ jsx(SidebarFooter, {})
|
|
75516
75736
|
] });
|
|
75517
75737
|
});
|
|
75738
|
+
SidebarContent.displayName = "SidebarContent";
|
|
75518
75739
|
const sidebarClasses = cn(
|
|
75519
75740
|
"moonui-pro flex h-full flex-col bg-background border-r",
|
|
75520
75741
|
glassmorphism && "bg-background/80 backdrop-blur-xl border-white/10",
|
|
@@ -75609,6 +75830,7 @@ function Sidebar(props) {
|
|
|
75609
75830
|
}
|
|
75610
75831
|
return /* @__PURE__ */ jsx(SidebarInternal, { ...props });
|
|
75611
75832
|
}
|
|
75833
|
+
init_use_subscription();
|
|
75612
75834
|
function NavbarInternal({
|
|
75613
75835
|
sections = [],
|
|
75614
75836
|
branding,
|
|
@@ -76479,6 +76701,7 @@ function Navbar(props) {
|
|
|
76479
76701
|
}
|
|
76480
76702
|
return /* @__PURE__ */ jsx(NavbarInternal, { ...props });
|
|
76481
76703
|
}
|
|
76704
|
+
init_use_subscription();
|
|
76482
76705
|
var FormWizardContext = createContext(null);
|
|
76483
76706
|
var useFormWizard = () => {
|
|
76484
76707
|
const context = useContext(FormWizardContext);
|
|
@@ -77229,6 +77452,7 @@ var MoonUIFormWizardPro = t__default.forwardRef(
|
|
|
77229
77452
|
);
|
|
77230
77453
|
MoonUIFormWizardPro.displayName = "MoonUIFormWizardPro";
|
|
77231
77454
|
var FormWizard = MoonUIFormWizardPro;
|
|
77455
|
+
init_use_subscription();
|
|
77232
77456
|
function shuffleArray(array) {
|
|
77233
77457
|
const shuffled = [...array];
|
|
77234
77458
|
for (let i = shuffled.length - 1; i > 0; i--) {
|
|
@@ -77904,6 +78128,7 @@ var MoonUICreditCardInputPro = t__default.forwardRef(({
|
|
|
77904
78128
|
] });
|
|
77905
78129
|
});
|
|
77906
78130
|
MoonUICreditCardInputPro.displayName = "MoonUICreditCardInputPro";
|
|
78131
|
+
init_use_subscription();
|
|
77907
78132
|
var quizFormVariants = cva(
|
|
77908
78133
|
"relative w-full rounded-lg border bg-card text-card-foreground shadow-sm",
|
|
77909
78134
|
{
|
|
@@ -85556,6 +85781,9 @@ var ToastDescription = t.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
85556
85781
|
}
|
|
85557
85782
|
));
|
|
85558
85783
|
ToastDescription.displayName = ToastPrimitives.Description.displayName;
|
|
85784
|
+
|
|
85785
|
+
// src/components/avatar-pro/index.tsx
|
|
85786
|
+
init_use_subscription();
|
|
85559
85787
|
var avatarVariants2 = cva(
|
|
85560
85788
|
"relative inline-flex shrink-0 overflow-hidden font-semibold transition-all",
|
|
85561
85789
|
{
|
|
@@ -86030,6 +86258,7 @@ function WidgetBase({
|
|
|
86030
86258
|
}
|
|
86031
86259
|
return content;
|
|
86032
86260
|
}
|
|
86261
|
+
init_use_subscription();
|
|
86033
86262
|
function KPIWidget({
|
|
86034
86263
|
data,
|
|
86035
86264
|
title,
|
|
@@ -86231,6 +86460,7 @@ function KPIWidget({
|
|
|
86231
86460
|
}
|
|
86232
86461
|
);
|
|
86233
86462
|
}
|
|
86463
|
+
init_use_subscription();
|
|
86234
86464
|
function ChartWidget2({
|
|
86235
86465
|
data,
|
|
86236
86466
|
title,
|
|
@@ -86657,6 +86887,7 @@ function ChartWidget2({
|
|
|
86657
86887
|
}
|
|
86658
86888
|
);
|
|
86659
86889
|
}
|
|
86890
|
+
init_use_subscription();
|
|
86660
86891
|
function GaugeWidget({
|
|
86661
86892
|
data,
|
|
86662
86893
|
title,
|
|
@@ -86956,6 +87187,7 @@ function GaugeWidget({
|
|
|
86956
87187
|
}
|
|
86957
87188
|
);
|
|
86958
87189
|
}
|
|
87190
|
+
init_use_subscription();
|
|
86959
87191
|
function FunnelWidget({
|
|
86960
87192
|
data,
|
|
86961
87193
|
title,
|
|
@@ -87315,6 +87547,7 @@ function FunnelWidget({
|
|
|
87315
87547
|
}
|
|
87316
87548
|
);
|
|
87317
87549
|
}
|
|
87550
|
+
init_use_subscription();
|
|
87318
87551
|
function RevenueWidget({
|
|
87319
87552
|
data,
|
|
87320
87553
|
title,
|
|
@@ -87759,6 +87992,7 @@ function RevenueWidget({
|
|
|
87759
87992
|
}
|
|
87760
87993
|
);
|
|
87761
87994
|
}
|
|
87995
|
+
init_use_subscription();
|
|
87762
87996
|
function ServerMonitorWidget({
|
|
87763
87997
|
data,
|
|
87764
87998
|
title,
|
|
@@ -88181,4 +88415,4 @@ function ServerMonitorWidget({
|
|
|
88181
88415
|
*)
|
|
88182
88416
|
*/
|
|
88183
88417
|
|
|
88184
|
-
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 };
|