@dxtmisha/functional 1.15.6 → 1.15.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/ai-description.md +6 -6
- package/ai-mcp.json +20 -8
- package/ai-types.md +259 -519
- package/dist/library.js +6 -6
- package/dist/types/listTypes.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
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
|
+
|
|
12
|
+
## [1.15.7] - 2026-08-05
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
- **AI Documentation**: Modularized package documentation and generated `ai-mcp.json` resource definitions alongside updated `ai-description.md` and `ai-types.md`.
|
|
16
|
+
|
|
17
|
+
## [1.15.6] - 2026-07-28
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
- **GeoIntlRef & useGeoIntlRef**: Added JSDoc `@remarks` guidelines recommending the use of standard non-reactive `GeoIntl` from `@dxtmisha/functional-basic` when reactivity is not required.
|
|
21
|
+
- **Documentation**: Updated AI documentation context (`ai-description.md`, `ai-types.md`) and package type definitions.
|
|
22
|
+
|
|
5
23
|
## [1.15.5] - 2026-07-25
|
|
6
24
|
|
|
7
25
|
### Added
|
package/ai-description.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
A reactive utility and component architecture library for Vue 3 providing high-level abstract base classes, state management composables, and localized formatting helpers. It standardizes reactive API orchestration, browser storage binding, DOM visibility tracking, internationalization, and design component construction across client and server-rendered environments. Key capabilities are grouped into API and network composables for managing asynchronous HTTP requests, mutation workflows, SSR prefetching, response contract validation, error mappings, and list orchestration; design component base classes for standardized component rendering, dynamic class and style computation, prop change tracking, slot management, and element exposure; localization and formatting utilities for reactive handling of dates, numbers, currency, unit conversions, country flags, dynamic translations, and language-dependent computed properties; persistent storage composables synchronizing state with cookies, web storage, URL query or hash parameters, and cross-tab messaging; list and search helpers for managing reactive data filtering, selection state, text highlighting, debouncing, and router-bound navigation lists; and DOM system utilities for IntersectionObserver lazy visibility tracking, reactive page metadata management, global loading states, scrollbar measurements, and singleton dependency injection. 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. 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.
|
|
2
2
|
## Mandatory Rules
|
|
3
|
-
Read the corresponding file
|
|
4
|
-
- 'node_modules/@dxtmisha/functional/ai-prompts/api-reference.md':
|
|
5
|
-
- 'node_modules/@dxtmisha/functional/ai-prompts/localization-seo.md': Geographic context,
|
|
6
|
-
- 'node_modules/@dxtmisha/functional/ai-prompts/reactivity-lists.md': Async reactivity composables, list
|
|
7
|
-
- 'node_modules/@dxtmisha/functional/ai-prompts/storage-state.md':
|
|
3
|
+
Read the corresponding file ONLY when working on a task related to (even if not working directly with this package):
|
|
4
|
+
- 'node_modules/@dxtmisha/functional/ai-prompts/api-reference.md': Reactive singleton scope initialization and REST API management patterns
|
|
5
|
+
- 'node_modules/@dxtmisha/functional/ai-prompts/localization-seo.md': Geographic context, locale-aware formatting, reactive translations, document metadata, and scrollbar width measurement
|
|
6
|
+
- 'node_modules/@dxtmisha/functional/ai-prompts/reactivity-lists.md': Async reactivity composables, reactive list models, search filtering, and DOM observer utilities
|
|
7
|
+
- 'node_modules/@dxtmisha/functional/ai-prompts/storage-state.md': Reactive composables for browser storage, cookies, cross-tab synchronization, and URL hash state
|
package/ai-mcp.json
CHANGED
|
@@ -1,26 +1,38 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"uri": "@dxtmisha/functional/ai-types.md",
|
|
4
|
+
"name": "Vue Functional Types (@dxtmisha/functional)",
|
|
5
|
+
"mimeType": "text/markdown",
|
|
6
|
+
"description": "Type definitions and interface declarations for Vue 3 composables, reactive API abstractions, i18n helpers, design constructors, and utility state managers."
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"uri": "@dxtmisha/functional/ai-description.md",
|
|
10
|
+
"name": "Vue Utility Architecture (@dxtmisha/functional)",
|
|
11
|
+
"mimeType": "text/markdown",
|
|
12
|
+
"description": "Architectural guidelines and utility reference for Vue 3 applications, covering reactive state management, API orchestration, component base classes, localization, and storage synchronization."
|
|
13
|
+
},
|
|
2
14
|
{
|
|
3
15
|
"uri": "@dxtmisha/functional/ai-prompts/api-reference.md",
|
|
4
|
-
"name": "API
|
|
16
|
+
"name": "API Reference (@dxtmisha/functional)",
|
|
5
17
|
"mimeType": "text/markdown",
|
|
6
|
-
"description": "
|
|
18
|
+
"description": "Provides guidelines and usage patterns for REST API management and reactive scope-isolated singletons in @dxtmisha/functional."
|
|
7
19
|
},
|
|
8
20
|
{
|
|
9
21
|
"uri": "@dxtmisha/functional/ai-prompts/localization-seo.md",
|
|
10
|
-
"name": "Localization SEO Utilities",
|
|
22
|
+
"name": "Localization SEO Utilities (@dxtmisha/functional)",
|
|
11
23
|
"mimeType": "text/markdown",
|
|
12
|
-
"description": "
|
|
24
|
+
"description": "Provides reactive utilities and helper functions for locale-aware formatting, translation primitives, geographic context, and dynamic HTML document metadata management."
|
|
13
25
|
},
|
|
14
26
|
{
|
|
15
27
|
"uri": "@dxtmisha/functional/ai-prompts/reactivity-lists.md",
|
|
16
|
-
"name": "Reactivity
|
|
28
|
+
"name": "Reactivity List Utilities (@dxtmisha/functional)",
|
|
17
29
|
"mimeType": "text/markdown",
|
|
18
|
-
"description": "
|
|
30
|
+
"description": "Comprehensive API reference for async reactivity composables, reactive list structures, debounced multi-field search helpers, and lifecycle-managed DOM observers."
|
|
19
31
|
},
|
|
20
32
|
{
|
|
21
33
|
"uri": "@dxtmisha/functional/ai-prompts/storage-state.md",
|
|
22
|
-
"name": "Browser State Composables",
|
|
34
|
+
"name": "Browser State Composables (@dxtmisha/functional)",
|
|
23
35
|
"mimeType": "text/markdown",
|
|
24
|
-
"description": "
|
|
36
|
+
"description": "Reactive composable wrappers for persistent and synchronized browser state management, including localStorage, sessionStorage, cookies, BroadcastChannel, and URL hash fragments."
|
|
25
37
|
}
|
|
26
38
|
]
|