@dxtmisha/functional 1.15.7 → 1.15.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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [1.15.8] - 2026-08-05
6
+
7
+ ### Changed
8
+ - **ListRecord**: Refactored `ListRecord<Item extends ListDataBasic>` type definition to `Item[] | Record<string, Item>` for enhanced flexibility with custom item objects and record structures.
9
+ - **package.json**: Expanded package `files` distribution list to include `ai-prompts` and `ai-mcp.json` context definitions.
10
+ - **AI Documentation**: Updated JSDoc prompt rules, added MCP resource definitions (`ai-mcp.json`), and updated package metadata (`ai-description.md`, `ai-types.md`).
11
+
5
12
  ## [1.15.7] - 2026-08-05
6
13
 
7
14
  ### Changed
package/ai-description.md CHANGED
@@ -1,7 +1,24 @@
1
- This library is a reactive utility and component architecture framework for Vue 3 that standardizes design system component construction, locale-aware data formatting, browser storage state, and API request lifecycle orchestration. It provides abstract component models for computing styles, classes, slots, and properties, alongside wrappers for reactive state synchronization and dynamic component rendering. Design System Architecture components abstractly encapsulate Vue component structures, automating class and style generation, property change detection, slot bindings, and dynamic component rendering. API and Network Management modules manage asynchronous HTTP request lifecycles, server-side prefetching, CRUD mutations, response contract validation, error handling, and unified client-side search or formatting pipelines. Localization and Formatting utilities deliver reactive interfaces for internationalized formatting of dates, currencies, numbers, measurement units, country flag metadata, and dynamic translation lists. Storage and State controls wrap browser local storage, session storage, cookies, broadcast channels, and URL query or hash parameters into reactive references. List and Search utilities provide reactive controllers for hierarchical list filtering, multi-item selection tracking, focus navigation, and debounced text searches. DOM and Lifecycle controls manage intersection observers for lazy loading, document head metadata, scrollbar dimensions, global loading state tracking, and reactive event listeners. Injection and Singleton utilities support managed lifecycle topologies across application, component-subtree, or closure scopes. Studying ai-types.md is mandatory when implementing custom component constructors extending base design abstract classes, defining request or response validation contracts, configuring complex API management options, typing list data inputs and selection states, setting up functional plugin options, or establishing singleton execution topologies. The library integrates directly with Vue 3 reactivity and SSR runtime paradigms, Vue Router navigation mechanisms, and core functional utility packages.
1
+ # @dxtmisha/functional Reference
2
+
3
+ A reactive utility and component architecture library for Vue 3 providing high-level abstract base classes, state management composables, and localized formatting helpers.
4
+
5
+ ## Key Capabilities & Groupings
6
+ - **API & Network**: Reactive composables for asynchronous HTTP requests, mutation workflows, SSR prefetching, response contract validation, error mappings, and list orchestration.
7
+ - **Storage & State**: Persistent storage composables synchronizing state with cookies, web storage, URL query/hash parameters, and cross-tab messaging.
8
+ - **Localization & Formatting**: Utilities for reactive handling of dates, numbers, currency, unit conversions, country flags, and dynamic translations.
9
+ - **List & Search**: Helpers for managing reactive data filtering, selection state, text highlighting, debouncing, and router-bound navigation lists.
10
+ - **DOM & System**: DOM visibility tracking, reactive page metadata management, global loading states, scrollbar measurements, and singleton dependency injection.
11
+ - **Design Components**: Abstract base classes for standardized component rendering, dynamic class/style computation, prop tracking, and element exposure.
12
+
13
+ ## Triggers for Studying `ai-types.md`
14
+ Study `ai-types.md` when implementing abstract component constructors, defining API validation contracts or error schemas, typing complex list structures and search options, configuring singleton execution scopes, or managing reactive Vue prop and subcomponent bindings.
15
+
16
+ ## Integration Context
17
+ This library integrates natively into Vue 3 and Vue Router applications through a unified global plugin that configures shared API, routing, localization, and metadata services.
18
+
2
19
  ## Mandatory Rules
3
- Read the corresponding file if your task relates to:
4
- - 'node_modules/@dxtmisha/functional/ai-prompts/api-reference.md': Scope factory initialization, reactive singletons, and REST API management patterns
5
- - 'node_modules/@dxtmisha/functional/ai-prompts/localization-seo.md': Geographic context, internationalization formatting, translation utilities, HTML metadata management, and scrollbar measurement
6
- - 'node_modules/@dxtmisha/functional/ai-prompts/reactivity-lists.md': Async reactivity helpers, list management, search filtering, and DOM event observers
7
- - 'node_modules/@dxtmisha/functional/ai-prompts/storage-state.md': Reactive composables for persistent browser storage, cookies, broadcast messaging, and URL hashes
20
+ Read the corresponding file ONLY when working on a task related to (even if not working directly with this package):
21
+ - 'node_modules/@dxtmisha/functional/ai-resources/api-reference.md': Reactive singleton scope initialization and REST API management patterns
22
+ - 'node_modules/@dxtmisha/functional/ai-resources/localization-seo.md': Geographic context, locale-aware formatting, reactive translations, document metadata, and scrollbar width measurement
23
+ - 'node_modules/@dxtmisha/functional/ai-resources/reactivity-lists.md': Async reactivity composables, reactive list models, search filtering, and DOM observer utilities
24
+ - 'node_modules/@dxtmisha/functional/ai-resources/storage-state.md': Reactive composables for browser storage, cookies, cross-tab synchronization, and URL hash state
@@ -0,0 +1,38 @@
1
+ [
2
+ {
3
+ "uri": "@dxtmisha/functional/ai-types.md",
4
+ "name": "Type Definitions (@dxtmisha/functional)",
5
+ "mimeType": "text/markdown",
6
+ "description": "Compressed and AI-optimized TypeScript declaration contracts for functional Vue 3 utilities and base components."
7
+ },
8
+ {
9
+ "uri": "@dxtmisha/functional/ai-description.md",
10
+ "name": "Package Overview & Rules (@dxtmisha/functional)",
11
+ "mimeType": "text/markdown",
12
+ "description": "High-density project overview, key capabilities, and prompt trigger guidelines."
13
+ },
14
+ {
15
+ "uri": "@dxtmisha/functional/ai-resources/api-reference.md",
16
+ "name": "API Rules (@dxtmisha/functional)",
17
+ "mimeType": "text/markdown",
18
+ "description": "Reactive singleton scope initialization and REST API management patterns."
19
+ },
20
+ {
21
+ "uri": "@dxtmisha/functional/ai-resources/localization-seo.md",
22
+ "name": "Localization Rules (@dxtmisha/functional)",
23
+ "mimeType": "text/markdown",
24
+ "description": "Geographic context, locale-aware formatting, reactive translations, and document metadata."
25
+ },
26
+ {
27
+ "uri": "@dxtmisha/functional/ai-resources/reactivity-lists.md",
28
+ "name": "Lists Rules (@dxtmisha/functional)",
29
+ "mimeType": "text/markdown",
30
+ "description": "Async reactivity composables, reactive list models, search filtering, and DOM observer utilities."
31
+ },
32
+ {
33
+ "uri": "@dxtmisha/functional/ai-resources/storage-state.md",
34
+ "name": "Storage Rules (@dxtmisha/functional)",
35
+ "mimeType": "text/markdown",
36
+ "description": "Reactive composables for browser storage, cookies, cross-tab synchronization, and URL hash state."
37
+ }
38
+ ]