/** * bQuery.js — Full Bundle * * This is the complete bundle containing all modules for CDN usage. * Use this when you want all features without tree-shaking concerns. * * @module bquery/full * * @example CDN Usage (ES Modules) * ```html * * ``` * * @example CDN Usage (UMD/Global) * ```html * * * ``` * * @example CDN Usage (IIFE) * ```html * * * ``` */ // ============================================================================ // Core Module: Selectors, DOM operations, events, utilities // ============================================================================ export { $, $$, BQueryCollection, BQueryElement, // ── object ── clone, deepEqual, defaults, entriesTyped, freeze, get, has, hasOwn, invert, isEqual, isPlainObject, keysTyped, mapKeys, mapValues, merge, omit, pick, set, // ── function ── compose, curry, debounce, memoize, noop, once, partial, pipe, retry, throttle, // ── misc ── isEmpty, nextFrame, nextTick, parseJson, pollUntil, sleep, times, tryCatch, uid, uuid, // ── number ── average, clamp, degToRad, formatBytes, inRange, inverseLerp, lerp, mapRange, median, radToDeg, randomFloat, randomInt, round, roundTo, sum, toNumber, // ── string ── capitalize, escapeRegExp, lines, pad, padEnd, padStart, randomString, slugify, stripHtml, template, toCamelCase, toKebabCase, toPascalCase, toSnakeCase, toTitleCase, truncate, wordCount, // ── array ── chunk, chunkBy, compact, difference, drop, ensureArray, first, flatten, flattenDeep, groupBy, intersection, keyBy, last, move, partition, range, sample, shuffle, sortBy, take, unique, uniqueBy, zip, // ── type-guards ── isArray, isAsyncFunction, isAsyncIterable, isBigInt, isBoolean, isCollection, isDate, isDefined, isElement, isError, isFunction, isIterable, isMap, isNullish, isNumber, isObject, isPromise, isRegExp, isSet, isString, isSymbol, utils, } from './core/index'; export type { BQueryUtils, DebounceOptions, DebouncedFn, FormatBytesOptions, MemoizedFn, PollUntilOptions, RetryOptions, ThrottleOptions, ThrottledFn, TryCatchResult, } from './core/index'; // ============================================================================ // Reactive Module: Signals, computed values, effects, batching // ============================================================================ export { batch, Computed, computed, createHttp, createRequestQueue, createRestClient, createUseFetch, deduplicateRequest, effect, effectScope, getCurrentScope, http, HttpError, isComputed, isSignal, linkedSignal, onScopeDispose, persistedSignal, readonly, Signal, signal, toValue, untrack, useAsyncData, useEventSource, useFetch, useInfiniteFetch, usePaginatedFetch, usePolling, useResource, useResourceList, useSubmit, useWebSocket, useWebSocketChannel, watch, watchDebounce, watchThrottle, } from './reactive/index'; export type { AsyncDataState, AsyncDataStatus, AsyncWatchSource, ChannelMessage, ChannelSubscription, CleanupFn, EffectScope, EventSourceStatus, FetchInput, HttpClient, HttpProgressEvent, HttpRequestConfig, HttpResponse, IdExtractor, InfiniteState, Interceptor, InterceptorManager, LinkedSignal, MaybeSignal, Observer, PaginatedState, PollingState, ReadonlySignal, ReadonlySignalHandle, RequestQueue, RequestQueueOptions, ResourceListActions, RestClient, RetryConfig, UseAsyncDataOptions, UseEventSourceOptions, UseEventSourceReturn, UseFetchOptions, UseFetchRetryConfig, UseInfiniteFetchOptions, UsePaginatedFetchOptions, UsePollingOptions, UseResourceListOptions, UseResourceListReturn, UseResourceOptions, UseResourceReturn, UseSubmitOptions, UseSubmitReturn, UseWebSocketChannelOptions, UseWebSocketChannelReturn, UseWebSocketOptions, UseWebSocketReturn, WatchOptions, WebSocketHeartbeatConfig, WebSocketReconnectConfig, WebSocketSendData, WebSocketSerializer, WebSocketStatus, } from './reactive/index'; // ============================================================================ // Concurrency Module: Zero-build worker task helpers // ============================================================================ export { batchTasks, callWorkerMethod, createSharedBuffer, createReactiveRpcPool, createReactiveRpcWorker, createReactiveTaskPool, createReactiveTaskWorker, createRpcPool, createRpcWorker, createTaskPool, createTaskWorker, deferred, defineRpcWorker, defineWorker, every, exposeRpc, exposeTask, filter, find, getConcurrencySupport, isConcurrencySupported, isModuleWorkerSupported, isWorkerModule, map, parallel, pipeline, reduce, runTask, some, startTransition, suspense, TaskWorkerAbortError, TaskWorkerError, TaskWorkerSerializationError, TaskWorkerTimeoutError, TaskWorkerUnsupportedError, withTransferables, } from './concurrency/index'; export type { CallWorkerMethodOptions, ConcurrencyPipeline, ConcurrencyPipelineOptions, ConcurrencyRuntime, ConcurrencySupport, CreateRpcPoolOptions, CreateRpcWorkerOptions, CreateTaskPoolOptions, CreateTaskWorkerOptions, DefineWorkerOptions, DeferredOptions, DeferredSource, ParallelCollectionOptions, ParallelMapHandler, ParallelMapOptions, ParallelOptions, ParallelPredicateHandler, ParallelReduceHandler, ParallelResults, ParallelTask, PoolMetrics, ReactiveRpcPool, ReactiveRpcWorker, ReactiveTaskPool, ReactiveTaskWorker, RpcPool, RpcWorker, RpcWorkerModule, RunTaskOptions, SuspendableState, SuspenseBoundary, SuspenseOptions, SuspenseSource, TaskPool, StartTransitionOptions, TaskRunOptions, TaskWorker, TaskWorkerErrorCode, TaskWorkerState, Transition, TransitionStart, WorkerExecutionMode, WorkerHostScope, WorkerModule, WorkerRpcHandler, WorkerRpcHandlers, WorkerRpcSource, WorkerTaskHandler, WorkerTaskSource, } from './concurrency/index'; // ============================================================================ // Component Module: Web Components helper with Shadow DOM // ============================================================================ export { applyAdoptedStyles, bindDelegatedEvents, bool, component, css, defineComponent, formContextKey, hasSlot, html, inject, injectionKey, isComponentStyles, keyedList, on, onChange, onClick, onInput, onSubmit, provide, reconcileKeyed, registerDefaultComponents, safeHtml, slotText, useAsync, useComputed, useEffect, useRef, useSignal, useSlot, whenIdle, } from './component/index'; export type { AttributeChange, ComponentClass, ComponentDefinition, ComponentElement, ComponentRenderContext, ComponentSignalLike, ComponentSignals, ComponentStateKey, ComponentStateShape, ComponentStyles, DefaultComponentLibraryOptions, InjectionKey, PropDefinition, Ref, RegisteredDefaultComponents, ShadowMode, UseAsyncResult, } from './component/index'; // ============================================================================ // Motion Module: View transitions, FLIP animations, springs, tweens, effects // ============================================================================ export { animate, animateTo, animateValue, capturePosition, chain, countUp, cubicBezier, easeInBack, easeInBounce, easeInCirc, easeInCubic, easeInElastic, easeInExpo, easeInOutBack, easeInOutBounce, easeInOutCirc, easeInOutCubic, easeInOutElastic, easeInOutExpo, easeInOutQuad, easeInOutQuart, easeInOutQuint, easeInOutSine, easeInQuad, easeInQuart, easeInQuint, easeInSine, easeOutBack, easeOutBounce, easeOutCirc, easeOutCubic, easeOutElastic, easeOutExpo, easeOutQuad, easeOutQuart, easeOutQuint, easeOutSine, easingPresets, flip, flipElements, flipList, inView, keyframePresets, linear, magnetic, mix, morphElement, onReducedMotionChange, parallax, prefersReducedMotion, pulse, reducedMotionSignal, scrollAnimate, scrollProgress, sequence, setReducedMotion, shake, spring, springPresets, springVector, stagger, steps, tilt, timeline, transition, tween, typewriter, } from './motion/index'; export type { AnimateOptions, AnimateToOptions, AnimateToStyles, CountUpOptions, EasingFunction, EffectCleanup, ElementBounds, FlipGroupOptions, FlipOptions, InViewHandle, InViewOptions, MagneticOptions, MorphOptions, ParallaxCleanup, ParallaxOptions, PulseOptions, ScrollAnimateCleanup, ScrollAnimateOptions, ScrollProgressCleanup, ScrollProgressOptions, SequenceOptions, SequenceStep, ShakeOptions, Spring, SpringConfig, SpringVector, SpringVectorEntry, StaggerFunction, StaggerOptions, StepPosition, TiltOptions, TimelineConfig, TimelineAt, TimelineControls, TimelineLabel, TimelineLabelOffset, TimelineRelativeOffset, TimelineRepeat, TimelineStep, TransitionOptions, TweenControls, TweenOptions, TweenValue, TypewriterControls, TypewriterOptions, } from './motion/index'; // ============================================================================ // Security Module: Sanitization, CSP compatibility, Trusted Types // ============================================================================ export { createTrustedHtml, escapeHtml, generateNonce, getTrustedTypesPolicy, hasCSPDirective, isTrustedTypesSupported, sanitize, sanitizeHtml, stripTags, trusted, } from './security/index'; export type { SanitizedHtml, SanitizeOptions, TrustedHtml } from './security/index'; // ============================================================================ // Platform Module: Storage, buckets, notifications, cache // ============================================================================ export { buckets, cache, defineBqueryConfig, definePageMeta, getBqueryConfig, notifications, storage, useAnnouncer, useCookie, } from './platform/index'; export type { AnnounceOptions, AnnouncerHandle, BqueryAnnouncerConfig, BqueryComponentLibraryConfig, BqueryConfig, BqueryCookieConfig, BqueryFetchConfig, BqueryFetchParseAs, BqueryPageMetaConfig, BqueryTransitionConfig, Bucket, CacheHandle, IndexedDBOptions, NotificationOptions, PageLinkTag, PageMetaCleanup, PageMetaDefinition, PageMetaTag, StorageAdapter, UseAnnouncerOptions, UseCookieOptions, } from './platform/index'; // ============================================================================ // Router Module: SPA routing, navigation guards, lazy loading // ============================================================================ export { back, BqLinkElement, createFileRoutes, createRouteData, createRouter, currentRoute, filePathToRoutePattern, forward, getRouteAction, getRouteLoad, interceptLinks, isActive, isActiveSignal, isNavigating, link, navigate, parseFilePath, registerBqLink, resolve, sortEntriesBySpecificity, useNavigation, useRoute, useRouteData, } from './router/index'; export type { Action, ActionArgs, CreateFileRoutesOptions, CreateFileRoutesResult, FileRoute, FileRouteKind, Load, LoadArgs, NavigationGuard, NavigationResult, ParsedFilePath, ResolvedRouteInfo, ResolveRouteInput, Route, RouteData, RouteDataOptions, RouteDefinition, RouteManifest, RouteManifestEntry, RouteModule, Router, RouterOptions, UseNavigationReturn, UseRouteReturn, } from './router/index'; // ============================================================================ // Store Module: Signal-based state management // ============================================================================ export { clearPlugins, createPersistedStore, createStore, defineStore, destroyStore, getStore, listStores, mapActions, mapGetters, mapState, registerPlugin, unregisterPlugin, watchStore, } from './store/index'; export type { ActionContext, Actions, Getters, OnActionCallback, PersistedStoreOptions, StateFactory, StorageBackend, Store, StoreDefinition, StorePatch, StorePlugin, StoreSerializer, StoreSubscriber, } from './store/index'; // ============================================================================ // View Module: Declarative DOM bindings without compiler // ============================================================================ export { clearCompiledExpressions, clearExpressionCache, createTemplate, mount, parseDirective, registerCompiledExpressions, } from './view/index'; export type { BindingContext, MountOptions, ParsedDirective, View } from './view/index'; // ============================================================================ // Forms Module: Reactive form handling and validation // ============================================================================ export { all, arrayOf, between, bindField, bindForm, createFieldArray, createForm, custom, customAsync, dateAfter, dateBefore, email, field, fileSize, fileType, formAction, FormActionError, hydrateForm, integer, length, matchField, max, maxLength, min, minLength, not, notOneOf, numeric, oneOf, optimistic, pattern, readSerializedFormState, required, requiredIf, requiredUnless, schema, serializeFormState, url, useField, useFieldArray, useForm, useFormField, useFormStatus, validDate, withMessage, } from './forms/index'; export type { AsyncValidator, BindFieldOptions, BindFormOptions, CrossFieldValidator, EnhanceOptions, FieldArrayConfig, FieldArrayKeyFn, FieldConfig, FieldSchema, Form, FormAction, FormActionContext, FormActionOptions, FormActionTarget, FormChangeListener, FormConfig, FormErrors, FormField, FormFieldArray, FormFields, FormFieldValidationMode, FormSnapshot, FormStatus, FormValidationMode, FormValidationStrategy, OptimisticController, OptimisticHandle, OptimisticReducer, SchemaEntry, SetFieldValueOptions, SubmitHandler, SyncValidator, UseFormFieldOptions, UseFormFieldReturn, UseFormFieldSetValueOptions, ValidationResult, Validator, } from './forms/index'; // ============================================================================ // i18n Module: Internationalization, translations, formatting // ============================================================================ export { createI18n, defineMessages, detectLocale, formatDate, formatDisplayName, formatList, formatMessage, formatNumber, formatRelativeTime, isRTL, negotiateLocale, segment, } from './i18n/index'; export type { DateFormatOptions, DetectLocaleOptions, I18nConfig, I18nInstance, ListFormatOptions, LocaleLoader, LocaleMessages, Messages, NegotiateLocaleOptions, NumberFormatOptions, RelativeTimeFormatOptions, TranslateParams, } from './i18n/index'; // ============================================================================ // a11y Module: Accessibility utilities // ============================================================================ // Note: prefersReducedMotion is not re-exported here to avoid naming conflict // with the motion module's prefersReducedMotion(). Use @bquery/bquery/a11y for // the reactive signal version. export { announceToScreenReader, auditA11y, auditRules, autoFocus, clearAnnouncements, createLiveRegion, focusVisible, forcedColors, getFocusableElements, inert, keyboardUserSignal, prefersColorScheme, prefersContrast, prefersReducedData, prefersReducedTransparency, releaseFocus, rovingTabIndex, scrollLock, skipLink, trapFocus, } from './a11y/index'; export type { AnnouncePriority, AuditFinding, AuditResult, AuditRule, AuditSeverity, ColorScheme, ContrastPreference, CreateLiveRegionOptions, DisposableHandle, FocusTrapHandle, ForcedColorsMode, LiveRegionHandle, MediaPreferenceSignal, RovingTabIndexHandle, RovingTabIndexOptions, SkipLinkHandle, SkipLinkOptions, TrapFocusOptions, } from './a11y/index'; // ============================================================================ // DnD Module: Drag-and-drop, drop zones, sortable lists // ============================================================================ export { draggable, draggablePosition, droppable, sortable, sortableOrder, useDraggable, useDroppable, useSortable, } from './dnd/index'; export type { BoundsRect, DragAxis, DragBounds, DragEventData, DraggableHandle, DraggableOptions, DragPosition, DropEventData, DroppableHandle, DroppableOptions, SortableHandle, SortableOptions, SortEventData, UseDraggableReturn, UseDroppableReturn, UseSortableReturn, } from './dnd/index'; // ============================================================================ // Media Module: Reactive browser and device API signals // ============================================================================ export { breakpoints, clipboard, clipboardText, mediaQuery, useActiveElement, useBattery, useBroadcastChannel, useDeviceMotion, useDeviceOrientation, useDocumentFocus, useElementBounding, useElementSize, useElementVisibility, useEventListener, useFocus, useFocusWithin, useGeolocation, useHover, useIdle, useIntersectionObserver, useMediaDevices, useMutationObserver, useNetworkStatus, useOnlineStatus, usePageVisibility, usePermission, usePointer, usePreferredColorScheme, usePreferredContrast, usePreferredLanguage, usePreferredLanguages, usePreferredReducedTransparency, useResizeObserver, useScroll, useShare, useShareSupported, useStorage, useViewport, useWakeLock, useWindowFocus, } from './media/index'; export type { AbortableOptions, BatterySignal, BatteryState, BreakpointMap, BroadcastChannelHandle, ClipboardAPI, ClipboardTextOptions, DeviceMotionSignal, DeviceMotionState, DeviceOrientationSignal, DeviceOrientationState, ElementBoundingRect, ElementSize, GeolocationOptions, GeolocationSignal, GeolocationState, IntersectionObserverOptions, IntersectionObserverSignal, IntersectionObserverState, MediaSignalHandle, MutationObserverOptions, MutationObserverSignal, MutationObserverState, NetworkSignal, NetworkState, PointerState, ResizeObserverOptions, ResizeObserverSignal, ResizeObserverState, ScrollState, ShareHandle, StorageHandle, UseEventListenerOptions, UseIdleOptions, UseScrollOptions, UseStorageOptions, ViewportSignal, ViewportState, WakeLockHandle, } from './media/index'; // --------------------------------------------------------------------------- // Plugin module // --------------------------------------------------------------------------- export { addAction, addFilter, applyFilters, createInjectionKey, doAction, getCustomDirective, definePlugin, getCustomDirectives, getInstalledPlugins, getPluginInfo, hasProvided, isInstalled, listActions, listFilters, removeAction, removeFilter, resetDi, resetHooks, resetPlugins, uninstall, unuse, use, } from './plugin/index'; export type { BQueryPlugin, CustomDirective, CustomDirectiveHandler, CustomDirectiveLifecycle, CustomDirectiveValue, PluginInfo, PluginInstallContext, } from './plugin/index'; // --------------------------------------------------------------------------- // DevTools module // --------------------------------------------------------------------------- export { BRIDGE_CAPABILITIES, BRIDGE_PROTOCOL_VERSION, BRIDGE_SOURCE, clearTimeline, connectDevtoolsBridge, createBridgeServer, diffSignals, diffStores, enableDevtools, exportDevtoolsSnapshot, filterTimeline, generateSignalLabel, getDevtoolsState, getPerformanceSummary, getTimeline, importDevtoolsSnapshot, inspectComponents, inspectEffects, inspectSignals, inspectStores, installBrowserBridge, isDevtoolsEnabled, serializeComponentTree, logComponents, logSignals, logStores, logTimeline, measureRender, recordEvent, subscribeTimeline, time, traceSignal, trackSignal, untraceSignal, untrackSignal, } from './devtools/index'; export type { BridgeConnection, BridgeInboundMessage, BridgeMethod, BridgeOutboundMessage, BridgeServer, BridgeServerOptions, ComponentSnapshot, ComponentTreeNode, ConnectBridgeOptions, DevtoolsOptions, DevtoolsSnapshot, DevtoolsState, DiffChange, EffectSnapshot, ImportedDevtoolsSnapshot, PerformanceSummary, SignalSnapshot, StoreSnapshot, TimelineEntry, TimelineEventType, TimelineFilter, } from './devtools/index'; // --------------------------------------------------------------------------- // Testing module // --------------------------------------------------------------------------- export { autoCleanup, cleanup, expectAccessible, fireEvent, flushEffects, flushPromises, getReactiveSummary, mockComputed, mockEffect, mockFetch, mockForm, mockI18n, mockRouter, mockSignal, mockStore, mockWebSocket, prettyDOM, renderComponent, runScheduled, screen, tick, userEvent, waitFor, within, } from './testing/index'; export type { AccessibilityResult, FireEventOptions, MockFetchRoute, MockForm, MockI18n, MockRouter, MockRouterOptions, MockSignal, MockStore, MockWebSocket, Queries, RenderComponentOptions, RenderResult, TestRoute, WaitForOptions, } from './testing/index'; // --------------------------------------------------------------------------- // SSR module // --------------------------------------------------------------------------- export { configureSSR, createAssetManager, createBunHandler, createDenoHandler, createEdgeHandler, createHeadManager, createNodeHandler, createResumableBoundary, createResumableGraph, createResumableState, createSSRCache, createSSRContext, createSSRHandler, createSSRMetrics, createSSRRouterContext, createWebHandler, defer, defineLoader, deserializeStoreState, detectHydrationMismatches, detectRuntime, flushBoundary, getSSRConfig, getSSRRuntimeFeatures, hydrate, hydrateIsland, hydrateMount, hydrateOnIdle, hydrateOnInteraction, hydrateOnMedia, hydrateOnVisible, hydrateStore, hydrateStores, hydrateStoreSnapshot, HYDRATION_HASH_ATTR, isBrowserRuntime, isServerRuntime, readStoreSnapshot, renderToResponse, renderToStream, renderToStreamSuspense, renderToString, renderToStringAsync, RESUMABLE_BOUNDARY_ATTR, RESUMABLE_EVENT_ATTR, RESUMABLE_HANDLER_ATTR, resolveSSRRoute, resume, resumeState, runRouteLoaders, serializeStoreSnapshot, serializeStoreState, SSR_ON_MARKER_ATTR, verifyHydration, } from './ssr/index'; export type { AssetManager, AsyncRenderOptions, AsyncSSRResult, CreateResumableBoundaryOptions, CreateResumableStateOptions, CreateSSRContextOptions, DeserializedStoreState, DetectHydrationOptions, EdgeHandlerOptions, HeadManager, HydrateMountOptions, HydrateOptions, HydrateResult, HydrateSnapshotOptions, HydrateSnapshotResult, HydrationBoundaryMismatch, HydrationHandle, HydrationMismatch, HydrationMismatchKind, HydrationOptions, MismatchStrategy, NodeHandlerOptions, NodeIncomingMessage, NodeServerResponse, RenderOptions, RenderToResponseCacheOptions, RenderToResponseOptions, ResolvedSSRRoute, ResumableBoundary, ResumableGraph, ResumableHandler, ResumableRenderOptions, ResumableSlice, ResumableState, ResumeOptions, ResumeReader, ResumeResult, SerializedResumableBoundary, SerializedResumableGraph, SerializeOptions, SerializeResult, SerializeSnapshotOptions, SerializeSnapshotResult, SSRAsset, SSRCache, SSRCacheEntry, SSRCacheOptions, SSRCacheRequest, SSRContext, SSRDirectiveMode, SSRDocumentImpl, SSRHeadState, SSRLink, SSRLoader, SSRMeta, SSRMetrics, SSRMetricsSnapshot, SSRRendererBackend, SSRRequestHandler, SSRResult, SSRRouteLoader, SSRRuntime, SSRRuntimeFeatures, SSRScript, SSRStoreSnapshot, StandaloneResumableBoundary, SuspenseStreamOptions, UnsupportedDirectiveStrategy, UseHeadOptions, VerifyHydrationOptions, } from './ssr/index'; // --------------------------------------------------------------------------- // Server module // --------------------------------------------------------------------------- export { ServerHttpError, badRequest, base64UrlDecode, base64UrlEncode, basicAuth, bearerAuth, conflict, createFileRouteServerRoutes, createServer, csrf, csrfToken, forbidden, guard, isServerWebSocketSession, isWebSocketRequest, memoryStore, mountFileRoutes, notFound, randomId, randomToken, session, signValue, timingSafeEqual, unauthorized, unsignValue, } from './server/index'; export type { BasicAuthCredentials, BasicAuthOptions, BearerAuthOptions, CreateServerOptions, CsrfOptions, FileRouteServerOptions, GuardOptions, MemoryStoreOptions, ServerApp, ServerCookieOptions, ServerContext, ServerHandler, ServerHtmlResponseInit, ServerLimits, ServerListenHandle, ServerListenOptions, ServerMiddleware, ServerNext, ServerQuery, ServerRenderResponseOptions, ServerRequestInit, ServerResponseInit, ServerResult, ServerRoute, ServerSession, ServerSseEvent, ServerSseOptions, ServerWebSocketConnection, ServerWebSocketData, ServerWebSocketHandlerSet, ServerWebSocketMiddleware, ServerWebSocketNext, ServerWebSocketPeer, ServerWebSocketRouteHandler, ServerWebSocketSession, SessionData, SessionOptions, SessionStore, } from './server/index';