@moontra/moonui-pro 2.32.7 → 2.32.9
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 +67 -7
- package/dist/index.global.js +124 -116
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +487 -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,298 @@ 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 && browserToken.trim() !== "") {
|
|
98
|
+
console.log("[MoonUI Pro] Using browser token from localStorage");
|
|
99
|
+
return browserToken;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
const envToken = process.env.NEXT_PUBLIC_MOONUI_AUTH_TOKEN || process.env.NEXT_PUBLIC_MOONUI_LICENSE_KEY;
|
|
103
|
+
if (envToken && envToken.trim() !== "") {
|
|
104
|
+
console.log("[MoonUI Pro] Using environment token");
|
|
105
|
+
return envToken;
|
|
106
|
+
}
|
|
107
|
+
console.log("[MoonUI Pro] No auth token found");
|
|
108
|
+
return null;
|
|
109
|
+
}
|
|
110
|
+
async function validateLicense() {
|
|
111
|
+
const token = await getAuthToken();
|
|
112
|
+
if (!token) {
|
|
113
|
+
if (typeof window !== "undefined") {
|
|
114
|
+
localStorage.removeItem(CACHE_KEY);
|
|
115
|
+
}
|
|
116
|
+
updateGlobalState({
|
|
117
|
+
hasProAccess: false,
|
|
118
|
+
isAuthenticated: false,
|
|
119
|
+
isLoading: false
|
|
120
|
+
});
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
try {
|
|
124
|
+
const response = await fetch("https://moonui.dev/api/auth/validate", {
|
|
125
|
+
headers: {
|
|
126
|
+
"Authorization": `Bearer ${token}`
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
if (response.ok) {
|
|
130
|
+
const data = await response.json();
|
|
131
|
+
const cacheData = {
|
|
132
|
+
valid: data.valid,
|
|
133
|
+
hasLifetimeAccess: data.user?.hasLifetimeAccess || false,
|
|
134
|
+
timestamp: Date.now(),
|
|
135
|
+
cacheUntil: data.cacheUntil ? new Date(data.cacheUntil).getTime() : void 0
|
|
136
|
+
};
|
|
137
|
+
if (typeof window !== "undefined") {
|
|
138
|
+
localStorage.setItem(CACHE_KEY, JSON.stringify(cacheData));
|
|
139
|
+
}
|
|
140
|
+
const hasProAccess = data.valid && (data.user?.hasLifetimeAccess || data.user?.features?.includes("pro_components"));
|
|
141
|
+
updateGlobalState({
|
|
142
|
+
hasProAccess,
|
|
143
|
+
isAuthenticated: data.valid,
|
|
144
|
+
subscriptionPlan: hasProAccess ? "lifetime" : "free",
|
|
145
|
+
subscription: {
|
|
146
|
+
status: hasProAccess ? "active" : "inactive",
|
|
147
|
+
plan: hasProAccess ? "lifetime" : "free"
|
|
148
|
+
},
|
|
149
|
+
isLoading: false
|
|
150
|
+
});
|
|
151
|
+
} else {
|
|
152
|
+
if (typeof window !== "undefined") {
|
|
153
|
+
localStorage.removeItem(CACHE_KEY);
|
|
154
|
+
}
|
|
155
|
+
updateGlobalState({
|
|
156
|
+
hasProAccess: false,
|
|
157
|
+
isAuthenticated: false,
|
|
158
|
+
isLoading: false
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
} catch (error) {
|
|
162
|
+
if (typeof window !== "undefined") {
|
|
163
|
+
const cached = localStorage.getItem(CACHE_KEY);
|
|
164
|
+
if (cached) {
|
|
165
|
+
const cacheData = JSON.parse(cached);
|
|
166
|
+
const now = Date.now();
|
|
167
|
+
if (now - cacheData.timestamp < OFFLINE_GRACE_PERIOD) {
|
|
168
|
+
updateGlobalState({
|
|
169
|
+
hasProAccess: cacheData.valid && cacheData.hasLifetimeAccess,
|
|
170
|
+
isAuthenticated: cacheData.valid,
|
|
171
|
+
subscriptionPlan: cacheData.valid && cacheData.hasLifetimeAccess ? "lifetime" : "free",
|
|
172
|
+
subscription: {
|
|
173
|
+
status: cacheData.valid && cacheData.hasLifetimeAccess ? "active" : "inactive",
|
|
174
|
+
plan: cacheData.valid && cacheData.hasLifetimeAccess ? "lifetime" : "free"
|
|
175
|
+
},
|
|
176
|
+
isLoading: false
|
|
177
|
+
});
|
|
178
|
+
return;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
updateGlobalState({
|
|
183
|
+
hasProAccess: false,
|
|
184
|
+
isAuthenticated: false,
|
|
185
|
+
isLoading: false
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
async function initializeAuth() {
|
|
190
|
+
if (isInitialized)
|
|
191
|
+
return;
|
|
192
|
+
isInitialized = true;
|
|
193
|
+
if (typeof window !== "undefined") {
|
|
194
|
+
const cached = localStorage.getItem(CACHE_KEY);
|
|
195
|
+
if (cached) {
|
|
196
|
+
const cacheData = JSON.parse(cached);
|
|
197
|
+
const now = Date.now();
|
|
198
|
+
if (now - cacheData.timestamp < CACHE_DURATION) {
|
|
199
|
+
updateGlobalState({
|
|
200
|
+
hasProAccess: cacheData.valid && cacheData.hasLifetimeAccess,
|
|
201
|
+
isAuthenticated: cacheData.valid,
|
|
202
|
+
subscriptionPlan: cacheData.valid && cacheData.hasLifetimeAccess ? "lifetime" : "free",
|
|
203
|
+
subscription: {
|
|
204
|
+
status: cacheData.valid && cacheData.hasLifetimeAccess ? "active" : "inactive",
|
|
205
|
+
plan: cacheData.valid && cacheData.hasLifetimeAccess ? "lifetime" : "free"
|
|
206
|
+
},
|
|
207
|
+
isLoading: false
|
|
208
|
+
});
|
|
209
|
+
return;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
await validateLicense();
|
|
214
|
+
}
|
|
215
|
+
async function forceRefresh() {
|
|
216
|
+
if (typeof window !== "undefined") {
|
|
217
|
+
localStorage.removeItem(CACHE_KEY);
|
|
218
|
+
console.log("[MoonUI Pro] Cache cleared, forcing refresh...");
|
|
219
|
+
}
|
|
220
|
+
isInitialized = false;
|
|
221
|
+
updateGlobalState({
|
|
222
|
+
isLoading: true,
|
|
223
|
+
hasProAccess: false,
|
|
224
|
+
isAuthenticated: false
|
|
225
|
+
});
|
|
226
|
+
await initializeAuth();
|
|
227
|
+
}
|
|
228
|
+
function clearCache() {
|
|
229
|
+
if (typeof window !== "undefined") {
|
|
230
|
+
localStorage.removeItem(CACHE_KEY);
|
|
231
|
+
localStorage.removeItem("moonui_auth_token");
|
|
232
|
+
console.log("[MoonUI Pro] Auth cache cleared");
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
function useSubscription() {
|
|
236
|
+
const [, forceUpdate] = useState({});
|
|
237
|
+
useEffect(() => {
|
|
238
|
+
initializeAuth();
|
|
239
|
+
const callback = () => forceUpdate({});
|
|
240
|
+
subscribers.push(callback);
|
|
241
|
+
const handleFocus = async () => {
|
|
242
|
+
if (typeof window !== "undefined") {
|
|
243
|
+
const cached = localStorage.getItem(CACHE_KEY);
|
|
244
|
+
if (cached) {
|
|
245
|
+
const cacheData = JSON.parse(cached);
|
|
246
|
+
const now = Date.now();
|
|
247
|
+
if (now - cacheData.timestamp > CACHE_DURATION) {
|
|
248
|
+
console.log("[MoonUI Pro] Cache expired on focus, revalidating...");
|
|
249
|
+
await validateLicense();
|
|
250
|
+
}
|
|
251
|
+
} else {
|
|
252
|
+
console.log("[MoonUI Pro] No cache on focus, validating...");
|
|
253
|
+
await validateLicense();
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
};
|
|
257
|
+
const handleStorageChange = async (e) => {
|
|
258
|
+
if (e.key === "moonui_auth_token" || e.key === CACHE_KEY) {
|
|
259
|
+
console.log("[MoonUI Pro] Auth storage changed, revalidating...");
|
|
260
|
+
if (!e.newValue) {
|
|
261
|
+
updateGlobalState({
|
|
262
|
+
hasProAccess: false,
|
|
263
|
+
isAuthenticated: false,
|
|
264
|
+
isLoading: false
|
|
265
|
+
});
|
|
266
|
+
} else {
|
|
267
|
+
await forceRefresh();
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
};
|
|
271
|
+
window.addEventListener("focus", handleFocus);
|
|
272
|
+
window.addEventListener("storage", handleStorageChange);
|
|
273
|
+
return () => {
|
|
274
|
+
const index2 = subscribers.indexOf(callback);
|
|
275
|
+
if (index2 > -1) {
|
|
276
|
+
subscribers.splice(index2, 1);
|
|
277
|
+
}
|
|
278
|
+
window.removeEventListener("focus", handleFocus);
|
|
279
|
+
window.removeEventListener("storage", handleStorageChange);
|
|
280
|
+
};
|
|
281
|
+
}, []);
|
|
282
|
+
return {
|
|
283
|
+
...globalAuthState,
|
|
284
|
+
checkAccess: validateLicense,
|
|
285
|
+
forceRefresh,
|
|
286
|
+
clearCache
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
var globalAuthState, isInitialized, subscribers, CACHE_KEY, CACHE_DURATION, OFFLINE_GRACE_PERIOD;
|
|
290
|
+
var init_use_subscription = __esm({
|
|
291
|
+
"src/hooks/use-subscription.ts"() {
|
|
292
|
+
globalAuthState = {
|
|
293
|
+
isLoading: true,
|
|
294
|
+
hasProAccess: false,
|
|
295
|
+
isAuthenticated: false,
|
|
296
|
+
subscriptionPlan: "free",
|
|
297
|
+
subscription: {
|
|
298
|
+
status: "inactive",
|
|
299
|
+
plan: "free"
|
|
300
|
+
},
|
|
301
|
+
isAdmin: false
|
|
302
|
+
};
|
|
303
|
+
isInitialized = false;
|
|
304
|
+
subscribers = [];
|
|
305
|
+
CACHE_KEY = "moonui_license_cache";
|
|
306
|
+
CACHE_DURATION = 5 * 60 * 1e3 ;
|
|
307
|
+
OFFLINE_GRACE_PERIOD = 10 * 60 * 1e3 ;
|
|
308
|
+
}
|
|
309
|
+
});
|
|
310
|
+
|
|
311
|
+
// src/utils/cli-auth-sync.ts
|
|
312
|
+
var cli_auth_sync_exports = {};
|
|
313
|
+
__export(cli_auth_sync_exports, {
|
|
314
|
+
setAuthToken: () => setAuthToken,
|
|
315
|
+
syncCliAuth: () => syncCliAuth
|
|
316
|
+
});
|
|
317
|
+
async function setAuthToken(token) {
|
|
318
|
+
if (typeof window === "undefined") {
|
|
319
|
+
console.error("[MoonUI Pro] This function must be called in browser environment");
|
|
320
|
+
return;
|
|
321
|
+
}
|
|
322
|
+
localStorage.setItem("moonui_auth_token", token);
|
|
323
|
+
console.log("[MoonUI Pro] Auth token set in localStorage");
|
|
324
|
+
await forceRefresh();
|
|
325
|
+
console.log("[MoonUI Pro] Authentication refreshed");
|
|
326
|
+
}
|
|
327
|
+
async function syncCliAuth() {
|
|
328
|
+
try {
|
|
329
|
+
const response = await fetch("https://moonui.dev/api/auth/get-token", {
|
|
330
|
+
method: "GET",
|
|
331
|
+
credentials: "include"
|
|
332
|
+
// Include cookies
|
|
333
|
+
});
|
|
334
|
+
if (response.ok) {
|
|
335
|
+
const data = await response.json();
|
|
336
|
+
if (data.token) {
|
|
337
|
+
await setAuthToken(data.token);
|
|
338
|
+
return true;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
console.error("[MoonUI Pro] Could not sync CLI auth. Please set token manually.");
|
|
342
|
+
return false;
|
|
343
|
+
} catch (error) {
|
|
344
|
+
console.error("[MoonUI Pro] Error syncing CLI auth:", error);
|
|
345
|
+
return false;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
var init_cli_auth_sync = __esm({
|
|
349
|
+
"src/utils/cli-auth-sync.ts"() {
|
|
350
|
+
init_use_subscription();
|
|
351
|
+
if (typeof window !== "undefined") {
|
|
352
|
+
window.MoonUIAuth = {
|
|
353
|
+
setToken: setAuthToken,
|
|
354
|
+
sync: syncCliAuth,
|
|
355
|
+
// Quick helper for development
|
|
356
|
+
setProToken: () => {
|
|
357
|
+
console.log(`
|
|
358
|
+
[MoonUI Pro] To set your auth token:
|
|
359
|
+
|
|
360
|
+
1. Get your token from MoonUI Dashboard
|
|
361
|
+
2. Run in console: window.MoonUIAuth.setToken('YOUR_TOKEN_HERE')
|
|
362
|
+
|
|
363
|
+
Or use environment variable:
|
|
364
|
+
NEXT_PUBLIC_MOONUI_AUTH_TOKEN=your_token_here
|
|
365
|
+
`);
|
|
366
|
+
}
|
|
367
|
+
};
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
});
|
|
371
|
+
|
|
73
372
|
// ../../node_modules/fast-deep-equal/es6/react.js
|
|
74
373
|
var require_react = __commonJS({
|
|
75
374
|
"../../node_modules/fast-deep-equal/es6/react.js"(exports, module) {
|
|
@@ -2051,161 +2350,116 @@ function createAIProvider(provider, config) {
|
|
|
2051
2350
|
throw new Error(`Unsupported AI provider: ${provider}`);
|
|
2052
2351
|
}
|
|
2053
2352
|
}
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
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;
|
|
2353
|
+
|
|
2354
|
+
// src/index.ts
|
|
2355
|
+
init_use_subscription();
|
|
2356
|
+
|
|
2357
|
+
// src/utils/cache-helper.ts
|
|
2358
|
+
var forceRefresh2;
|
|
2359
|
+
var clearCache2;
|
|
2360
|
+
if (typeof window !== "undefined") {
|
|
2361
|
+
Promise.resolve().then(() => (init_use_subscription(), use_subscription_exports)).then((module) => {
|
|
2362
|
+
forceRefresh2 = module.forceRefresh;
|
|
2363
|
+
clearCache2 = module.clearCache;
|
|
2364
|
+
});
|
|
2365
|
+
Promise.resolve().then(() => (init_cli_auth_sync(), cli_auth_sync_exports)).then((module) => {
|
|
2366
|
+
module.setAuthToken;
|
|
2367
|
+
});
|
|
2085
2368
|
}
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2369
|
+
var MoonUICache = {
|
|
2370
|
+
/**
|
|
2371
|
+
* Clear all MoonUI Pro authentication cache
|
|
2372
|
+
*/
|
|
2373
|
+
clear: () => {
|
|
2374
|
+
clearCache2();
|
|
2375
|
+
console.log("\u2705 MoonUI Pro cache cleared");
|
|
2376
|
+
},
|
|
2377
|
+
/**
|
|
2378
|
+
* Force refresh authentication (clear cache and revalidate)
|
|
2379
|
+
*/
|
|
2380
|
+
refresh: async () => {
|
|
2381
|
+
console.log("\u{1F504} Refreshing MoonUI Pro authentication...");
|
|
2382
|
+
await forceRefresh2();
|
|
2383
|
+
console.log("\u2705 Authentication refreshed");
|
|
2384
|
+
},
|
|
2385
|
+
/**
|
|
2386
|
+
* Clear cache and force refresh in one step
|
|
2387
|
+
*/
|
|
2388
|
+
clearAndRefresh: async () => {
|
|
2389
|
+
console.log("\u{1F9F9} Clearing cache and refreshing...");
|
|
2390
|
+
clearCache2();
|
|
2391
|
+
await forceRefresh2();
|
|
2392
|
+
console.log("\u2705 Cache cleared and authentication refreshed");
|
|
2393
|
+
},
|
|
2394
|
+
/**
|
|
2395
|
+
* Check current cache status
|
|
2396
|
+
*/
|
|
2397
|
+
status: () => {
|
|
2398
|
+
const cache2 = localStorage.getItem("moonui_license_cache");
|
|
2399
|
+
const token = localStorage.getItem("moonui_auth_token");
|
|
2400
|
+
if (!cache2 && !token) {
|
|
2401
|
+
console.log("\u274C No authentication cache or token found");
|
|
2402
|
+
return null;
|
|
2091
2403
|
}
|
|
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
|
-
});
|
|
2404
|
+
if (cache2) {
|
|
2405
|
+
const cacheData = JSON.parse(cache2);
|
|
2406
|
+
const now = Date.now();
|
|
2407
|
+
const age = now - cacheData.timestamp;
|
|
2408
|
+
const ageMinutes = Math.floor(age / 6e4);
|
|
2409
|
+
console.log("\u{1F4CA} Cache Status:");
|
|
2410
|
+
console.log(` Valid: ${cacheData.valid ? "\u2705" : "\u274C"}`);
|
|
2411
|
+
console.log(` Has Lifetime Access: ${cacheData.hasLifetimeAccess ? "\u2705" : "\u274C"}`);
|
|
2412
|
+
console.log(` Cache Age: ${ageMinutes} minutes`);
|
|
2413
|
+
console.log(` Timestamp: ${new Date(cacheData.timestamp).toLocaleString()}`);
|
|
2414
|
+
return cacheData;
|
|
2415
|
+
}
|
|
2416
|
+
if (token) {
|
|
2417
|
+
console.log("\u{1F511} Auth token found but no cache");
|
|
2418
|
+
return { token };
|
|
2136
2419
|
}
|
|
2137
|
-
}
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2420
|
+
},
|
|
2421
|
+
/**
|
|
2422
|
+
* Debug info - shows all relevant localStorage keys
|
|
2423
|
+
*/
|
|
2424
|
+
debug: () => {
|
|
2425
|
+
console.log("\u{1F50D} MoonUI Pro Debug Info:");
|
|
2426
|
+
console.log("----------------------------");
|
|
2427
|
+
const keys2 = [
|
|
2428
|
+
"moonui_license_cache",
|
|
2429
|
+
"moonui_auth_token",
|
|
2430
|
+
"moonui-sidebar-state"
|
|
2431
|
+
];
|
|
2432
|
+
keys2.forEach((key) => {
|
|
2433
|
+
const value = localStorage.getItem(key);
|
|
2434
|
+
if (value) {
|
|
2435
|
+
console.log(`\u{1F4E6} ${key}:`);
|
|
2436
|
+
try {
|
|
2437
|
+
const parsed = JSON.parse(value);
|
|
2438
|
+
console.log(parsed);
|
|
2439
|
+
} catch {
|
|
2440
|
+
console.log(value);
|
|
2155
2441
|
}
|
|
2442
|
+
} else {
|
|
2443
|
+
console.log(`\u274C ${key}: Not found`);
|
|
2156
2444
|
}
|
|
2157
|
-
}
|
|
2158
|
-
updateGlobalState({
|
|
2159
|
-
hasProAccess: false,
|
|
2160
|
-
isAuthenticated: false,
|
|
2161
|
-
isLoading: false
|
|
2162
2445
|
});
|
|
2163
2446
|
}
|
|
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
|
-
}
|
|
2447
|
+
};
|
|
2448
|
+
if (typeof window !== "undefined") {
|
|
2449
|
+
window.MoonUICache = MoonUICache;
|
|
2450
|
+
const urlParams = new URLSearchParams(window.location.search);
|
|
2451
|
+
if (urlParams.has("clear-cache")) {
|
|
2452
|
+
console.log("\u{1F504} Auto-clearing cache due to URL parameter...");
|
|
2453
|
+
MoonUICache.clearAndRefresh().then(() => {
|
|
2454
|
+
urlParams.delete("clear-cache");
|
|
2455
|
+
const newUrl = window.location.pathname + (urlParams.toString() ? "?" + urlParams.toString() : "");
|
|
2456
|
+
window.history.replaceState({}, "", newUrl);
|
|
2457
|
+
});
|
|
2188
2458
|
}
|
|
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
2459
|
}
|
|
2460
|
+
|
|
2461
|
+
// src/index.ts
|
|
2462
|
+
init_cli_auth_sync();
|
|
2209
2463
|
var accordionItemVariants = cva(
|
|
2210
2464
|
"group relative overflow-visible transition-all duration-300 ease-out",
|
|
2211
2465
|
{
|
|
@@ -4876,6 +5130,7 @@ var useCollapsibleAnalytics = () => {
|
|
|
4876
5130
|
}, []);
|
|
4877
5131
|
return { analytics, trackOpen, trackClose };
|
|
4878
5132
|
};
|
|
5133
|
+
init_use_subscription();
|
|
4879
5134
|
function ProLockScreen({
|
|
4880
5135
|
componentName = "Pro Component",
|
|
4881
5136
|
className,
|
|
@@ -8280,6 +8535,7 @@ var TabsContent = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
8280
8535
|
}
|
|
8281
8536
|
));
|
|
8282
8537
|
TabsContent.displayName = TabsPrimitive2.Content.displayName;
|
|
8538
|
+
init_use_subscription();
|
|
8283
8539
|
var contentVariants = {
|
|
8284
8540
|
fade: {
|
|
8285
8541
|
initial: { opacity: 0 },
|
|
@@ -12888,6 +13144,7 @@ var NavigationMenuIndicator2 = t.forwardRef(({ className, ...props }, ref) => /*
|
|
|
12888
13144
|
}
|
|
12889
13145
|
));
|
|
12890
13146
|
NavigationMenuIndicator2.displayName = Indicator3.displayName;
|
|
13147
|
+
init_use_subscription();
|
|
12891
13148
|
var gestureDrawerVariants = cva(
|
|
12892
13149
|
"fixed bg-background shadow-2xl overflow-hidden",
|
|
12893
13150
|
{
|
|
@@ -13273,6 +13530,9 @@ var MoonUIGestureDrawerPro = t__default.forwardRef((props, ref) => {
|
|
|
13273
13530
|
});
|
|
13274
13531
|
MoonUIGestureDrawerPro.displayName = "MoonUIGestureDrawerPro";
|
|
13275
13532
|
var GestureDrawer = MoonUIGestureDrawerPro;
|
|
13533
|
+
|
|
13534
|
+
// src/components/ui/lightbox.tsx
|
|
13535
|
+
init_use_subscription();
|
|
13276
13536
|
var lightboxVariants = cva(
|
|
13277
13537
|
"fixed inset-0 z-50 flex items-center justify-center",
|
|
13278
13538
|
{
|
|
@@ -13734,6 +13994,9 @@ function SimpleLightbox({
|
|
|
13734
13994
|
/* @__PURE__ */ jsx(LightboxContent, { ...props })
|
|
13735
13995
|
] });
|
|
13736
13996
|
}
|
|
13997
|
+
|
|
13998
|
+
// src/components/ui/media-gallery.tsx
|
|
13999
|
+
init_use_subscription();
|
|
13737
14000
|
var galleryVariants = cva(
|
|
13738
14001
|
"w-full",
|
|
13739
14002
|
{
|
|
@@ -14137,6 +14400,7 @@ var MoonUIGalleryItemPro = t.forwardRef(({
|
|
|
14137
14400
|
);
|
|
14138
14401
|
});
|
|
14139
14402
|
MoonUIGalleryItemPro.displayName = "MoonUIGalleryItemPro";
|
|
14403
|
+
init_use_subscription();
|
|
14140
14404
|
function DraggableList({
|
|
14141
14405
|
items,
|
|
14142
14406
|
onReorder,
|
|
@@ -14471,6 +14735,7 @@ function DraggableList({
|
|
|
14471
14735
|
}
|
|
14472
14736
|
);
|
|
14473
14737
|
}
|
|
14738
|
+
init_use_subscription();
|
|
14474
14739
|
var moonUIAnimatedButtonProVariants = cva(
|
|
14475
14740
|
"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
14741
|
{
|
|
@@ -14760,6 +15025,7 @@ var MoonUIAnimatedButtonPro = t__default.forwardRef(
|
|
|
14760
15025
|
}
|
|
14761
15026
|
);
|
|
14762
15027
|
MoonUIAnimatedButtonPro.displayName = "MoonUIAnimatedButtonPro";
|
|
15028
|
+
init_use_subscription();
|
|
14763
15029
|
var ErrorBoundaryInternal = class extends Component {
|
|
14764
15030
|
constructor(props) {
|
|
14765
15031
|
super(props);
|
|
@@ -14891,6 +15157,7 @@ function ErrorBoundaryWrapper(props) {
|
|
|
14891
15157
|
return /* @__PURE__ */ jsx(ErrorBoundaryInternal, { ...props });
|
|
14892
15158
|
}
|
|
14893
15159
|
var ErrorBoundary = ErrorBoundaryWrapper;
|
|
15160
|
+
init_use_subscription();
|
|
14894
15161
|
var FloatingActionButtonInternal = t__default.forwardRef(
|
|
14895
15162
|
({
|
|
14896
15163
|
actions = [],
|
|
@@ -15042,6 +15309,7 @@ var FloatingActionButton = t__default.forwardRef(
|
|
|
15042
15309
|
}
|
|
15043
15310
|
);
|
|
15044
15311
|
FloatingActionButton.displayName = "FloatingActionButton";
|
|
15312
|
+
init_use_subscription();
|
|
15045
15313
|
var hoverCard3DVariants = cva(
|
|
15046
15314
|
"relative rounded-lg border bg-card text-card-foreground shadow-sm transition-all duration-200 isolate",
|
|
15047
15315
|
{
|
|
@@ -15378,6 +15646,7 @@ var HoverCard3D = t__default.forwardRef(
|
|
|
15378
15646
|
}
|
|
15379
15647
|
);
|
|
15380
15648
|
HoverCard3D.displayName = "HoverCard3D";
|
|
15649
|
+
init_use_subscription();
|
|
15381
15650
|
var magneticButtonVariants = cva(
|
|
15382
15651
|
"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
15652
|
{
|
|
@@ -15545,6 +15814,7 @@ var MagneticButton = t__default.forwardRef(
|
|
|
15545
15814
|
}
|
|
15546
15815
|
);
|
|
15547
15816
|
MagneticButton.displayName = "MagneticButton";
|
|
15817
|
+
init_use_subscription();
|
|
15548
15818
|
var PinchZoomInternal = t__default.forwardRef(
|
|
15549
15819
|
({
|
|
15550
15820
|
children,
|
|
@@ -15979,6 +16249,7 @@ var PinchZoom = t__default.forwardRef(
|
|
|
15979
16249
|
}
|
|
15980
16250
|
);
|
|
15981
16251
|
PinchZoom.displayName = "PinchZoom";
|
|
16252
|
+
init_use_subscription();
|
|
15982
16253
|
var SpotlightCardInternal = t__default.forwardRef(
|
|
15983
16254
|
({
|
|
15984
16255
|
children,
|
|
@@ -16128,6 +16399,7 @@ var SpotlightCard = t__default.forwardRef(
|
|
|
16128
16399
|
}
|
|
16129
16400
|
);
|
|
16130
16401
|
SpotlightCard.displayName = "SpotlightCard";
|
|
16402
|
+
init_use_subscription();
|
|
16131
16403
|
var EVENT_TYPES = [
|
|
16132
16404
|
{ value: "meeting", label: "Meeting", color: "#3b82f6" },
|
|
16133
16405
|
{ value: "task", label: "Task", color: "#10b981" },
|
|
@@ -17362,6 +17634,7 @@ function Calendar3(props) {
|
|
|
17362
17634
|
}
|
|
17363
17635
|
return /* @__PURE__ */ jsx(CalendarInternal, { ...props });
|
|
17364
17636
|
}
|
|
17637
|
+
init_use_subscription();
|
|
17365
17638
|
var PRIORITY_OPTIONS = [
|
|
17366
17639
|
{ value: "low", label: "Low", icon: Flag, color: "text-green-600" },
|
|
17367
17640
|
{ value: "medium", label: "Medium", icon: Flag, color: "text-yellow-600" },
|
|
@@ -31641,7 +31914,7 @@ function sinkListItem(itemType) {
|
|
|
31641
31914
|
|
|
31642
31915
|
// ../../node_modules/@tiptap/core/dist/index.js
|
|
31643
31916
|
var __defProp2 = Object.defineProperty;
|
|
31644
|
-
var
|
|
31917
|
+
var __export2 = (target, all) => {
|
|
31645
31918
|
for (var name in all)
|
|
31646
31919
|
__defProp2(target, name, { get: all[name], enumerable: true });
|
|
31647
31920
|
};
|
|
@@ -33660,7 +33933,7 @@ ExtensionManager.resolve = resolveExtensions;
|
|
|
33660
33933
|
ExtensionManager.sort = sortExtensions;
|
|
33661
33934
|
ExtensionManager.flatten = flattenExtensions;
|
|
33662
33935
|
var extensions_exports = {};
|
|
33663
|
-
|
|
33936
|
+
__export2(extensions_exports, {
|
|
33664
33937
|
ClipboardTextSerializer: () => ClipboardTextSerializer,
|
|
33665
33938
|
Commands: () => Commands,
|
|
33666
33939
|
Delete: () => Delete,
|
|
@@ -33725,7 +33998,7 @@ var ClipboardTextSerializer = Extension.create({
|
|
|
33725
33998
|
}
|
|
33726
33999
|
});
|
|
33727
34000
|
var commands_exports = {};
|
|
33728
|
-
|
|
34001
|
+
__export2(commands_exports, {
|
|
33729
34002
|
blur: () => blur,
|
|
33730
34003
|
clearContent: () => clearContent,
|
|
33731
34004
|
clearNodes: () => clearNodes,
|
|
@@ -38964,7 +39237,7 @@ var index_default2 = Link3;
|
|
|
38964
39237
|
|
|
38965
39238
|
// ../../node_modules/@tiptap/extension-list/dist/index.js
|
|
38966
39239
|
var __defProp3 = Object.defineProperty;
|
|
38967
|
-
var
|
|
39240
|
+
var __export3 = (target, all) => {
|
|
38968
39241
|
for (var name in all)
|
|
38969
39242
|
__defProp3(target, name, { get: all[name], enumerable: true });
|
|
38970
39243
|
};
|
|
@@ -39056,7 +39329,7 @@ var ListItem = Node3.create({
|
|
|
39056
39329
|
}
|
|
39057
39330
|
});
|
|
39058
39331
|
var listHelpers_exports = {};
|
|
39059
|
-
|
|
39332
|
+
__export3(listHelpers_exports, {
|
|
39060
39333
|
findListItemPos: () => findListItemPos,
|
|
39061
39334
|
getNextListDepth: () => getNextListDepth,
|
|
39062
39335
|
handleBackspace: () => handleBackspace,
|
|
@@ -58321,6 +58594,9 @@ var SlashCommandsExtension = Extension.create({
|
|
|
58321
58594
|
}
|
|
58322
58595
|
});
|
|
58323
58596
|
|
|
58597
|
+
// src/components/rich-text-editor/index.tsx
|
|
58598
|
+
init_use_subscription();
|
|
58599
|
+
|
|
58324
58600
|
// #style-inject:#style-inject
|
|
58325
58601
|
function styleInject(css2, { insertAt } = {}) {
|
|
58326
58602
|
if (!css2 || typeof document === "undefined")
|
|
@@ -60300,6 +60576,9 @@ function RichTextEditor({
|
|
|
60300
60576
|
] }) })
|
|
60301
60577
|
] });
|
|
60302
60578
|
}
|
|
60579
|
+
|
|
60580
|
+
// src/components/memory-efficient-data/index.tsx
|
|
60581
|
+
init_use_subscription();
|
|
60303
60582
|
var MemoryCache = class {
|
|
60304
60583
|
constructor(maxSize, strategy = "lru") {
|
|
60305
60584
|
this.cache = /* @__PURE__ */ new Map();
|
|
@@ -61020,6 +61299,7 @@ function MemoryEfficientData(props) {
|
|
|
61020
61299
|
return /* @__PURE__ */ jsx(MemoryEfficientDataInternal, { ...props });
|
|
61021
61300
|
}
|
|
61022
61301
|
var MoonUIMemoryEfficientDataPro = MemoryEfficientData;
|
|
61302
|
+
init_use_subscription();
|
|
61023
61303
|
function VirtualListInternal({
|
|
61024
61304
|
items,
|
|
61025
61305
|
height,
|
|
@@ -61556,6 +61836,7 @@ function SelectableVirtualList(props) {
|
|
|
61556
61836
|
}
|
|
61557
61837
|
return /* @__PURE__ */ jsx(SelectableVirtualListInternal, { ...props });
|
|
61558
61838
|
}
|
|
61839
|
+
init_use_subscription();
|
|
61559
61840
|
var SwipeableCardInternal = t__default.forwardRef(
|
|
61560
61841
|
({
|
|
61561
61842
|
children,
|
|
@@ -61654,6 +61935,7 @@ var SwipeableCard = t__default.forwardRef(
|
|
|
61654
61935
|
}
|
|
61655
61936
|
);
|
|
61656
61937
|
SwipeableCard.displayName = "SwipeableCard";
|
|
61938
|
+
init_use_subscription();
|
|
61657
61939
|
var timelineVariants = cva("w-full", {
|
|
61658
61940
|
variants: {
|
|
61659
61941
|
theme: {
|
|
@@ -62474,6 +62756,9 @@ function Timeline(props) {
|
|
|
62474
62756
|
}
|
|
62475
62757
|
return /* @__PURE__ */ jsx(TimelineInternal, { ...props });
|
|
62476
62758
|
}
|
|
62759
|
+
|
|
62760
|
+
// src/components/advanced-chart/index.tsx
|
|
62761
|
+
init_use_subscription();
|
|
62477
62762
|
var COLOR_THEMES = {
|
|
62478
62763
|
default: [
|
|
62479
62764
|
"#3b82f6",
|
|
@@ -63566,6 +63851,7 @@ function AdvancedChart(props) {
|
|
|
63566
63851
|
return /* @__PURE__ */ jsx(AdvancedChartInternal, { ...props });
|
|
63567
63852
|
}
|
|
63568
63853
|
var MoonUIAdvancedChartPro = AdvancedChart;
|
|
63854
|
+
init_use_subscription();
|
|
63569
63855
|
function MetricCard({
|
|
63570
63856
|
data,
|
|
63571
63857
|
onClick,
|
|
@@ -67042,6 +67328,8 @@ var Dashboard = t__default.memo(function Dashboard2(props) {
|
|
|
67042
67328
|
}
|
|
67043
67329
|
return /* @__PURE__ */ jsx(DashboardInternal, { ...props });
|
|
67044
67330
|
});
|
|
67331
|
+
init_use_subscription();
|
|
67332
|
+
init_use_subscription();
|
|
67045
67333
|
function validatePhoneNumber(number) {
|
|
67046
67334
|
if (!number)
|
|
67047
67335
|
return false;
|
|
@@ -67888,6 +68176,7 @@ var AdvancedForms = ({ className, ...props }) => {
|
|
|
67888
68176
|
}
|
|
67889
68177
|
return /* @__PURE__ */ jsx(AdvancedFormsInternal, { className, ...props });
|
|
67890
68178
|
};
|
|
68179
|
+
init_use_subscription();
|
|
67891
68180
|
|
|
67892
68181
|
// src/components/github-stars/github-api.ts
|
|
67893
68182
|
var cache = /* @__PURE__ */ new Map();
|
|
@@ -68121,7 +68410,7 @@ function formatDate2(dateString) {
|
|
|
68121
68410
|
day: "numeric"
|
|
68122
68411
|
});
|
|
68123
68412
|
}
|
|
68124
|
-
function
|
|
68413
|
+
function clearCache3(pattern) {
|
|
68125
68414
|
if (pattern) {
|
|
68126
68415
|
for (const key of cache.keys()) {
|
|
68127
68416
|
if (key.includes(pattern)) {
|
|
@@ -68441,7 +68730,7 @@ function useGitHubData({
|
|
|
68441
68730
|
console.warn("Cannot refresh: maximum error count reached");
|
|
68442
68731
|
return Promise.resolve();
|
|
68443
68732
|
}
|
|
68444
|
-
|
|
68733
|
+
clearCache3();
|
|
68445
68734
|
return fetchData();
|
|
68446
68735
|
}, [fetchData, isDocsMode2]);
|
|
68447
68736
|
return {
|
|
@@ -69291,6 +69580,7 @@ var GitHubStars = ({ className, ...props }) => {
|
|
|
69291
69580
|
}
|
|
69292
69581
|
return /* @__PURE__ */ jsx(GitHubStarsInternal, { className, ...props });
|
|
69293
69582
|
};
|
|
69583
|
+
init_use_subscription();
|
|
69294
69584
|
var HealthCheckInternal = ({
|
|
69295
69585
|
endpoints,
|
|
69296
69586
|
interval = 3e4,
|
|
@@ -69584,6 +69874,7 @@ var HealthCheck = ({ className, ...props }) => {
|
|
|
69584
69874
|
}
|
|
69585
69875
|
return /* @__PURE__ */ jsx(HealthCheckInternal, { className, ...props });
|
|
69586
69876
|
};
|
|
69877
|
+
init_use_subscription();
|
|
69587
69878
|
var LazyComponentInternal = ({
|
|
69588
69879
|
children,
|
|
69589
69880
|
fallback,
|
|
@@ -70192,6 +70483,7 @@ var LazyComponent = ({ className, ...props }) => {
|
|
|
70192
70483
|
}
|
|
70193
70484
|
return /* @__PURE__ */ jsx(LazyComponentInternal, { className, ...props });
|
|
70194
70485
|
};
|
|
70486
|
+
init_use_subscription();
|
|
70195
70487
|
var OptimizedImageInternal = ({
|
|
70196
70488
|
src,
|
|
70197
70489
|
alt,
|
|
@@ -70533,6 +70825,7 @@ var OptimizedImage = ({ className, ...props }) => {
|
|
|
70533
70825
|
}
|
|
70534
70826
|
return /* @__PURE__ */ jsx(OptimizedImageInternal, { className, ...props });
|
|
70535
70827
|
};
|
|
70828
|
+
init_use_subscription();
|
|
70536
70829
|
var PerformanceDebuggerInternal = ({
|
|
70537
70830
|
autoCapture = true,
|
|
70538
70831
|
captureInterval = 5e3,
|
|
@@ -70977,6 +71270,7 @@ var PerformanceDebugger = ({ className, ...props }) => {
|
|
|
70977
71270
|
}
|
|
70978
71271
|
return /* @__PURE__ */ jsx(PerformanceDebuggerInternal, { className, ...props });
|
|
70979
71272
|
};
|
|
71273
|
+
init_use_subscription();
|
|
70980
71274
|
var PerformanceMonitorInternal = ({
|
|
70981
71275
|
autoRefresh = true,
|
|
70982
71276
|
refreshInterval = 5e3,
|
|
@@ -71581,6 +71875,7 @@ var PerformanceMonitor = ({ className, ...props }) => {
|
|
|
71581
71875
|
}
|
|
71582
71876
|
return /* @__PURE__ */ jsx(PerformanceMonitorInternal, { className, ...props });
|
|
71583
71877
|
};
|
|
71878
|
+
init_use_subscription();
|
|
71584
71879
|
|
|
71585
71880
|
// src/use-toast.ts
|
|
71586
71881
|
function toast2(options) {
|
|
@@ -72805,6 +73100,7 @@ var FileUploadItem = ({
|
|
|
72805
73100
|
};
|
|
72806
73101
|
MoonUIFileUploadPro.displayName = "MoonUIFileUploadPro";
|
|
72807
73102
|
var file_upload_default = MoonUIFileUploadPro;
|
|
73103
|
+
init_use_subscription();
|
|
72808
73104
|
function DataTableColumnToggle({ table, trigger }) {
|
|
72809
73105
|
const [search, setSearch] = t__default.useState("");
|
|
72810
73106
|
const columns = table.getAllColumns().filter(
|
|
@@ -74967,6 +75263,7 @@ var TableRow2 = ({
|
|
|
74967
75263
|
};
|
|
74968
75264
|
TableRow2.displayName = "TableRow";
|
|
74969
75265
|
var MoonUIDataTable = DataTable;
|
|
75266
|
+
init_use_subscription();
|
|
74970
75267
|
|
|
74971
75268
|
// src/styles/nprogress.css
|
|
74972
75269
|
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 +75545,11 @@ function SidebarInternal({
|
|
|
75248
75545
|
{
|
|
75249
75546
|
side: "right",
|
|
75250
75547
|
align: "start",
|
|
75251
|
-
sideOffset:
|
|
75548
|
+
sideOffset: 15,
|
|
75549
|
+
collisionPadding: 10,
|
|
75550
|
+
avoidCollisions: true,
|
|
75252
75551
|
className: cn(
|
|
75253
|
-
"p-2",
|
|
75552
|
+
"p-2 max-w-[250px]",
|
|
75254
75553
|
glassmorphism && "bg-background/95 backdrop-blur-sm"
|
|
75255
75554
|
),
|
|
75256
75555
|
children: /* @__PURE__ */ jsx("div", { className: "space-y-0.5", children: childItem.items?.map((grandChild) => {
|
|
@@ -75336,14 +75635,14 @@ function SidebarInternal({
|
|
|
75336
75635
|
isActive2 && "bg-primary/10 text-primary font-medium",
|
|
75337
75636
|
item.disabled && "opacity-50 cursor-not-allowed",
|
|
75338
75637
|
depth > 0 && "ml-6 text-xs",
|
|
75339
|
-
collapsed && depth === 0 && "justify-center px-2",
|
|
75638
|
+
collapsed && depth === 0 && "justify-center px-2 w-12 h-10",
|
|
75340
75639
|
customStyles?.hover
|
|
75341
75640
|
),
|
|
75342
75641
|
disabled: item.disabled,
|
|
75343
75642
|
children: [
|
|
75344
75643
|
item.icon && /* @__PURE__ */ jsx("span", { className: cn(
|
|
75345
75644
|
"flex-shrink-0",
|
|
75346
|
-
collapsed && depth === 0 && "
|
|
75645
|
+
collapsed && depth === 0 && "w-full flex justify-center"
|
|
75347
75646
|
), children: item.icon }),
|
|
75348
75647
|
(!collapsed || depth > 0) && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
75349
75648
|
/* @__PURE__ */ jsx("span", { className: "flex-1 text-left truncate", children: item.title }),
|
|
@@ -75377,9 +75676,11 @@ function SidebarInternal({
|
|
|
75377
75676
|
{
|
|
75378
75677
|
side: "right",
|
|
75379
75678
|
align: "start",
|
|
75380
|
-
sideOffset:
|
|
75679
|
+
sideOffset: 15,
|
|
75680
|
+
collisionPadding: 10,
|
|
75681
|
+
avoidCollisions: true,
|
|
75381
75682
|
className: cn(
|
|
75382
|
-
"p-0 w-auto",
|
|
75683
|
+
"p-0 w-auto max-w-[300px]",
|
|
75383
75684
|
glassmorphism && "bg-background/95 backdrop-blur-sm",
|
|
75384
75685
|
"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
75686
|
),
|
|
@@ -75402,18 +75703,22 @@ function SidebarInternal({
|
|
|
75402
75703
|
/* @__PURE__ */ jsx(MoonUITooltipTriggerPro, { asChild: true, children: itemContent }),
|
|
75403
75704
|
/* @__PURE__ */ jsx(MoonUITooltipContentPro, { side: "right", children: /* @__PURE__ */ jsx("p", { children: item.tooltip }) })
|
|
75404
75705
|
] }) }) : itemContent,
|
|
75405
|
-
hasChildren && !collapsed && filteredChildren && /* @__PURE__ */ jsx(AnimatePresence, { children: isExpanded && /* @__PURE__ */ jsx(
|
|
75706
|
+
hasChildren && !collapsed && filteredChildren && /* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", children: isExpanded && /* @__PURE__ */ jsx(
|
|
75406
75707
|
motion.div,
|
|
75407
75708
|
{
|
|
75408
75709
|
initial: { height: 0, opacity: 0 },
|
|
75409
75710
|
animate: { height: "auto", opacity: 1 },
|
|
75410
75711
|
exit: { height: 0, opacity: 0 },
|
|
75411
|
-
transition: {
|
|
75712
|
+
transition: {
|
|
75713
|
+
duration: 0.25,
|
|
75714
|
+
ease: [0.4, 0, 0.2, 1]
|
|
75715
|
+
},
|
|
75412
75716
|
className: "overflow-hidden",
|
|
75413
75717
|
children: /* @__PURE__ */ jsx("div", { className: "pt-1 space-y-1", children: filteredChildren.map(
|
|
75414
75718
|
(child) => renderItem(child, depth + 1)
|
|
75415
75719
|
) })
|
|
75416
|
-
}
|
|
75720
|
+
},
|
|
75721
|
+
`${item.id}-children`
|
|
75417
75722
|
) })
|
|
75418
75723
|
] }, item.id);
|
|
75419
75724
|
}, [activePath, pinnedItems, expandedSections, collapsed, customStyles, handleItemClick, toggleSection, isMobile, glassmorphism, renderCollapsedHoverContent, fullWidthItems]);
|
|
@@ -75452,7 +75757,7 @@ function SidebarInternal({
|
|
|
75452
75757
|
] });
|
|
75453
75758
|
});
|
|
75454
75759
|
const SidebarMenuContent = t__default.memo(() => {
|
|
75455
|
-
return /* @__PURE__ */ jsx(
|
|
75760
|
+
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
75761
|
pinnedItems.length > 0 && (!collapsed || isMobile) && /* @__PURE__ */ jsxs("div", { children: [
|
|
75457
75762
|
/* @__PURE__ */ jsx("h4", { className: "text-xs font-medium text-muted-foreground mb-2", children: "Pinned" }),
|
|
75458
75763
|
/* @__PURE__ */ jsx("div", { className: "space-y-1", children: sections.flatMap(
|
|
@@ -75467,6 +75772,7 @@ function SidebarInternal({
|
|
|
75467
75772
|
] }, section.id))
|
|
75468
75773
|
] }) });
|
|
75469
75774
|
});
|
|
75775
|
+
SidebarMenuContent.displayName = "SidebarMenuContent";
|
|
75470
75776
|
const SidebarFooter = t__default.memo(() => {
|
|
75471
75777
|
return footer ? /* @__PURE__ */ jsxs("div", { className: "border-t p-4", children: [
|
|
75472
75778
|
/* @__PURE__ */ jsx("div", { className: "space-y-1", children: footer.items.map((item) => renderItem(item)) }),
|
|
@@ -75496,12 +75802,14 @@ function SidebarInternal({
|
|
|
75496
75802
|
] })
|
|
75497
75803
|
] }) : null;
|
|
75498
75804
|
});
|
|
75805
|
+
SidebarFooter.displayName = "SidebarFooter";
|
|
75499
75806
|
const SidebarContent = t__default.memo(() => {
|
|
75500
75807
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
75501
75808
|
/* @__PURE__ */ jsx(SidebarMenuContent, {}),
|
|
75502
75809
|
/* @__PURE__ */ jsx(SidebarFooter, {})
|
|
75503
75810
|
] });
|
|
75504
75811
|
});
|
|
75812
|
+
SidebarContent.displayName = "SidebarContent";
|
|
75505
75813
|
const sidebarClasses = cn(
|
|
75506
75814
|
"moonui-pro flex h-full flex-col bg-background border-r",
|
|
75507
75815
|
glassmorphism && "bg-background/80 backdrop-blur-xl border-white/10",
|
|
@@ -75596,6 +75904,7 @@ function Sidebar(props) {
|
|
|
75596
75904
|
}
|
|
75597
75905
|
return /* @__PURE__ */ jsx(SidebarInternal, { ...props });
|
|
75598
75906
|
}
|
|
75907
|
+
init_use_subscription();
|
|
75599
75908
|
function NavbarInternal({
|
|
75600
75909
|
sections = [],
|
|
75601
75910
|
branding,
|
|
@@ -76466,6 +76775,7 @@ function Navbar(props) {
|
|
|
76466
76775
|
}
|
|
76467
76776
|
return /* @__PURE__ */ jsx(NavbarInternal, { ...props });
|
|
76468
76777
|
}
|
|
76778
|
+
init_use_subscription();
|
|
76469
76779
|
var FormWizardContext = createContext(null);
|
|
76470
76780
|
var useFormWizard = () => {
|
|
76471
76781
|
const context = useContext(FormWizardContext);
|
|
@@ -77216,6 +77526,7 @@ var MoonUIFormWizardPro = t__default.forwardRef(
|
|
|
77216
77526
|
);
|
|
77217
77527
|
MoonUIFormWizardPro.displayName = "MoonUIFormWizardPro";
|
|
77218
77528
|
var FormWizard = MoonUIFormWizardPro;
|
|
77529
|
+
init_use_subscription();
|
|
77219
77530
|
function shuffleArray(array) {
|
|
77220
77531
|
const shuffled = [...array];
|
|
77221
77532
|
for (let i = shuffled.length - 1; i > 0; i--) {
|
|
@@ -77891,6 +78202,7 @@ var MoonUICreditCardInputPro = t__default.forwardRef(({
|
|
|
77891
78202
|
] });
|
|
77892
78203
|
});
|
|
77893
78204
|
MoonUICreditCardInputPro.displayName = "MoonUICreditCardInputPro";
|
|
78205
|
+
init_use_subscription();
|
|
77894
78206
|
var quizFormVariants = cva(
|
|
77895
78207
|
"relative w-full rounded-lg border bg-card text-card-foreground shadow-sm",
|
|
77896
78208
|
{
|
|
@@ -85543,6 +85855,9 @@ var ToastDescription = t.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
85543
85855
|
}
|
|
85544
85856
|
));
|
|
85545
85857
|
ToastDescription.displayName = ToastPrimitives.Description.displayName;
|
|
85858
|
+
|
|
85859
|
+
// src/components/avatar-pro/index.tsx
|
|
85860
|
+
init_use_subscription();
|
|
85546
85861
|
var avatarVariants2 = cva(
|
|
85547
85862
|
"relative inline-flex shrink-0 overflow-hidden font-semibold transition-all",
|
|
85548
85863
|
{
|
|
@@ -86017,6 +86332,7 @@ function WidgetBase({
|
|
|
86017
86332
|
}
|
|
86018
86333
|
return content;
|
|
86019
86334
|
}
|
|
86335
|
+
init_use_subscription();
|
|
86020
86336
|
function KPIWidget({
|
|
86021
86337
|
data,
|
|
86022
86338
|
title,
|
|
@@ -86218,6 +86534,7 @@ function KPIWidget({
|
|
|
86218
86534
|
}
|
|
86219
86535
|
);
|
|
86220
86536
|
}
|
|
86537
|
+
init_use_subscription();
|
|
86221
86538
|
function ChartWidget2({
|
|
86222
86539
|
data,
|
|
86223
86540
|
title,
|
|
@@ -86644,6 +86961,7 @@ function ChartWidget2({
|
|
|
86644
86961
|
}
|
|
86645
86962
|
);
|
|
86646
86963
|
}
|
|
86964
|
+
init_use_subscription();
|
|
86647
86965
|
function GaugeWidget({
|
|
86648
86966
|
data,
|
|
86649
86967
|
title,
|
|
@@ -86943,6 +87261,7 @@ function GaugeWidget({
|
|
|
86943
87261
|
}
|
|
86944
87262
|
);
|
|
86945
87263
|
}
|
|
87264
|
+
init_use_subscription();
|
|
86946
87265
|
function FunnelWidget({
|
|
86947
87266
|
data,
|
|
86948
87267
|
title,
|
|
@@ -87302,6 +87621,7 @@ function FunnelWidget({
|
|
|
87302
87621
|
}
|
|
87303
87622
|
);
|
|
87304
87623
|
}
|
|
87624
|
+
init_use_subscription();
|
|
87305
87625
|
function RevenueWidget({
|
|
87306
87626
|
data,
|
|
87307
87627
|
title,
|
|
@@ -87746,6 +88066,7 @@ function RevenueWidget({
|
|
|
87746
88066
|
}
|
|
87747
88067
|
);
|
|
87748
88068
|
}
|
|
88069
|
+
init_use_subscription();
|
|
87749
88070
|
function ServerMonitorWidget({
|
|
87750
88071
|
data,
|
|
87751
88072
|
title,
|
|
@@ -88168,4 +88489,4 @@ function ServerMonitorWidget({
|
|
|
88168
88489
|
*)
|
|
88169
88490
|
*/
|
|
88170
88491
|
|
|
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 };
|
|
88492
|
+
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, setAuthToken, syncCliAuth, MoonUItableVariantsPro as tableVariants, MoonUItoggleVariantsPro as toggleVariants, useAccordionAnalytics, useCollapsibleAnalytics, useExpandableRows, useFormWizard, useStreamingData, useSubscription, useVirtualList };
|