/** * Entry module for SelectiveUI. * * This file exposes the public API surface of the library: * - version/name metadata * - DOM binding helpers (bind/find/rebind/destroy) * - effector factory for imperative effects * * Notes: * - CSS imports below are *side-effect imports* used by bundlers (Vite/Webpack/Rollup) * to include component styles in the final bundle. */ /** Base/global styles for SelectiveUI. */ import "../css/index.css"; /** Component-level styles (imported for side-effects during bundling). */ import "../css/components/selectbox.css"; import "../css/components/placeholder.css"; import "../css/components/directive.css"; import "../css/components/popup/empty-state.css"; import "../css/components/popup/loading-state.css"; import "../css/views/group-view.css"; import "../css/components/popup/popup.css"; import "../css/components/searchbox.css"; import "../css/components/option-handle.css"; import "../css/views/option-view.css"; import "../css/components/accessorybox.css"; import { Selective } from "./utils/selective"; import { Effector } from "./services/effector"; import type { SelectiveActionApi, SelectiveOptions, } from "./types/utils/selective.type"; import type { SelectivePlugin } from "./types/plugins/plugin.type"; import type { EffectorInterface } from "./types/services/effector.type"; import { Libs } from "./utils/libs"; const __LIB_VERSION__ = "LIB_VERSION"; const __LIB_NAME__ = "LIB_NAME"; const SECLASS = new Selective(); /** * Current library version. * * Declared as `const` literal type to enable strict typing and easy tree-shaking. */ export const version = __LIB_VERSION__ as string; /** * Library name identifier. * * Can be used for debugging, logging, telemetry, or exposing global namespace metadata. */ export const name = __LIB_NAME__ as string; /** * Bind SelectiveUI behaviors to elements matched by a CSS selector. * * Typically used to initialize/select-enhance native `