@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 +7 -0
- package/ai-description.md +23 -6
- package/ai-mcp-resources.json +38 -0
- package/ai-types.md +784 -192
- package/dist/library.js +22 -23
- package/dist/types/listTypes.d.ts +1 -1
- package/package.json +4 -4
- package/ai-mcp.json +0 -38
- /package/{ai-prompts → ai-resources}/api-reference.md +0 -0
- /package/{ai-prompts → ai-resources}/localization-seo.md +0 -0
- /package/{ai-prompts → ai-resources}/reactivity-lists.md +0 -0
- /package/{ai-prompts → ai-resources}/storage-state.md +0 -0
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
|
-
|
|
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
|
|
4
|
-
- 'node_modules/@dxtmisha/functional/ai-
|
|
5
|
-
- 'node_modules/@dxtmisha/functional/ai-
|
|
6
|
-
- 'node_modules/@dxtmisha/functional/ai-
|
|
7
|
-
- 'node_modules/@dxtmisha/functional/ai-
|
|
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
|
+
]
|